powerpc: fix sysconf support for cache geometries
[glibc.git] / ChangeLog
blob44115282c078c94f00bb1c46b4a40b39b4a667e0
1 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
3         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
4         to errno, and simplify remaining related code.
6 2017-06-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
9         PPC_FEATURE2_SCV.
10         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
11         and darn.
13 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
16         the implementation-specific function name and remove unneeded macros
17         definition.
18         * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
19         function name if not defined and pass as parameter to macros
20         accordingly.
22 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
25         (libm-sysdep_routines): Add s_llroundf-ppc64.
26         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
27         (__llroundf): Define as strong alias of __llround.
28         (llroundf):  Define as weak alias of __llround.
29         (__lroundf): Define as strong alias of __llround.
30         (lroundf):  Define as weak alias of __llround.
31         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
32         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
33         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
34         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
35         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
36         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
37         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
39 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
41         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
42         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
44         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
45         (MATH_TESTS_TG): New macro.
46         (SNAN_TESTS_float128): Likewise.
47         (ROUNDING_TESTS_float128): Likewise.
48         (EXCEPTION_TESTS_float128): Likewise.
49         (SNAN_TESTS): Define using MATH_TESTS_TG.
50         (ROUNDING_TESTS): Likewise.
51         (EXCEPTION_TESTS): Likewise.
53         * sysdeps/ieee754/float128/float128_private.h
54         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
55         pass it to SET_RESTORE_ROUNDF128.
57         * sysdeps/ieee754/float128/float128_private.h: Include
58         <ieee754.h>.
60         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
61         typeof to argument passed to __builtin_types_compatible_p.
62         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
64         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
65         <errno.h>.
66         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
67         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
68         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
69         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
70         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
71         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
72         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
73         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
74         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
75         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
76         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
77         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
78         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
79         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
80         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
81         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
82         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
83         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
84         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
85         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
86         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
87         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
89         * sysdeps/ieee754/float128/strtof128_l.c: Include
90         <bits/types/locale_t.h> instead of <xlocale.h>.
91         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
92         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
94 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
96         * benchtests/scripts/benchout_strings.schema.json: New file.
97         * benchtests/scripts/compare_strings.py: New file.
99         * benchtests/bench-memcpy-large.c: Include json-lib.h.
100         (do_one_test): Print json.
101         (do_test): Likewise.
102         (test_main): Likewise.
103         * benchtests/bench-memcpy-random.c: Include json-lib.h.
104         (do_one_test): Print json.
105         (do_test): Likewise.
106         (test_main): Likewise.
107         * benchtests/bench-memcpy.c: Include json-lib.h.
108         (do_one_test): Print json.
109         (do_test): Likewise.
110         (test_main): Likewise.
112         * benchtests/json-lib.h: Include inttypes.h.
113         (json_attr_int, json_attr_int, json_element_string,
114         json_element_int, json_element_uint): New functions.
115         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
116         json_element_string, json_element_int, json_element_uint): New
117         functions.
119 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
121         * manual/arith.texi (Remainder Functions): Describe remainder as
122         primary and drem as an alternative name.  Change the comment on
123         remainder to ISO, since it is defined in ISO C99.
125 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
127         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
128         macro expansion.
129         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
131 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
133         [BZ #21533]
134         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
135         201706L for Unicode 10.0.
137 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
139         [BZ #21657]
140         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
141         on node-local addresses.
142         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
144 2017-06-21  Florian Weimer  <fweimer@redhat.com>
146         * intl/loadmsgcat.c: Remove alloca support.
147         (_nl_load_domain): Use calloc instead of alloca.
149 2017-04-21  Florian Weimer  <fweimer@redhat.com>
151         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
152         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
153         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
154         alloc_buffer_create_failure.
155         * malloc/Versions (__libc_alloc_buffer_alloc_array)
156         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
157         (__libc_alloc_buffer_copy_string)
158         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
159         * malloc/alloc_buffer_alloc_array.c: New file.
160         * malloc/alloc_buffer_allocate.c: Likewise.
161         * malloc/alloc_buffer_copy_bytes.c: Likewise.
162         * malloc/alloc_buffer_copy_string.c: Likewise.
163         * malloc/alloc_buffer_create_failure.c: Likewise.
164         * malloc/tst-alloc_buffer.c: Likewise.
166 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
168         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
169         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
170         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
171         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
172         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
173         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
174         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
175         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
176         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
177         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
178         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
179         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
180         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
181         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
182         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
183         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
184         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
185         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
186         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
187         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
188         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
189         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
190         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
191         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
192         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
193         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
194         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
195         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
196         "locale-defines.h".
197         (UPDATE_STRNCMP_COUNTER): New.
198         (SECTION): Likewise.
199         (GLABEL): Likewise.
200         (LABEL): Likewise.
201         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
202         for libc.a.
204 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
206         [BZ #21622]
207         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
208         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
209         __USE_MISC].
210         (SA_NODEFER): Likewise.
211         (SA_RESETHAND): Likewise.
213 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
215         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
216         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
217         Remove security_level on all fields.
218         * manual/tunables.texi: Replace ifunc with hwcaps.
219         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
220         Renamed to ..
221         (TUNABLE_CALLBACK (set_hwcaps)): This.
222         (init_cpu_features): Updated.
223         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
224         data_cache_size, data_cache_size and non_temporal_threshold to
225         unsigned long int.
226         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
227         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
228         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
229         use DEFAULT_STRLEN.
231 2017-06-21  Florian Weimer  <fweimer@redhat.com>
233         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
234         asprintf to construct an absolute pathname.
236 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
238         * misc/tst-preadvwritev2-common.c: New file.
239         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
240         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
242 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
244         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
245         annotation.
246         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
248 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
250         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
251         hidden __GI__dl_argv symbol.
253 2017-06-21  Florian Weimer  <fweimer@redhat.com>
255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
256         to parse addresses with IPv6 scope IDs.
258 2017-06-21  Florian Weimer  <fweimer@redhat.com>
260         Add the __inet_pton_length helper function.
261         * resolv/resolv-internal.h (__inet_pton_length): Declare.
262         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
263         Add length argument.
264         (__inet_pton): New function.
265         (inet_pton4): Add length argument.
266         (hex_digit_value): New function.
267         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
268         memmove and memset to fill :: gap.
269         * resolv/Makefile (tests, tsts-static, tests-internal): Add
270         tst-inet_pton.
271         * resolv/tst-inet_pton.c: New file.
272         * support/Makefile (libsupport-routines): Add xmprotect.
273         * support/xunistd.h (xmprotect): Declare.
274         * support/xmprotect.c: New file.
276 2017-06-21  Florian Weimer  <fweimer@redhat.com>
278         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
279         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
280         (call_gai, check_ai): New functions.
281         (expect_failure, expect_success): Use them.  Add logging.
283 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
285         * sysdeps/powerpc/powerpc64/multiarch/Makefile
286         (sysdep_routines): Add memchr_power8.
287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
288         (memchr): Add __memchr_power8 to list of memchr functions.
289         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
290         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
291         (memchr): Add __memchr_power8 to ifunc list.
292         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
294 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
296         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
297         (__llrintf): Define as strong alias of __llrint.
298         (llrintf):  Define as weak alias of __llrint.
299         (__lrintf): Define as strong alias of __llrint.
300         (lrintf):  Define as weak alias of __llrint.
301         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
302         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
303         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
306 2017-06-20  Zack Weinberg  <zackw@panix.com>
308         * bits/signum-generic.h: Renamed from bits/signum.h.
309         Add proper multiple include guard and misuse check.
310         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
311         Move definition of SIGIO to "archaic names for compatibility" section.
312         * bits/signum.h: New file which just includes bits/signum-generic.h.
313         * sysdeps/unix/bsd/bits/signum.h
314         * sysdeps/unix/sysv/linux/bits/signum.h
315         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
316         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
317         * sysdeps/unix/sysv/linux/mips/bits/signum.h
318         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
319         Just include <bits/signum-generic.h> and then add or adjust
320         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
322         * signal/Makefile: Install bits/signum-generic.h.
323         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
325         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
326         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
328         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
329         * sysdeps/unix/sysv/linux/Makefile: Run it.
331 2017-06-20  Zack Weinberg  <zackw@panix.com>
333         * locale/xlocale.h: Rename to...
334         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
335         Only define struct __locale_struct and __locale_t, not locale_t.
336         * locale/bits/types/locale_t.h: New file; define locale_t here.
337         * locale/Makefile (headers): Update to match.
339         * include/xlocale.h: Delete wrapper.
340         * include/bits/types/__locale_t.h: New wrapper.
341         * include/bits/types/locale_t.h: New wrapper.
343         * ctype/ctype.h, include/printf.h, include/time.h
344         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
345         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
346         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
347         Correct outdated comments regarding the standardization status of
348         the functions that take locale_t arguments.
350         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
351         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
352         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
353         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
354         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
355         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
356         Don't include xlocale.h. If necessary, include locale.h instead.
358         * stdlib/strtold_l.c: Unconditionally include wchar.h.
360         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
361         * include/monetary.h, include/stdlib.h, include/time.h
362         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
363         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
364         * locale/localeinfo.h, locale/newlocale.c
365         * locale/nl_langinfo_l.c, locale/uselocale.c
366         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
367         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
368         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
369         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
370         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
371         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
372         * string/strings.h, string/strncase.c, string/strxfrm_l.c
373         * sysdeps/ieee754/float128/strtof128_l.c
374         * sysdeps/ieee754/float128/wcstof128.c
375         * sysdeps/ieee754/float128/wcstof128_l.c
376         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
377         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
378         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
379         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
380         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
381         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
382         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
383         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
384         * sysdeps/x86_64/strcasecmp_l-nonascii.c
385         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
386         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
387         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
388         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
389         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
390         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
391         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
392         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
393         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
394         Change all uses of __locale_t to locale_t.
396 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
398         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
399         for !__OFF_T_MATCHES_OFF64_T.
400         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
401         implementation based on open64.
402         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
403         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
405 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
407         * elf/dl-tunables.list: Move x86 specific tunables to ...
408         * sysdeps/x86/dl-tunables.list: Here.  New file.
410 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
412         [BZ #21635]
413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
414         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
415         * conform/data/signal.h-data (uc_mcontext): XFAIL for
416         powerpc32-linux.
417         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
419         [BZ #21634]
420         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
421         (conformtest-xfail-conds): New variable.
422         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
423         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
425 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
427         * benchtests/powf-inputs: Add reduced trace from wrf.
429 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
430             Erich Elsen  <eriche@google.com>
432         * elf/dl-tunables.list (tune): Add ifunc,
433         x86_non_temporal_threshold,
434         x86_data_cache_size and x86_shared_cache_size.
435         * manual/tunables.texi: Document glibc.tune.ifunc,
436         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
437         and glibc.tune.x86_non_temporal_threshold.
438         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
439         * sysdeps/x86/cpu-tunables.c: Likewise.
440         * sysdeps/x86/cacheinfo.c
441         (init_cacheinfo): Check and get data cache size, shared cache
442         size and non temporal threshold from cpu_features.
443         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
444         New.
445         [HAVE_TUNABLES] Include <unistd.h>.
446         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
447         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
448         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
449         IFUNC selection, data cache size, shared cache size and non
450         temporal threshold.
451         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
452         shared_cache_size and non_temporal_threshold.
454 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
456         * benchtests/README: Describe workload feature.
457         * benchtests/bench-skeleton.c (main): Add support for
458         benchmarking traces from workloads.
460 2017-06-20  Zack Weinberg  <zackw@panix.com>
462         * string/string.h (__mempcpy_inline): Delete.
463         * sysdeps/x86_64/multiarch/mempcpy.c
464         * sysdeps/x86_64/multiarch/stpcpy.c:
465         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
466         before including string.h.
468 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
470         * benchtests/Makefile (bench-math): Add powf.
471         * benchtests/powf-inputs: New file.
473 2017-06-20  Zack Weinberg  <zackw@panix.com>
475         * bits/string.h, string/bits/string.h
476         * sysdeps/aarch64/bits/string.h
477         * sysdeps/m68k/m680x0/m68020/bits/string.h
478         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
479         * sysdeps/x86/bits/string.h: Delete file.
481         * string/string.h: Don't include bits/string.h.
482         * string/bits/string3.h: Rename to bits/string_fortified.h.
483         No need to undef various symbols that the removed headers
484         might have defined as macros.
485         * string/Makefile (headers): Remove bits/string.h, change
486         bits/string3.h to bits/string_fortified.h.
487         * string/string-inlines.c: Update commentary.  Remove definitions
488         of various macros that nothing looks at anymore.  Don't directly
489         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
490         compiler-predefined macros.
491         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
492         _is_ defined, provide internal hidden alias __strncat.
493         * include/string.h: Declare internal hidden alias __strncat.
494         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
495         not defined.
496         * include/bits/string3.h: Rename to bits/string_fortified.h,
497         update to match above.
499         * sysdeps/i386/string-inlines.c: Define compat symbols for
500         everything formerly defined by sysdeps/x86/bits/string.h.
501         Make existing definitions into compat symbols as well.
502         Remove some no-longer-necessary messing around with macros.
504         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
505         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
506         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
507         * sysdeps/s390/multiarch/mempcpy.c
508         No need to define _HAVE_STRING_ARCH_mempcpy.
509         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
511         * sysdeps/i386/i686/multiarch/strncat-c.c
512         * sysdeps/s390/multiarch/strncat-c.c
513         * sysdeps/x86_64/multiarch/strncat-c.c
514         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
516 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
518         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
519         (LDBL_DIG): Likewise.
520         (LDBL_MIN_EXP): Likewise.
521         (LDBL_MIN_10_EXP): Likewise.
522         (LDBL_MAX_EXP): Likewise.
523         (LDBL_MAX_10_EXP): Likewise.
524         (LDBL_MAX): Likewise.
525         (LDBL_MIN): Likewise.
526         (LDBL_EPSILON): Likewise.
527         (FLT_ROUNDS): Change standard from ISO to C90.
528         (FLT_RADIX): Likewise.
529         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
530         (FLT_DIG, DBL_DIG): Likewise.
531         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
532         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
533         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
534         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
535         (FLT_MAX, DBL_MAX): Likewise.
536         (FLT_MIN, DBL_MIN): Likewise.
537         (FLT_EPSILON, DBL_EPSILON): Likewise.
539 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
541         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
542         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
543         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
544         * sysdeps/mips/math-tests.h
545         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
546         conditional code.
548 2017-06-19  Florian Weimer  <fweimer@redhat.com>
550         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
551         It cannot change while __libc_setlocale_lock is acquired.
553 2017-06-19  Florian Weimer  <fweimer@redhat.com>
555         * elf/rtld.c (audit_list_string): New variable.
556         (audit_list): Update comment.
557         (struct audit_list_iter): Define.
558         (audit_list_iter_init, audit_list_iter_next): New function.
559         (dl_main): Use struct audit_list_iter to process audit modules.
560         (process_dl_audit): Call dso_name_valid_for_suid.
561         (process_envvars): Set audit_list_string instead of calling
562         process_dl_audit.
564 2017-06-19  Florian Weimer  <fweimer@redhat.com>
566         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
567         (dso_name_valid_for_suid): New function.
568         (handle_ld_preload): Likewise.
569         (dl_main): Call it.  Remove alloca.
571 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
573         [BZ #21625]
574         * posix/sys/wait.h (strust rusage forward declaration): Change
575         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
576         !__USE_XOPEN2K].
577         (wait3): Likewise.
579         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
580         * configure: Regenerated.
581         * manual/install.texi (Tools for Compilation): Document
582         requirement for GCC 4.9 or later.
583         * INSTALL: Regenerated.
585 2017-06-19  Florian Weimer  <fweimer@redhat.com>
587         [BZ #21624]
588         CVE-2017-1000366
589         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
590         __libc_enable_secure.
592 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
594         [BZ #21539]
595         * NEWS: Mention s390 ptrace request changes.
596         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
597         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
598         PTRACE_SETFPREGS): Remove enum constant.
599         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
600         Remove defines.
601         (PTRACE_SINGLEBLOCK): New enum constant.
602         (PT_STEPBLOCK): New define.
603         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
604         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
605         PTRACE_TE_ABORT_RAND): New enum constant and define.
606         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
607         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
608         New file.
609         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
611 2017-06-16  Florian Weimer  <fweimer@redhat.com>
613         * resolv/res_init.c (res_vinit_1): Use getline to read from the
614         configuration file.
615         (__res_vinit): Adjust.
617 2017-06-19  Florian Weimer  <fweimer@redhat.com>
619         * resolv/res_init.c (res_vinit_1): New function.
620         (__res_vinit): Call it.  Handle file open and memory allocation
621         failures.
622         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
623         erno from __res_maybe_init failure.
624         (_nss_dns_gethostbyname4_r): Likewise.
625         (_nss_dns_gethostbyaddr2_r): Likewise.
626         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
627         (_nss_dns_getnetbyaddr_r): Likewise.
629 2017-06-19  Florian Weimer  <fweimer@redhat.com>
631         * resolv/res_init.c: Reformat to GNU style.
633 2017-06-19  Florian Weimer  <fweimer@redhat.com>
635         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
636         (is_sort_mask): New function.
637         (__res_vinit): Use it.
639 2017-06-19  Florian Weimer  <fweimer@redhat.com>
641         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
642         conditionals.
644 2017-06-19  Florian Weimer  <fweimer@redhat.com>
646         * resolv/res-close.c: New file.
647         * resolv/res_init.c (__res_iclose, res_nclose)
648         (res_thread_freeres): Remove definitions.
649         * resolv/Makefile (routines): Add res-close.
651 2017-06-19  Florian Weimer  <fweimer@redhat.com>
653         * resolv/res_randomid.c: New file.
654         * resolv/res_init.c (res_randomid): Remove definition.
655         * resolv/Makefile (routines): Add res_randomid.
657 2017-06-19  Florian Weimer  <fweimer@redhat.com>
659         * include/resolv.h (__res_vinit): Declare as hidden.
660         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
661         * resolv/res_libc.c (res_init): Likewise.
663 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
665         [BZ #21457]
666         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
667         _libc_xmmreg): Use __ctx in defining field.
669         [BZ #21597]
670         * signal/signal.h (siginterrupt): Make declaration conditional on
671         [__USE_XOPEN_EXTENDED || __USE_MISC].
673         [BZ #21584]
674         * signal/signal.h: Make includes of <bits/sigstack.h> and
675         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
676         __USE_MISC].
677         (sigaltstack): Make declaration conditional on
678         [__USE_XOPEN_EXTENDED || __USE_MISC].
680         [BZ #21575]
681         * resource/bits/types/struct_rusage.h: New file.
682         * include/bits/types/struct_rusage.h: Likewise.
683         * bits/resource.h (struct rusage): Include
684         <bits/types/struct_rusage.h> instead of defining here.
685         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
686         Likewise.
687         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
688         Likewise.
689         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
690         Likewise.
691         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
692         Likewise.
693         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
694         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
695         Include <bits/types/struct_rusage.h>
697 2017-06-19  Florian Weimer  <fweimer@redhat.com>
699         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
701 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
703         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
705 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
707         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
709 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
711         [BZ #21537]
712         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
713         Check SHARED instead of PIC.
714         (SYSCALL_PIC_SETUP): Add missing semicolons.
715         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
716         Check SHARED instead of PIC.
717         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
718         (__makecontext_ret): Adjust code to jump to exit.
720 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
722         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
723         Simplify code by always using SVC 0 instead of EX.
724         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
726 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
728         * elf/Versions (ld): Remove _dl_out_of_memory.
730 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
732         * timezone/private.h: Update from tzcode 2017b.
733         * timezone/tzfile.h: Likewise.
734         * timezone/tzselect.ksh: Likewise.
735         * timezone/zdump.c: Likewise.
736         * timezone/zic.c: Likewise.
737         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
738         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
739         * time/tzset.c (SECSPERDAY): New macro.
741 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
743         * manual/string.texi (strdup): Complete header and standards
744         annotation.
745         (strncpy): Likewise.
747 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
749         * manual/arith.texi (FP_NAN): Add or complete header and standard
750         annotations.
751         (FP_INFINITE): Likewise.
752         (FP_ZERO): Likewise.
753         (FP_SUBNORMAL): Likewise.
754         (FP_NORMAL): Likewise.
755         (SNAN): Likewise.
756         (SNANL): Likewise.
757         (totalorderf): Likewise.
758         (totalorderl): Likewise.
759         (totalordermagf): Likewise.
760         (totalordermagl): Likewise.
761         (_Complex_I): Likewise.
762         (I): Likewise.
764 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
766         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
767         standard annotation.
768         (ARGP_HELP_SHORT_USAGE): Likewise.
769         (ARGP_HELP_SEE): Likewise.
770         (ARGP_HELP_LONG): Likewise.
771         (ARGP_HELP_PRE_DOC): Likewise.
772         (ARGP_HELP_POST_DOC): Likewise.
773         (ARGP_HELP_DOC): Likewise.
774         (ARGP_HELP_BUG_ADDR): Likewise.
775         (ARGP_HELP_LONG_ONLY): Likewise.
776         (ARGP_HELP_EXIT_ERR): Likewise.
777         (ARGP_HELP_EXIT_OK): Likewise.
778         (ARGP_HELP_STD_ERR): Likewise.
779         (ARGP_HELP_STD_USAGE): Likewise.
780         (ARGP_HELP_STD_HELP): Likewise.
782 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
784         * manual/Makefile: Generate summary.texi with summary.pl.  Force
785         use of the C locale.  Update Perl dependency comment.
786         * manual/header.texi: Update reference to summary.awk.
787         * manual/macros.texi: Refer authors to `summary.pl --help'.
788         * manual/summary.awk: Remove file.
789         * manual/summary.pl: New file.  Generate summary.texi, and check
790         for @standards-related syntax errors.
791         * manual/argp.texi: Convert header and standards @comments to
792         @standards.
793         * manual/arith.texi: Likewise.
794         * manual/charset.texi: Likewise.
795         * manual/conf.texi: Likewise.
796         * manual/creature.texi: Likewise.
797         * manual/crypt.texi: Likewise.
798         * manual/ctype.texi: Likewise.
799         * manual/debug.texi: Likewise.
800         * manual/errno.texi: Likewise.
801         * manual/filesys.texi: Likewise.
802         * manual/getopt.texi: Likewise.
803         * manual/job.texi: Likewise.
804         * manual/lang.texi: Likewise.
805         * manual/llio.texi: Likewise.
806         * manual/locale.texi: Likewise.
807         * manual/math.texi: Likewise.
808         * manual/memory.texi: Likewise.
809         * manual/message.texi: Likewise.
810         * manual/pattern.texi: Likewise.
811         * manual/pipe.texi: Likewise.
812         * manual/process.texi: Likewise.
813         * manual/resource.texi: Likewise.
814         * manual/search.texi: Likewise.
815         * manual/setjmp.texi: Likewise.
816         * manual/signal.texi: Likewise.
817         * manual/socket.texi: Likewise.
818         * manual/startup.texi: Likewise.
819         * manual/stdio.texi: Likewise.
820         * manual/string.texi: Likewise.
821         * manual/sysinfo.texi: Likewise.
822         * manual/syslog.texi: Likewise.
823         * manual/terminal.texi: Likewise.
824         * manual/threads.texi: Likewise.
825         * manual/time.texi: Likewise.
826         * manual/users.texi: Likewise.
828 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
830         * manual/macros.texi (@standards): New macro.  Provide placeholder
831         for header and standards annotations.
832         (@standardsx): New macro.  Likewise, for lists of @*x elements.
834 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
836         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
837         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
838         rule.
839         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
840         sync_file_range.
842          * support/support_test_main.c (support_test_main):  Use optstring
843          member for option string in getopt_long.
844          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
845          (CMDLINE_OPTSTRING): New define.
846          * support/test-driver.h (test_config): Add optstring member.
848 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
850         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
851         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
852         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
853         Check USE_AS_STRPBRK instead of STRPBRK_P.
854         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
855         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
856         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
857         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
858         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
859         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
860         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
861         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
862         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
863         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
864         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
865         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
866         and "#endif".
868 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
870         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
871         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
873 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
875         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
876         strcat-sse2.
877         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
878         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
879         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
880         * sysdeps/x86_64/multiarch/strcat.S: Removed.
881         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
883 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
884             Erich Elsen  <eriche@google.com>
886         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
887         memcmp-sse2.
888         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
889         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
890         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
891         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
892         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
893         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
895 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
896             Erich Elsen  <eriche@google.com>
898         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
899         memset-sse2-unaligned-erms, and memset_chk-nonshared.
900         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
901         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
902         Update comments.
903         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
904         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
905         * sysdeps/x86_64/multiarch/memset.c: Likewise.
906         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
907         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
908         * sysdeps/x86_64/multiarch/memset.S: Removed.
909         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
910         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
911         (__memset_chk_erms): New function.
913 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
915         * configure.ac(--enable-tunables): Enable by default.
916         * configure: Regenerate.
917         * NEWS: Mention change.
918         * manual/install.texi (enable-tunables): Adjust documentation.
919         * INSTALL: Regenerate.
921 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
923         [BZ #18988]
924         * benchtests/thread_create-inputs: New file.
925         * benchtests/thread_create-source.c: Likewise.
926         * support/xpthread_attr_setguardsize.c: Likewise.
927         * support/Makefile (libsupport-routines): Add
928         xpthread_attr_setguardsize object.
929         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
930         * benchtests/Makefile (bench-pthread): Add thread_create.
931         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
932         then mprotect the required area.
933         (guard_position): New function.
934         (setup_stack_prot): Likewise.
936 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
937             Erich Elsen  <eriche@google.com>
938             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
940         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
941         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
942         mempcpy_chk-nonshared and memmove_chk-nonshared.
943         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
944         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
945         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
946         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
947         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
948         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
949         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
950         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
951         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
952         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
953         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
954         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
955         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
956         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
957         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
958         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
959         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
960         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
961         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
962         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
963         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
964         (__mempcpy_chk_erms): New function.
965         (__memmove_chk_erms): Likewise.
966         (__memcpy_chk_erms): New alias.
968 2017-06-14  Florian Weimer  <fweimer@redhat.com>
970         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
971         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
973 2017-06-14  Zack Weinberg  <zackw@panix.com>
975         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
976         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
977         defined, don't declare anything other than the E-constants.
979         * include/errno.h: Change conditional for exposing internal
980         declarations to (not _ISOMAC and not __ASSEMBLER__).
981         * bits/errno.h: Remove logic for __need_Emath.  Document
982         requirements for a port-specific bits/errno.h.
984         * sysdeps/unix/sysv/linux/bits/errno.h
985         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
986         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
987         * sysdeps/unix/sysv/linux/mips/bits/errno.h
988         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
989         Add multiple-include guard and check against improper inclusion.
990         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
991         constants are defined as simple integer literals.  Consistent
992         formatting.
993         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
994         enum __error_t_codes if __ASSEMBLER__ is not defined.
995         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
997         * argp/argp.h, string/argz.h: Don't define __need_error_t before
998         including errno.h.
999         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1000         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1001         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1002         * sysdeps/x86_64/fpu/s_cosf.S
1003         * sysdeps/x86_64/fpu/s_sincosf.S
1004         * sysdeps/x86_64/fpu/s_sinf.S:
1005         Just include errno.h; don't define __need_Emath or include
1006         bits/errno.h directly.
1008 2017-06-14  Zack Weinberg  <zackw@panix.com>
1010         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
1011         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
1012         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
1014         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
1015         for IOV_MAX.
1016         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
1017         Don't install bits/uio.h.
1018         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
1019         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
1020         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
1022         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
1023         and __need_IOV_MAX.  Don't define IOV_MAX at all.
1024         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
1026         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
1027         Include bits/types/struct_iovec.h, not bits/uio.h.
1028         Use __ssize_t, not ssize_t, in function prototypes.
1029         Don't use hard TAB for double space after period in comments.
1031 2017-06-14  Alan Modra  <amodra@gmail.com>
1033         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
1034         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
1035         refsym and sym parameters.  Adjust callers.
1036         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1037         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
1038         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
1039         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
1040         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
1041         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1042         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
1043         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
1044         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
1045         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
1046         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
1047         Likewise.
1048         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1049         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1050         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
1051         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1052         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1053         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
1054         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1055         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
1056         (_dl_reloc_overflow): Increase buffser size.  Formatting.
1057         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1058         Delete reloc param, add refsym and sym.  Check optimized plt
1059         call stubs for localentry:0 functions.  Adjust callers.
1060         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
1061         and sym parameters.  Adjust callers.
1062         (_dl_reloc_overflow): Move attribute.
1063         (_dl_error_localentry): Declare.
1064         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
1065         refsym and sym to elf_machine_fixup_plt.
1066         * elf/testobj6.c (preload): Call printf.
1068 2017-06-14  Alan Modra  <amodra@gmail.com>
1070         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
1071         (NOPS, ENTRY_3): New macros.
1072         (ENTRY): Rewrite.
1073         (ENTRY_TOCLESS): Define.
1074         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
1075         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
1076         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
1077         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
1078         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1079         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1080         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1081         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1082         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1083         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1084         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1085         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1086         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1087         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1088         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1089         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1090         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
1091         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1092         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1093         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1094         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
1095         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1096         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1097         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1098         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
1099         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
1100         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1101         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1102         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1103         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
1104         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1105         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1106         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1107         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
1108         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1109         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
1110         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1111         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1112         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1113         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1114         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1115         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1116         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1117         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1118         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1119         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1120         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1121         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1122         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1123         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1124         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1125         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1126         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1127         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1128         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1129         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1130         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1131         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
1132         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1133         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1134         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1135         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
1136         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
1137         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1138         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1139         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
1140         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
1141         Likewise.
1142         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
1143         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
1144         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
1145         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
1146         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1147         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
1148         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
1149         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
1150         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1151         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1152         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1153         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1154         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1155         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1156         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1157         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1158         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1159         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
1160         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1161         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1162         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1163         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1164         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1165         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1166         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1167         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
1168         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
1169         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
1170         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1171         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1172         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
1173         add nop when SHARED.
1174         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
1175         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
1176         define.
1177         (ENTRY_TOCLESS): Define.
1178         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
1179         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
1180         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1182 2017-06-14  Alan Modra  <amodra@gmail.com>
1184         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
1185         MEMSET_is_local.
1186         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1187         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1188         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1189         Define MEMSET.
1190         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
1191         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
1192         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
1193         nop after local calls.
1194         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
1195         Don't add nop after local call.
1196         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
1197         CALL_MCOUNT.
1199 2017-06-14  Alan Modra  <amodra@gmail.com>
1201         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
1202         (FUNC_LABEL): Rename from DOT_LABEL.
1203         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
1204         Use .p2align rather than .align.
1205         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
1206         (ABORT_TRANSACTION): Likewise.
1207         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
1208         particularly at end.  Add semicolon at invocation as necessary.
1209         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
1210         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
1211         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
1212         END): Adjust to suit.
1214 2017-06-14  Alan Modra  <amodra@gmail.com>
1216         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
1217         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
1218         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1219         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1220         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
1221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
1222         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
1224 2017-06-14  Alan Modra  <amodra@gmail.com>
1226         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
1227         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
1229 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
1231         [BZ #21548]
1232         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
1233         8 and use it when copying general purpose registers.
1234         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
1235         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
1236         mips o32.
1237         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
1238         new test for mips o32.
1239         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
1240         8 and use it when copying general purpose registers.
1241         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
1243 2017-06-13  Florian Weimer  <fweimer@redhat.com>
1245         * configure.ac (find_cxx_header): Suppress compiler error message.
1247 2017-06-13  Florian Weimer  <fweimer@redhat.com>
1249         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
1250         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
1251         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
1252         begin/end.
1253         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
1254         dynarray_int_end.
1255         (test_str): Test dynarray_str_begin, dynarray_str_end.
1257 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
1259         [BZ #21573]
1260         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
1261         $(common-objpfx)bits/std_abs.h.
1262         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
1263         New target.
1264         * config.make.in (c++-bits-std_abs-h): New.
1265         * configure.ac (find_cxx_header): Use "\,$1," with sed.
1266         (CXX_BITS_STD_ABS_H): New.
1267         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
1268         * configure: Regenerated.
1270 2017-06-13  Zack Weinberg  <zackw@panix.com>
1272         * posix/bits/cpu-set.h: Correct indentation of preprocessor
1273         directives.
1275 2017-06-12  Zack Weinberg  <zackw@panix.com>
1277         * bits/sched.h: Remove __need_schedparam logic and replace with a
1278         normal multiple-include guard.  Change field name in struct
1279         sched_param from __sched_priority to sched_priority.  Delete
1280         everything under #ifndef __cpu_set_t_defined.
1281         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
1282         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
1284         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
1285         For compatibility, #define sched_priority to itself, and #define
1286         __sched_priority as sched_priority.
1287         * posix/bits/cpu-set.h: New file containing, verbatim, the code
1288         that was under #ifndef __cpu_set_t_defined in
1289         sysdeps/unix/sysv/linux/bits/sched.h.
1290         * include/bits/cpu-set.h: New wrapper.
1291         * posix/Makefile: Install bits/cpu-set.h.
1293 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1294             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1295             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1297         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
1298         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
1299         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
1300         * math/libm-test-isfinite.inc (finite_test): Likewise.
1301         * math/libm-test-lgamma.inc (gamma_test): Likewise.
1302         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
1303         (nexttoward_test_data}: Likewise.
1304         * math/libm-test-remainder.inc (drem_test): Likewise.
1305         * math/libm-test-scalb.inc (scalb_test): Likewise.
1306         (scalb_test_data): Likewise.
1307         * math/libm-test-significand.inc (significand_test): Likewise.
1308         (significand_test_data): Likewise.
1309         * math/libm-test-support.c (check_complex): Replace __complex__
1310         FLOAT with CFLOAT to get the support for old compiler.
1311         * math/libm-test-support.h (check_complex): Likewise.
1312         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
1313         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
1314         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
1315         * math/test-float128.h: New file.
1316         * math/test-math-floatn.h: New file.
1318 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1320         * include/float.h: Allow the definition of macros prefixed with
1321         FLT128 even if _ISOMAC is defined, but provided that
1322         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
1324 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1326         * manual/math.texi (Mathematics): Add description for _FloatN and
1327         _FloatNx types and mentions that they are not support in glibc for
1328         any architecture, so far.
1329         * manual/arith.texi (wcstof, wcstold): Replace the mention to
1330         stdlib.h with wchar.h.
1331         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
1332         (Printing of Floats): Add description for strfromfN.
1334 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1335             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1336             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1338         * include/gmp.h (__mpn_construct_float128): New declaration.
1339         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
1340         (__strtof128_l): New declaration.
1341         (__strtof128_nan): Likewise.
1342         (__wcstof128_nan): Likewise.
1343         (__strtof128_internal): Likewise.
1344         (____strtof128_l_internal): Likewise.
1345         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
1346         (__wcstof128_l): New declaration.
1347         (__wcstof128_internal): Likewise.
1349         * stdlib/Makefile (bug-strtod2): Link libm too.
1351         * stdlib/stdlib.h (strtof128): New declaration.
1352         (strtof128_l): Likewise.
1354         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
1355         tst-strtod.h macros to ensure float128 gets tested too.
1357         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
1359         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
1360         tests.
1361         (IF_FLOAT128): New macro.
1362         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
1363         the tests.
1364         (STRTOD_TEST_FOREACH): Likewise.
1366         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
1367         wcstof128 functions into libc.
1369         * sysdeps/ieee754/float128/Versions: Add exports for the above
1370         new functions.
1372         * sysdeps/ieee754/float128/mpn2float128.c: New file.
1373         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
1374         * sysdeps/ieee754/float128/strtof128.c: New file.
1375         * sysdeps/ieee754/float128/strtof128_l.c: New file.
1376         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
1377         * sysdeps/ieee754/float128/wcstof128.c: New file.
1378         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
1379         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
1380         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
1381         (CFLAGS-wcstof128_l): Likewise.
1383         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
1384         (wcstof128): New declaration.
1385         (wcstof128_l): Likewise.
1387 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
1389         [BZ #21552]
1390         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
1391         not [__USE_XOPEN].
1392         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
1394         [BZ #21550]
1395         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
1397 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
1399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1400         strcpy-sse2 and stpcpy-sse2.
1401         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
1402         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
1403         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
1404         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
1405         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
1406         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
1407         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
1408         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
1409         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1410         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1411         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1412         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
1413         (libc_hidden_def): Always defined as empty.
1414         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
1415         Always Defined as empty.
1417 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1419         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
1421 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1423         [BZ #15105]
1424         [BZ #19463]
1425         * include/string.h: Add internal redirect for __stpcpy.
1426         * string/Makefile: Remove bits/string2.h.
1427         * string/string.h: Update comment.
1428         * string/string-inlines.c: Remove bits/string2.h include and comment.
1429         * string/bits/string2.h: Remove file.
1431 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1433         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
1434         * sunrpc/clnt_gen.c (clnt_create): Likewise.
1435         * sunrpc/des_impl.c (_des_crypt): Likewise.
1436         * sunrpc/key_call.c (key_gendes): Likewise.
1437         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1438         * sunrpc/svc_simple.c (universal): Likewise.
1439         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
1440         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1441         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
1443 2017-06-10  Zack Weinberg  <zackw@panix.com>
1445         * stdlib/errno.h: Correct an outdated comment.
1447 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
1449         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
1450         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
1451         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
1452         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
1453         New file.  Invoke newly supported sysconf values for powerpc,
1454         and report results.  If none are supported, report so.
1455         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
1456         tst-sysconf.
1458 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1460         * include/sys/auxv.h (__getauxval): Add a prototype and its
1461         libc_hidden_proto.
1462         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
1464 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
1466         [BZ #21561]
1467         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
1468         [__USE_XOPEN_EXTENDED].
1469         (id_t): Likewise.
1470         (include of <bits/types/siginfo_t.h): Likewise.
1471         (waitid): Likewise.
1472         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
1473         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
1474         (WEXITED): Likewise.
1475         (WCONTINUED): Likewise.
1476         (WNOWAIT): Likewise.
1477         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
1478         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1479         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1481         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
1482         libc.so PLT entry optional.
1483         (__gtsf2): Likewise.
1484         (__unorddf2): Likewise.
1485         (__unordsf2): Likewise.
1486         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
1487         New optional libc.so PLT entry.
1489         [BZ #21554]
1490         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
1491         not [__USE_XOPEN].
1493         [BZ #21560]
1494         * posix/sys/wait.h: Condition include of <signal.h> on
1495         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
1496         unconditionally.
1497         [!__pid_t_defined] (pid_t): Define typedef.
1499 2017-06-09  Zack Weinberg  <zackw@panix.com>
1501         * include/errno.h (__errno_location): Use __attribute_const__
1502         instead of bare __attribute__.
1504 2017-06-09  Zack Weinberg  <zackw@panix.com>
1506         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
1507         (common-generated): Add libc-modules.h and libc-modules.stmp in a
1508         more appropriate location. Also add dl-tunable-list.h and
1509         dl-tunable-list.stmp.
1511 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1513         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
1515 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1517         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1518         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
1519         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1520         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
1521         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
1522         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
1523         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
1524         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
1525         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
1526         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
1527         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
1529 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1532         memrchr-sse2 and memrchr-avx2.
1533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1534         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
1535         __memrchr_sse2.
1536         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
1537         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
1538         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
1540 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1542         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1543         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
1544         wcschr-sse2 and wcschr-avx2.
1545         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1546         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
1547         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
1548         __wcschr_sse2.
1549         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
1550         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
1551         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
1552         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
1553         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
1554         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
1555         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
1556         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
1557         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
1558         * sysdeps/x86_64/multiarch/strchr.S: Removed.
1560 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1562         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1563         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
1564         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
1565         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1566         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
1567         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
1568         __wcslen_sse2 and __wcsnlen_avx2.
1569         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
1570         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
1571         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
1572         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
1573         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
1574         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
1575         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
1576         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
1577         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
1578         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
1579         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
1580         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
1581         vzeroupper is preferred and AVX unaligned load is fast.
1583 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1585         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
1586         USE_AS_WMEMCHR is defined.
1587         (PCMPEQ): Likewise.
1588         (memchr): Renamed to ...
1589         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
1590         Replace pcmpeqb with PCMPEQ.
1591         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1592         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
1593         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
1594         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
1595         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1596         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
1597         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
1598         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
1599         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
1600         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
1601         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
1602         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
1603         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
1604         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1605         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
1606         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
1607         __wmemchr_sse2.
1609 2017-06-09  Florian Weimer  <fweimer@redhat.com>
1611         * malloc/Makefile (test-srcs): Remove tst-dynarray,
1612         tst-dynarray-fail.
1614 2017-06-09  Florian Weimer  <fweimer@redhat.com>
1616         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
1617         * support/support_test_verify_impl.c
1618         (support_test_verify_exit_impl): Split from
1619         support_test_verify_impl.
1620         * support/check.h (TEST_VERIFY): Drop status argument from
1621         support_test_verify_impl call.
1622         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
1623         (support_test_verify_impl): Remove status argument.
1624         (support_test_verify_exit_impl): Declare.
1626 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1628         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
1629         mention of magic numbers in comments.
1630         (_dl_procinfo): Fix undefined behavior
1632 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
1634         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
1635         [XPG4].
1636         (WEXITED): Likewise.
1637         (WSTOPPED): Likewise.
1638         (WCONTINUED): Likewise.
1639         (WNOHANG): Likewise.
1640         (WNOWAIT): Likewise.
1641         (idtype_t): Likewise.
1642         (P_ALL): Likewise.
1643         (P_PID): Likewise.
1644         (P_PGID): Likewise.
1645         (id_t): Likewise.
1646         (siginfo_t): Likewise.
1647         (wait3): Likewise.
1648         (waitid): Likewise.
1649         (signal.h): Do not allow header for [XPG4].
1650         (sys/resource.h): Likewise.
1651         (si_*): Do not allow for [XPG4].
1652         (W*): Likewise.
1653         (P_*): Likewise.
1654         (BUS_): Likewise.
1655         (CLD_): Likewise.
1656         (FPE_): Likewise.
1657         (ILL_): Likewise.
1658         (POLL_): Likewise.
1659         (SEGV_): Likewise.
1660         (SI_): Likewise.
1661         (TRAP_): Likewise.
1662         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
1663         variable.
1665 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1667         [BZ #21528]
1668         * elf/dl-minimal.c (__strtoul_internal): Removed.
1669         (strtoul): Likewise.
1670         * elf/dl-misc.c (_dl_strtoul): New function.
1671         * elf/dl-tunables.c (tunables_strtoul): Removed.
1672         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
1673         * elf/rtld.c (process_envvars): Likewise.
1674         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
1675         Likewise.
1676         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
1678 2017-06-08  Zack Weinberg  <zackw@panix.com>
1680         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
1681         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
1682         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
1683         * wctype/bits/wctype-wchar.h: New file holding declarations shared
1684         between wctype.h and wchar.h.
1686         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
1687         Install them.
1689         * include/bits/types/FILE.h, include/bits/types/__FILE.h
1690         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
1691         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
1692         New wrappers.
1693         * include/stdio.h, include/wchar.h, include/wctype.h:
1694         No need to handle __need macros.
1696         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
1697         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
1698         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
1699         * wcsmbs/wchar.h, wctype/wctype.h
1700         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
1701         Use the new files instead of __need macros.
1703 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1705         * string/test-memrchr.c (test_main): Add tests for len == 0
1706         and tests for positions close to the beginning, which are
1707         equivalent to positions close to the end for memchr.
1709 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1711         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
1712         comments.
1713         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
1714         instead of wmemset.h.
1715         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1716         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
1717         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
1719 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1721         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
1722         spec->info.is_binary128 to zero.
1723         * stdio-common/printf.h (printf_info): Add new member is_binary128
1724         to indicate that the number being converted to string is compatible
1725         with the IEC 60559 binary128 format.
1726         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
1727         _Float128 numbers.
1728         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
1729         ldbl-128/printf_fphex_macros.h
1730         (__printf_fphex): Add code to deal with _Float128 numbers.
1731         * stdio-common/printf_size.c (__printf_size): Likewise.
1732         * stdio-common/vfprintf.c (process_arg): Initialize member
1733         info.is_binary128 to zero.
1734         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
1735         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
1736         (strfromf128): New declaration.
1737         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
1738         to one.
1739         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
1740         * sysdeps/ieee754/float128/Versions: Likewise.
1741         * sysdeps/ieee754/float128/strfromf128.c: New file.
1743 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1745         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
1746         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
1747         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
1748         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
1749         (PRINT_FPHEX): New function-like macro that can be used for long
1750         double, as well as for _Float128
1752 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1754         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
1755         (__printf_fp_l): Use the new macro to avoid duplicating code.
1756         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
1757         (__printf_fphex): Use the new macro to avoid duplicating code.
1758         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
1759         (__printf_size): Use the new macro to avoid duplicating code.
1761 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1763         * include/gmp.h: Include bits/floatn.h
1764         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
1765         * stdlib/gmp-impl.h: Also check if alloca is not defined before
1766         including stack-alloc.h.  It could have been defined by other header
1767         which not necessarily defines HAVE_ALLOCA.
1768         * sysdeps/ieee754/float128/Makefile: New file.
1769         * sysdeps/ieee754/float128/float1282mpn.c: New file.
1770         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
1771         redefining __mpn_extract_long_double to __mpn_extract_float128, then
1772         redefine __mpn_extract_long_double to __mpn_extract_float128.
1773         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
1774         _Float128 to allow float128_private.h overrides.
1776 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1778         * stdlib/fpioconst.h: Include bits/floatn.h.
1779         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
1780         power of ten table should be.
1781         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
1782         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
1783         to include larger tables when _Float128 support is enabled.
1784         (_fpioconst_pow10): Likewise.
1786 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
1788         * include/bits/types/clock_t.h: Use #include <path> instead of
1789         #include "../../path".
1790         * include/bits/types/clockid_t.h: Likewise.
1791         * include/bits/types/struct_iovec.h: Likewise.
1792         * include/bits/types/struct_itimerspec.h: Likewise.
1793         * include/bits/types/struct_osockaddr.h: Likewise.
1794         * include/bits/types/struct_sigstack.h: Likewise.
1795         * include/bits/types/struct_timespec.h: Likewise.
1796         * include/bits/types/struct_timeval.h: Likewise.
1797         * include/bits/types/struct_tm.h: Likewise.
1798         * include/bits/types/time_t.h: Likewise.
1799         * include/bits/types/timer_t.h: Likewise.
1801         [BZ #14096]
1802         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
1803         America/New_York.
1805 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1807         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
1808         into ...
1809         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
1810         ifunc-sse4_1.h.
1812 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1814         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
1815         Remove check for NULL 'buf'.
1816         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
1818 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1820         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
1821         include test-skeleton.c.
1822         Include support/check.h and support/test-driver.c.
1824 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1826         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
1827         (_dl_aarch64_cap_flags): New array.
1828         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
1829         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
1830         functions.
1832         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
1833         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
1834         Likewise.
1835         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
1836         up hwcap and hwcap_mask.
1838         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
1839         (init_cpu_features): Use glibc.tune.hwcap_mask.
1840         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
1842         * elf/dl-hwcaps.h: New file.
1843         * elf/dl-hwcaps.c: Include it.
1844         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
1845         glibc.tune.hwcap_mask.
1846         * elf/dl-cache.c: Include dl-hwcaps.h.
1847         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
1848         glibc.tune.hwcap_mask.
1849         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1850         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
1851         _dl_hwcap_mask.
1852         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
1853         _dl_hwcap_mask.
1854         (process_envvars)[HAVE_TUNABLES]: Likewise.
1855         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
1856         Likewise.
1857         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
1858         initialize dl_hwcap_mask when tunables are enabled.
1860         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
1861         guard.
1862         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1864         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
1865         * scripts/gen-tunables.awk: Include dl-procinfo.h.
1866         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
1868         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
1869         * elf/dl-tunables.c: Likewise.
1870         (do_tunable_update_val): New function.
1871         (__tunable_set_val): New function.
1872         (__tunable_get_val): Call CB only if the tunable was externally
1873         initialized.
1874         (tunables_strtoul): Replace strval with initialized.
1875         * elf/dl-tunables.h (strval): Replace with a bool initialized.
1876         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
1877         prevent collision.
1878         (__tunable_set_val): New function.
1879         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
1880         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
1881         (TUNABLE_SET_VAL): Remove.
1882         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
1883         * README.tunables: Document the new macros.
1884         * malloc/arena.c (ptmalloc_init): Adjust.
1886 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1888         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1889         wcsnlen-sse4_1 and wcsnlen-c.
1890         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1891         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
1892         __wcsnlen_sse2.
1893         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
1894         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
1895         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
1896         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
1897         * sysdeps/x86_64/wcsnlen.S: Removed.
1899 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1901         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
1902         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1903         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1904         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1906 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1908         * NEWS: Mention new spinlock implementation.
1909         * include/atomic.h:
1910         (__atomic_val_bysize): Cast type to omit volatile qualifier.
1911         (atomic_exchange_acq): Likewise.
1912         (atomic_load_relaxed): Likewise.
1913         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
1914         * nptl/pthread_spin_init.c (pthread_spin_init):
1915         Use atomic_store_relaxed.
1916         * nptl/pthread_spin_lock.c (pthread_spin_lock):
1917         Use C11-like atomic macros.
1918         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1919         Likewise.
1920         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1921         Use atomic_store_release.
1922         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
1923         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
1924         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
1925         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
1926         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
1927         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
1928         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
1929         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
1930         * sysdeps/alpha/atomic-machine.h: Likewise.
1931         * sysdeps/arm/atomic-machine.h: Likewise.
1932         * sysdeps/i386/atomic-machine.h: Likewise.
1933         * sysdeps/ia64/atomic-machine.h: Likewise.
1934         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
1935         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
1936         * sysdeps/microblaze/atomic-machine.h: Likewise.
1937         * sysdeps/mips/atomic-machine.h: Likewise.
1938         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
1939         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
1940         * sysdeps/s390/atomic-machine.h: Likewise.
1941         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
1942         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
1943         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
1944         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
1945         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
1946         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
1947         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
1948         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
1949         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
1950         * sysdeps/x86_64/atomic-machine.h: Likewise.
1952 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1954         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
1955         and use it instead of dl_x86_cpu_features.
1956         (handle_intel): Replace maxidx with cpu_features.  Pass
1957         cpu_features to intel_check_word.
1958         (__cache_sysconf): Pass cpu_features to handle_intel.
1959         (init_cacheinfo): Likewise.  Use cpu_features instead of
1960         dl_x86_cpu_features.
1962 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1964         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
1965         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1966         memcmp-avx2 and wmemcmp-avx2.
1967         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1968         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
1969         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
1970         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
1971         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
1972         2 machines if AVX unaligned load is fast and vzeroupper is
1973         preferred.
1974         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
1975         2 machines if AVX unaligned load is fast and vzeroupper is
1976         preferred.
1978 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1980         * include/wchar.h (__wmemset_chk): New.
1981         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
1982         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
1983         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1984         (WMEMSET_CHK_SYMBOL): Likewise.
1985         (WMEMSET_SYMBOL): Likewise.
1986         (__wmemset): Add hidden definition.
1987         (wmemset): Add weak hidden definition.
1988         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1989         wmemset_chk-nonshared.
1990         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1991         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
1992         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
1993         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
1994         and __wmemset_chk_avx512_unaligned.
1995         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
1996         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
1997         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
1998         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1999         (WMEMSET_SYMBOL): Likewise.
2000         * sysdeps/x86_64/multiarch/memset-avx512-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-vec-unaligned-erms.S: Updated.
2006         (WMEMSET_CHK_SYMBOL): New.
2007         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
2008         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
2009         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
2010         (libc_hidden_builtin_def): Also define __GI_wmemset and
2011         __GI___wmemset.
2012         (weak_alias): New.
2013         * sysdeps/x86_64/multiarch/wmemset.c: New file.
2014         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
2015         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
2016         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2017         * sysdeps/x86_64/wmemset.c: Likewise.
2018         * sysdeps/x86_64/wmemset_chk.c: Likewise.
2020 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2021             H.J. Lu  <hongjiu.lu@intel.com>
2023         * sysdeps/x86/init-arch.h (PASTER1): New.
2024         (EVALUATOR1): Likewise.
2025         (PASTER2): Likewise.
2026         (EVALUATOR2): Likewise.
2027         (REDIRECT_NAME): Likewise.
2028         (OPTIMIZE): Likewise.
2029         (IFUNC_SELECTOR): Likewise.
2031 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2033         * sysdeps/x86_64/strlen.S (PMINU): New.
2034         (PCMPEQ): Likewise.
2035         (SHIFT_RETURN): Likewise.
2036         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
2037         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
2038         pminub with PCMPEQ and PMINU.
2039         * sysdeps/x86_64/wcsnlen.S: New file.
2041 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2043         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
2044         the lower 32 bits.  Remove redundant instructions.
2046 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2048         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
2049         0 as the high part of offset.
2050         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
2052 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
2054         [BZ #21538]
2055         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
2056         [__USE_UNIX98].
2057         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
2058         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
2059         Likewise.
2060         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
2061         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
2062         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
2063         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
2064         Likewise.
2066         [BZ #21517]
2067         * bits/types/stack_t.h (stack_t): Remove struct tag.
2068         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
2069         Likewise.
2070         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
2071         Likewise.
2072         * debug/segfault.c (install_handler): Use stack_t instead of
2073         struct sigaltstack.
2074         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
2075         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
2076         * include/signal.h (__sigaltstack): Likwise.
2077         * signal/sigaltstack.c (__sigaltstack): Likewise.
2078         * signal/signal.h (sigaltstack): Likewise.
2079         * sysdeps/mach/hurd/i386/signal-defines.sym
2080         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
2081         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
2082         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
2083         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2084         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
2085         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
2086         elf_prstatus): Likewise.
2087         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
2088         Likewise.
2089         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
2090         Likewise.
2091         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
2092         Likewise.
2093         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
2094         elf_prstatus): Likewise.
2095         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
2096         Likewise.
2097         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
2098         Likewise.
2100 2017-06-04  Zack Weinberg  <zackw@panix.com>
2102         * sysdeps/gnu/errlist.c: Regenerate.
2104 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
2106         * benchtests/bench-memchr.c (do_test): Print out both length
2107         and position.
2108         (test_main): Also test the position close to the beginning for
2109         memrchr.
2111 2017-06-04  Zack Weinberg  <zackw@panix.com>
2113         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
2114         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
2115         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
2116         * nis/nis_destroygroup.c, nis/nis_domain_of.c
2117         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
2118         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
2119         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
2120         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
2121         * nis/nis_print_group_entry.c, nis/nis_remove.c
2122         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
2123         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
2124         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
2125         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
2126         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
2127         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
2128         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
2129         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
2130         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
2131         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
2132         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
2133         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
2134         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
2135         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
2136         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
2137         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
2138         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
2139         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
2140         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
2141         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
2143         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
2144         abi-versions.h as well as shlib-compat.h.
2145         * sunrpc/get_myaddr.c: Remove obsolete comment.
2146         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
2147         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
2148         * resolv/res_libc.c: Include shlib-compat.h only once.
2150 2017-06-03  Florian Weimer  <fweimer@redhat.com>
2152         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
2153         of strdup.
2155 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
2157         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
2158         Set to the 3/4 of the total shared cache size.
2160 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
2162         * manual/errno.texi: Remove redundant error strings.
2163         * manual/macros.texi (@errno): Render the error string in every
2164         description.
2166 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
2168         [BZ #21543]
2169         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
2170         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
2171         [__USE_XOPEN_EXTENDED].
2173 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2175         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
2176         strdupa.
2177         (getcanonname): Use __strdup instead of strdup.
2179 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2181         * misc/Makefile (CFLAGS-preadv2.c): New rule.
2182         (CFLAGS-preadv64v2.c): Likewise.
2183         (CFLAGS-pwritev2.c): Likewise.
2184         (CFLAGS-pwritev64v2.c): Likewise.
2186 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2188         Test res_init with several configuration files.
2189         * resolv/Makefile [build-shared] (tests-internal): Add
2190         tst-resolv-res_init, tst-resolv-res_init-thread.
2191         (tst-resolv-res_init): Link against libdl, libresolv.
2192         (tst-resolv-res_init-thread): Link against libdl, libresolv,
2193         libpthread.
2194         * resolv/tst-resolv-res_init.c: New file.
2195         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
2196         * resolv/tst-resolv-res_init-thread.c: Likewise.
2197         * support/Makefile (libsupport-routines): Add support-xstat,
2198         support_can_chroot, support_capture_subprocess_check,
2199         support_isolate_in_subprocess, support_shared_allocate,
2200         support_write_file_string, xchroot, xmkdir, xopen.
2201         * support/capture_subprocess.h (enum support_capture_allow): Define.
2202         (support_capture_subprocess_check): Declare.
2203         * support/namespace.h (support_can_chroot)
2204         (support_isolate_in_subprocess): Declare.
2205         * support/support-xstat.c: New file.
2206         * support/support.h (support_shared_allocate, support_shared_free)
2207         (support_write_file_string): Declare.
2208         * support/support_can_chroot.c: New file.
2209         * support/support_capture_subprocess_check.c: Likewise.
2210         * support/support_isolate_in_subprocess.c: Likewise.
2211         * support/support_shared_allocate.c: Likewise.
2212         * support/support_write_file_string.c: Likewise.
2213         * support/xchroot.c: Likwise.
2214         * support/xmkdir.c: Likwise.
2215         * support/xopen.c: Likwise.
2216         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
2218 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2220         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
2221         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
2223 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2225         * malloc/Makefile (routines): Add dynarray_at_failure,
2226         dynarray_emplace_enlarge, dynarray_finalize.
2227         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
2228         tst-dynarray-at-fail.
2229         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
2230         (tests-special): Add tst-dynarray-mem.out,
2231         tst-dynarray-mem-fail.out.
2232         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
2233         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
2234         mtrace.
2235         * malloc/Versions (__libc_dynarray_at_failure)
2236         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
2237         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
2238         GLIBC_PRIVATE.
2239         * malloc/dynarray.h: New file.
2240         * malloc/dynarray-skeleton.c: Likewise.
2241         * malloc/dynarray_at_failure.c: Likewise.
2242         * malloc/dynarray_emplace_enlarge.c: Likewise.
2243         * malloc/dynarray_finalize.c: Likewise.
2244         * malloc/dynarray_resize.c: Likewise.
2245         * malloc/dynarray_resize_clear.c: Likewise.
2246         * malloc/tst-dynarray.c: Likewise.
2247         * malloc/tst-dynarray-fail.c: Likewise.
2248         * malloc/tst-dynarray-at-fail.c: Likewise.
2249         * malloc/tst-dynarray-shared.h: Likewise.
2250         * support/Makefile (libsupport-routines): Add
2251         support_capture_subprocess, xdup2, xpipe.
2252         (tests): Add tst-support_capture_subprocess.
2253         * support/capture_subprocess.h: New file.
2254         * support/support_capture_subprocess.c: Likewise.
2255         * support/tst-support_capture_subprocess.c: Likewise.
2256         * support/xdup2.c: Likewise.
2257         * support/xpipe.c: Likewise.
2258         * support/xunistd.h (xdup2, xpipe): Declare.
2260 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2262         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
2263         macros MAX and MIN.
2265 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
2267         * conform/data/signal.h-data (sa_sigaction): Do not expect for
2268         [XPG4].
2269         (SA_SIGINFO): Likewise.
2270         (SA_ONSTACK): Likewise.
2271         (SA_RESETHAND): Likewise.
2272         (SA_RESTART): Likewise.
2273         (SA_NOCLDWAIT): Likewise.
2274         (SA_NODEFER): Likewise.
2275         (SS_ONSTACK): Likewise.
2276         (SS_DISABLE): Likewise.
2277         (MINSIGSTKSZ): Likewise.
2278         (SIGSTKSZ): Likewise.
2279         (ucontext_t): Likewise.
2280         (stack_t): Likewise.
2281         (struct sigstack): Likewise.
2282         (SI_USER): Do not expect for [XPG4 || XPG42].
2283         (SI_QUEUE): Likewise.
2284         (SI_TIMER): Likewise.
2285         (SI_ASYNCIO): Likewise.
2286         (SI_MESGQ): Likewise.
2287         (bsd_signal): Do not expect for [XPG4].
2288         (killpg): Likewise.
2289         (sigaltstack): Likewise.
2290         (sighold): Likewise.
2291         (sigignore): Likewise.
2292         (siginterrupt): Likewise.
2293         (sigpause): Likewise.
2294         (sigrelse): Likewise.
2295         (sigset): Likewise.
2296         (sigwait): Do not expect for [XPG4 || XPG42].
2298 2017-06-01  Zack Weinberg  <zackw@panix.com>
2300         [BZ #21514]
2301         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
2302         pointing to the generated file in <builddir>/misc/bits/syscall.h.
2304 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
2306         [BZ #21457]
2307         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
2308         NGREG to __NGREG if [__USE_MISC].
2309         (gregset_t): Define using __NGREG.
2310         (__ctx): New macro.
2311         (mcontext_t): Use __ctx in defining fields.
2312         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
2313         define NGREG to __NGREG if [__USE_MISC].
2314         (gregset_t): Define using __NGREG.
2315         (__ctx): New macro.
2316         (__ctxt): Likewise.
2317         (fpregset_t): Use __ctx and __ctxt in defining fields.
2318         (mcontext_t): Likewise.
2319         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
2320         define NGREG to __NGREG if [__USE_MISC].
2321         (gregset_t): Define using __NGREG.
2322         (__ctx): New macro.
2323         (mcontext_t): Use __ctx in defining fields.
2324         * sysdeps/mips/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         (fpregset_t): Use __ctx in defining fields.
2329         (mcontext_t): Likewise.
2330         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
2331         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2332         (gregset_t): Define using __NGREG.
2333         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2334         [__USE_MISC].
2335         (fpregset_t): Define using __NFPREG.
2336         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
2337         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2338         (gregset_t): Define using __NGREG.
2339         (__ctx): New macro.
2340         (fpregset_t): Use __ctx in defining fields.
2341         (mcontext_t): Likewise.
2342         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
2343         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2344         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2345         [__USE_MISC].
2346         (gregset_t): Define using __NGREG.
2347         (__ctx): New macro.
2348         (fpregset_t): Use __ctx in defining fields.
2349         (mcontext_t): Likewise.
2350         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
2351         (mcontext_t): Use __ctx in defining fields.
2352         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
2353         macro.
2354         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
2355         __NGREG if [__USE_MISC].
2356         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
2357         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
2358         (mcontext_t): Likewise.
2359         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
2360         __NGREG if [__USE_MISC].
2361         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
2362         to __NFPREG if [__USE_MISC].
2363         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
2364         to __NVRREG if [__USE_MISC].
2365         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
2366         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
2367         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
2368         [__WORDSIZE != 32] (vrregset_t): Likewise.
2369         [__WORDSIZE != 32] (mcontext_t): Likewise.
2370         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
2371         (__psw_t): Use __ctx in defining fields.
2372         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
2373         [__USE_MISC].
2374         (gregset_t): Define using __NGREG.
2375         (fpreg_t): Use __ctx in defining fields.
2376         (fpregset_t): Likewise.
2377         (mcontext_t): Likewise.
2378         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
2379         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2380         (gregset_t): Define using __NGREG.
2381         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2382         [__USE_MISC].
2383         (fpregset_t): Define using __NFPREG.
2384         (__ctx): New macro.
2385         (mcontext_t): Use __ctx in defining fields.
2386         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
2387         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2388         __NGREG if [__USE_MISC].
2389         [__x86_64__] (gregset_t): Define using __NGREG.
2390         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
2391         [__x86_64__] (struct _libc_fpstate): Likewise.
2392         [__x86_64__] (mcontext_t): Likewise.
2393         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2394         __NGREG if [__USE_MISC].
2395         [!__x86_64__] (gregset_t): Define using __NGREG.
2396         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
2397         [!__x86_64__] (struct _libc_fpstate): Likewise.
2398         [!__x86_64__] (mcontext_t): Likewise.
2400 2017-06-01  Zack Weinberg  <zackw@panix.com>
2402         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
2403         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
2404         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
2405         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
2406         libpthread.so no longer references __errno_location.
2408 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2410         * NEWS: Add note about pwritev2 and preadv2 inclusion.
2411         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
2412         pwritev64v2.
2413         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
2414         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
2415         pwritev64v2.
2416         * misc/preadv2.c: New file.
2417         * misc/preadv64v2.c: Likewise.
2418         * misc/pwritev2.c: Likewise.
2419         * misc/pwritev64v2.c: Likewise.
2420         * misc/tst-preadvwritev2.c: Likewise.
2421         * misc/tst-preadvwritev64v2.c: Likewise.
2422         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
2423         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
2424         prototype.
2425         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
2426         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
2427         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
2428         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
2429         (PWRITEV): Likewise.
2430         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
2431         ENOSYS.
2432         * nptl/tst-cancel4.c (tf_pwritev2): New test.
2433         (tf_preadv2): Likewise.
2434         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
2435         * sysdeps/posix/preadv2.c: Likewise.
2436         * sysdeps/posix/preadv64v2.c: Likewise.
2437         * sysdeps/posix/pwritev2.c: Likewise.
2438         * sysdeps/posix/pwritev64v2.c: Likewise.
2439         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
2440         support in kernel.
2441         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
2442         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
2443         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
2444         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
2445         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
2446         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2447         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2448         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2449         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
2450         support flags on Linux.
2451         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
2452         preadv2, preadv64v2, pwritev2, pwritev64v2.
2453         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
2454         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
2455         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
2456         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
2457         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
2458         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
2459         Likewise.
2460         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
2461         Likewise.
2462         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
2463         Likewise.
2464         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
2465         Likewise.
2466         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
2467         Likewise.
2468         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
2469         Likewise.
2470         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
2471         Likewise.
2472         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
2473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2474         (GLIBC_2.26): Likewise.
2475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2476         (GLIBC_2.26): Likewise.
2477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
2478         Likewise.
2479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2480         (GLIBC_2.26): Likewise.
2481         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
2482         Likewise.
2483         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
2484         Likewise.
2485         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
2486         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
2487         Likewise.
2488         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
2489         Likewise.
2490         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
2491         Likewise.
2492         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
2493         Likewise.
2494         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
2495         Likewise.
2496         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
2497         Likewise.
2498         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
2499         Likewise.
2501 2017-05-31  Andreas Schwab  <schwab@suse.de>
2503         * nptl/tst-fork3.c: Include <support/test-driver.c>.
2504         (main): Rename to do_test and make static.
2506 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2508         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
2509         ARCH_INIT_CPU_FEATURES.
2510         (LIBC_START_MAIN): Call it.
2511         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
2512         (__libc_start_main): Remove.
2513         (ARCH_INIT_CPU_FEATURES): New macro.
2514         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
2515         (ARCH_INIT_CPU_FEATURES): New macro.
2517 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
2518             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2520         * include/stdlib.h (__libc_reallocarray): New declaration.
2521         * malloc/Makefile (routines): Add reallocarray.
2522         (tests): Add tst-reallocarray.c.
2523         * malloc/Versions: Add reallocarray and __libc_reallocarray.
2524         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
2525         function.
2526         * malloc/malloc.h (reallocarray): New declaration.
2527         * stdlib/stdlib.h (reallocarray): Likewise.
2528         * malloc/reallocarray.c: New file.
2529         * malloc/tst-reallocarray.c: New test file.
2530         * manual/memory.texi: Document reallocarray.
2531         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
2532         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2533         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2534         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2535         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2536         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2537         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2538         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2539         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2540         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2541         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2542         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2543         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2544         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2546         Likewise.
2547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2548         Likewise.
2549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2551         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2552         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2553         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2554         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2555         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2558         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
2559         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2560         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2562 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
2564         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
2565         the lower 32 bits.
2567 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
2569         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
2570         $(build-pie-default) = yes]: Define.
2572 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2574         * string/test-memchr.c (test_main): Add tests for n == 0.
2576 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2578         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
2579         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
2580         (tests-internal): ... here.
2582 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
2583              H.J. Lu  <hongjiu.lu@intel.com>
2585         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
2586         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
2587         (__tunable_set_val): Likewise.
2589 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2591         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
2592         dl-tunables.list in subdirectories.
2594 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2595             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2596             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2598         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2599         (SNANF128): New macro.
2600         * math/e_sqrtf128.c: New file.
2601         * math/s_fmaxmag_template.c: Include math_private.h in order to
2602         make inline expansion of fabs128().
2603         * math/s_fminmag_template.c: Likewise.
2605         * sysdeps/ieee754/float128/e_acosf128.c: New file.
2606         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
2607         * sysdeps/ieee754/float128/e_asinf128.c: New file.
2608         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
2609         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
2610         * sysdeps/ieee754/float128/e_coshf128.c: New file.
2611         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
2612         * sysdeps/ieee754/float128/e_expf128.c: New file.
2613         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
2614         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
2615         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
2616         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
2617         * sysdeps/ieee754/float128/e_j0f128.c: New file.
2618         * sysdeps/ieee754/float128/e_j1f128.c: New file.
2619         * sysdeps/ieee754/float128/e_jnf128.c: New file.
2620         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
2621         * sysdeps/ieee754/float128/e_log10f128.c: New file.
2622         * sysdeps/ieee754/float128/e_log2f128.c: New file.
2623         * sysdeps/ieee754/float128/e_logf128.c: New file.
2624         * sysdeps/ieee754/float128/e_powf128.c: New file.
2625         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
2626         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
2627         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
2628         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
2629         * sysdeps/ieee754/float128/float128_private.h: New file.
2630         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
2631         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
2632         * sysdeps/ieee754/float128/k_cosf128.c: New file.
2633         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
2634         * sysdeps/ieee754/float128/k_sinf128.c: New file.
2635         * sysdeps/ieee754/float128/k_tanf128.c: New file.
2636         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
2637         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
2638         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
2639         * sysdeps/ieee754/float128/s_atanf128.c: New file.
2640         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
2641         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
2642         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
2643         * sysdeps/ieee754/float128/s_cosf128.c: New file.
2644         * sysdeps/ieee754/float128/s_erff128.c: New file.
2645         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
2646         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
2647         * sysdeps/ieee754/float128/s_finitef128.c: New file.
2648         * sysdeps/ieee754/float128/s_floorf128.c: New file.
2649         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
2650         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
2651         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
2652         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
2653         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
2654         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
2655         * sysdeps/ieee754/float128/s_isinff128.c: New file.
2656         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
2657         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
2658         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
2659         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
2660         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
2661         * sysdeps/ieee754/float128/s_logbf128.c: New file.
2662         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
2663         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
2664         * sysdeps/ieee754/float128/s_modff128.c: New file.
2665         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
2666         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
2667         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
2668         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
2669         * sysdeps/ieee754/float128/s_remquof128.c: New file.
2670         * sysdeps/ieee754/float128/s_rintf128.c: New file.
2671         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
2672         * sysdeps/ieee754/float128/s_roundf128.c: New file.
2673         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
2674         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
2675         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
2676         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
2677         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
2678         * sysdeps/ieee754/float128/s_significandf128.c: New file.
2679         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
2680         * sysdeps/ieee754/float128/s_sinf128.c: New file.
2681         * sysdeps/ieee754/float128/s_tanf128.c: New file.
2682         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
2683         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
2684         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
2685         * sysdeps/ieee754/float128/s_truncf128.c: New file.
2686         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
2687         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
2688         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
2689         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
2691         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
2692         (__iscanonicalf128): Define as a macro.
2694 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2696         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
2697         (memmove): Use MEMMOVE for name.
2698         (memcpy): Use MEMCPY for name.  Change internal labels
2699         to external labels.
2700         * sysdeps/aarch64/multiarch/Makefile: New file.
2701         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
2702         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
2703         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
2704         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
2705         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
2706         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
2708 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2710         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2711         (_dl_arm_cap_flags): Fix array subscript.
2712         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2713         Fix count.
2715 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2717         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
2719 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2721         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
2722         (is_amd): Likewise.
2723         (max_cpuid): Likewise.
2724         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
2725         (init_cacheinfo): Likewise.
2727 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
2729         [BZ #21511]
2730         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
2731         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
2732         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
2733         !__USE_XOPEN2K) || __USE_MISC].
2734         * conform/data/signal.h-data (struct sigstack): Expect type only
2735         if [!XOPEN2K8 && !POSIX2008].
2736         (sigstack): Expect function only if [XPG42 || UNIX98].
2738         [BZ #21457]
2739         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
2740         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2741         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2742         <bits/types/__sigset_t.h>.
2743         (ucontext_t): Use sigset_t instead of __sigset_t.
2744         * sysdeps/generic/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/i386/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/m68k/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/mips/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/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
2765         <signal.h>, <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/alpha/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/arm/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/hppa/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/ia64/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>.
2787         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
2788         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2789         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2790         <bits/types/__sigset_t.h>.
2791         (ucontext_t): Use sigset_t instead of __sigset_t.
2792         * sysdeps/unix/sysv/linux/mips/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/nios2/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/powerpc/sys/ucontext.h: Do not include
2803         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2804         <bits/ss_flags.h>.
2805         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
2806         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2807         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2808         <bits/types/__sigset_t.h>.
2809         (ucontext_t): Use sigset_t instead of __sigset_t.
2810         * sysdeps/unix/sysv/linux/sh/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/sparc/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/tile/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/x86/bits/sigcontext.h: Include
2826         <bits/types.h>.
2827         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
2828         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2829         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2830         <bits/types/__sigset_t.h>.
2831         (ucontext_t): Use sigset_t instead of __sigset_t.
2833 2017-05-22  Zack Weinberg  <zackw@panix.com>
2835         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2836         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
2837         bits/siginfo-arch.h, only if not already defined.
2838         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
2839         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
2840         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
2841         Likewise.
2843         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2844         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2845         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2846         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2847         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2848         Unconditionally define __SI_* macros.
2850 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2852         [BZ #21393]
2853         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
2854         and add a check for dup3 failure.
2855         * libio/freopen64.c (freopen64): Likewise.
2856         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
2857         libsupport.
2858         (do_test_bz21398): New test.
2859         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
2861 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2863         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
2864         Remove invalid comment.
2866 2017-05-21  Zack Weinberg  <zackw@panix.com>
2868         * signal/Makefile (headers): Add bits/types/sigval_t.h.
2870 2017-05-20  Zack Weinberg  <zackw@panix.com>
2872         * bits/sigevent-consts.h
2873         * bits/siginfo-consts.h
2874         * bits/types/__sigset_t.h
2875         * bits/types/sigevent_t.h
2876         * bits/types/siginfo_t.h
2877         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
2878         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2879         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
2880         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
2881         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
2882         New system-dependent bits headers.
2884         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
2885         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
2886         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2887         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
2888         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2889         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2890         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2891         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
2892         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2893         New Linux-only system-dependent bits headers.
2895         * signal/bits/types/sig_atomic_t.h
2896         * signal/bits/types/sigset_t.h
2897         * signal/bits/types/sigval_t.h:
2898         New non-system-dependent bits headers.
2900         * sysdeps/generic/sigsetops.h
2901         * sysdeps/unix/sysv/linux/sigsetops.h:
2902         New internal headers.
2904         * include/bits/types/sig_atomic_t.h
2905         * include/bits/types/sigset_t.h
2906         * include/bits/types/sigval_t.h:
2907         New wrappers.
2909         * signal/sigsetops.h
2910         * bits/siginfo.h
2911         * bits/sigset.h
2912         * sysdeps/unix/sysv/linux/bits/siginfo.h
2913         * sysdeps/unix/sysv/linux/bits/sigset.h
2914         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
2915         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
2916         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
2917         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
2918         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
2919         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
2920         Deleted.
2922         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
2923         Update lists of installed headers.
2925         * posix/bits/types.h: Define __sig_atomic_t here.
2926         * signal/signal.h: Use the new bits headers; no need to handle
2927         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
2928         to define sigmask.
2929         * include/signal.h: No need to handle __need_sig_atomic_t
2930         nor __need_sigset_t.  Don't define __sigemptyset.
2932         * io/sys/poll.h, setjmp/setjmp.h
2933         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
2934         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
2935         * sysdeps/mach/hurd/i386/bits/sigcontext.h
2936         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
2937         * sysdeps/pthread/bits/sigthread.h
2938         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
2939         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
2940         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2941         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
2942         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2943         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
2944         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
2945         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
2946         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
2947         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
2948         Use bits/types/__sigset_t.h.
2950         * misc/sys/select.h, posix/spawn.h
2951         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2952         * sysdeps/unix/sysv/linux/sys/epoll.h
2953         * sysdeps/unix/sysv/linux/sys/signalfd.h:
2954         Use bits/types/sigset_t.h.
2956         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
2957         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
2958         * socket/sys/socket.h: Don't include bits/sigset.h.
2960         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
2961         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
2962         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
2963         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
2964         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
2965         * sysdeps/unix/sysv/linux/nptl-signals.h:
2966         Include sigsetops.h.
2968         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
2969         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
2970         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
2971         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
2972         now return no value.
2974         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
2975         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
2976         "sigsetops.h".
2978         * signal/sigsetops.c: Explicitly define __sigismember,
2979         __sigaddset, and __sigdelset as compatibility symbols.
2981         * signal/Versions: Correct commentary on __sigpause,
2982         __sigaddset, __sigdelset, __sigismember.
2984         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
2985         __sigblock/__sigsetmask to use __sigprocmask and friends.
2987         * resolv/resolv.h: Remove __need_res_state logic.
2988         Move definition of res_state and related constants to ...
2989         * resolv/bits/types/res_state.h: ...this new file.
2990         * resolv/Makefile: Install bits/types/res_state.h.
2991         * include/bits/types/res_state.h: New wrapper.
2992         * include/list.h: Remove __need_list_t logic.
2993         Move definition of list_t to ...
2994         * include/list_t.h: ...this new file.
2996         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
2997         instead of list.h and resolv.h.
2999         * resolv/resolv.h: Remove __need_res_state logic.
3000         Move definition of res_state and related constants to ...
3001         * resolv/bits/types/res_state.h: ...this new file.
3002         * resolv/Makefile: Install bits/types/res_state.h.
3003         * include/bits/types/res_state.h: New wrapper.
3004         * include/list.h: Remove __need_list_t logic.
3005         Move definition of list_t to ...
3006         * include/list_t.h: ...this new file.
3008         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3009         instead of list.h and resolv.h.
3011 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3013         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
3015 2017-05-20  Zack Weinberg  <zackw@panix.com>
3017         * sysdeps/arm/sysdep.h
3018         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
3020         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
3021         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
3022         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
3023         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
3024         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
3025         * sysdeps/arm/armv6t2/strlen.S
3026         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
3027         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
3028         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
3029         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
3030         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
3031         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
3033 2017-05-20  Zack Weinberg  <zackw@panix.com>
3035         Remove the NaCl port.
3036         * sysdeps/arm/nacl: Remove directory and contents.
3037         * sysdeps/nacl: Remove directory and contents.
3038         * abi-tags: Remove .*-.*-nacl.* entry.
3040 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
3042         * manual/errno.texi: Convert @comment-based errno documentation to
3043         @errno.
3044         * manual/macros.texi (@errno): New macro.  Consolidate errors,
3045         their values, and messages, adding the error string to the Concept
3046         Index.  Provide a warning in the comment about external (to the
3047         manual) dependencies.
3048         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
3049         * sysdeps/mach/hurd/errnos.awk: Likewise.
3051 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
3053         * bits/ss_flags.h: New file.
3054         * bits/types/stack_t.h: Likewise.
3055         * include/bits/types/struct_sigstack.h: Likewise.
3056         * signal/bits/types/struct_sigstack.h: Likewise.
3057         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
3058         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
3059         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
3060         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
3061         bits/types/stack_t.h and bits/ss_flags.h.
3062         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
3063         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
3064         <bits/ss_flags.h>.
3065         * bits/sigstack.h (struct sigstack): Remove.
3066         (stack_t): Likewise.
3067         (SS_ONSTACK): Likewise.
3068         (SS_DISABLE): Likewise.
3069         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3070         (struct sigstack): Likewise.
3071         (stack_t): Likewise.
3072         (SS_ONSTACK): Likewise.
3073         (SS_DISABLE): Likewise.
3074         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
3075         Likewise.
3076         (stack_t): Likewise.
3077         (SS_ONSTACK): Likewise.
3078         (SS_DISABLE): Likewise.
3079         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
3080         Likewise.
3081         (stack_t): Likewise.
3082         (SS_ONSTACK): Likewise.
3083         (SS_DISABLE): Likewise.
3084         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
3085         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
3086         Likewise.
3087         (stack_t): Likewise.
3088         (SS_ONSTACK): Likewise.
3089         (SS_DISABLE): Likewise.
3090         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3091         (struct sigstack): Likewise.
3092         (stack_t): Likewise.
3093         (SS_ONSTACK): Likewise.
3094         (SS_DISABLE): Likewise.
3095         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
3096         Likewise.
3097         (stack_t): Likewise.
3098         (SS_ONSTACK): Likewise.
3099         (SS_DISABLE): Likewise.
3100         * sysdeps/arm/sys/ucontext.h: Include
3101         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
3102         <bits/ss_flags.h>.
3103         * sysdeps/generic/sys/ucontext.h: Likewise.
3104         * sysdeps/i386/sys/ucontext.h: Likewise.
3105         * sysdeps/m68k/sys/ucontext.h: Likewise.
3106         * sysdeps/mips/sys/ucontext.h: Likewise.
3107         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
3108         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
3109         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
3110         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
3111         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
3112         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
3113         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
3114         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
3115         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
3116         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3117         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
3118         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
3119         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
3120         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
3121         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
3123 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3125         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
3126         "edx + ecx - 16" to avoid possible addition overflow.
3127         * sysdeps/x86_64/memchr.S (memchr): Likewise.
3129 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3131         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
3132         (CFLAGS-splice.c): Likewise.
3133         (CFLAGS-open_by_handle_at.c): Likewise.
3134         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
3135         (CFLAGS-splice.c): Likewise.
3136         (CFLAGS-open_by_handle_at.c): Likewise.
3138 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
3140         * scripts/versions.awk: Generate ldbl-compat-choose.h.
3141         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
3142         <ldbl-compat-choose.h>.
3143         (maybe_long_double_symbol): New macro.
3144         [!declare_mgen_alias] (declare_mgen_alias): Use
3145         maybe_long_double_symbol.
3146         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
3147         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
3148         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
3149         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
3150         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
3151         * Makerules [$(build-shared) = yes && !avoid-generated]
3152         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
3153         [$(build-shared) = yes && !avoid-generated]
3154         ($(common-objpfx)ldbl-compat-choose.h): New target.
3156         * scripts/versions.awk: Generate first-versions.h.
3157         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
3158         <first-versions.h>.
3159         (LDOUBLE_cabsl_libm_version): Remove macro.
3160         (LDOUBLE_cargl_libm_version): Likewise.
3161         (LDOUBLE_cimagl_libm_version): Likewise.
3162         (LDOUBLE_conjl_libm_version): Likewise.
3163         (LDOUBLE_creall_libm_version): Likewise.
3164         (LDOUBLE_cacosl_libm_version): Likewise.
3165         (LDOUBLE_cacoshl_libm_version): Likewise.
3166         (LDOUBLE_ccosl_libm_version): Likewise.
3167         (LDOUBLE_ccoshl_libm_version): Likewise.
3168         (LDOUBLE_casinl_libm_version): Likewise.
3169         (LDOUBLE_csinl_libm_version): Likewise.
3170         (LDOUBLE_casinhl_libm_version): Likewise.
3171         (LDOUBLE_csinhl_libm_version): Likewise.
3172         (LDOUBLE_catanl_libm_version): Likewise.
3173         (LDOUBLE_catanhl_libm_version): Likewise.
3174         (LDOUBLE_ctanl_libm_version): Likewise.
3175         (LDOUBLE_ctanhl_libm_version): Likewise.
3176         (LDOUBLE_cexpl_libm_version): Likewise.
3177         (LDOUBLE_clogl_libm_version): Likewise.
3178         (LDOUBLE_cprojl_libm_version): Likewise.
3179         (LDOUBLE_csqrtl_libm_version): Likewise.
3180         (LDOUBLE_cpowl_libm_version): Likewise.
3181         (LDOUBLE_clog10l_libm_version): Likewise.
3182         (LDOUBLE___clog10l_libm_version): Likewise.
3183         (LDOUBLE_fdiml_libm_version): Likewise.
3184         (LDOUBLE_fmaxl_libm_version): Likewise.
3185         (LDOUBLE_fminl_libm_version): Likewise.
3186         (LDOUBLE_ilogbl_libm_version): Likewise.
3187         (LDOUBLE_nanl_libm_version): Likewise.
3188         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
3189         FIRST_VERSION_libm_* macros.
3190         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
3191         * Makerules [$(build-shared) = yes && !avoid-generated]
3192         (before-compile): Add $(common-objpfx)first-versions.h.
3193         [$(build-shared) = yes && !avoid-generated]
3194         ($(common-objpfx)first-versions.h): New target.
3195         ($(common-objpfx)sysd-versions): Depend on and change to rule for
3196         building $(common-objpfx)versions.stmp.
3198 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3200         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
3201         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
3202         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
3203         auto-generation list.
3205         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
3206         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
3207         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
3208         from auto-generation list.
3210         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3211         open_by_handle_at.
3212         (CFLAGS-open_by_handle_at.c): New flag.
3213         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
3214         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
3215         file.
3216         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
3218         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
3219         (CFLAGS-splice.c): New flag.
3220         * sysdeps/unix/sysv/linux/splice.c: New file.
3221         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
3222         auto-generation syscall list.
3223         * misc/Makefile (CFLAGS-splice.c): New rule.
3225         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
3226         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
3227         auto-generation syscall list.
3228         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
3229         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
3231         * misc/Makefile (CFLAGS-fsync.c): New flag.
3232         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
3233         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
3234         syscall list.
3235         * sysdeps/unix/sysv/linux/fsync.c: New file.
3236         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
3237         (__errno_location): Remove.
3239         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
3240         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
3241         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
3242         list.
3243         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
3245         * misc/Makefile (CFLAGS-msync.c): New rule.
3246         * nptl/Makefile (CFLAGS-msync.c): Likewise.
3247         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
3248         * sysdeps/unix/sysv/linux/msync.c: New file.
3250         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
3251         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
3252         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
3253         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3254         (CFLAGS-sigsuspend.c): Remove rule.
3256         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
3257         (CFLAGS-tee.c): New rule.
3258         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
3259         auto-generated list.
3260         * sysdeps/unix/sysv/linux/tee.c: New file.
3262         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
3263         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
3264         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
3265         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
3266         auto-generated list.
3268         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
3269         auto-generated list.
3270         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
3271         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3272         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
3273         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3274         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
3276         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
3277         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
3278         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
3279         (__NR_pause): Undefine.
3280         * sysdeps/unix/sysv/linux/pause.c: New file.
3281         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
3282         auto-generation list.
3283         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
3284         Remove rule.
3285         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
3287 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3289         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
3290         comments.
3292 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3294         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
3295         LD_HWCAP_MASK.
3297 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
3299         * manual/conf.texi: Convert @tables of annotated @items to
3300         @vtables.
3301         * manual/lang.texi: Likewise.
3302         * manual/pattern.texi: Likewise.
3303         * manual/resource.texi: Likewise.
3304         * manual/socket.texi: Likewise.
3306 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
3308         * manual/crypt.texi: Move a comment out of an @*x list.
3309         * manual/filesys.texi: Refactor some comments, one of which looks
3310         like a standard.  Fix incorrectly separated standards.
3311         * manual/locale.texi: Invert an annotation.
3312         * manual/resource.texi: Fix incorrectly separated standards.
3313         * manual/time.texi: Refactor a @vtable that obscures an
3314         annotation.
3315         * manual/users.texi: Refactor multiple headers to occupy a single
3316         @comment.
3318 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3320         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3321         (sysdep_routines): Add memcmp-power8.
3322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3323         (memcmp): Add __memcmp_power8 to list of memcmp functions.
3324         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
3325         (memcmp): Add __memcmp_power8 to ifunc list.
3326         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
3327         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
3329 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3330             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3332         * math/math.h (__MATH_TG): Extend the conditions to add
3333         _Float128 support.
3334         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
3336 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
3338         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3339         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
3340         s_cosf-ppc64.
3341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
3342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
3343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
3344         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
3346 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3348         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
3349         (gen-libm-calls): Add e_exp2F to use the template.
3350         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
3351         * math/e_exp2_template.c: New file, renamed from
3352         math/e_exp2l.c, and made into a template.
3353         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
3355 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3357         * elf/dl-tunable-types.h (tunable_type_code_t): New type
3358         TUNABLE_TYPE_UINT_64.
3359         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
3360         Simplify computation of overflow.
3361         (tunable_set_val_if_valid_range_signed,
3362         tunable_set_val_if_valid_range_unsigned): Remove and replace
3363         with this...
3364         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
3365         (tunable_initialize): Adjust.  Add uint64_t support.
3366         (__tunable_set_val): Add uint64_t support.
3367         * README.tunables: Document it.
3369         * scripts/gen-tunables.awk: Recognize 'default' keyword in
3370         dl-tunables.list.
3371         * README.tunables: Document it.
3373 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3375         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
3376         * sysdeps/posix/preadv64.c: Likewise.
3377         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3378         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
3379         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
3380         * sysdeps/posix/pwritev64.c: Likewise.
3381         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3382         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
3383         * sysdeps/posix/preadv_common.c: New file.
3384         * sysdeps/posix/pwritev_common.c: Likewise.
3386 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3388         * sysdeps/generic/math-type-macros-float128.h
3389         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
3390         wrapper templates.
3392 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3393             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3395         * include/complex.h (__kernel_casinhf128): New declaration.
3396         * include/float.h: New file.
3397         * include/math.h (__finitef128): Add a hidden def.
3398         (__isinff128): Likewise.
3399         (__isnanf128): Likewise.
3400         (__fpclassify): Likewise.
3401         (__issignalling): Likewise.
3402         (__expf128): Likewise.
3403         (__expm1f128): Likewise.
3405         * sysdeps/generic/fix-fp-int-convert-overflow.h:
3406         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
3407         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
3409         * sysdeps/generic/math-type-macros-float128.h: New file.
3411         * sysdeps/generic/math_private.h: Include bits/floatn.h and
3412         math_private_calls.h for _Float128.
3413         (__isinff128): New inline implementation used when GCC < 7.0,
3414         since in this case __builtin_isinf_sign is broken.
3415         (fabsf128): New inline implementation that calls the builtin.
3416         (__EXPR_FLT128): New macro.
3417         (min_of_type): Optionally include _Float128 types too.
3419         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
3420         Declare for _Float128.
3421         (__kernel_rem_pio2): Likewise.
3423         * sysdeps/ieee754/ldbl-opt/s_sin.c:
3424         (__DECL_SIMD_sincos_disablef128): New macro.
3426 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3428         * math/math.h: Include bits/math-finite.h for float128.
3429         (__MATH_DECLARING_FLOATN): Define to control declaration of
3430         float128 functions.
3431         * math/bits/math-finite.h (pow10): Do not declare for float128.
3432         (gamma): Likewise.
3433         (scalb): Likewise.
3435 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3436             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3438         * bits/floatn.h: New file.
3439         * bits/huge_val_flt128.h: Likewise.
3441         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
3442         (__DECL_SIMD_sinf128): Likewise.
3443         (__DECL_SIMD_sincosf128): Likewise.
3444         (__DECL_SIMD_logf128): Likewise.
3445         (__DECL_SIMD_expf128): Likewise.
3446         (__DECL_SIMD_powf128): Likewise.
3448         * math/Makefile (headers): Install bits/floatn.h and
3449         bits/huge_val_flt128.h.
3451         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
3452         defined.
3454         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
3455         (isnan, gamma, nexttoward, scalb): Only define if not
3456         __MATH_DECLARING_FLOATN.
3457         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
3458         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
3459         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
3460         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
3462         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
3463         Include bits/cmathcalls.h to get the declarations of _Float128
3464         versions of complex functions.
3465         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
3466         Define macro.
3468         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
3469         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
3470         get the declarations of _Float128 versions of math functions.
3471         (__MATH_DECLARING_FLOATN): New macro to control declaration of
3472         _FloatN types.
3473         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
3474         is type-generic, so use it without __MATH_TG.
3475         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
3476         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
3477         _Float128 type and GCC < 7.0, otherwise use the builtin.
3478         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
3479         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
3480         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
3481         New _GNU_SOURCE enabled macros.
3483 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
3485         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
3486         (signbitf): Likewise.
3487         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
3488         Likewise.
3489         (signbitl): Likewise.
3490         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
3491         Likewise.
3492         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
3493         (signbitl): Likewise.
3494         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
3496 2017-05-12  Florian Weimer  <fweimer@redhat.com>
3498         [BZ #21386]
3499         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
3500         parent PID.  The assertion in the child is incorrect with PID
3501         namespaces.
3503 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
3505         * sysdeps/unix/sysv/linux/kernel-features.h
3506         (__ASSUME_STATFS_F_FLAGS): Remove macro.
3507         * sysdeps/unix/sysv/linux/internal_statvfs.c
3508         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
3510 2017-05-11  Zack Weinberg  <zackw@panix.com>
3512         * Makerules: New subdir configuration variables 'tests-internal'
3513         and 'test-internal-extras'.  Test files in these categories will
3514         still be compiled with MODULE_NAME=nonlib.  Test files in the
3515         existing categories (tests, xtests, test-srcs, test-extras) are
3516         now compiled with MODULE_NAME=testsuite.
3517         New subdir configuration variable 'modules-names-tests'.  Files
3518         which are in both 'modules-names' and 'modules-names-tests' will
3519         be compiled with MODULE_NAME=testsuite instead of
3520         MODULE_NAME=extramodules.
3521         (gen-as-const-headers): Move to tests-internal.
3522         (do-tests-clean, common-mostlyclean): Support tests-internal.
3523         * Makeconfig (built-modules): Add testsuite.
3524         * Makefile: Change libof-check-installed-headers-c and
3525         libof-check-installed-headers-cxx to 'testsuite'.
3526         * Rules: Likewise.  Support tests-internal.
3527         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
3528         Remove extra-modules.mk.
3530         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
3531         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
3532         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
3533         very top of the file and rationalize their order.
3534         If MODULE_NAME is not defined at all, define IS_IN to always be
3535         false, and don't define _ISOMAC.
3536         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
3537         true, define _ISOMAC and suppress everything else in this file,
3538         starting with the inclusion of config.h.
3539         Do check for inappropriate definitions of __OPTIMIZE__ and
3540         __FAST_MATH__ here, but only if _ISOMAC is not defined.
3541         Correct some out-of-date commentary.
3543         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
3544         and _Mlong_double_ before including math.h.
3545         * include/string.h: If _ISOMAC is defined, don't expose
3546         _STRING_ARCH_unaligned. Move a comment to a more appropriate
3547         location.
3549         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
3550         * include/time.h, include/unistd.h, include/wchar.h: No need to
3551         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
3553         * misc/sys/cdefs.h (__NTHNL): New macro.
3554         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
3555         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
3557         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
3558         defined, for HAVE_TUNABLES.
3559         * inet/tst-checks-posix.c: No need to define _ISOMAC.
3560         * intl/tst-gettext2.c: Provide own definition of N_.
3561         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
3562         * math/test-signgam-main.c: No need to define _ISOMAC.
3563         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
3564         * stdlib/tst-strtod1i.c: ...this new file.
3565         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
3566         Split tests of __strtod_internal to...
3567         * stdlib/tst-strtod5i.c: ...this new file.
3568         * string/test-string.h: Include stdint.h. Duplicate definition of
3569         inhibit_loop_to_libcall here (from libc-symbols.h).
3570         * string/test-strstr.c: Provide dummy definition of
3571         libc_hidden_builtin_def when including strstr.c.
3572         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
3573         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
3574         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3575         Don't include init-arch.h.
3576         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3577         Don't include init-arch.h.
3579         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
3580         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
3581         unload, unload2, circleload1, neededtest, neededtest2,
3582         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
3583         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
3584         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
3585         ifunc tests to tests-internal.
3586         Don't add $(modules-names) to test-extras.
3587         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
3588         Add tst-deadline to tests-static-internal.
3589         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
3590         tests-internal.
3591         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
3592         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
3593         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
3594         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
3595         tst-sem12-static, and tst-stackguard1-static to tests-internal.
3596         Link tests-internal with libpthread also.
3597         Don't add $(modules-names) to test-extras.
3598         * nss/Makefile: Move tst-field to tests-internal.
3599         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
3600         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
3601         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
3602         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
3603         tests-internal.
3604         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
3605         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
3606         test-get_hwcap-static to tests-internal.
3607         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
3608         tests-internal.
3609         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
3610         modules-names-tests.
3612 2017-05-11  Zack Weinberg  <zackw@panix.com>
3614         * libio/libio.h: Condition dummy definition of _IO_lock_t on
3615         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
3616         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
3617         _IO_funlockfile, and _IO_ftrylockfile.  Only define
3618         _IO_cleanup_region_start and _IO_cleanup_region_end if not
3619         already defined.
3620         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
3621         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
3622         appropriately.
3623         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
3624         Define _IO_lock_t_defined after defining _IO_lock_t.
3626 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3628         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
3629         void* for argument type and use VDSO_SYMBOL macro.
3630         (is_sigtramp_address_rt): Likewise.
3631         (__backtrace): Setup expected frame pointer address for signal
3632         handling.
3633         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
3634         void* for argumetn type and use VSDO_SYMBOL macro.
3635         (__backtrace): Setup expected frame pointer address for signal
3636         handling.
3638         * sysdeps/unix/sysv/linux/writev.c: New file.
3640         * sysdeps/unix/sysv/linux/readv.c: New file.
3642         * include/unistd.h (write): Add hidden proto.
3643         * io/Makefile (CFLAGS-write.c): New define.
3644         * nptl/Makefile (CFLAGS-write.c): Likewise.
3645         * sysdeps/unix/sysv/linux/write.c: New file.
3647         [BZ #21428]
3648         * include/unistd.h (read): Add hidden proto.
3649         * io/Makefile (CFLAGS-read.c): New define.
3650         * nptl/Makefile (CFLAGS-read.c): Likewise.
3651         * sysdeps/unix/sysv/linux/read.c: New file.
3653         * io/Makefile (CFLAGS-creat.c): New rule.
3654         (CFLAGS-creat64.c): Likewise.
3655         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
3656         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
3657         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
3658         * sysdeps/unix/sysv/linux/creat.c: New file.
3659         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
3660         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
3661         auto-generated list.
3662         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3664         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
3665         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
3666         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
3667         * sysdeps/unix/sysv/linux/open.c: New file.
3668         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
3669         iff __WORDSIZE != 64 and use __NR_openat when available.
3670         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
3671         from auto-generated list.
3673         * nptl/Makefile (CFLAGS-close.c): New flag.
3674         * sysdeps/unix/sysv/linux/close.c: New file.
3676 2017-05-11  DJ Delorie  <dj@redhat.com>
3678         * MAINTAINERS: New.  Points to wiki.
3680 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3682         * scripts/gen-tunables.awk: Add attribute_relro to
3683         tunable_list.
3685 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
3687         [BZ #21457]
3688         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
3689         (R1): Likewise.
3690         (R2): Likewise.
3691         (R3): Likewise.
3692         (R4): Likewise.
3693         (R5): Likewise.
3694         (R6): Likewise.
3695         (R7): Likewise.
3696         (R8): Likewise.
3697         (R9): Likewise.
3698         (R10): Likewise.
3699         (R11): Likewise.
3700         (R12): Likewise.
3701         (R13): Likewise.
3702         (R14): Likewise.
3703         (R15): Likewise.
3704         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
3705         (REG_FS): Likewise.
3706         (REG_ES): Likewise.
3707         (REG_DS): Likewise.
3708         (REG_EDI): Likewise.
3709         (REG_ESI): Likewise.
3710         (REG_EBP): Likewise.
3711         (REG_ESP): Likewise.
3712         (REG_EBX): Likewise.
3713         (REG_EDX): Likewise.
3714         (REG_ECX): Likewise.
3715         (REG_EAX): Likewise.
3716         (REG_TRAPNO): Likewise.
3717         (REG_ERR): Likewise.
3718         (REG_EIP): Likewise.
3719         (REG_CS): Likewise.
3720         (REG_EFL): Likewise.
3721         (REG_UESP): Likewise.
3722         (REG_SS): Likewise.
3723         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
3724         (R_D1): Likewise.
3725         (R_D2): Likewise.
3726         (R_D3): Likewise.
3727         (R_D4): Likewise.
3728         (R_D5): Likewise.
3729         (R_D6): Likewise.
3730         (R_D7): Likewise.
3731         (R_A0): Likewise.
3732         (R_A1): Likewise.
3733         (R_A2): Likewise.
3734         (R_A3): Likewise.
3735         (R_A4): Likewise.
3736         (R_A5): Likewise.
3737         (R_A6): Likewise.
3738         (R_A7): Likewise.
3739         (R_SP): Likewise.
3740         (R_PC): Likewise.
3741         (R_PS): Likewise.
3742         (fpregset_t): Likewise.
3743         (MCONTEXT_VERSION): Likewise.
3744         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
3745         (CTX_AT): Likewise.
3746         (CTX_V0): Likewise.
3747         (CTX_V1): Likewise.
3748         (CTX_A0): Likewise.
3749         (CTX_A1): Likewise.
3750         (CTX_A2): Likewise.
3751         (CTX_A3): Likewise.
3752         (CTX_T0): Likewise.
3753         (CTX_T1): Likewise.
3754         (CTX_T2): Likewise.
3755         (CTX_T3): Likewise.
3756         (CTX_T4): Likewise.
3757         (CTX_T5): Likewise.
3758         (CTX_T6): Likewise.
3759         (CTX_T7): Likewise.
3760         (CTX_S0): Likewise.
3761         (CTX_S1): Likewise.
3762         (CTX_S2): Likewise.
3763         (CTX_S3): Likewise.
3764         (CTX_S4): Likewise.
3765         (CTX_S5): Likewise.
3766         (CTX_S6): Likewise.
3767         (CTX_S7): Likewise.
3768         (CTX_T8): Likewise.
3769         (CTX_T9): Likewise.
3770         (CTX_K0): Likewise.
3771         (CTX_K1): Likewise.
3772         (CTX_GP): Likewise.
3773         (CTX_SP): Likewise.
3774         (CTX_S8): Likewise.
3775         (CTX_RA): Likewise.
3776         (CTX_MDLO): Likewise.
3777         (CTX_MDHI): Likewise.
3778         (CTX_CAUSE): Likewise.
3779         (CTX_EPC): Likewise.
3780         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
3781         inclusion of <sys/procfs.h> on [__USE_MISC].
3782         (greg_t): Condition on [__USE_MISC].
3783         (gregset_t): Likewise.
3784         (fpregset_t): Likewise.
3785         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
3786         (NGREG): Likewise.
3787         (gregset_t): Likewise.
3788         (REG_R0): Likewise.
3789         (REG_R1): Likewise.
3790         (REG_R2): Likewise.
3791         (REG_R3): Likewise.
3792         (REG_R4): Likewise.
3793         (REG_R5): Likewise.
3794         (REG_R6): Likewise.
3795         (REG_R7): Likewise.
3796         (REG_R8): Likewise.
3797         (REG_R9): Likewise.
3798         (REG_R10): Likewise.
3799         (REG_R11): Likewise.
3800         (REG_R12): Likewise.
3801         (REG_R13): Likewise.
3802         (REG_R14): Likewise.
3803         (REG_R15): Likewise.
3804         (struct _libc_fpstate): Likewise.
3805         (fpregset_t): Likewise.
3806         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
3807         (NFPREG): Likewise.
3808         (gregset_t): Likewise.
3809         (fpregset_t): Likewise.
3810         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
3811         (R_D1): Likewise.
3812         (R_D2): Likewise.
3813         (R_D3): Likewise.
3814         (R_D4): Likewise.
3815         (R_D5): Likewise.
3816         (R_D6): Likewise.
3817         (R_D7): Likewise.
3818         (R_A0): Likewise.
3819         (R_A1): Likewise.
3820         (R_A2): Likewise.
3821         (R_A3): Likewise.
3822         (R_A4): Likewise.
3823         (R_A5): Likewise.
3824         (R_A6): Likewise.
3825         (R_A7): Likewise.
3826         (R_SP): Likewise.
3827         (R_PC): Likewise.
3828         (R_PS): Likewise.
3829         (fpregset_t): Likewise.
3830         (MCONTEXT_VERSION): Likewise.
3831         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
3832         Likewise.
3833         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
3834         (REG_R1): Likewise.
3835         (REG_R2): Likewise.
3836         (REG_R3): Likewise.
3837         (REG_R4): Likewise.
3838         (REG_R5): Likewise.
3839         (REG_R6): Likewise.
3840         (REG_R7): Likewise.
3841         (REG_R8): Likewise.
3842         (REG_R9): Likewise.
3843         (REG_R10): Likewise.
3844         (REG_R11): Likewise.
3845         (REG_R12): Likewise.
3846         (REG_R13): Likewise.
3847         (REG_R14): Likewise.
3848         (REG_R15): Likewise.
3849         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
3850         of <arch/abi.h> on [__USE_MISC].
3851         (greg_t): Condition on [__USE_MISC].
3852         (NGREG): Likewise.
3853         (gregset_t): Likewise.
3855 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3857         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
3858         (__pthread_rwlock_arch_t): Remove __data definition.
3859         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
3860         (__pthread_rwlock_arch_t): Likewise.
3862 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3864         * resolv/inet_pton.c: Reformat in GNU style.  Remove
3865         internal_function on static functions.
3867 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3869         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
3870         from format_ai_flags.
3871         (format_ai_flags): New function.  Incorporate flag formatting code
3872         from format_ai_one.
3873         (format_ai_canonname): New function.
3874         (format_ai_one): Remove flags parameter.
3875         (format_ai_family): Likewise.
3876         (support_format_addrinfo): Call format_ai_flags,
3877         format_ai_canonname.
3878         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
3879         check_ai.
3880         (check_ai): Call check_ai_hints.
3881         (do_test): Add AI_CANONNAME tests.
3883 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3885         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
3886         (gaih_inet): Likewise.
3888 2017-05-10  Andreas Schwab  <schwab@suse.de>
3890         * nptl/tst-fork1.c: Include <support/test-driver.c>.
3891         (main): Rename to do_test and make static.
3893 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
3895         * string/rawmemchr.c: Include <libc-diag.h>.
3896         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
3897         with size (size_t)-1.
3899 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3901         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
3902         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3903         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3905         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
3906         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
3907         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
3908         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
3909         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
3910         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
3911         * sysdeps/unix/sysv/linux/kernel-features.h
3912         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
3913         socket syscalls.
3914         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3915         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3916         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3917         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3918         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3919         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3920         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3921         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3922         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3923         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3924         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3925         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3926         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3927         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3928         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3930 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3932         * posix/Makefile (headers): Add pthreadtypes-arch.h and
3933         thread-shared-types.h.
3934         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
3935         specific thread definition.
3936         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
3937         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
3938         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
3939         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
3940         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
3941         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
3942         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
3943         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
3944         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
3945         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
3946         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
3947         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
3948         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
3949         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
3950         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
3951         thread definition between POSIX and C11.
3952         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
3953         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
3954         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
3955         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
3956         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
3957         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
3958         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
3959         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
3960         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
3961         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
3962         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
3963         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
3964         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
3965         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
3966         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
3967         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
3968         definitions shared across all architectures.
3970 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3972         * sysdeps/unix/sysv/linux/kernel-features.h
3973         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
3974         (__ASSUME_SENDMMSG): Likewise.
3975         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
3976         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
3977         sendmmsg syscall if that can be assumed to be present, socketcall
3978         otherwise, with no fallback for runtime failure.
3980         * sysdeps/unix/sysv/linux/kernel-features.h
3981         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
3982         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
3983         (__ASSUME_RECVMMSG): Likewise.
3984         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
3985         recvmmsg syscall if it can be assumed to be present, socketcall
3986         otherwise, with no fallback for runtime failure.
3988 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3989             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3991         * bits/libc-header-start.h:
3992         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
3993         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
3994         * manual/creature.texi: Likewise.
3996 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3997             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3999         * math/Makefile:
4000         (type-float128-suffix): New variable
4001         (type-float128-routines): Likewise
4002         (type-float128-yes): Likewise
4003         (types): Append float128 if supported
4004         (types-basic): New variable to control the use of templates for
4005         float, double, and long double, but not for float128 or newer types.
4006         (type-basic-foreach): Likewise.
4008         * sysdeps/ieee754/float128/Makeconfig: New file.
4009         * sysdeps/ieee754/float128/Versions: New file.
4011 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4013         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
4014         Remove macro.
4015         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
4016         prlimit64 is always available and does not give an ENOSYS error.
4017         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
4018         unconditional.
4019         [!__NR_prlimit64]: Remove conditional code.
4020         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
4021         prlimit64 is always available and does not give an ENOSYS error.
4022         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
4024 2017-05-09  Zack Weinberg  <zackw@panix.com>
4026         * sunrpc/tst-xdrmem2.c: Include stdint.h.
4028 2017-05-09  Florian Weimer  <fweimer@redhat.com>
4030         [BZ #21474]
4031         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
4032         (__res_maybe_init): Likewise.
4034 2017-05-09  Zack Weinberg  <zackw@panix.com>
4036         * extra-modules.mk: Delete file.
4037         * cppflags-iterator.mk: Rename to ...
4038         * libof-iterator.mk: ...this.  Adjust comments.
4040         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
4041         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
4042         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
4043         Use libof-iterator.mk instead of cppflags-iterator.mk or
4044         extra-modules.mk.
4046         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
4047         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
4049 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4051         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4053 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
4055         * stdio-common/vfprintf.c (EXTSIZ): Define.
4056         (vfprintf): Use EXTSIZ.
4057         (printf_positional): Likewise.
4059 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
4061         * sysdeps/unix/sysv/linux/kernel-features.h
4062         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
4063         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
4064         <kernel-features.h>.
4065         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
4067         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4068         (__ASSUME_GETCPU_SYSCALL): Remove macro.
4070 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4072         Prevent multiple deletion of temporary files.
4073         * support/temp_file.c (struct temp_name_list): Add owner member.
4074         (add_temp_file): Record owner.
4075         (support_delete_temp_files): Delete file only if owner matches.
4076         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
4077         (do_prepare): Use create_temp_file instead of add_temp_file.
4078         Initialize temp_fd1, temp_fd2.
4079         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
4080         framework remove the temporary files.
4081         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
4082         (do_prepare): Use create_temp_file instead of add_temp_file.
4083         Initialize temp_fd1, temp_fd2, temp_fd3.
4084         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
4085         the test framework remove the temporary files.
4086         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
4087         deletion.
4088         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
4089         temporary directory.  It is removed by the test framework.
4090         * dirent/tst-scandir.c (do_test): Likewise.
4092 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4094         Delete temporary files in LIFO order.
4095         * support/temp_file.c (struct temp_name_list): Replace q member
4096         with next.
4097         (add_temp_file): Add new file to front of linked list.
4098         (support_delete_temp_files): Use next member.
4099         (support_print_temp_files): Likewise.
4101 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4103         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4104         sys/ultrasound.h.
4105         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
4107 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
4109         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4110         Remove.
4111         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4112         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4113         (arch_minimum_kernel): Remove.
4114         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4115         * README: Update statement about Linux kernel requirements.
4117 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4119         * manual/llio.texi: Add preadv and pwritev documentation.
4121 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
4123         [BZ #21455]
4124         * bits/stdint-intn.h: New file.
4125         * bits/stdint-uintn.h: Likewise.
4126         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
4127         bits/stdint-uintn.h.
4128         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
4129         <stdint.h>.
4130         * posix/sys/types.h: Include <bits/stdint-intn.h>.
4131         (__int8_t_defined): Do not define here.
4132         (int8_t): Likewise.
4133         (int16_t): Likewise.
4134         (int32_t): Likewise.
4135         (int64_t): Likewise.
4136         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
4137         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
4138         <stdint.h>.
4139         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
4140         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
4141         <bits/stdint-uintn.h>.
4142         (int8_t): Do not define here.
4143         (int16_t): Likewise.
4144         (int32_t): Likewise.
4145         (int64_t): Likewise.
4146         (uint8_t): Likewise.
4147         (uint16_t): Likewise.
4148         (uint32_t): Likewise.
4149         (uint64_t): Likewise.
4150         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
4151         variable.
4152         (test-xfail-XPG42/netdb.h/conform): Likewise.
4153         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
4154         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4155         (test-xfail-UNIX98/netdb.h/conform): Likewise.
4156         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4158 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4160         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
4161         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
4162         the above.
4163         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4164         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4166 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
4168         [BZ #21445]
4169         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
4171         [BZ #21457]
4172         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4173         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
4174         __glibc_reserved1.
4175         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
4176         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
4177         (struct _fpxreg): Likewise.
4178         [!__x86_64__] (struct _fpstate): Rename field reserved to
4179         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
4180         [__x86_64__] (struct _fpstate): Rename field padding to
4181         __glibc_reserved1.
4182         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
4183         Rename field reserved2 to __glibc_reserved2.
4184         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
4185         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
4186         __glibc_reserved1.
4187         [__x86_64__] (struct _libc_fpstate): Rename field padding to
4188         __glibc_reserved1.
4190 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4192         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
4193         variable name.
4195 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
4197         [BZ #21391]
4198         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
4199         Only call init_cpu_features.
4200         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
4201         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4202         * sysdeps/i386/dl-procinfo.h: Removed.
4203         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
4204         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
4205         <sysdeps/x86/dl-procinfo.h>.
4206         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
4207         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
4208         Include <sysdeps/x86/dl-procinfo.h> instead of
4209          <sysdeps/generic/dl-procinfo.h>.
4210         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
4211         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
4212         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
4213         (bit_cpu_MOVBE): Likewise.
4214         (bit_cpu_BMI1): Likewise.
4215         (bit_cpu_BMI2): Likewise.
4216         (index_cpu_BMI1): Likewise.
4217         (index_cpu_BMI2): Likewise.
4218         (index_cpu_LZCNT): Likewise.
4219         (index_cpu_MOVBE): Likewise.
4220         (index_cpu_POPCNT): Likewise.
4221         (reg_BMI1): Likewise.
4222         (reg_BMI2): Likewise.
4223         (reg_LZCNT): Likewise.
4224         (reg_MOVBE): Likewise.
4225         (reg_POPCNT): Likewise.
4226         * sysdeps/x86/dl-hwcap.h: New file.
4227         * sysdeps/x86/dl-procinfo.h: Likewise.
4228         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
4229         (_dl_x86_platforms): Likewise.
4231 2017-05-03  DJ Delorie  <dj@redhat.com>
4233         [BZ #21411]
4234         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
4236 2017-05-03  Phil Blundell  <pb@pbcl.net>
4238         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
4239         comments.
4241 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
4243         [BZ #20116]
4244         * nptl/pthread_create.c: Expand comments to describe
4245         semaphore-like and mutex-like uses of PD->lock.
4247 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4249         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
4250         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
4251         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
4252         auto-generation list.
4253         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4254         epoll_wait.
4255         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
4256         Remove epoll_wait.
4258         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
4259         osf_select.
4260         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
4261         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
4262         osf_select from auto-generation list.
4263         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4264         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4265         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
4266         * sysdeps/unix/sysv/linux/select.c: New file.
4268         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
4269         * sysdeps/unix/sysv/linux/poll.c: New file.
4270         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
4271         auto-generation list.
4273 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
4275         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
4276         New macro.
4278 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
4280         [BZ #21179]
4281         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
4282         R_SPARC_REGISTER relocations.
4284 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4286         * include/unistd.h (__pread): Add libc_hidden_proto.
4287         (__pread64): Likewise.
4288         (__pwrite): Likewise.
4289         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
4290         (__pread64): Remove.
4291         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
4292         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
4293         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
4295 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4299 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4301         * nptl/tst-cancel4-common.c: Use libsupport.
4302         * nptl/tst-cancel4-common.h: Likewise.
4303         * nptl/tst-cancel4.c (tf_read): Likewise.
4304         (tf_readv): Likewise.
4305         (tf_write): Likewise.
4306         (tf_writev): Likewise.
4307         (tf_sleep): Likewise.
4308         (tf_usleep): Likewise.
4309         (tf_nanosleep): Likewise.
4310         (tf_select): Likewise.
4311         (tf_pselect): Likewise.
4312         (tf_poll): Likewise.
4313         (tf_ppoll): Likewise.
4314         (tf_wait): Likewise.
4315         (tf_waitpid): Likewise.
4316         (tf_waitid): Likewise.
4317         (tf_sigpause): Likewise.
4318         (tf_sigsuspend): Likewise.
4319         (tf_sigwait): Likewise.
4320         (tf_sigwaitinfo): Likewise.
4321         (tf_sigtimedwait): Likewise.
4322         (tf_pause): Likewise.
4323         (tf_accept): Likewise.
4324         (tf_send): Likewise.
4325         (tf_recv): Likewise.
4326         (tf_recvfrom): Likewise.
4327         (tf_recvmsg): Likewise.
4328         (tf_open): Likewise.
4329         (tf_close): Likewise.
4330         (tf_pread): Likewise.
4331         (tf_pwrite): Likewise.
4332         (tf_preadv): Likewise.
4333         (tf_pwritev): Likewise.
4334         (tf_fsync): Likewise.
4335         (tf_fdatasync): Likewise.
4336         (tf_msync): Likewise.
4337         (tf_sendto): Likewise.
4338         (tf_sendmsg): Likewise.
4339         (tf_creat): Likewise.
4340         (tf_connect): Likewise.
4341         (tf_tcdrain): Likewise.
4342         (tf_msgrcv): Likewise.
4343         (tf_msgsnd): Likewise.
4344         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
4345         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
4347         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
4348         expected arguments.
4349         (do_test): Adapt to use libsupport.
4351 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
4353         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
4355         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
4356         (PF_MAX): Set to 44.
4357         (AF_SMC): New macro.
4359         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4360         kernel version to 4.11.
4362 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4364         [BZ #21280]
4365         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
4366         signal of subnormals and adjust the exponent of power of 2 down
4367         when low part has opposite sign.
4369 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4371         * sysdeps/powerpc/powerpc64le/Implies: New file.
4372         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
4373         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
4374         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
4375         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
4376         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
4377         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
4378         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
4379         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
4380         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
4381         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
4382         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
4383         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
4384         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
4385         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
4386         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
4387         * sysdeps/powerpc/preconfigure: New file.
4388         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
4389         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
4391 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
4393         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
4394         inclusion.
4395         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
4396         Remove.
4398 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
4400         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
4401         (XPG3): Rename standard to XPG4.
4402         * conform/Makefile: Likewise.
4403         * conform/list-header-symbols.pl: Likewise.
4404         * conform/data/aio.h-data: Likewise.
4405         * conform/data/arpa/inet.h-data: Likewise.
4406         * conform/data/complex.h-data: Likewise.
4407         * conform/data/ctype.h-data: Likewise.
4408         * conform/data/dlfcn.h-data: Likewise.
4409         * conform/data/fcntl.h-data: Likewise.
4410         * conform/data/fenv.h-data: Likewise.
4411         * conform/data/float.h-data: Likewise.
4412         * conform/data/fmtmsg.h-data: Likewise.
4413         * conform/data/ftw.h-data: Likewise.
4414         * conform/data/grp.h-data: Likewise.
4415         * conform/data/inttypes.h-data: Likewise.
4416         * conform/data/iso646.h-data: Likewise.
4417         * conform/data/langinfo.h-data: Likewise.
4418         * conform/data/libgen.h-data: Likewise.
4419         * conform/data/limits.h-data: Likewise.
4420         * conform/data/locale.h-data: Likewise.
4421         * conform/data/math.h-data: Likewise.
4422         * conform/data/mqueue.h-data: Likewise.
4423         * conform/data/ndbm.h-data: Likewise.
4424         * conform/data/net/if.h-data: Likewise.
4425         * conform/data/netdb.h-data: Likewise.
4426         * conform/data/netinet/in.h-data: Likewise.
4427         * conform/data/poll.h-data: Likewise.
4428         * conform/data/pthread.h-data: Likewise.
4429         * conform/data/pwd.h-data: Likewise.
4430         * conform/data/sched.h-data: Likewise.
4431         * conform/data/search.h-data: Likewise.
4432         * conform/data/semaphore.h-data: Likewise.
4433         * conform/data/signal.h-data: Likewise.
4434         * conform/data/spawn.h-data: Likewise.
4435         * conform/data/stdbool.h-data: Likewise.
4436         * conform/data/stdint.h-data: Likewise.
4437         * conform/data/stdio.h-data: Likewise.
4438         * conform/data/stdlib.h-data: Likewise.
4439         * conform/data/string.h-data: Likewise.
4440         * conform/data/strings.h-data: Likewise.
4441         * conform/data/stropts.h-data: Likewise.
4442         * conform/data/sys/mman.h-data: Likewise.
4443         * conform/data/sys/resource.h-data: Likewise.
4444         * conform/data/sys/select.h-data: Likewise.
4445         * conform/data/sys/socket.h-data: Likewise.
4446         * conform/data/sys/stat.h-data: Likewise.
4447         * conform/data/sys/statvfs.h-data: Likewise.
4448         * conform/data/sys/time.h-data: Likewise.
4449         * conform/data/sys/timeb.h-data: Likewise.
4450         * conform/data/sys/types.h-data: Likewise.
4451         * conform/data/sys/uio.h-data: Likewise.
4452         * conform/data/sys/un.h-data: Likewise.
4453         * conform/data/sys/wait.h-data: Likewise.
4454         * conform/data/syslog.h-data: Likewise.
4455         * conform/data/termios.h-data: Likewise.
4456         * conform/data/tgmath.h-data: Likewise.
4457         * conform/data/time.h-data: Likewise.
4458         * conform/data/ucontext.h-data: Likewise.
4459         * conform/data/unistd.h-data: Likewise.
4460         * conform/data/utmpx.h-data: Likewise.
4461         * conform/data/varargs.h-data: Likewise.
4462         * conform/data/wchar.h-data: Likewise.
4463         * conform/data/wctype.h-data: Likewise.
4465 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
4467         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
4468         version to 7 branch.
4470 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
4472         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
4473         earlyclobber to output operand of sqrt insn.
4474         (__ieee754_sqrtf): Ditto.
4476 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
4478         [BZ #21426]
4479         * misc/bits/types/struct_iovec.h: New file.
4480         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
4481         * include/bits/types/struct_iovec.h: New file.
4482         * bits/uio.h (struct iovec): Replace by inclusion of
4483         <bits/types/struct_iovec.h>.
4484         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
4485         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
4486         of <sys/uio.h>.
4487         * nptl/tst-cancel4.c: Include <sys/uio.h>
4488         * posix/test-errno.c: Likewise.
4489         * support/resolv_test.c: Likewise.
4490         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
4491         Remove.
4492         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4493         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4494         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4496         * conform/data/sys/socket.h-data (*_t): Allow.
4498 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4500         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
4501         assignment.
4503 2017-04-24  Daurnimator  <quae@daurnimator.com>
4504             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4506         [BZ #21340]
4507         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
4508         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
4509         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
4510         valid flags.
4511         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
4512         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
4513         POSIX_SPAWN_SETSID.
4514         * sysdeps/posix/spawni.c (__spawni): Likewise.
4515         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4516         * NEWS: Add note about POSIX_SPAWN_SETSID support.
4518 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4520         * sysdeps/generic/math_private.h: Move the declaration of many
4521         functions to sysdeps/generic/math_private_calls.h.
4522         * sysdeps/generic/math_private_calls.h: New file with the
4523         declarations of the functions removed from math_private.h
4524         macroized by floating-point type.
4526 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4528         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
4529         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
4530         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4531         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4532         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4533         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4535 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4537         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
4538         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
4539         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
4540         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
4541         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
4542         New Define.
4544 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4546         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
4547         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
4548         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4549         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4550         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4551         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4553 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4555         * sysdeps/s390/multiarch/ifunc-resolve.h
4556         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
4557         * sysdeps/s390/multiarch/8bit-generic.c
4558         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
4559         define ifunc resolvers.
4561 2017-04-21  Florian Weimer  <fweimer@redhat.com>
4563         [BZ #20424]
4564         * manual/memory.texi (Replacing malloc): New section.
4565         (Allocating Storage For Program Data): Reference it.
4566         (The GNU Allocator): Likewise.
4568 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
4570         * stdlib/Versions (__strtod_internal): List explicitly, not as
4571         wildcard.
4572         (__strtof_internal): Likewise.
4573         (__strtold_internal): Likewise.
4574         (__strtol_internal): Likewise.
4575         (__strtoll_internal): Likewise.
4576         (__strtoul_internal): Likewise.
4577         (__strtoull_internal): Likewise.
4578         (__strtoq_internal): Likewise.
4579         (__strtouq_internal): Likewise.
4580         * wcsmbs/Versions (__wcstod_internal): Likewise.
4581         (__wcstof_internal): Likewise.
4582         (__wcstold_internal): Likewise.
4583         (__wcstol_internal): Likewise.
4584         (__wcstoll_internal): Likewise.
4585         (__wcstoul_internal): Likewise.
4586         (__wcstoull_internal): Likewise.
4588 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4590         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
4591         struct timespec definition.
4593 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4595         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
4597 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4599         * inet/rcmd.c (rresvport_af): Fix typo in comment.
4600         * inet/rexec.c (rexec_af): Likewise.
4602 2017-04-19  Zack Weinberg  <zackw@panix.com>
4604         * posix/tst-mmap-offset.c: Include stdint.h.
4605         * resolv/tst-ns_name_compress.c: Include string.h.
4606         * resolv/tst-resolv-edns.c: Include resolv.h.
4608 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4610         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
4611         with __glibc_likely.
4612         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
4613         Replace __builtin_expect with __glibc_unlikely.
4614         * resolv/res_init.c (__res_vinit): Likewise.
4615         * resolv/res_query.c (__libc_res_nquery): Likewise.
4616         * resolv/res_send.c (__libc_res_nsend): Likewise.
4618 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4620         [BZ #15722]
4621         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
4622         with SOCK_CLOEXEC.
4623         * resolv/res_send.c (send_vc, reopen): Likewise.
4624         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
4625         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
4626         Likewise.
4627         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
4628         * inet/rexec.c (rexec_af): Add comment.
4629         * inet/rcmd.c (rresvport_af): Likewise.
4631 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4633         * nscd/connections.c (have_accept4): Removed definition.
4634         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
4635         accept4 works.
4636         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
4637         ia64 because that was the first version with accept4 support.
4638         * support/Makefile (libsupport-routines): Add xaccept4.
4639         * support/xsocket.h (xaccept4): Declare.
4640         * support/xaccept4.c: New file.
4641         * socket/tst-accept4.c: New file.
4642         * socket/Makefile (tests): Add tst-accept4.
4643         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
4644         definition.
4645         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
4646         comment.
4647         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
4648         implementation is available.
4649         (accept4): Use the system call if available, otherwise use the
4650         socket call.
4651         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
4652         Set to 3.2.18.
4653         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4654         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
4655         accept4 is unconditionally available in later 3.2 stable kernels.
4656         (__ASSUME_ACCEPT4_SYSCALL): Define.
4657         * sysdeps/unix/sysv/linux/kernel-features.h
4658         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
4659         definitions.
4660         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4661         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
4663 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
4665         * conform/Makefile (tests-special): Do not make addition of
4666         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
4667         (generated): Do not make addition of $(conformtest-header-base)
4668         conditional on [$(cross-compiling) = no].
4670         [BZ #21267]
4671         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
4672         if defined by <asm/socket.h> and not previously defined.
4673         (IOCSIZE_SHIFT): Likewise.
4674         (IOC_IN): Likewise.
4675         (IOC_INOUT): Likewise.
4676         (IOC_OUT): Likewise.
4678 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4680         [BZ #21396]
4681         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4682         Prefer_No_AVX512 if AVX512ER isn't available.
4683         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
4684         (index_arch_Prefer_No_AVX512): Likewise.
4685         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
4686         AVX512 version if Prefer_No_AVX512 is set.
4687         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
4688         Likewise.
4689         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
4690         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
4691         Likewise.
4692         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4693         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
4694         Likewise.
4695         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
4696         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
4697         Likewise.
4699 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4701         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4702         Prefer_No_VZEROUPPER if AVX512ER is available.
4703         * sysdeps/x86/cpu-features.h
4704         (bit_cpu_AVX512PF): New.
4705         (bit_cpu_AVX512ER): Likewise.
4706         (bit_cpu_AVX512CD): Likewise.
4707         (bit_cpu_AVX512BW): Likewise.
4708         (bit_cpu_AVX512VL): Likewise.
4709         (index_cpu_AVX512PF): Likewise.
4710         (index_cpu_AVX512ER): Likewise.
4711         (index_cpu_AVX512CD): Likewise.
4712         (index_cpu_AVX512BW): Likewise.
4713         (index_cpu_AVX512VL): Likewise.
4714         (reg_AVX512PF): Likewise.
4715         (reg_AVX512ER): Likewise.
4716         (reg_AVX512CD): Likewise.
4717         (reg_AVX512BW): Likewise.
4718         (reg_AVX512VL): Likewise.
4720 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4722         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
4723         O_CLOEXEC is defined.
4724         * include/fcntl.h (__have_o_cloexec): Remove declaration.
4725         * io/Makefile (aux): Remove.
4726         * io/have_o_cloexec.c: Remove file.
4727         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
4728         defined and works.
4729         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
4730         defined.
4731         * login/utmp_file.c (O_flags): Remove definition.
4732         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
4733         O_CLOEXEC works.
4734         (pututline_file): Likewise.
4735         * malloc/mtrace.c: Assume that O_CLOEXEC works.
4736         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
4737         definition.
4738         (internal_setgrent): Assume that O_CLOEXEC works.
4739         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
4740         Remove definition.
4741         (internal_setgrent): Assume that O_CLOEXEC works.
4742         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
4743         definition.
4744         (internal_setpwent): Assume that O_CLOEXEC works.
4745         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
4746         definition.
4747         (internal_setspent): Assume that O_CLOEXEC works.
4748         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
4749         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
4750         O_CLOEXEC is defined and works.
4751         * nss/Makefile (libnss_files-routines): Remove
4752         files-have_o_cloexec.
4753         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
4754         defined.
4755         * nss/nss_files/files-XXX.c (internal_setent): Assume that
4756         O_CLOEXEC is defined and works.
4757         * nss/nss_files/files-alias.c (internal_setent): Likewise.
4758         * nss/nss_files/files-have_o_cloexec.c: Remove.
4759         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
4760         defined.
4761         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
4762         and works.
4763         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
4764         definition.
4765         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
4766         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
4767         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
4768         (__opendirat, __opendir): Adjust opendir_oflags call.
4769         (check_have_o_cloexec): Remove.
4770         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
4771         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
4772         defined.
4773         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
4774         Remove definition.
4776 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4778         * include/unistd.h (__have_dup3): Remove declaration.
4779         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
4780         dup3 is available.
4781         * libio/freopen64.c (freopen64): Likewise.
4782         * socket/Makefile (aux): Remove have_sock_cloexec.
4783         * socket/have_sock_cloexec.c: Remove file.
4784         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
4785         definition.
4786         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
4787         Likewise.
4788         * sysdeps/nacl/kernel-features.h: Update comment.
4790 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4792         * include/unistd.h (__have_pipe2): Remove declaration.
4793         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
4794         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
4795         available.
4796         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
4797         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
4798         Remove definition.
4800 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4802         * malloc/malloc.c (cfree): Turn into compat symbol.
4803         (__cfree): Remove alias.
4804         * stdlib/stdlib.h (cfree): Remove declaration.
4805         * malloc/malloc.h (cfree): Likewise.
4806         * manual/memory.texi (Freeing after Malloc): Remove cfree.
4807         * malloc/Versions (GLIBC_2.26): Add.
4809 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4811         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4812         (sysdep_routines): Add strrchr-power8.
4813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4814         (strrchr): Add __strrchr_power8 to list of strrchr functions.
4815         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
4816         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
4817         (strrchr): Add __strrchr_power8 to ifunc list.
4818         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
4820 2017-04-17  Rabin Vincent  <rabinv@axis.com>
4822         [BZ #21357]
4823         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
4824         Call free() outside of mutex.
4826 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4828         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
4829         is defined.
4830         * elf/rtld.c (process_envvars): Likewise.
4831         * sysdeps/posix/shm_open.c (shm_open): Likewise.
4832         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
4833         O_NOFOLLOW directly.
4834         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
4836 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4838         [BZ #21369]
4839         Remove EDNS fallback.
4840         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
4841         handling.
4842         * resolv/res_send.c (send_dg): Likewise.
4843         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
4844         "tcp." prefixes.
4845         (do_test): Send a "formerr."-prefixed query in an attempt to
4846         trigger EDNS fallback.
4848 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4850         [BZ #21361]
4851         Limit EDNS buffer size to 1200 bytes.
4852         * include/resolv.h (__res_nopt): Remove declaration.
4853         * resolv/Makefile (tests): tst-resolv-edns.
4854         (tst-resolv-edns): Link with -lresolv, -lpthread.
4855         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
4856         interval [512, 1200].
4857         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
4858         we can resize the buffer.
4859         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
4860         (__res_nopt): Declare.
4861         * resolv/tst-resolv-edns.c: New file.
4862         * resolv/resolv_test.h (struct resolv_edns_info): Define.
4863         (struct resolv_response_context): Add edns member.
4864         * resolv/resolv_test.c (struct query_info): Add edns member.
4865         (parse_query): Extract EDNS information from the query.
4866         (server_thread_udp_process_one): Propagate EDNS data.
4867         (server_thread_tcp_client): Likewise.
4869 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4871         [BZ #21359]
4872         * resolv/ns_name.c (ns_name_pack): Do not require an additional
4873         byte in the destination buffer.  Avoid out-of-bounds pointer
4874         arithmetic.
4875         * resolv/Makefile (tests): Add tst-ns_name_compress.
4876         (tst-ns_name_compress): Link with -lresolv.
4877         * resolv/tst-ns_name_compress.c: New file.
4878         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
4879         (response): Recognize LONG_NAME.
4880         (do_test): Add LONG_NAME tests.
4881         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
4882         for ns_name_unpack.  Add tests for ns_name_pton and
4883         ns_name_compress.
4885 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4887         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
4888         (res_nisourserver): Remove definition.
4889         (p_section, res_npquery, res_nisourserver): Remove declaration.
4890         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
4891         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
4892         ... here.
4893         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
4894         <resolv.h>.
4895         * resolv/res_query.c: Likewise.
4896         * resolv/res_debug.c (p_section): Define as static.
4898 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4900         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
4901         strncat-power8.
4902         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
4903         __strncat_power8 to ifunc list.
4904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4905         (strncat): Add __strncat_power8 to list of strncat functions.
4906         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
4908 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4910         [BZ #21270]
4911         * posix/tst-mmap-offset.c (do_prepare): New function.
4912         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
4913         (do_test_bz21270): New function.
4914         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
4915         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
4916         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
4917         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
4918         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
4919         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4920         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
4921         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
4922         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
4923         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
4924         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
4925         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4926         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4927         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4928         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
4929         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
4930         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4931         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
4932         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
4933         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
4934         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
4935         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
4936         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
4937         from auto-generation list.
4938         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
4939         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4940         * sysdeps/unix/sysv/linux/mmap.c: New file.
4941         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
4942         offsets and support for mmap2 syscall.
4944         * posix/globtest.sh: Add cleanup routine on trap 0.
4946 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4948         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
4949         implementation-specific function name and remove unneeded
4950         macros definition.
4951         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
4952         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
4953         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
4954         name if not defined and pass as parameter to macros accordingly.
4955         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4956         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
4958         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
4959         implementation-specific function name and remove unneeded
4960         macros definition.
4961         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
4962         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
4963         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
4964         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
4965         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4966         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
4967         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
4968         name if not defined and pass as parameter to macros accordingly.
4969         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4970         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4971         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4972         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4973         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4974         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
4976         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
4977         implementation-specific function name and remove unneeded macros
4978         definition.
4979         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
4980         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
4981         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
4982         function name if not defined and pass as parameter to macros
4983         accordingly.
4984         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4985         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
4987         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
4988         implementation-specific function name and remove unneeded macros
4989         definition.
4990         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4991         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4992         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
4993         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4994         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
4995         not defined and pass as parameter to macros accordingly.
4996         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4997         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4998         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4999         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
5001         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
5002         strcasestr implementation name and remove unneeded macros definition.
5003         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
5004         strstr implementation name and remove unneeded macros definition.
5005         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
5006         name if not defined and pass as parameter to macros accordingly.
5007         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
5009         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
5010         implementation-specific function name and remove unneeded macros
5011         definition.
5012         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
5013         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
5014         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
5015         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
5016         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
5017         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
5018         function name if not defined and pass as parameter to macros
5019         accordingly.
5020         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
5021         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
5022         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
5023         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
5025         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
5026         the strlen implementation name and remove unneeded macros definition.
5027         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
5028         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5029         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
5030         the strnlen implementation name and remove unneeded macros definition.
5031         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
5032         name if not defined and pass as parameter to macros accordingly.
5033         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
5034         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
5035         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5037         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
5038         the implementation-specific function name and remove unneeded
5039         macros definition.
5040         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
5041         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
5042         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5043         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5044         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
5045         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
5046         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5047         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5048         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5049         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
5050         name if not defined and pass as parameter to macros accordingly.
5051         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
5052         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5053         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
5054         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
5055         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5056         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
5057         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
5058         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5060         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
5061         implementation-specific function name and remove unneeded macros
5062         definition.
5063         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
5064         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
5065         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
5066         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
5067         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
5068         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
5069         function name if not defined.
5070         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
5071         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
5073 2017-04-11  Paul Clarke  <pc@us.ibm.com>
5075         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
5076         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
5077         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
5078         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
5080 2017-04-11  Florian Weimer  <fweimer@redhat.com>
5081             Zack Weinberg  <zackw@panix.com>
5083         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
5084         readdir64 as thread-safe.  Update warning about readdir_r.
5086 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5088         * sysdeps/unix/sysv/linux/x86/Implies: New file.
5089         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
5090         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
5091         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
5092         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
5093         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
5094         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5096 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
5098         * sysdeps/i386/dl-procinfo.c: Include
5099         <sysdeps/x86/dl-procinfo.c>.
5100         * sysdeps/x86_64/dl-procinfo.c: Likewise.
5101         * sysdeps/x86/dl-procinfo.c: New file.
5103 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5105         * sysdeps/generic/math_private.h: Remove declarations of
5106         many functions that are already declared in math.h.
5107         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
5108         declaration for __frexpl.
5109         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
5110         the declarations for __scalbnl and fabsl.
5112 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
5114         [BZ #20831]
5115         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
5116         of __mprotect to change protection on the excess portion
5117         to disallow all access.
5119 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
5121         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
5122         HAS_CPU_FEATURE to check for SSE.
5123         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5124         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
5125         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
5126         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
5127         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
5128         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
5129         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
5130         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
5131         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5132         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
5133         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5134         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
5135         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
5136         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
5137         (index_cpu_SSE): Likewise.
5138         (reg_SSE): Likewise.
5140 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
5142         * posix/getopt1.c: Include <config.h>, not "config.h".
5144 2017-04-07  Zack Weinberg  <zackw@panix.com>
5146         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
5147         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
5148         Mention in top-of-file boilerplate that these files are shared
5149         with gnulib.
5150         * posix/getopt.h, posix/bits/getopt_posix.h:
5151         Mention in top-of-file boilerplate that these files are NOT shared
5152         with gnulib, unlike the rest of the getopt implementation.
5154         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
5155         New files, intended to be shared with gnulib.
5156         * posix/bits/getopt_posix.h:
5157         New file, not intended to be shared with gnulib.
5158         * posix/getopt.h: Now just includes features.h,
5159         bits/getopt_core.h, and bits/getopt_ext.h.  Will
5160         no longer be shared with gnulib.
5161         * include/bits/getopt_core.h, include/bits/getopt_ext.h
5162         * include/bits/getopt_posix.h: New wrappers.
5163         * posix/Makefile: Install new headers.
5164         * posix/unistd.h, libio/stdio.h:
5165         Include bits/getopt_posix.h instead of getopt.h.
5167         * include/libc-symbols.h: For gnulib compatibility, define
5168         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
5169         _GL_ATTRIBUTE_CONST.
5170         * posix/getopt.c (_getopt_initialize): Mark argc and argv
5171         parameters with _GL_UNUSED.
5173         * posix/getopt.c: When used standalone, define __libc_use_alloca
5174         as always false and alloca to abort if called.
5175         (process_long_option): Rewrite handling of ambiguous long options
5176         to use a single boolean vector, not a linked list; use
5177         __libc_use_alloca to decide whether to allocate this using alloca.
5178         * posix/tst-getopt_long1.c: Adjust text of expected error message.
5180         * posix/getopt.c (process_long_option): New function split out
5181         from _getopt_internal_r.
5182         (_getopt_internal_r): Replace both copies of the long-option
5183         processing code with calls to process_long_option.
5184         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
5185         (do_test): Differentiate argv[0] in the two subtests.
5187         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
5188         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
5189         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
5191         * posix/getopt.h: Add backup definition of __nonnull for
5192         consistency with gnulib.  Define __getopt_argv_const to const
5193         if not already defined.
5194         (getopt): Update doc comment from gnulib.  Prototype
5195         unconditionally.  Add __nonnull annotation.
5196         (__posix_getopt): Add __nonnull annotation.
5197         (getopt_long, getopt_long_only): Use __getopt_argv_const in
5198         prototypes for consistency with gnulib.  Add __nonnull
5199         annotations.
5200         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
5201         (getopt_internal): Change 'argv' argument to type 'char **'.
5202         Remove now-unnecessary casts.
5203         (getopt, __posix_getopt): Eliminate repetition with a macro.
5204         Cast 'argv' to 'char **' when calling _getopt_internal.
5205         * posix/getopt1.c (getopt_long, getopt_long_only):
5206         Use __getopt_argv_const for consistency with gnulib.
5207         Cast 'argv' to 'char **' when calling _getopt_internal.
5208         (_getopt_long_r, _getopt_long_only_r):
5209         Change 'argv' argument to type 'char **'.
5210         (main): Constify 'long_options'.
5211         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
5212         (_getopt_long_r, _getopt_long_only_r):
5213         Change 'argv' argument to type 'char **'.
5215         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
5216         (locked_vfxprintf): New helper function. Handle arbitrary
5217         multibyte strings, not just ASCII.
5218         * include/stdio.h: Declare __fxprintf_nocancel.
5219         * posix/getopt.c: When _LIBC is defined, define fprintf to
5220         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
5221         to _IO_funlockfile.  When neither _LIBC nor
5222         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
5223         funlockfile as no-ops.
5224         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
5225         the standalone error-printing code can now be used for libc as
5226         well.  Add an flockfile/funlockfile pair around one case where
5227         the error message is printed in several chunks.  Don't use fputc.
5228         * posix/tst-getopt-cancel.c: New test.
5229         * posix/Makefile: Run it.
5231         * posix/getopt.c (_getopt_internal_r): Don't increment
5232         d->optind a second time when reporting ambiguous -W options.
5234         * posix/getopt_int.h: Include getopt.h.
5235         Use impl-namespace names for all arguments to _getopt_internal and
5236         _getopt_internal_r.
5237         Declare __ordering enum outside the struct.
5238         Harmonize comments with gnulib.
5239         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
5240         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
5241         #ifdef TEST block and make unconditional.  Do not define NULL.
5242         * posix/getopt.c: Partial merge from gnulib, covering the
5243         initial includes and global declarations, commentary, and
5244         a couple of semantically-neutral code changes.
5246         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
5247         Use '...' instead of `...' for quotation marks inside
5248         comments and strings.
5250         * config.h.in (USE_NONOPTION_FLAGS): Remove.
5251         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
5252         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5253         * posix/getopt_int.h: Likewise.
5254         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
5255         __libc_argc and __libc_argv externs, which were only used by
5256         #ifdef USE_NONOPTION_FLAGS blocks.
5257         * posix/getopt_init.c: Remove file.
5258         * posix/Makefile (routines): Remove getopt_init.
5259         * include/getopt.h: Don't declare __getopt_initialize_environment.
5260         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
5261         a comment.
5263 2017-04-07  Florian Weimer  <fweimer@redhat.com>
5265         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
5267 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5269         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
5270         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
5271         to __wrap_.udiv.
5272         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
5273         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
5275         * sysdeps/i386/symbol-hacks.h: New file.
5276         * sysdeps/m68k/symbol-hacks.h: New file.
5277         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
5278         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
5279         * sysdeps/unix/sysv/linux/i386/Makefile
5280         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
5281         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5282         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5283         * sysdeps/unix/sysv/linux/m68k/Makefile
5284         [$(subdir) = csu] (sysdep_routines): Likewise.
5285         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5286         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5288         [$(subdir) = csu] (sysdep_routines): Likewise.
5289         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5290         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5291         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5292         [$(subdir) = csu] (sysdep_routines): Likewise.
5293         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5294         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5295         * sysdeps/wordsize-32/Makefile: Remove file.
5296         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
5297         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
5299 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
5301         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
5302         (TEST_FUNCTION_ARGV): New.
5304 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5306         * elf/next.c: Import support/test-driver.c instead of
5307         test-skeleton.c and delete TEST_FUNCTION macro definition.
5308         * elf/nodelete.c: Likewise.
5309         * elf/order2.c: Likewise.
5310         * elf/tst-_dl_addr_inside_object.c: Likewise.
5311         * elf/tst-addr1.c: Likewise.
5312         * elf/tst-align.c: Likewise.
5313         * elf/tst-align2.c: Likewise.
5314         * elf/tst-audit11.c: Likewise.
5315         * elf/tst-audit12.c: Likewise.
5316         * elf/tst-audit2.c: Likewise.
5317         * elf/tst-audit9.c: Likewise.
5318         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
5319         * elf/tst-deep1.c: Likewise.
5320         * elf/tst-dl-iter-static.c: Likewise.
5321         * elf/tst-dlmodcount.c: Likewise.
5322         * elf/tst-dlmopen1.c: Likewise.
5323         * elf/tst-dlmopen2.c: Likewise.
5324         * elf/tst-dlmopen3.c: Likewise.
5325         * elf/tst-dlopen-aout.c: Likewise.
5326         * elf/tst-dlopenrpath.c: Likewise.
5327         * elf/tst-dlsym-error.c: Likewise.
5328         * elf/tst-execstack-needed.c: Likewise.
5329         * elf/tst-execstack-prog.c: Likewise.
5330         * elf/tst-execstack.c: Likewise.
5331         * elf/tst-global1.c: Likewise.
5332         * elf/tst-gnu2-tls1.c: Likewise.
5333         * elf/tst-latepthread.c: Likewise.
5334         * elf/tst-leaks1.c: Likewise.
5335         * elf/tst-linkall-static.c: Likewise.
5336         (do_test): New function.
5337         * elf/tst-nodelete-opened.c: Likewise.
5338         * elf/tst-nodelete.cc: Likewise.
5339         * elf/tst-nodelete2.c: Likewise.
5340         * elf/tst-noload.c: Likewise.
5341         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
5342         * elf/tst-order-main.c: Likewise.
5343         * elf/tst-pathopt.c: Likewise.
5344         * elf/tst-pie2.c: Likewise.
5345         * elf/tst-piemod1.c: Likewise.
5346         * elf/tst-prelink.c: Likewise.
5347         * elf/tst-protected1a.c: Likewise.
5348         * elf/tst-protected1b.c: Likewise.
5349         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
5350         and define _GNU_SOURCE macro.
5351         (cmdline_process_function): New function.
5352         * elf/tst-relsort1.c: Likewise.
5353         * elf/tst-stackguard1.c: Likewise, import getopt.h,
5354         and define _GNU_SOURCE macro.
5355         (cmdline_process_function): New function.
5356         * elf/tst-thrlock.c: Likewise.
5357         * elf/tst-tls-dlinfo.c: Likewise.
5358         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
5359         * elf/tst-tls1.c: Likewise.
5360         * elf/tst-tls10.c: Likewise.
5361         * elf/tst-tls11.c: Likewise.
5362         * elf/tst-tls12.c: Likewise.
5363         * elf/tst-tls13.c: Likewise.
5364         * elf/tst-tls14.c: Likewise.
5365         * elf/tst-tls15.c: Likewise.
5366         * elf/tst-tls16.c: Likewise.
5367         * elf/tst-tls17.c: Likewise.
5368         * elf/tst-tls18.c: Likewise.
5369         * elf/tst-tls19.c: Likewise.
5370         * elf/tst-tls2.c: Likewise.
5371         * elf/tst-tls3.c: Likewise.
5372         * elf/tst-tls4.c: Likewise.
5373         * elf/tst-tls5.c: Likewise.
5374         * elf/tst-tls6.c: Likewise.
5375         * elf/tst-tls7.c: Likewise.
5376         * elf/tst-tls8.c: Likewise.
5377         * elf/tst-tls9.c: Likewise.
5378         * elf/tst-tlsalign-extern.c: Likewise.
5379         * elf/tst-tlsalign.c: Likewise.
5380         * elf/tst-unique1.c: Likewise.
5381         * elf/tst-unique2.c: Likewise.
5382         * elf/vismain.c: Likewise.
5384 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5386         * string/test-strnlen.c (do_page_tests): New function
5387         to check length of strings ending at the page boundary.
5388         (test_main): Added call to the do_page_tests function.
5390 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5391             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5393         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5394         (sysdep_routines): Add strnlen-power8.
5395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5396         (strnlen): Add __strnlen_power8 to list of strnlen functions.
5397         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
5398         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
5399         (__strnlen): Add __strnlen_power8 to ifunc list.
5400         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
5402 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5404         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
5405         the TEST_FUNCTION macro definition.
5406         * wcsmbs/tst-mbrtowc2.c: Likewise.
5407         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5408         * wcsmbs/tst-wchar-h.c: Likewise.
5409         * wcsmbs/tst-wcpncpy.c: Likewise.
5410         * wcsmbs/tst-wcrtomb.c: Likewise.
5411         * wcsmbs/tst-wcsnlen.c: Likewise.
5412         * wcsmbs/tst-wcstof.c: Likewise.
5414 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5416         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
5417         CALL_THREAD_FCT macro usage.
5418         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
5419         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
5420         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
5422         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
5423         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5424         (__ASSUME_REQUEUE_PI): Likewise.
5425         * sysdeps/unix/sysv/linux/kernel-features.h
5426         (__ASSUME_REQUEUE_PI): Likewise.
5427         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5428         (__ASSUME_REQUEUE_PI): Likewise.
5429         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5430         (__ASSUME_REQUEUE_PI): Likewise.
5431         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5432         (__ASSUME_REQUEUE_PI): Likewise.
5434 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5436         * resolv/tst-resolv-canonname.c: New file.
5437         * resolv/Makefile (tests): Add tst-resolv-canonname.
5438         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
5440 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5442         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
5443         Declare.
5444         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
5445         (NS_MAXCDNAME): Remove definition.
5446         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5447         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
5448         (NS_MAXCDNAME): Remove definition.
5449         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5451 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5453         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
5454         call whose result is not used.
5456 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5458         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
5459         * resolv/Makefile (tests): Add tst-ns_name.
5460         (tst-ns_name): Link with -lresolv.
5461         (tst-ns_name.out): Depend on the input data file.
5463 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
5465         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
5466         Clobber also r14.
5468 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
5470         [BZ #21253]
5471         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
5472         slack space by 32KiB.
5474 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
5476         [BZ #21338]
5477         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
5478         instead of incorrect do_set_arena_test
5480 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5482         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
5483         * math/bits/math-finite.h: Likewise.
5485 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
5487         [BZ #21289]
5488         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
5490 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5492         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
5493         non expected inotify_add_watch and quotactl return.
5495 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5497         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
5498         to int32_t.
5499         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
5500         as returning int32_t.
5502 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5504         * math/math.h: Include bits/math-finite.h once per
5505         floating-point type.
5506         * math/bits/math-finite.h: Macroize all declarations by
5507         floating-point type.
5509 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5511         [BZ #21182]
5512         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
5513         near end of a page.
5514         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
5515         overflow calculation.
5517 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
5519         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
5520         (IMPL) Call with 1 instead of 0 as argument.
5522 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5524         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5525         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5526         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5527         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5528         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5529         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5530         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5531         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5532         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5533         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5534         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5535         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5536         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5537         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5538         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5539         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5540         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5541         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5542         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5543         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5544         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5545         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5546         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5547         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5548         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5549         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5550         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5551         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5552         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5553         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5554         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5555         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5556         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5557         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5558         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5559         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5560         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5561         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5562         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5563         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5564         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5565         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5566         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5567         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5568         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5569         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5570         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5571         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5572         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5573         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5574         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5575         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5576         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5577         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5578         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5579         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5580         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5581         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5582         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5583         defined.
5584         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5585         __NR_setgroups32 if defined.
5586         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5587         if defined.
5588         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5589         __NR_setresgid32 is defined.
5590         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5591         __NR_setresuid32 if defined.
5592         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5593         __NR_setreuid32 if defined.
5594         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5595         defined.
5596         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5597         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5598         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5599         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5600         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5601         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5602         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5603         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5604         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5605         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5606         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5607         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5608         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5609         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5610         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5611         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5612         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5613         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5614         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5615         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5616         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5617         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5618         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5619         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5620         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5621         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5622         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5623         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5624         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5625         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5626         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5627         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5628         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5629         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5630         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5631         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5632         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5633         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5634         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5635         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5636         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5637         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5638         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5639         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5640         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5641         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5642         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5643         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5644         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5645         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5646         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5647         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5648         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5649         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5650         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5651         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5652         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5653         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5654         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5655         defined.
5656         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5657         __NR_setgroups32 if defined.
5658         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5659         if defined.
5660         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5661         __NR_setresgid32 is defined.
5662         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5663         __NR_setresuid32 if defined.
5664         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5665         __NR_setreuid32 if defined.
5666         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5667         defined.
5669 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
5671         [BZ #21277]
5672         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
5673         unconditionally.
5674         (IMAXBEL): Likewise.
5675         (IUTF8): Likewise.
5677 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5679         * sysdeps/aarch64/libm-test-ulps: Update.
5681 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
5683         * README.tunables: Updated descriptions.
5684         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
5685         * scripts/gen-tunables.awk: Updated the code related to the
5686         commit.
5688 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
5690         * benchtests/Makefile (string-benchset): Add memcpy-random.
5691         * benchtests/bench-memcpy-random.c: New file.
5693 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5695         * stdio-common/printf.h (register_printf_modifier): Change the
5696         order of __wur and __THROW.
5697         (register_printf_type): Likewise.
5699 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5701         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
5702         test_main ().
5703         (CMDLINE_PROCESS): Use function instead of defined macro.
5704         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
5705         <suppport/support.h> to use set_fortify_handler().
5706         * string/bug-envz1.c: Import support/test-driver.c instead of
5707         test-skeleton.c.
5708         * string/bug-strcoll2.c: Likewise.
5709         * string/bug-strtok1.c: Likewise.
5710         * string/stratcliff.c: Likewise.
5711         * string/test-ffs.c: Likewise.
5712         * string/test-memccpy.c: Likewise.
5713         * string/test-memchr.c: Likewise.
5714         * string/test-memcmp.c: Likewise.
5715         * string/test-memcpy.c: Likewise.
5716         * string/test-memmem.c: Likewise.
5717         * string/test-memmove.c: Likewise.
5718         * string/test-memrchr.c: Likewise.
5719         * string/test-memset.c: Likewise.
5720         * string/test-rawmemchr.c: Likewise.
5721         * string/test-strcasecmp.c: Likewise.
5722         * string/test-strcasestr.c: Likewise.
5723         * string/test-strcat.c: Likewise.
5724         * string/test-strchr.c: Likewise.
5725         * string/test-strcmp.c: Likewise.
5726         * string/test-strcpy.c: Likewise.
5727         * string/test-string.h: Likewise.
5728         * string/test-strlen.c: Likewise.
5729         * string/test-strncasecmp.c: Likewise.
5730         * string/test-strncat.c: Likewise.
5731         * string/test-strncmp.c: Likewise.
5732         * string/test-strncpy.c: Likewise.
5733         * string/test-strnlen.c: Likewise.
5734         * string/test-strpbrk.c: Likewise.
5735         * string/test-strrchr.c: Likewise.
5736         * string/test-strspn.c: Likewise.
5737         * string/test-strstr.c: Likewise.
5738         * string/tst-bswap.c: Likewise.
5739         * string/tst-cmp.c: Likewise.
5740         * string/tst-endian.c: Likewise.
5741         * string/tst-inlcall.c: Likewise.
5742         * string/tst-strcoll-overflow.c: Likewise.
5743         * string/tst-strfry.c: Likewise.
5744         * string/tst-strlen.c: Likewise.
5745         * string/tst-strtok.c: Likewise.
5746         * string/tst-strtok_r.c: Likewise.
5747         * string/tst-strxfrm.c: Likewise.
5748         * string/tst-strxfrm2.c: Likewise.
5749         * string/tst-svc.c: Likewise.
5750         * string/tst-svc2.c: Likewise.
5752 2017-03-22  Zack Weinberg  <zackw@panix.com>
5754         * stdio-common/bug25.c: Include stdlib.h.
5755         * support/tst-support_format_dns_packet.c: Include stdio.h,
5756         stdlib.h, and string.h.
5757         * support/tst-support_record_failure.c: Include string.h.
5758         * support/tst-support_record_failure-2.sh: Adjust line number
5759         expectations and correct a typo in an error message.
5761 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5763         [BZ #21258]
5764         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
5765         Define only if _dl_runtime_resolve is defined to
5766         _dl_runtime_resolve_sse_vex.
5767         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
5768         Fallthrough to _dl_runtime_resolve_sse_vex.
5770 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
5772         * INSTALL: Regenerated.
5774 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
5776         * config.h.in: Add LINK_OBSOLETE_NSL.
5777         * config.make.in: Add build-obsolete-nsl.
5778         * configure.ac: Add obsolete-nsl option.
5779         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
5780         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
5781         * include/rpcsvc/nislib.h: Likewise.
5782         * include/rpcsvc/ypclnt.h: Likewise.
5783         * manual/install.texi: Document --enable-obsolete-nsl.
5784         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
5785         * nis/nis_add.c: Replace libnsl_hidden_def with
5786         libnsl_hidden_nolink_def.
5787         * nis/nis_addmember.c: Likewise.
5788         * nis/nis_call.c: Likewise.
5789         * nis/nis_clone_obj.c: Likewise.
5790         * nis/nis_defaults.c: Likeise.
5791         * nis/nis_domain_of_r.c: Likewise.
5792         * nis/nis_error.c: Likewise.
5793         * nis/nis_file.c: Likewise.
5794         * nis/nis_free.c: Likewise.
5795         * nis_local_names.c: Likewise.
5796         * nis/nis_lookup.c: Likewise.
5797         * nis/nis_modify.c: Likewise.
5798         * nis/nis_print.c: Likewise.
5799         * nis/nis_remove.c: Likewise.
5800         * nis/nis_table.c: Likewise.
5801         * nis/nis_util.c: Likewise.
5802         * nis/nis_xdr.c: Likewise.
5803         * nis/yp_xdr.c: Likewise.
5804         * nis/ypclnt.c: Likewise.
5805         * nis/ypupdate_xdr.c: Likewise.
5806         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
5807         * nis/nis_clone_dir.c: Likewise.
5808         * nis/nis_clone_res.c: Likewise.
5809         * nis/nis_creategroup.c: Likewise.
5810         * nis/nis_destroygroup.c: Likewise.
5811         * nis/nis_domain_of.c: Likewise.
5812         * nis/nis_getservlist.c: Likewise.
5813         * nis/nis_ismember.c: Likewise.
5814         * nis/nis_mkdir.c: Likewise.
5815         * nis/nis_ping.c: Likewise.
5816         * nis/nis_print_group_entry.c: Likewise.
5817         * nis/nis_removemember.c: Likewise.
5818         * nis/nis_rmdir.c: Likewise.
5819         * nis/nis_server.c: Likewise.
5820         * nis/nis_subr.c: Likewise.
5821         * nis/nis_verifygroup.c: Likewise.
5823 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5825         * malloc/tst-interpose-aux.c (check_for_allocations):
5826         Move compiler barrier before free.
5828 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
5830         [BZ #21279]
5831         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5832         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5833         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
5834         x86_64-x32-linux.
5835         (mq_attr.mq_maxmsg): Likewise.
5836         (mq_attr.mq_msgsize): Likewise.
5837         (mq_attr.mq_curmsgs): Likewise.
5839         [BZ #21278]
5840         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
5841         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5842         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
5843         mips-o32-linux.
5845         [BZ #21268]
5846         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
5847         if [__USE_MISC]
5848         (NL3): Likewise.
5850 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
5852         [BZ #21275]
5853         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
5854         __stack to __stackbase.
5855         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
5856         checks so we can include defined(__ia64__) first.
5858 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
5860         * sysdeps/unix/sysv/linux/ttyname.h: New file.
5861         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
5862         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
5863         Call is_pty when the link does not exist or does not match, fail
5864         with ENODEV when it returns true.
5865         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
5866         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
5867         Call is_pty when the link does not exist or does not match, fail
5868         with ENODEV when it returns true.
5870 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
5872         [BZ #16437]
5873         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5874         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5875         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
5876         x86_64-x32-linux.
5877         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
5878         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
5879         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
5881         [BZ #21261]
5882         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
5883         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
5884         names for all fields.
5885         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
5886         for jmp_buf field renaming.
5887         (_JMPBUF_UNWINDS_ADJ): Likewise.
5889         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
5890         with allow-header.
5892 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
5894         * malloc/malloc.c (unlink): Add consistency check between size and
5895         next->prev->size, to further harden against 1-byte overflows.
5897 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
5899         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
5900         CPU_FEATURES_CPU_P.
5902 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
5904         [BZ #21259]
5905         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
5906         unconditionally, not just for [__USE_MISC].
5908         [BZ #17786]
5909         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
5910         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
5911         mips-o32-linux.
5913         [BZ #21260]
5914         * sysdeps/unix/sysv/linux/alpha/Makefile
5915         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5916         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
5918         * conform/conformtest.pl ($cross): New variable.
5919         (--cross): New command-line option.
5920         (runtest): Skip test execution when cross-compiling.
5921         * conform/Makefile (conformtest-cross): New variable.
5922         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
5923         conformtest.pl.
5925         * conform/conformtest.pl ($xfail_str): New variable.
5926         (--xfail=): New command-line option.
5927         (top level): Handle expectations starting xfail[cond]-.
5928         * conform/Makefile (conformtest-xfail): New variable.
5929         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
5930         conformtest.pl.
5932 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
5934         * conform/conformtest.pl: Use compilation instead of execution
5935         tests for testing values of constants and usability in #if.
5937 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5939         * math/auto-libm-test-in: Mark some catan and catanh as
5940         xfail-rounding:ibm128-libgcc.
5941         * math/auto-libm-test-out-catan: Regenerate.
5942         * math/auto-libm-test-out-catanh: Likewise.
5944 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
5946         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
5947         (__END_NAMESPACE_STD): Likewise.
5948         (__USING_NAMESPACE_STD): Likewise.
5949         (__BEGIN_NAMESPACE_C99): Likewise.
5950         (__END_NAMESPACE_C99): Likewise.
5951         (__USING_NAMESPACE_C99): Likewise.
5952         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
5953         undefine macro.
5954         (_Mdouble_END_NAMESPACE): Likewise.
5955         * ctype/ctype.h: Do not handle C++ namespaces.
5956         * libio/bits/stdio-ldbl.h: Likewise.
5957         * libio/stdio.h: Likewise.
5958         * locale/locale.h: Likewise.
5959         * math/bits/mathcalls.h: Likewise.
5960         * setjmp/setjmp.h: Likewise.
5961         * signal/signal.h: Likewise.
5962         * stdlib/bits/stdlib-float.h: Likewise.
5963         * stdlib/bits/stdlib-ldbl.h: Likewise.
5964         * stdlib/stdlib.h: Likewise.
5965         * string/string.h: Likewise.
5966         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
5967         * time/bits/types/clock_t.h: Likewise.
5968         * time/bits/types/struct_tm.h: Likewise.
5969         * time/bits/types/time_t.h: Likewise.
5970         * time/time.h: Likewise.
5971         * wcsmbs/bits/wchar-ldbl.h: Likewise.
5972         * wcsmbs/uchar.h: Likewise.
5973         * wcsmbs/wchar.h: Likewise.
5974         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
5975         * wctype/wctype.h: Do not handle C++ namespaces.
5976         * scripts/begin-end-check.pl: Remove.
5977         * Makefile (installed-headers): Likewise.
5978         (tests-special): Do not add $(objpfx)begin-end-check.out.
5979         ($(objpfx)begin-end-check.out): Remove.
5981 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
5982             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5984         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
5985         (DL_PLATFORM_INIT): New define.
5986         (dl_platform_init): New function.
5987         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
5988         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
5989         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
5990         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
5991         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
5993 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
5995         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
5996         instead of PIC.
5998 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
6000         [BZ #21094]
6001         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6002         24+24+24-bit pi for wider range of values around pi/2.
6003         * math/auto-libm-test-in: Add more tests of cos and tan.
6004         * math/auto-libm-test-out-cos: Regenerated.
6005         * math/auto-libm-test-out-tan: Likewise.
6007 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
6009         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
6010         (RTLD_START): Don't record stack end address in _dl_start_user.
6012 2017-03-15  Alexey Neyman  <stilor@att.net>
6014         [BZ #21088]
6015         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
6016         around definitions match those around use.
6018 2017-03-15  Alexey Neyman  <stilor@att.net>
6020         * configure.ac: Avoid empty subexpression in grep.
6021         * configure: Regenerate.
6023 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6025         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
6026         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
6027         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
6028         (test_wrp_rv): Fix format.
6029         (test_wrp_rv2): New macro.
6030         (do_test): Handle mlock return on 64 bits kernels with 32 bits
6031         binaries.
6033 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
6035         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
6036         Use a union when storing pointers.
6037         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
6038         cast result when passing to INIT_VEC_PTRS_LOOP.
6039         (VECTOR_WRAPPER_fFF_3): Likewise.
6040         (VECTOR_WRAPPER_fFF_4): Likewise.
6042 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6044         * include/bits/mathcalls-helper-functions.h: New file.
6045         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
6046         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
6047         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
6048         math/bits/mathcalls-helper-functions.h.
6049         * math/bits/mathcalls-helper-functions.h: New file.
6050         * math/math.h: Include bits/mathcalls-helper-functions.h for
6051         float, double, and long double.
6053 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6055         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
6056         instead of feraiseexcept.
6058 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6060         [BZ #21243]
6061         * support/temp_file.c (support_delete_temp_files): Add comment
6062         about ignored errors.
6064 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6066         [BZ #21244]
6067         * support/xclose.c: New file.
6068         * support/Makefile (libsupport-routines): Add xclose.
6069         * support/xunistd.h (xclose): Declare.
6070         * support/resolv_test.c (server_thread_tcp_client)
6071         (server_thread_tcp, make_server_sockets, resolv_test_start)
6072         (resolv_test_end): Call xclose instead of close.
6073         * support/support_enter_network_namespace.c
6074         (support_enter_network_namespace): Likewise.
6075         * support/support_run_diff.c (write_to_temp_file): Likewise.
6077 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6079         * support/support_format_dns_packet.c (support_format_dns_packet):
6080         Handle CNAME records in the response.  Extract RDATA names from
6081         rdata, not the whole packet.  Check AAAA record length.
6082         * support/tst-support_format_dns_packet.c: New file.
6083         * support/Makefile (tests): Add tst-support_format_dns_packet.
6084         (tst-support_format_dns_packet): Link against libresolv.
6086 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6088         [BZ #21232]
6089         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
6090         posix_fadvise64 weak_alias for static build.
6092 2017-03-14  Andreas Schwab  <schwab@suse.de>
6094         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
6095         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
6096         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
6097         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
6098         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
6099         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
6100         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
6101         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
6103 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6105         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
6106         posix error code.
6107         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6109 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6111         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
6112         no_isolate usage for SH.
6114 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
6116         [BZ #15105]
6117         [BZ #19463]
6118         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
6119         * inet/rcmd.c (rcmd_af): Likewise.
6120         * inet/rexec.c   (rexec_af): Likewise.
6121         * intl/dcigettext.c (_LIBC): Likewise.
6122         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
6123         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
6124         * locale/setlocale.c (setlocale): Likewise.
6125         * posix/spawn_faction_addopen.c
6126         (posix_spawn_file_actions_addopen): Likewise.
6127         * stdlib/putenv.c (putenv): Use __strndup.
6128         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
6129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
6130         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
6131         (__Need_M_And_C) Remove define/undef.
6132         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
6133         (__malloc_and_calloc_defined): Remove define.
6134         * string/bits/string2.h (__strdup): Remove define.
6135         (strdup): Likewise.
6136         (__strndup): Likewise.
6137         (strndup): Likewise.
6139 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
6141         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
6142         macro.
6143         (IPV6_ADDR_PREFERENCES): Likewise.
6144         (IPV6_MINHOPCOUNT): Likewise.
6145         (IPV6_ORIGDSTADDR): Likewise.
6146         (IPV6_RECVORIGDSTADDR): Likewise.
6147         (IPV6_TRANSPARENT): Likewise.
6148         (IPV6_UNICAST_IF): Likewise.
6149         (IPV6_RECVFRAGSIZE): Likewise.
6151 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
6153         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
6155 2017-03-12  Alexey Neyman <stilor@att.net>
6157         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
6158         in R_SH_DIR32 case is always false when inlined from
6159         dl-conflict.c. Ifdef out to prevent GCC from insertin an
6161 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
6163         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6164         (__ASSUME_RECV_SYSCALL): Replace duplicate by
6165         __ASSUME_SEND_SYSCALL.
6167 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
6169         * sunrpc/Makefile: don't build and install rpcsvc header
6170         files, rpcgen and librpcsvc.a by default.
6172 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
6174         * math/auto-libm-test-out-catan: Regenerated.
6175         * math/auto-libm-test-out-catanh: Likewise.
6176         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6178 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
6180         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
6181         for long double with corrected test expectations.
6183 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6185         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
6186         Define.
6187         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6188         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
6189         * sysdeps/unix/sysv/linux/nios2/sysdep.h
6190         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
6191         * sysdeps/unix/sysv/linux/tile/sysdep.h
6192         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
6193         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6194         (__ASSUME_RECV_SYSCALL): Define.
6195         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6196         (__ASSUME_RECV_SYSCALL): Likewise.
6197         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6198         (__ASSUME_RECV_SYSCALL): Likewise.
6199         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6200         (__ASSUME_RECV_SYSCALL): Likewise.
6201         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6202         (__ASSUME_RECV_SYSCALL): Likewise.
6203         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6204         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
6205         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6206         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6207         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6208         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6209         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
6210         auto-generation list.
6211         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6212         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6213         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
6214         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6215         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6216         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
6217         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
6218         __ASSUME_SENDTO_SYSCALL.
6219         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
6220         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
6221         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
6223         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
6224         auto-generation list.
6225         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6226         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6227         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6228         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6229         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6230         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6231         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6232         * sysdeps/unix/sysv/linux/kernel-features.h
6233         (__ASSUME_SENDTO_SYSCALL): Define by default.
6234         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6235         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
6236         __NR_sendto.
6237         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6238         (__ASSUME_SENDTO_SYSCALL): Likewise.
6239         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6240         (__ASSUME_SENDTO_SYSCALL): Likewise.
6241         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6242         (__ASSUME_SENDTO_SYSCALL): Remove definition.
6243         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6244         (__ASSUME_SENDTO_SYSCALL): Likewise.
6245         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
6246         (__ASSUME_SENDTO_SYSCALL): Likewise.
6247         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
6249         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
6250         auto-generation list.
6251         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6252         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6253         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6254         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6255         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6256         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6257         (__ASSUME_RECV_SYSCALL): New define.
6258         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6259         (__ASSUME_RECV_SYSCALL): Likewise.
6260         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6261         (__ASSUME_RECV_SYSCALL): Likewise.
6262         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6263         (__ASSUME_RECV_SYSCALL): Likewise.
6264         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6265         (__ASSUME_RECV_SYSCALL): Likewise.
6266         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6267         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6268         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6269         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6270         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6271         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6272         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
6273         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
6274         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
6275         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
6276         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
6277         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
6279         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
6280         auto-generation list.
6281         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6282         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6283         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6284         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6285         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6286         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6287         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6288         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6289         (__ASSUME_RECVFROM_SYSCALL): Define by default.
6290         * sysdeps/unix/sysv/linux/kernel-features.h
6291         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
6292         __NR_recvfrom.
6293         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6294         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6295         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6296         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6297         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6298         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
6299         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6300         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6301         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6302         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6303         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6304         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6305         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
6307         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
6308         auto-generation list.
6309         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6310         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6311         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6312         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6313         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6314         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6315         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6316         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
6317         * sysdeps/unix/sysv/linux/kernel-features.h
6318         (__ASSUME_CONNECT_SYSCALL): Define.
6319         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6320         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
6321         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6322         (__ASSUME_CONNECT_SYSCALL): Likewise.
6323         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6324         (__ASSUME_CONNECT_SYSCALL): Likewise.
6325         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6326         (__ASSUME_CONNECT_SYSCALL): Likewise.
6328         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
6329         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
6330         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
6331         auto-generation list.
6332         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6333         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6334         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6335         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6336         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6337         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6338         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6339         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6340         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6341         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6342         * sysdeps/unix/sysv/linux/kernel-features.h
6343         (__ASSUME_ACCEPT_SYSCALL): New define.
6344         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6345         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6346         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
6347         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6348         (__ASSUME_ACCEPT_SYSCALL): Define.
6349         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6350         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6351         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6352         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6353         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6354         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6355         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6356         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6357         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
6359 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
6360             Zack Weinberg  <zackw@panix.com>
6362         * posix/test-errno.c: New file.
6363         * posix/Makefile (tests): Add test-errno.
6364         * sysdeps/unix/sysv/linux/test-errno.c: New file.
6365         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
6367 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
6369         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6371 2017-03-07  Florian Weimer  <fweimer@redhat.com>
6373         * time/tzset.c (compute_offset): Open-code min macro.
6374         (min, max, sign): Remove.
6376 2017-03-07  Florian Weimer  <fweimer@redhat.com>
6378         [BZ #15576]
6379         Remove TZNAME_MAX limit from sysconf.
6380         * include/time.h (__tzname_cur_max, __tzname_max): Remove
6381         declaration.
6382         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
6383         compute_tzname_max.
6384         (compute_tzname_max): Remove.
6385         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
6386         (update_vars): Do not update __tzname_cur_max.
6387         (tzset_internal): Remove argument.
6388         (__tzset): Adjust call to tzset_internal.
6389         (__tz_convert): Likewise.
6391         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
6392         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6393         * manual/conf.texi (Sysconf Definition): Update comment.
6395 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6397         [BZ #21209]
6398         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
6399         AT_SECURE processes.
6400         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
6401         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
6402         (test_child): Likewise.
6403         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
6405 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6407         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
6409 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6411         * sysdeps/s390/atomic-machine.h
6412         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
6413         (__arch_compare_and_exchange_val_8_acq,
6414         __arch_compare_and_exchange_val_16_acq,
6415         __arch_compare_and_exchange_val_32_acq,
6416         __arch_compare_and_exchange_val_64_acq):
6417         Delete macro.
6418         (atomic_compare_and_exchange_val_acq,
6419         atomic_compare_and_exchange_val_rel,
6420         atomic_compare_and_exchange_bool_acq,
6421         catomic_compare_and_exchange_bool_acq,
6422         atomic_exchange_acq, atomic_exchange_rel,
6423         atomic_exchange_and_add_acq,
6424         atomic_exchange_and_add_rel,
6425         catomic_exchange_and_add, atomic_or_val,
6426         atomic_or, catomic_or, atomic_bit_test_set,
6427         atomic_and_val, atomic_and, catomic_and):
6428         Define macros with help of C11 atomic builtins.
6430 2017-03-03  Justus Winter <justus@gnupg.org>
6432         * sysdeps/mach/hurd/ftruncate64.c: New file.
6433         * sysdeps/mach/hurd/truncate64.c: Likewise.
6435 2017-03-03  Florian Weimer  <fweimer@redhat.com>
6437         * time/tzfile.c (NOID): Do not define.
6438         * time/tzset.c (NOID): Likewise.
6440 2017-03-03  Florian Weimer  <fweimer@redhat.com>
6442         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
6444 2017-03-02  Florian Weimer  <fweimer@redhat.com>
6446         * elf/get-dynamic-info.h: Remove header file inclusion guard.
6448 2017-03-02  Florian Weimer  <fweimer@redhat.com>
6450         [BZ #21015]
6451         * manual/install.texi (Configuring and compiling): Document
6452         --enable-bind-now.
6453         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
6454         (build-shlib-helper): Use $(LDFLAGS-lib.so).
6455         (format.lds): Likewise.
6456         [bind-now] (LDFLAGS-c.so): Remove.
6457         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
6458         be R_X86_64_GLOB_DAT.
6459         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
6460         relocation can be R_386_GLOB_DAT.
6461         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
6462         relocaiton can be R_ALPHA_GLOB_DAT.
6463         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
6465 2017-03-01  Zack Weinberg  <zackw@panix.com>
6467         * include/libc-pointer-arith.h: New file.  Define
6468         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
6469         PTR_ALIGN_DOWN here.
6470         * include/libc-internal.h: Definitions of above macros
6471         moved from here.  Don't include libc-diag.h anymore either.
6472         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
6473         Don't include libc-internal.h.
6475         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
6476         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
6477         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
6478         * string/strcoll_l.c, sysdeps/nacl/brk.c
6479         * sysdeps/unix/clock_settime.c
6480         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
6481         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
6482         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6483         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
6484         Don't include libc-internal.h.
6486         * elf/get-dynamic-info.h, iconv/loop.c
6487         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
6488         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
6489         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
6490         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
6491         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6492         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
6493         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6494         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
6495         * sysdeps/ieee754/ldbl-128/k_tanl.c
6496         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6497         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6498         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
6499         Include libc-diag.h instead of libc-internal.h.
6501         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
6502         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
6503         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
6504         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
6505         * sysdeps/unix/sysv/linux/spawni.c
6506         * sysdeps/x86_64/nptl/tls.h:
6507         Include libc-pointer-arith.h instead of libc-internal.h.
6509         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
6510         * sysdeps/x86_64/atomic-machine.h:
6511         Add multiple include guard.
6513         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
6514         * string/strcasestr.c: No need to include config.h.
6515         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
6516         sys/auxv.h. Don't include sysdep.h.
6517         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
6519         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
6520         DL_LOOKUP_ADDRESS.
6521         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
6522         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
6523         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
6524         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
6525         of ARTIFICIAL_LIMIT.
6526         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
6527         declaration of __clone2.
6529 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6531         * scripts/backport-support.sh (latest_commit): New file.
6533 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6535         [BZ #20257]
6536         * inet/Makefile (routines): Add deadline.
6537         (tests-static): Add tst-deadline.
6538         * inet/net-internal.h (struct deadline_current_time)
6539         (__deadline_current_time, struct deadline, __deadline_is_infinite)
6540         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
6541         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
6542         * inet/deadline.c: New file.
6543         * inet/tst-deadline.c: Likewise.
6544         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
6545         tst-udp-timeout, tst-udp-garbage.
6546         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
6547         explicitly.
6548         (tst-udp-garbage): Likewise.  Also link against thread library.
6549         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
6550         struct layout is part of the ABI.
6551         (clntudp_call): Rework timeout handling.
6552         * sunrpc/tst-udp-garbage.c: New file.
6553         * sunrpc/tst-udp-nonblocking.c: Likewise.
6554         * sunrpc/tst-udp-timeout.c: Likewise.
6556 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6558         [BZ #5010]
6559         * sunrpc/svc.c (svc_is_mapped): Remove.
6560         (svc_unregister): Obtain mapped status while the service is still
6561         registered.
6562         * sunrpc/Makefile [have-thread-library] (tests): Add
6563         tst-svc_register.
6564         (tst-svc_register): Link against libc.so explicitly and the thread
6565         library.
6566         * sunrpc/tst-svc_register.c: New file.
6568 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
6570         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
6571         * sysdeps/pthread/bits/sigthread.h: Likewise.
6573 2017-02-27  Florian Weimer  <fweimer@redhat.com>
6575         [BZ #21115]
6576         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
6577         * sunrpc/Makefile (tests): Add tst-udp-error.
6578         (tst-udp-error): Link against libc.so explicitly.
6579         * sunrpc/tst-udp-error: New file.
6581 2017-02-25  Zack Weinberg  <zackw@panix.com>
6583         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
6584         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
6586         * sysdeps/generic/math_ldbl.h
6587         * sysdeps/ia64/fpu/math_ldbl.h
6588         * sysdeps/ieee754/ldbl-128/math_ldbl.h
6589         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6590         * sysdeps/ieee754/ldbl-96/math_ldbl.h
6591         * sysdeps/powerpc/fpu/math_ldbl.h
6592         * sysdeps/x86_64/fpu/math_ldbl.h:
6593         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
6594         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
6595         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
6596         Add copyright notices.
6598         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6599         Don't use EXTRACT_WORDS64.
6601         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
6602         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
6603         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
6604         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
6605         Include math_ldbl.h, not math_private.h.
6607 2017-02-25  Zack Weinberg  <zackw@panix.com>
6609         * include/libc-diag.h: New file.  Define ignore_value,
6610         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
6611         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
6613         * include/libc-internal.h: Definitions of above macros moved from
6614         here.  Include libc-diag.h.  Add copyright notice.
6616         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
6617         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
6618         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
6619         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
6620         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
6621         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
6622         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
6623         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
6624         Include libc-diag.h instead of libc-internal.h.
6626         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
6627         call to unsetenv (NULL).
6628         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
6629         call to pthread_mutexattr_destroy (NULL).
6631 2017-02-25  Zack Weinberg  <zackw@panix.com>
6633         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
6634         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
6635         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
6636         gets was removed from C++ in C++14.
6637         * include/stdio.h: Remove redundant declaration of gets.
6638         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
6639         be declared, since we are testing it.
6640         * stdio-common/Makefile (tst-gets.c): Compile with
6641         -Wno-deprecated-declarations.
6642         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
6643         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
6644         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
6645         Compile with -Wno-deprecated-declarations.
6647 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6649         * math/libm-test-support.c (check_ulp): Use LIT() around literal
6650         numbers.
6652 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6654         * resolv/tst-resolv-qtypes.c (domain):
6655         Change type to const pointer to const char.
6657 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
6659         * math/Makefile (libm-tests-generated): Remove variable.
6660         (libm-tests-base-normal): New variable.
6661         (libm-tests-base-finite): Likewise.
6662         (libm-tests-base-inline): Likewise.
6663         (libm-tests-base): Likewise.
6664         (libm-tests-normal): Likewise.
6665         (libm-tests-finite): Likewise.
6666         (libm-tests-inline): Likewise.
6667         (libm-tests-vector): Likewise.
6668         (libm-tests): Define in terms of these new variables.
6669         (libm-tests-for-type): New variable.
6670         (libm-tests.o): Move definition.
6671         (tests): Move addition of $(libm-tests).
6672         (generated): Update for new and removed libm test files.
6673         ($(objpfx)libm-test.c): Remove target.
6674         ($(objpfx)libm-have-vector-test.h): Likewise.
6675         (CFLAGS-test-double-vlen2.c): Remove variable.
6676         (CFLAGS-test-double-vlen4.c): Likewise.
6677         (CFLAGS-test-double-vlen8.c): Likewise.
6678         (CFLAGS-test-float-vlen4.c): Likewise.
6679         (CFLAGS-test-float-vlen8.c): Likewise.
6680         (CFLAGS-test-float-vlen16.c): Likewise.
6681         (CFLAGS-test-float.c): Likewise.
6682         (CFLAGS-test-float-finite.c): Likewise.
6683         (CFLAGS-libm-test-support-float.c): Likewise.
6684         (CFLAGS-test-double.c): Likewise.
6685         (CFLAGS-test-double-finite.c): Likewise.
6686         (CFLAGS-libm-test-support-double.c): Likewise.
6687         (CFLAGS-test-ldouble.c): Likewise.
6688         (CFLAGS-test-ldouble-finite.c): Likewise.
6689         (CFLAGS-libm-test-support-ldouble.c): Likewise.
6690         (libm-test-inline-cflags): New variable.
6691         (CFLAGS-test-ifloat.c): Remove variable.
6692         (CFLAGS-test-idouble.c): Likewise.
6693         (CFLAGS-test-ildouble.c): Likewise.
6694         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
6695         dependencies.
6696         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
6697         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
6698         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
6699         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
6700         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
6701         Likewise.
6702         (dependencies on libm-test-support-*.o): Remove.
6703         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
6704         rules using iterators.
6705         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
6706         Likewise.
6707         ($(objpfx)libm-test-support-$(o).o): Likewise.
6708         ($(addprefix $(objpfx),$(filter-out $(tests-static)
6709         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
6710         instead.
6711         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
6712         define rule instead.
6713         * math/README.libm-test: Update.
6714         * math/libm-test-acos.inc: Include libm-test-driver.c.
6715         (do_test): New function.
6716         * math/libm-test-acosh.inc: Include libm-test-driver.c.
6717         (do_test): New function.
6718         * math/libm-test-asin.inc: Include libm-test-driver.c.
6719         (do_test): New function.
6720         * math/libm-test-asinh.inc: Include libm-test-driver.c.
6721         (do_test): New function.
6722         * math/libm-test-atan.inc: Include libm-test-driver.c.
6723         (do_test): New function.
6724         * math/libm-test-atan2.inc: Include libm-test-driver.c.
6725         (do_test): New function.
6726         * math/libm-test-atanh.inc: Include libm-test-driver.c.
6727         (do_test): New function.
6728         * math/libm-test-cabs.inc: Include libm-test-driver.c.
6729         (do_test): New function.
6730         * math/libm-test-cacos.inc: Include libm-test-driver.c.
6731         (do_test): New function.
6732         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
6733         (do_test): New function.
6734         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
6735         (do_test): New function.
6736         * math/libm-test-carg.inc: Include libm-test-driver.c.
6737         (do_test): New function.
6738         * math/libm-test-casin.inc: Include libm-test-driver.c.
6739         (do_test): New function.
6740         * math/libm-test-casinh.inc: Include libm-test-driver.c.
6741         (do_test): New function.
6742         * math/libm-test-catan.inc: Include libm-test-driver.c.
6743         (do_test): New function.
6744         * math/libm-test-catanh.inc: Include libm-test-driver.c.
6745         (do_test): New function.
6746         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
6747         (do_test): New function.
6748         * math/libm-test-ccos.inc: Include libm-test-driver.c.
6749         (do_test): New function.
6750         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
6751         (do_test): New function.
6752         * math/libm-test-ceil.inc: Include libm-test-driver.c.
6753         (do_test): New function.
6754         * math/libm-test-cexp.inc: Include libm-test-driver.c.
6755         (do_test): New function.
6756         * math/libm-test-cimag.inc: Include libm-test-driver.c.
6757         (do_test): New function.
6758         * math/libm-test-clog.inc: Include libm-test-driver.c.
6759         (do_test): New function.
6760         * math/libm-test-clog10.inc: Include libm-test-driver.c.
6761         (do_test): New function.
6762         * math/libm-test-conj.inc: Include libm-test-driver.c.
6763         (do_test): New function.
6764         * math/libm-test-copysign.inc: Include libm-test-driver.c.
6765         (do_test): New function.
6766         * math/libm-test-cos.inc: Include libm-test-driver.c.
6767         (do_test): New function.
6768         * math/libm-test-cosh.inc: Include libm-test-driver.c.
6769         (do_test): New function.
6770         * math/libm-test-cpow.inc: Include libm-test-driver.c.
6771         (do_test): New function.
6772         * math/libm-test-cproj.inc: Include libm-test-driver.c.
6773         (do_test): New function.
6774         * math/libm-test-creal.inc: Include libm-test-driver.c.
6775         (do_test): New function.
6776         * math/libm-test-csin.inc: Include libm-test-driver.c.
6777         (do_test): New function.
6778         * math/libm-test-csinh.inc: Include libm-test-driver.c.
6779         (do_test): New function.
6780         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
6781         (do_test): New function.
6782         * math/libm-test-ctan.inc: Include libm-test-driver.c.
6783         (do_test): New function.
6784         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
6785         (do_test): New function.
6786         * math/libm-test-erf.inc: Include libm-test-driver.c.
6787         (do_test): New function.
6788         * math/libm-test-erfc.inc: Include libm-test-driver.c.
6789         (do_test): New function.
6790         * math/libm-test-exp.inc: Include libm-test-driver.c.
6791         (do_test): New function.
6792         * math/libm-test-exp10.inc: Include libm-test-driver.c.
6793         (do_test): New function.
6794         * math/libm-test-exp2.inc: Include libm-test-driver.c.
6795         (do_test): New function.
6796         * math/libm-test-expm1.inc: Include libm-test-driver.c.
6797         (do_test): New function.
6798         * math/libm-test-fabs.inc: Include libm-test-driver.c.
6799         (do_test): New function.
6800         * math/libm-test-fdim.inc: Include libm-test-driver.c.
6801         (do_test): New function.
6802         * math/libm-test-floor.inc: Include libm-test-driver.c.
6803         (do_test): New function.
6804         * math/libm-test-fma.inc: Include libm-test-driver.c.
6805         (do_test): New function.
6806         * math/libm-test-fmax.inc: Include libm-test-driver.c.
6807         (do_test): New function.
6808         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
6809         (do_test): New function.
6810         * math/libm-test-fmin.inc: Include libm-test-driver.c.
6811         (do_test): New function.
6812         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
6813         (do_test): New function.
6814         * math/libm-test-fmod.inc: Include libm-test-driver.c.
6815         (do_test): New function.
6816         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
6817         (do_test): New function.
6818         * math/libm-test-frexp.inc: Include libm-test-driver.c.
6819         (do_test): New function.
6820         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
6821         (do_test): New function.
6822         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
6823         (do_test): New function.
6824         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
6825         (do_test): New function.
6826         * math/libm-test-hypot.inc: Include libm-test-driver.c.
6827         (do_test): New function.
6828         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
6829         (do_test): New function.
6830         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
6831         (do_test): New function.
6832         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
6833         (do_test): New function.
6834         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
6835         (do_test): New function.
6836         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
6837         (do_test): New function.
6838         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
6839         (do_test): New function.
6840         * math/libm-test-isinf.inc: Include libm-test-driver.c.
6841         (do_test): New function.
6842         * math/libm-test-isless.inc: Include libm-test-driver.c.
6843         (do_test): New function.
6844         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
6845         (do_test): New function.
6846         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
6847         (do_test): New function.
6848         * math/libm-test-isnan.inc: Include libm-test-driver.c.
6849         (do_test): New function.
6850         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
6851         (do_test): New function.
6852         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
6853         (do_test): New function.
6854         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
6855         (do_test): New function.
6856         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
6857         (do_test): New function.
6858         * math/libm-test-iszero.inc: Include libm-test-driver.c.
6859         (do_test): New function.
6860         * math/libm-test-j0.inc: Include libm-test-driver.c.
6861         (do_test): New function.
6862         * math/libm-test-j1.inc: Include libm-test-driver.c.
6863         (do_test): New function.
6864         * math/libm-test-jn.inc: Include libm-test-driver.c.
6865         (do_test): New function.
6866         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
6867         (do_test): New function.
6868         * math/libm-test-llogb.inc: Include libm-test-driver.c.
6869         (do_test): New function.
6870         * math/libm-test-llrint.inc: Include libm-test-driver.c.
6871         (do_test): New function.
6872         * math/libm-test-llround.inc: Include libm-test-driver.c.
6873         (do_test): New function.
6874         * math/libm-test-log.inc: Include libm-test-driver.c.
6875         (do_test): New function.
6876         * math/libm-test-log10.inc: Include libm-test-driver.c.
6877         (do_test): New function.
6878         * math/libm-test-log1p.inc: Include libm-test-driver.c.
6879         (do_test): New function.
6880         * math/libm-test-log2.inc: Include libm-test-driver.c.
6881         (do_test): New function.
6882         * math/libm-test-logb.inc: Include libm-test-driver.c.
6883         (do_test): New function.
6884         * math/libm-test-lrint.inc: Include libm-test-driver.c.
6885         (do_test): New function.
6886         * math/libm-test-lround.inc: Include libm-test-driver.c.
6887         (do_test): New function.
6888         * math/libm-test-modf.inc: Include libm-test-driver.c.
6889         (do_test): New function.
6890         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
6891         (do_test): New function.
6892         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
6893         (do_test): New function.
6894         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
6895         (do_test): New function.
6896         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
6897         (do_test): New function.
6898         * math/libm-test-nextup.inc: Include libm-test-driver.c.
6899         (do_test): New function.
6900         * math/libm-test-pow.inc: Include libm-test-driver.c.
6901         (do_test): New function.
6902         * math/libm-test-remainder.inc: Include libm-test-driver.c.
6903         (do_test): New function.
6904         * math/libm-test-remquo.inc: Include libm-test-driver.c.
6905         (do_test): New function.
6906         * math/libm-test-rint.inc: Include libm-test-driver.c.
6907         (do_test): New function.
6908         * math/libm-test-round.inc: Include libm-test-driver.c.
6909         (do_test): New function.
6910         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
6911         (do_test): New function.
6912         * math/libm-test-scalb.inc: Include libm-test-driver.c.
6913         (do_test): New function.
6914         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
6915         (do_test): New function.
6916         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
6917         (do_test): New function.
6918         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
6919         (do_test): New function.
6920         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
6921         (do_test): New function.
6922         * math/libm-test-signbit.inc: Include libm-test-driver.c.
6923         (do_test): New function.
6924         * math/libm-test-significand.inc: Include libm-test-driver.c.
6925         (do_test): New function.
6926         * math/libm-test-sin.inc: Include libm-test-driver.c.
6927         (do_test): New function.
6928         * math/libm-test-sincos.inc: Include libm-test-driver.c.
6929         (do_test): New function.
6930         * math/libm-test-sinh.inc: Include libm-test-driver.c.
6931         (do_test): New function.
6932         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
6933         (do_test): New function.
6934         * math/libm-test-tan.inc: Include libm-test-driver.c.
6935         (do_test): New function.
6936         * math/libm-test-tanh.inc: Include libm-test-driver.c.
6937         (do_test): New function.
6938         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
6939         (do_test): New function.
6940         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
6941         (do_test): New function.
6942         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
6943         (do_test): New function.
6944         * math/libm-test-trunc.inc: Include libm-test-driver.c.
6945         (do_test): New function.
6946         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
6947         (do_test): New function.
6948         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
6949         (do_test): New function.
6950         * math/libm-test-y0.inc: Include libm-test-driver.c.
6951         (do_test): New function.
6952         * math/libm-test-y1.inc: Include libm-test-driver.c.
6953         (do_test): New function.
6954         * math/libm-test-yn.inc: Include libm-test-driver.c.
6955         (do_test): New function.
6956         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
6957         (HAVE_VECTOR): Remove macro.
6958         (START): Do not call HAVE_VECTOR.
6959         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
6960         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
6961         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
6962         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
6963         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
6964         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
6965         * math/test-math-vector.h (FUNC_TEST): New macro.
6966         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
6967         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
6968         (double-vlen4-funcs): Likewise.
6969         (double-vlen4-avx2-funcs): Likewise.
6970         (double-vlen8-funcs): Likewise.
6971         (float-vlen4-funcs): Likewise.
6972         (float-vlen8-funcs): Likewise.
6973         (float-vlen8-avx2-funcs): Likewise.
6974         (float-vlen16-funcs): Likewise.
6975         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
6976         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
6977         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
6978         macro.
6979         (TEST_VECTOR_sin): Likewise.
6980         (TEST_VECTOR_sincos): Likewise.
6981         (TEST_VECTOR_log): Likewise.
6982         (TEST_VECTOR_exp): Likewise.
6983         (TEST_VECTOR_pow): Likewise.
6984         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
6985         Likewise.
6986         (TEST_VECTOR_sin): Likewise.
6987         (TEST_VECTOR_sincos): Likewise.
6988         (TEST_VECTOR_log): Likewise.
6989         (TEST_VECTOR_exp): Likewise.
6990         (TEST_VECTOR_pow): Likewise.
6991         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
6992         Likewise.
6993         (TEST_VECTOR_sinf): Likewise.
6994         (TEST_VECTOR_sincosf): Likewise.
6995         (TEST_VECTOR_logf): Likewise.
6996         (TEST_VECTOR_expf): Likewise.
6997         (TEST_VECTOR_powf): Likewise.
6998         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
6999         Likewise.
7000         (TEST_VECTOR_sinf): Likewise.
7001         (TEST_VECTOR_sincosf): Likewise.
7002         (TEST_VECTOR_logf): Likewise.
7003         (TEST_VECTOR_expf): Likewise.
7004         (TEST_VECTOR_powf): Likewise.
7005         * math/gen-libm-have-vector-test.sh: Remove file.
7006         * math/libm-test.inc: Likewise.
7007         * math/libm-test-support-double.c: Likewise.
7008         * math/libm-test-support-float.c: Likewise.
7009         * math/libm-test-support-ldouble.c: Likewise.
7010         * math/test-double-finite.c: Likewise.: Likewise.
7011         * math/test-double.c: Likewise.
7012         * math/test-float-finite.c: Likewise.
7013         * math/test-float.c: Likewise.
7014         * math/test-idouble.c: Likewise.
7015         * math/test-ifloat.c: Likewise.
7016         * math/test-ildouble.c: Likewise.
7017         * math/test-ldouble-finite.c: Likewise.
7018         * math/test-ldouble.c: Likewise.
7019         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7020         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
7021         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7022         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7023         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7024         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7025         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7026         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
7027         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7028         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7030 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7031            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7033         * math/Makefile: Add wrappers to gen-libm-calls.
7034         * math/w_acos_template.c: New file.
7035         * math/w_acosh_template.c: Likewise.
7036         * math/w_asin_template.c: Likewise.
7037         * math/w_atan2_template.c: Likewise.
7038         * math/w_atanh_template.c: Likewise.
7039         * math/w_cosh_template.c: Likewise.
7040         * math/w_exp10_template.c: Likewise.
7041         * math/w_exp2_template.c: Likewise.
7042         * math/w_exp_template.c: Likewise.
7043         * math/w_fmod_template.c: Likewise.
7044         * math/w_hypot_template.c: Likewise.
7045         * math/w_j0_template.c: Likewise.
7046         * math/w_j1_template.c: Likewise.
7047         * math/w_jn_template.c: Likewise.
7048         * math/w_lgamma_r_template.c: Likewise.
7049         * math/w_lgamma_template.c: Likewise.
7050         * math/w_log10_template.c: Likewise.
7051         * math/w_log2_template.c: Likewise.
7052         * math/w_log_template.c: Likewise.
7053         * math/w_pow_template.c: Likewise.
7054         * math/w_remainder_template.c: Likewise.
7055         * math/w_sinh_template.c: Likewise.
7056         * math/w_sqrt_template.c: Likewise.
7057         * math/w_tgamma_template.c: Likewise.: Likewise.
7058         * sysdeps/generic/math-type-macros-double.h
7059         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
7060         the new wrappers.
7061         * sysdeps/generic/math-type-macros-float.h: Likewise.
7062         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7064 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
7066         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
7067         New enum constant and macro.
7069         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7070         kernel version to 4.10.
7072 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
7074         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
7076 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7080 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7082         * sysdeps/powerpc/tst-set_ppr.c: New file.
7083         Implement test cases for __ppc_set_ppr_* functions.
7084         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
7085         in the list of tests.
7087 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7089         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
7090         instead of test-skeleton.c.
7091         (do_test): Replaced pthread_create and pthread_join with
7092         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
7093         Removed unneeded status variable.
7094         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
7095         instead of test-skeleton.c.
7096         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
7098 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
7100         [BZ #20313]
7101         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7102         201605L, for Unicode 9.
7104 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
7106         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
7107         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7108         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7109         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7110         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7111         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7113 2017-02-19  Zack Weinberg  <zackw@panix.com>
7115         * rt/tst-mqueue4.c: Include stdint.h.
7117 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
7119         * sysdeps/arm/libm-test-ulps: Update.
7120         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7121         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7122         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7124 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7126         [BZ #21029]
7127         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
7128         * sysdeps/unix/sysv/linux/i386/Makefile
7129         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
7130         (uses-6-syscall-arguments): Remove.
7131         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
7132         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
7133         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
7134         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
7135         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
7136         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
7137         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
7138         [$(subdir) = misc] (cflags-pselect.o): Likewise.
7139         [$(subdir) = misc] (cflags-pselect.os): Likewise.
7140         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
7141         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
7142         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
7143         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
7144         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
7145         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
7146         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
7147         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
7148         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
7149         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
7150         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
7151         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
7152         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
7153         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
7154         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
7155         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
7156         Likewise.
7157         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
7158         Likewise.
7159         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
7160         Likewise.
7161         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
7162         Likewise.
7163         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
7164         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
7165         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
7166         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
7167         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
7168         ebp on inline assembly.
7169         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
7170         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7171         Set if CAN_USE_REGISTER_ASM_EBP is set.
7173 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
7175         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
7176         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
7178 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
7180         * math/auto-libm-test-in: Add tests of catan and catanh.
7181         * math/auto-libm-test-out-catan: New generated file.
7182         * math/auto-libm-test-out-catanh: Likewise.
7183         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
7184         Move tests with finite inputs, except divide-by-zero cases, to
7185         auto-libm-test-in.
7186         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
7187         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
7188         (libm-test-funcs-noauto): Remove catan and catanh.
7189         * sysdeps/i386/fpu/libm-test-ulps: Update.
7190         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7193         * math/auto-libm-test-in: Add tests of casin and casinh.
7194         * math/auto-libm-test-out-casin: New generated file.
7195         * math/auto-libm-test-out-casinh: Likewise.
7196         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
7197         Move tests with finite inputs to auto-libm-test-in.
7198         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
7199         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
7200         (libm-test-funcs-noauto): Remove casin and casinh.
7201         * sysdeps/i386/fpu/libm-test-ulps: Update.
7202         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7205         * math/auto-libm-test-in: Add tests of cacos and cacosh.
7206         * math/auto-libm-test-out-cacos: New generated file.
7207         * math/auto-libm-test-out-cacosh: Likewise.
7208         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
7209         Move tests with finite inputs to auto-libm-test-in.
7210         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
7211         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
7212         (libm-test-funcs-noauto): Remove cacos and cacosh.
7213         * sysdeps/i386/fpu/libm-test-ulps: Update.
7214         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7217         Revert:
7218         2017-02-16  Zack Weinberg  <zackw@panix.com>
7220         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7221         Don't include init-arch.h.
7222         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7223         Don't include init-arch.h.
7225 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7227         [BZ #21171]
7228         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
7229         +Inf and raise divide-by-zero when x is negative.
7230         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
7231         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
7232         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
7233         -Inf and raise divide-by-zero when x = +-0.
7234         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7235         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7236         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
7237         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
7238         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7239         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7240         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7242 2017-02-16  Zack Weinberg  <zackw@panix.com>
7244         * scripts/build-many-glibcs.py (bot_build_mail): If the
7245         bot_config does not contain all of the necessary email-
7246         related settings, just print a warning and continue.
7248 2017-02-16  Zack Weinberg  <zackw@panix.com>
7250         * crypt/md5.h: Test _LIBC with #if defined, not #if.
7251         * dirent/opendir-tst1.c: Include sys/stat.h.
7252         * dirent/tst-fdopendir.c: Include sys/stat.h.
7253         * dirent/tst-fdopendir2.c: Include stdlib.h.
7254         * dirent/tst-scandir.c: Include stdbool.h.
7255         * elf/tst-auditmod1.c: Include link.h and stddef.h.
7256         * elf/tst-tls15.c: Include stdlib.h.
7257         * elf/tst-tls16.c: Include stdlib.h.
7258         * elf/tst-tls17.c: Include stdlib.h.
7259         * elf/tst-tls18.c: Include stdlib.h.
7260         * iconv/tst-iconv6.c: Include endian.h.
7261         * iconvdata/bug-iconv11.c: Include limits.h.
7262         * io/test-utime.c: Include stdint.h.
7263         * io/tst-faccessat.c: Include sys/stat.h.
7264         * io/tst-fchmodat.c: Include sys/stat.h.
7265         * io/tst-fchownat.c: Include sys/stat.h.
7266         * io/tst-fstatat.c: Include sys/stat.h.
7267         * io/tst-futimesat.c: Include sys/stat.h.
7268         * io/tst-linkat.c: Include sys/stat.h.
7269         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
7270         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
7271         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
7272         * io/tst-openat.c: Include stdbool.h.
7273         * io/tst-readlinkat.c: Include sys/stat.h.
7274         * io/tst-renameat.c: Include sys/stat.h.
7275         * io/tst-symlinkat.c: Include sys/stat.h.
7276         * io/tst-unlinkat.c: Include stdbool.h.
7277         * libio/bug-memstream1.c: Include stdlib.h.
7278         * libio/bug-wmemstream1.c: Include stdlib.h.
7279         * libio/tst-fwrite-error.c: Include stdlib.h.
7280         * libio/tst-memstream1.c: Include stdlib.h.
7281         * libio/tst-memstream2.c: Include stdlib.h.
7282         * libio/tst-memstream3.c: Include stdlib.h.
7283         * malloc/tst-interpose-aux.c: Include stdint.h.
7284         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
7285         * nptl/tst-basic7.c: Include limits.h.
7286         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
7287         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
7288         * nptl/tst-cancel4_1.c: Include stddef.h.
7289         * nptl/tst-cancel4_2.c: Include stddef.h.
7290         * nptl/tst-cond16.c: Include limits.h.
7291         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7292         * nptl/tst-cond18.c: Include limits.h.
7293         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7294         * nptl/tst-cond4.c: Include stdint.h.
7295         * nptl/tst-cond6.c: Include stdint.h.
7296         * nptl/tst-stack2.c: Include limits.h.
7297         * nptl/tst-stackguard1.c: Include stddef.h.
7298         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
7299         * nptl/tst-tls4moda.c: Include stddef.h.
7300         Don't include stdio.h, unistd.h, or tls.h.
7301         * nptl/tst-tls4modb.c: Include stddef.h.
7302         Don't include stdio.h, unistd.h, or tls.h.
7303         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
7304         * posix/tst-getaddrinfo2.c: Include stdio.h.
7305         * posix/tst-getaddrinfo5.c: Include stdio.h.
7306         * posix/tst-pathconf.c: Include sys/stat.h.
7307         * posix/tst-posix_fadvise-common.c: Include stdint.h.
7308         * posix/tst-preadwrite-common.c: Include sys/stat.h.
7309         * posix/tst-regex.c: Include stdint.h.
7310         Don't include spawn.h or spawn_int.h.
7311         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
7312         * posix/tst-vfork3.c: Include sys/stat.h.
7313         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
7314         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
7315         * resolv/tst-resolv-search.c: Include stdlib.h.
7316         * stdio-common/tst-fmemopen2.c: Include stdint.h.
7317         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
7318         * stdlib/test-canon.c: Include sys/stat.h.
7319         * stdlib/tst-tls-atexit.c: Include stdbool.h.
7320         * string/test-memchr.c: Include stdint.h.
7321         * string/tst-cmp.c: Include stdint.h.
7322         * sysdeps/pthread/tst-timer.c: Include stdint.h.
7323         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
7324         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
7325         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7326         Don't include init-arch.h.
7327         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7328         Don't include init-arch.h.
7329         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
7330         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
7331         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
7332         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
7333         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
7334         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
7335         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
7336         * time/clocktest.c: Include stdint.h.
7337         * time/tst-posixtz.c: Include stdint.h.
7338         * timezone/tst-timezone.c: Include stdint.h.
7340 2017-02-16  Zack Weinberg  <zackw@panix.com>
7342         * string/string.h [__USE_MISC]: Include strings.h.
7343         (__bzero, bcmp, bcopy, bzero, index, rindex)
7344         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
7345         (ffs, ffsl, ffsll): Don't declare.
7346         * string/strings.h: Do not suppress the file if string.h has
7347         already been included.
7348         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
7349         annotations.
7350         (index, rindex): Define inline forwarders even if
7351         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
7352         (ffs): Use __attribute_const__.
7353         (ffsl, ffsll): Declare here.
7354         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
7355         have now been standardized.
7356         * include/string.h (__bzero): Declare here.
7358         * bits/types.h: Move to posix/bits.
7359         * include/bits/types.h: New wrapper.
7361 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
7363         * string/bits/string2.h (strcmp): Remove define.
7364         (__strcmp_cg): Likewise.
7365         (strncmp): Likewise.
7367 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
7369         * include/string.h: Add __cplusplus check.
7371 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7373         [BZ #21134]
7374         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
7375         "divide by zero" exception when the input is zero.
7376         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
7377         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
7378         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
7379         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
7380         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7382 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
7384         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
7385         and include ...
7386         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
7387         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
7388         to, and include ...
7389         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
7390         file.
7391         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
7392         and include ...
7393         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
7394         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
7395         and include ...
7396         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
7397         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
7398         and include ...
7399         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
7400         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
7401         and include ...
7402         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
7403         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
7404         to, and include ...
7405         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
7406         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
7407         and include ...
7408         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
7410 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
7412         * math/libm-test-support.h: Do not include <math-tests-arch.h>
7413         here.
7414         * math/libm-test-support.c (libm_test_init): Do not call
7415         INIT_ARCH_EXT here.
7416         * math/libm-test-driver.c: Include <math-tests-arch.h>.
7417         (main): Call INIT_ARCH_EXT.
7419 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7421         [BZ #21130]
7422         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
7423         with the "invalid" exception raised when x is -Inf.
7424         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7426 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
7428         * string/bits/string2.h (strchr): Remove define.
7430 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
7432         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
7433         tst-avx512.
7434         (test-extras): Add tst-avx-aux and tst-avx512-aux.
7435         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
7436         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
7437         ($(objpfx)tst-sse): New rule.
7438         ($(objpfx)tst-avx): Likewise.
7439         ($(objpfx)tst-avx512): Likewise.
7440         (CFLAGS-tst-avx-aux.c): New.
7441         (CFLAGS-tst-avxmod.c): Likewise.
7442         (CFLAGS-tst-avx512-aux.c): Likewise.
7443         (CFLAGS-tst-avx512mod.c): Likewise.
7444         * sysdeps/x86_64/tst-avx-aux.c: New file.
7445         * sysdeps/x86_64/tst-avx.c: Likewise.
7446         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
7447         * sysdeps/x86_64/tst-avx512.c: Likewise.
7448         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
7449         * sysdeps/x86_64/tst-avxmod.c: Likewise.
7450         * sysdeps/x86_64/tst-sse.c: Likewise.
7451         * sysdeps/x86_64/tst-ssemod.c: Likewise.
7453 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
7455         * math/auto-libm-test-in: Add more tests of csin and csinh.
7456         * math/auto-libm-test-out-csin: Regenerated.
7457         * math/auto-libm-test-out-csinh: Likewise.
7458         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
7459         auto-libm-test-in.
7460         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
7462 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7464         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
7465         libm-compat-calls-auto.
7466         (libm-compat-calls): Likewise.
7467         (libm-compat-calls-auto): Rename to libm-compat-calls and add
7468         w_lgamma_compatF and k_standardF (merged from the items above).
7469         (libm-routines): Use libm-compat-calls, instead of
7470         libm-compat-calls-auto, with type-foreach.
7472 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
7474         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
7475         macro.
7476         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
7477         (CFLAGS-test-ifloat.c): ... this.  Remove
7478         -U__LIBC_INTERNAL_MATH_INLINES.
7479         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
7480         (CFLAGS-test-idouble.c): ... this.  Remove
7481         -U__LIBC_INTERNAL_MATH_INLINES.
7482         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
7483         (CFLAGS-test-ildouble.c): ... this.  Remove
7484         -U__LIBC_INTERNAL_MATH_INLINES.
7486 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
7488         * math/libm-test-support.c: New file.  Content from
7489         math/libm-test-driver.c.
7490         * math/libm-test-support.h: Likewise.
7491         * math/libm-test-support-double.c: New file.
7492         * math/libm-test-support-float.c: Likewise.
7493         * math/libm-test-support-ldouble.c: Likewise.
7494         * math/libm-test-driver.c: Remove main comment and header
7495         includes.  Include libm-test-support.h.
7496         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
7497         (flag_test_errno): Remove static.
7498         (flag_test_exceptions): Likewise.
7499         (flag_test_finite): Likewise.
7500         (flag_test_inline): Likewise.
7501         (flag_test_mathvec): Likewise.
7502         (test_msg): Likewise.
7503         (NO_EXCEPTION): Remove.
7504         (INVALID_EXCEPTION): Likewise.
7505         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
7506         (OVERFLOW_EXCEPTION): Likewise.
7507         (UNDERFLOW_EXCEPTION): Likewise.
7508         (INEXACT_EXCEPTION): Likewise.
7509         (INVALID_EXCEPTION_OK): Likewise.
7510         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7511         (OVERFLOW_EXCEPTION_OK): Likewise.
7512         (UNDERFLOW_EXCEPTION_OK): Likewise.
7513         (NO_INEXACT_EXCEPTION): Likewise.
7514         (EXCEPTIONS_OK): Likewise.
7515         (IGNORE_ZERO_INF_SIGN): Likewise.
7516         (TEST_NAN_SIGN): Likewise.
7517         (TEST_NAN_PAYLOAD): Likewise.
7518         (NO_TEST_INLINE): Likewise.
7519         (XFAIL_TEST): Likewise.
7520         (ERRNO_UNCHANGED): Likewise.
7521         (ERRNO_EDOM): Likewise.
7522         (ERRNO_ERANGE): Likewise.
7523         (IGNORE_RESULT): Likewise.
7524         (NON_FINITE): Likewise.
7525         (TEST_SNAN): Likewise.
7526         (NO_TEST_MATHVEC): Likewise.
7527         (__CONCATX): Likewise.
7528         (TYPE_MIN): Likewise.
7529         (TYPE_TRUE_MIN): Likewise.
7530         (TYPE_MAX): Likewise.
7531         (MIN_EXP): Likewise.
7532         (MAX_EXP): Likewise.
7533         (MANT_DIG): Likewise.
7534         (FSTR_MAX): Likewise.
7535         (ulp_idx): Likewise.
7536         (qtype_str): Remove static.
7537         (TEST_COND_binary32): Remove.
7538         (TEST_COND_binary64): Likewise.
7539         (TEST_COND_binary128): Likewise.
7540         (TEST_COND_ibm128): Likewise.
7541         (TEST_COND_intel96): Likewise.
7542         (TEST_COND_m68k96): Likewise.
7543         (TEST_COND_ibm128_libgcc): Likewise.
7544         (XFAIL_IBM128_LIBGCC): Likewise.
7545         (PAYLOAD_DIG): Likewise.
7546         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7547         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7548         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7549         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7550         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7551         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
7552         (TEST_COND_long32): Likewise.
7553         (TEST_COND_long64): Likewise.
7554         (TEST_COND_before_rounding): Likewise.
7555         (TEST_COND_after_rounding): Likewise.
7556         (ulps_file_name): Likewise.
7557         (ulps_file): Likewise.
7558         (output_ulps): Likewise.
7559         (output_dir): Likewise.
7560         (noErrors): Likewise.
7561         (noTests): Likewise.
7562         (noExcTests): Likewise.
7563         (noErrnoTests): Likewise.
7564         (verbose): Likewise.
7565         (output_max_error): Likewise.
7566         (output_points): Likewise.
7567         (ignore_max_ulp): Likewise.
7568         (max_error): Likewise.
7569         (real_max_error): Likewise.
7570         (imag_max_error): Likewise.
7571         (prev_max_error): Likewise.
7572         (prev_real_max_error): Likewise.
7573         (prev_imag_max_error): Likewise.
7574         (max_valid_error): Likewise.
7575         (TYPE_DECIMAL_DIG): Likewise.
7576         (TYPE_HEX_DIG): Likewise.
7577         (fmt_ftostr): Likewise.
7578         (compare_ulp_data): Likewise.
7579         (find_ulps): Likewise.
7580         (init_max_error): Likewise.
7581         (set_max_error): Likewise.
7582         (print_float): Likewise.
7583         (print_screen): Likewise.
7584         (print_screen_max_error): Likewise.
7585         (update_stats): Likewise.
7586         (print_function_ulps): Likewise.
7587         (print_complex_function_ulps): Likewise.
7588         (fpstack_test): Likewise.
7589         (print_max_error): Likewise.
7590         (print_complex_max_error): Likewise.
7591         (test_single_exception): Likewise.
7592         (test_exceptions): Likewise.
7593         (test_single_errno): Likewise.
7594         (test_errno): Likewise.
7595         (ULPDIFF): Likewise.
7596         (ulp): Likewise.
7597         (check_float_internal): Likewise.
7598         (check_float): Likewise.
7599         (check_complex): Likewise.
7600         (check_int): Likewise.
7601         (check_long): Likewise.
7602         (check_bool): Likewise.
7603         (check_longlong): Likewise.
7604         (check_intmax_t): Likewise.
7605         (check_uintmax_t): Likewise.
7606         (enable_test): Likewise.
7607         (matherr): Likewise.
7608         (initialize): Likewise.
7609         (options): Likewise.
7610         (doc): Remove static.
7611         (argp): Likewise.
7612         (parse_opt): Remove.
7613         (check_ulp): Likewise.
7614         (libm_test_init): Likewise.
7615         (libm_test_finish): Likewise.
7616         * math/Makefile (libm-test-support): New variable.
7617         (test-extras): Add libm-test-support files.
7618         (extra-test-objs): Likewise.
7619         (CFLAGS-libm-test-support-float.c): New variable.
7620         (CFLAGS-libm-test-support-double.c): Likewise.
7621         (CFLAGS-libm-test-support-ldouble.c): Likewise.
7622         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
7623         libm-test-support objects.
7625 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7627         * math/Makefile (libm-calls): Move w_exp...
7628         (libm-compat-calls-auto): Here.
7630         * math/w_expl.c: Add suffix "_compat" to filename.
7631         * sysdeps/ia64/fpu/w_expl.c: Likewise.
7632         * sysdeps/ia64/fpu/w_expf.c: Likewise.
7633         * sysdeps/ia64/fpu/w_exp.c: Likewise.
7634         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7635         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7636         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7637         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
7638         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7640         * math/w_expl_compat.c: New file, copied from above.
7641         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
7642         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
7643         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
7644         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
7645         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
7646         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
7647         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
7648         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
7650         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
7651         to filename.
7652         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
7654         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
7655         copied from above and adjusted for the new filenames.
7656         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
7658 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7660         * math/Makefile (libm-calls): Move w_lgammaF...
7661         (libm-compat-calls-auto): Here.
7663         * math/w_lgamma.c: Add suffix "_compat2" to filename.
7664         * math/w_lgammaf.c: Likewise.
7665         * math/w_lgammal.c: Likewise.
7667         * math/w_lgamma_compat2.c: New file, copied from above.
7668         * math/w_lgammaf_compat2.c: Likewise.
7669         * math/w_lgammal_compat2.c: Likewise.
7671 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7673         * math/Makefile (libm-calls): Move w_lgammaF_r...
7674         (libm-compat-calls-auto): Here.
7676         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
7677         * math/w_lgammaf_r.c: Likewise.
7678         * math/w_lgammal_r.c: Likewise.
7679         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
7680         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
7681         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
7683         * math/w_lgamma_r_compat.c: New file, copied from above.
7684         * math/w_lgammaf_r_compat.c: Likewise.
7685         * math/w_lgammal_r_compat.c: Likewise.
7686         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
7687         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
7688         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
7690         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
7691         to filename.
7692         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
7694         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
7695         copied from above and adjusted for the new filenames.
7696         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
7698 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
7700         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
7701         calculation in SYSCALL_ERROR_HANDLER().
7703 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
7705         * manual/contrib.texi: Fix typo.
7707 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7709         [BZ #21109]
7710         * elf/dl-tunable-types.h (tunable_callback_t): Accept
7711         tunable_val_t as argument.
7712         * elf/dl-tunables.c (__tunable_set_val): Add comment.
7713         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
7714         argument.
7715         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
7717 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
7719         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
7720         Add PTRACE_EVENT_STOP.
7721         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7722         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7723         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7724         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7725         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
7726         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
7728 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
7730         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
7731         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
7732         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
7733         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
7734         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
7735         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
7736         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
7737         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
7738         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
7739         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
7741         [BZ #21112]
7742         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
7743         12 bits zero.
7744         (cp_l): Update for new value of cp_h.
7745         * math/auto-libm-test-in: Add another test of pow.
7746         * math/auto-libm-test-out-pow: Regenerated.
7748 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7750         * manual/contrib.texi: Fix typo.
7752 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7754         [BZ #15998]
7755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7756         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
7757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7759 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7761         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
7762         STRCHR as __strchr_power8.
7763         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
7764         strlen as __strlen_power8.
7766 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7768         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
7769         unaligned load for shorter strings.
7770         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
7772 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7774         * math/libm-test-driver.c (flag_test_errno): New variable.
7775         (flag_test_exceptions): Likewise.
7776         (flag_test_finite): Likewise.
7777         (flag_test_inline): Likewise.
7778         (flag_test_mathvec): Likewise.
7779         (test_msg): Likewise.
7780         (ulp_idx): Likewise.
7781         (qtype_str): Likewise.
7782         (ULP_IDX): Remove macro.
7783         (QTYPE_STR): Likewise.
7784         (find_ulps): Use ulp_idx not ULP_IDX.
7785         (print_function_ulps): Use qtype_str, printed with %s, not
7786         QTYPE_STR, printed with concatentation to format string.
7787         (print_complex_function_ulps): Likewise.
7788         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
7789         (test_errno): Use flag_test_errno not TEST_ERRNO.
7790         (enable_test): Use flag_test_inline, flag_test_finite and
7791         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
7792         TEST_MATHVEC.
7793         (libm_test_init): New function.  Factored out of main.
7794         (libm_test_finish): Likewise.
7795         (main): Call libm_test_init and libm_test_finish and move most
7796         code to those functions.
7798         * math/libm-test-driver.c (STRX): New macro.
7799         (STR): Likewise.
7800         (STR_FLOAT): Likewise.
7801         (STR_VEC_LEN): Likewise.
7802         (TEST_MSG): Likewise.  Define here instead of expecting to be
7803         defined by including file.
7804         * math/test-double-finite.c (TEST_MSG): Remove macro.
7805         * math/test-double-vlen2.h (TEST_MSG): Likewise.
7806         * math/test-double-vlen4.h (TEST_MSG): Likewise.
7807         * math/test-double-vlen8.h (TEST_MSG): Likewise.
7808         * math/test-double.c (TEST_MSG): Likewise.
7809         * math/test-float-finite.c (TEST_MSG): Likewise.
7810         * math/test-float-vlen16.h (TEST_MSG): Likewise.
7811         * math/test-float-vlen4.h (TEST_MSG): Likewise.
7812         * math/test-float-vlen8.h (TEST_MSG): Likewise.
7813         * math/test-float.c (TEST_MSG): Likewise.
7814         * math/test-idouble.c (TEST_MSG): Likewise.
7815         * math/test-ifloat.c (TEST_MSG): Likewise.
7816         * math/test-ildouble.c (TEST_MSG): Likewise.
7817         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
7818         * math/test-ldouble.c (TEST_MSG): Likewise.
7820         * math/libm-test.inc: Move all tests of individual functions to
7821         libm-test-*.inc and #include libm-test-*.c files.
7822         (acos_test_data): Remove.
7823         (acos_test): Likewise.
7824         (acosh_test_data): Likewise.
7825         (acosh_test): Likewise.
7826         (asin_test_data): Likewise.
7827         (asin_test): Likewise.
7828         (asinh_test_data): Likewise.
7829         (asinh_test): Likewise.
7830         (atan_test_data): Likewise.
7831         (atan_test): Likewise.
7832         (atanh_test_data): Likewise.
7833         (atanh_test): Likewise.
7834         (atan2_test_data): Likewise.
7835         (atan2_test): Likewise.
7836         (cabs_test_data): Likewise.
7837         (cabs_test): Likewise.
7838         (cacos_test_data): Likewise.
7839         (cacos_test): Likewise.
7840         (cacosh_test_data): Likewise.
7841         (cacosh_test): Likewise.
7842         (canonicalize_test_data): Likewise.
7843         (canonicalize_test): Likewise.
7844         (carg_test_data): Likewise.
7845         (carg_test): Likewise.
7846         (casin_test_data): Likewise.
7847         (casin_test): Likewise.
7848         (casinh_test_data): Likewise.
7849         (casinh_test): Likewise.
7850         (catan_test_data): Likewise.
7851         (catan_test): Likewise.
7852         (catanh_test_data): Likewise.
7853         (catanh_test): Likewise.
7854         (cbrt_test_data): Likewise.
7855         (cbrt_test): Likewise.
7856         (ccos_test_data): Likewise.
7857         (ccos_test): Likewise.
7858         (ccosh_test_data): Likewise.
7859         (ccosh_test): Likewise.
7860         (ceil_test_data): Likewise.
7861         (ceil_test): Likewise.
7862         (cexp_test_data): Likewise.
7863         (cexp_test): Likewise.
7864         (cimag_test_data): Likewise.
7865         (cimag_test): Likewise.
7866         (clog_test_data): Likewise.
7867         (clog_test): Likewise.
7868         (clog10_test_data): Likewise.
7869         (clog10_test): Likewise.
7870         (conj_test_data): Likewise.
7871         (conj_test): Likewise.
7872         (copysign_test_data): Likewise.
7873         (copysign_test): Likewise.
7874         (cos_test_data): Likewise.
7875         (cos_test): Likewise.
7876         (cosh_test_data): Likewise.
7877         (cosh_test): Likewise.
7878         (cpow_test_data): Likewise.
7879         (cpow_test): Likewise.
7880         (cproj_test_data): Likewise.
7881         (cproj_test): Likewise.
7882         (creal_test_data): Likewise.
7883         (creal_test): Likewise.
7884         (csin_test_data): Likewise.
7885         (csin_test): Likewise.
7886         (csinh_test_data): Likewise.
7887         (csinh_test): Likewise.
7888         (csqrt_test_data): Likewise.
7889         (csqrt_test): Likewise.
7890         (ctan_test_data): Likewise.
7891         (ctan_test): Likewise.
7892         (ctanh_test_data): Likewise.
7893         (ctanh_test): Likewise.
7894         (erf_test_data): Likewise.
7895         (erf_test): Likewise.
7896         (erfc_test_data): Likewise.
7897         (erfc_test): Likewise.
7898         (exp_test_data): Likewise.
7899         (exp_test): Likewise.
7900         (exp10_test_data): Likewise.
7901         (exp10_test): Likewise.
7902         (pow10_test): Likewise.
7903         (exp2_test_data): Likewise.
7904         (exp2_test): Likewise.
7905         (expm1_test_data): Likewise.
7906         (expm1_test): Likewise.
7907         (fabs_test_data): Likewise.
7908         (fabs_test): Likewise.
7909         (fdim_test_data): Likewise.
7910         (fdim_test): Likewise.
7911         (floor_test_data): Likewise.
7912         (floor_test): Likewise.
7913         (fma_test_data): Likewise.
7914         (fma_test): Likewise.
7915         (fmax_test_data): Likewise.
7916         (fmax_test): Likewise.
7917         (fmaxmag_test_data): Likewise.
7918         (fmaxmag_test): Likewise.
7919         (fmin_test_data): Likewise.
7920         (fmin_test): Likewise.
7921         (fminmag_test_data): Likewise.
7922         (fminmag_test): Likewise.
7923         (fmod_test_data): Likewise.
7924         (fmod_test): Likewise.
7925         (fpclassify_test_data): Likewise.
7926         (fpclassify_test): Likewise.
7927         (frexp_test_data): Likewise.
7928         (frexp_test): Likewise.
7929         (fromfp_test_data): Likewise.
7930         (fromfp_test): Likewise.
7931         (fromfpx_test_data): Likewise.
7932         (fromfpx_test): Likewise.
7933         (getpayload_test_data): Likewise.
7934         (getpayload_test): Likewise.
7935         (hypot_test_data): Likewise.
7936         (hypot_test): Likewise.
7937         (ilogb_test_data): Likewise.
7938         (ilogb_test): Likewise.
7939         (iscanonical_test_data): Likewise.
7940         (iscanonical_test): Likewise.
7941         (iseqsig_test_data): Likewise.
7942         (iseqsig_test): Likewise.
7943         (isfinite_test_data): Likewise.
7944         (isfinite_test): Likewise.
7945         (finite_test): Likewise.
7946         (isgreater_test_data): Likewise.
7947         (isgreater_test): Likewise.
7948         (isgreaterequal_test_data): Likewise.
7949         (isgreaterequal_test): Likewise.
7950         (isinf_test_data): Likewise.
7951         (isinf_test): Likewise.
7952         (isless_test_data): Likewise.
7953         (isless_test): Likewise.
7954         (islessequal_test_data): Likewise.
7955         (islessequal_test): Likewise.
7956         (islessgreater_test_data): Likewise.
7957         (islessgreater_test): Likewise.
7958         (isnan_test_data): Likewise.
7959         (isnan_test): Likewise.
7960         (isnormal_test_data): Likewise.
7961         (isnormal_test): Likewise.
7962         (issignaling_test_data): Likewise.
7963         (issignaling_test): Likewise.
7964         (issubnormal_test_data): Likewise.
7965         (issubnormal_test): Likewise.
7966         (isunordered_test_data): Likewise.
7967         (isunordered_test): Likewise.
7968         (iszero_test_data): Likewise.
7969         (iszero_test): Likewise.
7970         (j0_test_data): Likewise.
7971         (j0_test): Likewise.
7972         (j1_test_data): Likewise.
7973         (j1_test): Likewise.
7974         (jn_test_data): Likewise.
7975         (jn_test): Likewise.
7976         (lgamma_test_data): Likewise.
7977         (lgamma_test): Likewise.
7978         (gamma_test): Likewise.
7979         (llogb_test_data): Likewise.
7980         (llogb_test): Likewise.
7981         (lrint_test_data): Likewise.
7982         (lrint_test): Likewise.
7983         (llrint_test_data): Likewise.
7984         (llrint_test): Likewise.
7985         (log_test_data): Likewise.
7986         (log_test): Likewise.
7987         (log10_test_data): Likewise.
7988         (log10_test): Likewise.
7989         (log1p_test_data): Likewise.
7990         (log1p_test): Likewise.
7991         (log2_test_data): Likewise.
7992         (log2_test): Likewise.
7993         (logb_test_data): Likewise.
7994         (logb_test): Likewise.
7995         (lround_test_data): Likewise.
7996         (lround_test): Likewise.
7997         (llround_test_data): Likewise.
7998         (llround_test): Likewise.
7999         (modf_test_data): Likewise.
8000         (modf_test): Likewise.
8001         (nearbyint_test_data): Likewise.
8002         (nearbyint_test): Likewise.
8003         (nextafter_test_data): Likewise.
8004         (nextafter_test): Likewise.
8005         (nextup_test_data): Likewise.
8006         (nextup_test): Likewise.
8007         (nextdown_test_data): Likewise.
8008         (nextdown_test): Likewise.
8009         (nexttoward_test_data): Likewise.
8010         (nexttoward_test): Likewise.
8011         (pow_test_data): Likewise.
8012         (pow_test): Likewise.
8013         (remainder_test_data): Likewise.
8014         (remainder_test): Likewise.
8015         (drem_test): Likewise.
8016         (remquo_test_data): Likewise.
8017         (remquo_test): Likewise.
8018         (rint_test_data): Likewise.
8019         (rint_test): Likewise.
8020         (round_test_data): Likewise.
8021         (round_test): Likewise.
8022         (roundeven_test_data): Likewise.
8023         (roundeven_test): Likewise.
8024         (scalb_test_data): Likewise.
8025         (scalb_test): Likewise.
8026         (scalbn_test_data): Likewise.
8027         (scalbn_test): Likewise.
8028         (ldexp_test): Likewise.
8029         (scalbln_test_data): Likewise.
8030         (scalbln_test): Likewise.
8031         (setpayload_test_data): Likewise.
8032         (setpayload_test): Likewise.
8033         (setpayloadsig_test_data): Likewise.
8034         (setpayloadsig_test): Likewise.
8035         (signbit_test_data): Likewise.
8036         (signbit_test): Likewise.
8037         (sin_test_data): Likewise.
8038         (sin_test): Likewise.
8039         (sincos_test_data): Likewise.
8040         (sincos_test): Likewise.
8041         (sinh_test_data): Likewise.
8042         (sinh_test): Likewise.
8043         (sqrt_test_data): Likewise.
8044         (sqrt_test): Likewise.
8045         (tan_test_data): Likewise.
8046         (tan_test): Likewise.
8047         (tanh_test_data): Likewise.
8048         (tanh_test): Likewise.
8049         (tgamma_test_data): Likewise.
8050         (tgamma_test): Likewise.
8051         (totalorder_test_data): Likewise.
8052         (totalorder_test): Likewise.
8053         (totalordermag_test_data): Likewise.
8054         (totalordermag_test): Likewise.
8055         (trunc_test_data): Likewise.
8056         (trunc_test): Likewise.
8057         (ufromfp_test_data): Likewise.
8058         (ufromfp_test): Likewise.
8059         (ufromfpx_test_data): Likewise.
8060         (ufromfpx_test): Likewise.
8061         (y0_test_data): Likewise.
8062         (y0_test): Likewise.
8063         (y1_test_data): Likewise.
8064         (y1_test): Likewise.
8065         (yn_test_data): Likewise.
8066         (yn_test): Likewise.
8067         (significand_test_data): Likewise.
8068         (significand_test): Likewise.
8069         * math/Makefile (auto-libm-test-out-files): Remove variable.
8070         (libm-test-funcs-noauto): New variable.
8071         (libm-test-funcs-all): Likewise.
8072         (libm-test-c-auto): Likewise.
8073         (libm-test-c-noauto): Likewise.
8074         (libm-tests-generated): Add $(libm-test-c-auto) and
8075         $(libm-test-c-noauto).
8076         (generated): Do not add auto-libm-test-out.
8077         (libm-test-c-auto-obj): New variable.
8078         (libm-test-c-noauto-obj): Likewise.
8079         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
8080         ($(libm-test-c-noauto-obj)): New static pattern rule.
8081         ($(libm-test-c-auto-obj)): Likewise.
8082         (libm-test-incs): New variable.
8083         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
8084         and pass it to gen-libm-have-vector-test.sh.
8085         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
8086         be passed on command line.
8087         * math/libm-test-acos.inc: New file.  Content from
8088         math/libm-test.inc.
8089         * math/libm-test-acosh.inc: Likewise.
8090         * math/libm-test-asin.inc: Likewise.
8091         * math/libm-test-asinh.inc: Likewise.
8092         * math/libm-test-atan.inc: Likewise.
8093         * math/libm-test-atan2.inc: Likewise.
8094         * math/libm-test-atanh.inc: Likewise.
8095         * math/libm-test-cabs.inc: Likewise.
8096         * math/libm-test-cacos.inc: Likewise.
8097         * math/libm-test-cacosh.inc: Likewise.
8098         * math/libm-test-canonicalize.inc: Likewise.
8099         * math/libm-test-carg.inc: Likewise.
8100         * math/libm-test-casin.inc: Likewise.
8101         * math/libm-test-casinh.inc: Likewise.
8102         * math/libm-test-catan.inc: Likewise.
8103         * math/libm-test-catanh.inc: Likewise.
8104         * math/libm-test-cbrt.inc: Likewise.
8105         * math/libm-test-ccos.inc: Likewise.
8106         * math/libm-test-ccosh.inc: Likewise.
8107         * math/libm-test-ceil.inc: Likewise.
8108         * math/libm-test-cexp.inc: Likewise.
8109         * math/libm-test-cimag.inc: Likewise.
8110         * math/libm-test-clog.inc: Likewise.
8111         * math/libm-test-clog10.inc: Likewise.
8112         * math/libm-test-conj.inc: Likewise.
8113         * math/libm-test-copysign.inc: Likewise.
8114         * math/libm-test-cos.inc: Likewise.
8115         * math/libm-test-cosh.inc: Likewise.
8116         * math/libm-test-cpow.inc: Likewise.
8117         * math/libm-test-cproj.inc: Likewise.
8118         * math/libm-test-creal.inc: Likewise.
8119         * math/libm-test-csin.inc: Likewise.
8120         * math/libm-test-csinh.inc: Likewise.
8121         * math/libm-test-csqrt.inc: Likewise.
8122         * math/libm-test-ctan.inc: Likewise.
8123         * math/libm-test-ctanh.inc: Likewise.
8124         * math/libm-test-erf.inc: Likewise.
8125         * math/libm-test-erfc.inc: Likewise.
8126         * math/libm-test-exp.inc: Likewise.
8127         * math/libm-test-exp10.inc: Likewise.
8128         * math/libm-test-exp2.inc: Likewise.
8129         * math/libm-test-expm1.inc: Likewise.
8130         * math/libm-test-fabs.inc: Likewise.
8131         * math/libm-test-fdim.inc: Likewise.
8132         * math/libm-test-floor.inc: Likewise.
8133         * math/libm-test-fma.inc: Likewise.
8134         * math/libm-test-fmax.inc: Likewise.
8135         * math/libm-test-fmaxmag.inc: Likewise.
8136         * math/libm-test-fmin.inc: Likewise.
8137         * math/libm-test-fminmag.inc: Likewise.
8138         * math/libm-test-fmod.inc: Likewise.
8139         * math/libm-test-fpclassify.inc: Likewise.
8140         * math/libm-test-frexp.inc: Likewise.
8141         * math/libm-test-fromfp.inc: Likewise.
8142         * math/libm-test-fromfpx.inc: Likewise.
8143         * math/libm-test-getpayload.inc: Likewise.
8144         * math/libm-test-hypot.inc: Likewise.
8145         * math/libm-test-ilogb.inc: Likewise.
8146         * math/libm-test-iscanonical.inc: Likewise.
8147         * math/libm-test-iseqsig.inc: Likewise.
8148         * math/libm-test-isfinite.inc: Likewise.
8149         * math/libm-test-isgreater.inc: Likewise.
8150         * math/libm-test-isgreaterequal.inc: Likewise.
8151         * math/libm-test-isinf.inc: Likewise.
8152         * math/libm-test-isless.inc: Likewise.
8153         * math/libm-test-islessequal.inc: Likewise.
8154         * math/libm-test-islessgreater.inc: Likewise.
8155         * math/libm-test-isnan.inc: Likewise.
8156         * math/libm-test-isnormal.inc: Likewise.
8157         * math/libm-test-issignaling.inc: Likewise.
8158         * math/libm-test-issubnormal.inc: Likewise.
8159         * math/libm-test-isunordered.inc: Likewise.
8160         * math/libm-test-iszero.inc: Likewise.
8161         * math/libm-test-j0.inc: Likewise.
8162         * math/libm-test-j1.inc: Likewise.
8163         * math/libm-test-jn.inc: Likewise.
8164         * math/libm-test-lgamma.inc: Likewise.
8165         * math/libm-test-llogb.inc: Likewise.
8166         * math/libm-test-llrint.inc: Likewise.
8167         * math/libm-test-llround.inc: Likewise.
8168         * math/libm-test-log.inc: Likewise.
8169         * math/libm-test-log10.inc: Likewise.
8170         * math/libm-test-log1p.inc: Likewise.
8171         * math/libm-test-log2.inc: Likewise.
8172         * math/libm-test-logb.inc: Likewise.
8173         * math/libm-test-lrint.inc: Likewise.
8174         * math/libm-test-lround.inc: Likewise.
8175         * math/libm-test-modf.inc: Likewise.
8176         * math/libm-test-nearbyint.inc: Likewise.
8177         * math/libm-test-nextafter.inc: Likewise.
8178         * math/libm-test-nextdown.inc: Likewise.
8179         * math/libm-test-nexttoward.inc: Likewise.
8180         * math/libm-test-nextup.inc: Likewise.
8181         * math/libm-test-pow.inc: Likewise.
8182         * math/libm-test-remainder.inc: Likewise.
8183         * math/libm-test-remquo.inc: Likewise.
8184         * math/libm-test-rint.inc: Likewise.
8185         * math/libm-test-round.inc: Likewise.
8186         * math/libm-test-roundeven.inc: Likewise.
8187         * math/libm-test-scalb.inc: Likewise.
8188         * math/libm-test-scalbln.inc: Likewise.
8189         * math/libm-test-scalbn.inc: Likewise.
8190         * math/libm-test-setpayload.inc: Likewise.
8191         * math/libm-test-setpayloadsig.inc: Likewise.
8192         * math/libm-test-signbit.inc: Likewise.
8193         * math/libm-test-significand.inc: Likewise.
8194         * math/libm-test-sin.inc: Likewise.
8195         * math/libm-test-sincos.inc: Likewise.
8196         * math/libm-test-sinh.inc: Likewise.
8197         * math/libm-test-sqrt.inc: Likewise.
8198         * math/libm-test-tan.inc: Likewise.
8199         * math/libm-test-tanh.inc: Likewise.
8200         * math/libm-test-tgamma.inc: Likewise.
8201         * math/libm-test-totalorder.inc: Likewise.
8202         * math/libm-test-totalordermag.inc: Likewise.
8203         * math/libm-test-trunc.inc: Likewise.
8204         * math/libm-test-ufromfp.inc: Likewise.
8205         * math/libm-test-ufromfpx.inc: Likewise.
8206         * math/libm-test-y0.inc: Likewise.
8207         * math/libm-test-y1.inc: Likewise.
8208         * math/libm-test-yn.inc: Likewise.
8209         * math/README.libm-test: Update.
8211         * math/gen-auto-libm-tests.c: Update comment about use of program.
8212         (generate_output): Add argument FUNCTION.
8213         (main): Require extra argument.  Pass function name to
8214         generate_output.
8215         * math/Makefile (generated): Add auto-libm-test-out.
8216         (libm-test-funcs-auto): New variable.
8217         (auto-libm-test-out-files): New variable.
8218         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
8219         Concatenate those files to form $(objpfx)auto-libm-test-out and
8220         use it as input to gen-libm-test.pl.
8221         * math/README.libm-test: Update.
8222         * math/auto-libm-test-out: Remove.
8223         * math/auto-libm-test-out-acos: New generated file.
8224         * math/auto-libm-test-out-acosh: Likewise.
8225         * math/auto-libm-test-out-asin: Likewise.
8226         * math/auto-libm-test-out-asinh: Likewise.
8227         * math/auto-libm-test-out-atan: Likewise.
8228         * math/auto-libm-test-out-atan2: Likewise.
8229         * math/auto-libm-test-out-atanh: Likewise.
8230         * math/auto-libm-test-out-cabs: Likewise.
8231         * math/auto-libm-test-out-carg: Likewise.
8232         * math/auto-libm-test-out-cbrt: Likewise.
8233         * math/auto-libm-test-out-ccos: Likewise.
8234         * math/auto-libm-test-out-ccosh: Likewise.
8235         * math/auto-libm-test-out-cexp: Likewise.
8236         * math/auto-libm-test-out-clog: Likewise.
8237         * math/auto-libm-test-out-clog10: Likewise.
8238         * math/auto-libm-test-out-cos: Likewise.
8239         * math/auto-libm-test-out-cosh: Likewise.
8240         * math/auto-libm-test-out-cpow: Likewise.
8241         * math/auto-libm-test-out-csin: Likewise.
8242         * math/auto-libm-test-out-csinh: Likewise.
8243         * math/auto-libm-test-out-csqrt: Likewise.
8244         * math/auto-libm-test-out-ctan: Likewise.
8245         * math/auto-libm-test-out-ctanh: Likewise.
8246         * math/auto-libm-test-out-erf: Likewise.
8247         * math/auto-libm-test-out-erfc: Likewise.
8248         * math/auto-libm-test-out-exp: Likewise.
8249         * math/auto-libm-test-out-exp10: Likewise.
8250         * math/auto-libm-test-out-exp2: Likewise.
8251         * math/auto-libm-test-out-expm1: Likewise.
8252         * math/auto-libm-test-out-fma: Likewise.
8253         * math/auto-libm-test-out-hypot: Likewise.
8254         * math/auto-libm-test-out-j0: Likewise.
8255         * math/auto-libm-test-out-j1: Likewise.
8256         * math/auto-libm-test-out-jn: Likewise.
8257         * math/auto-libm-test-out-lgamma: Likewise.
8258         * math/auto-libm-test-out-log: Likewise.
8259         * math/auto-libm-test-out-log10: Likewise.
8260         * math/auto-libm-test-out-log1p: Likewise.
8261         * math/auto-libm-test-out-log2: Likewise.
8262         * math/auto-libm-test-out-pow: Likewise.
8263         * math/auto-libm-test-out-sin: Likewise.
8264         * math/auto-libm-test-out-sincos: Likewise.
8265         * math/auto-libm-test-out-sinh: Likewise.
8266         * math/auto-libm-test-out-sqrt: Likewise.
8267         * math/auto-libm-test-out-tan: Likewise.
8268         * math/auto-libm-test-out-tanh: Likewise.
8269         * math/auto-libm-test-out-tgamma: Likewise.
8270         * math/auto-libm-test-out-y0: Likewise.
8271         * math/auto-libm-test-out-y1: Likewise.
8272         * math/auto-libm-test-out-yn: Likewise.
8274         * math/Makefile (generated): Do not include libm-test.stmp.
8275         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
8276         on $(objpfx)libm-test.stmp.
8277         ($(objpfx)libm-test.stmp): Remove rule.
8278         ($(objpfx)libm-test-ulps.h): New rule.
8279         ($(objpfx)libm-test.c): Likewise.
8280         ($(objpfx)libm-have-vector-test.h): Likewise.
8281         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
8282         individual generated files, not libm-test.stmp.
8284         * math/gen-libm-test.pl ($output_dir): Remove variable.
8285         ($srcdir): Likewise.
8286         ($opt_a): New variable.
8287         ($opt_c): Likewise.
8288         ($opt_C): Likewise.
8289         ($opt_H): Likewise.
8290         (-n): Make option take argument and use it as NewUlps output.
8291         (-a): New option.  Use its argument for auto-libm-test-out input.
8292         (-c): New option.  Use its argument for libm-test.inc input.
8293         (-C): New option.  Use its argument for libm-test.c output.
8294         (-H): New option.  Use its argument for libm-test-ulps.h output.
8295         (top level): Only process inputs needed to generate outputs
8296         specified by command-line options.  Only generate outputs
8297         specified by command-line options.
8298         * math/README.libm-test: Update example gen-libm-test.pl command.
8299         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
8300         commands.
8301         (regen-ulps): Likewise.
8303 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
8305         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
8306         * include/string.h (index): Remove define.
8307         (rindex): Likewise.
8308         * misc/getttyent.c (__getttyent): Rename index to strchr.
8309         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
8310         * sunrpc/rpc_main.c (mkfile_output): Likewise.
8312 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8314         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
8315         * math/libm-test.inc: Move all contents, other than tests of
8316         individual functions, to libm-test-driver.c.
8317         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
8318         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
8319         [!FE_UPWARD] (FE_UPWARD): Likewise.
8320         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
8321         (NO_EXCEPTION): Likewise.
8322         (INVALID_EXCEPTION): Likewise.
8323         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8324         (OVERFLOW_EXCEPTION): Likewise.
8325         (UNDERFLOW_EXCEPTION): Likewise.
8326         (INEXACT_EXCEPTION): Likewise.
8327         (INVALID_EXCEPTION_OK): Likewise.
8328         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8329         (OVERFLOW_EXCEPTION_OK): Likewise.
8330         (UNDERFLOW_EXCEPTION_OK): Likewise.
8331         (NO_INEXACT_EXCEPTION): Likewise.
8332         (EXCEPTIONS_OK): Likewise.
8333         (IGNORE_ZERO_INF_SIGN): Likewise.
8334         (TEST_NAN_SIGN): Likewise.
8335         (TEST_NAN_PAYLOAD): Likewise.
8336         (NO_TEST_INLINE): Likewise.
8337         (XFAIL_TEST): Likewise.
8338         (ERRNO_UNCHANGED): Likewise.
8339         (ERRNO_EDOM): Likewise.
8340         (ERRNO_ERANGE): Likewise.
8341         (IGNORE_RESULT): Likewise.
8342         (NON_FINITE): Likewise.
8343         (TEST_SNAN): Likewise.
8344         (NO_TEST_MATHVEC): Likewise.
8345         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
8346         (__CONCATX): Likewise.
8347         (TYPE_MIN): Likewise.
8348         (TYPE_TRUE_MIN): Likewise.
8349         (TYPE_MAX): Likewise.
8350         (MIN_EXP): Likewise.
8351         (MAX_EXP): Likewise.
8352         (MANT_DIG): Likewise.
8353         (FSTR_MAX): Likewise.
8354         (ULP_IDX): Likewise.
8355         (QTYPE_STR): Likewise.
8356         (TEST_COND_binary32): Likewise.
8357         (TEST_COND_binary64): Likewise.
8358         (TEST_COND_binary128): Likewise.
8359         (TEST_COND_ibm128): Likewise.
8360         (TEST_COND_intel96): Likewise.
8361         (TEST_COND_m68k96): Likewise.
8362         (TEST_COND_ibm128_libgcc): Likewise.
8363         (XFAIL_IBM128_LIBGCC): Likewise.
8364         (PAYLOAD_DIG): Likewise.
8365         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8366         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8367         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8368         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8369         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8370         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8371         (TEST_COND_long32): Likewise.
8372         (TEST_COND_long64): Likewise.
8373         (TEST_COND_before_rounding): Likewise.
8374         (TEST_COND_after_rounding): Likewise.
8375         (lit_pi_3_m_4_d): Likewise.
8376         (lit_pi_3_m_4_ln10_m_d): Likewise.
8377         (lit_pi_2_ln10_m_d): Likewise.
8378         (lit_pi_4_ln10_m_d): Likewise.
8379         (lit_pi_ln10_d): Likewise.
8380         (lit_pi_2_d): Likewise.
8381         (lit_pi_4_d): Likewise.
8382         (lit_pi): Likewise.
8383         (lit_e): Likewise.
8384         (ulps_file_name): Likewise.
8385         (ulps_file): Likewise.
8386         (output_ulps): Likewise.
8387         (output_dir): Likewise.
8388         (noErrors): Likewise.
8389         (noTests): Likewise.
8390         (noExcTests): Likewise.
8391         (noErrnoTests): Likewise.
8392         (verbose): Likewise.
8393         (output_max_error): Likewise.
8394         (output_points): Likewise.
8395         (ignore_max_ulp): Likewise.
8396         (plus_zero): Likewise.
8397         (minus_zero): Likewise.
8398         (plus_infty): Likewise.
8399         (minus_infty): Likewise.
8400         (qnan_value_pl): Likewise.
8401         (qnan_value): Likewise.
8402         (snan_value_pl): Likewise.
8403         (snan_value): Likewise.
8404         (max_value): Likewise.
8405         (min_value): Likewise.
8406         (min_subnorm_value): Likewise.
8407         (snan_value_ld): Likewise.
8408         (max_error): Likewise.
8409         (real_max_error): Likewise.
8410         (imag_max_error): Likewise.
8411         (prev_max_error): Likewise.
8412         (prev_real_max_error): Likewise.
8413         (prev_imag_max_error): Likewise.
8414         (max_valid_error): Likewise.
8415         (TYPE_DECIMAL_DIG): Likewise.
8416         (TYPE_HEX_DIG): Likewise.
8417         (fmt_ftostr): Likewise.
8418         (compare_ulp_data): Likewise.
8419         (find_ulps): Likewise.
8420         (init_max_error): Likewise.
8421         (set_max_error): Likewise.
8422         (print_float): Likewise.
8423         (print_screen): Likewise.
8424         (print_screen_max_error): Likewise.
8425         (update_stats): Likewise.
8426         (print_function_ulps): Likewise.
8427         (print_complex_function_ulps): Likewise.
8428         (fpstack_test): Likewise.
8429         (print_max_error): Likewise.
8430         (print_complex_max_error): Likewise.
8431         (test_single_exception): Likewise.
8432         (test_exceptions): Likewise.
8433         (test_single_errno): Likewise.
8434         (test_errno): Likewise.
8435         (ULPDIFF): Likewise.
8436         (ulp): Likewise.
8437         (check_float_internal): Likewise.
8438         (check_float): Likewise.
8439         (check_complex): Likewise.
8440         (check_int): Likewise.
8441         (check_long): Likewise.
8442         (check_bool): Likewise.
8443         (check_longlong): Likewise.
8444         (check_intmax_t): Likewise.
8445         (check_uintmax_t): Likewise.
8446         (enable_test): Likewise.
8447         (struct test_f_f_data): Likewise.
8448         (struct test_ff_f_data): Likewise.
8449         (struct test_fj_f_data): Likewise.
8450         (struct test_fi_f_data): Likewise.
8451         (struct test_fl_f_data): Likewise.
8452         (struct test_if_f_data): Likewise.
8453         (struct test_fff_f_data): Likewise.
8454         (struct test_fiu_M_data): Likewise.
8455         (struct test_fiu_U_data): Likewise.
8456         (struct test_c_f_data): Likewise.
8457         (struct test_f_f1_data): Likewise.
8458         (struct test_fF_f1_data): Likewise.
8459         (struct test_ffI_f1_data): Likewise.
8460         (struct test_c_c_data): Likewise.
8461         (struct test_cc_c_data): Likewise.
8462         (struct test_f_i_data): Likewise.
8463         (struct test_ff_i_data): Likewise.
8464         (struct test_f_l_data): Likewise.
8465         (struct test_f_L_data): Likewise.
8466         (struct test_fFF_11_data): Likewise.
8467         (struct test_Ff_b1_data): Likewise.
8468         (IF_ROUND_INIT_): Likewise.
8469         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8470         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8471         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8472         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8473         (ROUND_RESTORE_): Likewise.
8474         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8475         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8476         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8477         (ROUND_RESTORE_FE_UPWARD): Likewise.
8478         (RM_): Likewise.
8479         (RM_FE_DOWNWARD): Likewise.
8480         (RM_FE_TONEAREST): Likewise.
8481         (RM_FE_TOWARDZERO): Likewise.
8482         (RM_FE_UPWARD): Likewise.
8483         (COMMON_TEST_SETUP): Likewise.
8484         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8485         (COMMON_TEST_CLEANUP): Likewise.
8486         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8487         (RUN_TEST_f_f): Likewise.
8488         (RUN_TEST_LOOP_f_f): Likewise.
8489         (RUN_TEST_fp_f): Likewise.
8490         (RUN_TEST_LOOP_fp_f): Likewise.
8491         (RUN_TEST_2_f): Likewise.
8492         (RUN_TEST_LOOP_2_f): Likewise.
8493         (RUN_TEST_ff_f): Likewise.
8494         (RUN_TEST_LOOP_ff_f): Likewise.
8495         (RUN_TEST_LOOP_fj_f): Likewise.
8496         (RUN_TEST_fi_f): Likewise.
8497         (RUN_TEST_LOOP_fi_f): Likewise.
8498         (RUN_TEST_fl_f): Likewise.
8499         (RUN_TEST_LOOP_fl_f): Likewise.
8500         (RUN_TEST_if_f): Likewise.
8501         (RUN_TEST_LOOP_if_f): Likewise.
8502         (RUN_TEST_fff_f): Likewise.
8503         (RUN_TEST_LOOP_fff_f): Likewise.
8504         (RUN_TEST_fiu_M): Likewise.
8505         (RUN_TEST_LOOP_fiu_M): Likewise.
8506         (RUN_TEST_fiu_U): Likewise.
8507         (RUN_TEST_LOOP_fiu_U): Likewise.
8508         (RUN_TEST_c_f): Likewise.
8509         (RUN_TEST_LOOP_c_f): Likewise.
8510         (RUN_TEST_f_f1): Likewise.
8511         (RUN_TEST_LOOP_f_f1): Likewise.
8512         (RUN_TEST_fF_f1): Likewise.
8513         (RUN_TEST_LOOP_fF_f1): Likewise.
8514         (RUN_TEST_fI_f1): Likewise.
8515         (RUN_TEST_LOOP_fI_f1): Likewise.
8516         (RUN_TEST_ffI_f1_mod8): Likewise.
8517         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
8518         (RUN_TEST_Ff_b1): Likewise.
8519         (RUN_TEST_LOOP_Ff_b1): Likewise.
8520         (RUN_TEST_Ffp_b1): Likewise.
8521         (RUN_TEST_LOOP_Ffp_b1): Likewise.
8522         (RUN_TEST_c_c): Likewise.
8523         (RUN_TEST_LOOP_c_c): Likewise.
8524         (RUN_TEST_cc_c): Likewise.
8525         (RUN_TEST_LOOP_cc_c): Likewise.
8526         (RUN_TEST_f_i): Likewise.
8527         (RUN_TEST_LOOP_f_i): Likewise.
8528         (RUN_TEST_f_i_tg): Likewise.
8529         (RUN_TEST_LOOP_f_i_tg): Likewise.
8530         (RUN_TEST_ff_b): Likewise.
8531         (RUN_TEST_LOOP_ff_b): Likewise.
8532         (RUN_TEST_ff_i_tg): Likewise.
8533         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8534         (RUN_TEST_f_b): Likewise.
8535         (RUN_TEST_LOOP_f_b): Likewise.
8536         (RUN_TEST_f_b_tg): Likewise.
8537         (RUN_TEST_LOOP_f_b_tg): Likewise.
8538         (RUN_TEST_f_l): Likewise.
8539         (RUN_TEST_LOOP_f_l): Likewise.
8540         (RUN_TEST_f_L): Likewise.
8541         (RUN_TEST_LOOP_f_L): Likewise.
8542         (RUN_TEST_fFF_11): Likewise.
8543         (RUN_TEST_LOOP_fFF_11): Likewise.
8544         (VEC_SUFF): Likewise.
8545         (STR_CONCAT): Likewise.
8546         (STR_CON3): Likewise.
8547         (HAVE_VECTOR): Likewise.
8548         (START): Likewise.
8549         (END): Likewise.
8550         (END_COMPLEX): Likewise.
8551         (ALL_RM_TEST): Likewise.
8552         (matherr): Likewise.
8553         (initialize): Likewise.
8554         (options): Likewise.
8555         (doc): Likewise.
8556         (parse_opt): Likewise.
8557         (argp): Likewise.
8558         (check_ulp): Likewise.
8559         (main): Likewise.
8560         (do_test): New function.  Call tests of individual functions
8561         previously called from main.
8563         * math/libm-test.inc: Remove comment listing functions tested and
8564         not tested.
8566 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8568         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
8569         (allocate_stack): Remove COLORING_INCREMENT usage.
8570         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
8571         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
8573 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8575         * manual/libm-err-tab.pl (@all_functions): Change to
8576         %all_functions.  Initialize as empty.
8577         (parse_ulps): Add to %all_functions based on functions found in
8578         ulps files.  Ignore results for non-default rounding modes and
8579         vector functions.
8580         (print_platforms): Use %all_platforms.
8581         * manual/math.texi (Errors in Math Functions): Document omissions
8582         from the table.
8584         * math/Makefile (before-compile): Remove.
8586 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
8588         [BZ #21075]
8589         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
8590         unused assignment.
8591         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8593 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8595         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
8596         Add __glibc_unlikely hint.
8598 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8600         [BZ #16640]
8601         * sysdeps/i386/i686/strtok.S: Remove file.
8602         * sysdeps/i386/i686/strtok_r.S: Likewise.
8603         * sysdeps/i386/strtok.S: Likewise.
8604         * sysdeps/i386/strtok_r.S: Likewise.
8605         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
8606         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
8607         * sysdeps/x86_64/strtok.S: Likewise.
8608         * sysdeps/x86_64/strtok_r.S: Likewise.
8610         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
8611         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8612         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8613         (__ASSUME_FADVISE64_AS_64_64): Define.
8614         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
8615         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
8616         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
8617         __ALIGNMENT_ARG usage.
8618         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
8619         __NR_fadvise64_64 if it is not defined.
8621 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8623         * version.h (RELEASE): Set to "development"
8624         (VERSION): Set to 2.25.90.
8625         * NEWS: Add 2.26 section.
8627         * version.h (RELEASE): Set to "stable"
8628         (VERSION): Set to 2.25.
8629         * include/features.h (__GLIBC_MINOR__): Set to 25.
8631         * manual/contrib.texi: Add more contributors from this release
8632         and past releases.
8634         * NEWS (2.25): Add list of bugs fixed.
8636         * NEWS: Add missing news items.
8638 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8640         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
8641         parent if child exited in that manner.  Print WEXITSTATUS
8642         instead of the raw status.
8643         (do_test_prep): Rename to do_test.
8644         (do_test): Return the result of run_executable_sgid.
8645         (TEST_FUNCTION_ARGV): Adjust.
8647 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
8648             Florian Weimer  <fweimer@redhat.com>
8649             Carlos O'Donell  <carlos@redhat.com>
8651         [BZ #20915]
8652         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
8653         Do not initialize DTV.
8654         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8656 2017-02-03  David S. Miller  <davem@davemloft.net>
8658         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
8659         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8660         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
8661         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8662         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
8663         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8664         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
8665         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8666         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8667         (libm-sysdep_routines): Update.
8668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
8669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
8670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
8672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8673         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
8674         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
8675         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
8676         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
8677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
8678         Likewise.
8679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
8681         Likewise.
8682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
8684         Likewise.
8685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
8687         Likewise.
8688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8690         (libm-sysdep_routines): Update.
8692 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
8694         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
8695         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
8696         against unrelocated shared library.
8697         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8699 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8701         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
8702         * elf/tst-env-setuid-tunables.c
8703         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
8704         GLIBC_TUNABLES is removed in a setgid process.
8706         [BZ #21073]
8707         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
8708         * elf/dl-tunables.c (tunables_strdup): Remove.
8709         (get_next_env): Also return the previous envp.
8710         (parse_tunables): Erase tunables of category
8711         TUNABLES_SECLEVEL_SXID_ERASE.
8712         (maybe_enable_malloc_check): Make MALLOC_CHECK_
8713         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
8714         (__tunables_init)[TUNABLES_FRONTEND ==
8715         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
8716         after parsing.
8717         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
8718         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
8719         * elf/dl-tunables.h (struct _tunable): Change member is_secure
8720         to security_level.
8721         * elf/dl-tunables.list: Add security_level annotations for all
8722         tunables.
8723         * scripts/gen-tunables.awk: Recognize and generate enum values
8724         for security_level.
8725         * elf/tst-env-setuid.c: New test case.
8726         * elf/tst-env-setuid-tunables: new test case.
8727         * elf/Makefile (tests-static): Add them.
8729 2017-02-01  Richard Henderson  <rth@twiddle.net>
8731         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
8732         adjusting the byte count.
8734 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
8736         * conform/Makefile (linknamespace-libs): Define.
8738         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
8739         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
8740         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
8741         operands.
8743 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
8745         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
8747 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8749         [BZ #21081]
8750         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8751         (L(stosb)): Add VZEROUPPER before ret.
8753 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
8754             Alexey Makhalov <amakhalov@vmware.com>
8755             Florian Weimer <fweimer@redhat.com>
8757         [BZ #20116]
8758         * nptl/pthread_create.c: Document concurrency notes.
8759         Enhance thread creation notes.
8760         (create_thread): Use bool *stopped_start.
8761         (START_THREAD_DEFN): Comment ownership of PD.
8762         (__pthread_create_2_1): Add local bool stopped_start and use
8763         that instead of pd->stopped_start where appropriate.
8764         * nptl/createthread.c (create_thread): Use bool *stopped_start.
8765         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
8766         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8767         * nptl/tst-create-detached.c: New file.
8768         * nptl/Makefile (tests): Add tst-create-detached.
8769         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8770         Reference the enhanced thread creation notes.
8771         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
8772         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8773         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
8774         (__pthread_current_priority): Likewise.
8775         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
8776         xpthread_attr_init, xpthread_attr_setdetachstate, and
8777         xpthread_attr_setstacksize.
8778         * support/xpthread_attr_destroy.c: New file.
8779         * support/xpthread_attr_init.c: New file.
8780         * support/xpthread_attr_setdetachstate.c: New file.
8781         * support/xpthread_attr_setstacksize.c: New file.
8782         * support/xthread.h: Define prototypes for xpthread_attr_destroy
8783         xpthread_attr_init, xpthread_attr_setdetachstate, and
8784         xpthread_attr_setstacksize.
8786 2017-01-27  Florian Weimer  <fweimer@redhat.com>
8788         * nptl/Makefile (tests): Add tst-robust-fork.
8789         * nptl/tst-robust-fork.c: New file.
8790         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
8791         xpthread_mutex_consistent, xpthread_mutex_destroy,
8792         xpthread_mutex_init, xpthread_mutexattr_destroy,
8793         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
8794         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
8795         xpthread_mutexattr_settype.
8796         * support/xmmap.c: New file.
8797         * support/xmunmap.c: Likewise.
8798         * support/xpthread_mutex_consistent.c: Likewise.
8799         * support/xpthread_mutex_destroy.c: Likewise.
8800         * support/xpthread_mutex_init.c: Likewise.
8801         * support/xpthread_mutexattr_destroy.c: Likewise.
8802         * support/xpthread_mutexattr_init.c: Likewise.
8803         * support/xpthread_mutexattr_setprotocol.c: Likewise.
8804         * support/xpthread_mutexattr_setpshared.c: Likewise.
8805         * support/xpthread_mutexattr_setrobust.c: Likewise.
8806         * support/xpthread_mutexattr_settype.c: Likewise.
8807         * support/xthread.h (xpthread_mutexattr_destroy)
8808         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
8809         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
8810         (xpthread_mutexattr_settype, xpthread_mutex_init)
8811         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
8812         * support/xunistd.h (xmmap, xmunmap): Likewise.
8814 2017-01-25  Florian Weimer  <fweimer@redhat.com>
8816         * string/Makefile (xtests): Add comment.
8817         (LOCALES): Add en_GB.UTF-8.
8818         (tst-strcoll-overflow.out): Depend on generated locales.
8819         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
8820         (SIZE, TIMEOUT): Update comments.
8821         (do_test): Define as static.  Fail test if setlocale fails.
8822         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
8823         messages.
8824         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
8825         TIMEOUT at 300 seconds should be enough to run this test
8826         successfully.
8828 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
8830         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
8831         /* FALLTHRU */ comments.
8833 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
8835         [BZ #21053]
8836         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
8837         constants instead of the old R* ones.
8838         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
8839         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
8840         (NGREG): ... to this, to fit in with other architectures.
8841         (gpregset_t): Use new NGREG macro.
8842         [__USE_GNU]: Remove condition; all architectures other than tile
8843         are unconditional.
8844         (R*): Rename to REG_R*.
8846 2017-01-20  DJ Delorie  <dj@redhat.com>
8848         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
8849         (tunable_set_val_if_valid_range_signed) ... this, and ...
8850         (tunable_set_val_if_valid_range_unsigned) ... this.
8851         (tunable_initialize): Call the correct one of the above based on type.
8853 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
8855         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
8856         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8857         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8858         * sysdeps/microblaze/libm-test-ulps: Likewise.
8859         * sysdeps/sh/libm-test-ulps: Likewise.
8861         * math/README.libm-test: Update list of characters for input and
8862         output types.
8864 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8866         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8867         (__lll_unlock_elision): Fix adapt_count decrement.
8869 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
8871         * README.pretty-printers (Known issues): Warn about printers not
8872         always covering everything.
8873         * nptl/nptl-printers.py (MutexPrinter): Change output.
8874         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
8876 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8878         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
8879         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8880         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
8881         (__lll_lock_elision): Do not test futex before starting a
8882         transaction.  Use __glibc_likely instead of __builtin_expect.
8883         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
8884         (__lll_trylock_elision): Do not test futex before starting a
8885         transaction.  Use __glibc_likely instead of __builtin_expect.
8887 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8889         * po/Makefile (update-translations): New target.
8891 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
8893         [BZ #21061]
8894         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
8896 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8898         * elf/dl-tunables (get_next_env): Always advance envp.
8899         * stdlib/tst-empty-env.c: New test case.
8900         * stdlib/Makefile (tests): Use it.
8902 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
8904         [BZ #21047]
8905         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
8906         name for instruction.
8907         [!__SOFTFP__] (_FPU_SETCW): Likewise.
8909 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
8911         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
8912         for make install.
8914 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8916         * po/bg.po: Merge from Translation Project.
8917         * po/fr.po: Likewise.
8918         * po/ko.po: Likewise.
8919         * po/nl.po: Likewise.
8920         * po/sv.po: Likewise.
8922 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
8924         * manual/install.texi (Tools for Compilation): Update GCC version
8925         known to work to build glibc.
8926         * INSTALL: Regenerated.
8928 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8930         [BZ #21006]
8931         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
8933 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
8935         [BZ #21045]
8936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8937         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
8938         to __sigprocmask.
8940 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
8942         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
8943         wrap-around.
8944         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
8946         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
8948 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8950         * NEWS: Fix typo.
8952 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8954         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
8955         barriers and comments.
8956         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
8957         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8958         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8960 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8962         [BZ #19402]
8963         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
8964         mutexes.
8966 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8968         [BZ #20985]
8969         * nptl/Makefile: Adapt.
8970         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8971         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8972         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8973         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8974         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
8975         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
8976         lll_robust* functions and adapt.
8977         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8978         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
8979         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8980         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8981         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
8982         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8983         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
8984         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8985         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
8986         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8987         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8988         * nptl/lowlevelrobustlock.c: Remove file.
8989         * nptl/lowlevelrobustlock.sym: Likewise.
8990         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
8991         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
8993 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8995         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8997 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8999         * po/cs.po: Merge translations from the Translation Project.
9000         * po/de.po: Likewise.
9001         * po/pl.po: Likewise.
9002         * po/ru.po: Likewise.
9003         * po/tr.po: Likewise.
9004         * po/uk.po: Likewise.
9005         * po/vi.po: Likewise.
9006         * po/zh_CN.po: Likewise.
9008 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
9010         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
9012         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
9013         object.
9015 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
9017         [BZ #16458]
9018         * bits/uintn-identity.h: New file.
9019         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
9020         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
9021         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
9022         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
9023         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
9024         * string/endian.h: Include <bits/uintn-identity.h>.
9025         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
9026         __uint16_identity.
9027         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
9028         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
9029         __uint32_identity.
9030         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
9031         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
9032         __uint64_identity.
9033         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
9034         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
9035         __uint16_identity.
9036         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
9037         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
9038         __uint32_identity.
9039         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
9040         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
9041         __uint64_identity.
9042         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
9043         * string/Makefile (headers): Add bits/uintn-identity.h.
9044         (tests): Add test-endian-types.
9045         * string/test-endian-types.c: New file.
9046         * inet/Makefile (tests): Add test-hnto-types.
9047         * inet/test-hnto-types.c: New file.
9049 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9051         * po/be.po: Update from Translation Project.
9052         * po/bg.po: Likewise.
9053         * po/ca.po: Likewise.
9054         * po/cs.po: Likewise.
9055         * po/da.po: Likewise.
9056         * po/de.po: Likewise.
9057         * po/el.po: Likewise.
9058         * po/eo.po: Likewise.
9059         * po/es.po: Likewise.
9060         * po/fi.po: Likewise.
9061         * po/fr.po: Likewise.
9062         * po/gl.po: Likewise.
9063         * po/hr.po: Likewise.
9064         * po/hu.po: Likewise.
9065         * po/ia.po: Likewise.
9066         * po/id.po: Likewise.
9067         * po/it.po: Likewise.
9068         * po/ja.po: Likewise.
9069         * po/ko.po: Likewise.
9070         * po/lt.po: Likewise.
9071         * po/nb.po: Likewise.
9072         * po/nl.po: Likewise.
9073         * po/pl.po: Likewise.
9074         * po/pt_BR.po: Likewise.
9075         * po/ru.po: Likewise.
9076         * po/rw.po: Likewise.
9077         * po/sk.po: Likewise.
9078         * po/sl.po: Likewise.
9079         * po/sv.po: Likewise.
9080         * po/tr.po: Likewise.
9081         * po/uk.po: Likewise.
9082         * po/vi.po: Likewise.
9083         * po/zh_CN.po: Likewise.
9084         * po/zh_TW.po: Likewise.
9086 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
9088         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
9089         -Wformat-truncation instead of -Wformat-length.
9090         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
9091         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
9092         GCC 7.
9093         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
9094         (do_test): Ignore -Wformat-truncation for GCC 7.
9096         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
9097         buffer used to print long int value.
9099         * elf/sotruss-lib.c (init): Increase space allocated for pid by
9100         one byte.  Print it with %ld, cast to long int.
9102 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9104         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
9105         (re.fullmatch, subprocess.run): Likewise.
9107 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9109         * po/libc.pot: Regenerate.
9111 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9113         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
9114         (min_strlen): Likewise.
9115         (disable_tunable): Likewise.
9116         (maybe_disable_malloc_check): Rename to
9117         maybe_enable_malloc_check.
9118         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
9119         if /etc/suid-debug file exists.
9120         (__tunables_init): Update caller.
9121         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
9122         secure.
9124 2016-01-10  Torvald Riegel  <triegel@redhat.com>
9126         * nptl/DESIGN-rwlock.txt: Remove.
9127         * nptl/lowlevelrwlock.sym: Remove.
9128         * nptl/Makefile: Add new tests.
9129         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
9130         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
9131         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
9132         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
9133         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
9134         PTHREAD_RWLOCK_FUTEX_USED): New.
9135         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
9136         implementation.
9137         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
9138         (__pthread_rwlock_rdlock): Adapt.
9139         * nptl/pthread_rwlock_timedrdlock.c
9140         (pthread_rwlock_timedrdlock): Adapt.
9141         * nptl/pthread_rwlock_timedwrlock.c
9142         (pthread_rwlock_timedwrlock): Adapt.
9143         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
9144         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
9145         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
9146         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
9147         (__pthread_rwlock_wrlock): Adapt.
9148         * nptl/tst-rwlock10.c: Adapt.
9149         * nptl/tst-rwlock11.c: Adapt.
9150         * nptl/tst-rwlock17.c: New file.
9151         * nptl/tst-rwlock18.c: New file.
9152         * nptl/tst-rwlock19.c: New file.
9153         * nptl/tst-rwlock2b.c: New file.
9154         * nptl/tst-rwlock8.c: Adapt.
9155         * nptl/tst-rwlock9.c: Adapt.
9156         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9157         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9158         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9159         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9160         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9161         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9162         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9163         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9164         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9165         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9166         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9167         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9168         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
9169         (pthread_rwlock_t): Adapt.
9170         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9171         (pthread_rwlock_t): Adapt.
9172         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9173         * nptl/nptl-printers.py (): Adapt.
9174         * nptl/nptl_lock_constants.pysym: Adapt.
9175         * nptl/test-rwlock-printers.py: Adapt.
9176         * nptl/test-rwlockattr-printers.c: Adapt.
9177         * nptl/test-rwlockattr-printers.py: Adapt.
9179 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
9181         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
9182         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
9183         (fma_test_data): Likewise.
9184         (hypot_test_data): Likewise.
9185         (log1p_test_data): Likewise.
9186         (modf_test_data): Likewise.
9187         (pow_test_data): Likewise.
9188         (remainder_test_data): Likewise.
9189         (remquo_test_data): Likewise.
9190         (scalb_test_data): Likewise.
9191         (scalbn_test_data): Likewise.
9192         (scalbln_test_data): Likewise.
9193         * math/gen-libm-test.pl (parse_args): Transform
9194         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
9195         on the rounding mode.
9197 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
9199         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
9200         xfail-rounding:ibm128-libgcc automatically to tests overflowing
9201         and those that can underflow to zero.
9202         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
9203         add others.
9204         * math/auto-libm-test-out: Regenerated.
9206         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
9207         supported.
9208         (feholdexcept_tests): Skip tests requiring exceptions or rounding
9209         modes support if not supported.
9211         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
9212         Add libc.so PLT entry.
9213         (__tls_get_addr): Make ld.so PLT entry optional.
9215 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9217         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
9218         * string/bits/string3.h: ... here.
9220 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
9222         [BZ #21028]
9223         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
9224         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
9225         if EXCEPTION_TESTS returns false.
9227 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9229         [BZ #20558]
9230         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
9231         strings_fortified.h.
9232         [__USE_MISC] (bzero): Likewise.
9233         [__USE_MISC] (explicit_bzero): Likewise.
9234         * string/strings.h: Include strings_fortified.h.
9235         * string/Makefile (headers): Add strings_fortified.h.
9236         * string/bits/strings_fortified.h: New file.
9237         * include/bits/strings_fortified.h: Likewise.
9239 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
9241         * elf/tst-tls13.c (TIMEOUT): Remove.
9242         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
9243         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
9244         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
9245         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
9246         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
9248         [BZ #21026]
9249         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
9250         (readahead): New syscall entry.
9252 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9254         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
9255         around tests of strncat with large sizes.
9257         * malloc/tst-malloc.c: Include <libc-internal.h>.
9258         (do_test): Disable -Walloc-size-larger-than= around tests of
9259         malloc with negative sizes.
9260         * malloc/tst-mcheck.c: Include <libc-internal.h>.
9261         (do_test): Disable -Walloc-size-larger-than= around tests of
9262         malloc and realloc with negative sizes.
9263         * malloc/tst-realloc.c: Include <libc-internal.h>.
9264         (do_test): Disable -Walloc-size-larger-than= around tests of
9265         realloc with negative sizes.
9267         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
9268         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
9269         allowed to 16 ulps.
9270         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
9271         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
9272         * math/auto-libm-test-out: Regenerated.
9274 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9276         * math/Makefile (libm-calls): Move wrappers...
9277         (libm-compat-call-auto): Here.
9278         (libm-routines): Add items in libm-compat-calls-auto.
9279         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
9280         the filenames of the wrappers that have been renamed.
9281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
9282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9284         * math/w_acos.c: Add _compat suffix to filename.
9285         * math/w_acosf.c: Likewise.
9286         * math/w_acosh.c: Likewise.
9287         * math/w_acoshf.c: Likewise.
9288         * math/w_acoshl.c: Likewise.
9289         * math/w_acosl.c: Likewise.
9290         * math/w_asin.c: Likewise.
9291         * math/w_asinf.c: Likewise.
9292         * math/w_asinl.c: Likewise.
9293         * math/w_atan2.c: Likewise.
9294         * math/w_atan2f.c: Likewise.
9295         * math/w_atan2l.c: Likewise.
9296         * math/w_atanh.c: Likewise.
9297         * math/w_atanhf.c: Likewise.
9298         * math/w_atanhl.c: Likewise.
9299         * math/w_cosh.c: Likewise.
9300         * math/w_coshf.c: Likewise.
9301         * math/w_coshl.c: Likewise.
9302         * math/w_exp10.c: Likewise.
9303         * math/w_exp10f.c: Likewise.
9304         * math/w_exp10l.c: Likewise.
9305         * math/w_exp2.c: Likewise.
9306         * math/w_exp2f.c: Likewise.
9307         * math/w_exp2l.c: Likewise.
9308         * math/w_fmod.c: Likewise.
9309         * math/w_fmodf.c: Likewise.
9310         * math/w_fmodl.c: Likewise.
9311         * math/w_hypot.c: Likewise.
9312         * math/w_hypotf.c: Likewise.
9313         * math/w_hypotl.c: Likewise.
9314         * math/w_j0.c: Likewise.
9315         * math/w_j0f.c: Likewise.
9316         * math/w_j0l.c: Likewise.
9317         * math/w_j1.c: Likewise.
9318         * math/w_j1f.c: Likewise.
9319         * math/w_j1l.c: Likewise.
9320         * math/w_jn.c: Likewise.
9321         * math/w_jnf.c: Likewise.
9322         * math/w_jnl.c: Likewise.
9323         * math/w_log10.c: Likewise.
9324         * math/w_log10f.c: Likewise.
9325         * math/w_log10l.c: Likewise.
9326         * math/w_log2.c: Likewise.
9327         * math/w_log2f.c: Likewise.
9328         * math/w_log2l.c: Likewise.
9329         * math/w_log.c: Likewise.
9330         * math/w_logf.c: Likewise.
9331         * math/w_logl.c: Likewise.
9332         * math/w_pow.c: Likewise.
9333         * math/w_powf.c: Likewise.
9334         * math/w_powl.c: Likewise.
9335         * math/w_remainder.c: Likewise.
9336         * math/w_remainderf.c: Likewise.
9337         * math/w_remainderl.c: Likewise.
9338         * math/w_scalb.c: Likewise.
9339         * math/w_scalbf.c: Likewise.
9340         * math/w_scalbl.c: Likewise.
9341         * math/w_sinh.c: Likewise.
9342         * math/w_sinhf.c: Likewise.
9343         * math/w_sinhl.c: Likewise.
9344         * math/w_sqrt.c: Likewise.
9345         * math/w_sqrtf.c: Likewise.
9346         * math/w_sqrtl.c: Likewise.
9347         * math/w_tgamma.c: Likewise.
9348         * math/w_tgammaf.c: Likewise.
9349         * math/w_tgammal.c: Likewise.
9351         * math/w_acos_compat.c: New file copied from above and
9352         adjusted for new #includes path
9353         * math/w_acosf_compat.c: Likewise.
9354         * math/w_acosh_compat.c: Likewise.
9355         * math/w_acoshf_compat.c: Likewise.
9356         * math/w_acoshl_compat.c: Likewise.
9357         * math/w_acosl_compat.c: Likewise.
9358         * math/w_asin_compat.c: Likewise.
9359         * math/w_asinf_compat.c: Likewise.
9360         * math/w_asinl_compat.c: Likewise.
9361         * math/w_atan2_compat.c: Likewise.
9362         * math/w_atan2f_compat.c: Likewise.
9363         * math/w_atan2l_compat.c: Likewise.
9364         * math/w_atanh_compat.c: Likewise.
9365         * math/w_atanhf_compat.c: Likewise.
9366         * math/w_atanhl_compat.c: Likewise.
9367         * math/w_cosh_compat.c: Likewise.
9368         * math/w_coshf_compat.c: Likewise.
9369         * math/w_coshl_compat.c: Likewise.
9370         * math/w_exp10_compat.c: Likewise.
9371         * math/w_exp10f_compat.c: Likewise.
9372         * math/w_exp10l_compat.c: Likewise.
9373         * math/w_exp2_compat.c: Likewise.
9374         * math/w_exp2f_compat.c: Likewise.
9375         * math/w_exp2l_compat.c: Likewise.
9376         * math/w_fmod_compat.c: Likewise.
9377         * math/w_fmodf_compat.c: Likewise.
9378         * math/w_fmodl_compat.c: Likewise.
9379         * math/w_hypot_compat.c: Likewise.
9380         * math/w_hypotf_compat.c: Likewise.
9381         * math/w_hypotl_compat.c: Likewise.
9382         * math/w_j0_compat.c: Likewise.
9383         * math/w_j0f_compat.c: Likewise.
9384         * math/w_j0l_compat.c: Likewise.
9385         * math/w_j1_compat.c: Likewise.
9386         * math/w_j1f_compat.c: Likewise.
9387         * math/w_j1l_compat.c: Likewise.
9388         * math/w_jn_compat.c: Likewise.
9389         * math/w_jnf_compat.c: Likewise.
9390         * math/w_jnl_compat.c: Likewise.
9391         * math/w_log10_compat.c: Likewise.
9392         * math/w_log10f_compat.c: Likewise.
9393         * math/w_log10l_compat.c: Likewise.
9394         * math/w_log2_compat.c: Likewise.
9395         * math/w_log2f_compat.c: Likewise.
9396         * math/w_log2l_compat.c: Likewise.
9397         * math/w_log_compat.c: Likewise.
9398         * math/w_logf_compat.c: Likewise.
9399         * math/w_logl_compat.c: Likewise.
9400         * math/w_pow_compat.c: Likewise.
9401         * math/w_powf_compat.c: Likewise.
9402         * math/w_powl_compat.c: Likewise.
9403         * math/w_remainder_compat.c: Likewise.
9404         * math/w_remainderf_compat.c: Likewise.
9405         * math/w_remainderl_compat.c: Likewise.
9406         * math/w_scalb_compat.c: Likewise.
9407         * math/w_scalbf_compat.c: Likewise.
9408         * math/w_scalbl_compat.c: Likewise.
9409         * math/w_sinh_compat.c: Likewise.
9410         * math/w_sinhf_compat.c: Likewise.
9411         * math/w_sinhl_compat.c: Likewise.
9412         * math/w_sqrt_compat.c: Likewise.
9413         * math/w_sqrtf_compat.c: Likewise.
9414         * math/w_sqrtl_compat.c: Likewise.
9415         * math/w_tgamma_compat.c: Likewise.
9416         * math/w_tgammaf_compat.c: Likewise.
9417         * math/w_tgammal_compat.c: Likewise.
9419         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
9420         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
9421         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
9422         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
9423         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
9424         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
9425         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
9426         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
9427         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
9428         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
9429         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
9430         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
9431         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
9432         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
9433         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
9434         * sysdeps/ia64/fpu/w_powl.c: Likewise.
9435         * sysdeps/ia64/fpu/w_powf.c: Likewise.
9436         * sysdeps/ia64/fpu/w_pow.c: Likewise.
9437         * sysdeps/ia64/fpu/w_logl.c: Likewise.
9438         * sysdeps/ia64/fpu/w_logf.c: Likewise.
9439         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
9440         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
9441         * sysdeps/ia64/fpu/w_log2.c: Likewise.
9442         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
9443         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
9444         * sysdeps/ia64/fpu/w_log10.c: Likewise.
9445         * sysdeps/ia64/fpu/w_log.c: Likewise.
9446         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
9447         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
9448         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
9449         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
9450         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
9451         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
9452         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
9453         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
9454         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
9455         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
9456         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
9457         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
9458         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
9459         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
9460         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
9461         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
9462         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
9463         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
9464         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
9465         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
9466         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
9467         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
9468         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
9469         * sysdeps/ia64/fpu/w_asin.c: Likewise.
9470         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
9471         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
9472         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
9473         * sysdeps/ia64/fpu/w_acos.c: Likewise.
9474         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
9475         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
9476         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
9477         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
9478         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
9479         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
9480         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
9481         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
9482         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
9483         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
9484         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
9485         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
9486         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
9487         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
9488         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
9489         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
9490         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
9491         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
9492         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
9493         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
9494         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
9495         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
9496         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
9497         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
9498         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
9499         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
9500         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
9501         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
9502         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
9503         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
9504         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
9505         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
9506         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
9507         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
9508         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
9509         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
9510         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
9511         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
9512         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
9513         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
9514         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
9515         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
9516         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
9517         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
9518         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
9519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
9520         Likewise.
9521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
9522         Likewise.
9523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
9524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
9525         Likewise.
9526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
9527         Likewise.
9528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
9529         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9530         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9531         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9532         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9533         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9534         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
9536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
9538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9539         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9540         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9541         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9542         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9544         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
9545         and adjusted for new #includes path
9546         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
9547         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
9548         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
9549         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
9550         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
9551         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
9552         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
9553         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
9554         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
9555         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
9556         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
9557         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
9558         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
9559         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
9560         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
9561         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
9562         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
9563         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
9564         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
9565         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
9566         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
9567         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
9568         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
9569         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
9570         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
9571         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
9572         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
9573         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
9574         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
9575         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
9576         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
9577         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
9578         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
9579         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
9580         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
9581         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
9582         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
9583         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
9584         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
9585         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
9586         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
9587         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
9588         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
9589         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
9590         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
9591         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
9592         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
9593         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
9594         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
9595         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
9596         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
9597         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
9598         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
9599         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
9600         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
9601         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
9602         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
9603         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
9604         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
9605         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
9606         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
9607         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
9608         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
9609         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
9610         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
9611         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
9612         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
9613         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
9614         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
9615         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
9616         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
9617         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
9618         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
9619         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
9620         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
9621         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
9622         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
9623         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
9624         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
9625         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
9626         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
9627         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
9628         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
9629         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
9630         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
9631         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
9632         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
9633         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
9634         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
9635         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
9636         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
9637         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
9638         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
9639         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
9640         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
9641         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
9642         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
9643         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
9644         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
9645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
9646         Likewise.
9647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
9648         Likewise.
9649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
9650         Likewise.
9651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
9652         Likewise.
9653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
9654         Likewise.
9655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
9656         Likewise.
9657         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
9658         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
9659         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
9660         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
9661         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
9662         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
9663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
9664         Likewise.
9665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
9666         Likewise.
9667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
9668         Likewise.
9669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
9670         Likewise.
9671         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
9672         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
9673         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
9674         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
9676 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9678         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
9679         __jmp_buf_internal_tag.
9681         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
9682         preserve NaN payload if [__mips_nan2008].
9683         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
9685         [BZ #21022]
9686         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
9688 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9690         * sysdeps/i386/fpu/libm-test-ulps: Update.
9692 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9694         * sysdeps/ia64/strcat.c: Remove file.
9695         * sysdeps/powerpc/strcat.c: Likewise.
9696         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
9697         C implementation.
9698         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
9699         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
9701 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9702             Steven Munroe  <sjmunroe@us.ibm.com>
9703             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9705         [BZ #20822]
9706         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9707         (__lll_lock_elision): Access adapt_count via C11 atomics.
9708         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9709         (__lll_trylock_elision): Likewise.
9710         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9711         (__lll_unlock_elision):  Update adapt_count variable inside the
9712         critical section using C11 atomics.
9714 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9716         * math/test-fenvinline.c (do_test): Disable tests of raised
9717         exceptions if !EXCEPTION_TESTS (FLOAT).
9719 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9721         [BZ #19390]
9722         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
9723         maximum string size.
9724         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
9725         in pointer addition.
9726         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
9727         Likewise.
9729 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9731         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
9732         passed to tst-ldconfig-X.sh.
9734 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
9736         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
9738 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9740         [BZ #21019]
9741         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
9742         New syscall entry.
9743         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
9744         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
9745         lseek.
9747         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9748         power4 glibc for powerpc-linux-gnu.
9750 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9752         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
9753         semctl.
9755 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9757         * math/test-nearbyint-except.c: Include <stdbool.h>.
9758         (any_supported): New variable.
9759         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
9760         set any_supported.
9761         (do_test): Return 77 if no floating-point type supported
9762         exceptions.
9764         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
9765         condition on [__mips_hard_float].
9767 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9769         [BZ #21014]
9770         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
9771         in pointer addition.
9772         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
9774 2017-01-02  Torvald Riegel  <triegel@redhat.com>
9776         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
9777         new condvar.
9779 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9781         * scripts/build-many-glibcs.py (Context.checkout): Default
9782         binutils version to 2.28 branch.
9784 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9786         * support/support_format_netent.c (support_format_netent): Work
9787         around alpha struct netent definition difference.
9789 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9791         * support/xwrite.c (xwrite): Use %td for pointer difference.
9793 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9795         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
9796         have-tunables only.
9797         (tests-static): Add tst-malloc-usable-static-tunables for
9798         have-tunables only.
9800 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
9802         * scripts/config.guess: Update to version 2017-01-01.
9803         * scripts/config.sub: Update to version 2017-01-01.
9805         * NEWS: Update copyright dates.
9806         * catgets/gencat.c (print_version): Likewise.
9807         * csu/version.c (banner): Likewise.
9808         * debug/catchsegv.sh: Likewise.
9809         * debug/pcprofiledump.c (print_version): Likewise.
9810         * debug/xtrace.sh (do_version): Likewise.
9811         * elf/ldconfig.c (print_version): Likewise.
9812         * elf/ldd.bash.in: Likewise.
9813         * elf/pldd.c (print_version): Likewise.
9814         * elf/sotruss.sh: Likewise.
9815         * elf/sprof.c (print_version): Likewise.
9816         * iconv/iconv_prog.c (print_version): Likewise.
9817         * iconv/iconvconfig.c (print_version): Likewise.
9818         * locale/programs/locale.c (print_version): Likewise.
9819         * locale/programs/localedef.c (print_version): Likewise.
9820         * login/programs/pt_chown.c (print_version): Likewise.
9821         * malloc/memusage.sh (do_version): Likewise.
9822         * malloc/memusagestat.c (print_version): Likewise.
9823         * malloc/mtrace.pl: Likewise.
9824         * manual/libc.texinfo: Likewise.
9825         * nptl/version.c (banner): Likewise.
9826         * nscd/nscd.c (print_version): Likewise.
9827         * nss/getent.c (print_version): Likewise.
9828         * nss/makedb.c (print_version): Likewise.
9829         * posix/getconf.c (main): Likewise.
9830         * scripts/test-installation.pl: Likewise.
9831         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9833         * All files with FSF copyright notices: Update copyright dates
9834         using scripts/update-copyrights.
9835         * intl/plural.c: Regenerated.
9836         * locale/programs/charmap-kw.h: Likewise.
9837         * locale/programs/locfile-kw.h: Likewise.
9839 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9841         [BZ #20593]
9842         Update DNS RR type definitions.
9843         * scripts/gen-rrtypes.py: New file.
9844         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
9845         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
9846         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
9847         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
9848         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
9849         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
9850         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
9851         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
9852         ns_t_ta, ns_t_dlv.
9853         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
9854         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
9855         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
9856         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
9857         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
9858         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
9859         Define.
9860         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
9861         entry for ns_t_zxfr.
9863 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9865         [BZ #18784]
9866         CVE-2015-5180
9867         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
9868         T_UNSPEC.  Adjust value.
9869         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
9870         * resolv/res_query.c (__libc_res_nquery): Likewise.
9871         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
9872         QTYPEs.
9873         * resolv/tst-resolv-qtypes.c: New file.
9874         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
9875         (tst-resolv-qtypes): Link against libresolv and libpthread.
9877 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9879         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
9881 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9883         * manual/tunables.texi: New chapter.
9884         * manual/Makefile (chapters): Add it.
9885         * manual/probes.texi (@node): Point to the Tunables chapter.
9887         * Makeconfig (have-tunables): Check for non-negative instead
9888         of positive.
9889         * configure.ac: Add 'valstring' as a valid value for
9890         --enable-tunables.
9891         * configure: Regenerate.
9892         * elf/Makefile (have-tunables): Check for non-negative instead
9893         of positive.
9894         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
9895         dl-tunables.c.
9896         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
9897         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9898         (tunables_strdup): Likewise.
9899         (disable_tunables): Likewise.
9900         (parse_tunables): Likewise.
9901         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
9902         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9903         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
9904         (TUNABLES_FRONTEND_yes): New macro, define as
9905         TUNABLES_FRONTEND_valstring by default.
9906         * manual/install.texi: Document new acceptable values for
9907         --enable-tunables.
9908         * INSTALL: Regenerate.
9910         * config.make.in (have-loop-to-function): Define.
9911         * elf/Makefile (CFLAGS-dl-tunables.c): Add
9912         -fno-tree-loop-distribute-patterns.
9913         * elf/dl-tunables.c: Include libc-internals.h.
9914         (GLIBC_TUNABLES): New macro.
9915         (tunables_strdup): New function.
9916         (parse_tunables): New function.
9917         (min_strlen): New function.
9918         (__tunables_init): Use the new functions and macro.
9919         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
9920         * malloc/tst-malloc-usable-tunables.c: New test case.
9921         * malloc/tst-malloc-usable-static-tunables.c: New test case.
9922         * malloc/Makefile (tests, tests-static): Add tests.
9924         * manual/install.texi: Add --enable-tunables option.
9925         * INSTALL: Regenerate.
9926         * README.tunables: New file.
9927         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
9928         (before-compile): Generate dl-tunable-list.h early.
9929         * config.h.in: Add HAVE_TUNABLES.
9930         * config.make.in: Add have-tunables.
9931         * configure.ac: Add --enable-tunables option.
9932         * configure: Regenerate.
9933         * csu/init-first.c (__libc_init_first): Move
9934         __libc_init_secure earlier...
9935         * csu/init-first.c (LIBC_START_MAIN):... to here.
9936         Include dl-tunables.h, libc-internal.h.
9937         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
9938         binaries.
9939         * elf/Makefile (dl-routines): Add dl-tunables.
9940         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
9941         namespace.
9942         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
9943         only when !HAVE_TUNABLES.
9944         * elf/rtld.c (process_envvars): Likewise.
9945         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
9946         (_dl_sysdep_start): Call __tunables_init.
9947         * elf/dl-tunable-types.h: New file.
9948         * elf/dl-tunables.c: New file.
9949         * elf/dl-tunables.h: New file.
9950         * elf/dl-tunables.list: New file.
9951         * malloc/tst-malloc-usable-static.c: New test case.
9952         * malloc/Makefile (tests-static): Add it.
9953         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
9954         Define TUNABLE_NAMESPACE.
9955         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
9956         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
9957         callback functions.
9958         (ptmalloc_init): Set tunable values.
9959         * scripts/gen-tunables.awk: New file.
9960         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
9961         (_dl_sysdep_start): Call __tunables_init.
9963 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9965         * resolv/resolv.h (RES_BLAST): Deprecate.
9966         * resolv/res_debug.c (p_option): Remove RES_BLAST.
9967         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
9968         to RES_BLAST.
9970 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9972         [BZ #19582]
9973         Deprecate RES_USE_INET6.
9974         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
9975         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
9976         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
9977         RES_USE_INET6.
9978         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
9979         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
9980         (_nss_nisplus_gethostbyaddr_r): Likewise.
9981         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
9982         of res_use_inet6.
9983         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
9984         instead of RES_USE_INET6.
9985         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
9986         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
9987         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
9988         Likewise.
9989         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
9990         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
9991         Likewise.
9992         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
9993         (_nss_dns_gethostbyname_r): Likewise.
9994         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
9995         alternate RES_USE_INET6 handling.
9996         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
9997         instead of RES_USE_INET6.
9998         * resolv/res_init.c (res_setoptions): Likewise.
9999         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
10000         * resolv/resolv-internal.h: New file.
10001         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
10002         make the deprecation warning non-fatal.
10003         * resolv/README (Using the resolver in multi-threaded code): Drop
10004         reference to RES_USE_INET6.
10005         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
10006         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
10008 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10010         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
10011         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
10012         tst-resolv-search.
10013         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
10014         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
10015         with libresolv and libpthread.
10016         * resolv/tst-bug18665.c: New file.
10017         * resolv/tst-bug18665-tcp: Likewise.
10018         * resolv/tst-res_use_inet6: Likewise.
10019         * resolv/tst-resolv-basic: Likewise.
10020         * resolv/tst-resolv-network: Likewise.
10021         * resolv/tst-resolv-search: Likewise.
10022         * support/Makefile (libsupport-routines): Add check_addrinfo,
10023         check_dns_packet, check_hostent, check_netent, resolv_test,
10024         support_format_address_family, support_format_addrinfo,
10025         support_format_dns_packet, support_format_herrno,
10026         support_format_hostent, support_format_netent, support_run_diff,
10027         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
10028         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
10029         xstrdup, xwrite.
10030         * support/check_addrinfo.c: New file.
10031         * support/check_dns_packet.c: Likewise.
10032         * support/check_hostent.c: Likewise.
10033         * support/check_netent.c: Likewise.
10034         * support/check_nss.h: Likewise.
10035         * support/format_nss.h: Likewise.
10036         * support/resolv_test.c: Likewise.
10037         * support/resolv_test.h: Likewise.
10038         * support/run_diff.h: Likewise.
10039         * support/support_format_address_family.c: Likewise.
10040         * support/support_format_addrinfo.c: Likewise.
10041         * support/support_format_dns_packet.c: Likewise.
10042         * support/support_format_herrno.c: Likewise.
10043         * support/support_format_hostent.c: Likewise.
10044         * support/support_format_netent.c: Likewise.
10045         * support/support_run_diff.c: Likewise.
10046         * support/xaccept.c: Likewise.
10047         * support/xbind.c: Likewise.
10048         * support/xconnect.c: Likewise.
10049         * support/xfclose.c: Likewise.
10050         * support/xfopen.c: Likewise.
10051         * support/xgetsockname.c: Likewise.
10052         * support/xlisten.c: Likewise.
10053         * support/xmemstream.c: Likewise.
10054         * support/xmemstream.h: Likewise.
10055         * support/xpoll.c: Likewise.
10056         * support/xpthread_once.c: Likewise.
10057         * support/xrecvfrom.c: Likewise.
10058         * support/xsendto.c: Likewise.
10059         * support/xsetsockopt.c: Likewise.
10060         * support/xstdio.h: Likewise.
10061         * support/xstrdup.c: Likewise.
10062         * support/support.h (xstrdup): Declare.
10063         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
10064         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
10065         * support/xthread.h (xpthread_once): Likwise.
10066         * support/xunistd.h (xwrite): Declare.
10068 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10070         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
10071         (test_verbose): Declare.
10072         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
10073         * support/support_test_main.c (default_options): Likewise.
10074         (usage, support_test_main): Handle 'v'.
10075         (test_verbose): Define.
10076         * support/tst-support_record_failure.c (do_test): Use
10077         test_verbose.
10078         * support/tst-support_record_failure-2.sh (different_status): Add
10079         --verbose test.
10081 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10083         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
10084         test failures are recorded.
10085         * support/check.c (support_print_failure_impl): Call
10086         support_record_failure.
10087         (support_exit_failure_impl): Call support_record_failure if status
10088         indicates failure.
10089         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
10090         * support/xasprintf.c (xasprintf): Likewise.
10091         * support/xfork.c (xfork): Likewise.
10092         * support/xpthread_check_return.c (xpthread_check_return):
10093         Likewise.
10094         * support/xsocket.c (xsocket): Likeweise.
10095         * support/xwaitpid.c (xwaitpid): Likewise.
10096         * support/support_record_failure.c (struct test_failures): Adjust
10097         to coding style.
10098         * support/support_test_verify_impl.c (support_test_verify_impl):
10099         Adjust error messages.
10100         * support/tst-support_record_failure-2.sh (different_status):
10101         Adjust error messages.
10103 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10105         * support/namespace.h: New file.
10106         * support/support_become_root.c: Likewise.
10107         * support/support_enter_network_namespace.c: Likewise.
10108         * support/tst-support-namespace.c: Likewise.
10109         * support/xsocket.c: Likewise.
10110         * support/xsocket.h: Likewise.
10111         * support/Makefile (libsupport-routines): Add support_become_root,
10112         support_enter_network_namespace, xsocket.
10113         (tests): Add tst-support-namespace.
10115 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10117         [BZ #17252]
10118         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
10119         __USE_GNU.
10121 2016-12-31  Torvald Riegel  <triegel@redhat.com>
10123         [BZ #13165]
10124         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
10125         use new algorithm.
10126         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10127         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10128         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10129         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10130         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
10131         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
10132         __condvar_cleanup_waiting, __condvar_dec_grefs,
10133         __pthread_cond_wait_common): New.
10134         (__condvar_cleanup): Remove.
10135         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
10136         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
10137         Likewise.
10138         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
10139         Likewise.
10140         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
10141         * nptl/tst-cond1.c: Add comment.
10142         * nptl/tst-cond20.c (do_test): Adapt.
10143         * nptl/tst-cond22.c (do_test): Likewise.
10144         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
10145         structure.
10146         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10147         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10148         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10149         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
10150         Likewise.
10151         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10152         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10153         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10154         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10155         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10156         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
10157         Likewise.
10158         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
10159         Likewise.
10160         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10161         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
10162         (COND_CLOCK_BITS): Adapt.
10163         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
10164         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
10165         __PTHREAD_COND_SHARED_MASK): New.
10166         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
10167         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
10168         * nptl/nptl_lock_constants.pysym: Adapt.
10169         * nptl/test-cond-printers.py: Adapt.
10170         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
10171         cond_compat_check_and_clear): Adapt.
10172         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
10173         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
10174         (__pthread_cond_timedwait): ... and move here.
10175         * nptl/DESIGN-condvar.txt: Remove file.
10176         * nptl/lowlevelcond.sym: Likewise.
10177         * nptl/pthread_cond_timedwait.c: Likewise.
10178         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
10179         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
10180         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
10181         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
10182         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
10183         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
10184         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
10185         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
10186         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
10187         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
10188         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
10189         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
10190         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
10191         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
10192         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
10193         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
10195 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
10197         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10198         (fromfp): New declaration.
10199         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
10200         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
10201         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
10202         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
10203         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
10204         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
10205         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
10206         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
10207         * math/math.h: Include <bits/types.h>.
10208         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
10209         constant and macro.
10210         (FP_INT_DOWNWARD): Likewise.
10211         (FP_INT_TOWARDZERO): Likewise.
10212         (FP_INT_TONEARESTFROMZERO): Likewise.
10213         (FP_INT_TONEAREST): Likewise.
10214         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
10215         (fromfpf): Likewise.
10216         (fromfpl): Likewise.
10217         (ufromfp): Likewise.
10218         (ufromfpf): Likewise.
10219         (ufromfpl): Likewise.
10220         (fromfpx): Likewise.
10221         (fromfpxf): Likewise.
10222         (fromfpxl): Likewise.
10223         (ufromfpx): Likewise.
10224         (ufromfpxf): Likewise.
10225         (ufromfpxl): Likewise.
10226         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
10227         s_fromfpxF and s_ufromfpxF.
10228         * math/gen-fromfp-tests.py: New file.
10229         * math/gen-fromfp-tests-inputs: Likewise.
10230         * math/libm-test.inc: Include <stdint.h>
10231         (check_intmax_t): New function.
10232         (check_uintmax_t): Likewise.
10233         (struct test_fiu_M_data): New type.
10234         (struct test_fiu_U_data): Likewise.
10235         (RUN_TEST_fiu_M): New macro.
10236         (RUN_TEST_LOOP_fiu_M): Likewise.
10237         (RUN_TEST_fiu_U): Likewise.
10238         (RUN_TEST_LOOP_fiu_U): Likewise.
10239         (fromfp_test_data): New array.
10240         (fromfp_test): New function.
10241         (fromfpx_test_data): New array.
10242         (fromfpx_test): New function.
10243         (ufromfp_test_data): New array.
10244         (ufromfp_test): New function.
10245         (ufromfpx_test_data): New array.
10246         (ufromfpx_test): New function.
10247         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
10248         ufromfpx_test.
10249         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
10250         characters.
10251         * math/test-tgmath-ret.c: Include <stdint.h>.
10252         (rm): New variable.
10253         (width): Likewise.
10254         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
10255         called function.
10256         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
10257         CHECK_RET_CONST_TYPE.
10258         (CHECK_RET_CONST_DOUBLE): Likewise.
10259         (CHECK_RET_CONST_LDOUBLE): Likewise.
10260         (CHECK_RET_CONST): Take extra arguments and pass them to calls
10261         macros.
10262         (fromfp): New CHECK_RET_CONST call.
10263         (ufromfp): Likewise.
10264         (fromfpx): Likewise.
10265         (ufromfpx): Likewise.
10266         (do_test): Call check_return_fromfp, check_return_ufromfp,
10267         check_return_fromfpx and check_return_ufromfpx.
10268         * math/test-tgmath.c: Include <stdint.h>
10269         (NCALLS): Increase to 138.
10270         (F(compile_test)): Initialize i.  Call fromfp functions.
10271         (F(fromfp)): New function.
10272         (F(fromfpx)): Likewise.
10273         (F(ufromfp)): Likewise.
10274         (F(ufromfpx)): Likewise.
10275         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
10276         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
10277         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
10278         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
10279         ufromfpxl.
10280         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
10281         ufromfp and ufromfpx.
10282         * math/fromfp.h: New file.
10283         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
10284         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
10285         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
10286         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
10287         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
10288         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
10289         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
10290         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
10291         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
10292         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
10293         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
10294         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
10295         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
10296         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
10297         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
10298         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
10299         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
10300         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
10301         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
10302         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
10303         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
10304         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
10305         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
10306         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
10307         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
10308         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
10309         ufromfp, fromfpx and ufromfpx.
10310         (CFLAGS-nldbl-fromfp.c): New variable.
10311         (CFLAGS-nldbl-fromfpx.c): Likewise.
10312         (CFLAGS-nldbl-ufromfp.c): Likewise.
10313         (CFLAGS-nldbl-ufromfpx.c): Likewise.
10314         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
10315         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
10316         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
10317         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
10318         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
10319         * sysdeps/nacl/libm.abilist: Update.
10320         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10321         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10322         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10323         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10324         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10325         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10326         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10327         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10328         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10329         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10330         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10331         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10333         Likewise.
10334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10335         Likewise.
10336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10337         Likewise.
10338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10339         Likewise.
10340         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10341         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10342         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10343         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10344         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10346         Likewise.
10347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10348         Likewise.
10349         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10350         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10351         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10353 2016-12-30  Florian Weimer  <fweimer@redhat.com>
10355         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
10356         compat-gethnamaddr.
10357         (CPPFLAGS): Remove.
10358         * resolv/gethnamaddr.c: Rename ...
10359         * resolv/compat-gethnamaddr.c: ... to this file.
10360         (_endhtent): Make static.
10361         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
10362         symbol.
10363         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
10364         compat symbol.
10365         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
10366         symbol.
10367         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
10368         Turn into compat symbol.
10369         * include/resolv.h (_endhtent): Remove declaration.
10371 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
10373         * bits/types.h (__intmax_t): New typedef.
10374         (__uintmax_t): Likewise.
10375         * sysdeps/generic/stdint.h: Include <bits/types.h>.
10376         (intmax_t): Define using __intmax_t.
10377         (uintmax_t): Define using __uintmax_t.
10379         * support/Makefile (tests-special): Make definition conditional on
10380         [$(run-built-tests) = yes].
10381         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
10382         on [$(run-built-tests) = yes].
10384 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10386         * Rules (tests): Add tests-printers-programs to tests to be
10387         built.
10389 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10391         * sysvipc/Makefile (tests): Add test-sysvshm.
10392         * sysvipc/test-sysvshm.c: New file.
10394         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
10395         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
10396         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
10397         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
10398         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
10399         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
10400         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
10401         Likewise.
10402         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
10403         Likewise.
10404         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
10405         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
10406         is defined.
10408         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
10409         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
10410         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
10411         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
10412         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
10413         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
10414         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
10415         Likewise.
10416         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
10417         Likewise.
10418         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
10419         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
10420         defined.
10422         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10423         oldshmctl.
10424         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
10425         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
10426         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
10427         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
10428         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
10429         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
10430         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
10431         Likewise.
10432         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
10433         Likewise.
10434         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
10435         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
10436         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
10437         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
10438         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
10439         implementation.
10440         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
10441         if it is defined.
10443         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
10444         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
10445         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
10446         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
10447         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
10448         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
10449         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
10450         Likewise.
10451         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
10452         Likewise.
10453         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
10454         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
10455         Define to __NR_osf_shmat.
10456         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
10457         defined.
10459         * sysvipc/Makefile (tests): Add test-sysvsem.
10460         * sysvipc/test-sysvsem.c: New file.
10462         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
10463         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
10464         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
10465         Likewise.
10466         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
10467         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
10468         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
10469         Likewise.
10470         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
10471         Likewise.
10472         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
10473         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
10474         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
10475         add a comment about s390 syscall difference from default one.
10476         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
10477         syscall if it is defined.
10479         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
10480         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
10481         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
10482         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
10483         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
10484         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
10485         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
10486         Likewise.
10487         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
10488         Likewise.
10489         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
10490         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
10491         defined.
10493         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
10494         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
10495         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
10496         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
10497         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
10498         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
10499         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
10500         Likewise.
10501         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
10502         Likewise.
10503         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
10504         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
10505         if it is defined.
10507         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10508         oldsemctl.
10509         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
10510         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
10511         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
10512         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
10513         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
10514         implementation.
10515         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
10516         syscall if it is defined.
10517         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
10518         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
10519         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
10520         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
10521         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
10522         Likewise.
10523         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
10525         * sysvipc/Makefile (tests): Add test-sysvmsg.
10526         * sysvipc/test-sysvmsg.c: New file.
10527         * support/check.h (FAIL_UNSUPPORTED): New define.
10529         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
10530         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
10531         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
10532         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
10533         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
10534         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
10535         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
10536         Likewise.
10537         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
10538         Likewise.
10539         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
10540         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
10541         define.
10543         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
10544         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
10545         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
10546         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
10547         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
10548         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
10549         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
10550         Likewise.
10551         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
10552         Likewise.
10553         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
10554         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
10555         if defined.
10557         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
10558         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
10559         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10560         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10561         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10562         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
10563         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10564         Likewise.
10565         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
10566         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
10567         Likewise.
10568         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
10569         if defined.
10570         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
10572         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10573         oldmsgctl.
10574         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
10575         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
10576         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
10577         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
10578         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10579         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10580         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10581         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10582         Likewise.
10583         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
10584         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
10585         implementation.
10586         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
10587         if defined.
10589         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
10590         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
10591         definition and define its own.
10592         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
10593         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
10594         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
10595         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
10596         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
10597         definitions to common header.
10598         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
10599         operation from ipc_ops.h.
10601         * sysdeps/unix/sysv/linux/kernel-features.h
10602         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
10603         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10604         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
10605         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10606         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10607         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10608         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10609         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10610         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10611         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10612         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10613         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10614         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10615         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10616         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10618 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10620         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
10621         overflow in pointer addition.
10623 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10625         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10626         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
10627         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10628         (strchr): Add __strchr_power8 to list of strchr functions.
10629         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
10630         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
10631         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
10632         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
10633         (strchr): Add __strchr_power8 to ifunc list.
10634         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
10635         (__strchrnul): Add __strchrnul_power8 to ifunc list.
10636         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
10637         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
10639 2016-12-28  Florian Weimer  <fweimer@redhat.com>
10641         * support/Makefile (libsupport-routines): Add
10642         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
10643         (tests): Add tst-support_record_failure.
10644         (tests-special): tst-support_record_failure-2.
10645         (tst-support_record_failure-2.out): Depend on
10646         tst-support_record_failure-2.sh and tst-support_record_failure.
10647         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
10648         (support_test_verify_impl, support_record_failure)
10649         (support_report_failure, support_report_failure_reset): Declare.
10650         * support/support_test_main.c (adjust_exit_status): New function.
10651         (support_test_main): Call it to incorporate record test failures.
10652         * support/support_test_verify_impl.c: New file.
10653         * support/support_record_failure.c: Likewise.
10654         * support/tst-support_record_failure.c: Likewise.
10655         * support/tst-support_record_failure-2.sh: Likewise.
10656         * support/xunistd.h: Likewise.
10657         * support/xfork.c: Likewise.
10658         * support/xwaitpid.c: Likewise.
10660 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
10662         * scripts/check-c++-types.sh: Add comments.
10664 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
10666         [BZ #19514]
10667         * resolv/res_send.c: Fix typo in comment.
10668         * sysdeps/i386/i386-mcount.S: Likewise.
10669         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10670         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10671         * sysdeps/sparc/sparc-mcount.S: Likewise.
10673 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10675         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
10676         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
10677         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
10678         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
10679         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
10680         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
10681         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
10682         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
10684 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10686         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
10688 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10690         [BZ #17252]
10691         * posix/unistd.h (getentropy): Declare.
10693 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10695         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
10696         Remove.
10697         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
10698         (cmd): Remove spoof, nospoof, spoofalert.
10699         (parse_line): Ignore spoof-related lines.
10700         (do_init): Do not process RESOLV_SPOOF_CHECK.
10702 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10704         [BZ #20964]
10705         sunrpc: Always obtain AF_INET addresses from NSS.
10706         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
10707         * sunrpc/rpc_gethostbyname.c: New file.
10708         * sunrpc/Makefile (routines): Add it.
10709         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
10710         * sunrpc/clnt_simp.c (callrpc): Likewise.
10711         * sunrpc/getrpcport.c (getrpcport): Likewise.
10713 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10715         * sunrpc/rpcinfo.c: Remove.
10716         * sunrpc/Makefile: Remove comments referring to rpcinfo.
10718 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10720         [BZ #19387]
10721         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
10722         addition.
10723         * string/test-memchr.c (do_test): Remove alignment limitation.
10724         (test_main): Add test that trigger BZ #19387.
10726 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10728         [BZ #7065]
10729         Enable stack protectore if requested by ./configure.
10730         * Makeconfig (+stack-protector): New variable.
10731         (+cflags): Use it.
10733 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10735         [BZ #7065]
10736         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
10737         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
10738         (__rt_sigreturn_stub): Use inhibit_stack_protector.
10739         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10740         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
10742 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10744         [BZ #7065]
10745         * login/Makefile (pt_chown-cflags): Remove.
10746         * nscd/Makefile (CFLAGS-nscd): Likewise.
10747         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10749 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10751         [BZ #7065]
10752         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
10753         non-libc-linking testcase.
10755 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10756             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10757             Florian Weimer  <fweimer@redhat.com>
10759         [BZ #7065]
10760         PLT avoidance for __stack_chk_fail*.
10761         * debug/Makefile (CFLAGS-stack_chk_fail.c)
10762         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
10763         * debug/stack_chk_fail.c (__stack_chk_fail): Add
10764         __stack_chk_fail_local alias.
10765         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
10766         (__stack_chk_fail): Turn into hidden reference to
10767         __stack_chk_fail_local.
10769 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10771         [BZ #7065]
10772         * configure.ac: Add check for unsupported stack-protection level.
10773         (libc_cv_predef_stack_protector): Remove.
10774         (no_ssp): New variable.
10775         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
10776         (stack_protector): Set to -fno-stack-protector similarly.
10777         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
10778         (libc_cv_asm_set_directive): Likewise.
10779         (libc_cv_protected_data): Likewise.
10780         (libc_cv_z_combreloc): Likewise.
10781         (libc_cv_hashstyle): Likewise.
10782         (libc_cv_has_glob_dat): Likewise.
10783         (libc_cv_output_format): Likewise.
10784         (libc_cv_output_format): Likewise.
10785         (libc_cv_ehdr_start): Likewise.
10786         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
10787         (LIBC_LINKER_FEATURE): Likewise.
10788         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
10790 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10792         [BZ #7065]
10793         * elf/Makefile (dummy-stack-chk-fail): New.
10794         (librtld.map): Use it.
10796 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10798         [BZ #7065]
10799         Compile the dynamic linker without stack protection.
10800         * elf/Makefile (elide-stack-protector): New.
10801         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
10802         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
10803         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
10804         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
10806 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10808         [BZ #7065]
10809         * config.make.in (have-ssp, no-stack-protector): New.
10810         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
10811         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
10812         (CFLAGS-sbrk.op): Likewise.
10813         (CFLAGS-brk.o): Likewise.
10814         (CFLAGS-brk.op): Likewise.
10815         * string/Makefile (CFLAGS-memcpy.c): Likewise.
10816         (CFLAGS-wordcopy.c): Likewise.
10818 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10820         [BZ #7065]
10821         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
10822         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
10823         * include/libc-symbols.h (inhibit_stack_protector): New macro.
10824         (__ifunc_resolver): Use it.
10825         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
10826         inhibit_stack_protector.
10827         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
10828         * elf/ifuncmain7.c (foo_ifunc): Likewise.
10829         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
10830         (foo_protected_ifunc): Likewise.
10831         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
10832         (foo_protected_ifunc): Likewise.
10833         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10834         * sysdeps/nacl/nacl_interface_query.c
10835         (nacl_interface_query_ifunc): Likewise.
10836         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10837         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
10838         Likewise.
10839         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
10840         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
10841         the generated vDSO syscall resolver.
10843 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10844             Florian Weimer  <fweimer@redhat.com>
10846         [BZ #7065]
10847         Initialize the stack guard earlier when linking statically.
10848         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
10849         (__pthread_initialize_minimal): Declare.
10850         * csu/libc-start.c (__pthread_initialize_minimal): Remove
10851         declaration.
10852         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
10853         stack canary and apply_irel initialization up.  Call
10854         __pthread_initialize_minimal only if linked in.
10855         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
10856         constant values.
10857         (__pthread_initialize_minimal): Remove.
10858         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
10859         (__pthread_initialize_minimal_internal): Do not call
10860         __libc_setup_tls.
10862 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10864         [BZ #7065]
10865         * configure.ac (libc_cv_ssp): Move up.
10866         (libc_cv_ssp_strong): Likewise.
10867         (libc_cv_ssp_all): New.
10868         (stack_protector): Augment, adding -fstack-protector-all.
10869         (no_stack_protector): New.
10870         (STACK_PROTECTOR_LEVEL): New.
10871         (AC_ARG_ENABLE(stack-protector)): New configure flag.
10872         * manual/install.texi (--enable-stack-protector): Document it.
10873         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
10875 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
10877         * README.pretty-printers: Must specify CPPFLAGS-* also.
10878         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
10879         (CPPFLAGS-test-mutex-printers.c): Define.
10880         (CPPFLAGS-test-condattr-printers.c): Define.
10881         (CPPFLAGS-test-cond-printers.c): Define.
10882         (CPPFLAGS-test-rwlockattr-printers.c): Define.
10883         (CPPFLAGS-test-rwlock-printers.c): Define.
10885         * nss/Makefile [ifeq (yes,$(have-thread-library))]
10886         (tests): Add tst-cancel-getpwuid_r.
10887         * nss/tst-cancel-getpwuid_r.c: New file.
10889         [BZ #11941]
10890         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
10891         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
10892         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
10893         tst-nodelete-dlclose.
10894         (modules-names): Add tst-nodelete-dlclose-dso and
10895         tst-nodelete-dlclose-plugin.
10896         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
10897         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
10898         ($(objpfx)tst-nodelete-dlclose): Define.
10899         ($(objpfx)tst-nodelete-dlclose.out): Define.
10901 2016-12-23  Florian Weimer  <fweimer@redhat.com>
10903         * scripts/test_printers_common.py: Log GDB output in case of
10904         Python detection failure.
10906 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10908         * configure.ac: Check for python3 or python.
10909         * configure: Regenerated.
10910         * config.make.in (PYTHON): New variable.
10911         * benchtests/Makefile: Don't define PYTHON.
10912         (bench): Define target only if PYTHON was defined.
10913         * Rules: Don't define PYTHON.
10914         Define pretty printer targets only if PYTHON was defined.
10915         (tests-printers): Add to tests-unsupported if PYTHON is not
10916         found.
10917         (python-flags, python-invoke): Remove.
10918         (tests-printers-out): Use PYTHON instead of python-invoke.
10920 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
10922         [BZ #20978]
10923         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10924         Compare name == NULL, not name != NULL.
10926         * manual/texinfo.tex: Update to version 2016-09-18.18 with
10927         trailing whitespace removed.
10928         * scripts/config.guess: Update to version 2016-10-02.
10929         * scripts/config.sub: Update to version 2016-11-19.
10930         * scripts/install-sh: Update to version 2016-01-11.22.
10931         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
10932         * scripts/move-if-change: Update to version 2016-01-11 22:04.
10934 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
10936         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
10937         (do_one_test) Restore original string so iteration works.
10938         * string/string-inlines.c (do_test): Create better input strings.
10939         (test_main) Reduce number of testruns.
10940         * string/string-inlines.c (__old_strsep_1c): New function.
10941         (__old_strsep_2c): Likewise.
10942         (__old_strsep_3c): Likewise.
10943         * string/strsep.c (__strsep): Remove case of small delim string.
10944         Call strcspn directly rather than strpbrk.
10945         * string/bits/string2.h (__strsep): Remove define.
10946         (__strsep_1c): Remove.
10947         (__strsep_2c): Remove.
10948         (__strsep_3c): Remove.
10949         (strsep): Remove.
10950         * sysdeps/unix/sysv/linux/internal_statvfs.c
10951         (__statvfs_getflags): Rename to __strsep.
10953 2016-12-21  Florian Weimer  <fweimer@redhat.com>
10955         * csu/libc-tls.c (_dl_tls_setup): Remove.
10956         * elf/dl-tls.c (_dl_tls_setup): Likewise.
10957         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
10958         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
10960 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
10962         [BZ #7065]
10963         * sysdeps/x86_64/Makefile [$(subdir) = elf]
10964         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
10966 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
10967             Florian Weimer  <fweimer@redhat.com>
10969         [BZ #7065]
10970         * csu/Makefile (tests): Empty assignment and document it.
10971         (tests-static): Remove.
10972         * csu/tst-empty.c: Move to...
10973         * misc/tst-empty.c: ... here.  Switch to new test driver.
10974         * csu/tst-atomic.c: Move to...
10975         * misc/tst-atomic.c: ... here.  Switch to new test driver.
10976         * csu/tst-atomic-long.c: Move to...
10977         * misc/tst-atomic-long.c: ... here.
10978         * misc/Makefile (tests): Add tst-empty, tst-atomic,
10979         tst-atomic-long.
10980         (tests-static): Add tst-empty.
10982 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
10984         * manual/nss.texi: Change incorrect @vtable to @table.
10985         * manual/arith.texi: Convert @tables of variables to @vtables
10986         and remove unnecessary indexing.
10987         * manual/filesys.texi: Likewise.
10988         * manual/llio.texi: Likewise.
10989         * manual/memory.texi: Likewise.
10990         * manual/process.texi: Likewise.
10991         * manual/resource.texi: Likewise.
10992         * manual/search.texi: Likewise.
10993         * manual/signal.texi: Likewise.
10994         * manual/socket.texi: Likewise.
10995         * manual/stdio.texi: Likewise.
10996         * manual/sysinfo.texi: Likewise.
10997         * manual/syslog.texi: Likewise.
10998         * manual/terminal.texi: Likewise.
10999         * manual/time.texi: Likewise.
11000         * manual/users.texi: Likewise.
11002 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
11004         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11005         (roundeven): New declaration.
11006         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
11007         macro.
11008         * math/Versions (roundeven): New libm symbol at version
11009         GLIBC_2.25.
11010         (roundevenf): Likewise.
11011         (roundevenl): Likewise.
11012         * math/Makefile (libm-calls): Add s_roundevenF.
11013         * math/libm-test.inc (roundeven_test_data): New array.
11014         (roundeven_test): New function.
11015         (main): Call roundeven_test.
11016         * math/test-tgmath.c (NCALLS): Increase to 134.
11017         (F(compile_test)): Call roundeven.
11018         (F(roundeven)): New function.
11019         * manual/arith.texi (Rounding Functions): Document roundeven,
11020         roundevenf and roundevenl.
11021         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
11022         * include/math.h (roundeven): Use libm_hidden_proto.
11023         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
11024         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
11025         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
11026         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
11027         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
11028         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
11029         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11030         roundeven.
11031         (CFLAGS-nldbl-roundeven.c): New variable.
11032         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
11033         * sysdeps/nacl/libm.abilist: Update.
11034         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11035         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11036         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11037         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11038         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11039         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11040         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11041         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11042         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11043         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11044         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11045         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11047         Likewise.
11048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11049         Likewise.
11050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11051         Likewise.
11052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11053         Likewise.
11054         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11055         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11056         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11057         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11058         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11060         Likewise.
11061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11062         Likewise.
11063         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11064         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11065         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11067 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
11069         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
11070         preprocessor indentation inside #if.
11072 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11074         * math/libm-test.inc (fmt_ftostr): New function.
11075         (print_float, check_float_internal): Replace some uses of
11076         FTOSTR with uses of fmt_ftostr.
11077         (print_max_error, print_complex_max_error, print_function_ulps)
11078         (print_complex_function_ulps): Remove uses of the macros
11079         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
11080         * math/test-double.h (FTOSTR): Define to strfromd.
11081         (PRINTF_EXPR): Delete.
11082         (PRINTF_XEXPR): Likewise.
11083         (PRINTF_NEXPR): Likewise.
11084         * math/test-float.h (FTOSTR): Define to strfromf.
11085         (PRINTF_EXPR): Delete.
11086         (PRINTF_XEXPR): Likewise.
11087         (PRINTF_NEXPR): Likewise.
11088         * math/test-ldouble.h (FTOSTR): Define to strfroml.
11089         (PRINTF_EXPR): Delete.
11090         (PRINTF_XEXPR): Likewise.
11091         (PRINTF_NEXPR): Likewise.
11093 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11095         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11096         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
11097         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
11098         (__lll_lock_elision): Decrement adapt_count while unlocking
11099         instead of before locking.
11100         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
11101         (__lll_trylock_elision): Likewise.
11102         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
11103         (__lll_unlock_elision): Likewise.
11105 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11107         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
11108         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
11109         Use __libc_tbegin_retry macro.
11111 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11113         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
11114         Add -msoft-float.
11115         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
11116         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
11117         Use __libc_t* transaction macros instead of __builtin_t*.
11118         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11119         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11121 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11123         * sysdeps/unix/sysv/linux/s390/elision-lock.c
11124         (__lll_lock_elision): Use atomics to load / store adapt_count.
11125         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
11126         (__lll_trylock_elision): Likewise.
11128 2016-12-20  Florian Weimer  <fweimer@redhat.com>
11130         Do not require memset elimination in explicit_bzero test.
11131         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
11132         (enum test_expectation): Add NO_EXPECTATIONS.
11133         (subtests): NO_EXPECTATIONS for ordinary clear.
11134         (check_test_buffer): Handle NO_EXPECTATIONS.
11135         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
11137 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
11139         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11140         (fmaxmag): New declaration.
11141         (fminmag): Likewise.
11142         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
11143         macro.
11144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
11145         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
11146         (fmaxmagf): Likewise.
11147         (fmaxmagl): Likewise.
11148         (fminmag): Likewise.
11149         (fminmagf): Likewise.
11150         (fminmagl): Likewise.
11151         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
11152         * math/s_fmaxmag_template.c: New file.
11153         * math/s_fminmag_template.c: Likewise.
11154         * math/libm-test.inc (fmaxmag_test_data): New array.
11155         (fmaxmag_test): New function.
11156         (fminmag_test_data): New array.
11157         (fminmag_test): New function.
11158         (main): Call fmaxmag_test and fminmag_test.
11159         * math/test-tgmath.c (NCALLS): Increase to 132.
11160         (F(compile_test)): Call fmaxmag and fminmag.
11161         (F(fminmag)): New function.
11162         (F(fmaxmag)): Likewise.
11163         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
11164         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
11165         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
11166         fminmag.
11167         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
11168         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
11169         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
11170         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
11171         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
11172         and fminmag.
11173         (CFLAGS-nldbl-fmaxmag.c): New variable.
11174         (CFLAGS-nldbl-fminmag.c): Likewise.
11175         * sysdeps/nacl/libm.abilist: Update.
11176         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11177         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11178         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11179         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11180         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11181         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11182         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11183         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11184         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11185         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11186         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11187         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11189         Likewise.
11190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11191         Likewise.
11192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11193         Likewise.
11194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11195         Likewise.
11196         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11197         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11198         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11199         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11200         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11202         Likewise.
11203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11204         Likewise.
11205         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11206         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11207         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11209 2016-12-19  Torvald Riegel  <triegel@redhat.com>
11211         [BZ #20973]
11212         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
11213         wake-up in robust mutexes.
11214         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11216 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11218         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
11219         (CFLAGS-bench-fmaxf.c): New rule.
11220         (CFLAGS-bench-fminf.c): Likewise.
11221         * benchtests/fmaxf-inputs: New file.
11222         * benchtests/fminf-inputs: Likewise.
11224         * benchtests/Makefile (bench-math): Add fmin and fmax.
11225         (CFLAGS-bench-fmax.c): New rule.
11226         (CFLAGS-bench-fmin.c): Likewise.
11227         * benchtests/fmax-inputs: New file.
11228         * benchtests/fmin-inputs: Likewise.
11230         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
11231         parenthesis.
11232         (CMDLINE_PROCESS): Define using function instead of macro.
11233         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
11234         of test-skeleton.
11235         * benchtests/bench-memchr.c: Likewise.
11236         * benchtests/bench-memcmp.c: Likewise.
11237         * benchtests/bench-memcpy-large.c: Likewise.
11238         * benchtests/bench-memcpy.c: Likewise.
11239         * benchtests/bench-memmem.c: Likewise.
11240         * benchtests/bench-memmove-large.c: Likewise.
11241         * benchtests/bench-memmove.c: Likewise.
11242         * benchtests/bench-memset-large.c: Likewise.
11243         * benchtests/bench-memset.c: Likewise.
11244         * benchtests/bench-rawmemchr.c: Likewise.
11245         * benchtests/bench-strcasecmp.c: Likewise.
11246         * benchtests/bench-strcasestr.c: Likewise.
11247         * benchtests/bench-strcat.c: Likewise.
11248         * benchtests/bench-strchr.c: Likewise.
11249         * benchtests/bench-strcmp.c: Likewise.
11250         * benchtests/bench-strcpy.c: Likewise.
11251         * benchtests/bench-strcpy_chk.c: Likewise.
11252         * benchtests/bench-strlen.c: Likewise.
11253         * benchtests/bench-strncasecmp.c: Likewise.
11254         * benchtests/bench-strncmp.c: Likewise.
11255         * benchtests/bench-strncpy.c: Likewise.
11256         * benchtests/bench-strnlen.c: Likewise.
11257         * benchtests/bench-strpbrk.c: Likewise.
11258         * benchtests/bench-strrchr.c: Likewise.
11259         * benchtests/bench-strsep.c: Likewise.
11260         * benchtests/bench-strspn.c: Likewise.
11261         * benchtests/bench-strstr.c: Likewise.
11262         * benchtests/bench-strtok.c: Likewise.
11264 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11266         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
11267         stepping identification.
11268         (init_cpu_features): Add handle of Haswell.
11270 2016-11-25  Jim Meyering  <meyering@fb.com>
11272         [BZ #20386]
11273         Let gcc detect assert(a = 1) errors.
11274         * assert/assert.h (assert): Rewrite, retaining the old definintion
11275         when required, but otherwise putting the expression as-is in an "if"
11276         expression (hence, with no added parentheses) within a statement
11277         expression.
11279 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11281         * benchtests/Makefile (binaries-benchset): Depend on libsupport
11282         DSO.
11284 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
11286         * Rules (python-flags, python-invoke): New.
11287         ($(test-printers-out)): Use $(python-flags).
11289 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11291         * manual/arith.texi (Math Error Reporting): Document that sNaN
11292         arguments are not considered domain errors.
11294 2016-12-16  Zack Weinberg <zackw@panix.com>
11295             Florian Weimer <fweimer@redhat.com>
11296             Nick Mathewson <nickm@torproject.org>
11298         * string/explicit_bzero.c: New routine.
11299         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
11300         * string/Makefile (routines, strop-tests, tests): Add them.
11301         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
11302         * string/string.h [__USE_MISC]: Declare explicit_bzero.
11304         * debug/explicit_bzero_chk.c: New routine.
11305         * debug/Makefile (routines): Add it.
11306         * debug/tst-chk1.c: Test fortification of explicit_bzero.
11307         * string/bits/string3.h: Fortify explicit_bzero.
11309         * manual/string.texi: Document explicit_bzero.
11310         * NEWS: Mention addition of explicit_bzero.
11312         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
11313         data before returning, using explicit_bzero.
11314         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
11315         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11316         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11318         * include/string.h: Redirect internal uses of explicit_bzero
11319         to __explicit_bzero_chk[_internal].
11320         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
11321         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
11322         * sysdeps/arm/nacl/libc.abilist
11323         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11324         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11325         * sysdeps/unix/sysv/linux/arm/libc.abilist
11326         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11327         * sysdeps/unix/sysv/linux/i386/libc.abilist
11328         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11329         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11330         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11331         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11332         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11333         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11334         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11335         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11336         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11341         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11342         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11343         * sysdeps/unix/sysv/linux/sh/libc.abilist
11344         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11345         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11348         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11349         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11350         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11351         Add entries for explicit_bzero and __explicit_bzero_chk.
11353 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11355         * math/fenv.h
11356         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
11357         (FE_SNANS_ALWAYS_SIGNAL): New macro.
11358         * math/test-fe-snans-always-signal.c: New file.
11359         * math/Makefile (tests): Add test-fe-snans-always-signal.
11360         (CFLAGS-test-fe-snans-always-signal.c): New variable.
11361         * manual/arith.texi (Infinity and NaN): Document
11362         FE_SNANS_ALWAYS_SIGNAL.
11364 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11366         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
11367         bracket.
11369 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11371         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
11372         before calling execv.
11374 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11376         [BZ #20971]
11377         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
11378         overflow in pointer addition.
11379         * string/test-memchr.c (do_test): Add an argument to pass as
11380         the size on memchr.
11381         (test_main): Add check for SIZE_MAX.
11383 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11385         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
11386         (libm-calls): Add w_scalblnF.
11387         * math/w_scalbln.c: Remove.
11388         * math/w_scalblnf.c: Likewise.
11389         * math/w_scalblnl.c: Likewise.
11390         * math/w_scalbln_template.c: New file with type-generic
11391         implementation based on math/w_scalbln.c.
11392         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
11393         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
11395 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
11397         [BZ #20947]
11398         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
11399         either is a signaling NaN.
11400         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
11401         follow fmaxl more closely.
11402         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
11403         when either is a signaling NaN.
11404         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
11405         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
11406         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
11407         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
11408         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
11409         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
11410         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
11411         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
11412         (fmin_test_data): Likewise.
11414 2016-12-15  Andreas Schwab  <schwab@suse.de>
11416         * support/support_test_main.c (support_test_main): Don't shadow
11417         file-local variable test_pid.
11419 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
11421         [BZ #20947]
11422         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
11423         either is a signaling NaN.
11424         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
11426 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
11428         [BZ #20947]
11429         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
11430         when either is a signaling NaN.
11431         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
11433         * bits/long-double.h: New file.
11434         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
11435         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
11436         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
11437         * sysdeps/mips/bits/long-double.h: Likewise.
11438         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
11439         * math/Makefile (headers): Add bits/long-double.h.
11440         * misc/sys/cdefs.h: Include <bits/long-double.h>.
11441         * stdlib/strtold.c: Include <bits/long-double.h> instead of
11442         <bits/wordsize.h>.
11443         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
11444         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
11445         * math/math.h: Do not include <bits/mathdef.h>.
11446         * sysdeps/aarch64/bits/mathdef.h: Remove file.
11447         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
11448         inclusion.
11449         * sysdeps/ia64/bits/mathdef.h: Remove file.
11450         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
11451         * sysdeps/mips/bits/mathdef.h: Likewise.
11452         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11453         * sysdeps/s390/bits/mathdef.h: Likewise.
11454         * sysdeps/sparc/bits/mathdef.h: Likewise.
11455         * sysdeps/x86/bits/mathdef.h: Likewise.
11456         * sysdeps/s390/s390-32/bits/wordsize.h
11457         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
11458         conditional code.
11459         * sysdeps/s390/s390-64/bits/wordsize.h
11460         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11461         Likewise.
11462         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
11463         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11464         Likewise.
11465         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
11466         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11467         Likewise.
11468         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11469         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11470         Likewise.
11472         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
11473         <linux/falloc.h>.
11474         (FALLOC_FL_KEEP_SIZE): Remove.
11475         (FALLOC_FL_PUNCH_HOLE): Likewise.
11476         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
11477         (FALLOC_FL_ZERO_RANGE): Likewise.
11479 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11481         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
11483 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11485         * sysdeps/unix/sysv/linux/renameat.c: New file.
11486         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
11488         * sysdeps/unix/sysv/linux/rename.c: New file.
11489         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
11491 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
11493         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
11494         * string/strtok.c (strtok): Change to tailcall __strtok_r.
11495         * string/strtok_r.c (__strtok_r): Optimize for performance.
11496         * string/string-inlines.c (__old_strtok_r_1c): New function.
11497         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
11499 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11501         * math/Makefile (gen-libm-calls): Add w_log1pF.
11502         (libm-calls): Remove w_log1pF.
11503         * math/w_log1p.c: Remove.
11504         * math/w_log1pf.c: Likewise.
11505         * math/w_log1pl.c: Likewise.
11506         * math/w_log1p_template.c: New file with type-generic
11507         implementation based on math/w_log1p.c.
11508         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
11509         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
11511 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
11513         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
11515 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
11517         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11518         kernel version to 4.9.
11520 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
11522         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
11523         ($(inst_libdir)/libm.a): Fix rule to create the target only.
11525 2016-12-13  Andreas Schwab  <schwab@suse.de>
11527         * sysdeps/powerpc/dl-procinfo.c: Don't define
11528         _dl_powerpc_platforms.
11529         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
11530         constants instead of referencing _dl_powerpc_platforms.
11531         (_dl_platform_string): Remove.
11533 2016-12-13  Florian Weimer  <fweimer@redhat.com>
11535         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
11537 2016-12-13  Florian Weimer  <fweimer@redhat.com>
11539         * Rules (binaries-shared-tests, binaries-pie-tests)
11540         (binaries-static-tests): Link with $(link-extra-libs-tests).
11541         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
11542         Remove $(link-extra-libs-tests).
11544 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11546         * sysdeps/powerpc/powerpc64/multiarch/Makefile
11547         (sysdep_routines): Add strncmp_power9.
11548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11549         (strncmp): Add __strncmp_power9 to list of strncmp functions.
11550         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
11551         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11552         (strncmp): Add __strncmp_power9 to ifunc list.
11553         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
11555 2016-12-12  Florian Weimer  <fweimer@redhat.com>
11557         [BZ #17252]
11558         Add getentropy, getrandom.
11559         * stdlib/sys/random.h: New file.
11560         (headers): Add it.
11561         * stdlib/Makefile (routines): Add getentropy, getrandom.
11562         (tests): Add tst-getrandom.
11563         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
11564         * stdlib/getentropy.c: New file.
11565         * stdlib/getrandom.c: Likewise.
11566         * stdlib/tst-getrandom.c: Likewise.
11567         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
11568         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
11569         * manual/crypt.texi (Unpredictable Bytes): New section.
11570         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
11571         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
11572         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11573         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11574         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11575         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11576         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11577         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11578         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11579         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11580         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11581         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11582         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11583         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11584         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11585         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11587         Likewise.
11588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11589         Likewise.
11590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11592         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11593         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11594         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11595         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11596         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11599         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11600         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11601         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11603 2016-12-10  Florian Weimer  <fweimer@redhat.com>
11605         [BZ #20956]
11606         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
11607         as additional compiler barriers.
11608         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
11609         (fn2, do_test): Declare with external linkage.
11610         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
11611         (do_test): Declare with external linkage.
11612         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
11613         (do_test): Declare with external linkage.
11614         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
11615         (do_test): Declare with external linkage.
11617 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
11619         * support/support_test_main.c (support_test_main): Use correct
11620         timeout.
11622 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
11623             Florian Weimer  <fweimer@redhat.com>
11625         [BZ #16421]
11626         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
11627         and __u6_addr32 members.
11628         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
11629         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
11630         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
11631         Use __u6_addr32.
11632         * inet/tst-checks.c: Use <support/test-driver.c>
11633         * inet/tst-checks-posix.c: New file.
11634         * inet/Makefile (tests): Add it.
11635         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
11637 2016-12-09  Florian Weimer  <fweimer@redhat.com>
11639         New subdirectory support for build and test infrastructure.
11640         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
11641         setting install-lib.
11642         * Makeconfig (link-extra-libs-tests): Define.
11643         (+link-pie-tests, +link-static-tests, +link-tests): Use
11644         link-extra-libs-tests.
11645         (rpath-dirs, all-subdirs): Add support.
11646         (built-modules): Add libsupport.
11647         (libsupport): Define.
11648         * support: New directory.
11649         * support/Makefile: New file.
11650         * support/check.c: Likewise.
11651         * support/check.h: Likewise.
11652         * support/delayed_exit.c: Likewise.
11653         * support/ignore_stderr.c: Likewise.
11654         * support/oom_error.c: Likewise.
11655         * support/set_fortify_handler.c: Likewise.
11656         * support/support.h: Likewise.
11657         * support/temp_file-internal.h: Likewise.
11658         * support/temp_file.c: Likewise.
11659         * support/test-driver.c: Likewise.
11660         * support/test-driver.h: Likewise.
11661         * support/test_main.c: Likewise.
11662         * support/write_message.c: Likewise.
11663         * support/xasprintf.c: Likewise.
11664         * support/xcalloc.c: Likewise.
11665         * support/xmalloc.c: Likewise.
11666         * support/xpthread_barrier_destroy.c: Likewise.
11667         * support/xpthread_barrier_init.c: Likewise.
11668         * support/xpthread_barrier_wait.c: Likewise.
11669         * support/xpthread_cancel.c: Likewise.
11670         * support/xpthread_check_return.c: Likewise.
11671         * support/xpthread_cond_wait.c: Likewise.
11672         * support/xpthread_create.c: Likewise.
11673         * support/xpthread_detach.c: Likewise.
11674         * support/xpthread_join.c: Likewise.
11675         * support/xpthread_mutex_lock.c: Likewise.
11676         * support/xpthread_mutex_unlock.c: Likewise.
11677         * support/xpthread_sigmask.c: Likewise.
11678         * support/xpthread_spin_lock.c: Likewise.
11679         * support/xpthread_spin_unlock.c: Likewise.
11680         * support/xrealloc.c: Likewise.
11681         * support/xsignal.h: Likewise.
11682         * support/xthread.h: Likewise.
11683         * support_tempfile.h: Likewise.
11684         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
11685         (TEST_DATA_LIMIT): Remove unused macro.
11686         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
11687         <support/check.h>.
11688         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
11689         (ignore_stderr, set_fortify_handler): Remove.  Now in
11690         <support/support.h>.
11691         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
11692         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
11693         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
11694         (xpthread_join): Remove.  Now in <support/xthread.h>.
11695         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
11696         Introduce legacy wrappers.
11697         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
11698         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
11699         (write_message): Remove.
11700         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
11701         test-skeleton.c.
11702         * io/test-open-tmpfile: Likewise.
11703         * io/tst-posix_fallocate-common.c: Likewise.
11704         * libio/tst-fseek.c: Likewise.
11705         * malloc/tst-malloc-backtrace.c: Likewise.
11706         * malloc/tst-malloc-fork-deadlock.c: Likewise.
11707         * malloc/tst-malloc-thread-exit.c: Likewise.
11708         * nptl/tst-cancel7.c: Likewise.
11709         * nptl/tst-cleanup0.c: Likewise.
11710         * posix/tst-posix_fadvise-common.c: Likewise.
11711         * rt/tst-shm.c: Likewise.
11712         * time/bug-getdate1.c: Likewise.
11713         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11714         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
11715         * elf/Makefile (tst-piemod1.so): Link against libsupport.
11717 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
11719         * Rules [$(run-built-tests) != no] (tests-expected): Add
11720         $(tests-printers).
11721         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
11723 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11725         [BZ #20539]
11726         * math/Makefile (install-lib-ldscripts): Add libm.a.
11727         (install_subdir): Remove.
11728         (install-others): Add.
11729         ($(inst_libdir)/libm.a): Add rule for installation as
11730         linker script.
11731         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
11733 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
11735         * INSTALL: Regenerated.
11736         * Makeconfig: Add comments and whitespace to make the control flow
11737         clearer.
11738         (+link-printers-tests, +link-pie-printers-tests,
11739         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
11740         built-rtld-LDFLAGS, link-libc-rpath,
11741         link-libc-tests-after-rpath-link,
11742         link-libc-printers-tests): New.
11743         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
11744         link-libc-tests): Use the new variables as required.
11745         * Makerules ($(py-const)): New rule.
11746         generated: Add $(py-const).
11747         * README.pretty-printers: New file.
11748         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
11749         (others): Depend on $(py-const).
11750         (tests): Depend on $(tests-printers-programs) or
11751         $(tests-printers-out),
11752         as required.  Pass $(tests-printers) to merge-test-results.sh.
11753         * manual/install.texi: Add requirements for testing the pretty
11754         printers.
11755         * nptl/Makefile (gen-py-const-headers, pretty-printers,
11756         tests-printers, CFLAGS-test-mutexattr-printers.c
11757         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
11758         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
11759         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
11760         * nptl/nptl-printers.py: New file.
11761         * nptl/nptl_lock_constants.pysym: Likewise.
11762         * nptl/test-cond-printers.c: Likewise.
11763         * nptl/test-cond-printers.py: Likewise.
11764         * nptl/test-condattr-printers.c: Likewise.
11765         * nptl/test-condattr-printers.py: Likewise.
11766         * nptl/test-mutex-printers.c: Likewise.
11767         * nptl/test-mutex-printers.py: Likewise.
11768         * nptl/test-mutexattr-printers.c: Likewise.
11769         * nptl/test-mutexattr-printers.py: Likewise.
11770         * nptl/test-rwlock-printers.c: Likewise.
11771         * nptl/test-rwlock-printers.py: Likewise.
11772         * nptl/test-rwlockattr-printers.c: Likewise.
11773         * nptl/test-rwlockattr-printers.py: Likewise.
11774         * scripts/gen-py-const.awk: Likewise.
11775         * scripts/test_printers_common.py: Likewise.
11776         * scripts/test_printers_exceptions.py: Likewise.
11778 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11780         * scripts/build-many-glibcs.py (Context.__init__): Take strip
11781         argument.
11782         (Glibc.build_glibc): Strip installed shared libraries if
11783         requested.
11784         (get_parser): Add --strip option.
11785         (main): Update Context call.
11787 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11788             Dominik Vogt  <vogt@linux.vnet.ibm.com>
11790         [BZ #20847]
11791         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
11792         array bounds for else branch.
11793         (__execvpe): Style fixes.
11794         * posix/tst-vfork3.c (run_script): New function.
11795         (create_script): Likewise.
11796         (do_test): Use run_script internal function.
11797         (do_prepare): Use create_script internal function.
11799 2016-12-07  Andreas Schwab  <schwab@suse.de>
11801         * sysdeps/unix/sysv/linux/x86/elision-conf.h
11802         (__elision_available): Don't declare.
11803         * sysdeps/unix/sysv/linux/x86/elision-conf.c
11804         (__elision_available): Don't define.
11805         (elision_init): Don't set __elision_available.
11807 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11809         [BZ #20940]
11810         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
11811         return Inf for arguments Inf and sNaN.
11812         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
11813         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11814         Likewise.
11815         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11816         Likewise.
11817         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11818         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
11819         for arguments Inf and sNaN.  When returning a NaN, compute it by
11820         arithmetic on the arguments.
11821         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
11822         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
11823         arguments.
11825 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
11827         [BZ #20916]
11828         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
11829         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
11830         to compute result.
11831         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11832         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
11834 2016-12-05  Torvald Riegel  <triegel@redhat.com>
11836         * include/atomic.h (__atomic_check_size_ls): New.
11837         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
11838         atomic_store_release): Use it.
11839         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
11840         (elision_adapt, ELIDE_LOCK): Use atomics.
11841         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
11842         atomics and improve code comments.
11843         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
11844         (__lll_trylock_elision): Likewise.
11846 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11848         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
11849         programs.
11851 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
11853         [BZ #20916]
11854         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
11855         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
11856         arguments to compute result.
11857         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
11858         1 for arguments (sNaN, 0) or (1, sNaN).
11859         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11860         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11862         [BZ #20919]
11863         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
11864         NaN first argument when raised to power 0.
11865         * math/w_pow.c (__pow): Do not check for NaN or zero results from
11866         raising to power zero.
11867         * math/w_powf.c (__powf): Likewise.
11868         * math/w_powl.c (__powl): Likewise.
11869         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
11870         pow (0, 0) or pow (NaN, 0).
11872 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
11874         [BZ #20918]
11875         * configure.ac: Test for static NSS cryptographic libraries and set
11876         libc_cv_static_nss_crypt.
11877         * configure: Regenerate.
11878         * config.make.in (static-nss-crypt): Define.
11879         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
11880         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
11881         (CFLAGS-tst-linkall-static.c): Define.
11882         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
11883         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
11884         ($(objpfx)tst-linkall-static): Define.
11885         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
11886         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
11888 2016-12-02  Florian Weimer  <fweimer@redhat.com>
11890         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
11891         (one-hundred, tst-tls-many-dynamic-modules): Define.
11892         (modules-names): Add $(tst-tls-many-dynamic-modules).
11893         (tst-tls-manydynamic%mod.os): Build with special preprocessor
11894         macros.
11895         (tst-tls-manydynamic): Link against libdl, libpthread.
11896         (tst-tls-manydynamic.out): The test needs the test modules at run
11897         time.
11898         * elf/tst-tls-manydynamic.c: New file.
11899         * elf/tst-tls-manydynamic.h: Likewise.
11900         * elf/tst-tls-manydynamicmod.c: Likewise.
11902 2016-12-02  Florian Weimer  <fweimer@redhat.com>
11904         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
11905         (TLS_DTV_UNALLOCATED): Add.
11906         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
11907         offsets.
11909 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
11911         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11913 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
11915         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
11916         Add -fno-optimize-sibling-calls.
11918 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
11920         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
11921         New declaration.
11922         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
11923         macro.
11924         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
11925         New macro.
11926         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
11927         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
11928         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
11929         (llogbf): Likewise.
11930         (llogbl): Likewise.
11931         * math/Makefile (gen-libm-calls): Add w_llogbF.
11932         (tests): Add test-fp-llogb-constants.
11933         * math/w_llogb_template.c: New file.  Based on
11934         math/w_ilogb_template.c.
11935         * math/libm-test.inc (llogb_test_data): New array.
11936         (llogb_test): New function.
11937         (main): Call llogb_test.
11938         * math/test-fp-llogb-constants.c: New file.  Based on
11939         math/test-fp-ilogb-constants.c.
11940         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
11941         (do_test): Call check_return_llogb.
11942         * math/test-tgmath.c (NCALLS): Increase to 126.
11943         (F(compile_test)): Call llogb.
11944         (F(llogb)): New function.
11945         * manual/math.texi (Exponents and Logarithms): Document llogb,
11946         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
11947         * manual/libm-err-tab.pl (@all_functions): Add llogb.
11948         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
11949         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
11950         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
11951         (CFLAGS-nldbl-llogb.c): New variable.
11952         * sysdeps/nacl/libm.abilist: Update.
11953         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11954         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11955         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11956         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11957         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11958         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11959         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11960         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11961         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11962         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11963         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11964         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11966         Likewise.
11967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11968         Likewise.
11969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11970         Likewise.
11971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11972         Likewise.
11973         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11974         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11975         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11976         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11977         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11979         Likewise.
11980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11981         Likewise.
11982         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11983         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11984         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11986 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
11988         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
11989         _Float128 instead of long double.
11990         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
11992         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
11993         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
11994         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
11995         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
11996         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
11997         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
11998         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
11999         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
12000         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
12001         Likewise.
12003 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12005         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
12006         Remove redirection to __strrchr_ppc.
12008 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12010         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12011         (sysdep_routines): Add strcmp_power9.
12012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12013         (strcmp): Add __strcmp_power9 to list of strcmp functions.
12014         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
12015         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12016         (strcmp): Add __strcmp_power9 to ifunc list.
12017         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
12019 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
12021         * bits/fp-logb.h: New file.
12022         * sysdeps/ia64/bits/fp-logb.h: Likewise.
12023         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
12024         * sysdeps/x86/bits/fp-logb.h: Likewise.
12025         * math/Makefile (headers): Add bits/fp-logb.h.
12026         * math/math.h: Include <bits/fp-logb.h>.
12027         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
12028         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
12029         * bits/mathdef.h (FP_ILOGB0): Remove.
12030         (FP_ILOGBNAN): Likewise.
12031         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
12032         (FP_ILOGBNAN): Likewise.
12033         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
12034         (FP_ILOGBNAN): Likewise.
12035         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
12036         (FP_ILOGBNAN): Likewise.
12037         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
12038         (FP_ILOGBNAN): Likewise.
12039         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
12040         (FP_ILOGBNAN): Likewise.
12041         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
12042         (FP_ILOGBNAN): Likewise.
12043         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
12044         (FP_ILOGBNAN): Likewise.
12045         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
12046         (FP_ILOGBNAN): Likewise.
12047         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
12048         (FP_ILOGBNAN): Likewise.
12050         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
12051         time module.
12052         (Context.__init__): Initialize self.logsdir_old.
12053         (Context.run_builds): Handle bot action.
12054         (Context.bot_cycle): Copy logs directory before running builds.
12055         (Context.bot_run_self): Take argument for whether to check
12056         subprocess result.  Flush stdout before running subprocess.
12057         (Context.bot): New function.
12058         (get_parser): Allow bot action.
12060 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
12062         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
12063         Import email.mime.text, email.utils and smtplib modules.
12064         (Context.__init__): Initialize self.bot_config_json.
12065         (Context.run_builds): Handle bot-cycle action.
12066         (Context.load_bot_config_json): New function.
12067         (Context.part_build_old): Likewise.
12068         (Context.bot_cycle): Likewise.
12069         (Context.bot_build_mail): Likewise.
12070         (Context.bot_run_self): Likewise.
12071         (get_parser): Allow bot-cycle action.
12073 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12075         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
12076         Remove redirection to __stpcpy_ppc.
12078 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12080         Remove __libc_memalign from ld.so because it is unused.
12081         * elf/dl-minimal.c: Update comment on the malloc implementation.
12082         (malloc): Renamed from __libc_memalign, replacing the original
12083         malloc implementation.  Replace the align parameter with
12084         MALLOC_ALIGNMENT.
12085         * elf/Versions (ld): Update comment and remove __libc_memalign.
12086         * sysdeps/nacl/ld.abilist: Likewise.
12087         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12088         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12089         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12090         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12091         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12092         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12093         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12094         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12095         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12096         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12097         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12098         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12099         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12103         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12104         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12105         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12106         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12107         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
12109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
12110         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
12111         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12112         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12113         * sysdeps/generic/localplt.data (ld.so): Likewise.
12114         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
12115         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
12116         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
12117         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
12118         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
12119         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
12120         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
12121         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
12122         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
12123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
12124         (ld.so): Likewise.
12125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12126         (ld.so): Likewise.
12127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
12128         Likewise.
12129         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
12130         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
12131         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
12132         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
12133         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
12135 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12137         [BZ #16628]
12138         Implement _dl_catch_error, _dl_signal_error in libc.so.
12139         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
12140         (catch_hook): Define as thread-local or regular variable,
12141         depending on DL_ERROR_BOOTSTRAP.
12142         (CATCH_HOOK): Remove.
12143         (dl_signal_error, _dl_catch_error): Use
12144         catch_hook.  Add hidden definition for libc.
12145         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
12146         for DL_ERROR_BOOTSTRAP only.
12147         * elf/dl-error.c: New file.
12148         * elf/dl-error-minimal.c: Likewise.
12149         * elf/tst-latepthread.c: Likewise.
12150         * elf/tst-latepthreadmod.c: Likewise.
12151         * elf/Makefile (routines): Add dl-error.
12152         (dl-routines): Remove dl-error.
12153         (rtld-routines): Add dl-error-minimal.
12154         [build-shared] (tests): Add tst-latepthread.
12155         (module-names): Add tst-latepthreadmod.
12156         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
12157         symbol.
12158         (tst-latepthreadmod.so): Link against libpthread.
12159         (tst-latepthread): Link against libdbl.
12160         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
12161         _dl_catch_error.
12162         [ld] (GLIBC_PRIVATE): Likewise.
12163         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
12164         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
12165         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
12166         directly.
12167         * elf/dl-tsd.c: Remove file.
12168         * elf/rtld.c (_rtld_global_ro): Remove initializers for
12169         _dl_catch_error, _dl_signal_error.
12170         (_dl_initial_error_catch_tsd): Remove definition.
12171         (do_preload): Remove initialization of dl_error_catch_tsd.
12172         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
12173         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
12174         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12175         * dlfcn/dlopen.c (dlopen_doit): Likewise.
12176         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
12177         set dl_error_catch_tsd.
12178         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
12179         _dl_error_catch_tsd member.
12180         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
12181         members.
12182         (_dl_initial_error_catch_tsd): Remove declaration.
12183         (_dl_dprintf): Provide definition for use outside of ld.so.
12184         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
12185         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
12186         prototype for libc.
12187         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
12188         _dl_catch_error.
12189         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
12190         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
12191         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
12192         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
12193         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
12194         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
12195         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
12196         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
12197         Likewise.
12198         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
12199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
12200         (ld.so): Likewise.
12201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12202         (ld.so): Likewise.
12203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
12204         Likewise.
12205         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
12206         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
12207         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
12208         Likewise.
12209         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
12210         Likewise.
12211         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
12213 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12215         [BZ #4099]
12216         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
12217         _IO_BUFSIZ (8192).
12219 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
12221         * PROJECTS: Remove file.
12223 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12225         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
12227 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
12228             Steve Ellcey  <sellcey@caviumnetworks.com>
12230         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
12231         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
12232         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
12233         fxstatat.
12234         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
12235         lxstat.
12236         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
12237         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
12238         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
12239         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
12240         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
12241         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
12242         __xstat.
12244 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12246         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
12247         Define.
12248         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
12249         definition.
12251 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12253         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
12254         version and turn into strong alias.  Remove compat symbol.
12256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12257         (__longjmp): Remove.
12259 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
12261         * bits/fp-fast.h: New file.
12262         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
12263         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
12264         * math/Makefile (headers): Add bits/fp-fast.h.
12265         * math/math.h: Include <bits/fp-fast.h>.
12266         * bits/mathdef.h (FP_FAST_FMA): Remove.
12267         (FP_FAST_FMAF): Likewise.
12268         (FP_FAST_FMAL): Likewise.
12269         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
12270         (FP_FAST_FMAF): Likewise.
12271         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
12272         (FP_FAST_FMAF): Likewise.
12273         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
12274         (FP_FAST_FMAF): Likewise.
12275         (FP_FAST_FMAL): Likewise.
12276         * sysdeps/arm/bits/mathdef.h: Remove file.
12277         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
12278         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12279         * sysdeps/tile/bits/mathdef.h: Likewise.
12281 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
12283         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
12284         * math/w_ilogb.c: Remove.
12285         * math/w_ilogbf.c: Likewise.
12286         * math/w_ilogbl.c: Likewise.
12287         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
12288         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
12289         * math/Makefile (gen-libm-calls): Add w_ilogbF.
12290         (libm-calls): Remove w_ilogbF.
12291         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
12292         (LDOUBLE_ilogbl_libm_version): New macro.
12294         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
12296         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
12297         [!__STRICT_ANSI__ && !__cplusplus].
12299 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
12301         [BZ #20750]
12302         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
12303         of PIC.
12305 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
12306             Yury Norov  <ynorov@caviumnetworks.com>
12307             Steve Ellcey  <sellcey@caviumnetworks.com>
12309         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
12310         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
12311         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
12312         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
12313         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
12314         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
12315         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
12316         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
12317         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
12318         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
12319         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
12320         to get correct reg name for ILP32.
12321         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
12322         (RELA_SIZE): New Macro.
12323         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
12324         to support ILP32.
12325         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
12326         cast for ILP32 mode.
12327         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
12328         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
12329         * sysdeps/aarch64/memset.S (__memset): Ditto.
12330         * sysdeps/aarch64/strchr.S (strchr): Ditto.
12331         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
12332         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
12333         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
12334         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
12335         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
12336         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
12337         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
12338         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
12339         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
12340         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
12341         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
12342         change PTR_MANGLE call to use register numbers instead of names.
12343         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
12344         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
12345         ILP32 mode, change PTR_MANGLE calls to use register numbers.
12346         * sysdeps/aarch64/start.S (_start): Ditto.
12347         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
12348         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
12349         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
12350         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
12351         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
12352         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
12353         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
12354         Make defined values dependent on __ILP32__.
12355         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
12356         (sem_t): Change __align type.
12357         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
12358         PTR_SIZE): New Macros.
12359         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
12360         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
12361         Set when in ILP32 mode.
12362         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
12363         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
12364         Set elf flags for ILP32.
12365         (add_system_dir): Set ILP32 library directories.
12366         * sysdeps/unix/sysv/linux/aarch64/init-first.c
12367         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
12368         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
12369         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
12370         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
12371         New Macros.
12372         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
12374 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
12376         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
12377         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
12378         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
12380 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
12382         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
12383         <asm/cachectl.h>.
12385 2016-11-27  Zack Weinberg  <zackw@panix.com>
12387         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
12388         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
12390 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12392         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
12393         error_t to fix usage in C++ programs.
12395 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
12397         * scripts/build-many-glibcs.py: Import datetime module.
12398         (Context.__init__): Load JSON build state.  Initialize list of
12399         status logs.
12400         (Context.run_builds): Update saved build state.
12401         (Context.add_makefile_cmdlist): Update list of status logs.
12402         (Context.load_build_state_json): New function.
12403         (Context.store_build_state_json): Likewise.
12404         (Context.clear_last_build_state): Likewise.
12405         (Context.update_build_state): Likewise.
12406         (CommandList.status_logs): Likewise.
12408 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
12410         * scripts/build-many-glibcs.py (Context.__init__): Save text of
12411         script being executed.
12412         (Context.get_script_text): New function.
12413         (Context.exec_self): Likewise.
12414         (Context.checkout): Re-exec script if changed by checkout process.
12416 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
12418         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12419         (setpayloadsig): New declaration.
12420         * math/Versions (setpayloadsig): New libm symbol at version
12421         GLIBC_2.25.
12422         (setpayloadsigf): Likewise.
12423         (setpayloadsigl): Likewise.
12424         * math/Makefile (libm-calls): Add s_setpayloadsigF.
12425         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
12426         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
12427         (setpayloadsig_test_data): New array.
12428         (setpayloadsig_test): New function.
12429         (main): Call setpayloadsig_test.
12430         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
12431         setpayloadsigf and setpayloadsigl.
12432         * manual/libm-err-tab.pl: Update comment on interfaces without
12433         ulps tabulated.
12434         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
12435         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
12436         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
12437         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
12438         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
12439         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
12440         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12441         setpayloadsig.
12442         (CFLAGS-nldbl-setpayloadsig.c): New variable.
12443         * sysdeps/nacl/libm.abilist: Update.
12444         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12445         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12446         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12447         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12448         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12449         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12450         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12451         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12452         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12453         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12454         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12455         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12457         Likewise.
12458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12459         Likewise.
12460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12461         Likewise.
12462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12463         Likewise.
12464         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12465         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12466         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12467         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12468         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12470         Likewise.
12471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12472         Likewise.
12473         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12474         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12475         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12477         * scripts/build-many-glibcs.py: Import json module.
12478         (Context.__init__): Take replace_sources argument.  Load
12479         versions.json.
12480         (Context.load_versions_json): New function.
12481         (Context.store_json): Likewise.
12482         (Context.store_versions_json): Likewise.
12483         (Context.set_component_version): Likewise.
12484         (Context.checkout): Update versions.json.  Check for and handle
12485         changes of version.  Prefer previously explicitly specified
12486         version to default version.
12487         (Context.checkout_vcs): Return a revision identifier.
12488         (Context.git_checkout): Likewise.
12489         (Context.gcc_checkout): Likewise.
12490         (get_parser): Add --replace-sources option.
12491         (main): Pass replace_sources argument to Context call.
12493 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12495         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
12496         * nptl/allocatestack.c (allocate_stack): Likewise.
12497         (__reclaim_stacks): Likewise.
12498         (setxid_signal_thread): Obtain pid through syscall.
12499         * nptl/nptl-init.c (sigcancel_handler): Likewise.
12500         (sighandle_setxid): Likewise.
12501         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
12502         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
12503         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12504         Likewise.
12505         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
12506         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
12507         comment.
12508         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
12509         * nptl/descr.h (struct pthread): Change comment about pid value.
12510         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
12511         pid assert.
12512         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
12513         Do not set pid value.
12514         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
12515         pid cache check.
12516         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
12517         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
12518         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
12519         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
12520         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
12521         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12522         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
12523         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
12524         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
12525         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
12526         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
12527         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12528         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
12529         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12530         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
12531         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
12532         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12533         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
12534         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
12535         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
12536         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
12537         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12538         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
12539         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
12540         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
12541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12543         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12544         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12545         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12546         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
12547         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
12548         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
12549         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12550         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
12551         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12552         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
12553         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12554         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
12555         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
12556         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12557         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
12558         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
12559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12561         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12562         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12563         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12564         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12565         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12566         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
12567         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12568         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
12569         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
12570         struct access.
12571         (clone_test): Remove function.
12572         (do_test): Rewrite to take in consideration pid is not cached anymore.
12574 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
12576         * bits/flt-eval-method.h: New file.
12577         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
12578         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
12579         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
12580         * math/Makefile (headers): Add bits/flt-eval-method.h.
12581         * math/math.h: Include <bits/flt-eval-method.h>.
12582         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
12583         [__USE_ISOC99] (double_t): Likewise.
12584         * bits/mathdef.h (float_t): Remove.
12585         (double_t): Likewise.
12586         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
12587         (double_t): Likewise.
12588         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
12589         (double_t): Likewise.
12590         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
12591         (double_t): Likewise.
12592         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
12593         (double_t): Likewise.
12594         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
12595         (double_t): Likewise.
12596         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
12597         (double_t): Likewise.
12598         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
12599         (double_t): Likewise.
12600         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
12601         (double_t): Likewise.
12602         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
12603         (double_t): Likewise.
12604         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
12605         (double_t): Likewise.
12606         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
12607         (double_t): Likewise.
12608         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
12609         (double_t): Likewise.
12610         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
12611         (double_t): Likewise.
12613 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
12615         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
12616         instead of PIC.
12618 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12620         [BZ #20859]
12621         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
12622         (-0x7fffffff) instead of 0x80000001.
12623         * math/test-fp-ilogb-constants.c: New file.
12624         * math/Makefile (tests): Add test-fp-ilogb-constants.
12626 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
12628         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
12629         (_init): Use it in place of hardcoded R_MIPS_JALR.
12630         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
12631         (_init): Use it in place of hardcoded R_MIPS_JALR.
12632         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
12633         (_init): Use it in place of hardcoded R_MIPS_JALR.
12635 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12637         [BZ #20787]
12638         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
12639         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
12640         (double_t): Do not define to double if [__x86_64__] when
12641         __FLT_EVAL_METHOD__ is nonzero.
12642         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
12643         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
12644         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12645         test-flt-eval-method-387 and test-flt-eval-method-sse.
12646         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
12647         variable.
12648         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
12650 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
12652         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
12653         use of -fno-isolate-erroneous-paths options for tilepro.
12655 2016-11-23  Florian Weimer  <fweimer@redhat.com>
12657         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
12658         structure initialization is no longer needed.
12660 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12662         [BZ #20855]
12663         * bits/mathdef.h (float_t): Define to float.
12664         * math/test-flt-eval-method.c: New file.
12665         * math/Makefile (tests): Add test-flt-eval-method.
12666         (CFLAGS-test-flt-eval-method.c): New variable.
12668 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
12670         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
12671         and __fstatfs.  Make them aliases of __fstatfs64 if
12672         STATFS_IS_STATFS64 is set to non-zero.
12673         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
12674         and __statfs64.
12675         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
12676         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
12677         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
12678         for __statfs and statfs.
12679         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
12680         to 0.
12681         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
12682         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
12683         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
12684         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12685         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12686         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
12689         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
12690         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12691         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
12692         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
12694 2016-11-22  Andreas Schwab  <schwab@suse.de>
12696         * misc/mkstemp.c: Include <fcntl.h>.
12697         * misc/mkstemps.c: Likewise.
12698         * misc/mkostemp.c: Likewise.
12699         * misc/mkostemps.c: Likewise.
12701 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
12703         [BZ #20847]
12704         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12705         array bounds.
12706         (__execvpe): Likewise.
12708 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
12710         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
12711         -fno-isolate-erroneous-paths options for tilepro.
12713 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
12715         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
12716         to 0 when in 32 bit mode.
12717         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
12718         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12719         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12720         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12722         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12723         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
12724         XSTAT_IS_XSTAT64 test.
12725         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
12726         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
12727         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
12728         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
12729         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
12730         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
12731         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
12732         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
12733         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
12734         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
12735         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
12737 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
12739         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12740         (setpayload): New declaration.
12741         * math/Versions (setpayload): New libm symbol at version
12742         GLIBC_2.25.
12743         (setpayloadf): Likewise.
12744         (setpayloadl): Likewise.
12745         * math/Makefile (libm-calls): Add s_setpayloadF.
12746         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
12747         test_Ff_b1_data.
12748         (RUN_TEST_Ff_b1): New macro.
12749         (RUN_TEST_LOOP_Ff_b1): Likewise.
12750         (canonicalize_test_data): Update type.
12751         (setpayload_test_data): New array.
12752         (setpayload_test): New function.
12753         (main): Call setpayload_test.
12754         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
12755         setpayloadf and setpayloadl.
12756         * manual/libm-err-tab.pl: Update comment on interfaces without
12757         ulps tabulated.
12758         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
12759         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
12760         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
12761         Likewise.
12762         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
12763         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
12764         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
12765         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
12766         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
12767         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
12768         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
12769         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
12770         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
12771         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12772         setpayload.
12773         (CFLAGS-nldbl-setpayload.c): New variable.
12774         * sysdeps/nacl/libm.abilist: Update.
12775         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12776         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12777         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12778         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12779         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12780         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12781         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12782         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12783         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12784         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12785         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12786         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12788         Likewise.
12789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12790         Likewise.
12791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12792         Likewise.
12793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12794         Likewise.
12795         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12796         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12797         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12798         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12799         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12801         Likewise.
12802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12803         Likewise.
12804         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12805         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12806         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12808 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12810         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
12811         * include/unistd.h: Extend comment about __access_noerrno return
12812         semantics.
12813         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
12814         (access_common): Correct typo for EACCES.
12816 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
12818         * sysdeps/tile/math-tests.h: New file.
12820         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
12821         (__old_set_dataplane): Rename from set_dataplane and make a
12822         compatibility symbol.
12823         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
12824         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
12825         sys/dataplane.h.
12827 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
12829         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
12830         script quote words in command output to log suitably for input to
12831         the shell.
12833 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
12834             Maciej W. Rozycki  <macro@imgtec.com>
12836         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
12837         `.Lno_weak_fn' label.
12838         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
12839         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
12841 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12842             Yury Norov  <ynorov@caviumnetworks.com>
12844         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
12845         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
12846         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12847         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
12848         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12849         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
12850         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12851         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12852         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12853         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
12854         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12855         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
12856         (sysdep_routines): Remove oldgetrlimit64.
12857         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
12858         (sysdep_routines): Likewise.
12859         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
12860         (sysdep_routines): Likewise.
12861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12862         [$(subdir) = resource] (sysdep_routines): Likewise.
12863         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
12864         [$(subdir) = resource] (sysdep_routines): Likewise.
12865         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
12866         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
12867         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
12868         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
12869         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
12870         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12871         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
12872         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
12873         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
12874         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
12875         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
12876         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
12877         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
12878         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
12879         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
12880         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
12881         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
12882         setrlimit and getrlimit.
12883         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
12884         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12885         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
12886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
12888         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12889         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
12890         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12891         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12892         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
12893         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
12894         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
12895         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
12896         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
12897         (__old_getrlimit64): Add compatibility symbol.
12898         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
12900 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
12902         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
12903         newly built gmp, mpfr and mpc.
12905         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
12907 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
12909         * conform/Makefile (linknamespace-libs): Rename to
12910         linknamespace-libs-thr.
12911         (linknamespace-libs-posix): New variable.
12912         (linknamespace-libs-xsi): Likewise.
12913         (linknamespace-libs-XPG3): Include libcrypt.a.
12914         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
12915         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
12916         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
12917         (linknamespace-libs-XOPEN2K): Likewise.
12918         (linknamespace-libs-XOPEN2K8): Likewise.
12919         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
12921         [BZ #20829]
12922         * stdio-common/Versions (__snprintf): Add to version
12923         GLIBC_PRIVATE.
12924         * include/stdio.h (__snprintf): Use libc_hidden_proto.
12925         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
12926         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
12927         of snprintf.
12928         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12930 2016-11-16  Zack Weinberg  <zackw@panix.com>
12932         * string/string.h: Remove obsolete comment stating that
12933         strcoll_l and strxfrm_l have not yet been standardized.
12935 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12937         * hurd/hurd.h (__hurd_fail_noerrno): New function.
12938         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
12939         __access_noerrno.
12940         * io/access.c (__access_noerrno): New function.
12941         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
12942         (hurd_fail_seterrno): Likewise.
12943         (access_common): Likewise.
12944         (__access_noerrno): Likewise.
12945         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
12946         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
12947         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
12948         macro.
12950 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
12952         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
12953         Only declare fpregs if [__SH_FPU_ANY__].
12955 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
12957         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
12958         Make code unconditional.
12959         [!(__SH4__ || __SH4A__)]: Remove conditional code.
12961 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
12963         * manual/sysinfo.texi (S_APPEND): Delete.
12964         (S_IMMUTABLE): Likewise.
12966 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
12967             Magnus Granberg  <zorry@gentoo.org>
12968             Mike Frysinger  <vapier@gentoo.org>
12970         [BZ #20662]
12971         * configure.ac (libc_cv_predef_stack_protector): Also check for
12972         __stack_chk_fail_local symbols.
12973         * configure: Regenerated.
12975 2016-11-15  Florian Weimer  <fweimer@redhat.com>
12977         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12978         (libc_hidden_def): Remove redefinition.
12979         (__sigsetjmp): Add hidden definition.
12980         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12981         (libc_hidden_def): Remove redefinition.
12982         (__sigsetjmp): Add hidden definition.
12984 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
12986         * scripts/build-many-glibcs.py (os.path): Do not import.
12987         (Context): Inherit explicitly from object.  Remove blank line
12988         between class and docstring.
12989         (Config): Likewise.
12990         (Glibc): Likewise.
12991         (Command): Likewise.
12992         (CommandList): Likewise.
12993         (Context.write_files): Store chmod mode in a variable.
12995         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
12996         LIBC_SLIBDIR_RTLDDIR for tilegx32.
12997         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
12999 2016-11-14  Zack Weinberg  <zackw@panix.com>
13001         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
13002         creating or re-creating it.
13004         * string/bits/string2.h: Fix typo in comment.
13006 2016-11-14  Zack Weinberg  <zackw@panix.com>
13008         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
13009         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
13010         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
13011         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
13012         of redirected function names.
13014         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
13015         as well.  Document that MESSAGE must be a single string literal.
13017 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
13019         * scripts/build-many-glibcs.py: New file.
13021         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
13022         (do_test): Disable -Wmaybe-uninitialized around uses of
13023         except_mask.
13025         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
13027 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
13029         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
13030         (atomic_store_release): Provide tilepro-specific implementations.
13032 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
13034         * math/math.h (__MATH_TG): New macro.
13035         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
13036         [__USE_ISOC99] (signbit): Likewise.
13037         [__USE_ISOC99] (isfinite): Likewise.
13038         [__USE_ISOC99] (isnan): Likewise.
13039         [__USE_ISOC99] (isinf): Likewise.
13040         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
13041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
13042         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
13043         __MATH_TG and __MATH_EVAL_FMT2.
13044         * sysdeps/generic/math_private.h (fabs_tg): Define using
13045         __MATH_TG.
13046         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
13047         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
13048         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
13049         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
13050         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
13051         macro.
13052         (__iscanonical): Likewise.
13053         (iscanonical): Define using __MATH_TG.
13055 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13057         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
13058         guards.
13060         * sysdeps/unix/sysv/linux/access.c: New file.
13061         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
13063 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
13065         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
13066         and __WORDSIZE32_PTRDIFF_LONG.
13068 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13070         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13072 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13074         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
13075         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
13076         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
13077         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
13078         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
13079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
13080         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
13081         * sysdeps/unix/sysv/linux/truncate.c: New file.
13082         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
13083         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
13084         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
13085         Remove.
13086         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
13087         Likewise.
13089         * posix/tst-truncate-common.c: New file.
13090         * posix/tst-truncate.c: Use tst-truncate-common.c.
13091         * posix/tst-truncate64.c: Likewise and add LFS tests.
13092         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
13093         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
13094         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
13095         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
13096         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
13097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
13098         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
13099         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
13100         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
13101         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
13102         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
13103         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
13104         Remove.
13105         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
13106         Likewise.
13108 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
13110         [BZ #20790]
13111         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
13112         to MAXLINESIZE.
13113         * sunrpc/bug20790.x: New file.
13114         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
13115         variable.
13116         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
13117         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
13119         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
13121         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
13123         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
13124         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
13125         calloc, realloc, free, memalign and __libc_memalign rather than
13126         making them optional.
13128         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
13129         for libc.so.
13131 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13133         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
13134         ptw-lseek64.
13135         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
13136         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
13137         Likewise.
13138         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
13139         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
13140         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
13141         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
13142         * sysdeps/unix/sysv/linux/lseek.c: New file.
13143         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
13144         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
13145         __libc_lseek64 from auto-generation.
13146         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13147         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
13149 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13151         * nptl/tst-basic1.c (tf, do_test): Use write_message.
13152         * nptl/tst-cleanup1.c (do_test): Likewise.
13153         * nptl/tst-cleanup3.c (do_test): Likewise.
13154         * nptl/tst-key1.c (do_test): Likewise.
13155         * nptl/tst-key2.c (tf, do_test): Likewise.
13156         * nptl/tst-key3.c (tf, do_test): Likewise.
13157         * nptl/tst-stdio1.c (do_test): Likewise.
13158         * nptl/tst-stdio2.c (do_test): Likewise.
13160         * nptl/tst-kill3.c (handler): Use write_message in place of write.
13161         * nptl/tst-kill6.c (handler): Likewise.
13162         * nptl/tst-tls2.c (CB): Likewise.
13163         * nptl/tst-tls3.c (CB): Likewise.
13165 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
13167         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
13169 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
13170             Steve Ellcey  <sellcey@caviumnetworks.com>
13172         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
13173           __ASSUME_ST_INO_64_BIT as 0
13174         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
13175         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
13176           over the code where __ASSUME_ST_INO_64_BIT is used.
13177         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
13178         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
13179         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13181 2016-11-07  Florian Weimer  <fweimer@redhat.com>
13183         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13184         Document ABI exposure of the __kind offset.
13185         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13186         Mention reason for the __kind offset exposure in the ABI.
13187         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13188         Likewise.
13189         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13190         Likewise.
13191         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13192         Likewise.
13193         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
13194         (struct __pthread_mutex_s): Likewise.
13195         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13196         Likewise.
13197         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13198         Likewise.
13199         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13200         Likewise.
13201         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13202         Likewise.
13203         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13204         Likewise.
13205         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13206         Likewise.
13207         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
13208         (struct __pthread_mutex_s): Likewise.
13209         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13210         (struct __pthread_mutex_s): Likewise.
13211         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
13212         Likewise.
13214 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
13216         * test-skeleton.c: Document do_test usage.
13218 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
13220         * iconv/gconv.h (__gconv_info): Define __data element using a
13221         zero-length array.
13223 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
13225         * math/test-tgmath2.c: Split up test function.
13227 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13229         * Rules (tests-expected): New variable, depending on
13230         $(run-built-tests).
13231         (tests): Pass $(tests-expected) to merge-test-results.sh, not
13232         $(tests).
13234         * Rules [$(run-built-tests) = no] (tests): Do not depend on
13235         $(tests-unsupported).
13237 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13239         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13240         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
13242 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13244         [BZ #20768]
13245         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
13246         __fegetenv instead of fegetenv.
13248         [BZ #14139]
13249         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
13250         (find_files): Obtain platform name from libm-test-ulps-name and
13251         store in %pplatforms.
13252         (canonicalize_platform): Remove.
13253         (print_platforms): Use $pplatforms directly.
13254         (by_platforms): Do not allow for platforms missing from
13255         %pplatforms.
13256         * sysdeps/aarch64/libm-test-ulps-name: New file.
13257         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
13258         * sysdeps/arm/libm-test-ulps-name: Likewise.
13259         * sysdeps/generic/libm-test-ulps-name: Likewise.
13260         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
13261         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
13262         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
13263         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
13264         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
13265         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
13266         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
13267         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
13268         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
13269         * sysdeps/nios2/libm-test-ulps-name: Likewise.
13270         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
13271         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
13272         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
13273         * sysdeps/sh/libm-test-ulps-name: Likewise.
13274         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
13275         * sysdeps/tile/libm-test-ulps-name: Likewise.
13276         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
13278         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
13280         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
13281         (test-xfail-check-execstack): New variable.
13283         * sysdeps/mips/localplt.data: New file.
13285 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
13286             Steve Ellcey  <sellcey@caviumnetworks.com>
13288         * bits/wordsize.h: Add documentation.
13289         * sysdeps/aarch64/bits/wordsize.h : New file
13290         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
13291         definitions.
13292         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
13293         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
13294         with #if instead of #ifdef.
13295         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
13296         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
13297         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
13298         Add or change defines.
13299         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
13300         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13301         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
13302         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
13303         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13304         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13305         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
13306         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
13307         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
13308         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13309         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
13310         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
13311         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
13312         * sysdeps/x86/bits/wordsize.h: Likewise.
13314 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
13315             Kevin Petit  <kevin.petit@arm.com>
13317         * sysdeps/aarch64/memchr.S (__memchr): New file.
13319 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13321         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
13323 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
13325         [BZ #19398]
13326         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
13327         $(linknamespace-symlists-tests).
13329 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
13331         * time/tst-strptime2.c: Ignore -Wformat-length warning.
13333 2016-11-02  Florian Weimer  <fweimer@redhat.com>
13334             Carlos O'Donell  <carlos@redhat.com>
13336         [Bug #20729]
13337         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
13338         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
13339         for -Os related change.
13341 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
13343         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
13345 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
13347         [BZ #19673]
13348         * manual/math.texi (Exponents and Logarithms): Correct description
13349         of clog10.
13351 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
13353         [Bz #20729]
13354         * locale/weight.h: Include libc-internal.h.
13355         * locale/weightwc.h: Likewise.
13356         * nptl/nptl_dbP.h: Likewise.
13358 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
13360         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
13361         when it is MACH_PORT_NULL.
13363 2016-10-31  Andreas Schwab  <schwab@suse.de>
13365         [BZ #20707]
13366         * posix/glob.c (glob): Initialize pglob before checking for
13367         GLOB_BRACE.  Don't call glob recursively if pattern contains no
13368         valid brace expression despite GLOB_BRACE.
13369         * posix/globtest.sh: Test it.
13371 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
13373         [BZ #20729]
13374         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
13375         Define.
13376         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
13377         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
13378         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
13379         for seq2.back_us and seq1.back_us only for -Os compiles.
13380         * locale/weightwc.h (findix): Likewise.
13381         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
13382         DB_GET_FIELD_ADDRESS only for -Os compiles.
13383         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
13384         for slen only for -Os compiles.
13385         * string/strcoll_l.c (get_next_seq): Ignore
13386         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
13387         for -Os compiles.
13389         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
13390         * include/crypt.h: New file.
13392 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13394         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
13395         from test-skeleton.c.
13396         (statclass): Replace calls to write with calls to write_message.
13398 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
13400         * math/math.h
13401         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
13402         New macro.
13403         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
13404         Likewise.
13405         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
13406         Likewise.
13407         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
13408         SNANL.
13409         * math/test-double.h (snan_value_MACRO): New macro.
13410         * math/test-float.h (snan_value_MACRO): Likewise.
13411         * math/test-ldouble.h (snan_value_MACRO): Likewise.
13412         * math/libm-test.inc (issignaling_test_data): Add tests of
13413         snan_value_MACRO.
13415 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13417         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
13418         behavior when eliding a lock not held by the current thread.
13419         * sysdeps/powerpc/nptl/elide.h: Likewise.
13421 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13423         [BZ #20728]
13424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
13425         branch to _exit() by a function call.
13427 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13429         * malloc/malloc.c: Update chunk layout comments.
13430         (chunk_main_arena): Update comment.
13432 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13434         * crypt/sha256.c, crypt/sha256-block.c,
13435         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
13436         sha256_process_block to __sha256_process_block.
13437         * crypt/sha512.c, crypt/sha512-block.c,
13438         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
13439         sha512_process_block to __sha512_process_block.
13441 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
13443         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
13445         * math/test-nan-overflow.c: Include stdlib.h for malloc.
13447 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
13449         [BZ #20019]
13450         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
13451         definition in unrelocated shared library.
13452         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13454 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13456         [BZ #20729]
13457         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
13458         * sysdeps/unix/sysv/linux/i386/Makefile
13459         (uses-6-syscall-arguments): Define.
13460         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
13461         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
13462         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
13463         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
13464         Likewise.
13465         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
13466         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
13467         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
13468         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
13469         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
13470         (CFLAGS-fallocate64.os): Likewise.
13471         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
13472         (CFLAGS-pthread_rwlock_timedrdlock.os)
13473         (CFLAGS-pthread_rwlock_timedwrlock.o)
13474         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
13475         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
13476         (CFLAGS-sem_timedwait.os): Likewise.
13478 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13480         * elf/tst-linkall-static.c: New file.
13481         * elf/Makefile (tests-static): Add tst-linkall-static.
13482         (tst-linkall-static): Link against static libraries.
13484 2016-10-27  Florian Weimer  <fweimer@redhat.com>
13486         * malloc/malloc.c (sysmalloc): Initialize previous size field of
13487         mmaped chunks.
13489 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13491         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
13492         members to mchunk_prev_size, mchunk_size.
13493         (chunk_main_arena): Reverse sense and rename from
13494         chunk_non_main_arena.
13495         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
13496         mchunk_size instead of size.
13497         (set_non_main_arena): Define.
13498         (chunksize): Use chunksize_nomask instead of direct member access.
13499         (chunksize_nomask): Define.
13500         (next_chunk): Use chunksize instead of direct member access.
13501         (prev_size, set_prev_size): Define.
13502         (prev_chunk): Use prev_size instead of direct member access.
13503         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
13504         (inuse_bit_at_offset, set_inuse_bit_at_offset)
13505         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
13506         (mchunk_prev_size, mchunk_size): Poison tokens.
13507         (unlink): Use chunksize_nomask, prev_size accessors.
13508         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
13509         (do_check_free_chunk): Use prev_size accessor.
13510         (sysmalloc): Use set_prev_size, set_head accessors.
13511         (munmap_chunk, mremap_chunk): Use prev_size accessor.
13512         (__libc_free): Use chunksize_nomask accessor.
13513         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
13514         chunk_main_arena accessors.
13515         (_int_free): Use chunksize_nomask, prev_size accessors.
13516         (malloc_consolidate): Use chunksize, prev_size accessors.
13517         (_int_realloc): Use chunksize_nomask accessor.
13518         (_int_memalign): Use set_prev_size accessor.
13519         (__malloc_info): Use chunksize_nomask accessor.
13520         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
13521         accessors.
13522         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
13523         (heap_trim): Use chunksize_nomask, prev_size accessors.
13525 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
13527         [BZ #19380]
13528         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
13529         for inexact results.
13530         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
13531         of inexact result where mpfr_subnormalize is the only inexact
13532         step.
13533         * stdlib/tst-strtod-round-data.h: Regenerated.
13534         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
13535         Define to 0.
13536         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
13538 2016-10-27  David S. Miller  <davem@davemloft.net>
13540         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
13542 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13544         * malloc/malloc.c (do_set_mallopt_check): New function.
13545         (do_set_mmap_threshold): Likewise.
13546         (do_set_mmaps_max): Likewise.
13547         (do_set_top_pad): Likewise.
13548         (do_set_perturb_byte): Likewise.
13549         (do_set_trim_threshold): Likewise.
13550         (do_set_arena_max): Likewise.
13551         (do_set_arena_test): Likewise.
13552         (__libc_mallopt): Use them.
13554 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
13556         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13557         (canonicalize): New declaration.
13558         * math/Versions (canonicalize): New libm symbol at version
13559         GLIBC_2.25.
13560         (canonicalizef): Likewise.
13561         (canonicalizel): Likewise.
13562         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
13563         * math/s_canonicalize_template.c: New file.
13564         * math/libm-test.inc: Update comment on functions tested and
13565         testing of NaN payloads.
13566         (TEST_NAN_PAYLOAD): New macro.
13567         (NO_TEST_INLINE): Update value.
13568         (XFAIL_TEST): Likewise.
13569         (ERRNO_UNCHANGED): Likewise.
13570         (ERRNO_EDOM): Likewise.
13571         (ERRNO_ERANGE): Likewise.
13572         (IGNORE_RESULT): Likewise.
13573         (NON_FINITE): Likewise.
13574         (TEST_SNAN): Likewise.
13575         (NO_TEST_MATHVEC): Likewise.
13576         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
13577         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
13578         (struct test_Ffp_b1_data): New type.
13579         (RUN_TEST_Ffp_b1): New macro.
13580         (RUN_TEST_LOOP_Ffp_b1): Likewise.
13581         (canonicalize_test_data): New array.
13582         (canonicalize_test): New function.
13583         (main): Call canonicalize_test.
13584         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
13585         canonicalizef and canonicalizel.
13586         * manual/libm-err-tab.pl: Update comment on interfaces without
13587         ulps tabulated.
13588         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
13589         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
13590         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13591         canonicalize.
13592         (CFLAGS-nldbl-canonicalize.c): New variable.
13593         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
13594         to ...
13595         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
13596         ... here.
13597         (do_test): Also test canonicalizel.
13598         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
13599         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
13600         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
13601         file.
13602         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
13603         Use libm_hidden_def.
13604         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
13605         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
13606         (do_test): Also test canonicalizel.
13607         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
13608         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
13609         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
13610         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
13611         libm_hidden_def.
13612         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
13613         macro.
13614         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
13615         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
13616         * sysdeps/nacl/libm.abilist: Update.
13617         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13618         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13619         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13620         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13621         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13622         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13623         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13624         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13625         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13626         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13627         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13628         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13630         Likewise.
13631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13632         Likewise.
13633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13634         Likewise.
13635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13636         Likewise.
13637         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13638         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13639         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13640         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13641         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13643         Likewise.
13644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13645         Likewise.
13646         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13647         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13648         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13650         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
13651         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13652         getpayload.
13653         (CFLAGS-nldbl-getpayload.c): New variable.
13655 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13657         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
13658         integer from the format string.
13660 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13662         [BZ #19473]
13663         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
13664         declarations.
13665         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
13666         weak aliases.
13667         * malloc/hooks.c (__malloc_get_state): Remove definition.
13668         (malloc_get_state): New stub implementation as
13669         compatibility symbol.
13670         (malloc_set_state): Rename from __malloc_set_state.  Turn into
13671         compat symbol.
13672         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
13673         malloc_set_state.
13674         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
13676 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13678         * iconvdata/iso646.c (enum variant): Drop illegal_var.
13679         (names): Turn into concatenation of strings.
13680         (gconv_init): Adapt iteration over names.
13682 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13684         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
13685         make const.
13686         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
13687         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
13688         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
13689         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
13690         character in sbconv.
13691         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
13692         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
13693         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
13695 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13697         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
13699         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
13700         (M_TRIM_THRESHOLD): Likewise.
13702         * manual/memory.texi (M_ARENA_TEST): Add documentation.
13703         (M_ARENA_MAX): Likewise.
13704         * malloc/malloc.c: Remove obsolete comment.
13706         * manual/memory.texi: Add environment variable alternatives to
13707         setting mallopt parameters.
13709 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
13711         * include/atomic.h
13712         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
13713         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
13715 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13717         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
13718         * stdlib/tst-strfrom.h: New file.
13719         * stdlib/tst-strfrom.c: New file.
13720         * stdlib/tst-strfrom-locale.c: New file.
13722         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
13723         * stdlib/bug-strtod2.c: Likewise.
13724         * stdlib/tst-strtod-round-skeleton.c: Likewise.
13725         * stdlib/tst-strtod6.c: Likewise.
13726         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
13728 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13730         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
13731         * manual/arith.texi: Document strfromd, strfromf, strfroml.
13732         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
13733         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
13734         * stdlib/stdlib.h (strfromd): New declaration.
13735         (strfromf): Likewise.
13736         (strfroml): Likewise.
13737         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
13738         strfrom.
13739         * stdlib/strfromd.c: New file.
13740         * stdlib/strfromf.c: Likewise.
13741         * stdlib/strfroml.c: Likewise.
13742         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
13743         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
13744         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
13745         * sysdeps/arm/nacl/libc.abilist: Update.
13746         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13747         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13748         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13749         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13750         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13751         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13752         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13753         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13754         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13755         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13756         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13757         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13758         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13759         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13764         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13765         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13766         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13767         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13768         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13771         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13772         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13773         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13775 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
13777         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
13778         instead of cmpli.
13779         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
13780         instead of cmpli.
13782 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
13784         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
13785         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
13786         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
13787         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13788         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13789         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13791 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13793         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
13794         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13795         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
13796         SYSCALL_LL64_PRW.
13797         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13798         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
13799         __ASSUME_PRW_DUMMY_ARG.
13800         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
13801         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13802         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13803         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13804         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
13805         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
13807 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
13809         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
13811 2016-10-22  Florian Weimer  <fweimer@redhat.com>
13813         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
13814         "C++", to override a potential extern "C" directive around the
13815         header file inclusion.
13817 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
13819         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
13821 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13823         * sysdeps/powerpc/fpu/fenv_private.h:
13824         (_FPU_MASK_ALL): Rename to...
13825         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
13826         XE FPSCR bits.
13828         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
13830         (_FPU_MASK_ROUNDING): Rename to...
13831         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
13832         NI bits.
13834         (_FPU_MASK_EXCEPT_ROUND): Rename to...
13835         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
13836         bits and rounding bits.
13838         (__libc_feholdbits_ppc): New inline function to mask, set,
13839         and pontentially clear FSPCR bits, and change MSR[FE] bits.
13840         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
13841         (libc_feholdexcept_setround_ppc): Likewise.
13843         (__libc_femergeenv_ppc): New function to dynamically mask both
13844         old and new FP environments and merge.
13845         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
13846         (libc_feresetround_ppc): Likewise.
13847         (libc_feupdateenv_test_ppc): Likewise.
13848         (libc_feupdateenv_ppc): Likewise.
13850         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
13851         of ISA RN bits, and update macro names.
13852         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
13853         effectively the same as the previously mentioned function.
13855         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
13856         usage with fe_resetround_ppc.
13858         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
13859         to be used.
13860         (libc_feholdexcept_setround_ctxf): Likewise.
13861         (libc_feholdexcept_setround_ctxl): Likewise.
13863 2016-10-21  Florian Weimer  <fweimer@redhat.com>
13865         [BZ #20715]
13866         * math/math.h [__cplusplus] (iszero): Define as function template.
13867         * math/Makefile [CXX] (tests): Add test-math-iszero.
13868         (CFLAGS-test-math-iszero.cc): Set.
13869         * math/test-math-iszero.cc: New file.
13871 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
13873         [BZ #20660]
13874         * sysdeps/arm/e_sqrt.c: New file.
13875         * sysdeps/arm/e_sqrtf.c: Likewise.
13877 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
13879         [BZ #20718]
13880         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
13881         not use floating-point comparisons to test sign.
13882         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
13883         Likewise.
13885         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13886         (getpayload): New declaration.
13887         * math/Versions (getpayload): New libm symbol at version
13888         GLIBC_2.25.
13889         (getpayloadf): Likewise.
13890         (getpayloadl): Likewise.
13891         * math/Makefile (libm-calls): Add s_getpayloadF.
13892         * math/libm-test.inc: Include <nan-high-order-bit.h>.
13893         (struct test_f_f_data): Add comment.
13894         (RUN_TEST_fp_f): New macro.
13895         (RUN_TEST_LOOP_fp_f): Likewise.
13896         (getpayload_test_data): New array.
13897         (getpayload_test): New function.
13898         (main): Call getpayload_test.
13899         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
13900         descriptor.
13901         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
13902         getpayloadf and getpayloadl.
13903         * manual/libm-err-tab.pl: Update comment on interfaces without
13904         ulps tabulated.
13905         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
13906         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
13907         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
13908         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
13909         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
13910         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
13911         * sysdeps/nacl/libm.abilist: Update.
13912         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13913         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13914         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13915         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13916         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13917         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13918         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13919         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13920         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13921         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13922         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13923         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13925         Likewise.
13926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13927         Likewise.
13928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13929         Likewise.
13930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13931         Likewise.
13932         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13933         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13934         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13935         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13936         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13938         Likewise.
13939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13940         Likewise.
13941         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13942         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13943         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13945 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13947         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
13948         tst-fallocate{64}.
13949         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
13950         on syscall return.
13952 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
13954         [BZ #20689]
13955         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
13956         usable.
13958 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
13960         * sysdeps/generic/nan-high-order-bit.h: New file.
13961         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
13962         * sysdeps/mips/nan-high-order-bit.h: Likewise.
13963         * sysdeps/hppa/math_private.h: Remove file.
13964         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
13965         not define here.
13966         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
13967         <nan-high-order-bit.h>.
13968         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13969         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
13970         <nan-high-order-bit.h>.
13971         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13972         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
13973         <nan-high-order-bit.h>.
13974         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13975         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
13976         <nan-high-order-bit.h>.
13977         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13978         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
13979         <nan-high-order-bit.h>.
13980         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13981         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
13982         <nan-high-order-bit.h>.
13983         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13984         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
13985         <nan-high-order-bit.h>.
13986         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13987         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
13988         <nan-high-order-bit.h>.
13989         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13990         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
13991         <nan-high-order-bit.h>.
13992         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13993         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
13994         <nan-high-order-bit.h>.
13995         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13996         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
13997         <nan-high-order-bit.h>.
13998         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13999         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
14000         <nan-high-order-bit.h>.
14001         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14002         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
14003         <nan-high-order-bit.h>.
14004         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14005         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
14006         <nan-high-order-bit.h>.
14007         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14008         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
14009         <nan-high-order-bit.h>.
14010         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14011         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
14012         <nan-high-order-bit.h>.
14013         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14014         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
14015         <nan-high-order-bit.h>.
14016         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14017         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
14018         <nan-high-order-bit.h>.
14019         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14021 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14023         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
14025 2016-09-22  John David Anglin  <dave.anglin@bell.net>
14027         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
14028         abort-instr.h.
14029         (EFAULT): Remove conditional define.
14030         (ENOSYS): Likewise.
14031         (atomic_compare_and_exchange_val_acq): Use instruction nullification
14032         instead of conditional branch instructions.
14034 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
14036         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14037         (totalordermag): New declaration.
14038         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
14039         New macro.
14040         * math/Versions (totalordermag): New libm symbol at version
14041         GLIBC_2.25.
14042         (totalordermagf): Likewise.
14043         (totalordermagl): Likewise.
14044         * math/Makefile (libm-calls): Add s_totalordermagF.
14045         * math/libm-test.inc (totalordermag_test_data): New array.
14046         (totalordermag_test): New function.
14047         (main): Call totalordermag_test.
14048         * math/test-tgmath.c (NCALLS): Increase to 125.
14049         (F(compile_test)): Call totalordermag.
14050         (F(totalordermag)): New function.
14051         * manual/arith.texi (FP Comparison Functions): Document
14052         totalordermag, totalordermagf and totalordermagl.
14053         * manual/libm-err-tab.pl: Update comment on interfaces without
14054         ulps tabulated.
14055         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
14056         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
14057         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
14058         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
14059         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
14060         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
14061         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
14062         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14063         totalordermag.
14064         (CFLAGS-nldbl-totalordermag.c): New variable.
14065         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
14066         (do_test): Also test totalordermagl.
14067         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
14068         Likewise.
14069         * sysdeps/nacl/libm.abilist: Update.
14070         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14071         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14072         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14073         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14074         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14075         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14076         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14077         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14078         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14079         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14080         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14081         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14083         Likewise.
14084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14085         Likewise.
14086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14087         Likewise.
14088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14089         Likewise.
14090         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14091         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14092         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14093         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14094         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14096         Likewise.
14097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14098         Likewise.
14099         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14100         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14101         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14103 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
14105         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
14106         boolean.
14108 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
14110         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
14111         raising FE_INVALID with feraisexcept in case where part of
14112         argument is infinite, subtract that part of argument from itself.
14113         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
14114         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
14115         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
14117 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
14119         * math/libm-test.inc (totalorder_test_data): Add more tests.
14121 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14123         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
14124         Undefine weak_alias and add a comment why mips64 require
14125         versioning.
14127 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
14129         [BZ #20647]
14130         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
14131         maximum CPUID level is less than 2.
14133 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
14135         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14136         (totalorder): New declaration.
14137         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
14138         New macro.
14139         * math/Versions (totalorder): New libm symbol at version
14140         GLIBC_2.25.
14141         (totalorderf): Likewise.
14142         (totalorderl): Likewise.
14143         * math/Makefile (libm-calls): Add s_totalorderF.
14144         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
14145         string.
14146         * math/libm-test.inc (PAYLOAD_DIG): New macro.
14147         (qnan_value_pl): Likewise.
14148         (snan_value_pl): Likewise.
14149         (qnan_value): Define using qnan_value_pl.
14150         (snan_value): Define using snan_value_pl.
14151         (struct test_ff_i_data): Add comment about which tests use this
14152         structure.
14153         (RUN_TEST_ff_b): New macro.
14154         (RUN_TEST_LOOP_ff_b): Likewise.
14155         (totalorder_test_data): New array.
14156         (totalorder_test): New function.
14157         (main): Call totalorder_test.
14158         * math/test-tgmath.c (NCALLS): Increase to 122.
14159         (F(compile_test)): Call totalorder.
14160         (F(totalorder)): New function.
14161         * manual/arith.texi (FP Comparison Functions): Document
14162         totalorder, totalorderf and totalorderl.
14163         * manual/libm-err-tab.pl: Update comment on interfaces without
14164         ulps tabulated.
14165         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
14166         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
14167         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
14168         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
14169         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
14170         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
14171         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
14172         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14173         totalorder.
14174         (CFLAGS-nldbl-totalorder.c): New variable.
14175         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
14176         file.
14177         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
14178         Add test-totalorderl-ldbl-128ibm.
14179         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
14180         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
14181         test-totalorderl-ldbl-96.
14182         * sysdeps/nacl/libm.abilist: Update.
14183         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14184         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14185         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14186         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14187         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14188         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14189         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14190         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14191         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14192         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14193         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14194         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14196         Likewise.
14197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14198         Likewise.
14199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14200         Likewise.
14201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14202         Likewise.
14203         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14204         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14205         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14206         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14207         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14209         Likewise.
14210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14211         Likewise.
14212         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14213         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14214         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14216 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14218         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
14219         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
14220         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
14221         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
14222         remove ENOSYS implementation.
14223         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
14224         Consolidate all Linux implementations.
14226 2016-10-11  Florian Weimer  <fweimer@redhat.com>
14228         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
14229         * resolv/herror.c (herror): Cast away const-ness.
14230         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
14231         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
14233 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
14235         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
14236         instead of M_NAN + M_NAN.
14237         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
14239 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14241         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
14242         unused variable 'p'.
14244 2016-10-09  Alan Modra  <amodra@gmail.com>
14245             Andreas Schwab  <schwab@linux-m68k.org>
14247         [BZ #20554]
14248         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
14249         [PIC && !SHARED]: Set up PIC register for PLT call.
14251 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
14253         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
14254         conditional on value of [__FLT_EVAL_METHOD__].
14255         * math/test-iseqsig-excess-precision.c: New file.
14256         * math/Makefile (tests): Add test-iseqsig-excess-precision.
14258 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14260         * math/s_iseqsig_template.c: Include math-private.h.
14262         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
14263         * posix/tst-posix_fadvise.c: New file.
14264         * posix/tst-posix_fadvise64.c: Likewise.
14265         * posix/tst-posix_fadvise-common.c: Likewise.
14266         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14267         (__ASSUME_FADVISE64_64_6ARG): Define.
14268         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14269         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
14270         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14271         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
14272         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
14273         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
14274         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
14275         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
14276         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
14277         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
14278         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
14279         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
14280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
14281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
14282         Likewise.
14283         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
14284         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
14285         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
14286         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14287         Alias to __posix_fadvise64_l32.
14288         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
14289         Add compat definition to posix_fadvise64.
14290         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14291         Add versioned definition to posix_fadvise64.
14292         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
14293         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
14294         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
14295         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
14296         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
14298         * io/Makefile (tests): Add tst-posix_fallocate and
14299         tst-posix_fallocate64.
14300         * io/tst-posix_fallocate-common.c: New file.
14301         * io/tst-posix_fallocate.c: Likewise.
14302         * io/tst-posix_fallocate64.c: Likewise.
14303         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
14304         file.
14305         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
14306         Likewise.
14307         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
14308         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
14309         Likewise.
14310         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
14311         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
14312         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
14313         SYSCALL_LL to pass both offset and len arguments.
14314         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
14315         Likewise.
14316         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
14317         __libc_pwrite64 alias used by posix_fallocate64.
14319         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14320         tst-fallocate64.
14321         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14322         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14323         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14324         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14325         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14326         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14327         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14328         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14329         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14330         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14331         macro on offset argument.
14332         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14333         SYSCALL_LL64 on offset argument.
14335         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14336         tst-fallocate64.
14337         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14338         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14339         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14340         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14341         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14342         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14343         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14344         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14345         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14346         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14347         macro on offset argument.
14348         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14349         SYSCALL_LL64 on offset argument.
14350         * test-skeleton.c (FAIL_RET): Add macro.
14351         (FAIL_EXIT): Likewise.
14352         (FAIL_EXIT1): Likewise.
14353         (_FAIL): Likewise.
14355 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14357         [BZ #20629]
14358         resolv: Remove RES_USEBSTRING and its implementation.
14359         * resolv/resolv.h (RES_USEBSTRING): Remove.
14360         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
14361         (digitvalue, encode_bitstring, decode_bitstring): Remove.
14362         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
14363         (labellen): Remove extended label types support.
14364         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
14365         * resolv/res_init.c (res_setoptions): Likewise.
14366         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14368 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14370         resolv: Remove RES_NOIP6DOTINT and its implementation.
14371         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
14372         (RES_NOIP6DOTINT): Remove.
14373         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
14374         handling.
14375         * resolv/res_debug.c (p_option): Likewise.
14376         * resolv/res_init.c (res_setoptions): Likewise.
14377         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14379 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14381         resolv: Deprecate unimplemented flags.
14382         * misc/sys/cdefs.h (__glibc_macro_warning1)
14383         (__glibc_macro_warning): Define.
14384         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
14385         (RES_KEEPTSIG): Mark as deprecated.
14386         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
14387         RES_NOCHECKNAME, RES_KEEPTSIG.
14388         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
14390 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14392         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
14393         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
14394         Use strong_alias to create symbols for glibc verison 2.19.
14396 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14398         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
14400 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14402         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
14404 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14406         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
14408 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14410         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14411         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
14412         in header for using it as type for ifunc function because __GI_* symbols
14413         for ppc32 do not target the ifunc symbols.
14414         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14416 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14418         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
14419         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
14420         libc_ifunc_hidden_def.
14421         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
14422         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
14423         Redirect ifunced function in header for using it as type of ifunc'ed
14424         function. Redefine libc_hidden_def to use fallback non ifunc'ed
14425         function for __GI_* symbol.
14426         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
14427         * include/libc-symbols.h
14428         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
14430 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14432         [BZ #20478]
14433         * sysdeps/s390/multiarch/ifunc-resolve.h
14434         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
14435         to create ifunc symbols.
14436         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
14437         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
14438         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
14439         for using it as type for ifunc function.
14440         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14441         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14442         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14443         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14444         * sysdeps/s390/multiarch/strcat.c: Likewise.
14445         * sysdeps/s390/multiarch/strchr.c: Likewise.
14446         * sysdeps/s390/multiarch/strcmp.c: Likewise.
14447         * sysdeps/s390/multiarch/strcpy.c: Likewise.
14448         * sysdeps/s390/multiarch/strcspn.c: Likewise.
14449         * sysdeps/s390/multiarch/strlen.c: Likewise.
14450         * sysdeps/s390/multiarch/strncmp.c: Likewise.
14451         * sysdeps/s390/multiarch/strncpy.c: Likewise.
14452         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14453         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14454         * sysdeps/s390/multiarch/strrchr.c: Likewise.
14455         * sysdeps/s390/multiarch/strspn.c: Likewise.
14456         * sysdeps/s390/multiarch/wcschr.c: Likewise.
14457         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14458         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14459         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14460         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14461         * sysdeps/s390/multiarch/wmemset.c: Likewise.
14462         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
14463         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
14464         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
14465         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
14466         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
14467         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
14469 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14471         * include/libc-symbols.h (__ifunc_resolver):
14472         New macro is used by __ifunc* macros.
14473         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
14474         depending on HAVE_GCC_IFUNC.
14475         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
14476         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
14477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
14478         Redirect ifunced function in header for using as type for ifunc function.
14479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
14480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
14481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
14482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
14483         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
14484         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
14485         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
14486         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
14487         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
14488         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
14489         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
14490         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
14491         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
14492         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
14493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
14494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
14495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
14496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
14497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
14498         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
14499         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
14500         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
14501         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
14502         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
14503         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
14504         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
14505         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
14506         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
14507         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
14508         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
14509         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
14510         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
14511         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
14512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
14513         Add libc_hidden_def() and use libc_ifunc_hidden() macro
14514         instead of libc_ifunc() macro.
14515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
14516         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
14518 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14520         * config.h.in (HAVE_GCC_IFUNC): New undef.
14521         * configure.ac: Add check if gcc supports attribute ifunc feature.
14522         * configure: Regenerated.
14523         * manual/install.texi: Add recommendation for gcc with
14524         indirect-function support.
14525         * INSTALL: Regenerated.
14527 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
14529         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
14530         macro.
14531         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14532         (__iseqsig): New declaration.
14533         * math/s_iseqsig_template.c: New file.
14534         * math/Versions (__iseqsigf): New libm symbol at version
14535         GLIBC_2.25.
14536         (__iseqsig): Likewise.
14537         (__iseqsigl): Likewise.
14538         * math/libm-test.inc (iseqsig_test_data): New array.
14539         (iseqsig_test): New function.
14540         (main): Call iseqsig_test.
14541         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
14542         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
14543         * manual/libm-err-tab.pl: Update comment on interfaces without
14544         ulps tabulated.
14545         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
14546         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
14547         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
14548         * sysdeps/nacl/libm.abilist: Update.
14549         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14550         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14551         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14552         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14553         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14554         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14555         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14556         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14557         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14558         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14559         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14560         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14562         Likewise.
14563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14564         Likewise.
14565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14566         Likewise.
14567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14568         Likewise.
14569         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14570         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14571         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14572         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14573         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14575         Likewise.
14576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14577         Likewise.
14578         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14579         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14580         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14582 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14584         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
14585         do_sincos_2, sloww, sloww1): Update comments.
14587         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
14588         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
14590         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
14591         K boolean and rename it.
14592         (__sin): Adjust.
14593         (__cos): Adjust.
14595 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
14596             Siddhesh Poyarekar  <siddhesh@sourceware.org>
14598         * manual/nss.texi: Fix typos in the manual.
14600 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
14602         * manual/contrib.texi: Fix typos in the manual.
14604         * manual/maint.texi: Fix typos in the manual.
14606         * manual/install.texi: Fix typos in the manual.
14607         * INSTALL: Regenerated.
14609         * manual/lang.texi: Fix typos in the manual.
14611         * manual/probes.texi: Fix typos in the manual.
14613         * manual/threads.texi: Fix typos in the manual.
14615         * manual/debug.texi: Fix typos in the manual.
14617         * manual/crypt.texi: Fix typos in the manual.
14619         * manual/conf.texi: Fix typos in the manual.
14621         * manual/sysinfo.texi: Fix typos in the manual.
14623         * manual/users.texi: Fix typos in the manual.
14625         * manual/job.texi: Fix typos in the manual.
14627         * manual/process.texi: Fix typos in the manual.
14629         * manual/argp.texi: Fix typos in the manual.
14630         * manual/getopt.texi: Likewise.
14631         * manual/startup.texi: Likewise.
14633         * manual/signal.texi: Fix typos in the manual.
14635         * manual/setjmp.texi: Fix typos in the manual.
14637         * manual/resource.texi: Fix typos in the manual.
14639         * manual/time.texi: Fix typos in the manual.
14641         * manual/arith.texi: Fix typos in the manual.
14643         * manual/math.texi: Fix typos in the manual.
14645         * manual/syslog.texi: Fix typos in the manual.
14647         * manual/terminal.texi: Fix typos in the manual.
14649         * manual/socket.texi: Fix typos in the manual.
14651         * manual/filesys.texi: Fix typos in the manual.
14653         * manual/llio.texi: Fix typos in the manual.
14655         * manual/stdio.text: Fix typos in the manual.
14657 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14659         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
14660         instead of K1.
14662         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
14663         SHIFT_QUADRANT and make it bool.
14664         (do_sincos_2): Likewise.
14665         (sloww): Likewise.
14666         (sloww1): Likewise.
14667         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
14668         (__cos): Likewise.
14670 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14672         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14674 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
14676         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
14677         Define to __WORDSIZE, not conditional on [LONG_MAX ==
14678         0x7fffffffL].
14679         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14681 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14683         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
14684         inline by __inline__.
14685         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
14686         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
14687         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
14688         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
14689         sigset_t from signal.h.
14690         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
14691         which is already required.
14693 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
14695         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14697 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
14699         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
14700         (struct tcp_repair_window): New type.
14702 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14704         * libio/tst-memstream3.c: Include string.h.
14706 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14708         [BZ #18241]
14709         [BZ #20181]
14710         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
14711         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
14712         write position is at the end the buffer.
14713         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
14714         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
14715         (_IO_str_seekoff): Set correct offset from negative displacement and
14716         set EINVAL for invalid ones.
14717         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
14718         buffer length.
14719         (_IO_wstr_switch_to_get_mode): New function.
14720         (_IO_wstr_seekoff): Set correct offset from negative displacement and
14721         set EINVAL for invalid ones.
14722         * libio/tst-memstream3.c: New file.
14723         * libio/tst-wmemstream3.c: Likewise.
14724         * manual/examples/memstrm.c: Remove warning when priting size_t.
14726 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14728         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
14729         macro to use __builtin_fma.
14730         * sysdeps/x86_64/fpu/dla.h: Remove file.
14732         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14733         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
14734         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
14736 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
14738         [BZ #20292]
14739         * elf/Makefile (routines): Add dl-addr-obj.
14740         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
14741         tst-_dl_addr_inside_object.
14742         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
14743         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14744         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
14745         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14746         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
14747         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
14748         * elf/dl-open.c: Likewise.
14749         * elf/dl-addr-obj.c: New file.
14750         * elf/tst-_dl_addr_inside_object.c: New file.
14752 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14754         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
14755         <bits/iscanonical.h>.
14756         * bits/iscanonical.h: New file.
14757         * math/s_iscanonicall.c: Likewise.
14758         * math/Versions (__iscanonicall): New libm symbol at version
14759         GLIBC_2.25.
14760         * math/libm-test.inc (iscanonical_test_data): New array.
14761         (iscanonical_test): New function.
14762         (main): Call iscanonical_test.
14763         * math/Makefile (headers): Add bits/iscanonical.h.
14764         (type-ldouble-routines): Add s_iscanonicall.
14765         * manual/arith.texi (Floating Point Classes): Document
14766         iscanonical.
14767         * manual/libm-err-tab.pl: Update comment on interfaces without
14768         ulps tabulated.
14769         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
14770         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
14771         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
14772         Likewise.
14773         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
14774         test-iscanonical-ldbl-128ibm.
14775         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
14776         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
14777         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
14778         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
14779         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
14780         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14781         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14783         Likewise.
14784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14785         Likewise.
14786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14787         Likewise.
14788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14789         Likewise.
14790         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14791         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14793 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14795         * string/bits/string3.h: Remove C++ style comments.
14797 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14799         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
14800         instead of ternary condition.
14801         (do_sincos_2): Likewise.
14802         (__sin): Likewise.
14803         (__cos): Likewise.
14804         (slow): Likewise.
14805         (sloww): Likewise.
14806         (sloww1): Likewise.
14807         (bsloww): Likewise.
14808         (bsloww1): Likewise.
14810         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
14811         instead of ternary condition.
14812         (do_sin_slow): Likewise.
14813         (do_sincos_1): Likewise.
14814         (do_sincos_2): Likewise.
14815         (__cos): Likewise.
14816         (sloww): Likewise.
14817         (sloww1): Likewise.
14818         (sloww2): Likewise.
14819         (bsloww): Likewise.
14820         (bsloww1): Likewise.
14821         (bsloww2): Likewise.
14823         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
14824         check from here...
14825         (slow2): ... and here...
14826         (__sin): ... to here.
14828 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
14830         * math/math.h
14831         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
14832         Cast argument to its own type.
14833         * math/test-iszero-excess-precision.c: New file.
14834         * math/Makefile (tests): Add test-iszero-excess-precision.
14835         (CFLAGS-test-iszero-excess-precision.c): New variable.
14837 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
14839         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
14840         field, add err field.
14841         (__spawni_child): Report error through err member instead of pipe.
14842         (__spawnix): Likewise.
14844 2016-09-28  Zack Weinberg  <zackw@panix.com>
14846         * scripts/check-installed-headers.sh: Generalize treatment of
14847         sys/elf.h to all target architectures.
14849         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
14850         deleted typedef ucontext_t.
14852 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14854         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
14855         (__INTERNAL_SYSCALL1): Likewise.
14856         (__INTERNAL_SYSCALL2): Likewise.
14857         (__INTERNAL_SYSCALL3): Likewise.
14858         (__INTERNAL_SYSCALL4): Likewise.
14859         (__INTERNAL_SYSCALL5): Likewise.
14860         (__INTERNAL_SYSCALL6): Likewise.
14861         (__INTERNAL_SYSCALL7): Likewise.
14862         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
14863         (__INTERNAL_SYSCALL_NARGS): Likewise.
14864         (__INTERNAL_SYSCALL_DISP): Likewise.
14865         (INTERNAL_SYSCALL_CALL): Likewise.
14866         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
14867         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
14868         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
14869         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
14870         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
14871         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
14872         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
14873         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
14874         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
14875         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
14876         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
14877         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
14878         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
14880 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
14882         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
14883         macro.
14884         * math/libm-test.inc (iszero_test_data): New array.
14885         (iszero_test): New function.
14886         (main): Call iszero_test.
14887         * manual/arith.texi (Floating Point Classes): Document iszero.
14888         * manual/libm-err-tab.pl: Update comment on interfaces without
14889         ulps tabulated.
14891 2016-09-23  Zack Weinberg  <zackw@panix.com>
14893         * scripts/check-installed-headers.sh: New script.
14894         * Rules: In each directory that defines header files to be installed,
14895         run check-installed-headers.sh on them as a special test.
14896         * Makefile: Likewise for the headers installed at top level.
14898         * include/aliases.h, include/alloca.h, include/argz.h
14899         * include/arpa/nameser.h, include/arpa/nameser_compat.h
14900         * include/elf.h, include/envz.h, include/err.h
14901         * include/execinfo.h, include/fpu_control.h, include/getopt.h
14902         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
14903         * include/link.h, include/malloc.h, include/mcheck.h
14904         * include/mntent.h, include/netinet/ether.h
14905         * include/nss.h, include/obstack.h, include/printf.h
14906         * include/pty.h, include/resolv.h, include/rpc/auth.h
14907         * include/rpc/auth_des.h, include/rpc/auth_unix.h
14908         * include/rpc/clnt.h, include/rpc/des_crypt.h
14909         * include/rpc/key_prot.h, include/rpc/netdb.h
14910         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
14911         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
14912         * include/rpc/rpc_msg.h, include/rpc/svc.h
14913         * include/rpc/svc_auth.h, include/rpc/xdr.h
14914         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
14915         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
14916         * include/rpcsvc/ypupd.h, include/shadow.h
14917         * include/stdio_ext.h, include/sys/epoll.h
14918         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
14919         * include/sys/prctl.h, include/sys/profil.h
14920         * include/sys/statfs.h, include/sys/sysctl.h
14921         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
14922         * sysdeps/arm/nacl/include/bits/setjmp.h
14923         * sysdeps/mips/include/sys/asm.h
14924         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
14925         * sysdeps/unix/sysv/linux/include/sys/timex.h
14926         * sysdeps/x86/fpu/include/bits/fenv.h:
14927         Add #ifndef _ISOMAC guard around internal declarations.
14928         Add multiple-inclusion guard if not already present.
14930 2016-09-23  Zack Weinberg  <zackw@panix.com>
14932         * sysdeps/generic/sys/ucontext.h
14933         * sysdeps/arm/sys/ucontext.h
14934         * sysdeps/i386/sys/ucontext.h
14935         * sysdeps/m68k/sys/ucontext.h
14936         * sysdeps/mips/sys/ucontext.h
14937         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
14938         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
14939         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
14940         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
14941         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
14942         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
14943         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
14944         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
14945         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
14946         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
14947         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
14948         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
14949         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
14950         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
14951         Include both bits/sigcontext.h and bits/sigstack.h.
14952         Fix grammar error in comment, if present.
14954         * bits/sigstack.h
14955         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
14956         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
14957         * sysdeps/unix/sysv/linux/bits/sigstack.h
14958         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
14959         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
14960         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
14961         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
14962         * bits/sigcontext.h
14963         * sysdeps/mach/hurd/i386/bits/sigcontext.h
14964         * sysdeps/unix/sysv/linux/bits/sigcontext.h
14965         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
14966         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
14967         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
14968         as well as signal.h, if this was not already allowed.  Request
14969         definition of size_t if necessary.  Minimize semantically-null
14970         differences across files.
14972 2016-09-23  Zack Weinberg  <zackw@panix.com>
14974         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
14975         Remove all logic conditional on __need macros.  Move all the
14976         conditionally defined types to their own headers...
14977         * time/bits/types/clock_t.h: Define clock_t here.
14978         * time/bits/types/clockid_t.h: Define clockid_t here.
14979         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
14980         * time/bits/types/struct_timespec.h: Define struct timespec here.
14981         * time/bits/types/struct_timeval.h: Define struct timeval here.
14982         * time/bits/types/struct_tm.h: Define struct tm here.
14983         * time/bits/types/time_t.h: Define time_t here.
14984         * time/bits/types/timer_t.h: Define timer_t here.
14985         * time/Makefile: Install the new headers.
14987         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
14988         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
14989         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
14990         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
14991         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
14992         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
14993         * sysdeps/unix/sysv/linux/bits/resource.h
14994         * sysdeps/unix/sysv/linux/bits/timex.h
14995         * sysdeps/unix/sysv/linux/mips/bits/resource.h
14996         * sysdeps/unix/sysv/linux/net/ppp_defs.h
14997         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
14998         * sysdeps/unix/sysv/linux/sys/acct.h
14999         * sysdeps/unix/sysv/linux/sys/timerfd.h
15000         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
15001         * time/sys/time.h, time/sys/timeb.h
15002         Use the new bits/types headers.
15004         * include/time.h: Remove __need logic.
15005         * include/bits/time.h
15006         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
15007         * include/bits/types/time_t.h, include/bits/types/timer_t.h
15008         * include/bits/types/struct_itimerspec.h
15009         * include/bits/types/struct_timespec.h
15010         * include/bits/types/struct_timeval.h
15011         * include/bits/types/struct_tm.h:
15012         New wrapper headers.
15014 2016-09-23  Zack Weinberg  <zackw@panix.com>
15016         * sysdeps/mach/hurd/net/if_ppp.h
15017         * sysdeps/unix/sysv/linux/net/if_ppp.h:
15018         Only define struct ifpppstatsreq and struct ifpppcstatsreq
15019         if __USE_MISC is defined, to ensure struct ifreq is declared.
15021         * inet/netinet/ether.h: Condition all function prototypes
15022         on __USE_MISC, to ensure struct ether_addr is declared.
15024         * socket/bits/types/struct_osockaddr.h: New header.
15025         * include/bits/types/struct_osockaddr.h: New wrapper.
15026         * socket/Makefile: Install the new header.
15027         * socket/sys/socket.h, inet/protocols/talkd.h:
15028         Refer to bits/types/struct_osockaddr.h for the definition of
15029         struct osockaddr.
15031 2016-09-23  Zack Weinberg  <zackw@panix.com>
15033         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
15034         * inet/protocols/routed.h, inet/protocols/talkd.h
15035         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
15036         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
15037         * sysdeps/generic/netinet/if_ether.h
15038         * sysdeps/generic/netinet/in_systm.h
15039         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
15040         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15041         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
15042         * sysdeps/mach/hurd/net/if_arp.h
15043         * sysdeps/mach/hurd/net/if_ppp.h
15044         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
15045         * sysdeps/unix/sysv/linux/bits/in.h
15046         * sysdeps/unix/sysv/linux/net/ethernet.h
15047         * sysdeps/unix/sysv/linux/net/if_arp.h
15048         * sysdeps/unix/sysv/linux/net/if_ppp.h
15049         * sysdeps/unix/sysv/linux/net/if_shaper.h
15050         * sysdeps/unix/sysv/linux/net/route.h
15051         * sysdeps/unix/sysv/linux/netinet/if_ether.h
15052         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15053         * sysdeps/unix/sysv/linux/netinet/if_tr.h
15054         * sysdeps/unix/sysv/linux/netipx/ipx.h
15055         * sysdeps/unix/sysv/linux/sys/acct.h
15056         * include/arpa/nameser.h, include/resolv.h:
15057         Change all uses of u_char to unsigned char,
15058         u_short and ushort to unsigned short, u_int and uint to unsigned int,
15059         u_long and ulong to unsigned long, u_int8_t to uint8_t,
15060         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
15061         and u_int64_t and u_quad_t to uint64_t.
15063         * mach/sys/reboot.h: Remove two casts of integer literals
15064         to the types they already have.
15066         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
15067         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
15068         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
15069         from referring to 'unsigned char' to 'uint8_t' for consistency with
15070         the macro definition below.
15072         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
15073         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
15074         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
15075         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
15076         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
15077         * sysdeps/unix/sysv/linux/sys/acct.h
15078         * include/arpa/nameser.h, include/resolv.h:
15079         Fix indentation disrupted by mechanical edits.
15081         * inet/protocols/talkd.h, resolv/arpa/nameser.h
15082         * sysdeps/generic/netinet/in_systm.h
15083         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15084         * sysdeps/gnu/netinet/udp.h
15085         * sysdeps/unix/sysv/linux/net/ethernet.h
15086         * sysdeps/unix/sysv/linux/net/if_arp.h
15087         * sysdeps/unix/sysv/linux/net/if_ppp.h
15088         * sysdeps/unix/sysv/linux/net/if_shaper.h
15089         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15090         * sysdeps/unix/sysv/linux/netinet/if_tr.h
15091         * sysdeps/unix/sysv/linux/netipx/ipx.h
15092         * sysdeps/unix/sysv/linux/sys/acct.h
15093         Include stdint.h for uintNN_t definitions.
15094         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
15096 2016-09-23  Zack Weinberg  <zackw@panix.com>
15098         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
15099         * sysdeps/unix/sysv/linux/netrose/rose.h:
15100         Include sys/socket.h and netax25/ax25.h.
15102         * inet/netinet/icmp6.h, inet/netinet/ip6.h
15103         * resolv/arpa/nameser_compat.h:
15104         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
15106         * sysdeps/unix/sysv/linux/sys/quota.h:
15107         Use __caddr_t instead of caddr_t.
15108         * sysdeps/unix/sysv/linux/sys/timerfd.h:
15109         Use __clockid_t instead of clockid_t.
15111         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
15113         * argp/argp.h: Check whether _LIBC is defined before expanding it.
15114         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
15115         expanding it.
15117         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
15118         Define __glibc_c99_flexarr_available to 1 when the compiler
15119         supports C99-compatible flexible array members, 0 otherwise.
15120         * sysdeps/unix/sysv/linux/bits/socket.h
15121         * sysdeps/mach/hurd/bits/socket.h
15122         * bits/socket.h: Use __glibc_c99_flexarr_available in
15123         definitions of struct cmsghdr and CMSG_DATA.
15125 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15127         * manual/nss.texi (NSS Modules Interface): Adjust function return
15128         type to enum nss_status.  Document errnop argument.  Clarify
15129         h_errnop semantics.  Fix cross-reference formatting.
15130         (NSS Module Function Internals): Mention that *errnop needs to be
15131         set on failure, but not to zero.
15133 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15135         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
15136         (get_random_name): New functions.
15137         (check_wrapper_flags_mode): Use linkat to give the new file a name
15138         determined by get_random_name.
15139         (do_test): Add calls to test open64 and openat64.
15141 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15143         * test-skeleton.c: Remove #include <stdarg.h>.
15145 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
15147         [BZ #19826]
15148         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
15149         initialization of static TLS entries.
15150         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
15151         * nptl/allocatestack.c (init_one_static_tls): Likewise.
15153 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15155         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
15156         _hurd_malloc_fork_prepare.
15157         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
15158         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
15159         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
15160         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
15161         (_hurd_fork_child_hook): Drop malloc_fork_child.
15162         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
15163         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
15164         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
15165         after locking locks (notably hurd_dtable_lock). Call
15166         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
15167         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
15168         __malloc_fork_unlock_child.
15169         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
15171 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
15173         * soft-fp/extendhftf2.c: New.
15174         * soft-fp/fixhfti.c: Likewise.
15175         * soft-fp/fixunshfti.c: Likewise.
15176         * soft-fp/floattihf.c: Likewise.
15177         * soft-fp/floatuntihf.c: Likewise.
15178         * soft-fp/half.h: Likewise.
15179         * soft-fp/trunctfhf2.c: Likewise.
15181 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
15183         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
15184         macro.
15185         * math/libm-test.inc (issubnormal_test_data): New array.
15186         (issubnormal_test): New function.
15187         * manual/arith.texi (Floating Point Classes): Document
15188         issubnormal.
15189         * manual/libm-err-tab.pl: Update comment on interfaces without
15190         ulps tabulated.
15192         * sysdeps/generic/stdint.h: Define
15193         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15194         <bits/libc-header-start.h> instead of including <features.h>.
15195         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
15196         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
15197         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
15198         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
15199         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
15200         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
15201         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
15202         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
15203         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
15204         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
15205         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
15206         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
15207         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
15208         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
15209         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
15210         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
15211         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
15212         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
15213         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
15214         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
15215         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
15216         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
15217         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
15218         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
15219         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
15220         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
15221         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
15222         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
15223         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
15224         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
15225         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
15226         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
15227         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
15228         * manual/arith.texi (Integers): Document these macros for types
15229         specified by width properties.
15230         * manual/lang.texi (Width of Type): Document these macros for
15231         other standard typedefs.
15232         * stdlib/tst-width-stdint.c: New file.
15233         * stdlib/Makefile (tests): Add tst-width-stdint.
15235 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15237         [BZ #20016]
15238         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
15239         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
15240         Move ...
15241         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
15242         ... here, as compatibility symbols in a new file.
15243         * resolv/Makefile (libresolv-routines): Add compat-hooks.
15244         * resolv/res_init.c (__res_vinit): Adjust member names.
15245         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
15246         * resolv/resolv.h (res_sendhookact, res_send_qhook)
15247         (res_send_rhook): Remove.
15248         (struct __res_state): Rename qhook, rhook members.
15250 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15252         malloc: Use __libc_lock wrappers.
15253         * malloc/arena.c (list_lock, free_list_lock): Define using
15254         __libc_lock_define_initialized.
15255         (arena_lock): Adjust formatting.
15256         * malloc/malloc.c (struct malloc_state): Define mutex using
15257         __libc_lock_define.
15258         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
15259         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
15260         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
15261         (mutex_unlock, mutex_trylock): Remove.
15262         (__pthread_initialize): Remove unused macro.
15263         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
15264         (mutex_unlock, mutex_trylock): Remove.
15266 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15268         [BZ #20592]
15269         Remove RR type classification macros.
15270         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
15271         (ns_t_udp_p, ns_t_xfr_p): Remove.
15273 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15275         Remove misleading version information.
15276         * resolv/arpa/nameser.h (__NAMESER): Remove.
15277         * resolv/arpa/nameser_compat.h (__BIND): Remove.
15279 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15281         Remove the always-defined BIND_4_COMPAT macro.
15282         * resolv/arpa/nameser.h: Unconditionally include
15283         <arpa/nameser_compat.h>.
15284         (BIND_4_COMPAT): Remove.
15285         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
15287 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15289         [BZ #20591]
15290         Remove obsolete DNSSEC support.
15291         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
15292         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
15293         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
15294         (ns_verify_tcp, ns_verify_tcp_init): Remove.
15295         (ns_cert_types): Add comment.
15296         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
15297         separately.
15298         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
15299         (dst_s_dns_key_id): Remove.
15300         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
15301         variables.
15303 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15305         [BZ #20524]
15306         * manual/string.texi (String/Array Comparison): Clarify the
15307         strverscmp behavior.
15309 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15311         * test-skeleton.c (xasprintf): Add function.
15312         * io/tst-open-tmpfile.c: New test.
15313         * io/Makefile (tests): Add it.
15315 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15317         Avoid running $(CXX) during build to obtain header file paths.
15318         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
15319         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
15320         * Makerules (cstdlib, cmath): Remove variables.  Use
15321         $(c++-cstdlib-header), $(c++-cmath-header) instead.
15322         * configure: Regenerate.
15324 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15326         * Makeconfig (all-object-suffixes): Include .op only if
15327         $(build-profile).
15329 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15331         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
15332         conditionals.  Do not define PATH_MAX.
15334 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15336         * posix/Makefile (tests): Add tst-spawn3.
15337         * posix/tst-spawn3.c: New file.
15338         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
15339         if it is already opened for open action.
15341         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
15342         all signals when executing the clone vfork child.
15343         (SIGALL_SET): Remove macro.
15345         * nptl/Makefile (tests): Add tst-exec5.
15346         * nptl/tst-exec5.c: New file.
15347         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
15348         asynchronous cancellation.
15350 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15352         * hurd/exc2signal.c: #include <hurd/signal.h>
15353         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
15354         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
15355         accordingly.
15356         * mach/mach_error.c (mach_error): Fix old-style function definition.
15357         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
15359 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15361         * math/Makefile (libm-calls): Remove s_nanF.
15362         (gen-libm-calls): Add s_nanF.
15364         * math/s_nan.c: Refactor into ...
15365         * math/s_nan_template.c: New file.
15367         * math/s_nanf.c: Removed.
15368         * math/s_nanl.c: Removed.
15369         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
15370         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
15372         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15373         (LDOUBLE_nanl_libm_version): New macro.
15375         * sysdeps/generic/math-type-macros-double.h:
15376         (M_STRTO_NAN): New macro.
15377         * sysdeps/generic/math-type-macros-float.h: Likewise.
15378         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
15380         * sysdeps/generic/math-type-macros.h: Document
15381         M_STRTO_NAN.
15383 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15385         * math/s_nanf.c: Remove __nanf undef.
15386         * math/s_nan.c: Remove __nan undef.
15387         * math/s_nanl.c: Remove __nanl undef.
15389         * sysdeps/generic/math_private.h (__nan): Remove macro
15390         override.
15391         (__nanf): Likewise.
15392         (__nanl): Likewise.
15394 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15396         * math/Makefile (gen-all-calls): New variable.
15397         (generated): Replace gen-libm-calls with gen-all-calls.
15398         (gen-libm-templates.stmp): Likewise.  Also, ensure
15399         the output directory exists or is created and add
15400         dependency on the Makefile.
15401         (calls): Move s_ldexpF into gen-calls.
15402         (gen-calls): New variable.
15404         * math/s_ldexpf.c: Removed.
15405         * math/s_ldexpl.c: Removed.
15406         * math/s_ldexp.c: Refactored into ...
15407         * math/s_ldexp_template.c: New file.
15409         * sysdeps/generic/math-type-macros-double.h: Remove
15410         redundant fall-through definition of declare_mgen_alias.
15411         (declare_mgen_alias_2): New macro.
15413         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
15414         New macro for function aliased to two exported symbols.
15416         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
15417         new template file.
15418         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
15420 2016-09-20  Florian Weimer  <fweimer@redhat.com>
15422         * Makeconfig (all-object-suffixes): Remove .og.
15423         * Makerules (elide-routines.og): Remove.
15424         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
15425         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
15426         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
15428 2016-09-20  Florian Weimer  <fweimer@redhat.com>
15430         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
15431         .os objects.
15433 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15435         [BZ #20615]
15436         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
15437         fpu directory by non-fpu.
15438         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
15439         on non-fpu directory from a fpu directory.
15441 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
15443         * include/limits.h: Define
15444         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15445         <bits/libc-header-start.h> instead of including <features.h>.
15446         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
15447         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
15448         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
15449         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
15450         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
15451         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
15452         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
15453         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
15454         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15455         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
15456         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
15457         * manual/lang.texi (Width of Type): Document these macros.
15458         * stdlib/tst-width.c: New file.
15459         * stdlib/Makefile (tests): Add tst-width.
15461 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15463         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
15464         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
15466 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15468         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
15469         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15470         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15472 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15474         [BZ #18243]
15475         * rt/Makefile (test): Add tst-shm-cancel.
15476         * rt/tst-shm-cancel.c: New file.
15477         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
15479         [BZ #18243]
15480         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
15481         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
15482         definition.
15483         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
15484         uncontended case.
15485         * nptl/sem_wait.c (__new_sem_wait): Likewise.
15486         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
15487         (tf): Fix check for uncontended case.
15488         (do_test): Likewise.
15489         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
15490         (tf): Fix check for uncontended case.
15491         (do_test): Likewise.
15492         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
15493         (tf): Fix check for uncontended case.
15494         (do_test): Likewise.
15495         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
15496         (tf): Fix check for uncontended case.
15497         (do_test): Likewise.
15499         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
15500         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
15502         [BZ #15765]
15503         * nptl/Makefile (tests): Add tst-sem16.
15504         * nptl/tst-sem16.c: New file.
15505         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
15507         * nptl/sem_open.c (sem_open): Init pad value to 0.
15508         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15509         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15511 2016-09-15  Florian Weimer  <fweimer@redhat.com>
15513         [BZ #20611]
15514         * inet/Makefile (routines): Add inet6_scopeid_pton.
15515         (tests): Add tst-inet6_scopeid_pton.
15516         * inet/inet6_scopeid_pton.c: New file.
15517         * inet/net-internal.h: Likewise.
15518         * inet/tst-inet6_scopeid_pton.c: New test.
15519         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
15520         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
15521         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15523 2016-09-14  Florian Weimer  <fweimer@redhat.com>
15525         Remove support for compiling wrappers with PTW.
15526         * sysdeps/nptl/Makeconfig: Drop ptw- support.
15527         * nptl/Makefile (pthread-compat-wrappers): Define.
15528         (libpthread-routines): Use pthread-compat-wrappers.
15529         * sysdeps/unix/sysv/linux/alpha/Makefile
15530         (libpthread-routines, libpthread-shared-only-routines): Remove
15531         ptw- prefix.
15532         * sysdeps/s390/nptl/Makefile
15533         (libpthread-routines, libpthread-shared-only-routines): Likewise.
15534         * sysdeps/ia64/nptl/Makefile
15535         (libpthread-routines, libpthread-shared-only-routines): Likewise.
15536         * sysdeps/nacl/Makefile (libpthread-routines): Use
15537         pthread-compat-wrappers to filter the routines list instead of the
15538         ptw- prefix.
15540 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15542         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
15543         with L() and remove explicit suffix, convert real literals
15544         which can be equivalentally substituted with integers, and
15545         transform -L(x) to L(-x).
15547         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15548         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15549         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15550         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15551         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15552         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15553         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15554         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15555         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15556         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15557         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15558         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15559         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15560         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15561         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15562         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15563         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15564         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15565         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15566         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15567         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15568         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15569         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15570         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15571         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15572         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15573         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15574         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15575         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15576         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15577         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15578         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15579         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15580         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15581         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15582         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15583         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15584         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15585         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15586         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15587         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15588         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15589         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15590         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15591         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15592         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15593         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15594         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
15595         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15596         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15598 2016-09-13  Florian Weimer  <fweimer@redhat.com>
15600         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
15602 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15604         * malloc/Makefile (tests): Remove individual static test names
15605         and just add all of tests-static.
15607         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
15609 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
15611         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
15612         file.
15614         * sysdeps/sparc/fpu/fegetmode.c: New file.
15615         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
15617         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
15618         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
15620         * sysdeps/s390/fpu/fegetmode.c: New file.
15621         * sysdeps/s390/fpu/fesetmode.c: Likewise.
15623         * sysdeps/powerpc/fpu/fegetmode.c: New file.
15624         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
15625         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
15626         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
15627         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
15628         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
15630         * sysdeps/mips/fpu/fegetmode.c: New file.
15631         * sysdeps/mips/fpu/fesetmode.c: Likewise.
15633         * sysdeps/m68k/fpu/fegetmode.c: New file.
15634         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
15636         * sysdeps/ia64/fpu/fegetmode.c: New file.
15637         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
15639         * sysdeps/hppa/fpu/fegetmode.c: New file.
15640         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
15642         * sysdeps/arm/fegetmode.c: New file.
15643         * sysdeps/arm/fesetmode.c: Likewise.
15645         * sysdeps/alpha/fpu/fegetmode.c: New file.
15646         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
15648         * sysdeps/aarch64/fpu/fegetmode.c: New file.
15649         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
15651         * math/fegetmode.c: New file.
15652         * math/fesetmode.c: Likewise.
15653         * sysdeps/i386/fpu/fegetmode.c: Likewise.
15654         * sysdeps/i386/fpu/fesetmode.c: Likewise.
15655         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
15656         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
15657         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
15658         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
15659         declaration.
15660         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
15661         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
15662         typedef.
15663         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15664         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15665         (femode_t): New typedef.
15666         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15667         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15668         (femode_t): New typedef.
15669         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15670         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15671         (femode_t): New typedef.
15672         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15673         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15674         (femode_t): New typedef.
15675         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15676         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15677         (femode_t): New typedef.
15678         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15679         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15680         (femode_t): New typedef.
15681         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15682         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15683         (femode_t): New typedef.
15684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15685         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15686         (femode_t): New typedef.
15687         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15688         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15689         (femode_t): New typedef.
15690         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15691         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15692         (femode_t): New typedef.
15693         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
15694         declaration.
15695         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15696         * sysdeps/s390/fpu/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 macro.
15699         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15700         (femode_t): New typedef.
15701         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15702         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15703         (femode_t): New typedef.
15704         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15705         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15706         (femode_t): New typedef.
15707         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15708         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15709         (femode_t): New typedef.
15710         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15711         * manual/arith.texi (FE_DFL_MODE): Document macro.
15712         (fegetmode): Document function.
15713         (fesetmode): Likewise.
15714         * math/Versions (fegetmode): New libm symbol at version
15715         GLIBC_2.25.
15716         (fesetmode): Likewise.
15717         * math/Makefile (libm-support): Add fegetmode and fesetmode.
15718         (tests): Add test-femode and test-femode-traps.
15719         * math/test-femode-traps.c: New file.
15720         * math/test-femode.c: Likewise.
15721         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
15722         alias for __fe_dfl_env.
15723         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
15724         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
15725         (__fe_dfl_mode): Likewise.
15726         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
15727         version GLIBC_2.25.
15728         * sysdeps/nacl/libm.abilist: Update.
15729         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15730         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15731         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15732         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15733         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15734         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15735         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15736         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15737         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15738         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15739         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15740         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15742         Likewise.
15743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15744         Likewise.
15745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15746         Likewise.
15747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15748         Likewise.
15749         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15750         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15751         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15752         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15753         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15755         Likewise.
15756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15757         Likewise.
15758         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15759         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15760         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15762 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15764         [BZ #20495]
15765         [BZ #20508]
15766         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
15767         processors, set Use_dl_runtime_resolve_slow and set
15768         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
15769         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
15770         New.
15771         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
15772         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
15773         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
15774         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
15775         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
15776         if Use_dl_runtime_resolve_opt is set.  Use
15777         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
15778         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
15779         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
15780         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
15781         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
15782         New.
15783         (_dl_runtime_resolve_opt): Likewise.
15784         (_dl_runtime_profile): Define only if _dl_runtime_profile is
15785         defined.
15787 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15789         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
15790         __libc_memalign with "+ RELA R_390_GLOB_DAT".
15792 2016-09-06  Florian Weimer  <fweimer@redhat.com>
15794         Convert malloc to __libc_lock.  Automated part, using this Perl
15795         s/// command:
15796           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
15797             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
15798         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
15799         conversion.
15801 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
15803         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
15804         (linknamespace-symlists-tests): Likewise.
15805         (linknamespace-header-tests): Likewise.
15807 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
15809         [BZ #19810]
15810         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
15811         * elf/tst-noload.c: New test case.
15812         * elf/Makefile (tests): Add tst-noload.
15814 2016-09-02  Roland McGrath  <roland@hack.frob.com>
15816         * sysdeps/nacl/dup.c: Add libc_hidden_def.
15818         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
15819         not any more.
15821         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
15823 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15825         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
15826         (do_cos_slow): Likewise.
15827         (do_sin): Likewise.
15828         (do_sin_slow): Likewise.
15829         (slow): Likewise.
15830         (slow1): Likewise.
15831         (slow2): Likewise.
15832         (sloww): Likewise.
15833         (sloww1): Likewise.
15834         (sloww2): Likewise.
15835         (bsloww): Likewise.
15836         (bsloww1): Likewise.
15837         (bsloww2): Likewise.
15838         (cslow2): Likewise.
15840         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
15842         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
15843         arguments.  Consolidate input partitioning from callers here.
15844         (do_cos_slow): Likewise.
15845         (do_sin): Likewise.
15846         (do_sin_slow): Likewise.
15847         (do_sincos_1): Remove the no longer necessary input partitioning.
15848         (do_sincos_2): Likewise.
15849         (__sin): Likewise.
15850         (__cos): Likewise.
15851         (slow1): Likewise.
15852         (slow2): Likewise.
15853         (sloww1): Likewise.
15854         (sloww2): Likewise.
15855         (bsloww1): Likewise.
15856         (bsloww2): Likewise.
15857         (cslow2): Likewise.
15859 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15861         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
15862         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
15863         outside of allocated array.
15865 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15867         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
15868         instead of MB_CUR_MAX to avoid variable-length array.
15870 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15872         * math/Makefile (libm-calls): Remove k_rem_pio2F.
15873         (type-double-routines): Add k_rem_pio2.
15874         (type-float-routines): Add k_rem_pio2f.
15876         * sysdeps/generic/math_private.h:
15877         (__kernel_rem_pio2l): Removed.
15879         * math/k_rem_pio2l.c: Removed.
15880         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
15881         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
15882         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
15883         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
15885 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15887         * math/Makefile (gen-libm-calls): Add s_fmin
15888         (libm-calls): Remove above.
15890         * math/s_fmin.c: Refactor into ...
15891         * math/s_fmin_template.c: New file.
15893         * math/s_fminf.c: Removed.
15894         * math/s_fminl.c: Removed.
15895         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15896         (LDOUBLE_fmin_libm_version): New macro.
15898         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
15899         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
15901 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15903         * math/Makefile: (gen-libm-calls): Add s_fmax.
15904         (libm-calls): Remove above.
15906         * math/s_fmax.c: Refactor into ...
15907         * math/s_fmax_template.c: New file.
15908         * math/s_fmaxf.c: Removed.
15909         * math/s_fmaxl.c: Removed.
15911         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15912         (LDOUBLE_fmaxl_libm_version): New macro.
15914         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
15915         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
15917         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
15918         s_fmin.c to pick the aarch64 version of the file.
15919         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
15920         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
15922 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15924         * math/Makefile: (gen-libm-calls): Add s_nextdown.
15925         (libm-calls): Remove above.
15927         * math/s_nextdown.c: Refactor into ...
15928         * math/s_nextdown_template.c: New file.
15929         * math/s_nextdownf.c: Removed.
15930         * math/s_nextdownl.c: Removed.
15932         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
15934 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15936         * math/Makefile (gen-libm-calls): Add s_fdim.
15937         (libm-calls): Move to above.
15939         * math/s_fdim.c: Renamed and refactored into to ...
15940         * math/s_fdim_template.c: New file.
15941         * math/s_fdiml.c: Removed.
15942         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
15943         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
15945         * sysdeps/generic/math-type-macros-double.h:
15946         (declare_mgen_alias): Don't declare if already declared.
15947         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
15948         Likewise.
15950         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15951         (declare_mgen_alias): Don't declare if already declared.
15952         (M_LIBM_NEED_COMPAT): Likewise.
15953         (declare_mgen_libm_compat): Likewise.
15954         (LDOUBLE_fdiml_libm_version): New macro.
15956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
15957         Include math/s_fdim.c now that ldbl-opt version is not needed.
15958         (declare_mgen_alias): New macro to disable aliasing.
15960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
15961         (declare_mgen_alias): Likewise.
15962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
15963         (declare_mgen_alias): Likewise.
15964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
15965         (declare_mgen_alias): Likewise.
15966         (M_LIBM_NEED_COMPAT): Likewise.
15968 2016-09-01  Florian Weimer  <fweimer@redhat.com>
15970         [BZ #20525]
15971         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
15972         Include <linux/quota.h>.
15973         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
15974         and btodb.
15975         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
15976         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
15977         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
15978         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
15979         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
15980         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
15981         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
15982         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
15983         types.
15984         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
15985         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
15987 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15989         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
15990         (gammal_positive): Fix spacing.
15991         (__ieee754_gammal_r): Likewise.
15993 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15995         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
15996         (_Float128): Define as long double, always.
15997         (L): Apply long double type suffix, always.
15999         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
16000         _Float128, excepting comments.
16002         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16003         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16004         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16005         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16006         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16007         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16008         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16009         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16010         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16011         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
16012         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16013         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16014         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16015         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16016         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16017         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16018         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16019         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16020         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16021         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16022         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16023         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16024         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16025         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16026         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16027         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16028         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16029         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16030         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16031         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16032         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16033         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16034         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16035         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16036         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16037         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16038         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16039         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16040         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16041         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16042         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16043         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16044         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16045         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16046         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16047         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16048         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16049         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16050         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16051         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16052         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16053         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16054         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16055         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16056         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16057         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16058         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16059         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16060         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16061         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16062         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16063         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16064         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16065         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16066         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16067         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16068         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16069         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16071         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
16072         _Float128, and include math_private.h.
16073         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16075         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
16076         long double semantics.
16077         (_Float128): Likewise.
16078         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
16079         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16080         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
16081         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
16083 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16085         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
16086         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
16087         * sysdeps/s390/configure: Regenerated.
16088         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
16089         instruction for raising over-/underflow if z196 zarch is supported
16090         by default.
16091         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
16093 2016-08-30  Svante Signell  <svante.signell@gmail.com>
16095         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
16096         it point to a dumb buffer for RPC to fill it.
16098 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16100         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
16101         instead of if/else.
16102         (do_sin_slow): Likewise.
16103         (do_sincos_1): Use fabs instead of if/else.
16104         (do_sincos_2): Likewise.
16105         (__sin): Likewise.
16106         (__cos): Likewise.
16107         (slow2): Likewise.
16108         (sloww): Likewise.
16109         (sloww1): Likewise.  Drop argument M.
16110         (sloww2): Use fabs instead of if/else.
16111         (bsloww): Likewise.
16112         (bsloww1): Likewise.
16113         (bsloww2): Likewise.
16115         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
16116         fall through comment.
16117         (do_sincos_1): Likewise.
16119         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
16120         Consolidate switch cases 0 and 2.
16122 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16124         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
16125         (libm-calls): Remove the above.
16127         * math/s_cexp_template.c: Update using type-generic macros.
16128         * math/s_clog10_template.c: Likewise.
16129         * math/s_cpow_template.c: Likewise.
16130         * math/s_clog_template.c: Likewise.
16131         * math/s_cproj_template.c: Likewise.
16132         * math/s_csqrt_template.c: Likewise.
16134         * math/s_cexp.c: Removed.
16135         * math/s_cexpf.c: Removed.
16136         * math/s_cexpl.c: Removed.
16137         * math/s_clog10.c: Removed.
16138         * math/s_clog10f.c: Removed.
16139         * math/s_clog10l.c: Removed.
16140         * math/s_cpow.c: Removed.
16141         * math/s_cpowf.c: Removed.
16142         * math/s_cpowl.c: Removed.
16143         * math/s_clog.c: Removed.
16144         * math/s_clogf.c: Removed.
16145         * math/s_clogl.c: Removed.
16146         * math/s_cproj.c: Removed.
16147         * math/s_cprojf.c: Removed.
16148         * math/s_cprojl.c: Removed.
16149         * math/s_csqrt.c: Removed.
16150         * math/s_csqrtf.c: Removed.
16151         * math/s_csqrtl.c: Removed.
16153         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
16154         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
16155         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
16156         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
16157         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
16158         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
16160         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
16161         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
16162         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
16163         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
16164         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
16165         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
16166         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
16167         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
16168         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
16169         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
16170         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
16172         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
16173         version.
16175         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
16176         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
16177         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
16178         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
16180 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16182         * s_cexp_template.c: Copy of s_cexp.c.
16183         * s_clog_template.c: Copy of s_clog.c.
16184         * s_clog10_template.c: Copy of s_clog10.c.
16185         * s_cpow_template.c: Copy of s_cpow.c.
16186         * s_cproj_template.c: Copy of s_cproj.c.
16187         * s_csqrt_template.c: Copy of s_csqrt.c.
16189 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16191         [BZ #20517]
16192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
16193         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
16194         exported.
16196 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
16198         * math/fetestexceptflag.c: New file.
16199         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
16200         Stefan Liebler.
16201         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16202         (fetestexceptflag): New function declaration.
16203         * manual/arith.texi (fetestexceptflag): Document function.
16204         * math/Versions (fetestexceptflag): New libm symbol at version
16205         GLIBC_2.25.
16206         * math/Makefile (libm-support): Add fetestexceptflag.
16207         (tests): Add test-fetestexceptflag.
16208         * math/test-fetestexceptflag.c: New file.
16209         * sysdeps/nacl/libm.abilist: Update.
16210         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16211         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16212         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16213         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16214         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16215         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16216         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16217         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16218         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16219         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16220         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16221         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16223         Likewise.
16224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16225         Likewise.
16226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16227         Likewise.
16228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16229         Likewise.
16230         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16231         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16232         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16233         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16234         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16236         Likewise.
16237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16238         Likewise.
16239         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16240         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16241         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16243 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16245         [BZ #20432]
16246         Avoid strong references to malloc-internal symbols when linking
16247         statically, to support statically interposed mallocs.
16248         * include/libc-symbols.h (call_function_static_weak): New macro.
16249         * malloc/Makefile (tests): Add tst-interpose-nothread,
16250         tst-interpose-thread, tst-interpose-static-nothread,
16251         tst-interpose-static-thread.
16252         (tests-static): Add tst-interpose-static-nothread,
16253         tst-interpose-static-thread.
16254         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
16255         tst-interpose-aux-thread.o.
16256         (test-extras): Add tst-interpose-aux-nothread,
16257         tst-interpose-aux-thread.
16258         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
16259         tst-interpose-aux-nothread.o.
16260         (tst-interpose-thread, tst-interpose-static-thread): Link with
16261         tst-interpose-aux-thread.o and libthread.
16262         * malloc/tst-interpose-aux-nothread.c: New file.
16263         * malloc/tst-interpose-aux-thread.c: Likewise.
16264         * malloc/tst-interpose-aux.c: Likewise.
16265         * malloc/tst-interpose-aux.h: Likewise.
16266         * malloc/tst-interpose-nothread.c: Likewise.
16267         * malloc/tst-interpose-skeleton.c: Likewise.
16268         * malloc/tst-interpose-static-nothread.c: Likewise.
16269         * malloc/tst-interpose-static-thread.c: Likewise.
16270         * malloc/tst-interpose-thread.c: Likewise.
16271         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
16272         * sysdeps/mach/hurd/fork.c (__fork): Only call
16273         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16274         __malloc_fork_unlock_child if defined.
16275         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16277 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16279         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
16280         timespec C99 designated initialization.
16282 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16284         [BZ #19946]
16285         Avoid expected SIGALRM signals.
16286         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
16287         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
16288         (xpthread_create, xpthread_detach, xpthread_join)
16289         (delayed_exit_thread, delayed_exit): New functions.
16290         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
16291         (tf): Use xpthread_cond_wait.
16292         (do_test): Likewise.  Replace alarm with delayed_exit.
16293         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16294         (do_test): Call delayed_exit.  Report failure.
16295         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16296         (do_test): Call delayed_exit.
16297         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16298         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
16299         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16300         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
16301         error.
16302         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16303         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
16304         error.
16305         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
16306         (do_test): Call delayed_exit.
16307         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
16308         (do_test): Call delayed_exit.
16309         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
16310         (do_test): Call delayed_exit instead of alarm.  Use
16311         xpthread_mutex_lock.
16312         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
16313         (do_test): Call delayed_exit instead of alarm.  Use
16314         xpthread_mutex_lock.
16315         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
16316         (do_test): Call delayed_exit instead of alarm.
16317         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
16318         (do_test): Call delayed_exit instead of alarm.  Use
16319         xpthread_spin_lock.
16320         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
16321         (do_test): Call delayed_exit instead of alarm.  Use
16322         xpthread_join.
16324 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16326         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
16327         adjust CFA when allocating register save area on re-aligned
16328         stack.
16330 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16332         * string/tst-cmp.c: New test.
16333         * string/Makefile (tests): Add it.
16335 2016-08-25  Mark Wielaard  <mark@klomp.org>
16337         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
16338         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
16339         (check_tree_recurse): Use newly defined accessors.
16340         (check_tree): Likewise.
16341         (maybe_split_for_insert): Likewise.
16342         (__tfind): Likewise.
16343         (__tdelete): Likewise.
16344         (trecurse): Likewise.
16345         (tdestroy_recurse): Likewise.
16346         (__tsearch): Likewise. And add asserts for malloc alignment.
16347         (__twalk): Cast root to node in case CHECK_TREE is defined.
16349 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16351         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
16353 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16355         * math/Makefile (libm-gen-calls): Add
16356         catan, catanh, ctan, ctanh.
16357         (libm-calls): Remove the above.
16359         * math/s_catan_template.c: Update using type-generic macros.
16360         * math/s_catanh_template.c: Likewise.
16361         * math/s_ctan_template.c: Likewise.
16362         * math/s_ctanh_template.c: Likewise.
16364         * math/s_catanf.c: Removed.
16365         * math/s_catan.c: Removed.
16366         * math/s_catanl.c: Removed.
16367         * math/s_catanhf.c: Removed.
16368         * math/s_catanh.c: Removed.
16369         * math/s_catanhl.c: Removed.
16370         * math/s_ctanf.c: Removed.
16371         * math/s_ctan.c: Removed.
16372         * math/s_ctanl.c: Removed.
16373         * math/s_ctanhf.c: Removed.
16374         * math/s_ctanh.c: Removed.
16375         * math/s_ctanhl.c: Removed.
16377         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
16378         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
16379         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
16380         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
16381         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
16382         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
16384         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
16385         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
16386         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
16387         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
16389 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16391         * s_catan_template.c: Copy of s_catan.c.
16392         * s_catanh_template.c: Copy of s_catanh.c.
16393         * s_ctan_template.c: Copy of s_ctan.c.
16394         * s_ctanh_template.c: Copy of s_ctanh.c.
16396 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16398         * math/Makefile (gen-libm-calls): Move
16399         casin, casinh, csin, csinh here.
16400         (libm-calls): Remove the above.
16402         * math/s_casin_template.c: Update using type-generic macros.
16403         * math/s_casinh_template.c: Likewise.
16404         * math/s_csin_template.c: Likewise.
16405         * math/s_csinh_template.c: Likewise.
16406         * math/k_casinh_template.c: Likewise.
16408         * math/s_casinf.c: Removed.
16409         * math/s_casin.c: Removed.
16410         * math/s_casinl.c: Removed.
16411         * math/s_casinh.c: Removed.
16412         * math/s_casinhf.c: Removed.
16413         * math/s_casinhl.c: Removed.
16414         * math/s_csin.c: Removed.
16415         * math/s_csinf.c: Removed.
16416         * math/s_csinl.c: Removed.
16417         * math/s_csinh.c: Removed.
16418         * math/s_csinhf.c: Removed.
16419         * math/s_csinhl.c: Removed.
16420         * math/k_casinh.c: Removed.
16421         * math/k_casinhf.c: Removed.
16422         * math/k_casinhl.c: Removed.
16424         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
16425         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
16426         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
16427         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
16429         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
16430         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
16431         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
16432         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
16433         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
16434         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
16435         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
16436         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
16438         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
16439         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
16440         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
16441         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
16443         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
16444         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
16445         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
16446         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
16448 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16450         * s_casin_template.c: Copy of s_casin.c.
16451         * s_casinh_template.c: Copy of s_casinh.c.
16452         * s_csin_template.c: Copy of s_csin.c.
16453         * s_csinh_template.c: Copy of s_csinh.c.
16454         * k_casinh_template.c: Copy of k_casinh.c.
16456 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16458         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
16460 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16462         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
16463         (mul_split) Remove, rename as mul_splitl, remove
16464         redundant float.h include, and include via mul_splitl.h
16466         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16467         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16468         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16469         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16470         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16472         * math/mul_splitl.h: New file.
16474         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
16475         Move into mul_split.h, and remove redundant float.h include.
16477         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16478         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
16479         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16480         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
16482         * math/mul_split.h: New file.
16484 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16486         * math/Makefile (libm-gen-calls): Move
16487         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
16488         (libm-calls): Remove above.
16490         * math/s_cacos_template.c: Update using type-generic macros.
16491         * math/s_cacosh_template.c: Likewise.
16492         * math/s_ccos_template.c: Likewise.
16493         * math/s_ccosh_template.c: Likewise.
16495         * math/s_cacosf.c: Removed.
16496         * math/s_cacos.c: Removed.
16497         * math/s_cacosl.c: Removed.
16498         * math/s_cacoshf.c: Removed.
16499         * math/s_cacosh.c: Removed.
16500         * math/s_cacoshl.c: Removed.
16501         * math/s_ccosf.c: Removed.
16502         * math/s_ccos.c: Removed.
16503         * math/s_ccosl.c: Removed.
16504         * math/s_ccoshf.c: Removed.
16505         * math/s_ccosh.c: Removed.
16506         * math/s_ccoshl.c: Removed.
16508         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
16509         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
16510         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
16511         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
16512         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
16513         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
16515         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
16516         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
16517         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
16518         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
16520         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
16521         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
16522         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
16523         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
16525 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16527         * s_cacos_template.c: Copy of s_cacos.c.
16528         * s_cacosh_template.c: Copy of s_cacosh.c.
16529         * s_ccos_template.c: Copy of s_ccos.c.
16530         * s_ccosh_template.c: Copy of s_ccosh.c.
16532 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16534         * stdlib/tst-strtod-round-skeleton.c:
16535         Refactored from tst-strtod-round.c.
16537         (L_): New macro to apply literal modifier.
16538         (FNPFX): New macro to select str or wcs prefix.
16539         (CHAR): New macro to choose wchar_t or char.
16540         (STRM): New macro to choose printf for tested character type.
16542         (STRTO): New macro to choose appropriate string -> real function.
16543         (FNPFXS): Stringitized version of FNPFX.
16544         (STR): Support for above macro.
16545         (STRX): Likewise.
16547         (TEST): Update with above macros.
16548         (test): Likewise.
16549         (GEN_ONE_TEST): Likewise.
16550         (test_in_one_mode): Likewise.
16552         * stdlib/tst-strtod-round.c: New file.
16553         * wcsmbs/tst-wcstod-round.c: New file.
16555         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
16556         (tst-wcstod-round): Add libm depencency for fesetround.
16558 2016-08-19  Zack Weinberg  <zackw@panix.com>
16560         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
16562 2016-08-18  Torvald Riegel  <triegel@redhat.com>
16564         [BZ #20477]
16565         * resolv/res_hconf.c (do_init): Use atomic access.
16566         * resolv/res_hconf.h: Add comments.
16567         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
16568         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
16569         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16571 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
16573         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16574         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
16575         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16576         Likewise.
16578 2016-08-18  Florian Weimer  <fweimer@redhat.com>
16580         [BZ #16907]
16581         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
16582         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
16583         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
16584         (__attribute__): Remove definition.
16586 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16588         * sysdeps/ieee754/ldbl-128/e_asinl.c:
16589         Remove unused sqrtl declaration.
16591 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16593         * math/Makefile: (gen-libm-templates.stmp): New rule.
16594         (libm-calls): Move carg conj cimag and cabs into ...
16595         (gen-libm-calls): New variable.
16596         (generated): Inform Make objects from gen-libm-calls
16597         may be generated.
16599         * sysdeps/generic/math-type-macros.h: New file.
16600         * sysdeps/generic/math-type-macros-float.h: Likewise.
16601         * sysdeps/generic/math-type-macros-double.h: Likewise.
16602         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16603         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
16604         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
16606         * math/cabs.c: Refactor into
16607         * math/cabs_template.c: new file.
16608         * math/cabsf.c: Removed.
16609         * math/cabsl.c: Removed.
16610         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
16611         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
16613         * math/carg.c: Refactor into
16614         * math/carg_template.c: new file.
16615         * math/cargf.c: Removed.
16616         * math/cargl.c: Removed.
16617         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
16618         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
16620         * math/conj.c: Refactor into
16621         * math/conj_template.c: new file.
16622         * math/conjf.c: Removed.
16623         * math/conjl.c: Removed.
16624         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
16625         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
16627         * math/cimag.c: Refactor into
16628         * math/cimag_template.c: new file.
16629         * math/cimagf.c: Removed.
16630         * math/cimagl.c: Removed.
16631         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16632         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16634         * math/cimag.c: Refactor into
16635         * math/cimag_template.c: new file.
16636         * math/cimagf.c: Removed.
16637         * math/cimagl.c: Removed.
16638         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16639         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16641 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16643         Reduce time to expected nptl/tst-once5 failure.
16644         * nptl/tst-once5.cc (TIMEOUT): Define.
16646 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16648         [BZ #20452]
16649         Avoid additional copies of objects in libc.a in static libraries.
16650         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
16651         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
16652         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
16653         rt-sysdep.
16654         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
16655         Add nptl-sysdep.
16656         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
16657         Add ptw-sysdep.
16658         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
16659         rt-sysdep.
16660         * sysdeps/unix/sysv/linux/alpha/Makefile
16661         (libpthread-shared-only-routines): Add ptw-sysdep,
16662         ptw-sigprocmask, ptw-rt_sigaction.
16663         * sysdeps/unix/sysv/linux/ia64/Makefile
16664         (librt-shared-only-routines): Add rt-sysdep.
16665         * sysdeps/unix/sysv/linux/i386/Makefile
16666         (libpthread-shared-only-routines): Add libc-do-syscall.
16667         * sysdeps/unix/sysv/linux/microblaze/Makefile
16668         (libpthread-shared-only-routines): Add sysdep.
16669         * sysdeps/unix/sysv/linux/powerpc/Makefile
16670         (librt-shared-only-routines): Add rt-sysdep.
16671         (libpthread-shared-only-routines): Add sysdep.
16672         * sysdeps/unix/sysv/linux/s390/Makefile
16673         (librt-shared-only-routines): Add rt-sysdep.
16674         * sysdeps/unix/sysv/linux/sparc/Makefile
16675         (librt-shared-only-routines): Add rt-sysdep.
16676         (libpthread-shared-only-routines): Add sysdep.
16677         * sysdeps/unix/sysv/linux/tile/Makefile
16678         (libpthread-shared-only-routines): Likewise.
16680 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
16682         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
16683         Mask implicit bit out of unpacked value.
16684         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
16685         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
16686         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
16688         * sysdeps/sparc/fpu/fesetexcept.c: New file.
16690         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
16692         * sysdeps/s390/fpu/fesetexcept.c: New file.
16694         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
16695         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
16696         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
16698         * sysdeps/mips/fpu/fesetexcept.c: New file.
16700         * sysdeps/m68k/fpu/fesetexcept.c: New file.
16702         * sysdeps/ia64/fpu/fesetexcept.c: New file.
16704         * sysdeps/hppa/fpu/fesetexcept.c: New file.
16706         * sysdeps/arm/fesetexcept.c: New file.
16708         * sysdeps/alpha/fpu/fesetexcept.c: New file.
16710         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
16712         * math/fesetexcept.c: New file.
16713         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
16714         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
16715         * math/fenv.h: Define
16716         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16717         <bits/libc-header-start.h> instead of including <features.h>.
16718         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
16719         declaration.
16720         * manual/arith.texi (fesetexcept): Document function.
16721         * math/Versions (fesetexcept): New libm symbol at version
16722         GLIBC_2.25.
16723         * math/Makefile (libm-support): Add fesetexcept.
16724         (tests): Add test-fesetexcept and test-fesetexcept-traps.
16725         * math/test-fesetexcept.c: New file.
16726         * math/test-fesetexcept-traps.c: Likewise.
16727         * sysdeps/nacl/libm.abilist: Update.
16728         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16729         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16730         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16731         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16732         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16733         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16734         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16735         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16736         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16737         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16738         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16739         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16741         Likewise.
16742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16743         Likewise.
16744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16745         Likewise.
16746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16747         Likewise.
16748         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16749         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16750         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16751         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16752         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16754         Likewise.
16755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16756         Likewise.
16757         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16758         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16759         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16761 2016-08-16  Florian Weimer  <fweimer@redhat.com>
16763         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
16764         New.
16765         (do_test): Apply default_stack_size_in_mb if not set.
16766         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
16768 2016-08-15  Andreas Schwab  <schwab@suse.de>
16770         [BZ #20435]
16771         CVE-2016-6323
16772         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
16773         as .cantunwind.
16775 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
16777         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
16778         comment from fraiseexcpt.c.
16780         * math/test-fexcept.c (feraiseexcept_exact): New function.
16781         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
16782         (test_except): Likewise.
16784 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
16786         [BZ #20455]
16787         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
16788         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
16789         to be restored.
16791         * math/test-fexcept-traps.c: New file.
16792         * math/test-fexcept.c: Likewise.
16793         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
16794         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
16795         macro.
16796         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
16797         (EXCEPTION_SET_FORCES_TRAP): Likewise.
16799 2016-08-09  Torvald Riegel  <triegel@redhat.com>
16801         * include/atomic.h (atomic_fetch_and_relaxed,
16802         atomic_fetch_and_release, atomic_fetch_or_release,
16803         atomic_fetch_xor_release): New.
16805 2016-08-06  Christian Seiler  <christian@iwakd.de>
16807         [BZ #20444]
16808         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
16809         MACH_PORT_NULL.
16811 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16813         * math/s_fdim.c: Avoid alias renamed.
16814         * math/s_fdimf.c: Likewise.
16815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16816         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16817         Add s_fdimf-vis3, s_fdim-vis3.
16818         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16819         (CFLAGS-s_fdim-vis3.c): Likewise.
16820         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
16821         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
16823 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16826         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16827         Remove s_fdimf-vis3, s_fdim-vis3.
16828         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
16829         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
16830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
16831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
16832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
16833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
16834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
16835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
16836         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
16837         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
16839 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16841         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
16842         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
16843         -Wa,-Av9a -mvis.
16845 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16847         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
16848         LIT() to individual constants in simple expressions
16849         after splitting on spaces.
16850         (_apply_lit): Rename replaced version, and use it to
16851         apply to what appears to be a token.
16853         * math/libm-test.inc: Fix many, many issues with
16854         spacing.
16856 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
16858         * math/math.h: Move comment about <bits/mathdef.h> definitions
16859         above inclusion of <bits/mathdef.h>.  Do not mention
16860         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
16862 2016-08-05  Torvald Riegel  <triegel@redhat.com>
16864         * include/atomic.h (atomic_exchange_relaxed): New.
16866 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
16868         * math/e_scalb.c: Do not include <fenv.h>.
16869         (invalid_fn): Do calculation resulting in NaN instead of raising
16870         FE_INVALID and returning a NaN explicitly.
16871         * math/e_scalbf.c: Do not include <fenv.h>.
16872         (invalid_fn): Do calculation resulting in NaN instead of raising
16873         FE_INVALID and returning a NaN explicitly.
16874         * math/e_scalbl.c: Do not include <fenv.h>.
16875         (invalid_fn): Do calculation resulting in NaN instead of raising
16876         FE_INVALID and returning a NaN explicitly.
16878 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
16880         * po/de.po: Updated from Translation Project.
16881         * po/fi.po: Likewise.
16882         * po/sv.po: Likewise.
16884 2016-08-04  Florian Weimer  <fweimer@redhat.com>
16886         [BZ #20452]
16887         Use sysdep.o from libc.a in static libraries.
16888         * sysdeps/unix/sysv/linux/i386/Makefile
16889         (libpthread-shared-only-routines): Add sysdep.
16890         (librt-shared-only-routines): Likewise.
16892 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16894         * math/tgmath.h (nextdown): Define if
16895         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
16896         (nextup): Likewise.
16898         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
16899         macro.
16900         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16901         Document.
16902         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16903         Document macro.
16904         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
16905         (exp10f): Likewise.
16906         (exp10l): Likewise.
16907         * math/bits/mathcalls.h (exp10): Declare if
16908         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
16910         * manual/arith.texi (nextup): Fix typo in last change.
16912 2016-08-03  Zack Weinberg  <zackw@panix.com>
16914         [BZ #19239]
16915         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
16916         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
16917         define major, minor, and makedev to issue deprecation warnings on use.
16918         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
16919         previously-activated deprecation warnings for these macros and prevent
16920         subsequent inclusions of this header from having any effect.
16921         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
16922         including <sys/sysmacros.h>, and undefine it again afterward.
16924 2016-08-03  Zack Weinberg  <zackw@panix.com>
16926         * sysdeps/generic/sys/sysmacros.h: Delete file.
16927         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
16928         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
16929         * bits/sysmacros.h: ... here; this encoding is now the generic
16930         encoding.  Now defines only the following macros:
16931         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
16932         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
16933         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
16935         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
16936         bits/sysmacros.h and the above new macros to generate the
16937         public implementations of major, minor, and makedev.
16938         * misc/tst-makedev.c: New test.
16939         * include/sys/sysmacros.h: New wrapper.
16941         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
16942         (routines): Add makedev.
16943         (tests): Add tst-makedev.
16944         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
16945         gnu_dev_makedev.
16946         * posix/Makefile (headers): Remove sys/sysmacros.h.
16947         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
16949         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
16950         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
16951         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
16952         * sysdeps/unix/sysv/linux/alpha/libc.abilist
16953         * sysdeps/unix/sysv/linux/arm/libc.abilist
16954         * sysdeps/unix/sysv/linux/hppa/libc.abilist
16955         * sysdeps/unix/sysv/linux/i386/libc.abilist
16956         * sysdeps/unix/sysv/linux/ia64/libc.abilist
16957         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16958         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
16959         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
16960         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16961         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16962         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16963         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16964         * sysdeps/unix/sysv/linux/nios2/libc.abilist
16965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16969         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
16970         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
16971         * sysdeps/unix/sysv/linux/sh/libc.abilist
16972         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16973         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16976         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
16977         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
16978         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
16979         Add GLIBC_2.25.
16981         * include/features.h (__glibc_clang_prereq): New macro.
16982         * misc/sys/cdefs.h (__glibc_clang_has_extension)
16983         (__attribute_deprecated_msg__): New macros.
16985 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16987         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
16988         macro.
16989         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
16990         * manual/arith.texi (issignaling): Document as ISO from TS
16991         18661-1:2014.
16992         (nextup): Likewise.
16993         (nextupf): Likewise.
16994         (nextupl): Likewise.
16995         (nextdown): Likewise.
16996         (nextdownf): Likewise.
16997         (nextdownl): Likewise.
16998         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
16999         macro.
17000         * math/math.h: Define
17001         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17002         <bits/libc-header-start.h> instead of including <features.h>.
17003         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
17004         [__USE_GNU].
17005         * math/bits/mathcalls.h (nextdown): Declare if
17006         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
17007         (nextup): Likewise.
17008         (__issignaling): Likewise.
17010 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17012         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
17013         check, and remove __glibc_likely hint
17014         from FP_INFINITE check.
17015         * s_csinhf.c (__csinhf): Likewise.
17017         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
17018         hint from FP_INFINITE check.
17019         * s_csinhl.c (__csinhl): Likewise.
17021 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17023         * math/Makefile (libm-calls): Insert F placeholder into
17024         object names.  Move w_lgamma_compat* routines into
17025         (libm-compat-calls): New variable.
17026         (libm-compat-calls-ldouble-yes): New variable.
17027         (calls): Insert F placeholder.
17028         (generated): Redefine using new type-foreach macro call.
17029         (routines): Likewise.
17031         (types): New variable to hold a list of symbolic names
17032         for each type supported by the target machine.
17033         (libm-routines): Redefine using new types variable.
17034         (type-foreach): macro to replace fooF with the
17035         appropriately suffixed foo for each types.
17037         (type-ldouble-suffix): New variable.
17038         (type-ldouble-routines): Likewise.
17039         (type-ldouble-yes): Likewise.
17040         (type-double-suffix): Likewise.
17041         (type-double-routines): Likewise.
17042         (type-float-suffix): Likewise.
17043         (type-float-routines): Likewise.
17045         (dbl-only-routines): Remove.
17046         (long-c-yes): Likewise.
17047         (long-m-routines): Likewise.
17048         (long-m-support): Likewise.
17049         (long-m-yes): Likewise.
17050         (test-longdouble-yes): Likewise.
17052         (test-float.o): Simplify by increasing the scope of the
17053         recipe which adds libm-test.stmp to the vector types.
17054         (test-ifloat.o): Likewise.
17055         (test-float-finite.o): Likewise.
17056         (test-double.o): Likewise
17057         (test-idouble.o): Likewise.
17058         (test-double-finite.o): Likewise.
17059         (test-ldouble.o): Likewise
17060         (test-ildoubl.o): Likewise.
17061         (test-ldouble-finite.o): Likewise.
17063         (libm-tests): Redefine type tests using foreach and the
17064         list of types in types.
17066         (CPPFLAGS-test-ildoubl.c): Rename to
17067         (CPPFLAGS-test-ildouble.c): New variable
17069         * math/test-ildoubl.c: Rename to
17070         * math/test-ildouble.c: New file.
17072 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17074         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
17075         Use fabsl instead of fabs.
17076         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
17077         Likewise.
17078         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
17079         Add long double suffix to constant to ensure proper
17080         promotion to long double.
17082 2016-08-03  Tom Tromey  <tom@tromey.com>
17084         [BZ #20311]
17085         * nptl_db/Makefile (headers): Add proc_service.h.
17086         * nptl_db/proc_service.h: Add include guard.  Use
17087         __BEGIN/__END_DECLS.
17088         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
17089         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
17090         arguments.
17093 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17095         [BZ #17730]
17096         Avoid using memalign for TCB allocations.
17097         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
17098         (_dl_allocate_tls_storage): Use malloc and manual alignment.
17099         Avoid alignment gap in the TLS_DTV_AT_TP case.
17100         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
17101         determine the pointer to free.
17102         * nptl/tst-tls3-malloc.c: New test.
17103         * nptl/Makefile (tests): Add it.
17104         (tst-tls3-malloc): Link with libdl, libpthread.
17105         (LDFLAGS-tst-tls3-malloc): Set.
17106         (tst-tls3-malloc.out): Depend on DSO used in test.
17108 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17110         [BZ #17730]
17111         Avoid using memalign for TLS allocations.
17112         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
17113         is_static member with to_free member.
17114         (union dtv): Use struct dtv_pointer.
17115         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
17116         dtv_pointer instead of is_static.
17117         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
17118         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
17119         instead of val.
17120         (allocate_dtv_entry): New function.
17121         (allocate_and_init): Return struct dtv_pointer.  Call
17122         allocate_dtv_entry instead of __libc_memalign.
17123         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
17124         instead of val.
17125         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
17126         instead of is_static.  Adjust call to allocate_and_init.
17127         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
17128         struct dtv_pointer instead of val.
17130 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17132         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
17133         (MALLOC_ALIGN_MASK): Move ...
17134         * malloc/malloc-internal.h: ... to here.
17135         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
17137 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
17139         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
17140         (UDP_ENCAP_GTP1U): Likewise.
17142         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
17143         (PF_MAX): Update value.
17144         (AF_QIPCRTR): New macro.
17146 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
17148         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
17149         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17150         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17151         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17152         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17153         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
17154         s_truncf-vis3, s_trunc-vis3.
17155         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
17156         (CFLAGS-s_ceil-vis3.c): Likewise.
17157         (CFLAGS-s_floorf-vis3.c): Likewise.
17158         (CFLAGS-s_floor-vis3.c): Likewise.
17159         (CFLAGS-s_truncf-vis3.c): Likewise.
17160         (CFLAGS-s_trunc-vis3.c): Likewise.
17161         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
17162         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
17163         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
17164         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
17165         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
17166         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
17167         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
17168         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
17169         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
17170         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
17171         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
17172         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
17174 2016-08-02  David S. Miller  <davem@davemloft.net>
17176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17177         (__nearbyint_vis3): Don't check for sNaN before float register is
17178         loaded with the incoming argument.
17179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17180         (__nearbyintf_vis3): Likewise.
17181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
17182         Likewise.
17183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
17184         Likewise.
17186         * string/test-strncmp.c (do_test_limit): Make sure the test data
17187         stream is aligned as required for the type "CHAR".
17188         (do_test): Likewise.
17190 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
17192         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
17193         by beq instructions jumping to the end of the function.
17194         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
17195         clobber list. Use "i" constraint instead of "X".
17196         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
17197         of "X".
17199 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
17201         * bits/libc-header-start.h: New file.
17202         * Makefile (headers): Add bits/libc-header-start.h.
17203         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
17204         (__GLIBC_USE): New macro.
17205         * libio/stdio.h: Define
17206         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17207         <bits/libc-header-start.h> instead of including <features.h>.
17208         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
17209         (open_memstream): Likewise.
17210         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
17211         (__asprintf): Likewise.
17212         (asprintf): Likewise.
17213         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
17214         (getdelim): Likewise.
17215         (getline): Likewise.
17216         * string/string.h: Define
17217         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17218         <bits/libc-header-start.h> instead of including <features.h>.
17219         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
17220         (strndup): Likewise.
17221         * wcsmbs/wchar.h: Define
17222         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17223         <bits/libc-header-start.h> instead of including <features.h>.
17224         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
17225         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
17227 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17229         Support linking against compatibility symbols, for use in tests.
17230         * include/libc-symbols.h (symbol_version_reference): New macro.
17231         (symbol_version): Use it.
17232         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
17233         (compat_symbol): Use compat_symbol_reference.
17234         (compat_symbol_1, compat_symbol_2): Remove.
17235         (compat_symbol_reference, compat_symbol_reference_1)
17236         (compat_symbol_reference_2): New macro.  Use
17237         symbol_version_reference.
17239 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17241         [BZ #19469]
17242         * malloc/Makefile (CPPFLAGS): Compile tests with
17243         -DTEST_NO_MALLOPT.
17244         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
17246 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
17248         [BZ #20033]
17249         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
17250         finite version.
17251         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
17252         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
17253         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
17254         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
17255         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
17256         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
17257         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
17258         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
17259         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
17260         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
17261         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
17262         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
17263         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
17264         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
17265         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
17266         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
17267         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
17268         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
17269         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
17270         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
17271         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
17272         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
17273         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
17274         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
17275         in zero power.
17277 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17279         [BZ #20370]
17280         * malloc/arena.c (get_free_list): Update comment.  Assert that
17281         arenas on the free list have no attached threads.
17282         (remove_from_free_list): New function.
17283         (reused_arena): Call it.
17285 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
17287         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
17288         when it is a NaN.
17289         [_IEEE_FP_INEXACT] Remove.
17290         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
17291         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
17292         when it is a NaN.
17293         [_IEEE_FP_INEXACT] Remove.
17294         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
17295         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
17296         when it is a NaN.
17297         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
17298         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
17299         when its absolute value is greater than 0x1.0p52.
17300         [_IEEE_FP_INEXACT] Remove.
17301         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
17302         when its absolute value is greater than 0x1.0p23.
17303         [_IEEE_FP_INEXACT] Remove.
17305 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
17307         * version.h (RELEASE): Set to "development"
17308         (VERSION): Set to 2.24.90.
17309         * NEWS: Add 2.25 section.
17311         * version.h (RELEASE): Set to "stable"
17312         (VERSION): Set to 2.24.
17313         * include/features.h (__GLIBC_MINOR__): Set to 24.
17315         * NEWS: Add 2.24 fixed bugs.
17316         * po/libc.pot: Regenerate.
17318 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
17320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17321         [$(subdir) = math] (libm-sysdep_routines): Remove.
17322         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17323         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
17324         s_truncf-vis3, s_trunc-vis3.
17325         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
17327         file.
17328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
17329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
17330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
17334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
17335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
17337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
17338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
17339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
17340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
17341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
17342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
17343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
17347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
17348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
17349         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
17350         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17351         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17352         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17353         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17354         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17355         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
17356         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17357         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17358         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
17359         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17360         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17361         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
17362         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
17363         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
17364         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
17365         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17366         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17367         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
17368         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
17369         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
17370         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
17372 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
17374         [BZ #20384]
17375         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
17376         test-double-libmvec-sincos-avx-main.o,
17377         test-double-libmvec-sincos-avx2-main.o,
17378         test-double-libmvec-sincos-main.o,
17379         test-float-libmvec-sincosf-avx-main.o,
17380         test-float-libmvec-sincosf-avx2-main.o and
17381         test-float-libmvec-sincosf-main.o.
17382         test-float-libmvec-sincosf-avx512-main.o.
17383         ($(objpfx)test-double-libmvec-sincos): Also link with
17384         $(objpfx)test-double-libmvec-sincos-main.o.
17385         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
17386         $(objpfx)test-double-libmvec-sincos-avx-main.o.
17387         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
17388         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
17389         ($(objpfx)test-float-libmvec-sincosf): Also link with
17390         $(objpfx)test-float-libmvec-sincosf-main.o.
17391         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
17392         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
17393         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
17394         test-double-libmvec-sincos-avx512-main.o and
17395         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
17396         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
17397         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
17398         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
17399         (CFLAGS-test-double-libmvec-sincos.c): Removed.
17400         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
17401         (CFLAGS-test-double-libmvec-sincos-main.c): New.
17402         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
17403         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
17404         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
17405         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
17406         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
17407         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
17408         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
17409         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
17410         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
17411         -DREQUIRE_AVX2.
17412         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
17413         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
17414         -DREQUIRE_AVX512F.
17415         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
17416         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
17417         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17418         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
17419         file.
17420         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
17421         Likewise.
17422         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
17423         Likewise.
17424         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
17425         Likewise.
17426         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
17427         Likewise.
17428         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
17429         Likewise.
17430         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
17431         Likewise.
17432         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
17433         Likewise.
17435 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
17437         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
17439 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
17441         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
17442         and typo in a comment about AT_HWCAP entry.
17444 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17446         * sysdeps/aarch64/libm-test-ulps: Updated.
17448 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17450         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
17451         of r13 as it is not restored in mvcle case.
17453 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
17455         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
17456         Rename "ret" to "__ret".
17457         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
17458         inline_syscall5, inline_syscall6): Likewise.
17460 2016-07-19   Will Newton  <will.newton@gmail.com>
17462         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
17463         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
17464         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
17465         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
17466         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
17468 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
17470         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
17471         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
17472         -mfpmath=387 with $(rtld-CFLAGS).
17473         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
17474         $(rtld-CFLAGS).
17476 2016-07-18   Ross Burton  <ross.burton@intel.com>
17477              Khem Raj  <raj.khem@gmail.com>
17479         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
17480         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
17481         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
17482         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
17483         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
17484         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
17485         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
17486         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
17487         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
17488         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
17489         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
17490         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
17491         R_METAG_TLS_DTPOFF): New.
17493 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17494             Matt Clay  <mclay@lycos.com>
17496         [BZ #20357]
17497         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
17498         to call __mpsin/__mpcos and to negate values.
17499         * math/auto-libm-test-in: Add test.
17500         * math/auto-libm-test-out: Regenerate.
17502 2016-07-18  Zack Weinberg  <zackw@panix.com>
17504         * grp/Makefile: Don't install the internal header grp-merge.h.
17506 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17508         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17510 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17512         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
17514 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17516         [BZ #15368]
17517         * sysdeps/unix/sysv/linux/nptl-signals.h
17518         (__nptl_clear_internal_signals): New function.
17519         (__libc_signal_block_all): Likewise.
17520         (__libc_signal_block_app): Likewise.
17521         (__libc_signal_restore_set): Likewise.
17522         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
17523         implementation.
17524         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
17525         the cached pid/tid value in pthread structure.
17527 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
17529         [BZ #20347]
17530         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17532 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17534         [BZ #20348]
17535         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
17536         preadv64, pwrite64 and pwritev64.
17538 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17540         [BZ #20350]
17541         * posix/tst-preadwrite.c: Renamed to ...
17542         * posix/tst-preadwrite-common.c: This.
17543         (PREAD): Removed.
17544         (PWRITE): Likewise.
17545         (STRINGIFY): Likewise.
17546         (STRINGIFY2): Likewise.
17547         (do_prepare): Make it static and remove function arguments.
17548         (do_test): Likewise.
17549         (PREPARE): Updated.
17550         (TEST_FUNCTION): New.
17551         (name): Make it static.
17552         (fd): Likewise.
17553         (do_prepare): Use create_temp_file.
17554         (do_test): Renamed to ...
17555         (do_test_with_offset): This.  Make it static and accept offset.
17556         Properly check return value of PWRITE and PREAD.  Return bytes
17557         read.  Don't close fd nor unlink name.
17558         * posix/tst-preadwrite.c: Rewrite.
17559         * posix/tst-preadwrite64.c: Likewise.
17561 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17563         [BZ #20309]
17564         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
17565         -mtls-dialect=gnu2 works.
17566         * configure: Regenerated.
17567         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
17568         (tests): Add tst-gnu2-tls1.
17569         (modules-names): Add tst-gnu2-tls1mod.
17570         ($(objpfx)tst-gnu2-tls1): New.
17571         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
17572         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
17573         * elf/tst-gnu2-tls1.c: New file.
17574         * elf/tst-gnu2-tls1mod.c: Likewise.
17575         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
17576         bytes for push in the PLT entry to align the stack.
17578 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17580         [BZ #20349]
17581         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
17583 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17585         [BZ #18707]
17586         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
17587         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
17589 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17591         * sysdeps/unix/sysv/linux/sysdep.h
17592         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
17593         guards.
17594         * misc/tst-preadvwritev-common.c: New file.
17595         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
17596         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
17597         a check for files larger than 2GB.
17599         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17600         (__ASSUME_OFF_DIFF_OFF64): Remove define.
17601         * sysdeps/unix/sysv/linux/pread.c
17602         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
17603         __OFF_T_MATCHES_OFF64_T.
17604         * sysdeps/unix/sysv/linux/pread64.c
17605         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
17606         * sysdeps/unix/sysv/linux/preadv.c
17607         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
17608         * sysdeps/unix/sysv/linux/preadv64.c
17609         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
17610         * sysdeps/unix/sysv/linux/pwrite.c
17611         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
17612         * sysdeps/unix/sysv/linux/pwrite64.c
17613         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
17614         * sysdeps/unix/sysv/linux/pwritev.c
17615         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
17616         * sysdeps/unix/sysv/linux/pwritev64.c
17617         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
17619 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
17621         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17622         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
17624 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
17626         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
17628 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
17630         [BZ #20240]
17631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
17632         (CFLAGS-s_modf-ppc32.c): New variable.
17633         (CFLAGS-s_modff-ppc32.c): Likewise.
17634         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17635         (CFLAGS-s_modf-ppc64.c): Likewise.
17636         (CFLAGS-s_modff-ppc64.c): Likewise.
17638 2016-07-07  Andreas Schwab  <schwab@suse.de>
17640         [BZ #20263]
17641         * nptl/tst-robust10.c: New test.
17642         * nptl/Makefile (tests): Add tst-robust10.
17644 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
17646         [BZ #20263]
17647         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
17649 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17651         * sysdeps/s390/linkmap.h (struct link_map_machine):
17652         Remove member gotplt and add member jmprel.
17653         * sysdeps/s390/s390-32/dl-machine.h
17654         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
17655         instead of gotplt with &got[3].
17656         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
17657         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17659 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
17661         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
17663 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17665         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
17666         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
17667         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17668         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
17669         * libio/vtables.c (_IO_vtable_check)
17670         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17671         * libio/libioP.h (IO_set_accept_foreign_vtables)
17672         [!PTR_MANGLE]: Do not call PTR_MANGLE.
17674 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
17676         [BZ #20314]
17677         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
17678         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
17679         $(common-objpfx)cmath.
17680         ($(common-objpfx)cstdlib): New target.
17681         ($(common-objpfx)cmath): Likewise.
17683 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
17685         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
17687 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17689         [BZ #20327]
17690         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
17691         are not part of the string.
17693 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17695         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
17696         * nptl/tst-cancel4-common.h (fifoname): New variable.
17697         (fifofd): Likewise.
17698         (cl_fifo): New function.
17699         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
17700         SIGINT.
17701         (tf_open): Add early cancel test.
17703 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
17705         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
17707 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
17709         * sysdeps/generic/ldsodefs.h
17710         (dl_symbol_visibility_binds_local_p): New inline function.
17711         * elf/dl-addr.c (determine_info): Treat hidden and internal
17712         symbols as local.
17713         * elf/dl-lookup.c (do_lookup_x): Likewise.
17714         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
17716 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
17718         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
17719         invalid exception for a sNaN input.
17720         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17721         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17722         (__nearbyint_vis3): Likewise
17723         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17724         (__nearbyintf_vis3): Likewise
17725         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
17726         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17727         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
17728         Likewise.
17729         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
17730         Likewise.
17732 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
17734         [BZ #20139]
17735         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
17736         (HAVE_AVX512DQ_ASM_SUPPORT): This.
17737         * sysdeps/x86_64/configure.ac: Require assembler from binutils
17738         2.24 or above.
17739         (HAVE_AVX512_ASM_SUPPORT): Removed.
17740         (HAVE_AVX512DQ_ASM_SUPPORT): New.
17741         * sysdeps/x86_64/configure: Regenerated.
17742         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
17743         check unconditional.
17744         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17745         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17746         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17747         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
17748         Likewise.
17749         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17750         Likewise.
17751         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17752         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17753         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17754         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17755         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17756         Likewise.
17757         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17758         Likewise.
17759         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17760         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17761         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
17762         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
17763         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
17764         Likewise.
17765         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
17766         Likewise.
17767         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
17768         Likewise.
17769         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
17770         Likewise.
17771         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
17772         Likewise.
17773         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
17774         Likewise.
17775         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
17776         Likewise.
17777         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
17778         Likewise.
17779         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
17780         Likewise.
17781         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
17782         Likewise.
17783         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
17784         Likewise.
17786 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
17788         [BZ #20024]
17789         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
17790         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
17791         of this implementation of vector function.
17792         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17793         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17794         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
17795         Likewise.
17796         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17797         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17798         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
17799         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
17800         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
17801         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
17802         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
17803         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
17804         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
17805         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
17806         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
17807         for testing vector sincos with fixed ABI.
17808         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17809         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17810         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17811         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17812         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17813         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17814         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17815         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
17816         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
17817         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
17818         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
17819         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
17820         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
17821         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
17822         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17823         * sysdeps/x86_64/fpu/Makefile: Added new tests.
17825 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17827         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
17829 2016-06-30  Anton Blanchard  <anton@samba.org>
17831         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17832         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
17833         s_sinf-ppc64.
17834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
17835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
17836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
17837         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
17839 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17842         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17843         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
17844         e_expf-ppc64.
17845         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
17846         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
17847         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
17848         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
17850 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
17852         [BZ #20277]
17853         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
17854         when SHARED is defined.
17856 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
17858         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
17859         (index_arch_Prefer_ERMS): Likewise.
17860         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
17861         __memcpy_erms for Prefer_ERMS.
17862         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17863         (__memmove_erms): Enabled for libc.a.
17864         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
17865         __memmove_erms or Prefer_ERMS.
17866         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
17867         __mempcpy_erms for Prefer_ERMS.
17868         * sysdeps/x86_64/multiarch/memset.S (memset): Return
17869         __memset_erms for Prefer_ERMS.
17871 2016-06-30  Andreas Schwab  <schwab@suse.de>
17873         [BZ #20262]
17874         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
17875         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
17876         of memory.
17878 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
17880         [BZ #18645]
17881         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
17882         (test-extras): Add tst-cleanupx4aux.
17883         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
17884         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
17885         tst-cleanupx4aux.o.
17886         * nptl/tst-cleanupx4aux.c: New file.
17888 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17890         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17892 2016-06-29  Andreas Schwab  <schwab@suse.de>
17894         [BZ #20260]
17895         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
17896         address before the beginning of the string as an integer to avoid
17897         array-bounds warning.
17899 2016-06-28  Richard Henderson  <rth@redhat.com>
17901         * elf/elf.h (EM_BPF): New.
17902         (EM_NUM): Update.
17903         (R_BPF_NONE, R_BPF_MAP_FD): New.
17905         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
17906         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
17907         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
17908         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
17909         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
17910         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
17911         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
17912         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
17913         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
17914         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
17915         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
17916         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
17917         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
17918         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
17919         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
17920         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
17921         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
17922         (EM_NUM): Update.
17924 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
17926         [BZ #18960]
17927         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
17928         Set _nl_current_LC_CATEGORY_used to two instead of one.
17930 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
17932         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
17933         (do_test): ... this.
17934         (TEST_FUNCTION): New macro.
17935          Include test-skeleton.c.
17936         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
17937         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
17939 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
17941         [BZ #15479]
17942         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
17943         floating-point environment rather than just control word.
17944         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17945         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
17946         floating-point environment, with "invalid" exceptions merged in,
17947         rather than just control word.
17948         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
17949         * math/libm-test.inc (trunc_test_data): Do not allow spurious
17950         "inexact" exceptions.
17952         [BZ #15479]
17953         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
17954         floating-point environment rather than just control word.
17955         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17956         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
17957         floating-point environment, with "invalid" exceptions merged in,
17958         rather than just control word.
17959         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
17960         * math/libm-test.inc (floor_test_data): Do not allow spurious
17961         "inexact" exceptions.
17963         [BZ #15479]
17964         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
17965         floating-point environment rather than just control word.
17966         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17967         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
17968         floating-point environment, with "invalid" exceptions merged in,
17969         rather than just control word.
17970         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
17971         * math/libm-test.inc (ceil_test_data): Do not allow spurious
17972         "inexact" exceptions.
17974 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
17976         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
17977         __libc_vfork.
17978         (__vfork) [IS_IN (libc)]: Remove alias.
17979         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
17980         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
17981         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
17983 2016-06-24  Torvald Riegel  <triegel@redhat.com>
17985         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
17986         of atomic_compare_and_exchange_bool_rel.
17987         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17988         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
17989         catomic_compare_and_exchange_bool_rel): Remove.
17990         * sysdeps/aarch64/atomic-machine.h
17991         (atomic_compare_and_exchange_bool_rel): Likewise.
17992         * sysdeps/alpha/atomic-machine.h
17993         (atomic_compare_and_exchange_bool_rel): Likewise.
17994         * sysdeps/arm/atomic-machine.h
17995         (atomic_compare_and_exchange_bool_rel): Likewise.
17996         * sysdeps/mips/atomic-machine.h
17997         (atomic_compare_and_exchange_bool_rel): Likewise.
17998         * sysdeps/microblaze/atomic-machine.h
17999         ( __arch_compare_and_exchange_bool_8_rel,
18000         __arch_compare_and_exchange_bool_16_rel): Likewise.
18001         * sysdeps/powerpc/atomic-machine.h
18002         ( __arch_compare_and_exchange_bool_8_rel,
18003         __arch_compare_and_exchange_bool_16_rel): Likewise.
18004         * sysdeps/powerpc/powerpc32/atomic-machine.h
18005         ( __arch_compare_and_exchange_bool_32_rel,
18006         __arch_compare_and_exchange_bool_64_rel): Likewise.
18007         * sysdeps/powerpc/powerpc64/atomic-machine.h
18008         ( __arch_compare_and_exchange_bool_32_rel,
18009         __arch_compare_and_exchange_bool_64_rel): Likewise.
18010         * sysdeps/tile/atomic-machine.h
18011         (atomic_compare_and_exchange_bool_rel): Likewise.
18013 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
18015         [BZ #20296]
18016         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
18017         when either argument is a NaN.
18018         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18019         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
18021         * math/libm-test.inc (snan_value_ld): New macro.
18022         (isgreater_test_data): Add sNaN tests.
18023         (isgreaterequal_test_data): Likewise.
18024         (isless_test_data): Likewise.
18025         (islessequal_test_data): Likewise.
18026         (islessgreater_test_data): Likewise.
18027         (isunordered_test_data): Likewise.
18028         (nextafter_test_data): Likewise.
18029         (nexttoward_test_data): Likewise.
18030         (remainder_test_data): Likewise.
18031         (remquo_test_data): Likewise.
18032         (significand_test_data): Likewise.
18033         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
18035 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
18037         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
18038         environment macros are defined.
18039         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
18041 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18043         [BZ #20191]
18044         Implement vtable verification in libio.
18045         * Makerules (shlib.lds): Place __libc_IO_vtables section.
18046         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
18047         * debug/vdprintf_chk.c (__vdprintf_chk): Call
18048         _IO_new_file_init_internal instead of _IO_file_init.
18049         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
18050         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
18051         * libio/Makefile (routines): Add vtables.
18052         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
18053         (_IO_init): Remove, not for internal use.
18054         (_IO_init_internal): Declare, internal replacement for _IO_init.
18055         (_IO_file_init): Remove, not for internal use.
18056         (_IO_new_file_init): Remove, not for internal use.
18057         (_IO_new_file_init_internal): Declare, internal replacement for
18058         _IO_new_file_init.
18059         (_IO_old_file_init): Remove, not for internal use.
18060         (_IO_old_file_init_internal): Declare, internal replacement for
18061         _IO_old_file_init.
18062         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
18063         internal use.
18064         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
18065         Declare.
18066         (libio_vtable): New macro.
18067         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
18068         functions.
18069         * libio/fileops.c (_IO_new_file_init_internal): Rename from
18070         _IO_new_file_init.
18071         (_IO_new_file_init): New externally visible wrapper which disables
18072         vtable verification.
18073         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
18074         Define as vtables.
18075         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
18076         (_IO_init): New externally visible wrapper which disables
18077         vtable verification.
18078         * libio/iofdopen.c (_IO_new_fdopen): Call
18079         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
18080         comment.
18081         * libio/iofopen.c (__fopen_internal): Call
18082         _IO_new_file_init_internal instead of _IO_file_init.
18083         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
18084         Define as vtables.
18085         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
18086         _IO_new_file_init_internal instead of _IO_file_init.
18087         * libio/iopopen.c (_IO_new_popen): Likewise.
18088         (_IO_proc_jumps): Define as vtable.
18089         * libio/iovdprintf.c (_IO_vdprintf): Call
18090         _IO_new_file_init_internal instead of _IO_file_init.
18091         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
18092         (__open_memstream): Call _IO_init_internal instead of _IO_init.
18093         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
18094         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
18095         _IO_old_file_init.
18096         (_IO_old_file_init): New externally visible wrapper which disables
18097         vtable verification.
18098         (_IO_old_file_jumps): Define as vtable.
18099         * libio/oldiofdopen.c (_IO_old_fdopen): Call
18100         _IO_old_file_init_internal instead of _IO_old_file_init.
18101         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18102         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18103         (_IO_old_proc_jumps): Define as vtable.
18104         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
18105         Define as vtables.
18106         * libio/vtables.c: New file.
18107         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
18108         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
18109         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
18110         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
18111         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
18112         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
18113         instead of _IO_init.
18115 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18117         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
18119 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18121         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
18122         potentially unused.
18124 2016-06-22  Florian Weimer  <fweimer@redhat.com>
18126         * test-skeleton.c (write_message): New function.
18127         * malloc/tst-mallocfork2.c (write_message): Remove.
18128         * debug/tst-longjmp_chk2.c (write_indented): New function.
18129         (write_message): Remove.
18130         (stackoverflow_handler): Call write_indented.
18132 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
18134         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
18135         "inexact" exceptions after fnstenv.
18136         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18137         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18138         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18140 2015-06-22  Zack Weinberg  <zackw@panix.com>
18142         * sysdeps/generic/bits/hwcap.h: Moved to ...
18143         * bits/hwcap.h: Here.
18145 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
18147         * sysdeps/aarch64/memcpy.S (memcpy):
18148         Further tuning for performance.
18150 2016-06-21  Florian Weimer  <fweimer@redhat.com>
18152         [BZ #20284]
18153         * malloc/arena.c (reused_arena): Do not return NULL if we start
18154         out with a non-corrupted arena.
18156 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18158         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
18159         * misc/tst-preadvwritev.c: New file.
18160         * misc/tst-preadvwritev64.c: Likewise.
18161         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
18162         usage.
18163         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
18164         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
18165         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
18166         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
18168 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
18170         [BZ #19654]
18171         * sysdeps/x86_64/fpu/Makefile: Added new tests.
18172         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
18173         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
18174         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
18175         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
18176         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
18177         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
18178         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
18179         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
18180         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
18181         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
18182         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
18183         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
18184         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
18185         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
18186         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
18187         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
18188         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
18189         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
18190         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
18191         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
18192         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
18193         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
18194         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
18195         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
18196         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
18198 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
18200         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
18201         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
18203 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
18205         * sysdeps/aarch64/memcpy.S (memcpy):
18206         Rewrite of optimized memcpy and memmove.
18207         * sysdeps/aarch64/memmove.S (memmove): Remove
18208         memmove code (merged into memcpy.S).
18210 2016-06-20  Florian Weimer  <fweimer@redhat.com>
18212         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
18213         * sysdeps/generic/dl-dtv.h: New file.
18214         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18215         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
18216         (dtv_t): Remove.
18217         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18218         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
18219         (dtv_t): Remove.
18220         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18221         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
18222         (dtv_t): Remove.
18223         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18224         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
18225         (dtv_t): Remove.
18226         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18227         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
18228         (dtv_t): Remove.
18229         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18230         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
18231         (dtv_t): Remove.
18232         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18233         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
18234         (dtv_t): Remove.
18235         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
18236         (dtv_t): Remove.
18237         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18238         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
18239         (dtv_t): Remove.
18240         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18241         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
18242         (dtv_t): Remove.
18243         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18244         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
18245         (dtv_t): Remove.
18246         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18247         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
18248         (dtv_t): Remove.
18249         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18250         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
18251         (dtv_t): Remove.
18252         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18253         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
18254         (dtv_t): Remove.
18255         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18256         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
18257         (dtv_t): Remove.
18258         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18259         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
18260         (dtv_t): Remove.
18262 2016-06-20  Florian Weimer  <fweimer@redhat.com>
18264         Revert symbol poisoning of  __malloc_initialize_hook.
18265         * include/stdc-predef.h (__malloc_initialize_hook): Remove
18266         poisoning.
18267         * malloc/Makefile: Remove un-poisoning.
18268         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
18269         instead of old__malloc_initialize_hook.
18270         * malloc/malloc-hooks.h: Likewise.
18271         * malloc/malloc.c: Likewise.
18272         * malloc/mcheck-init.c: Likewise.
18274 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
18276         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
18278 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
18280         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
18281         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
18282         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
18283         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
18285 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18287         * NEWS: Mention addition of nextup and nextdown.
18288         * manual/arith.texi: Document nextup and nextdown.
18289         * manual/libm-err-tab.pl: Add nextup and nextdown.
18290         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
18291         * math/Versions (libm): Add GLIBC_2.24.
18292         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
18293         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
18294         Add new test.
18295         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
18296         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
18297         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
18298         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
18299         (nextup_test_data): Likewise.
18300         (nextdown_test_data): Likewise.
18301         * math/s_nextdown.c: New file.
18302         * math/s_nextdownf.c: Likewise.
18303         * math/s_nextdownl.c: Likewise.
18304         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
18305         F(nextup): New function.
18306         F(nextdown): Likewise.
18307         * math/tgmath.h: Add nextup and nextdown.
18308         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
18309         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
18310         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
18311         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
18312         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
18313         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
18314         Add nextup and nextdown.
18315         (CFLAGS-nldbl-nextup.c): New variable.
18316         (CFLAGS-nldbl-nextdown.c): Likewise.
18317         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
18318         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
18319         * sysdeps/nacl/libm.abilist: Update.
18320         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18321         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18322         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18323         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18324         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18325         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18326         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18327         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18328         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18329         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18330         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18331         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18334         Likewise.
18335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18337         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18338         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18339         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18340         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18341         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
18343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
18344         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18345         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18346         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18347         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18349 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18351         * manual/pattern.texi: Fix typos & grammar errors.
18353 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18355         * manual/search.texi: Fix typos & grammar errors.
18357 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18359         * manual/message.texi: Fix typos & grammar errors.
18361 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
18363         * manual/contrib.texi: Fix spelling typos.
18364         * manual/crypt.texi: Likewise.
18365         * manual/filesys.texi: Likewise.
18366         * manual/locale.texi: Likewise.
18367         * manual/message.texi: Likewise.
18368         * manual/nss.texi: Likewise.
18369         * manual/string.texi: Likewise.
18371 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18373         * manual/locale.texi: Fix typos & grammar errors.
18375 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18377         * manual/charset.texi: Fix typos & grammar errors.
18379 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18381         * manual/string.texi: Fix typos.
18383 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18385         * manual/ctype.texi: Fix typos.
18387 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18389         * manual/memory.texi: Fix various typos & grammar errors.
18391 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
18393         [BZ #20255]
18394         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
18395         * math/libm-test.inc (fdim_test_data): Add another test.
18397         [BZ #6796]
18398         [BZ #20255]
18399         [BZ #20256]
18400         * math/s_fdim.c: Include <math_private.h>.
18401         (__fdim): Use math_narrow_eval on result.
18402         * math/s_fdimf.c: Include <math_private.h>.
18403         (__fdimf): Use math_narrow_eval on result.
18404         * sysdeps/i386/fpu/s_fdim.S: Remove file.
18405         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
18406         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
18407         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
18408         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
18409         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
18410         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
18411         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
18412         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
18413         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
18414         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
18415         * math/libm-test.inc (fdim_test_data): Expect errno setting on
18416         overflow.  Add sNaN tests.
18418         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
18419         fpclassify.
18420         * math/s_fdimf.c (__fdimf): Likewise.
18421         * math/s_fdiml.c (__fdiml): Likewise.
18423 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18425         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18426         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
18427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18428         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
18429         ifunc'ed strcasecmp/strncasecmp.
18430         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
18431         [EALIGN]: Removed.
18432         [END]: Likewise.
18433         [__strcasecmp]: Define instead of the above to control symbol name.
18434         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
18435         for __strcasecmp_power8.
18436         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
18437         for __strncasecmp_power8.
18438         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
18439         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
18440         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
18441         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
18442         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
18443         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
18445 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
18447         [BZ #20252]
18448         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
18449         arguments when second argument is a NaN.
18450         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
18451         qNaN tests.
18453         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
18454         (conj_test_data): Likewise.
18455         (copysign_test_data): Likewise.
18456         (creal_test_data): Likewise.
18457         (fma_test_data): Likewise.
18458         (fmod_test_data): Likewise.
18460         [BZ #20250]
18461         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
18462         itself.
18463         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
18464         zero input to itself.
18465         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
18466         Likewise.
18467         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
18468         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
18469         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18470         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
18471         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
18473 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18475         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
18476         * nptl/tst-cancel4-common.c: New file.
18477         * nptl/tst-cancel4-common.h: Likewise.
18478         * nptl/tst-cancel4.c: Move common definitions to
18479         tst-cancel4-common.{c,h} file.
18480         * nptl/tst-cancel4_1.c: New test.
18481         * nptl/tst-cancel4_2.c: New test.
18483 2016-06-13  Florian Weimer  <fweimer@redhat.com>
18485         [BZ #20248]
18486         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
18487         (write_message): New function.
18488         (stackoverflow_handler): Call it instead of printf, to avoid
18489         excessive stack usage by printf.
18490         (do_test): Restore SIGSEGV, SIGBUS default handlers.
18492 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18494         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
18495         (prio_inherit_missing): Remove define.
18496         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18497         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18498         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
18499         Likewise.
18500         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18501         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18502         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18503         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18504         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18505         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18507 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18509         [BZ #19670]
18510         [BZ #19672]
18512         * io/test-lfs.c (do_prepare): Use xmalloc.
18513         * io/tst-fcntl.c (do_prepare): Likewise.
18514         * libio/tst-fopenloc.c (do_bz17916): Likewise.
18515         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
18516         * login/tst-utmp.c (do_prepare): Likewise.
18517         * posix/tst-exec.c (do_prepare): Likewise.
18518         * posix/tst-pathconf.c (prepare): Likewise.
18519         * posix/tst-spawn.c (do_prepare): Likewise.
18520         * posix/tst-truncate.c (do_prepare): Likewise.
18521         * rt/tst-aio.c (do_prepare): Likewise.
18522         * rt/tst-aio64.c (do_prepare): Likewise.
18524 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18526         [BZ #20237]
18527         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
18528         (get*ent): Set entidx to NULL during initialization.  If entidx is
18529         NULL, start iteration from the beginning.
18531 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18533         * malloc/malloc.c (musable): Return correct size for dumped fake
18534         mmapped chunk.
18536 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18538         [BZ #20222]
18539         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
18540         (_IO_cookie_write): Likewise.
18541         (_IO_cookie_seek): Likewise.
18542         (_IO_cookie_close): Likewise.
18543         (_IO_old_cookie_seek): Likewise.
18544         (set_callbacks): New function.
18545         (_IO_cookie_init): Call set_callbacks to copy callbacks.
18547 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
18549         * locale/programs/localedef.c (oldstyle_tables): Remove.
18550         * locale/programs/localedef.h (oldstyle_tables): Likewise.
18552 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
18554         [BZ #20240]
18555         * math/Makefile (CFLAGS-s_modf.c): New variable.
18556         (CFLAGS-s_modff.c): Likewise.
18557         (CFLAGS-s_modfl.c): Likewise.
18558         * math/libm-test.inc (modf_test_data): Add sNaN tests.
18560 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
18562         [BZ #20215]
18563         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
18564         [!__GNUC_PREREQ (3,2)]: Likewise.
18566 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
18568         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
18569         (msghdr.msg_controllen): Likewise.
18570         (cmsghdr.cmsg_len): Likewise.
18571         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
18572         ptw-oldsendmsg.
18573         (CFLAGS-oldrecvmsg.c): Remove rule.
18574         (CFLAGS-oldsendmsg.c): Likewise.
18575         (CFLAGS-recvmsg.c): Add rule.
18576         (CFLAGS-sendmsg.c): Likewise.
18577         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
18578         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
18579         (CFLAGS-recvmsg.c): Remove rule.
18580         (CFLAGS-sendmsg.c): Likewise.
18581         (CFLAGS-oldrecvmsg.c): Likewise.
18582         (CFLAGS-oldsendmsg.c): Likewise.
18583         (CFLAGS-recvmmsg.c): Likewise.
18584         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
18585         to kernel defined interfaces.
18586         (msghdr.msg_controllen): Likewise.
18587         (cmsghdr.cmsg_len): Likewise.
18588         (msghdr.__glibc_reserved1): Remove member.
18589         (msghdr.__glibc_reserved2): Likewise.
18590         (cmsghdr.__glibc_reserved1): Likewise.
18591         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
18592         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
18593         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18594         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18595         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
18596         version.
18597         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18598         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
18599         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18600         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
18601         Remove recvmsg and sendmsg.
18602         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
18603         Likewise.
18604         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18605         Likewise.
18606         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18607         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18608         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18609         Likewise.
18610         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18611         Likewise.
18612         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
18613         [libc] (GLIBC_2.24): Likewise.
18614         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18615         Likewise.
18616         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18617         Likewise.
18618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18619         [libc] (GLIBC_2.24): Likewise.
18620         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18621         Likewise.
18622         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18623         Likewise.
18624         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18625         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18626         Likewise.
18627         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18628         Likewise.
18629         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18630         Likewise.
18631         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
18632         Likewise.
18633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
18634         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
18635         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
18636         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
18637         version for {recv,send,recm,sendm}msg.
18638         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18639         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18640         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18641         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18642         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18643         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18644         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18645         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18646         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18647         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18648         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18649         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18651         Likewise.
18652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18653         Likewise.
18654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18656         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18657         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18658         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18659         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18660         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18661         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18664         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18665         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18666         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18668 2016-06-10  Florian Weimer  <fweimer@redhat.com>
18670         [BZ #19564]
18671         Remove __malloc_initialize_hook from the API.
18672         * malloc/malloc.h (__malloc_initialize_hook): Remove.
18673         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
18674         #pragma GCC poison.
18675         * malloc/malloc-hooks.h: New file.
18676         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
18677         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
18678         (old__malloc_initialize_hook): Rename from
18679         __malloc_initialize_hook to evade poisoning.  Turn into compat
18680         symbol.
18681         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
18682         __malloc_initialize_hook.
18683         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
18684         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
18685         * manual/memory.texi (Hooks for Malloc): Remove
18686         __malloc_initialize_hook.  Adjust hook example.
18688 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
18690         [BZ #20235]
18691         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
18692         itself.
18693         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18694         * math/libm-test.inc (log2_test_data): Add sNaN tests.
18696         [BZ #20234]
18697         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
18698         infinity or NaN input to itself.
18700         [BZ #20233]
18701         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
18702         to itself.
18704         [BZ #20232]
18705         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
18706         itself.
18708 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18710         * sysdeps/x86_64/start.S (_start): Always indirect branch to
18711         __libc_start_main via GOT.
18713 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18715         * sysdeps/x86_64/memcopy.h: New file.
18716         * sysdeps/x86_64/wordcopy.c: Likewise.
18718 2016-06-09  Florian Weimer  <fweimer@redhat.com>
18720         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
18721         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
18722         <cstdlib>.
18723         (optimization_barrier): New.
18724         (do_test): Use it.  Call quick_exit in the global namespace.
18725         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
18726         instead of <cstdlib>, <thread>.
18727         (optimization_barrier): New.
18728         (non_main_thread): Adjust declaration.  Call optimization_barrier.
18729         Call quick_exit in the global namespace.
18730         (do_test): Call optimization_barrier.  Use pthread_create,
18731         pthread_join instead of std::thread.
18733 2016-06-09  Andreas Schwab  <schwab@suse.de>
18735         [BZ #19755]
18736         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
18737         new entries in auto-propagate mode.
18738         * nscd/grpcache.c (cache_addgr): Likewise.
18740 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18742         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
18743         New functions.
18744         (add_temp_file): Use them.
18746 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
18748         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
18750 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
18752         [BZ #20229]
18753         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
18754         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
18755         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
18757         [BZ #20228]
18758         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
18759         itself.
18760         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18761         * math/libm-test.inc (log10_test_data): Add sNaN tests.
18763         [BZ #20227]
18764         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
18765         itself.
18766         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18767         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18768         * math/libm-test.inc (log_test_data): Add sNaN tests.
18770         [BZ #20226]
18771         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
18772         itself.
18773         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18774         * math/libm-test.inc (exp_test_data): Add sNaN tests.
18775         (exp10_test_data): Likewise.
18776         (expm1_test_data): Likewise.
18778         [BZ #20225]
18779         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
18780         itself.
18781         * math/s_ldexpf.c (__ldexpf): Likewise.
18782         * math/s_ldexpl.c (__ldexpl): Likewise.
18783         * math/w_scalbln.c (__w_scalbln): Likewise.
18784         * math/w_scalblnf.c (__w_scalblnf): Likewise.
18785         * math/w_scalblnl.c (__w_scalblnl): Likewise.
18786         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
18787         (scalbln_test_data): Likewise.
18789         [BZ #20224]
18790         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
18791         argument to itself.
18792         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
18794 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
18796         [BZ #19776]
18797         * sysdeps/x86_64/memcpy.S: Make it dummy.
18798         * sysdeps/x86_64/mempcpy.S: Likewise.
18799         * sysdeps/x86_64/memmove.S: New file.
18800         * sysdeps/x86_64/memmove_chk.S: Likewise.
18801         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
18802         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
18803         * sysdeps/x86_64/memmove.c: Removed.
18804         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18805         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18806         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
18807         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
18808         Likewise.
18809         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18810         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18811         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18812         memcpy-sse2-unaligned, memmove-avx-unaligned,
18813         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
18814         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18815         (__libc_ifunc_impl_list): Replace
18816         __memmove_chk_avx512_unaligned_2 with
18817         __memmove_chk_avx512_unaligned.  Remove
18818         __memmove_chk_avx_unaligned_2.  Replace
18819         __memmove_chk_sse2_unaligned_2 with
18820         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
18821         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
18822         with __memmove_avx512_unaligned.  Replace
18823         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
18824         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
18825         with __memcpy_chk_avx512_unaligned.  Remove
18826         __memcpy_chk_avx_unaligned_2.  Replace
18827         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
18828         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
18829         Replace __memcpy_avx512_unaligned_2 with
18830         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
18831         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
18832         with __mempcpy_chk_avx512_unaligned.  Remove
18833         __mempcpy_chk_avx_unaligned_2.  Replace
18834         __mempcpy_chk_sse2_unaligned_2 with
18835         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
18836         Replace __mempcpy_avx512_unaligned_2 with
18837         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
18838         Replace __mempcpy_sse2_unaligned_2 with
18839         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
18840         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
18841         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
18842         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
18843         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
18844         (ENTRY): Removed.
18845         (END): Likewise.
18846         (ENTRY_CHK): Likewise.
18847         (libc_hidden_builtin_def): Likewise.
18848         Don't include ../memcpy.S.
18849         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
18850         __memcpy_chk_avx512_unaligned_erms and
18851         __memcpy_chk_avx512_unaligned.  Use
18852         __memcpy_chk_avx_unaligned_erms and
18853         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18854         Default to __memcpy_chk_sse2_unaligned.
18855         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18856         Change function suffix from unaligned_2 to unaligned.
18857         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
18858         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
18859         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
18860         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
18861         (ENTRY): Removed.
18862         (END): Likewise.
18863         (ENTRY_CHK): Likewise.
18864         (libc_hidden_builtin_def): Likewise.
18865         Don't include ../mempcpy.S.
18866         (mempcpy): New.  Add a weak alias.
18867         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
18868         __mempcpy_chk_avx512_unaligned_erms and
18869         __mempcpy_chk_avx512_unaligned.  Use
18870         __mempcpy_chk_avx_unaligned_erms and
18871         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18872         Default to __mempcpy_chk_sse2_unaligned.
18874 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
18876         [BZ #19881]
18877         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
18878         into ...
18879         * sysdeps/x86_64/memset.S: This.
18880         (__bzero): Removed.
18881         (__memset_tail): Likewise.
18882         (__memset_chk): Likewise.
18883         (memset): Likewise.
18884         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
18885         defined.
18886         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
18887         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
18888         (__memset_zero_constant_len_parameter): Check SHARED instead of
18889         PIC.
18890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18891         memset-avx2 and memset-sse2-unaligned-erms.
18892         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18893         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
18894         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
18895         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18896         (__bzero): Enabled.
18897         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
18898         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
18899         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
18900         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
18901         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
18902         (memset): Removed.
18903         (__memset_chk): Likewise.
18904         (MEMSET_SYMBOL): New.
18905         (libc_hidden_builtin_def): Replace __memset_sse2 with
18906         __memset_sse2_unaligned.
18907         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
18908         __memset_chk_sse2 and __memset_chk_avx2 with
18909         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
18910         Use __memset_chk_sse2_unaligned_erms or
18911         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
18912         __memset_chk_avx512_unaligned_erms and
18913         __memset_chk_avx512_unaligned.
18915 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18917         * math/gen-auto-libm-test.c (fp_format_desc): remove
18918         suffix member.
18919         (output_generic_value): Remove usage of suffix member,
18920         and the resulting unuse of the fp_format argument.
18921         (output_for_one_input_case): Remove unused fp_format
18922         parameter.
18924         * math/auto-libm-test-out: Regenerate.
18926         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
18927         usage with TEST_COND_ibm128.
18928         (TEST_COND_flt_32): Remove.
18929         (TEST_COND_dbl_64): Remove.
18930         (TEST_COND_ldbl_96_intel): Remove.
18931         (TEST_COND_ldbl_96_m68k): Remove.
18932         (TEST_COND_ldbl_128): Remove.
18934 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18936         * auto-libm-test-in:
18937         Replace flt-32 usage with binary32.
18938         Replace dbl-64 usage with binary64.
18939         Replace ldbl-intel-96 usage with intel96.
18940         Replace ldbl-m68k-96 usage with m68k96.
18941         Replace ldbl-128ibm usage with ibm128.
18942         Replace ldbl-128 usage with binary128.
18944         * auto-libm-test-out: Regenerate.
18946 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18948         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
18949         (parse_ulps): Dynamically generate type name matching
18950         string from all_floats.
18951         (get_ulps): Generate the ulps as an array instead.
18952         (output_ulps): Dynamically compose the type based
18953         on the number of supported formats, and print
18954         the indices as type specific helper macros.
18956         * math/libm-test.inc: Remove comment about CHOOSE.
18957         (ulp_data): Generate the type in libm-test-ulps.h.
18958         (ULP_IDX): New macro.
18959         (find_ulps): Update usage of max_ulp.
18961         * math/test-double-vlen2.h (CHOOSE): Remove.
18962         * math/test-double-vlen4.h (CHOOSE): Likewise.
18963         * math/test-double-vlen8.h (CHOOSE): Likewise.
18964         * math/test-float.c (CHOOSE): Likewise.
18965         * math/test-float-finite.c (CHOOSE): Likewise.
18966         * math/test-double.c (CHOOSE): Likewise.
18967         * math/test-double-finite.c (CHOOSE): Likewise.
18968         * math/test-idouble.c (CHOOSE): Likewise.
18969         * math/test-ifloat.c (CHOOSE): Likewise.
18970         * math/test-ildoubl.c (CHOOSE): Likewise.
18971         * math/test-ldouble-finite.c (CHOOSE): Likewise.
18972         * math/test-ldouble.c (CHOOSE): Likewise.
18974         * math/test-float.h (TEST_FLOAT): Remove.
18975         * math/test-double.h (TEST_DOUBLE): Likewise.
18976         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
18978 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18980         * math/gen-libm-test.pl: (apply_lit): New subroutine.
18981         (parse_args): Strip C suffix from floating point literals
18982         typed with 'f' and wrap them with LIT().
18984         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
18985         (test_ff_f_data_nexttoward): Rename to
18986         (test_fj_f_data): New struct.
18987         (nexttoward_test_data): Relabel tests as
18988         TEST_fj_f instead of TEST_ff_f.
18990 2016-06-08  Florian Weimer  <fweimer@redhat.com>
18992         Emacs bug 23726.
18993         * malloc/malloc.c (dumped_main_arena_start): Update comment.
18994         (__libc_realloc): Correct size computation for dumped fake mmapped
18995         chunks.
18997 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
18999         [BZ #20219]
19000         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
19001         to itself.
19002         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
19004         [BZ #20218]
19005         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
19006         to itself.
19007         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
19009 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
19011         [BZ #20195]
19012         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
19013         check to ...
19014         (init_cpu_features): Here.
19016 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
19018         [BZ #20214]
19019         * sysdeps/unix/sysv/linux/bits/in.h
19020         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19021          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
19022         Define to 1.
19023         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19024          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
19025         Define to 0.
19026         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
19027         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
19029 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
19031         [BZ #20198]
19032         * stdlib/Makefile (tests): Add tst-quick_exit, and
19033         tst-thread-quick_exit.
19034         [ifeq ($(have-cxx-thread_local),yes)]
19035         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
19036         (CFLAGS-tst-thread-quick_exit.o): Likewise.
19037         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
19038         (LDLIBS-tst-thread-quick_exit): Likewise.
19039         [ifneq ($(have-cxx-thread_local),yes)]
19040         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
19041         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
19042         If run_dtors is true call __call_tls_dtors.
19043         (exit): Call __run_exit_handlers with run_dtors set to true.
19044         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
19045         definition.
19046         * stdlib/quick_exit.c (quick_exit): Remove function.
19047         (__new_quick_exit): New function.
19048         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
19049         function.
19050         * stdlib/tst-quick_exit.cc: New file.
19051         * stdlib/tst-thread-quick_exit.cc: New file.
19052         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
19053         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
19054         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
19055         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
19056         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
19057         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
19058         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
19059         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
19060         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
19061         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
19062         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
19063         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
19064         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
19065         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
19066         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
19067         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
19069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
19070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
19071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
19072         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
19073         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
19074         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
19075         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
19076         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
19077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
19078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
19079         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
19080         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
19081         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
19083 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
19085         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
19086         a typo in comments.
19088 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
19090         [BZ #20213]
19091         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
19092         argument to itself.
19093         * math/libm-test.inc (asin_test_data): Add sNaN tests.
19095 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19097         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
19098         required flags.
19099         (CFLAGS-pwritev64.c): Likewise.
19100         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
19101         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
19102         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
19103         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19104         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
19105         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
19106         syscall from auto-generation.
19107         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
19108         [WORDSIZE == 64] (pwritev64): Remove macro.
19109         [!PWRITEV] (PWRITEV): Likewise.
19110         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
19111         [!PWRITEV] (PWRITE): Likewise.
19112         [!PWRITEV] (OFF_T): Likewise.
19113         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
19114         (LO_HI_LONG): Remove macro.
19115         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
19116         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
19117         (PWRITEV): Remove macro.
19118         (PWRITEV_REPLACEMENTE): Likewise.
19119         (PWRITE): Likewise.
19120         (OFF_T): Likewise.
19121         (pwritev64): New function.
19122         * nptl/tst-cancel4.c (tf_writev): Add test.
19124         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
19125         required flags.
19126         (CFLAGS-preadv64.c): Likewise.
19127         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
19128         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
19129         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
19130         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
19131         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
19132         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
19133         syscall from auto-generation.
19134         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
19135         [WORDSIZE == 64] (preadv64): Remove macro.
19136         [!PREADV] (PREADV): Likewise.
19137         [!PREADV] (PREADV_REPLACEMENT): Likewise.
19138         [!PREADV] (PREAD): Likewise.
19139         [!PREADV] (OFF_T): Likewise.
19140         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
19141         (LO_HI_LONG): Remove macro.
19142         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
19143         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
19144         (PREADV): Remove macro.
19145         (PREADV_REPLACEMENTE): Likewise.
19146         (PREAD): Likewise.
19147         (OFF_T): Likewise.
19148         (preadv64): New function.
19149         * nptl/tst-cancel4.c (tf_preadv): Add test.
19151 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
19153         [BZ #20212]
19154         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
19155         argument to itself.
19156         * math/libm-test.inc (acos_test_data): Add sNaN tests.
19158 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19160         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
19161         New symbol defined as libc_hidden_def.
19162         (strcasestr): Became a weak alias to __strcasestr.
19163         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
19164         according to multi-arch support.  Move __stpncpy hidden
19165         definition from here to...
19166         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
19167         symbol stpncpy.
19168         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
19169         libc_hidden_builtin_def.
19170         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
19171         memset symbol to use when multi-arch support is available.
19173 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
19175         * dlfcn/tst-rec-dlopen.c: Include string.h.
19177 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19179         * manual/install.texi: Remove mention of --without-tls
19180         * INSTALL: Regenerate.
19182 2016-06-05  Florian Weimer  <fweimer@redhat.com>
19184         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
19185         Remove.
19186         (call_function, interposed_malloc_called): New variables.
19187         (malloc): New function.
19188         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
19189         and clear call_function as needed.
19191 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
19193         * include/wchar.h (__wmemset): Use __typeof.
19195 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
19197         * include/wchar.h (__wmemset): Declare function without typeof.
19199 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
19201         [BZ #20205]
19202         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
19203         exponent when incrementing negative subnormal with low mantissa
19204         word zero.
19205         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19206         Add another test.
19208 2016-06-03  Florian Weimer  <fweimer@redhat.com>
19210         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
19211         __wmemset instead of wmemset.
19213 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
19215         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
19216         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
19217         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
19218         __USE_KERNEL_IPV6_DEFS to 0.
19219         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
19220         Update comment.
19222 2016-06-01  Florian Weimer  <fweimer@redhat.com>
19224         [BZ #19861]
19225         Do not use IFUNC resolver with potentially unrelocated symbol.
19226         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
19227         (DEFINE_FORK): Remove macro and inline definition.
19228         (fork_alias): Renamed from fork_ifunc.
19229         (__fork_alias): Renamed from __fork_ifunc.
19231 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
19233         [BZ 19653]
19234         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
19235         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
19237 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19239         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
19240         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
19241         i386-linux-gnu).
19242         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
19243         Set to no.
19244         * sysdeps/mach/hurd/configure: Refresh.
19246 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19248         [BZ #20178]
19249         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
19250         on failure instead of exit.
19252 2016-05-30  Roland McGrath  <roland@hack.frob.com>
19254         [BZ #3629]
19255         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
19256         of POSIX.1-2008.
19258 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19260         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
19261           Use PLT entry for calling _hurd_self_sigstate.
19263 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
19265         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
19266         available logical processors with SMT level type sharing L2
19267         cache for Intel processors.
19269 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19271         [BZ #20160]
19272         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
19273         argument to itself before returning the result.
19274         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19275         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19276         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19277         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19278         Likewise.
19279         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19280         Likewise.
19281         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
19282         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
19283         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19284         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19285         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19286         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19288         [BZ #20160]
19289         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
19290         argument to itself before returning the result.
19291         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19292         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19293         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19294         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
19295         Likewise.
19296         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19297         Likewise.
19298         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
19299         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
19300         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
19301         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19302         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19303         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19305 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19307         * libm-test.inc: Replace usage of M_El with
19308         (lit_e): New macro.
19310 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19312         * libm-test.inc: Replace usage of M_PI_4l with
19313         (lit_pi_4_d): New macro.
19315 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19317         * libm-test.inc: Replace usage of M_PIl with
19318         (lit_pi): New macro.
19320 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19322         * libm-test.inc: Replace usage of M_PI2l with
19323         (lit_pi_2_d): New macro.
19325         * math/test-double.h (LITM): New macro.
19326         * math/test-float.h (LITM): Likewise.
19327         * math/test-ldouble.h (LITM): Likewise.
19329 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19331         * libm-test.inc (M_PI_34l): Rename to
19332         (lit_pi_3_m_4_d): New Macro.
19333         (M_PI_34_LOG10El): Rename to
19334         (lit_pi_3_m_4_ln10_m_d): New Macro.
19335         (M_PI2_LOG10El): Rename to
19336         (lit_pi_2_ln10_m_d):  New Macro.
19337         (M_PI4_LOG10El): Rename to
19338         (lit_pi_4_ln10_m_d):  New Macro.
19339         (M_PI_LOG10El): Rename to
19340         (lit_pi_ln10_d):  New Macro.
19342 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19344         [BZ #20157]
19345         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
19346         determine whether to negate low half if [_ARCH_PPCGR], and integer
19347         comparison otherwise.
19348         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
19349         determine whether to negate low half.
19351         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
19352         (NO_TEST_INLINE_DOUBLE): Likewise.
19353         (TEST_COND_x86_64): Likewise.
19354         (TEST_COND_x86): Likewise.
19355         (M_PI_6l): Likewise.
19357 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19359         * math/libm-test.inc:
19360         (TEST_FLOAT): Change usage to TEST_COND_binary32.
19361         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
19362         (TEST_LDOUBLE): Update usage to evaluate as true if
19363         the guarded tests match the property being tested.
19364         (LDBL_MAX_EXP): Change to MAX_EXP.
19365         (LDBL_MIN_EXP): Change to MIN_EXP.
19366         (LDBL_MANT_DIG): Change to MANT_DIG, except for
19367         nexttoward tests.
19369 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19371         * math/libm-test.inc:
19372         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
19373         (TYPE_MIN): Likewise.
19374         (TYPE_TRUE_MIN): Likewise.
19375         (TYPE_MAX): Likewise.
19376         (MIN_EXP): Likewise.
19377         (MAX_EXP): Likewise.
19378         (MANT_DIG): Likewise.
19380         (FSTR_MAX): New macro.
19381         (__CONCATX): Likewise.
19382         (QTYPE_STR): Likewise.
19383         (TEST_COND_binary32): Likewise.
19384         (TEST_COND_binary64): Likewise.
19385         (TEST_COND_binary128): Likewise.
19386         (TEST_COND_ibm128): Likewise.
19387         (TEST_COND_intel96): Likewise.
19388         (TEST_COND_m68k96): Likewise.
19390         (TEST_COND_flt_32): Redefine as equivalent format test macro.
19391         (TEST_COND_dbl_64): Likewise.
19392         (TEST_COND_ldbl_96_intel): Likewise.
19393         (TEST_COND_ldbl_96_m68k): Likewise.
19394         (TEST_COND_ldbl_128): Likewise.
19395         (TEST_COND_ldbl_128ibm): Likewise.
19397         (plus_zero): Redefine using LIT macro.
19398         (minus_zero): Likewise.
19399         (plus_infty): Redefine as (INF).
19400         (minux_infty): Redefine as (-INF).
19401         (max_value): Redefine as TYPE_MAX.
19402         (min_value): Redefine as TYPE_MIN.
19403         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
19405         (print_float): Refactor to use snprintf to convert FLOAT values
19406         to string. This brings it closer to dropin replacement of strtof
19407         for the TS 18661 defined types.
19408         (update_stats): Likewise.
19409         (print_complex_function_ulps): Likewise.
19410         (print_max_error): Likewise.
19411         (print_complex_max_error): Likewise.
19412         (check_float_internal): Likewise.
19414         * math/test-float.h (PREFIX): New macro.
19415         (LIT): Likewise.
19416         (TYPE_STR): Likewise.
19417         (FTOSTR): Likewise.
19419         * math/test-double.h (PREFIX): New macro.
19420         (LIT): Likewise.
19421         (TYPE_STR): Likewise.
19422         (FTOSTR): Likewise.
19424         * math/test-ldouble.h (PREFIX): New macro.
19425         (LIT): Likewise.
19426         (TYPE_STR): Likewise.
19427         (FTOSTR): Likewise.
19429 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19431         [BZ #20156]
19432         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
19433         to itself when zero or not finite.
19434         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
19435         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19436         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
19437         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
19439 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
19441         [BZ #20153]
19442         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
19443         x * x + x for infinities and NaNs.
19445         [BZ #20151]
19446         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
19447         argument to itself before returning result.
19448         (__ieee754_y0l): Likewise.
19449         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19450         (__ieee754_y1l).
19452         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
19453         (atan_test_data): Likewise.
19454         (ceil_test_data): Likewise.
19455         (cos_test_data): Likewise.
19456         (cosh_test_data): Likewise.
19457         (erf_test_data): Likewise.
19458         (exp2_test_data): Likewise.
19459         (fabs_test_data): Likewise.
19460         (floor_test_data): Likewise.
19461         (ilogb_test_data): Likewise.
19462         (j0_test_data): Likewise.
19463         (j1_test_data): Likewise.
19464         (jn_test_data): Likewise.
19465         (lgamma_test_data): Likewise.
19466         (lrint_test_data): Likewise.
19467         (llrint_test_data): Likewise.
19468         (logb_test_data): Likewise.
19469         (lround_test_data): Likewise.
19470         (llround_test_data): Likewise.
19471         (nearbyint_test_data): Likewise.
19472         (rint_test_data): Likewise.
19473         (round_test_data): Likewise.
19474         (sin_test_data): Likewise.
19475         (sincos_test_data): Likewise.
19476         (sinh_test_data): Likewise.
19477         (sqrt_test_data): Likewise.
19478         (tan_test_data): Likewise.
19479         (tanh_test_data): Likewise.
19480         (tgamma_test_data): Likewise.
19481         (trunc_test_data): Likewise.
19482         (y0_test_data): Likewise.
19483         (y1_test_data): Likewise.
19484         (yn_test_data): Likewise.
19486         * math/libm-test.inc: Update comment about NaN testing.
19487         (TEST_SNAN): New macro.
19488         (snan_value): Likewise.
19489         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
19490         (fpclassify_test_data): Add sNaN tests.
19491         (isfinite_test_data): Likewise.
19492         (isinf_test_data): Likewise.
19493         (isnan_test_data): Likewise.
19494         (isnormal_test_data): Likewise.
19495         (issignaling_test_data): Likewise.
19496         (signbit_test_data): Likewise.
19497         * math/gen-libm-test.pl (%beautify): Add snan_value.
19498         (show_exceptions): Add argument $test_snan.
19499         (parse_args): Handle snan_value as non-finite.  Update call to
19500         show_exceptions.
19501         * math/Makefile (libm-test-no-inline-cflags): Add
19502         -fsignaling-nans.
19504 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19506         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
19507         (CFLAGS-oldsendmsg.c): Add rule.
19508         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19509         Correct recvmsg symbol name.
19510         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
19511         Likewise.
19513 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19515         * sysdeps/unix/sysv/linux/Makefile
19516         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
19517         oldsendmmsg.
19518         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
19519         sendmmsg.
19520         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19521         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19522         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19523         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19525         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19526         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19528         Likewise.
19529         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19530         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
19531         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19532         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
19533         iovlen and controllen fields to adjust to POSIX specification.
19534         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19536         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
19537         and change to correct expected type.
19538         (msghdr.msg_controllen): Likewise.
19539         (cmsghdr.cmsg_len): Likewise.
19540         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
19541         expected POSIX assumption about the size.
19542         (msghdr.msg_controllen): Likewise.
19543         (msghdr.__glibc_reserved1): Likewise.
19544         (msghdr.__glibc_reserved2): Likewise.
19545         (cmsghdr.cmsg_len): Likewise.
19546         (cmsghdr.__glibc_reserved1): Likewise.
19547         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
19548         Add ptw-oldrecvmsg and ptw-oldsendmsg.
19549         (CFLAGS-sendmsg.c): Remove rule.
19550         (CFLAGS-recvmsg.c): Likewise.
19551         (CFLAGS-oldsendmsg.c): Add rule.
19552         (CFLAGS-oldrecvmsg.c): Likewise.
19553         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
19554         recvmsg and sendmsg.
19555         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
19556         Likewise.
19557         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
19558         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
19559         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19560         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
19561         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19562         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19563         Likewise.
19564         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19565         Likewise.
19566         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
19567         Likewise.
19568         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
19569         Likewise.
19570         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19571         Likewise.
19572         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19573         Likewise.
19574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
19575         (GLIBC_2.24): Likewise.
19576         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19577         Likewise.
19578         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19579         Likewise.
19580         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19581         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19582         Likewise.
19583         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19584         Likewise.
19585         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19586         Likewise.
19587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
19588         (GLIBC_2.24): Likewise.
19589         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
19590         Likewise.
19591         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
19592         Likewise.
19593         * sysdeps/unix/sysv/linux/Makefile
19594         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
19595         (CFLAGS-sendmsg.c): Add rule.
19596         (CFLAGS-recvmsg.c): Likewise.
19597         (CFLAGS-oldsendmsg.c): Likewise.
19598         (CFLAGS-oldrecvmsg.c): Likewise.
19599         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
19600         initialization.
19601         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19602         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19603         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
19604         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19605         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
19606         iovlen and controllen fields to adjust to POSIX specification.
19607         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
19608         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
19609         added recvmsg and sendmsg.
19610         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19611         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19612         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19613         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19614         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19615         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19616         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19617         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19618         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19619         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19620         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19621         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19623         Likewise.
19624         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
19625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19626         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19627         Likewise.
19628         Likewise.
19629         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19630         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19631         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19632         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19633         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19634         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19636         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19638         Likewise.
19639         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19640         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19642         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
19643         from auto-generation.
19644         (sendmsg): Likewise.
19645         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
19646         (sendmsg): Likewise.
19647         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
19648         (sendmsg): Likewise.
19649         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
19650         (sendmsg): Likewise.
19651         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
19652         (sendmsg): Likewise.
19653         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
19654         (sendmsg): Likewise.
19655         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
19656         Likewise.
19657         (sendmsg): Likewise.
19658         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
19659         (sendmsg): Likewise.
19660         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19661         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19662         Remove.
19663         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19664         Likewise.
19665         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19666         Undefine.
19667         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19668         Likewise.
19669         * sysdeps/unix/sysv/linux/kernel-features.h
19670         (__ASSUME_SENDMSG_SYSCALL): Define.
19671         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19672         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19673         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19674         Remove.
19675         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19676         Likewise.
19677         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19678         Undefine.
19679         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19680         Likewise.
19681         * sysdeps/unix/sysv/linux/s390/kernel-features.h
19682         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19683         Remove.
19684         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19685         Likewise.
19686         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19687         Undefine.
19688         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19689         Likewise.
19690         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19691         (__ASSUME_SENDMSG_SYSCALL): Undefine.
19692         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19693         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19694         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19695         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19696         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19697         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19698         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19700 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19702         * stdlib/gen-tst-strtod-round.c: Add backslash to
19703         compile command in comment.
19704         (printfp): Remove the literal suffix, and define an infinite
19705         value as INF to avoid expansion clash with INFINITY.
19706         (round_str): Remove the literal suffix.
19707         (round_for_all): Likewise, remove the now duplicate ldbl-64
19708         entry, and remove some magic constants.
19710         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
19711         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
19712         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
19713         (_CONCAT): New macro.
19714         (CONCAT): Likewise.
19715         (CHOOSE_ld): Likewise.
19716         (CHOOSE_f): Likewise.
19717         (CHOOSE_d): Likewise.
19718         (FTYPE_MEMBER): Likewise.
19719         (BOOL_MEMBER): Likewise.
19720         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
19721         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
19722         (_XNTRY): Likewise.
19723         (XNTRY): Likewise.
19724         (_ENTRY): Likewise.
19725         (ENTRY): Likewise.
19726         (test_exactness): Generate members via macro.
19727         (test_results): Likewise.
19728         (test): Update members.
19729         (TEST): Redefine using new macros.
19730         (INF): New macro.
19731         (fetestmodes): New structure.
19732         (do_test): Refactor to be type generic.
19733         (test_in_one_mode): Refactor duplicate code into
19734         (GEN_ONE_TEST): New macro.
19736         * stdlib/tst-strtod-round-data.h: Regenerate.
19738         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
19739         Extend to pass additional arbitrary parameters to
19740         generators.
19742 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
19744         [BZ #15479]
19745         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
19746         floating-point state after first floating-point operation on
19747         input.  Restore full floating-point state instead of just rounding
19748         mode.
19749         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19750         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19751         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19752         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19753         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19755         [BZ #15479]
19756         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
19757         floating-point state after first floating-point operation on
19758         input.  Restore full floating-point state instead of just rounding
19759         mode.
19760         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19761         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19762         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19763         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19764         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19766 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19768         [BZ #19727]
19769         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
19770         valid high surrogate.
19771         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
19772         of an utf16 surrogate.
19773         * iconv/gconv_simple.c (BODY): Likewise.
19774         * iconvdata/bug-iconv12.c: New file.
19775         * iconvdata/Makefile (tests): Add bug-iconv12.
19777 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19779         [BZ #19726]
19780         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
19781         outptrp in case of an illegal input.
19782         * iconv/tst-iconv6.c: New file.
19783         * iconv/Makefile (tests): Add tst-iconv6.
19785 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19787         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
19788         an error in case of a value in range of an utf16 low surrogate.
19790 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19792         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 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/s390-64/Makefile (iconvdata-subdirectory):
19798         Move to ...
19799         * sysdeps/s390/Makefile: ... here.
19800         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
19801         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
19802         (BRANCH_ON_COUNT): New define.
19803         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
19804         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
19805         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
19806         run on s390-32, too.
19807         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
19808         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
19809         run on s390-32, too.
19810         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
19811         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
19812         run on s390-32, too.
19814 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19816         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
19817         etf3eh or new vector loop-variant.
19819 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19821         * sysdeps/s390/s390-64/utf8-utf16-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-utf32-z9.c: Use ifunc to select c, etf3eh
19827         or new vector loop-variant.
19829 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19831         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
19832         Rename to TR_LOOP and usage of tr instead of troo instruction.
19834 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19836         * sysdeps/s390/multiarch/gconv_simple.c: New File.
19837         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
19839 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19841         * sysdeps/s390/multiarch/8bit-generic.c: New File.
19842         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
19843         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
19844         New override define.
19845         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
19847 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19849         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
19850         * sysdeps/s390/configure.ac: Add test for S390 vector register
19851         support in gcc.
19852         * sysdeps/s390/configure: Regenerated.
19854 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19856         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
19857         Install file from $(objpfx)gconv-modules.
19858         ($(objpfx)gconv-modules): Concatenate architecture specific file
19859         in variable sysdeps-gconv-modules and gconv-modules in src dir.
19860         * sysdeps/s390/gconv-modules: New file.
19861         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
19862         Deleted.
19863         ($(objpfx)gconv-modules-s390): Deleted.
19864         (sysdeps-gconv-modules): New variable.
19866 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
19868         [BZ #15479]
19869         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
19870         of immediate operand to rounding instruction.
19871         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
19872         Likewise.
19873         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
19874         Likewise.
19875         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
19876         Likewise.
19878 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19880         * math/libm-test.inc (MIN_EXP): Directly define as
19881         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
19883 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19885         * math/libm-test.inc (MANT_DIG): Directly define as
19886         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
19888 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19890         * stdlib/gen-tst-strtod-round.c (main):
19891           Change usage to more closely match the generated
19892           output.  Add usage and compilation instructions.
19893           (string_to_fp): Add and use FILE* parameter as
19894           output target.
19895           (print_fp): Likewise.
19896           (round_str): Likewise.
19897           (round_for_all): Likewise.
19898         * stdlib/tst-strtod-round.c (tests): Move into
19899         * stdlib/tst-strtod-round-data.h: New file.
19901 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
19903         [BZ #15479]
19904         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
19905         (__round): Do not force "inexact" exception.
19906         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
19907         variable.
19908         (__round): Do not force "inexact" exception.
19909         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
19910         (__roundf): Do not force "inexact" exception.
19911         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
19912         (__roundl): Do not force "inexact" exception.
19913         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
19914         (__roundl): Do not force "inexact" exception.
19915         * math/libm-test.inc (round_test_data): Do not allow spurious
19916         "inexact" exceptions.
19918         [BZ #15479]
19919         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
19920         exception in comment.
19921         (huge): Remove variable.
19922         (__floor): Do not force "inexact" exception.
19923         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
19924         "inexact" exception in comment.
19925         (huge): Remove variable.
19926         (__floor): Do not force "inexact" exception.
19927         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
19928         exception in comment.
19929         (huge): Remove variable.
19930         (__floorf): Do not force "inexact" exception.
19931         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
19932         exception in comment.
19933         (huge): Remove variable.
19934         (__floorl): Do not force "inexact" exception.
19936         [BZ #15479]
19937         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
19938         exception in comment.
19939         (huge): Remove variable.
19940         (__ceil): Do not force "inexact" exception.
19941         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
19942         "inexact" exception in comment.
19943         (huge): Remove variable.
19944         (__ceil): Do not force "inexact" exception.
19945         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
19946         (__ceilf): Do not force "inexact" exception.
19947         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
19948         exception in comment.
19949         (huge): Remove variable.
19950         (__ceill): Do not force "inexact" exception.
19952 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19954         * config.h.in (BIND_NOW): New.
19955         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
19956         * configure: Regenerated.
19957         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
19958         indirect branch via the GOT slot.
19960 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19962         [BZ #19765]
19963         * sysdeps/s390/mempcpy.S: New File.
19964         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
19965         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
19966         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19967         Add mempcpy variants.
19968         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
19969         (memcpy): Adjust to be usable from mempcpy entry point.
19970         (__memcpy_mvcle): Likewise.
19971         * sysdeps/s390/s390-64/memcpy.S: Likewise.
19972         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
19973         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
19974         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
19975         (__memcpy_z10): Likewise.
19976         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19978 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19980         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
19981         Remove __GI_ symbol.
19982         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
19983         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
19984         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
19985         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19986         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
19987         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
19989 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19991         * sysdeps/s390/s390-64/memcpy.S (memcpy):
19992         Use cghi instead of chi to compare 64bit value.
19994 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19996         * sysdeps/s390/s390-32/memcpy.S (memcpy):
19997         Jump to 1MB check before executing mvc-loop.
19999 2016-05-24  Florian Weimer  <fweimer@redhat.com>
20001         [BZ #6527]
20002         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
20003         unconditionally.
20004         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
20006 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20008         * stdlib/tst-strtod6.c (do_test): Use new type generic
20009         invocation of the test function.
20010         (test): Refactor into ...
20011         (TEST_STRTOD): New macro base function.
20013 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20015         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
20016         (TEST_STRTOD): New macro.
20017         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
20019 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20021         * stdlib/tst-strtod6.c (do_test): Use new type generic
20022         invocation of the test function.
20023         (test): Refactor into ...
20024         (TEST_STRTOD): New macro base function.
20026 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20028         CVE-2016-4429
20029         [BZ #20112]
20030         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
20031         payload.
20033 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20035         [BZ #20111]
20036         * bits/sockaddr.h (_SS_SIZE): Define.
20037         * bits/socket.h (_SS_SIZE): Remove.
20038         (_SS_PADSIZE): Adjust to account for all padding.
20039         (struct sockaddr_storage): Update comment.  Avoid implicit
20040         padding.
20041         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
20042         (_SS_PADSIZE): Adjust to account for all padding.
20043         (struct sockaddr_storage): Update comment.  Avoid implicit
20044         padding.
20045         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
20046         * sysdeps/unix/sysv/linux/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/sysv/linux/m68k/bits/sockaddr.h: New file.
20051         __SS_SIZE is 126 in this version.
20052         * inet/tst-sockaddr.c: New file.
20053         * inet/Makefile (tests): Add tst-sockaddr.c
20054         (tst-sockaddr.c): Compile with non-strict aliasing.
20056 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
20058         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
20059         [XPG3 || XPG4].
20060         (NL_ARGMAX): Also expect for [XPG3].
20061         (NL_LANGMAX): Likewise.
20062         (NL_MSGMAX): Likewise.
20063         (NL_NMAX): Likewise.
20064         (NL_SETMAX): Likewise.
20065         (NL_TEXTMAX): Likewise.
20066         (NZERO): Likewise.
20067         (TMP_MAX): Likewise.
20068         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
20069         variable.
20071         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
20072         (PF_MAX): Update value.
20073         (AF_KCM): New macro.
20074         (SOL_NETBEUI): Likewise.
20075         (SOL_LLC): Likewise.
20076         (SOL_DCCP): Likewise.
20077         (SOL_NETLINK): Likewise.
20078         (SOL_TIPC): Likewise.
20079         (SOL_RXRPC): Likewise.
20080         (SOL_PPPOL2TP): Likewise.
20081         (SOL_BLUETOOTH): Likewise.
20082         (SOL_PNPIPE): Likewise.
20083         (SOL_RDS): Likewise.
20084         (SOL_IUCV): Likewise.
20085         (SOL_CAIF): Likewise.
20086         (SOL_ALG): Likewise.
20087         (SOL_NFC): Likewise.
20088         (SOL_KCM): Likewise.
20089         (MSG_BATCH): New enum value and macro.
20091 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
20093         [BZ #18185]
20094         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
20095         sharing L2 cache to 2 for Knights Landing.
20097 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
20099         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
20100         (FTW_DP): Do not expect for [XPG3 || XPG4].
20101         (FTW_SL): Do not expect for [XPG3].
20102         (FTW_SLN): Likewise.
20103         (FTW_PHYS): Likewise.
20104         (FTW_MOUNT): Likewise.
20105         (FTW_DEPTH): Likewise.
20106         (FTW_CHDIR): Likewise.
20107         (nftw): Likewise.
20108         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
20109         variable.
20111 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
20113         * manual/errno.texi: Fix various typos & grammar errors.
20115 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
20117         * manual/intro.texi: Fix duplicated typo.
20119 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
20121         [BZ #13304]
20122         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
20123         <float.h>, <math_private.h> and <stdlib.h>.
20124         (add_split): New function.
20125         (mul_split): Likewise.
20126         (ext_val): New typedef.
20127         (store_ext_val): New function.
20128         (mul_ext_val): New function.
20129         (compare): New function.
20130         (add_split_ext): New function.
20131         (__fmal): After checking for Inf, NaN and zero, compute result as
20132         an exact sum of scaled double values in round-to-nearest before
20133         adding those up and adjusting for other rounding modes.
20134         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
20135         tests of fma.
20136         * math/auto-libm-test-out: Regenerated.
20138 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20140         [BZ #20119]
20141         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
20142         processor level type mask for CPUID with EAX == 11.
20144 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20146         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
20147         logical threads if the HTT bit is 0.
20148         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
20149         (index_cpu_HTT): Likewise.
20150         (reg_HTT): Likewise.
20152 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20154         [BZ #20115]
20155         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
20156         Remove alignments on jump targets.
20158 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
20160         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
20161         (getpwent): Likewise.
20162         (setpwent): Likewise.
20163         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
20164         variable.
20166         * conform/data/search.h-data (insque): Do not expect for [XPG3].
20167         (remque): Likewise.
20168         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
20169         variable.
20171 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
20173         * math/libm-test.inc: Update comment not to refer to signs of NaNs
20174         not being tested.
20176 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20178         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20179         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
20180         call.
20181         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20182         (__condvar_cleanup1): Likewise.
20184 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20186         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
20187         New
20188         (__pthread_unwind): Renamed to ...
20189         (PTHREAD_UNWIND): This.
20190         (__pthread_enable_asynccancel): Replace
20191         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
20193 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
20195         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
20196         (CLONE_NEWCGROUP): New macro.
20198         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
20199         (Q_GETNEXTQUOTA): New macro.
20201 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20203         [BZ #19907]
20204         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
20205         buffer updated by the previous run.
20206         * string/test-memcpy.c (do_one_test): Likewise.
20207         * benchtests/bench-memmove.c (do_one_test): Add a comment.
20208         * string/test-memmove.c (do_one_test): Likewise.
20210 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
20212         [BZ #20094]
20213         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
20214         not [__USE_XOPEN].
20215         (unlockpt): Likewise.
20216         (ptsname): Likewise.
20217         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
20218         variable.
20220         [BZ #20076]
20221         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
20222         instead of [__USE_UNIX98].
20223         (S_ISSOCK): Likewise.
20224         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
20225         variable.
20227         [BZ #20074]
20228         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
20229         [__USE_POSIX].
20230         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
20231         variable.
20233         [BZ #20051]
20234         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
20235         (ttyslot): Do not declare.
20236         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
20237         (ttyslot): New prototype.
20238         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
20239         variable.
20240         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20242 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20244         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
20246 2016-05-13  Florian Weimer  <fweimer@redhat.com>
20248         Fix race condition in tst-mallocfork2, use fewer resources.
20249         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
20250         to current process group.
20251         (signal_sender): Yield in the non-sleeping case.
20253 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
20255         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
20256         (ecvt): Likewise.
20257         (fcvt): Likewise.
20258         (gcvt): Likewise.
20259         (getsubopt): Likewise.
20260         (grantpt): Likewise.
20261         (initstate): Likewise.
20262         (l64a): Likewise.
20263         (mktemp): Likewise.
20264         (mkstemp): Likewise.
20265         (ptsname): Likewise.
20266         (random): Likewise.
20267         (realpath): Likewise.
20268         (setstate): Likewise.
20269         (srandom): Likewise.
20270         (ttyslot): Likewise.
20271         (unlockpt): Likewise.
20272         (valloc): Likewise.
20274         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
20275         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
20276         variable.
20278 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20280         [BZ #20072]
20281         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
20282         init_cpu_features only if SHARED is defined.
20283         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
20285 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20287         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
20288         non-inclusive caches on Intel processors.
20290 2016-05-13  Florian Weimer  <fweimer@redhat.com>
20292         * malloc/malloc.c (dumped_main_arena_start)
20293         (dumped_main_arena_end): New variables.
20294         (DUMPED_MAIN_ARENA_CHUNK): New macro.
20295         (do_check_chunk): Skip dumped fake mmapped chunks.
20296         (munmap_chunk): Likewise.
20297         (__libc_free): Do not adjust statistics for fake mmapped chunks.
20298         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
20299         mmapped chunks.
20300         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
20301         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
20302         and dumped_main_arena_end to cover the dumped heap.
20304 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
20306         * conform/data/time.h-data (getdate_err): Do not expect for
20307         [XPG3].
20308         (getdate): Likewise.
20309         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
20310         variable.
20312         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
20313         (F_ULOCK): Likewise.
20314         (F_TEST): Likewise.
20315         (F_TLOCK): Likewise.
20316         (useconds_t): Likewise.
20317         (intptr_t): Do not expect for [XPG3] or [XPG4].
20318         (brk): Do not expect for [XPG3]
20319         (fchown): Likewise.
20320         (fchdir): Likewise.
20321         (ftruncate): Likewise.
20322         (getdtablesize): Likewise.
20323         (gethostid): Likewise.
20324         (getpagesize): Likewise.
20325         (getpgid): Likewise.
20326         (getsid): Likewise.
20327         (getwd): Likewise.
20328         (lchown): Likewise.
20329         (lockf): Likewise.
20330         (readlink): Likewise.
20331         (sbrk): Likewise.
20332         (setpgrp): Likewise.
20333         (setregid): Likewise.
20334         (setreuid): Likewise.
20335         (symlink): Likewise.
20336         (sync): Likewise.
20337         (truncate): Likewise.
20338         (ualarm): Likewise.
20339         (usleep): Likewise.
20340         (vfork): Likewise.
20341         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
20342         variable.
20344         [BZ #20054]
20345         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
20346         not [__USE_UNIX98].
20347         * conform/data/unistd.h-data (gethostname): Do not expect for
20348         [XPG3].
20350         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
20351         [!POSIX] (S_IFBLK): Likewise.
20352         [!POSIX] (S_IFCHR): Likewise.
20353         [!POSIX] (S_IFIFO): Likewise.
20354         [!POSIX] (S_IFREG): Likewise.
20355         [!POSIX] (S_IFDIR): Likewise.
20356         [!POSIX] (S_IFLNK): Likewise.
20357         [!POSIX] (S_IFSOCK): Likewise.
20358         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
20359         variable.
20360         (test-xfail-XPG4/fcntl.h/conform): Likewise.
20362 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
20364         * sysdeps/aarch64/memset.S (__memset):
20365         Rewrite of optimized memset.
20367 2016-05-12  Florian Weimer  <fweimer@redhat.com>
20369         [BZ #19703]
20370         Partially async-signal-safe fork for single-threaded processes.
20371         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
20372         variable.  Do not acquire and reset/release malloc and libio locks
20373         in single-threaded processes.
20374         * malloc/tst-mallocfork2.c: New file.
20375         * malloc/Makefile (tests): Add it.
20377 2016-05-12  Florian Weimer  <fweimer@redhat.com>
20379         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
20380         argument.  Use scratch buffer instead of extend_alloca.
20381         (gethosts): Use scratch buffer instead of extend_alloca.
20382         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
20383         extend_alloca.
20384         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
20386 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
20388         [BZ #20055]
20389         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
20390         instead of [__USE_UNIX98].
20391         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
20392         [__USE_UNIX98].
20393         * conform/data/termios.h-data (tcgetsid): Do not expect for
20394         [XPG3].
20395         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
20396         variable.
20397         (test-xfail-XPG4/termios.h/conform): Likewise.
20399 2016-05-11  Florian Weimer  <fweimer@redhat.com>
20401         Do not use mcheck in localedef.
20402         * locale/programs/localedef.c (turn_on_mcheck)
20403         (__malloc_initialize_hook): Remove.
20405 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20407         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
20408         * sysdeps/s390/s390-64/Makefile: Likewise.
20410 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20412         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
20413         Remove ifunc-defines.sym.
20414         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
20415         Likewise.
20416         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
20417         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20418         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
20419         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
20420         rtld-global-offsets.sym.
20421         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
20422         * sysdeps/x86/cpu-features-offsets.sym: This.
20423         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
20424         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
20426 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
20428         [BZ #20073]
20429         * io/sys/stat.h (fchmod): Declare for
20430         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
20431         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
20432         variable.
20434         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
20435         [XPG3] (S_IFSOCK): Likewise.
20436         [XPG3] (S_ISVTX): Likewise.
20437         [XPG3] (S_ISLNK): Likewise.
20438         [XPG3] (S_ISSOCK): Likewise.
20439         [XPG3] (fchmod): Likewise.
20440         [XPG3] (lstat): Likewise.
20441         [XPG3] (mknod): Likewise.
20443         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
20444         [XPG3].  Expect type long and XFAIL for [XPG4].
20445         (st_blocks): Likewise.
20447         [BZ #20044]
20448         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
20449         (pthread_atfork): New prototype.
20450         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
20451         variable.
20453         [BZ #20043]
20454         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
20455         prototype.
20457 2016-05-10  Florian Weimer  <fweimer@redhat.com>
20459         [BZ #20017]
20460         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
20461         gmtime.
20463 2016-05-10  Florian Weimer  <fweimer@redhat.com>
20465         [BZ #19994]
20466         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
20467         flag in _res.options.
20469 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
20471         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
20472         [XPG3 || XPG4].
20473         (blksize_t): Likewise.
20474         (clockid_t): Likewise.
20475         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
20476         variable.
20477         (test-xfail-XPG4/sys/types.h/conform): Likewise.
20479 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20481         * sysdeps/unix/sysv/linux/s390/init-first.c:
20482         Add VDSO_SYMBOL(getcpu).
20483         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
20484         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
20485         Add VDSO_SYMBOL(getcpu).
20486         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
20487         New define HAVE_GETCPU_VSYSCALL.
20488         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20490 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
20492         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
20493         instead of <sysdeps/x86_64/cacheinfo.c>.
20494         * sysdeps/x86_64/cacheinfo.c: Moved to ...
20495         * sysdeps/x86/cacheinfo.c: Here.
20497 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20499         * malloc/malloc-internal.h: Adjust header file guard.
20501 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20503         [BZ #19787]
20504         * inet/getnameinfo.c (check_sprintf_result): New function.
20505         (CHECKED_SNPRINTF): New macro.
20506         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
20507         to the host buffer.
20508         (gni_host_local): Use checked_copy to copy the host name.
20509         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
20510         (gni_serv_local): Use checked_copy to copy the service name.
20511         (getnameinfo): Remove unnecessary truncation of result buffers.
20513 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20515         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
20516         in case of inet_ntop failure.
20518 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20520         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
20521         avoid long lines.
20522         (gni_host_inet_numeric): Likewise.  Reduce scope of local
20523         variables.
20524         (gni_host_inet, gni_host_local): Add comment.
20525         (gni_host): Add comment.  Use temporary to avoid long lines.
20527 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20529         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
20530         registers specifiers where general purpose registers specifiers should
20531         have been used.
20533 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20535         [BZ #19779]
20536         CVE-2016-1234
20537         Avoid copying names of directory entries.
20538         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
20539         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
20540         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
20541         (struct readdir_result): New type.
20542         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
20543         (GL_READDIR): New macros.
20544         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
20545         (convert_dirent, convert_dirent64): New functions.
20546         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
20547         convert_dirent64.  Adjust references to the readdir result.
20548         * sysdeps/unix/sysv/linux/i386/glob64.c:
20549         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
20550         * posix/bug-glob2.c (LONG_NAME): Define.
20551         (filesystem): Add LONG_NAME.
20552         (my_DIR): Increase the size of room_for_dirent.
20554 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
20556         [BZ #20041]
20557         * misc/sys/select.h (__need_timespec): Only define if
20558         [__USE_XOPEN2K].
20559         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
20560         variable.
20561         (test-xfail-XPG4/utmpx.h/conform): Likewise.
20562         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20563         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20565 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20566             Segher Boessenkool  <segher@gcc.gnu.org>
20568         [BZ #20004]
20569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
20570         (__novec_swapcontext): Add missing load.
20572 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
20574         [BZ #20023]
20575         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
20576         <time.h>.
20577         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
20578         variable.
20579         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20581 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
20584         flags CLONE_VM compare.
20586 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20588         [BZ #20031]
20589         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
20590         completely empty.
20592 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20594         [BZ #19573]
20595         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
20596         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
20597         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
20598         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
20599         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
20600         (hesiod_free_list): Mark as hidden.
20601         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
20602         res_set, res_get.
20603         * hesiod/hesiod.c: Remove unnecessary forward declarations.
20604         (init, __hesiod_res_get, __hesiod_res_set): Remove.
20605         (hesiod_init): Remove obsolete res_ninit call.
20606         (hesiod_end): Do not free resolver state.  Do not invoke callback.
20607         (hesiod_bind): Do not call init.
20608         (get_txt_records): Use res_mkquery, res_send instead of
20609         res_nmkquery, res_nsend.
20610         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
20611         instead of _nss_hesiod_init.
20612         (_nss_hesiod_initgroups_dyn): Likewise.
20613         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
20614         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
20615         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
20617 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20619         * hesiod/hesiod_p.h (DEF_RHS): Remove.
20620         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
20622 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20624         * hesiod/hesiod.h: Remove RCS keyword.
20625         * hesiod/hesiod_p.h: Likewise.
20627         * hesiod/hesiod.c: Likewise.
20629 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
20631         [BZ #12450]
20632         * locale/iso-639.def: Add Samogitian/sgs.
20634 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
20636         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
20638         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
20640 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
20641             Carlos O'Donell  <carlos@redhat.com>
20643         [BZ #19072]
20644         * grp/Makefile (headers): Add grp-merge.h
20645         (routines): Add grp-merge.
20646         * grp/getgrgid_r.c: Include grp-merge.h.
20647         (DEEPCOPY_FN): Define.
20648         (MERGE_FN): Define.
20649         * grp/getgrname_r.c: Include grp-merge.h.
20650         (DEEPCOPY_FN): Define.
20651         (MERGE_FN): Define.
20652         * grp/grp-merge.c: New file.
20653         * grp/grp-merge.h: New file.
20654         * include/grp-merge.h: New file.
20655         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
20656         __copy_grp@GLIBC_PRIVATE.
20657         * manual/nss.texi (Actions in the NSS configuration): Describe
20658         return, continue, and merge.
20659         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
20660         (DEEPCOPY_FN): Define.
20661         (MERGE_FN): Define.
20662         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
20663         (DEEPCOPY_FN): Define.
20664         (MERGE_FN): Define.
20665         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
20666         [!MERGE_FN]: Define __merge_einval.
20667         (CHECK_MERGE): Define.
20668         (REENTRANT_NAME): Process merge if do_merge is true.
20669         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
20670         (__nss_getent_r): Likewise.
20671         * nss/nsswitch.c (nss_parse_service_list): Likewise.
20672         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
20674 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20676         [BZ #20012]
20677         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
20678         length to calculate the buffer to read.
20679         (fmemopen_write): Set the buffer position based on bytes written.
20680         (fmemopen_seek): Return EINVAL for invalid whence modes.
20682         [BZ #19957]
20683         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
20684         tst-getpid2.
20685         (test): Add tst-clone2.
20686         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
20687         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
20688         pid/tid fields for CLONE_VM.
20689         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20690         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20691         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20692         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
20693         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20694         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20695         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20696         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20698         Likewise.
20699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20700         Likewise.
20701         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20702         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20703         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20704         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20705         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20706         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20707         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20708         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
20710 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20712         [BZ #19642]
20713         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
20714         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
20715         (gni_serv_local, gni_serv): New functions extracted from
20716         getnameinfo.
20717         (getnameinfo): Call gni_host and gni_serv to perform the
20718         processing.  Always free scratch buffer.
20720 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20722         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
20723         remaining bytes in the dest string, with zeros.
20725 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20727         [BZ #20010]
20728         CVE-2016-3706
20729         * sysdeps/posix/getaddrinfo.c
20730         (convert_hostent_to_gaih_addrtuple): New function.
20731         (gethosts): Call convert_hostent_to_gaih_addrtuple.
20732         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
20733         AF_INET data.
20735 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20737         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
20738         callback function gl_readdir.
20739         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
20740         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
20741         (glob_in_dir): Remove len.  Use strdup instead of malloc and
20742         memcpy to copy the name.
20743         * manual/pattern.texi (Calling Glob): Document requirements for
20744         implementations of the gl_readdir callback function.
20745         * manual/examples/mkdirent.c: New example.
20746         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
20747         per the manual guidance.
20748         * posix/tst-gnuglob.c (my_readdir): Likewise.
20750 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
20752         [BZ #20014]
20753         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
20754         not [__USE_POSIX].
20755         (getchar_unlocked): Likewise.
20756         (putc_unlocked): Likewise.
20757         (putchar_unlocked): Likewise.
20758         (flockfile): Likewise.
20759         (ftrylockfile): Likewise.
20760         (funlockfile): Likewise.
20761         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
20762         variable.
20763         (test-xfail-XPG4/stdio.h/conform): Likewise.
20765         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
20766         Expect constant.
20767         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
20768         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
20769         variable.
20770         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20771         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20773         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
20774         [__USE_LARGEFILE64] (off64_t): Likewise.
20775         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
20776         variable.
20778 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20780         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
20782 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20784         * resolv/inet_addr.c: Reindent preprocessor conditionals.
20785         * resolv/res_init.c: Likewise.
20786         * resolv/res_mkquery.c: Likewise.
20788 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20790         * resolv/res_init.c (isascii): Do not define.  Use definition in
20791         <ctype.h>.
20792         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
20793         (LOG_AUTH): Remove.
20794         (SPRINTF): Remove, adjust caller.
20795         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
20797 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20799         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
20800         SUNSECURITY conditional.
20801         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
20803 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20805         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
20806         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
20807         Remove BSD-related preprocessor conditionals.
20808         * conf/portability.h: Remove.
20810 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20812         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
20813         * resolv/res_data.c: Likewise.
20815 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20817         * resolv/res_comp.c: Remove code conditional on __ultrix__.
20818         * resolv/res_data.c: Remove code conditional on ultrix.
20820 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20822         * resolv/res_init.c (RFC1535): Do not define.  Remove
20823         RFC1535 preprocessor conditionals.
20824         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
20825         because there configuration options which make the resolver
20826         behavior different.
20828 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20830         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
20831         RESOLVSORT preprocessor conditionals.
20832         * resolv/nss_dns/dns-host.c: Likewise.
20833         * resolv/res_init.c: Likewise.
20835 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20837         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
20838         is never defined.
20840 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20842         * inet/inet_lnaof.c: Remove SCSS keyword.
20843         * inet/inet_mkadr.c: Likewise.
20844         * inet/inet_net.c: Likewise.
20845         * inet/inet_netof.c: Likewise.
20846         * inet/rcmd.c: Likewise.
20847         * inet/rexec.c: Likewise.
20848         * inet/ruserpass.c: Likewise.
20850 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20852         * resolv/inet_addr.c: Remove _LIBC conditionals.
20853         * resolv/res_data.c: Likewise.
20854         * resolv/res_init.c: Likewise.
20855         * resolv/res_mkquery.c: Likewise.
20856         * resolv/res_libc.c: Update comment.
20857         * resolv/README: Update.
20859 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20861         * resolv/gethnamaddr.c: Remove SCSS keyword.
20862         * resolv/herror.c: Likewise.
20863         * resolv/inet_addr.c: Likewise.
20864         * resolv/inet_net_ntop.c: Likewise.
20865         * resolv/inet_net_pton.c: Likewise.
20866         * resolv/inet_neta.c: Likewise.
20867         * resolv/inet_ntop.c: Likewise.
20868         * resolv/inet_pton.c: Likewise.
20869         * resolv/ns_date.c: Remove RCS keyword.
20870         * resolv/ns_name.c: Likewise.
20871         * resolv/ns_netint.c: Likewise.
20872         * resolv/ns_parse.c: Likewise.
20873         * resolv/ns_print.c: Likewise.
20874         * resolv/ns_samedomain.c: Likewise.
20875         * resolv/ns_ttl.c: Likewise.
20876         * resolv/nsap_addr.c: Likewise.
20877         * resolv/res_comp.c: Remove SCSS and RCS keyword.
20878         * resolv/res_data.c: Remove RCS keyword.
20879         * resolv/res_debug.c: Remove SCSS and RCS keyword.
20880         * resolv/res_init.c: Likewise.
20881         * resolv/res_mkquery.c: Likewise.
20882         * resolv/res_query.c: Likewise.
20883         * resolv/res_send.c: Likewise.
20885 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
20887         * conform/data/stdio.h-data (fdopen): Expect also for
20888         [XPG3 || XPG4].
20890         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
20891         (fseeko): Likewise.
20892         (ftello): Likewise.
20893         (ftrylockfile): Likewise.
20894         (funlockfile): Likewise.
20895         (getc_unlocked): Likewise.
20896         (getchar_unlocked): Likewise.
20897         (putc_unlocked): Likewise.
20898         (putchar_unlocked): Likewise.
20900 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20902         [BZ #19868]
20903         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
20904         DNS packet syntax checks (which were not needed before).  Skip
20905         over non-PTR records.
20907 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20909         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
20910         definition.  Include <stddef.h> instead.
20912 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20914         [BZ #19831]
20915         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
20916         function.
20917         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
20918         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
20920 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20922         [BZ #19862]
20923         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
20924         (getanswer_r): Do not call syslog.
20925         (gaih_getanswer_slice): Likewise.
20926         * resolv/gethnamaddr.c (AskedForGot): Remove.
20927         (getanswer): Do not call syslog.
20928         (gethostbyaddr): Likewise.
20930 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
20932         * conform/data/signal.h-data (union sigval): Expect also if
20933         [XOPEN2K].
20934         (struct sigevent): Likewise.
20935         (SIGEV_NONE): Likewise.
20936         (SIGEV_SIGNAL): Likewise.
20937         (SIGEV_THREAD): Likewise.
20938         (SIGRTMIN): Likewise.
20939         (SIGRTMAX): Likewise.
20940         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
20941         variable.
20942         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20944 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20946         [BZ #19830]
20947         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
20948         (gaih_getanswer_slice): Likewise.
20949         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
20950         Also check for availability of RR metadata.
20952 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20954         [BZ #19825]
20955         * resolv/res_send.c (send_vc): Remove early *resplen2
20956         initialization.  Set *resplen2 on socket error.  Call
20957         close_and_return_error for other errors.
20959 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
20961         * sysdeps/unix/sysv/linux/netiucv/iucv.h
20962         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
20963         (SCM_IUCV_TRGCLS): New define.
20965 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20967         [BZ #20005]
20968         * libio/fmemopen.c (fmemopen_write): Update internal position after
20969         write.
20970         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
20971         * stdio-common/tst-fmemopen4.c: New file..
20973 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
20975         [BZ #19996]
20976         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
20977         not [__USE_XOPEN2K].
20978         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
20979         variable.
20981         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
20982         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
20983         variable.
20985         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
20986         [__USE_XOPEN2K8].
20987         [__USE_LARGEFILE64] (off64_t): Likewise.
20988         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
20989         variable.
20991 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
20993         [BZ #19989]
20994         * libio/stdio.h (cuserid): Do not declare if
20995         [__USE_XOPEN2K && !__USE_GNU].
20996         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
20997         variable.
20999 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21001         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21002         (sysdep_routines): Add P8 and PPC64 strcspn targets.
21003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21004         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
21005         ifunc'ed strcspn.
21006         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21007         [EALIGN]: Removed.
21008         [END]: Likewise
21009         [STRSPN]: Define instead of the above to control symbol name.
21010         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
21011         New file.
21012         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
21013         Likewise.
21014         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
21015         Likewise.
21016         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
21017         Likewise.
21018         * sysdeps/powerpc/powerpc64/power8/strspn.S:
21019         [INITIAL_MASK]: New macro.
21020         [STRCSPN]: Likewise.
21021         [UPDATE_MASK]: Likewise.
21022         [USE_AS_STRCSPN]: Likewise.
21024 2016-04-25  Florian Weimer  <fweimer@redhat.com>
21026         [BZ #19931]
21027         * stdio-common/tst-vfprintf-width-prec.c: New file.
21028         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
21029         (tests-special): Add tst-vfprintf-width-prec-mem.out.
21030         (generated): Add mtrace-related files.
21031         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
21032         (tst-%-mem.out): New pattern rule, replaces
21033         tst-printf-bz18872-mem.out.
21034         * stdio-common/vfprintf.c (vfprintf): When handling a precision
21035         specifier, deallocate any previously allocated work buffer.
21037 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
21039         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
21040         Add nop before __startcontext, add explaining comments.
21042 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
21044         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
21045         any more. Notably since IPV6_PKTINFO has been reintroduced with a
21046         completely different API.
21048         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
21049         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
21050         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
21051         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
21052         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
21053         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
21054         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
21055         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
21056         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
21057         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
21059 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
21061         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
21063 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
21065         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
21066         when it is the default of 0.
21068 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21070         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
21071         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21072         (sysdep_routines): Add new strcasestr targets.
21073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21074         (__libc_ifunc_impl_list): Likewise.
21075         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
21076         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
21077         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
21078         * sysdeps/powerpc/powerpc64/power8/Makefile:
21079         New file to add strcasestr-ppc64 to sysdep_routines.
21080         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
21081         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
21083 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
21085         * benchtests/Makefile (wcsmbs-benchset): Include only for
21086         native builds and runs.
21087         (LOCALES): Likewise.
21088         (bench-build): Build timing-type here instead of the bench
21089         target.  Generate locale only for native builds.
21090         * benchtests/README: Add note for cross-building.
21092         * benchtests/Makefile (bench-clean): Clean up extra-objs.
21094         * benchtests/README: Update README to include instructions on
21095         using bench-build.
21097         * Makefile.in (bench-build): New target.
21098         * Rules (PHONY): Add bench-build target.
21099         * benchtests/Makefile (bench): Depend on bench-build.
21100         (bench-build): New target.
21102 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21104         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
21105         profil_reply_port.
21106         (profile_waiter): Do not initialize profil_reply_port.
21107         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
21108         frequency instead of tick length in us.
21110 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
21112         [BZ #18712]
21113         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
21114         (__old_mempcpy_small): Likewise.
21115         (__old_strcpy_small): Likewise.
21116         (__old_stpcpy_small): Likewise.
21117         (__old_strpbrk_c2): Fix compat symbol name.
21118         (__old_strpbrk_c3): Likewise.
21119         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
21120         (__mempcpy_small): Remove.
21121         (__strcpy_small): Remove.
21122         (__stpcpy_small): Remove.
21124 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
21126         [BZ #19400]
21127         * locale/iso-639.def: Add the Talossan/tzl language.
21129 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
21131         [BZ #16983]
21132         * locale/programs/ld-address.c (address_finish): Update postal_fmt
21133         comment.  Add "ln" to strchr check on postal_fmt.
21135 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
21137         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
21138         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
21139         tel_dom_fmt.
21141 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21143         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21144         (sysdep_routines): Added __strlen_power8.
21145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
21146         __strlen_power8 entry.
21147         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
21148         Implementation for POWER8.
21149         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
21150         for __strlen_power8.
21151         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
21152         Implementation for POWER8.
21154 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
21156         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
21158 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
21160         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
21161         Goldmont and Airmont processors.
21163 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
21165         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
21166         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
21167         (__STRING2_SMALL_GET32): Remove.
21168         (memset): Remove.
21169         (__memset_1): Remove.
21170         (__memset_gc): Remove.
21171         (__mempcpy): Remove.
21172         (mempcpy): Remove.
21173         (__mempcpy_args): Remove.
21174         (strchr): Remove.
21175         (strcpy): Remove.
21176         (strcpy_args): Remove.
21177         (__stpcpy_args): Remove.
21178         (__strcmp_cc): Remove.
21179         (__strcmp_gc): Remove.
21180         (strstr): Remove.
21182 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
21184         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
21185         * nis/nis_call.c (nis_server_cache_add): Likewise.
21187 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21189         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
21191 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21193         * malloc/arena.c (__malloc_fork_lock_parent)
21194         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
21195         internal_function attribute.
21197 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
21199         * stdio-common/printf_fp.c (__printf_fp_l):
21200         Rename ___printf_fp_l to __printf_fp_l and
21201         remove strong alias. Use libc_hidden_def instead
21202         of ldbl_hidden_def macro.
21204 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21206         Remove malloc hooks from fork handler.  They are no longer needed
21207         because malloc runs right before fork, and no malloc calls from
21208         other fork handlers are not possible anymore.
21209         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
21210         declarations.
21211         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
21212         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
21213         (atfork_recursive_cntr): Remove.
21214         (__malloc_fork_lock_parent): Do not override malloc hooks and
21215         thread_arena.
21216         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
21217         thread_arena.
21218         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
21219         thread_arena instead of save_arena.
21221 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21223         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
21224         (thread_atfork, thread_atfork_static): Remove.
21225         * sysdeps/mach/hurd/malloc-machine.h:
21226         (thread_atfork, thread_atfork_static): Remove.
21228 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21230         [BZ #19431]
21231         Run the malloc fork handler as late as possible to avoid deadlocks.
21232         * malloc/malloc-internal.h: New file.
21233         * malloc/malloc.c: Include it.
21234         * malloc/arena.c (ATFORK_MEM): Remove.
21235         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
21236         Update comment.
21237         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
21238         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
21239         Remove outdated comment.
21240         (ptmalloc_init): Do not call thread_atfork.  Remove
21241         thread_atfork_static.
21242         * malloc/tst-malloc-fork-deadlock.c: New file.
21243         * Makefile (tests): Add tst-malloc-fork-deadlock.
21244         (tst-malloc-fork-deadlock): Link against libpthread.
21245         * manual/memory.texi (Aligned Memory Blocks): Update safety
21246         annotation comments.
21247         * sysdeps/nptl/fork.c (__libc_fork): Call
21248         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
21249         __malloc_fork_unlock_child.
21250         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
21252 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21254         [BZ #19613]
21255         Remove union wait.
21256         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
21257         (w_stopsig, w_stopval): Remove.
21258         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
21259         stat_loc argument.
21260         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
21261         (__WAIT_STATUS_DEFN): Remove.
21262         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21263         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
21264         (wait, wait3, wait4): Use int * for the stat_loc argument.
21265         * posix/wait.c (__wait): Likewise.
21266         * posix/wait3.c (__wait3): Likewise.
21267         * posix/wait4.c (__wait4): Likewise.
21268         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
21269         (__WAIT_STATUS_DEFN): Remove.
21270         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21271         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
21272         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
21273         argument.
21274         * sysdeps/posix/wait.c (__libc_wait): Likewise.
21275         * sysdeps/posix/wait3.c (__wait3): Likewise.
21276         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
21277         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21278         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
21279         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
21280         stat_loc argument.
21281         * manual/process.texi (BSD Wait Functions): Remove union wait.
21283 2016-04-13  Andreas Schwab  <schwab@suse.de>
21285         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
21286         (test-extras): Add tst-tlsalign-vars.
21287         * math/Makefile: Wrap long lines.
21288         (libm-vec-test-wrappers): Define.
21289         (test-extras): Add $(libm-vec-test-wrappers).
21290         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
21291         * nss/Makefile (extra-test-objs): Add nss_test1.os.
21292         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
21293         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
21294         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
21295         (extra-test-objs): Add corresponding objects.
21297 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
21299         [BZ #19928]
21300         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
21301         New.
21302         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
21303         times of shared cache size.
21304         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
21305         (VMOVNT): New.
21306         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
21307         (VMOVNT): Likewise.
21308         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
21309         (VMOVNT): Likewise.
21310         (VMOVU): Changed to movups for smaller code sizes.
21311         (VMOVA): Changed to movaps for smaller code sizes.
21312         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
21313         comments.
21314         (PREFETCH): New.
21315         (PREFETCH_SIZE): Likewise.
21316         (PREFETCHED_LOAD_SIZE): Likewise.
21317         (PREFETCH_ONE_SET): Likewise.
21318         Rewrite to use forward and backward loops, which move 4 vector
21319         registers at a time, to support overlapping addresses and use
21320         non temporal store if size is above the threshold and there is
21321         no overlap between destination and source.
21323 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
21325         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
21326         Include dl-vdso.
21327         * sysdeps/unix/sysv/linux/mips/Versions: Add
21328         __vdso_clock_gettime.
21329         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
21330         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
21331         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
21332         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
21333         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
21334         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
21335         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21336         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
21337         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
21339 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21341         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
21342         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
21343         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21344         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21345         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21346         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21349         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
21350         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
21351         syscalls generation.
21352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21353         [__NR_pwrite64] (__NR_write): Remove define.
21354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21355         [__NR_pwrite64] (__NR_write): Remove define.
21356         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
21357         Remove define.
21358         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
21359         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
21360         Remove define.
21361         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
21362         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
21363         Linux implementation as base.
21364         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21366         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
21367         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
21368         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
21369         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
21370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
21371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21372         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
21373         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
21374         syscall generation.
21375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21376         [__NR_pread64] (__NR_pread): Remove define.
21377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21378         [__NR_pread64] (__NR_pread): Likewise.
21379         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
21380         define.
21381         (__libc_pread): Use SYSCALL_LL macro on offset argument.
21382         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
21383         Remove define.
21384         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
21385         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
21386         Linux implementation as base.
21387         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21388         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21389         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21391         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
21392         definition.
21393         (__ALIGNMENT_COUNT): Likewise.
21394         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
21395         (__ALIGNMENT_COUNT): Likewise.
21396         (SYSCALL_LL): New define.
21397         (SYSCALL_LL64): Likewise.
21398         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
21399         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
21400         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
21401         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
21403         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21404         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
21405         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21406         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21407         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21408         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21410 2016-04-11  Florian Weimer  <fweimer@redhat.com>
21412         [BZ #19865]
21413         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
21414         original buffer before retry.
21416 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21418         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
21419         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
21420         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
21421         GLRO(dl_auxv) list.
21422         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
21423         including <ldsodefs.h>.
21424         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
21426 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
21428         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
21429         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
21430         $(CPPFLAGS).
21432 2016-04-09  Khem Raj  <raj.khem@gmail.com>
21434         [BZ #17950]
21435         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
21436         Add -mfpmath=387.
21438 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
21440         * sysdeps/i386/configure.ac: Change == to = when calling test.
21441         * sysdeps/x86_64/configure.ac: Likewise.
21442         * sysdeps/i386/configure: Regenerated.
21443         * sysdeps/x86_64/configure: Likewise.
21445 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
21447         [BZ #16137]
21448         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
21449         * benchtests/bench-strcoll.c (input_files): Likewise.
21450         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21451         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
21452         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
21454 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
21456         [BZ #19929]
21457         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
21458         [__USE_XOPEN2K8 && !__USE_GNU].
21459         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
21460         variable.
21462         [BZ #19925]
21463         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
21464         define if [!__USE_MISC && __USE_XOPEN2K].
21465         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
21466         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
21467         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
21468         Likewise.
21469         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
21470         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
21471         variable.
21472         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21474 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21476         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21477         (sysdep_routines): Add new strspn targets.
21478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21479         (__libc_ifunc_impl_list): Add strspn.
21480         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21481         New file.
21482         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
21483         Likewise.
21484         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
21485         Likewise.
21486         * sysdeps/powerpc/powerpc64/power8/strspn.S:
21487         Likewise.
21489 2016-04-07  Florian Weimer  <fweimer@redhat.com>
21491         * misc/hsearch_r.c: Include <limits.h>.
21493 2016-04-07  Florian Weimer  <fweimer@redhat.com>
21495         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
21497 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21499         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
21500         (MEMCPY_SYMBOL): New.
21501         (MEMPCPY_SYMBOL): Likewise.
21502         (MEMMOVE_CHK_SYMBOL): Likewise.
21503         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
21504         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
21505         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
21506         Provide alias for memcpy in libc.a and ld.so.
21508 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21510         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
21511         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
21512         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
21513         Disabled fro now.
21514         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
21515         symbols.  Properly check USE_MULTIARCH on __memset symbols.
21517 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21519         * benchtests/Makefile (string-benchset): Add memcpy-large,
21520         memmove-large and memset-large.
21521         * benchtests/bench-memcpy-large.c: New file.
21522         * benchtests/bench-memmove-large.c: Likewise.
21523         * benchtests/bench-memmove-large.c: Likewise.
21524         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
21526 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
21528         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
21529         32-bit displacement to avoid long nop between instructions.
21531 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
21533         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
21534         a comment on VMOVU and VMOVA.
21536 2016-04-04  Florian Weimer  <fweimer@redhat.com>
21538         [BZ #19633]
21539         Use specified locale for number formatting in strfmon_l.
21540         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
21541         (__nl_lookup_word): New inline functions.
21542         * include/printf.h (__print_fp_l): Declare.
21543         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
21544         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
21545         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
21546         (___printf_fp): New function.
21547         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
21548         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
21549         * stdlib/tst-strfmon_l.c (do_test): New test.
21550         * stdlib/Makefile (tests): Add kt.
21551         (LOCALES): Build additional locales.
21552         (tst-strfmon_l.out): Require locales.
21554 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
21556         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
21557         if not in libc.
21558         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21559         Likewise.
21560         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
21561         Likewise.
21562         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21563         Likewise.
21565 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
21567         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21568         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
21569         with unaligned_erms.
21570         (__memmove_erms): Skip if source == destination.
21571         (__memmove_unaligned_erms): Don't check source == destination
21572         first.
21574 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21576         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
21577         bit_arch_Fast_Copy_Backward for Intel Core proessors.
21579 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21581         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
21582         * string/strspn.c (strspn): Likewise.
21584 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21586         * benchtests/bench-memset.c (do_test): Support 64-byte
21587         alignment.
21588         (test_main): Test 64-byte alignment.
21590 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21592         * benchtests/bench-memmove.c (test_main): Test 64-byte
21593         alignment.
21595 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21597         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
21599 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21601         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
21602         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
21603         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
21605         * string/strpbrk.c (strpbrk): Rewrite function.
21606         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
21607         (__strpbrk_c2): Likewise.
21608         (__strpbrk_c3): Likewise.
21609         * string/string-inlines.c
21610         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
21611         Likewise.
21612         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
21613         Likewise.
21615         * string/strspn.c (strcspn): Rewrite function.
21616         * string/bits/string2.h (strspn): Use __builtin_strcspn.
21617         (__strspn_c1): Remove inline function.
21618         (__strspn_c2): Likewise.
21619         (__strspn_c3): Likewise.
21620         * string/string-inlines.c
21621         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
21622         compatibility symbol.
21623         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
21624         Likewise.
21625         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
21626         Likewise.
21627         * string/string-inlines.c: Include generic version.
21629 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
21630             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21632         * string/Version (libc): Add GLIBC_2.24.
21633         * string/strcspn.c (strcspn): Rewrite function.
21634         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
21635         (__strcspn_c1): Remove inline function.
21636         (__strcspn_c2): Likewise.
21637         (__strcspn_c3): Likewise.
21638         * string/string-inline.c
21639         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
21640         compatibility symbol.
21641         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
21642         Likewise.
21643         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
21644         Likewise.
21645         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
21647 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21649         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21650         Use ahi instead of aghi to adjust stack pointer.
21652 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21654         [BZ #19853]
21655         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
21656         TEST to take significant digits as second parameter.
21657         [TEST]: Redefine in terms of TEST_N taking 30
21658         significant digits.
21659         (do_test): Add test case to demonstrate precision
21660         failure in the ldbl-128ibm printf.
21661         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
21662         (__mpn_extract_long_double): Carry 7 extra intermediate
21663         bits of precision to aide computing difference when
21664         signs differ.
21666 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21668         [BZ #19881]
21669         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21670         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
21671         memset-avx512-unaligned-erms.
21672         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21673         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
21674         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
21675         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
21676         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
21677         __memset_sse2_unaligned_erms, __memset_erms,
21678         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
21679         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
21680         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
21681         file.
21682         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21683         Likewise.
21684         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
21685         Likewise.
21686         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
21687         Likewise.
21689 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21691         [BZ #19776]
21692         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21693         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
21694         memmove-avx512-unaligned-erms.
21695         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21696         (__libc_ifunc_impl_list): Test
21697         __memmove_chk_avx512_unaligned_2,
21698         __memmove_chk_avx512_unaligned_erms,
21699         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
21700         __memmove_chk_sse2_unaligned_2,
21701         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
21702         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
21703         __memmove_avx512_unaligned_erms, __memmove_erms,
21704         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
21705         __memcpy_chk_avx512_unaligned_2,
21706         __memcpy_chk_avx512_unaligned_erms,
21707         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
21708         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
21709         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
21710         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
21711         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
21712         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
21713         __mempcpy_chk_avx512_unaligned_erms,
21714         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
21715         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
21716         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
21717         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
21718         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
21719         __mempcpy_erms.
21720         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
21721         file.
21722         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21723         Likewise.
21724         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
21725         Likewise.
21726         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21727         Likewise.
21729 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21731         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
21732         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
21733         (La_s390_64_regs): Likewise.
21734         (La_s390_32_retval): Append vector register lrv_v24.
21735         (La_s390_64_retval): Likeweise.
21736         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
21737         Handle extended structs La_s390_32_regs and La_s390_32_retval.
21738         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
21739         Handle extended structs La_s390_64_regs and La_s390_64_retval.
21741 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21743         [BZ #19916]
21744         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
21745         to create a non-vector/vector version for _dl_runtime_resolve and
21746         _dl_runtime_profile. Move implementation to ...
21747         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
21748         (_dl_runtime_resolve) Save and restore fpr/vrs.
21749         (_dl_runtime_profile) Save and restore vrs and fix some issues
21750         if _dl_call_pltexit is called.
21751         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
21752         Choose the correct resolver function if running on a machine with vx.
21753         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
21754         to create a non-vector/vector version for _dl_runtime_resolve and
21755         _dl_runtime_profile. Move implementation to ...
21756         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
21757         (_dl_runtime_resolve) Save and restore fpr/vrs.
21758         (_dl_runtime_profile) Save and restore vrs and fix some issues
21759         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
21760         Choose the correct resolver function if running on a machine with vx.
21762 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21764         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
21766 2016-03-31  Florian Weimer  <fweimer@redhat.com>
21768         [BZ #19509]
21769         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
21770         skip_map != NULL.
21771         * elf/tst-dlsym-error.c: New file.
21772         * elf/Makefile (tests): Add tst-dlsym-error.
21773         (tst-dlsym-error): Link against libdl.
21775 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
21777         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21778         (__ASSUME_FUTIMESAT): Remove macro.
21779         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
21781 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21783         [BZ #19879]
21784         CVE-2016-3075
21785         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
21786         copy name.
21788 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21790         [BZ #19837]
21791         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
21792         error if parse_line fails.
21794 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21796         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
21797         (index_cpu_ERMS): Likewise.
21798         (reg_ERMS): Likewise.
21800 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
21802         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
21803         PER_LINUX_FDPIC): Add.
21805 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21807         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21808         memcpy-avx512-no-vzeroupper.
21809         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
21810         to ...
21811         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
21812         (MEMCPY): Don't define.
21813         (MEMCPY_CHK): Likewise.
21814         (MEMPCPY): Likewise.
21815         (MEMPCPY_CHK): Likewise.
21816         (MEMPCPY_CHK): Renamed to ...
21817         (__mempcpy_chk_avx512_no_vzeroupper): This.
21818         (MEMPCPY_CHK): Renamed to ...
21819         (__mempcpy_chk_avx512_no_vzeroupper): This.
21820         (MEMCPY_CHK): Renamed to ...
21821         (__memmove_chk_avx512_no_vzeroupper): This.
21822         (MEMCPY): Renamed to ...
21823         (__memmove_avx512_no_vzeroupper): This.
21824         (__memcpy_avx512_no_vzeroupper): New alias.
21825         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
21827 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21829         [BZ #18858]
21830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21831         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
21832         and mempcpy-avx512-no-vzeroupper.
21833         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
21834         New.
21835         (MEMPCPY): Likewise.
21836         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
21837         (MEMPCPY_CHK): New.
21838         (MEMPCPY): Likewise.
21839         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
21840         (MEMPCPY): Likewise.
21841         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
21842         (MEMPCPY): Likewise.
21843         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
21844         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
21845         Likewise.
21846         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
21847         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
21849 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21850              Amit Pawar  <Amit.Pawar@amd.com>
21852         [BZ #19583]
21853         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21854         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
21855         processors.  Set Fast_Copy_Backward for AMD Excavator
21856         processors.
21857         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
21858         New.
21859         (index_arch_Fast_Unaligned_Copy): Likewise.
21860         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
21861         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
21863 2016-03-25  Florian Weimer  <fweimer@redhat.com>
21865         [BZ #19791]
21866         * resolv/res_send.c (close_and_return_error): New function.
21867         (send_dg): Initialize *resplen2 after reopen failure.  Call
21868         close_and_return_error for error returns.  On error paths without
21869         __res_iclose, initialze *resplen2 explicitly.  Update comment for
21870         successful return.
21872 2016-03-25  Florian Weimer  <fweimer@redhat.com>
21874         [BZ #19860]
21875         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
21876         zero if the compiler does not provide the AVX512F bit.
21878 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
21880         [BZ #19848]
21881         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
21882         from 8 to 4.
21883         (__ieee754_powl): Compare integer exponent against 4 not 8.
21884         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
21885         from 8 to 4.
21886         (__ieee754_powl): Compare integer exponent against 4 not 8.
21887         * math/auto-libm-test-in: Add more tests of pow.
21888         * math/auto-libm-test-out: Regenerated.
21889         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
21890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21892 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
21894         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
21895         Make code unconditional.
21896         [!__NR_utimensat]: Remove conditional code.
21897         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
21898         Make code unconditional.
21899         [!__NR_utimensat]: Remove conditional code.
21900         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
21901         Make code unconditional.
21902         [!__NR_utimensat]: Remove conditional code.
21904 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
21906         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
21907         Make code unconditional.
21909 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
21911         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
21912         call-clobbered %eax on retry path.
21913         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21915 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21917         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
21918         Don't set %rcx twice before "rep movsb".
21920 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21922         [BZ #19583]
21923         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
21924         inline.  Check family before setting family, model and
21925         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
21926         bits here.
21927         (init_cpu_features): Replace HAS_CPU_FEATURE and
21928         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
21929         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
21930         for Intel processors with usable AVX2.  Call get_common_indeces
21931         for other processors with family == NULL.
21932         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
21933         (CPU_FEATURES_ARCH_P): Likewise.
21934         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
21935         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
21937 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21939         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
21940         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
21941         $(shared-thread-library) instead of hardcoding the path to libpthread.
21943 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
21945         * sysdeps/unix/sysv/linux/kernel-features.h
21946         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
21947         * sysdeps/unix/sysv/linux/getdents.c
21948         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
21949         [!have_no_getdents64_defined]: Likewise.
21950         (__GETDENTS): Remove __have_no_getdents64 conditional.
21952 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
21954         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
21955         Remove macro.
21956         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
21957         <kernel-features.h>.
21958         (signalfd) [__NR_signalfd4]: Make code unconditional.
21959         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
21961 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21963         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
21964         style.
21966 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21968         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
21969         (__pthread_enable_asynccancel): Use JUMPTARGET to call
21970         __pthread_unwind.
21971         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21972         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
21973         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21974         (__condvar_cleanup1): Likewise.
21976 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
21978         [BZ #19822]
21979         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
21980         move it to the final $@ location.
21982 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21984         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
21985         access where posix_spawn success and pid argument is null.
21986         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
21987         success case.
21989 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
21991         * sysdeps/mach/hurd/i386/c++-types.data: New file.
21993         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
21995         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
21996         and __fcntl.
21997         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
21998         __fcntl only.
21999         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
22000         adding attribute_hidden to __open and __fcntl.
22002         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
22003         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
22004         depend on libc-modules.h,
22005         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
22007 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
22009         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
22010         Remove macro.
22011         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
22012         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
22013         entry.
22015         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
22016         Remove macro.
22017         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
22018         include <kernel-features.h>.
22019         [!__ASSUME_FALLOCATE]: Remove conditional code.
22020         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
22022 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22024         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
22025         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
22026         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
22027         (_ZGVdN4v_cos_avx2): Likewise.
22028         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
22029         (_ZGVdN4v_cos): Likewise.
22030         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
22031         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
22032         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
22033         (_ZGVdN4v_exp_avx2): Likewise.
22034         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
22035         (_ZGVdN4v_exp): Likewise.
22036         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
22037         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
22038         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
22039         (_ZGVdN4v_log_avx2): Likewise.
22040         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
22041         (_ZGVdN4v_log): Likewise.
22042         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
22043         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
22044         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
22045         (_ZGVdN4vv_pow_avx2): Likewise.
22046         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
22047         (_ZGVdN4vv_pow): Likewise.
22048         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
22049         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
22050         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
22051         (_ZGVdN4v_sin_avx2): Likewise.
22052         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
22053         (_ZGVdN4v_sin): Likewise.
22054         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
22055         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
22056         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
22057         (_ZGVdN4vvv_sincos_avx2): Likewise.
22058         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
22059         (_ZGVdN4vvv_sincos): Likewise.
22060         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
22061         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
22062         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
22063         (_ZGVbN4v_cosf_sse4): Likewise.
22064         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
22065         (_ZGVdN8v_cosf_avx2): Likewise.
22066         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
22067         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
22068         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
22069         (_ZGVbN4v_expf_sse4): Likewise.
22070         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
22071         (_ZGVdN8v_expf_avx2): Likewise.
22072         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
22073         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
22074         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
22075         (_ZGVbN4v_logf_sse4): Likewise.
22076         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
22077         (_ZGVdN8v_logf_avx2): Likewise.
22078         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
22079         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
22080         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
22081         (_ZGVbN4vv_powf_sse4): Likewise.
22082         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
22083         (_ZGVdN8vv_powf_avx2): Likewise.
22084         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22085         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
22086         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22087         (_ZGVbN4vvv_sincosf_sse4): Likewise.
22088         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22089         (_ZGVdN8vvv_sincosf_avx2): Likewise.
22090         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
22091         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
22092         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
22093         (_ZGVbN4v_sinf_sse4): Likewise.
22094         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
22095         (_ZGVdN8v_sinf_avx2): Likewise.
22096         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
22097         Use JUMPTARGET to call callee.
22098         (WRAPPER_IMPL_SSE2_ff): Likewise.
22099         (WRAPPER_IMPL_SSE2_fFF): Likewise.
22100         (WRAPPER_IMPL_AVX): Likewise.
22101         (WRAPPER_IMPL_AVX_ff): Likewise.
22102         (WRAPPER_IMPL_AVX_fFF): Likewise.
22103         (WRAPPER_IMPL_AVX512): Likewise.
22104         (WRAPPER_IMPL_AVX512_ff): Likewise.
22105         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
22106         Likewise.
22107         (WRAPPER_IMPL_SSE2_ff): Likewise.
22108         (WRAPPER_IMPL_SSE2_fFF): Likewise.
22109         (WRAPPER_IMPL_AVX): Likewise.
22110         (WRAPPER_IMPL_AVX_ff): Likewise.
22111         (WRAPPER_IMPL_AVX_fFF): Likewise.
22112         (WRAPPER_IMPL_AVX512): Likewise.
22113         (WRAPPER_IMPL_AVX512_ff): Likewise.
22114         (WRAPPER_IMPL_AVX512_fFF): Likewise.
22116 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22118         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
22119         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
22120         qualifier.
22121         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
22122         internal_function qualifiers.
22124 2016-03-15  Carlos O'Donell <carlos@redhat.com>
22126         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
22127         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
22128         * math/atest-exp.c (exp_mpn): Mark chk unused.
22129         * math/atest-exp2.c (exp_mpn): Likewise.
22130         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
22131         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
22133 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
22135         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
22136         Remove macro.
22137         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
22138         <kernel-features.h>.
22139         [__NR_ppoll]: Make code unconditional.
22140         [!__ASSUME_PPOLL]: Remove conditional code.
22142         * sysdeps/unix/sysv/linux/kernel-features.h
22143         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
22144         (__ASSUME_ACCEPT4): Likewise.
22145         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22146         Define.
22147         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
22148         Likewise.
22149         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22150         Likewise.
22151         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
22152         Likewise.
22153         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
22154         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
22155         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22156         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22157         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22158         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22159         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22160         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22161         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22162         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22163         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22164         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22165         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22166         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22167         * sysdeps/unix/sysv/linux/i386/kernel-features.h
22168         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22169         Likewise.
22170         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22171         Likewise.
22172         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22173         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22174         0x040300].
22175         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22176         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22177         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22178         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22179         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
22180         0x030300].
22181         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
22182         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22183         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22184         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22185         0x040300].
22186         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22187         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22188         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22189         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22190         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22191         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22192         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
22193         0x030300].
22194         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22195         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22196         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22197         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22198         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22199         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22200         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22201         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22202         * sysdeps/unix/sysv/linux/s390/kernel-features.h
22203         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22204         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22205         0x040300].
22206         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22207         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22208         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22209         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22210         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22211         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22212         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22213         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22214         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22215         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22216         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22217         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22218         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22219         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22220         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
22221         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22222         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22223         Likewise.
22224         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22225         Likewise.
22227 2016-03-15  Andreas Schwab  <schwab@suse.de>
22229         [BZ #19257]
22230         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
22231         statp->_u._ext.nscount as loop count.
22233 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22235         * math/test-signgam-finite-c99.c: Also #undef
22236         __LIBC_INTERNAL_MATH_INLINES.
22237         * math/test-signgam-main.c: Likewise.
22239 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
22241         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
22242         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22243         (MADV_FREE): Likewise.
22244         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
22245         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
22246         EPOLLEXCLUSIVE.
22248 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
22250         * timezone/README: Remove mention of checktab.awk. Mention wiki
22251         SharedSourceFiles.
22253 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
22255         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
22256         WUNTRACED.
22258 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22260         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
22261         order to match the type of p when calling atomic_exchange_acq().
22263 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22265         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
22266         cfi_offset calls.
22267         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
22268         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
22269         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
22270         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
22271         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
22273 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
22275         * timezone/checktab.awk: Removed.
22277 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
22279         * manual/math.texi (Errors in Math Functions): Document relaxed
22280         accuracy goals for IBM long double.
22281         * math/libm-test.inc (test_exceptions): Always allow spurious
22282         "underflow" and "inexact" exceptions for IBM long double.
22284 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
22286         [BZ #19762]
22287         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22288         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
22289         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
22290         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
22291         (bit_arch_*): This for feature array.
22292         (bit_*): Renamed to ...
22293         (bit_cpu_*): This for cpu array.
22294         (index_*): Renamed to ...
22295         (index_arch_*): This for feature array.
22296         (index_*): Renamed to ...
22297         (index_cpu_*): This for cpu array.
22298         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
22299         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
22300         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
22301         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
22302         bit_##name with index_cpu_##name and bit_cpu_##name.
22303         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
22304         bit_##name with index_arch_##name and bit_arch_##name.
22306 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
22308         [BZ #19792]
22309         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
22310         Terminate FDE before return label.
22312 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
22314         [BZ #19790]
22315         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
22316         (rintl): Define as macro.
22317         [USE_AS_NEARBYINTL] (__rintl): Likewise.
22318         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
22319         of fesetround.  Ensure results are evaluated before end of scope.
22320         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
22321         USE_AS_NEARBYINTL and include s_rintl.c.
22322         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
22323         Disable exception traps in new environment.
22324         (libc_feholdsetround_ppc_ctx): Likewise.
22326 2016-03-08  Roland McGrath  <roland@hack.frob.com>
22328         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
22329         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
22330         (tst_audit10_aux) [__AVX512F__]: ... here.
22332 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
22334         * include/sys/auxv.h: New file.
22336 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
22338         [BZ #19759]
22339         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
22341 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22343         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
22344         operand modifier.
22345         (feclearexcept): Likewise.
22347 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22349         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
22350         to reflect the entire 32-bit HWCAP.
22351         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
22352         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
22354 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
22356         [BZ #19783]
22357         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
22358         $(test-via-rtld-prefix).
22359         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
22361 2016-03-08  Florian Weimer  <fweimer@redhat.com>
22363         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
22364         union wait.  Report any non-zero exit status as error.
22366 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22368         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
22369         configured with --enable-hardcoded-path-in-tests.
22371 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
22373         [BZ #19677]
22374         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22375         (__ieee754_remainderl): Put zero low parts in canonical form.
22376         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
22377         file.  Based on
22378         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
22379         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
22380         with wrapper round test-fmodrem-ldbl-128ibm.c.
22381         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
22382         file.
22383         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
22384         Likewise.
22385         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
22386         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
22388 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22390         [BZ #19610]
22391         * elf/ldconfig.c (opt_link): Update comment.
22392         (options): Update help string for option -X.
22393         (search_dir): Unlink stale symbolic link only if updating symbolic
22394         links.
22395         * elf/tst-ldconfig-X.sh: New file.
22396         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
22397         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
22399 2016-03-07  Andreas Schwab  <schwab@suse.de>
22401         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
22402         needed arguments.
22404 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
22406         [BZ #15333]
22407         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
22408         to lstat64.
22410 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22412         * libio/filedoalloc.c (isatty): Remove.
22413         (local_isatty): Add comment.  Call __isatty directly.
22414         (_IO_file_doallocate): Update comment.  Assume _LIBC.
22415         * libio/wfiledoalloc.c (isatty): Remove.
22416         (_IO_wfile_doallocate): Update comment.
22418 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22420         [BZ #19269]
22421         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
22422         tst-audit4-aux.o.
22423         (tst-audit10): Depend on tst-audit10-aux.o.
22424         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
22425         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
22426         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
22427         instead of inline AVX code.
22428         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
22429         instead of inline AVX512 code.
22430         * sysdeps/x86_64/tst-audit4-aux.c: New file
22431         * sysdeps/x86_64/tst-audit10-aux.c: New file
22433         [BZ #19648]
22434         * test-skeleton.c (main): Do not set RLIMIT_DATA.
22436 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22438         [BZ #14750]
22439         [BZ #10354]
22440         [BZ #18433]
22441         * include/sched.h (__clone): Add hidden prototype.
22442         (__clone2): Likewise.
22443         * include/unistd.h (__dup): Likewise.
22444         * posix/Makefile (tests): Add tst-spawn2.
22445         * posix/tst-spawn2.c: New file.
22446         * sysdeps/posix/dup.c (__dup): Add hidden definition.
22447         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
22448         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22449         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22450         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22451         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22452         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
22453         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22454         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
22455         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22456         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22458         Likewise.
22459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22460         Likewise.
22461         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22462         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22463         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22464         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22465         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22466         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22467         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22468         * sysdeps/unix/sysv/linux/nptl-signals.h
22469         (____nptl_is_internal_signal): New function.
22470         * sysdeps/unix/sysv/linux/spawni.c: New file.
22472         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
22473         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
22474         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
22475         * posix/tst-execvp2.c (do_test): Likewise.
22476         * posix/tst-execvp3.c (do_test): Likewise.
22477         * posix/tst-execvp4.c (do_test): Likewise.
22478         * posix/tst-execvpe1.c: New file.
22479         * posix/tst-execvpe2.c: Likewise.
22480         * posix/tst-execvpe3.c: Likewise.
22481         * posix/tst-execvpe4.c: Likewise.
22482         * posix/tst-execvpe5.c: Likewise.
22483         * posix/tst-execvpe6.c: Likewise.
22485         [BZ #19534]
22486         * posix/execl.c (execl): Remove dynamic memory allocation.
22487         * posix/execle.c (execle): Likewise.
22488         * posix/execlp.c (execlp): Likewise.
22490 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22492         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
22493         Replace .text with .text.avx512.
22494         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
22495         Likewise.
22497 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
22499         * sysdeps/generic/libnsl.abilist: New file.
22500         * sysdeps/generic/libutil.abilist: New file.
22502 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22504         [BZ #19762]
22505         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
22506         HAS_ARCH_FEATURE with Fast_Rep_String.
22507         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
22508         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
22509         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
22510         Likewise.
22511         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
22512         Likewise.
22513         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
22514         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
22515         Likewise.
22516         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
22517         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
22518         Likewise.
22520 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22522         [BZ #19745]
22523         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
22524         with *%rax in call.
22526 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22528         [BZ #19745]
22529         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
22530         with *__libc_start_main@GOTPCREL(%rip) in call.
22532 2016-03-04  Roland McGrath  <roland@hack.frob.com>
22534         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
22535         inside conditional for nonempty $(CXX).
22537         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
22538         nonempty.
22540         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
22541         to test for empty $(CXX) rather than $(CXX) of "no".
22543 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22545         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
22547 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
22548             H.J. Lu  <hongjiu.lu@intel.com>
22550         [BZ #18880]
22551         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
22552         instead of Slow_BSF, and also check for Fast_Copy_Backward to
22553         enable __memcpy_ssse3_back.
22555 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
22557         [BZ #19758]
22558         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22559         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
22561 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
22563         [BZ #19490]
22564         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
22565         (__fentry__): Likewise.
22567 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
22569         * gmon/Makefile (noprof): Add $(sysdep_noprof).
22570         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
22572 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
22574         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
22575         __mcount_internal directly.
22576         (C_LABEL(__fentry__)): Likewise.
22577         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
22578         directly.
22580 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
22582         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22583         (__start_context): Call __setcontext directly.
22585 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
22587         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22588         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22589         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
22590         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22591         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22592         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22593         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
22594         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22595         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22596         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
22597         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22598         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22599         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22600         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22601         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22602         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22603         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
22604         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22605         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22606         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22607         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
22608         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22609         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22610         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22611         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
22612         Remove conditional code.
22613         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22614         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
22615         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22616         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22617         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
22618         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22619         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22620         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22621         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22622         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22623         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22624         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22626 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
22628         * NEWS (2.23): Fix typo in bug 19048 text.
22630 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
22632         [BZ #14259]
22633         * Makeconfig: Rename msgcatdir to localedir.
22634         Rename inst_msgcatdir to inst_localedir.
22635         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
22636         * config.make.in: Add localedir.
22637         * elf/Makefile ($(objpfx)sotruss): Use localedir.
22638         (ldd-rewrite): Likewise.
22639         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
22640         (install-others): Use inst_localedir.
22641         (CPPFLAGS): Use localedir.
22642         * locale/Makefile (locale-CPPFLAGS): Likewise.
22643         * po/Makefile (mo-installed): Use inst_localedir.
22645         [BZ #19575]
22646         * localedata/charmaps/GB18030: Update comments regarding PAU to
22647         non-PUA mappings.
22649 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
22651         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
22652         test for header.
22653         * sysdeps/unix/sysv/linux/configure: Regenerated.
22654         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
22655         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
22656         Remove conditional code.
22657         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
22659         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22660         Define to 3.2.0.
22661         (arch_minimum_kernel): Likewise.
22662         * sysdeps/unix/sysv/linux/configure: Regenerated.
22663         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
22664         Define to 2.6.32.
22665         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
22666         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
22667         (arch_minimum_kernel): Define to 2.6.32.
22668         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
22669         * README: Document Linux 3.2 requirement.
22670         * manual/install.texi (Linux): Document Linux 3.2 headers
22671         requirement.
22672         * INSTALL: Regenerated.
22674 2016-02-24  Andreas Schwab  <schwab@suse.de>
22676         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
22677         if !NO_LONG_DOUBLE.
22679 2016-02-22  Roland McGrath  <roland@hack.frob.com>
22681         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
22682         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
22684 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
22686         [BZ #19512]
22687         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
22689 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
22691         * posix/tst-dir.c: Include libc-internal.h.
22693 2016-02-20  Florian Weimer  <fweimer@redhat.com>
22695         [BZ #19056]
22696         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
22697         * manual/filesys.texi (Reading/Closing Directory): Mention
22698         deprecaion.
22699         * posix/tst-dir.c (main): Disable deprecation warning in test.
22701 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
22703         [BZ #19679]
22704         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
22705         Renamed to ...
22706         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
22707         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22708         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
22709         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22710         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22711         * sysdeps/x86_64/dl-trampoline.h
22712         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22713         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22715 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22717         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
22719 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22721         * elf/elf.h (R_386_GOT32X): New.
22722         (R_386_NUM): Update.
22723         (R_X86_64_GOTPCRELX: New.
22724         (R_X86_64_REX_GOTPCRELX): New.
22725         (R_X86_64_NUM): Update.
22727 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
22729         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
22731 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
22733         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
22734         assign attr->stackaddr to it, and adjust it down when
22735         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
22736         [_STACK_GROWS_UP]: Delete assert.
22737         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
22738         Implement stack grows up logic.
22739         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
22740         stack grows up logic.
22742 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22744         * NEWS: Update with 2.24 template.
22746 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22748         [BZ #19678]
22749         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22750         Ensure +0.0 is returned when taking the next value below the least
22751         positive value.
22753 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22755         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
22756         available.  Do not define NO_THREADS.
22757         * malloc/malloc.c: Do not check NO_THREADS.
22758         * malloc/arena.c: Likewise.
22760 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22762         * malloc/malloc.c (__libc_mallinfo): Update comment.
22763         (struct malloc_par): Remove max_total_mem member, it was always 0.
22764         (int_mallinfo): Store 0 into usmblks (no functional change).
22765         * malloc/hooks.c (struct malloc_state): Document that
22766         max_total_mem is always 0.
22767         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
22768         always 0.
22769         * manual/memory.texi (Statistics of Malloc): Likewise.
22771 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22773         * malloc/malloc.c (sysmalloc): Do not update arena_max.
22774         * malloc/arena.c (arena_max): Remove.
22775         (heap_trim, _int_new_arena): Do not update arena_max.
22777 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22779         * resolv/res_init.c (res_ninit): Update comment.
22781 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22783         [BZ #19505]
22784         * posix/spawn_int.h: Add headers and include guard.
22785         (__spawn_valid_fd): New function.
22786         * posix/spawn_faction_addopen.c
22787         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
22788         * posix/spawn_faction_addclose.c
22789         (posix_spawn_file_actions_addclose): Likewise.
22790         * posix/spawn_faction_adddup2.c
22791         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
22792         second file descriptor.
22793         * posix/spawn_valid_fd.c: New file.
22794         * posix/tst-posix_spawn-fd.c: New file.
22795         * posix/Makefile (routines): Add spawn_valid_fd.
22796         (tests): Add tst-posix_spawn-fd.
22798 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22800         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
22801         (do_test): Limit the number of arenas, so that we can use fewer
22802         outer threads.  Limit timeout to 3 seconds, in preparation for a
22803         larger TIMEOUT value.
22805 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22807         [BZ #19674]
22808         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
22809         sign in overflowing and underflowing results when overflow or
22810         underflow is detected early.  Include sign in result before rather
22811         than after scaling.
22813         [BZ #19603]
22814         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22815         (__ieee754_remainderl): Adjust sign of integer version of low part
22816         when taking absolute value of high part.
22817         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22818         * math/libm-test.inc (remainder_test_data): Add another test.
22819         (remquo_test_data): Likewise.
22821 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
22823         [BZ #19602]
22824         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
22825         equal high parts and both low parts zero specially.
22826         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
22827         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
22828         Add test-fmodl-ldbl-128ibm.
22830         [BZ #19595]
22831         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
22832         common logic for all cases of shifting subnormal results.  Do not
22833         insert sign bit in shifted mantissa.  Always pass -1023 as biased
22834         exponent to ldbl_insert_mantissa in subnormal case.
22836         [BZ #19594]
22837         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
22838         on high and low parts then adjust result and use
22839         ldbl_canonicalize_int if needed.
22841         [BZ #19593]
22842         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
22843         on high part and __floor or __ceil on low part then use
22844         ldbl_canonicalize_int if needed.
22846         [BZ #19592]
22847         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
22848         high and low parts then use ldbl_canonicalize_int if needed.
22850         [BZ #17899]
22851         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
22852         New function.
22853         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
22854         on high and low parts then use ldbl_canonicalize_int if needed.
22856 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22858         * configure: Regenerated.
22860         * po/libc.pot: Regenerated.
22862         * po/be.po: Updated translation.
22863         * po/bg.po: Likewise.
22864         * po/ca.po: Likewise.
22865         * po/cs.po: Likewise.
22866         * po/da.po: Likewise.
22867         * po/el.po: Likewise.
22868         * po/eo.po: Likewise.
22869         * po/es.po: Likewise.
22870         * po/fi.po: Likewise.
22871         * po/fr.po: Likewise.
22872         * po/gl.po: Likewise.
22873         * po/hr.po: Likewise.
22874         * po/hu.po: Likewise.
22875         * po/ia.po: Likewise.
22876         * po/id.po: Likewise.
22877         * po/it.po: Likewise.
22878         * po/ja.po: Likewise.
22879         * po/lt.po: Likewise.
22880         * po/nb.po: Likewise.
22881         * po/nl.po: Likewise.
22882         * po/pt_BR.po: Likewise.
22883         * po/rw.po: Likewise.
22884         * po/sk.po: Likewise.
22885         * po/sl.po: Likewise.
22886         * po/sv.po: Likewise.
22887         * po/tr.po: Likewise.
22888         * po/zh_CN.po: Likewise.
22889         * po/zh_TW.po: Likewise.
22891         * version.h (RELEAES): Set to "development".
22892         (VERSION): Set to 2.23.90.
22894         * version.h (RELEASE): Set to "stable".
22895         (VERSION): Set to 2.23.
22896         * include/feature.h (__GLIBC_MINOR__): Set to 23.
22898         * NEWS: Updated fixed bugs.
22900 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
22901             Wilco Dijkstra  <wdijkstr@arm.com>
22903         [BZ #19462]
22904         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
22905         (_STRING_INLINE_unaligned): This.
22906         * include/string.h: Include <string_private.h>.
22907         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
22908         _STRING_INLINE_unaligned.
22909         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
22910         (_STRING_INLINE_unaligned): New.
22911         * sysdeps/aarch64/string_private.h: New file.
22912         * sysdeps/generic/string_private.h: Likewise.
22913         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
22914         * sysdeps/s390/string_private.h: Likewise.
22915         * sysdeps/x86/string_private.h: Likewise.
22916         * sysdeps/m68k/m680x0/m68020/bits/string.h
22917         (_STRING_ARCH_unaligned): Renamed to ...
22918         (_STRING_INLINE_unaligned): This.
22919         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
22920         to ...
22921         (_STRING_INLINE_unaligned): This.
22922         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
22923         to ...
22924         (_STRING_INLINE_unaligned): This.
22925         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
22926         to ...
22927         (_STRING_INLINE_unaligned): This.
22929 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22930             H.J. Lu  <hongjiu.lu@intel.com>
22932         [BZ #19590]
22933         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
22934         relocation.
22936 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
22938         [BZ #18665]
22939         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
22940         *herrno_p.
22941         (gaih_getanswer): Document functional behviour. Return tryagain
22942         if any result is tryagain.
22943         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
22944         when freed.
22945         * resolv/res_send.c: Add copyright text.
22946         (__libc_res_nsend): Document that MAXPACKET is expected.
22947         (send_vc): Document. Remove buffer reuse.
22948         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
22949         size of the buffer. Add Dprint for truncated UDP buffer.
22951 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
22953         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
22954         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
22955         * INSTALL: Regenerate.
22957 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
22958             Jonathan Wakely  <jwakely@redhat.com>
22959             Carlos O'Donell  <carlos@redhat.com>
22961         [BZ 19439]
22962         * math/Makefile (tests): Add test-math-isinff.
22963         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
22964         * math/bits/mathcalls.h [__USE_MISC]: Use
22965         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
22966         functions not in C++11 and which don't conflict e.g. isinff,
22967         isinfl etc.
22968         * math/test-math-isinff.cc: New file.
22970 2016-02-12  Florian Weimer  <fweimer@redhat.com>
22972         * misc/bug18240.c (do_test): Set RLIMIT_AS.
22974 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22976         [BZ #19529]
22977         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
22979 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22981         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22983 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
22985         [BZ #19550]
22986         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
22987         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
22988         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
22989         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
22990         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
22991         New syscall entry.
22992         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
22993         New syscall entry.
22994         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
22995         syscall entry.
22997 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
22999         [BZ #18240]
23000         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
23001         unsigned int wraparound.
23003 2016-01-27  Florian Weimer  <fweimer@redhat.com>
23005         [BZ #18240]
23006         * misc/bug18240.c: New test.
23007         * misc/Makefile (tests): Add it.
23009 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
23010             Joseph Myers  <joseph@codesourcery.com>
23012         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
23013         load in branch delay slot when less than a word of input left.
23015 2016-01-27  Andreas Schwab  <schwab@suse.de>
23017         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
23018         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
23019         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
23020         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
23022 2016-01-26  David S. Miller  <davem@davemloft.net>
23024         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
23026 2016-01-25  David S. Miller  <davem@davemloft.net>
23028         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
23029         __sqrtl_finite.
23030         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
23031         instead using versioned_symbol.
23032         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
23033         of entries.
23035         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
23036         __sqrtl_finite to GLIBC_2.23
23038 2016-01-25  Ricchard Henderson  <rth@redhat.com>
23040         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23042 2016-01-25  Andreas Schwab  <schwab@suse.de>
23044         [BZ #17514]
23045         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
23046         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
23047         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
23048         * nptl/tst-mutex-errorcheck.c: New file.
23050 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23052         [BZ #18560]
23053         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
23054         (IPCOP_semop): Likewise.
23055         (IPCOP_semget): Likewise.
23056         (IPCOP_semctl): Likewise.
23057         (IPCOP_msgsnd): Likewise.
23058         (IPCOP_msgrcv): Likewise.
23059         (IPCOP_msgget): Likewise.
23060         (IPCOP_msgctl): Likewise.
23061         (IPCOP_shmat): Likewise.
23062         (IPCOP_shmdt): Likewise.
23063         (IPCOP_shmget): Likewise.
23064         (IPCOP_shmctl): Likewise.
23066 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
23068         * string/tst-endian.c: Include <libc-internal.h>.
23069         (do_test): Ignore tautological-compare warnings around
23070         "htobeXX (beXXtoh (i)) != i" and
23071         "htoleXX (leXXtoh (i)) != i" if-statements.
23073 2016-01-24  David S. Miller  <davem@davemloft.net>
23075         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
23076         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
23077         alias.
23078         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
23079         __sqrtl_finite.
23081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23083 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
23085         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
23086         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
23087         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23089 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23091         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
23092         (thread_func): Use new function to simplify barrier check.
23093         (do_test): Use new function to simplify checking barrier exit
23094         code, and actually join the child thread.
23096 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23098         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
23099         semicolon.
23100         (__libc_tend): Likewise.
23101         (__libc_tabort): Likewise.
23103 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
23105         * sysdeps/nios2/libm-test-ulps: Update.
23106         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
23107         (__gtsf2): Likewise.
23108         (__unorddf2): Likewise.
23109         (__unordsf2): Likewise.
23110         (__ledf2): Likewise.
23112 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
23114         * nis/nis_table.c (__follow_path): Disable diagnostic for
23115         uninitialized variable that is a false positive for gcc 4.7.
23116         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
23118 2016-01-20  Roland McGrath  <roland@hack.frob.com>
23120         * sysdeps/nacl/lowlevellock-futex.h
23121         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
23122         Always evaluate PRIVATE argument.
23124 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
23126         [BZ #19490]
23127         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
23128         (pthread_cond_broadcast): Use ENTRY/END
23129         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
23130         (pthread_cond_signal): Likewise.
23131         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
23132         Likewise.
23133         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
23134         Likewise.
23135         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
23136         Likewise.
23138 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
23140         * sysdeps/ieee754/dbl-64/s_finite.c
23141         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
23142         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
23143         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
23144         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
23145         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
23147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
23148         (__gtsf2): Add as optional for libc.so.
23149         (__unordsf2): Likewise.
23150         (__signbit): Remove for libc.so.
23151         (__signbitl): Likewise.
23153 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
23155         * iconvdata/bug-iconv11.c (test_ibm93x):
23156         Use %zu printf format specifier for size_t argument.
23158 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
23160         * math/gen-libm-test.pl (parse_ulps): Do not reduce
23161         already-recorded ulps.
23162         * sysdeps/arm/libm-test-ulps: Regenerated.
23163         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23164         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23165         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23167 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23168             Paul Pluzhnikov  <ppluzhnikov@google.com>
23170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
23171         assembler not supporting AVX-512.
23173 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
23175         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23177 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
23179         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23180         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23182         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23184         * sysdeps/arm/libm-test-ulps: Regenerated.
23186 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23188         [BZ #19451]
23189         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
23191 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23193         [BZ #19486]
23194         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
23195         * sysdeps/generic/fix-fp-int-convert-overflow.h
23196         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
23197         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
23198         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
23199         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
23200         Likewise.
23201         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
23202         Avoid conversions to long int where inexact exceptions
23203         could be raised.
23204         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
23205         Likewise.
23206         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
23207         Avoid conversions to long long int where inexact exceptions
23208         could be raised.
23209         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
23210         Likewise.
23212 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
23214         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
23215         * configure: Regenerated.
23217 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
23219         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
23221 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
23223         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
23224         outside of comment.
23226 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23228         * nptl/tst-barrier1.c: Add description on first line.
23229         * nptl/tst-barrier2.c: Likewise.
23230         * nptl/tst-barrier3.c: Likewise.
23231         * nptl/tst-barrier4.c: Likewise.
23232         * nptl/tst-barrier5.c: Likewise.
23234 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23236         [BZ #18868]
23237         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
23239 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
23241         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
23242         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23243         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
23244         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
23245         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
23246         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
23247         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23248         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23249         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23250         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23251         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23253 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23255         [BZ #13065]
23256         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
23257         new implementation.
23258         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
23259         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
23260         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
23261         (BARRIER_IN_THRESHOLD): New macro.
23262         * nptl/pthread_barrierattr_setpshared.c
23263         (pthread_barrierattr_setpshared): Clean up.
23264         * nptl/tst-barrier4.c: Correct comment.
23265         * nptl/tst-barrier5.c: New file.
23266         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
23267         (gen-as-const-headers): Remove lowlevelbarrier.sym.
23268         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
23269         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
23270         * nptl/lowlevelbarrier.sym: Remove.
23271         * nptl/DESIGN-barrier.txt: Remove.
23272         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
23273         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
23274         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
23275         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
23276         error.
23277         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
23278         implementation.
23280 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23282         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
23283         (do_child): Mask SIGRTMIN while thr is running.
23285 2016-01-15  Martin Sebor  <msebor@redhat.com>
23287         [BZ #19432]
23288         * iconvdata/Makefile: Add bug-iconv11.
23289         * iconvdata/bug-iconv11.c: New test.
23290         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
23291         * iconvdata/ibm933.c: Same.
23292         * iconvdata/ibm935.c: Same.
23293         * iconvdata/ibm937.c: Same.
23294         * iconvdata/ibm939.c: Same.
23296 2016-01-15  Martin Sebor  <msebor@redhat.com>
23298         [BZ #19443]
23299         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
23300         [DEBUG] (_ufc_set_bits): Declare used.
23301         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
23302         [DEBUG] (print_all): Declare used.
23303         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
23304         operands of the ternary ?: expression to target type.
23305         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
23306         calling the undeclared abort.
23307         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
23309 2016-01-15  Martin Sebor  <msebor@redhat.com>
23311         [BZ #18755]
23312         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
23313         warnings.
23314         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
23315         (__gai_create_helper_thread): Same.
23316         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
23317         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
23318         to suppress -Wmaybe-uninitialized warnings.
23320 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
23322         [BZ #19465]
23323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
23324         inside if.
23325         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23326         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23327         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23329 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
23331         [BZ #19466]
23332         * time/tst-mktime2.c (time_t_max): Removed.
23333         (time_t_min): Likewise.
23334         (TYPE_SIGNED): New.
23335         (TYPE_MINIMUM): Likewise.
23336         (TYPE_MAXIMUM): Likewise.
23337         (TIME_T_MIN): Likewise.
23338         (TIME_T_MAX): Likewise.
23339         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
23340         and TIME_T_MIN.
23341         (do_test): Likewise.
23343 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
23345         [BZ #19467]
23346         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23347         index_Fast_Unaligned_Load flag for Excavator family CPUs.
23349 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
23351         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
23353 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
23355         * benchtests/Makefile (PYTHON): Define.
23356         (bench-func): Use $(PYTHON) to run python scripts.
23357         ($(objpfx)bench-%.c): Likewise.
23359 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
23361         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
23362         leading slash when `file_name' is "/".
23364 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
23366         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
23367         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
23368         Likewise.
23369         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
23370         Likewise.
23371         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
23372         Likewise.
23373         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
23374         enum constant and macro.
23375         (PTRACE_SETSIGMASK): Likewise.
23376         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23377         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
23378         (PTRACE_GETSIGMASK): Likewise.
23379         (PTRACE_SETSIGMASK): Likewise.
23380         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23381         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
23382         Likewise.
23383         (PTRACE_SETSIGMASK): Likewise.
23384         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23385         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
23386         (PTRACE_GETSIGMASK): Likewise.
23387         (PTRACE_SETSIGMASK): Likewise.
23388         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23389         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
23390         Likewise.
23391         (PTRACE_SETSIGMASK): Likewise.
23392         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23393         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
23394         Likewise.
23395         (PTRACE_SETSIGMASK): Likewise.
23396         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23397         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
23398         Likewise.
23399         (PTRACE_SETSIGMASK): Likewise.
23400         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23402 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
23403             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23405         [BZ #19439]
23406         * math/bits/mathcalls.h
23407         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
23408         prototype.
23409         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
23411 2016-01-11  Andreas Schwab  <schwab@suse.de>
23413         [BZ #19253]
23414         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
23415         cache when TZDEFRULES was used.
23416         * time/tst-tzname.c: New file.
23417         * time/Makefile (test): Add tst-tzname.
23418         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
23419         * timezone/Makefile (test-zones): Add $(posixrules-file).
23420         ($(testdata)/$(posixrules-file)): New rule.
23422 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
23424         Fix doc quoting problems with Texinfo 5
23425         Without this change, in the info file output, Texinfo 5 quotes code
23426         in text with undirected single quotes 'like this' and generates
23427         code examples that with many PDF readers cannot be cut out of PDFs
23428         and pasted into code.
23429         * manual/libc.texinfo: Configure the libc manual like the GNU
23430         Emacs manual, by using @documentencoding and setting
23431         txicodequoteundirected and txicodequotebacktick.  This way,
23432         Texinfo 5 quotes code in text with directed single quotes ‘like
23433         this’ and produces examples that can be cut out of PDFs.  This
23434         change causes Texinfo 5 to generate info files that contain UTF-8
23435         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
23436         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
23438 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23440         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
23441         __libc_tabort, __libc_tend): New wrappers that enforce compiler
23442         barriers to their respective compiler built-ins.
23443         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
23444         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
23445         * sysdeps/powerpc/sysdep.h: Likewise.
23446         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
23447         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
23448         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
23450 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
23452         * scripts/config.guess: Revert previous shebang change.
23453         * scripts/config.sub: Likewise.
23454         * scripts/mkinstalldirs: Likewise.
23456 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23458         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
23459         PPC_FEATURE2_HAS_IEEE128.
23460         * sysdeps/powerpc/dl-procinfo.c:
23461         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
23463 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
23465         [BZ #19415]
23466         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
23467         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
23468         (_dl_lookup_address): Rewrite using function resolver trampoline.
23469         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
23470         two bits in address.
23472 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
23474         * longlong.h: Change !__SHMEDIA__ to
23475         (!defined (__SHMEDIA__) || !__SHMEDIA__).
23476         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
23478 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
23479             Joseph Myers  <joseph@codesourcery.com>
23480             Mark Shinwell  <shinwell@codesourcery.com>
23481             Andrew Stubbs  <ams@codesourcery.com>
23482             Rich Felker <dalias@libc.org>
23484         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
23486 2016-01-07  Richard Henderson  <rth@redhat.com>
23488         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
23490 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
23492         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
23493         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
23494         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23495         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23496         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
23498 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
23499             Joseph Myers  <joseph@codesourcery.com>
23501         * timezone/private.h: Update from tzcode 2015g.
23502         * timezone/tzfile.h: Likewise.
23503         * timezone/tzselect.ksh: Likewise.
23504         * timezone/zdump.c: Likewise.
23505         * timezone/zic.c: Likewise.
23506         * timezone/ialloc.c: Remove file.
23507         * timezone/scheck.c: Likewise.
23508         * timezone/Makefile (extra-objs): Remove variable.
23509         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
23510         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
23511         -Wno-maybe-uninitialized.
23512         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
23513         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
23514         (CFLAGS-ialloc.c): Remove variable.
23515         (CFLAGS-scheck.c): Likewise.
23516         * timezone/README: Update list of files from tzcode.
23518 2016-01-07  Khem Raj  <raj.khem@gmail.com>
23520         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
23521         instead of __fxprintf when _LIBC is undefined.
23523 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
23525         * catgets/test-gencat.sh: Remove space after shebang.
23526         * conform/GlibcConform.pm: Likewise.
23527         * conform/check-header-lists.sh: Likewise.
23528         * conform/conformtest.pl: Likewise.
23529         * conform/linknamespace.pl: Likewise.
23530         * conform/list-header-symbols.pl: Likewise.
23531         * debug/catchsegv.sh: Likewise.
23532         * elf/genrtldtbl.awk: Likewise.
23533         * elf/tst-pathopt.sh: Likewise.
23534         * elf/tst-rtld-load-self.sh: Likewise.
23535         * grp/tst_fgetgrent.sh: Likewise.
23536         * iconvdata/gen-8bit-gap-1.sh: Likewise.
23537         * iconvdata/gen-8bit-gap.sh: Likewise.
23538         * iconvdata/gen-8bit.sh: Likewise.
23539         * iconvdata/run-iconv-test.sh: Likewise.
23540         * intl/tst-gettext.sh: Likewise.
23541         * intl/tst-gettext2.sh: Likewise.
23542         * intl/tst-gettext4.sh: Likewise.
23543         * intl/tst-gettext6.sh: Likewise.
23544         * intl/tst-translit.sh: Likewise.
23545         * io/ftwtest-sh: Likewise.
23546         * libio/test-freopen.sh: Likewise.
23547         * locale/gen-translit.pl: Likewise.
23548         * malloc/tst-mtrace.sh: Likewise.
23549         * manual/check-safety.sh: Likewise.
23550         * manual/libc-texinfo.sh: Likewise.
23551         * manual/tsort.awk: Likewise.
23552         * manual/xtract-typefun.awk: Likewise.
23553         * nptl/tst-cancel-wrappers.sh: Likewise.
23554         * nptl/tst-tls6.sh: Likewise.
23555         * posix/globtest.sh: Likewise.
23556         * posix/tst-getconf.sh: Likewise.
23557         * posix/wordexp-tst.sh: Likewise.
23558         * scripts/check-c++-types.sh: Likewise.
23559         * scripts/check-local-headers.sh: Likewise.
23560         * scripts/config.guess: Likewise.
23561         * scripts/config.sub: Likewise.
23562         * scripts/cpp: Likewise.
23563         * scripts/cross-test-ssh.sh: Likewise.
23564         * scripts/documented.sh: Likewise.
23565         * scripts/evaluate-test.sh: Likewise.
23566         * scripts/gen-libc-abis: Likewise.
23567         * scripts/gen-sorted.awk: Likewise.
23568         * scripts/list-fixed-bugs.py: Likewise.
23569         * scripts/merge-test-results.sh: Likewise.
23570         * scripts/mkinstalldirs: Likewise.
23571         * scripts/rellns-sh: Likewise.
23572         * scripts/test-installation.pl: Likewise.
23573         * scripts/update-copyrights: Likewise.
23574         * stdio-common/tst-printf.sh: Likewise.
23575         * stdio-common/tst-unbputc.sh: Likewise.
23576         * stdlib/tst-fmtmsg.sh: Likewise.
23577         * stdlib/tst-setcontext3.sh: Likewise.
23578         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
23579         * sysdeps/unix/make-syscalls.sh: Likewise.
23581 2016-01-06  John David Anglin  <dave.anglin@bell.net>
23583         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
23584         asm stw with atomic_exchange_rel.  Add explanatory comment.
23585         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23586         Likewise.
23588 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
23590         [BZ #19122]
23591         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
23592         * sysdeps/generic/dl-unistd.h: New file.
23593         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
23595 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
23597          [BZ #19122]
23598          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
23599          * sysdeps/generic/dl-mman.h: New file.
23600          * sysdeps/mach/hurd/dl-mman.h: Likewise.
23602 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
23604         * manual/texinfo.tex: Update to version 2016-01-04.21 with
23605         trailing whitespace removed.
23606         * scripts/config.guess: Update to version 2016-01-01.
23607         * scripts/config.sub: Update to version 2016-01-01.
23608         * scripts/move-if-change: Update from gnulib.
23610 2016-01-04  Anton Blanchard  <anton@samba.org>
23612         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
23613         for array indices.
23614         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
23616 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
23618         * NEWS: Update copyright dates.
23619         * catgets/gencat.c (print_version): Likewise.
23620         * csu/version.c (banner): Likewise.
23621         * debug/catchsegv.sh: Likewise.
23622         * debug/pcprofiledump.c (print_version): Likewise.
23623         * debug/xtrace.sh (do_version): Likewise.
23624         * elf/ldconfig.c (print_version): Likewise.
23625         * elf/ldd.bash.in: Likewise.
23626         * elf/pldd.c (print_version): Likewise.
23627         * elf/sotruss.sh: Likewise.
23628         * elf/sprof.c (print_version): Likewise.
23629         * iconv/iconv_prog.c (print_version): Likewise.
23630         * iconv/iconvconfig.c (print_version): Likewise.
23631         * locale/programs/locale.c (print_version): Likewise.
23632         * locale/programs/localedef.c (print_version): Likewise.
23633         * login/programs/pt_chown.c (print_version): Likewise.
23634         * malloc/memusage.sh (do_version): Likewise.
23635         * malloc/memusagestat.c (print_version): Likewise.
23636         * malloc/mtrace.pl: Likewise.
23637         * manual/libc.texinfo: Likewise.
23638         * nptl/version.c (banner): Likewise.
23639         * nscd/nscd.c (print_version): Likewise.
23640         * nss/getent.c (print_version): Likewise.
23641         * nss/makedb.c (print_version): Likewise.
23642         * posix/getconf.c (main): Likewise.
23643         * scripts/test-installation.pl: Likewise.
23644         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23646         * All files with FSF copyright notices: Update copyright dates
23647         using scripts/update-copyrights.
23648         * intl/plural.c: Regenerated.
23649         * locale/programs/charmap-kw.h: Likewise.
23650         * locale/programs/locfile-kw.h: Likewise.
23652 2016-01-02  Helge Deller  <deller@gmx.de>
23654         [BZ #19285]
23655         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
23656         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
23657         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
23658         (MADV_xxK_PAGES): Remove.
23660 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
23662         [BZ #15421]
23663         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
23664         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
23665         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
23666         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
23668 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
23670         [BZ #19408]
23671         * sysdeps/unix/sysv/linux/personality.c: New file.
23672         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
23673         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
23674         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
23675         (sysdep_routines): Add personality.
23676         (tests): Add tst-personality.
23677         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
23678         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
23679         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
23680         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
23681         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
23682         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
23683         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
23684         Likewise.
23685         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
23686         Likewise.
23687         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
23688         Likewise.
23689         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
23690         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
23691         Likewise.
23693 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
23695         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
23696         (PATH_ARM_SYSTYPE): Remove.
23697         (PATH_CPUINFO): Likewise.
23698         (IO_BASE_FOOTBRIDGE): Likewise.
23699         (IO_SHIFT_FOOTBRIDGE): Likewise.
23700         (struct platform): Likewise.
23701         (init_iosys): Remove compatibility code for 2.4 kernels.
23702         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
23704 2015-12-29  Florian Weimer  <fweimer@redhat.com>
23706         * malloc/tst-malloc-thread-fail.c: New file.
23707         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
23708         (tst-malloc-thread-fail): Link against libpthread.
23710 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
23712         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
23713         (get_parser): New function.
23714         (main): New function.
23716 2015-12-29  Rob Wu  <rob@robwu.nl>
23718         [BZ #19369]
23719         * resolv/res_init.c (__res_vinit): Reset defdname before use.
23721 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
23723         [BZ #19270]
23724         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23726 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
23728         [BZ #15421]
23729         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
23731 2015-12-23  Torvald Riegel  <triegel@redhat.com>
23733         [BZ #13690]
23734         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
23735         after releasing it.
23736         (__lll_robust_unlock): Likewise.
23737         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23738         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
23739         (lll_robust_unlock): Likewise.
23740         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
23741         Prevent warnings in callers.
23743 2015-12-23  Florian Weimer  <fweimer@redhat.com>
23745         * malloc/arena.c (list_lock): Update comment.
23747 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23749         * sysdeps/powerpc/hwcapinfo.c: Export symbol
23750         __parse_hwcap_and_convert_at_platform to libc.a.
23752 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23754         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
23755         platform and feature support for POWER9.
23756         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23757         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
23758         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
23759         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
23760         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
23761         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
23762         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
23763         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
23765 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23767         Harmonize generic stdio-lock support with nptl
23769         This fixes build when _IO_funlockfile is a macro, fixes build where
23770         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
23771         stack unwind.
23773         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
23774         _IO_release_lock ): Use cleanup attribute on new
23775         _IO_acquire_lock_file variable instead of assuming that
23776         _IO_release_lock will be called.
23777         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
23778         _IO_acquire_lock_needs_exceptions_enabled.
23779         (_IO_acquire_lock_clear_flags2): New macro.
23781 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23783         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23785 2015-12-21  Florian Weimer  <fweimer@redhat.com>
23787         [BZ #19182]
23788         * malloc/arena.c (list_lock): Document lock ordering requirements.
23789         (free_list_lock): New lock.
23790         (ptmalloc_lock_all): Comment on free_list_lock.
23791         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
23792         (detach_arena): Update comment.  free_list_lock is now needed.
23793         (_int_new_arena): Use free_list_lock around detach_arena call.
23794         Acquire arena lock after list_lock.  Add comment, including FIXME
23795         about incorrect synchronization.
23796         (get_free_list): Switch to free_list_lock.
23797         (reused_arena): Acquire free_list_lock around detach_arena call
23798         and attached threads counter update.  Add two FIXMEs about
23799         incorrect synchronization.
23800         (arena_thread_freeres): Switch to free_list_lock.
23801         * malloc/malloc.c (struct malloc_state): Update comments to
23802         mention free_list_lock.
23804 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
23806         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
23807         Remove functions.
23808         (sloww, sloww1): Accept argument to offset quadrant.
23809         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
23810         quadrant.
23811         (__sin, __cos): Consolidate common code into new functions.
23812         (reduce_sincos_1, do_sincos_1): New functions.
23813         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23815         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
23816         code to new functions.
23817         (reduce_sincos_2, do_sincos_2): New functions.
23818         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23820         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
23821         common code for sincos.
23822         (__cos) [!IN_SINCOS]: Likewise.
23823         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
23824         New function.
23825         (__sincos): Use it.
23827 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
23829         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
23830         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
23831         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23833 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23835         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
23836         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
23837         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23838         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
23839         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23840         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
23841         index_Prefer_No_VZEROUPPER): New feature.
23842         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
23843         Prefer_No_VZEROUPPER for Knights Landing.
23845 015-12-18  Torvald Riegel  <triegel@redhat.com>
23847         * math/atest-exp2.c (mp_exp_m1): Remove.
23849 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23851         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
23852         syscalls.
23853         (__SYSCALL0): New macro.
23854         (__SYSCALL1): Likewise.
23855         (__SYSCALL2): Likewise.
23856         (__SYSCALL3): Likewise.
23857         (__SYSCALL4): Likewise.
23858         (__SYSCALL5): Likewise.
23859         (__SYSCALL6): Likewise.
23860         (__SYSCALL_CONCAT_X): Likewise.
23861         (__SYSCALL_CONCAT): Likewise.
23862         (__SYSCALL_DIST): Likewise.
23863         (__SYSCALL_CALL): Likewise.
23865 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
23867         [BZ #19363]
23868         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
23870 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23872         [BZ #19375]
23873         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
23874         negative subnormals.
23876 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
23878         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23879         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
23880         (INTERNAL_SYSCALL_NCS): Use it.
23881         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23883 2015-12-16  Florian Weimer  <fweimer@redhat.com>
23885         [BZ #19243]
23886         * malloc/arena.c (get_free_list): Remove assert and adjust
23887         reference count handling.  Add comment about reused_arena
23888         interaction.
23889         (reused_arena): Add comments abount get_free_list interaction.
23890         * malloc/tst-malloc-thread-exit.c: New file.
23891         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
23892         (tst-malloc-thread-exit): Link against libpthread.
23894 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23896         [BZ #19367]
23897         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
23898         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
23899         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
23900         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
23901         (index_Prefer_MAP_32BIT_EXEC): Likewise.
23903 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23905         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
23906         Silvermont optimizations for Knights Landing.
23908 2015-12-15  Andreas Schwab  <schwab@suse.de>
23910         [BZ #17197]
23911         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
23912         immediately after emitting SI.
23913         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
23914         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
23915         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
23916         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
23917         * iconvdata/bug-iconv10.c: New file.
23918         * iconvdata/Makefile (tests): Add bug-iconv10.
23919         ($(objpfx)bug-iconv10.out): New rule.
23921 2015-12-15  Florian Weimer  <fweimer@redhat.com>
23923         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
23924         aliasing violation.
23926 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
23928         [BZ #18472]
23929         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
23930         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
23931         conditionals for them.
23932         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
23933         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
23934         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
23935         sys/kdaemon.h.
23936         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
23937         compat-only syscall, obsoleted in glibc 2.23.
23938         (create_module): Likewise.
23939         (get_kernel_syms): Likewise.
23940         (query_module): Likewise.
23941         (uselib): Likewise.
23942         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
23944 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
23946         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
23947         <linux/version.h>.
23948         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
23949         conditional code.
23950         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
23951         and ioshift_name initialization.
23953 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23955         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23956         Fix indentation.
23958 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23960         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
23962 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23964         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
23966 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
23967             Jakub Wilk  <jwilk@debian.org>
23969         [BZ #19347]
23970         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
23971         to change the group of the device to the tty group.
23973 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
23975         Split large string section; add truncation advice
23976         * manual/examples/strncat.c: Remove.
23977         This example was misleading, as the code would have undefined
23978         behavior if "hello" was longer than SIZE.  Anyway, the manual
23979         shouldn't encourage strncpy+strncat for this sort of thing.
23980         * manual/string.texi (Copying Strings and Arrays): Split into
23981         three sections Copying Strings and Arrays, Concatenating Strings,
23982         and Truncating Strings, as this section was way too long.  All
23983         cross-referenced changed.  Add advice about string-truncation
23984         functions.  Remove misleading strncat example.
23986 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
23988         * manual/nss.texi (NSS Modules Interface): Document
23989         NSS_STATUS_NOTFOUND and SUCCESS.
23991 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
23993         [BZ 18568]
23994         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23995         201505L, for Unicode 8.
23997 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
23999         * locale/C-translit.h: Regenerate.
24001 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
24003         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
24004         and U+0153.
24006 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
24008         [BZ #19351]
24009         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
24010         expanding log(1+z), compare z rather than its square with epsilon
24011         to determine when to avoid evaluating the expansion.
24013         [BZ #19350]
24014         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24015         Increase overflow threshold.
24017         [BZ #19349]
24018         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
24019         when small.
24021         * sysdeps/unix/sysv/linux/i386/kernel-features.h
24022         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24023         New macro.
24024         [__LINUX_KERNEL_VERSION >= 0x040300]
24025         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24026         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24027         Likewise.
24028         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24029         Likewise.
24030         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24031         Likewise.
24032         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24033         Likewise.
24034         [__LINUX_KERNEL_VERSION >= 0x040300]
24035         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24036         [__LINUX_KERNEL_VERSION >= 0x040300]
24037         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24038         [__LINUX_KERNEL_VERSION >= 0x040300]
24039         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24040         [__LINUX_KERNEL_VERSION >= 0x040300]
24041         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24042         [__LINUX_KERNEL_VERSION >= 0x040300]
24043         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24044         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24045         Likewise.
24046         [__LINUX_KERNEL_VERSION >= 0x040300]
24047         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24048         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24049         Likewise.
24050         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24051         Likewise.
24052         [__LINUX_KERNEL_VERSION >= 0x040300]
24053         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24054         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24055         Likewise.
24056         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24057         Likewise.
24058         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24059         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
24060         Likewise.
24061         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
24062         Likewise.
24063         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24064         Likewise.
24065         [__LINUX_KERNEL_VERSION >= 0x040300]
24066         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24067         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24068         Likewise.
24069         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24070         Likewise.
24071         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24072         Likewise.
24073         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24074         Likewise.
24075         [__LINUX_KERNEL_VERSION >= 0x040300]
24076         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24077         [__LINUX_KERNEL_VERSION >= 0x040300]
24078         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24079         [__LINUX_KERNEL_VERSION >= 0x040300]
24080         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24081         [__LINUX_KERNEL_VERSION >= 0x040300]
24082         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24083         [__LINUX_KERNEL_VERSION >= 0x040300]
24084         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24085         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24086         Likewise.
24087         [__LINUX_KERNEL_VERSION >= 0x040300]
24088         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24089         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24090         Likewise.
24091         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24092         Likewise.
24093         [__LINUX_KERNEL_VERSION >= 0x040300]
24094         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24095         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24096         Likewise.
24097         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24098         Likewise.
24099         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24100         (__ASSUME_SOCKET_SYSCALL): Likewise.
24101         (__ASSUME_BIND_SYSCALL): Likewise.
24102         (__ASSUME_CONNECT_SYSCALL): Likewise.
24103         (__ASSUME_LISTEN_SYSCALL): Likewise.
24104         (__ASSUME_ACCEPT_SYSCALL): Likewise.
24105         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24106         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24107         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24108         (__ASSUME_SEND_SYSCALL): Likewise.
24109         (__ASSUME_SENDTO_SYSCALL): Likewise.
24110         (__ASSUME_RECV_SYSCALL): Likewise.
24111         (__ASSUME_RECVFROM_SYSCALL): Likewise.
24112         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
24113         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24114         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24115         (__ASSUME_SENDMSG_SYSCALL): Likewise.
24116         (__ASSUME_RECVMSG_SYSCALL): Likewise.
24117         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24118         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
24119         Likewise.
24120         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
24121         Likewise.
24122         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
24123         Likewise.
24124         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
24125         Likewise.
24126         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
24127         Likewise.
24128         [__LINUX_KERNEL_VERSION >= 0x020625]
24129         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24130         [__LINUX_KERNEL_VERSION >= 0x020625]
24131         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24132         [__LINUX_KERNEL_VERSION >= 0x020625]
24133         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24134         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
24135         Likewise.
24136         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
24137         Likewise.
24138         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
24139         Likewise.
24140         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
24141         Likewise.
24142         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
24143         Likewise.
24144         [__LINUX_KERNEL_VERSION >= 0x020625]
24145         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24146         [__LINUX_KERNEL_VERSION >= 0x020625]
24147         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24148         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
24149         Likewise.
24150         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
24151         Likewise.
24153 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
24155         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
24156         record the current if the current ABI and CPU support the FP64
24157         extension.
24158         (has-modd-spreg): Define to record the current if the current ABI and
24159         CPU support 32-bit floating point values in odd FPU registers.
24160         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24161         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
24162         $(has-modd-spreg) equals yes.
24163         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
24164         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
24165         $(has-modd-spreg) equal yes.
24167 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
24169         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
24170         basename.
24172 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
24174         * benchtests/Makefile (bench-math): Move ffs and ffsll...
24175         (bench-string): ... here.
24176         (bench): Add bench-string.
24177         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
24178         to *-benchset to reflect what they are.
24179         (benchset): Adjust.
24181         * benchtests/sincos-inputs: Add inputs from sin-inputs and
24182         cos-inputs.
24184 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
24186         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
24187         __attribute__ ((__simd__)) for vector math function declarations.
24189 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24191         Fix typo in strncat, wcsncat manual entries
24192         * manual/string.texi (Copying and Concatenation): Fix typos in
24193         sample implementations of strncat and wcsncat, by having them use
24194         the old value of the destination length, not the new one.
24196 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
24198         [BZ #16961]
24199         [BZ #16962]
24200         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
24201         string on the stack for strtod.
24202         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
24203         a string on the stack for strtof.
24204         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
24205         constructing a string on the stack for strtold.
24206         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
24207         __strtold_nan to GLIBC_PRIVATE.
24208         * math/test-nan-overflow.c: New file.
24209         * math/test-nan-payload.c: Likewise.
24210         * math/Makefile (tests): Add test-nan-overflow and
24211         test-nan-payload.
24213 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24215         Consistency about byte vs character in string.texi
24216         * manual/string.texi (String and Array Utilities):
24217         Distinguish more carefully among bytes, multibyte characters,
24218         and wide characters.  Use "byte" when talking about C 'char',
24219         to distinguish it more clearly from multibyte characters.
24220         Say "wide character" or "multibyte character" instead of
24221         "character", when a wide or multibyte character is intended.
24222         Similarly for "multibyte string" versus "string".
24223         Define these terms more carefully.
24225 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
24227         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
24228         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
24229         Likewise.
24230         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24231         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24232         * sysdeps/sh/math_private.h: New file.
24233         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
24234         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
24235         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
24236         long double function name.
24237         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24238         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24239         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24240         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24241         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24243         Remove __finitel, __isinfl, and __isnanl.
24244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24245         Likewise.
24246         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24248         Remove __finitel.
24249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24250         Likewise.
24251         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24253 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
24255         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
24256         installed libmvec_nonshared.a.
24258 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24260         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
24261         (sysdep_routines): Likewise.
24262         (sysdep-rtld-routines): Likewise.
24263         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
24264         [$(subdir) = nptl](tests-static): test-get_hwcap-static
24265         * sysdeps/powerpc/Versions: Added new
24266         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
24267         * sysdeps/powerpc/hwcapinfo.c: New file.
24268         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
24269         and parse hwcap, hwcap2 and platform number information.
24270         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
24271         to store HWCAP+HWCAP2 and platform number.
24272         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
24273         for HWCAP+HWCAP2 and platform number in the TCB.
24274         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
24275         the HWCAP, HWCAP2 and platform number in the TCB.
24276         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
24277         (TLS_INIT_TP): Included calls to add the hwcap and
24278         at_platform values in the TCB in TP initialization.
24279         (TLS_DEFINE_INIT_TP): Likewise.
24280         (THREAD_GET_HWCAP): New macro.
24281         (THREAD_SET_HWCAP): Likewise.
24282         (THREAD_GET_AT_PLATFORM): Likewise.
24283         (THREAD_SET_AT_PLATFORM): Likewise.
24284         * sysdeps/powerpc/powerpc32/dl-machine.h:
24285         (dl_platform_init): New function that calls
24286         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
24287         powerpc32.
24288         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
24289         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
24290         this functionality, static linking case.
24291         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
24292         linking case.
24293         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
24294         __parse_hwcap_and_convert_at_platform for the static linking case.
24295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
24296         Included the new __parse_hwcap_and_convert_at_platform symbol in the
24297         ABI list for GLIBC 2.23.
24298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
24299         Likewise.
24300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
24301         Likewise.
24303 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
24305         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
24306         * configure: Regenerate.
24307         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
24308         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
24310 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
24312         * iconvdata/ibm930.c: Add comment explaining encoding uses.
24313         * iconvdata/ibm933.c: Likewise.
24314         * iconvdata/ibm935.c: Likewise.
24315         * iconvdata/ibm937.c: Likewise.
24316         * iconvdata/ibm939.c: Likewise.
24318 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24320         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
24321         pthread_join.
24322         * nptl/tst-cancel21.c (tf): Likewise.
24324 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
24326         [BZ #19313]
24327         * bits/typesizes.h (__CPU_MASK_TYPE): New.
24328         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24329         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24330         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
24331         Likewise.
24332         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
24333         Likewise.
24334         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
24335         Likewise.
24336         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
24337         Likewise.
24338         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
24339         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
24340         unsigned long int with __CPU_MASK_TYPE.
24342 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24344         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24346 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
24348         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
24349         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
24350         t512.x.
24351         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
24353 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
24355         [BZ #19214]
24356         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
24357         argument to return extended model.  Update family and model
24358         with extended family and model when family == 0x0f.
24359         (init_cpu_features): Updated.
24361 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24363         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
24364         signed off_t, so 32bit bigger than 2GiB values are fine actually.
24366         * sysdeps/mach/hurd/mmap64.c: New file.
24368 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
24370         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
24371         rights for its main user thread in NEWTASK.
24373 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
24375         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
24376         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
24378 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
24380         [BZ #14259]
24381         * Makeconfig: Rename localedir to complocaledir.
24382         Rename inst_localedir to inst_complocaledir.
24383         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
24384         * config.make.in: Use complocaledir and libc_cv_complocaledir.
24385         * configure.ac: Use libc_cv_complocaledir.
24386         * configure: Regenerate.
24387         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
24388         -DCOMPLOCALEDIR.
24389         * locale/findlocale.c: Use COMPLOCALEDIR.
24390         * locale/loadarchive.c: Likewise.
24391         * locale/programs/locale.c: Likewise.
24392         * locale/programs/localedef.c: Likewise.
24393         * locale/programs/locarchive.c: Likewise.
24394         * localedata/Makefile: Use inst_complocaledir.
24395         * sysdeps/gnu/configure: Regenerate.
24396         * sysdeps/hppa/configure: Regenerate.
24397         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
24398         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
24400         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
24401         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
24402         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
24403         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
24405 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
24407         [BZ #19058]
24408         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
24409         AS_NEEDED.
24410         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
24411         workaround.
24412         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
24413         libmvec-static-only-routines): Added new file.
24414         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
24416 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24418         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
24419         of interrupted RPC instead of restoring it.
24421         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
24422         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
24423         libc_hidden_def.
24424         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
24425         into initialized data instead of common. Define rtld_hidden_data_def.
24426         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
24427         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
24428         libc_hidden_def.
24429         (if_freenameindex): Add libc_hidden_weak.
24430         (if_nameindex): Add libc_hidden_weak.
24431         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
24432         __open64.
24433         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
24434         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
24435         * sysdeps/mach/nanosleep.c: Include <time.h>
24436         (__nanosleep): Rename to __libc_nanosleep.
24437         (__nanosleep): Add weak_alias.
24438         (nanosleep): Update alias.
24440 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
24442         * stdlib/strtod_nan.c: New file.
24443         * stdlib/strtod_nan_double.h: Likewise.
24444         * stdlib/strtod_nan_float.h: Likewise.
24445         * stdlib/strtod_nan_main.c: Likewise.
24446         * stdlib/strtod_nan_narrow.h: Likewise.
24447         * stdlib/strtod_nan_wide.h: Likewise.
24448         * stdlib/strtof_nan.c: Likewise.
24449         * stdlib/strtold_nan.c: Likewise.
24450         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
24451         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
24452         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
24453         * wcsmbs/wcstod_nan.c: Likewise.
24454         * wcsmbs/wcstof_nan.c: Likewise.
24455         * wcsmbs/wcstold_nan.c: Likewise.
24456         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
24457         strtold_nan.
24458         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
24459         wcstof_nan.
24460         * include/stdlib.h (__strtof_nan): Declare and use
24461         libc_hidden_proto.
24462         (__strtod_nan): Likewise.
24463         (__strtold_nan): Likewise.
24464         (__wcstof_nan): Likewise.
24465         (__wcstod_nan): Likewise.
24466         (__wcstold_nan): Likewise.
24467         * include/wchar.h (____wcstoull_l_internal): Declare.
24468         * stdlib/strtod_l.c: Do not include <ieee754.h>.
24469         (____strtoull_l_internal): Remove declaration.
24470         (STRTOF_NAN): Define macro.
24471         (SET_MANTISSA): Remove macro.
24472         (STRTOULL): Likewise.
24473         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
24474         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
24475         (STRTOF_NAN): Define macro.
24476         (SET_MANTISSA): Remove macro.
24477         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
24478         (SET_MANTISSA): Remove macro.
24479         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
24480         macro.
24481         (SET_MANTISSA): Remove macro.
24482         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
24483         macro.
24484         (SET_MANTISSA): Remove macro.
24485         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
24486         (SET_MANTISSA): Remove macro.
24487         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
24488         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
24489         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
24491         [BZ #19266]
24492         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
24493         upper case and lower case letters inside NAN(), not using TOLOWER.
24494         * stdlib/tst-strtod-nan-locale-main.c: New file.
24495         * stdlib/tst-strtod-nan-locale.c: Likewise.
24496         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
24497         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
24498         Depend on $(gen-locales).
24499         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
24500         * wcsmbs/tst-wcstod-nan-locale.c: New file.
24501         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
24502         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
24503         Depend on $(gen-locales).
24504         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
24506 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
24508         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
24510         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
24511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
24512         __finitel, __isinfl, and __isnanl.
24513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24514         Likewise.
24515         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
24517         __finitel.
24518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24519         Likewise.
24520         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24522 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24524         * malloc/memusage.c (me): Remove redundant getenv call.
24526 2015-10-24  Florian Weimer  <fweimer@redhat.com>
24528         [BZ #19143]
24529         [BZ #19164]
24530         * nptl/check-cpuset.h: Remove.
24531         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24532         Remove CPU set size check.
24533         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24534         Likewise.
24535         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
24536         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
24537         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
24538         (__pthread_setaffinity_new): Remove CPU set size check.
24539         * sysdeps/unix/sysv/linux/sched_setaffinity.c
24540         (__kernel_cpumask_size): Remove.
24541         (__sched_setaffinity_new): Remove CPU set size check.
24542         * manual/threads.texi (Default Thread Attributes): Remove stale
24543         reference to check_cpuset_attr, determine_cpumask_size in comment.
24544         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
24545         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
24546         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
24547         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
24548         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
24549         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
24550         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
24551         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
24552         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
24553         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
24554         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
24555         skeleton test file.
24556         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
24557         tst-affinity-pid.
24559 2015-11-24  Florian Weimer  <fweimer@redhat.com>
24561         * scripts/update-abilist.sh: New file.
24562         * Makefile (+subdir_targets): Add subdir_update-all-abi.
24563         * Makerules (update-all-abi-%, update-all-abi)
24564         (subdir_update-all-abi): New targets.
24565         * elf/Makefile (update-all-abi): New target.
24567 2015-11-24  Florian Weimer  <fweimer@redhat.com>
24569         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
24570         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
24571         (__libc_lock_define_initialized): Use it.
24572         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
24573         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
24574         * malloc/malloc.c (main_arena): Likewise.
24575         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24576         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24578 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
24580         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24581         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
24582         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24583         (PTRACE_O_MASK): Update value.
24584         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
24585         New value in enum __ptrace_setoptions.
24586         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24587         (PTRACE_O_MASK): Update value.
24588         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24589         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24590         (PTRACE_O_MASK): Update value.
24591         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
24592         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24593         (PTRACE_O_MASK): Update value.
24594         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
24595         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24596         (PTRACE_O_MASK): Update value.
24597         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
24598         New value in enum __ptrace_setoptions.
24599         (PTRACE_O_MASK): Update value.
24600         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
24601         New value in enum __ptrace_setoptions.
24602         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24603         (PTRACE_O_MASK): Update value.
24605         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
24606         New macro.
24607         (PACKET_AUXDATA): Likewise.
24608         (PACKET_ORIGDEV): Likewise.
24609         (PACKET_VERSION): Likewise.
24610         (PACKET_HDRLEN): Likewise.
24611         (PACKET_RESERVE): Likewise.
24612         (PACKET_TX_RING): Likewise.
24613         (PACKET_LOSS): Likewise.
24614         (PACKET_VNET_HDR): Likewise.
24615         (PACKET_TX_TIMESTAMP): Likewise.
24616         (PACKET_TIMESTAMP): Likewise.
24617         (PACKET_FANOUT): Likewise.
24618         (PACKET_TX_HAS_OFF): Likewise.
24619         (PACKET_QDISC_BYPASS): Likewise.
24620         (PACKET_ROLLOVER_STATS): Likewise.
24621         (PACKET_FANOUT_DATA): Likewise.
24622         (PACKET_MR_UNICAST): Likewise.
24624         [BZ #19242]
24625         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
24626         (TOUPPER): Likewise.
24627         * stdlib/tst-strtol-locale-main.c: New file.
24628         * stdlib/tst-strtol-locale.c: Likewise.
24629         * stdlib/Makefile (tests): Add tst-strtol-locale.
24630         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
24631         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
24632         Depend on $(gen-locales).
24633         * wcsmbs/tst-wcstol-locale.c: New file.
24634         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
24635         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
24636         tr_TR.ISO-8859-9.
24637         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
24638         Depend on $(gen-locales).
24640 2015-11-20  Roland McGrath  <roland@hack.frob.com>
24642         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
24643         __glibc_likely instead of __builtin_expect.  After falling back to
24644         dyncode_create in a non-ET_DYN case, use the allocate_code_data
24645         system interface to register the code pages as occupied.
24647 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
24649         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24650         [!ARM_MATH_PRIVATE_H].
24651         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
24652         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24653         [!HPPA_MATH_PRIVATE_H].
24654         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
24655         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
24656         to [!I386_MATH_PRIVATE_H].
24657         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
24658         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
24659         Change guard to [!M68K_MATH_PRIVATE_H].
24660         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
24661         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
24662         guard to [!MICROBLAZE_MATH_PRIVATE_H].
24663         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
24664         macro.
24665         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24666         [!MIPS_MATH_PRIVATE_H].
24667         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
24668         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24669         [!NIO2_MATH_PRIVATE_H].
24670         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
24671         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24672         [!TILE_MATH_PRIVATE_H].
24673         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
24675         [BZ #15421]
24676         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
24677         initialize with 0 and define as weak alias of __signgam.
24678         * include/math.h [!_ISOMAC] (__signgam): Declare.
24679         * math/Makefile (libm-calls): Add w_lgamma_compat.
24680         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
24681         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
24682         test-signgam-ullong-init.
24683         (tests-static): Add test-signgam-uchar-static,
24684         test-signgam-uchar-init-static, test-signgam-uint-static,
24685         test-signgam-uint-init-static, test-signgam-ullong-static and
24686         test-signgam-ullong-init-static.
24687         (CFLAGS-test-signgam-uchar.c): New variable.
24688         (CFLAGS-test-signgam-uchar-init.c): Likewise.
24689         (CFLAGS-test-signgam-uchar-static.c): Likewise.
24690         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24691         (CFLAGS-test-signgam-uint.c): Likewise.
24692         (CFLAGS-test-signgam-uint-init.c): Likewise.
24693         (CFLAGS-test-signgam-uint-static.c): Likewise.
24694         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24695         (CFLAGS-test-signgam-ullong.c): Likewise.
24696         (CFLAGS-test-signgam-ullong-init.c): Likewise.
24697         (CFLAGS-test-signgam-ullong-static.c): Likewise.
24698         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24699         * math/Versions (libm): Add GLIBC_2.23.
24700         * math/lgamma-compat.h: New file.
24701         * math/test-signgam-main.c: Likewise.
24702         * math/test-signgam-uchar-init-static.c: Likewise.
24703         * math/test-signgam-uchar-init.c: Likewise.
24704         * math/test-signgam-uchar-static.c: Likewise.
24705         * math/test-signgam-uchar.c: Likewise.
24706         * math/test-signgam-uint-init-static.c: Likewise.
24707         * math/test-signgam-uint-init.c: Likewise.
24708         * math/test-signgam-uint-static.c: Likewise.
24709         * math/test-signgam-uint.c: Likewise.
24710         * math/test-signgam-ullong-init-static.c: Likewise.
24711         * math/test-signgam-ullong-init.c: Likewise.
24712         * math/test-signgam-ullong-static.c: Likewise.
24713         * math/test-signgam-ullong.c: Likewise.
24714         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
24715         wrapper of w_lgamma_main.c.
24716         * math/w_lgamma_compat.c: New file.
24717         * math/w_lgamma_compatf.c: Likewise.
24718         * math/w_lgamma_compatl.c: Likewise.
24719         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
24720         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24721         defining compatibility symbols.
24722         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
24723         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
24724         wrapper of w_lgammaf_main.c.
24725         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
24726         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24727         defining compatibility symbols.
24728         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
24729         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
24730         wrapper of w_lgammal_main.c.
24731         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
24732         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24733         defining compatibility symbols.
24734         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
24735         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
24736         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
24737         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
24738         <lgamma-compat.h>.
24739         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
24740         (__ieee754_gamma): Define as alias.
24741         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
24742         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
24743         <lgamma-compat.h>.
24744         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
24745         (__ieee754_gammaf): Define as alias.
24746         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
24747         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
24748         <lgamma-compat.h>.
24749         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
24750         (__ieee754_gammal): Define as alias.
24751         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
24752         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
24753         <math/w_lgamma_compat.c>.
24754         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
24755         Define as alias of __lgamma_compat and use in defining lgammal.
24756         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
24757         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
24758         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
24759         (USE_AS_COMPAT): New macro.
24760         (LGAMMA_OLD_VER): Undefine and redefine.
24761         (lgammal): Do not define here.
24762         (gammal): Only define here if [GAMMA_ALIAS].
24763         * conform/linknamespace.pl (@whitelist): Remove signgam.
24764         * sysdeps/nacl/libm.abilist: Update.
24765         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24766         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24767         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24768         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24769         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24770         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24771         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24772         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24773         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24774         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24775         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24776         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24778         Likewise.
24779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24780         Likewise.
24781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24782         Likewise.
24783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24784         Likewise.
24785         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24786         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24787         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24788         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24789         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24791         Likewise.
24792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24793         Likewise.
24794         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24795         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24796         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24798 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24800         [BZ #16364]
24801         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
24802         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
24804 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24806         * sysdeps/s390/fpu/bits/mathinline.h:
24807         Use __asm__ [__volatile__] instead of asm [volatile].
24808         * sysdeps/s390/abort-instr.h: Likewise.
24809         * sysdeps/s390/atomic-machine.h: Likewise.
24810         * sysdeps/s390/bits/string.h: Likewise.
24811         * sysdeps/s390/dl-tls.h: Likewise.
24812         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24813         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24814         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24815         * sysdeps/s390/fpu/fesetround.c: Likewise.
24816         * sysdeps/s390/fpu/fpu_control.h: Likewise.
24817         * sysdeps/s390/fpu/s_fma.c: Likewise.
24818         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
24819         * sysdeps/s390/memusage.h: Likewise.
24820         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
24821         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
24822         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
24823         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
24824         * sysdeps/s390/nptl/tls.h: Likewise.
24825         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
24826         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24827         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24828         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
24829         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24830         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24831         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
24832         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24833         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24834         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
24835         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
24836         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24837         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24838         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
24839         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24840         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24841         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
24842         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
24843         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
24844         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24845         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
24846         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24847         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
24849 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24850             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24852         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24853         Add lwarx hint, and use macro for acquire instruction.
24854         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24855         Likewise.
24856         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
24857         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
24858         update to use new atomic macros.
24860 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24862         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
24863         (__lll_trylock_elision): Fix setting of adapt_count.
24864         * sysdeps/unix/sysv/linux/powerpc/htm.h
24865         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
24866         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
24867         (_ABORT_SYSCALL): Renumber, and clarify definition.
24868         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
24870 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24872         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
24873         after system headers to prevent MIN/MAX redefinition.  Define
24874         HAVE_ALLOCA to preserve builtin alloca usage.
24876 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
24878         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
24879         static and don't set or restore rounding.
24880         (__cos)[IN_SINCOS]: Likewise.
24881         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
24882         (__sincos): Set and restore rounding mode.  Remove check for infinite
24883         or NaN input.
24885         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
24887         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
24888         as used.
24890 2015-11-16  Florian Weimer  <fweimer@redhat.com>
24892         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
24894 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24896         * config.make.in (have-glob-dat-reloc): New.
24897         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
24898         target supports GLOB_DAT relocaton. AC_SUBST.
24899         * configure: Regenerated.
24900         * elf/Makefile (tests): Add tst-prelink.
24901         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24902         (tst-prelink-ENV): New.
24903         ($(objpfx)tst-prelink-conflict.out): Likewise.
24904         ($(objpfx)tst-prelink-cmp.out): Likewise.
24905         * sysdeps/x86/tst-prelink.c: Moved to ...
24906         * elf/tst-prelink.c: Here.
24907         * sysdeps/x86/tst-prelink.exp: Moved to ...
24908         * elf/tst-prelink.exp: Here.
24909         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
24910         (tst-prelink-ENV): Removed.
24911         ($(objpfx)tst-prelink-conflict.out): Likewise.
24912         ($(objpfx)tst-prelink-cmp.out): Likewise.
24913         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
24915 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
24917         [BZ #14551]
24918         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
24919         (__mpn_construct_long_double): If high part overflows to infinity,
24920         set errno and recompute overflowed result of the correct sign.
24921         * sysdeps/ieee754/ldbl-128ibm/Makefile
24922         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
24923         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
24924         $(libm).
24925         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
24927 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
24929         [BZ #15479]
24930         [BZ #19238]
24931         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
24932         floating-point state after first operation on input.  Restore full
24933         state rather than just rounding mode.
24934         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
24935         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
24936         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
24938         [BZ #19235]
24939         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
24940         add 0.5 to integer arguments.
24941         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
24942         Likewise.
24943         (.LC2): New object.
24945 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
24947         * scripts/pylintrc (reports): Set to no.
24949 2015-11-10  Roland McGrath  <roland@hack.frob.com>
24951         * elf/dl-load.c (open_verify): Take new argument FD.
24952         Skip __open call if passed FD is not -1.
24953         (_dl_map_object, open_path): Update callers.
24954         * elf/dl-sysdep-open.h: New file.
24955         * elf/dl-load.c: Include it.
24956         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
24957         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
24958         * sysdeps/nacl/dl-sysdep-open.h: New file.
24959         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
24960         from libc to rtld.
24962 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
24964         [BZ #19228]
24965         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
24966         and restore full floating-point state.
24967         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
24968         Likewise.
24969         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
24970         Likewise.
24971         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
24972         Likewise.
24973         * math/test-nearbyint-except-2.c: New file.
24974         * math/Makefile (tests): Add test-nearbyint-except-2.
24976 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
24978         [BZ #19178]
24979         * sysdeps/x86/Makefile (tests): Add tst-prelink.
24980         (tst-prelink-ENV): New.
24981         ($(objpfx)tst-prelink-conflict.out): Likewise.
24982         ($(objpfx)tst-prelink-cmp.out): Likewise.
24983         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24984         * sysdeps/x86/tst-prelink.c: New file.
24985         * sysdeps/x86/tst-prelink.exp: Likewise.
24987 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
24989         * math/auto-libm-test-in: Add another test of pow.
24990         * math/auto-libm-test-out: Regenerated.
24991         * math/libm-test.inc (pow_test_data): Add another test.
24993 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24995         [BZ #19219]
24996         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
24997         weak_alias to nearbyintl.
24999 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
25001         * sysdeps/aarch64/bits/string.h: New file.
25002         (_STRING_ARCH_unaligned): Define.
25004 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
25006         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
25007         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25008         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25009         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
25010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
25012 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
25014         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
25015         for original name of the DSO.  Add it to the name list of the DSO
25016         if it is actually given.
25017         (_dl_map_object): Keep track of whether an audit module rewrote
25018         the file name.  If yes, pass the original name to
25019         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
25020         debugging is enabled, log the change of the file name.
25021         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
25022         _dl_map_object_from_fd.
25023         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
25024         * elf/tst-audit11.c: New file
25025         * elf/tst-auditmod11.c: New file.
25026         * elf/tst-audit11mod1.c: New file.
25027         * elf/tst-audit11mod2.c: New file.
25028         * elf/tst-audit11mod2.map: New file.
25029         * elf/tst-audit12.c: New file
25030         * elf/tst-auditmod12.c: New file.
25031         * elf/tst-audit12mod1.c: New file.
25032         * elf/tst-audit12mod2.c: New file.
25033         * elf/tst-audit12mod2.map: New file.
25034         * elf/tst-audit12mod3.c: New file.
25036 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25038         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
25039         Don't create weak aliases,
25040         because versioned symbols are created later.
25041         * sysdeps/s390/s390-32/setjmp.S
25042         (setjmp, _setjmp): Remove weak and rename to an unique name
25043         in SHARED case due to existing versioned symbols.
25044         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25045         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
25046         (getcontext): Create weak alias only in non SHARED case.
25047         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25049 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25051         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
25052         (__ASSUME_*_SYSCALL) Define new macros.
25053         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
25054         Remove socketcall syscalls.
25055         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
25056         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
25057         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
25058         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
25059         * sysdeps/unix/sysv/linux/send.c (__libc_send):
25060         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
25062 2015-11-09  Florian Weimer  <fweimer@redhat.com>
25064         [BZ #12926]
25065         Terminate process on invalid netlink response.
25066         * sysdeps/unix/sysv/linux/netlinkaccess.h
25067         (__netlink_assert_response): Declare.
25068         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
25069         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
25070         (sysdep_routines): Add netlink_assert_response.
25071         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
25072         __netlink_assert_response.
25073         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
25074         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
25075         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
25076         __netlink_assert_response.
25078 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25080         [BZ #19178]
25081         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
25082         (RTYPE_CLASS_PLT): Likewise.
25083         (RTYPE_CLASS_COPY): Likewise.
25084         (RTYPE_CLASS_TLS): Likewise.
25085         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
25086         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
25087         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
25088         DL_DEBUG_PRELINK.
25090 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
25092         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
25093         calls with argument -0.5.
25094         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
25096         * configure.ac (libc_cv_z_nodelete): Remove configure test.
25097         (libc_cv_z_nodlopen): Likewise.
25098         (libc_cv_z_initfirst): Likewise.
25099         * configure: Regenerated.
25101 2015-11-06  Florian Weimer  <fweimer@redhat.com>
25103         Simplify abilist format to be line-based.
25104         * scripts/abilist.awk: Collect descriptors in the descs variable.
25105         (emit): Write descs variable and sort it
25106         externally, with sort.
25107         * sysdeps/**/*.abilist: Convert to new format.
25109 2015-11-06  Mark Wielaard  <mjw@redhat.com>
25111         [BZ #11460]
25112         * io/Makefile (routines): Add fts64.
25113         (tests): Add tst-fts and tst-fts-lfs.
25114         (CFLAGS-fts64.c): New.
25115         * io/Versions (GLIBC_2.23): New.
25116         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
25117         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
25118         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
25119         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
25120         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
25121         (FTSENT64): Likewise.
25122         (fts64_children): Likewise.
25123         (fts64_close): Likewise.
25124         (fts64_open): Likewise.
25125         (fts64_read): Likewise.
25126         (fts64_set): Likewise.
25127         * io/fts64.c: New file.
25128         * io/tst-fts.c: New test.
25129         * io/tst-fts-lfs.c: Likewise.
25130         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
25131         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
25132         fts64_set.
25133         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25134         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25135         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25136         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25137         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25138         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25139         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25140         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25141         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25142         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
25143         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25144         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25145         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25147         Likewise.
25148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25149         Likewise.
25150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
25151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
25152         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25153         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25154         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25155         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25156         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
25158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
25159         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25160         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25161         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25162         * sysdeps/wordsize-64/fts.c: New file.
25163         * sysdeps/wordsize-64/fts64.c: Likewise.
25164         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
25165         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
25166         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
25167         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
25169 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
25171         * math/libm-test.inc (NON_FINITE): New macro.
25172         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
25173         * math/gen-libm-test.pl (show_exceptions): Add argument
25174         $non_finite.
25175         (parse_args): Update call to show_exceptions.
25176         * math/test-math-finite.h: New file.
25177         * math/test-math-no-finite.h: Likewise.
25178         * math/test-double-finite.c: Likewise.
25179         * math/test-float-finite.c: Likewise.
25180         * math/test-ldouble-finite.c: Likewise.
25181         * math/test-double.c: Include "test-math-no-finite.h".
25182         * math/test-float.c: Include "test-math-no-finite.h".
25183         * math/test-ldouble.c: Include "test-math-no-finite.h".
25184         * math/test-math-inline.h (TEST_FINITE): New macro.
25185         * math/test-math-vector.h (TEST_FINITE): Likewise.
25186         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
25187         (libm-tests): Add test-float-finite and test-double-finite.
25188         ($(objpfx)test-float-finite.o): New dependency on
25189         $(objpfx)libm-test.stmp.
25190         ($(objpfx)test-double-finite.o): Likewise.
25191         ($(objpfx)test-ldouble-finite.o): Likewise.
25192         (libm-test-no-inline-cflags): New variable.
25193         (libm-test-finite-cflags): Likewise.
25194         (CFLAGS-test-float-finite.c): Likewise.
25195         (CFLAGS-test-double-finite.c): Likewise.
25196         (CFLAGS-test-ldouble-finite.c): Likewise.
25197         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
25198         (CFLAGS-test-double.c): Likewise.
25199         (CFLAGS-test-ldouble.c): Likewise.
25201 2015-11-05  Roland McGrath  <roland@hack.frob.com>
25203         * io/fcntl.c (__fcntl): Add ... to prototype.
25204         * misc/ioctl.c (__ioctl): Likewise.
25205         * misc/syscall.c (syscall): Likewise.
25207 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
25209         * scripts/list-fixed-bugs.py: New file.
25211         [BZ #19213]
25212         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
25213         returned for argument 1.
25214         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
25215         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
25216         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
25217         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
25218         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
25219         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
25221         [BZ #19211]
25222         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
25223         __USE_XOPEN], not if [!__USE_ISOC99].
25224         (lgammaf): Likewise.
25225         (lgammal): Likewise.
25226         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
25227         (gammaf): Likewise.
25228         (gammal): Likewise.
25229         * math/test-signgam-finite-c11.c: New file.
25230         * math/test-signgam-finite-c99.c: Likewise.
25231         * math/test-signgam-finite.c: Likewise.
25232         * math/Makefile (tests): Add test-signgam-finite,
25233         test-signgam-finite-c99 and test-signgam-finite-c11.
25234         (CFLAGS-test-signgam-finite.c): New variable.
25235         (CFLAGS-test-signgam-finite-c99.c): Likewise.
25236         (CFLAGS-test-signgam-finite-c11.c): Likewise.
25238         [BZ #19212]
25239         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
25240         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
25241         500].
25242         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
25243         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
25244         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
25245         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
25246         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
25247         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
25248         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
25249         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
25250         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
25251         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
25253         [BZ #19209]
25254         * math/bits/math-finite.h (ldexp): Remove declaration.
25255         (ldexpf): Likewise.
25256         (ldexpl): Likewise.
25258         [BZ #19205]
25259         * math/bits/math-finite.h (acosf): Condition declaration on
25260         [__USE_ISOC99].
25261         (acosl): Likewise.
25262         (acoshf): Likewise.
25263         (acoshl): Likewise.
25264         (asinf): Likewise.
25265         (asinl): Likewise.
25266         (atan2f): Likewise.
25267         (atan2l): Likewise.
25268         (atanhf): Likewise.
25269         (atanhl): Likewise.
25270         (coshf): Likewise.
25271         (coshl): Likewise.
25272         (expf): Likewise.
25273         (expl): Likewise.
25274         (fmodf): Likewise.
25275         (fmodl): Likewise.
25276         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
25277         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
25278         (j0l): Likewise.
25279         (y0f): Likewise.
25280         (y0l): Likewise.
25281         (j1f): Likewise.
25282         (j1l): Likewise.
25283         (y1f): Likewise.
25284         (y1l): Likewise.
25285         (jnf): Likewise.
25286         (jnl): Likewise.
25287         (ynf): Likewise.
25288         (ynl): Likewise.
25289         (lgammaf_r): Condition declaration on [__USE_ISOC99].
25290         (lgammal_r): Likewise.
25291         (__lgamma_r_finite): New declaration.
25292         (__lgammaf_r_finite): Likewise.
25293         (__lgammal_r_finite): Likewise.
25294         (lgamma): Use __lgamma_r_finite.
25295         (lgammaf): Condition definition on [__USE_ISOC99].  Use
25296         __lgammaf_r_finite.
25297         (lgammal): Condition definition on [__USE_ISOC99].  Use
25298         __lgammal_r_finite.
25299         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
25300         __lgamma_r_finite.
25301         (gammaf): Condition definition on [__USE_ISOC99].  Use
25302         __lgammaf_r_finite.
25303         (gammal): Condition definition on [__USE_ISOC99].  Use
25304         __lgammal_r_finite.
25305         (logf): Condition declaration on [__USE_ISOC99].
25306         (logl): Likewise.
25307         (log10f): Likewise.
25308         (log10l): Likewise.
25309         (ldexpf): Likewise.
25310         (ldexpl): Likewise.
25311         (powf): Likewise.
25312         (powl): Likewise.
25313         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
25314         __USE_ISOC99].
25315         (remainderf): Condition declaration on [__USE_ISOC99].
25316         (remainderl): Likewise.
25317         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
25318         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
25319         (scalbl): Likewise.
25320         (sinhf): Condition declaration on [__USE_ISOC99].
25321         (sinhl): Likewise.
25322         (sqrtf): Likewise.
25323         (sqrtl): Likewise.
25325 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
25327         * sysdeps/arm/atomic-machine.h
25328         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25329         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25330         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
25331         Remove conditional code.
25332         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25333         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25334         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
25335         Change conditional to [__ASSEMBLER__].
25336         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25337         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
25338         [!__ASSEMBLER__].
25339         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
25340         code.
25341         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
25342         conditional macro definitions.
25343         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
25344         (__arch_compare_and_exchange_val_16_acq): Likewise.
25345         (__arch_compare_and_exchange_val_32_acq): Likewise.
25346         (atomic_exchange_and_add): Likewise.
25347         (atomic_add): Likewise.
25348         (atomic_add_negative): Likewise.
25349         (atomic_add_zero): Likewise.
25350         (atomic_bit_set): Likewise.
25351         (atomic_bit_test_set): Likewise.
25352         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
25353         code unconditional.
25354         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25356         * math/test-math-errno.h: New file.
25357         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
25358         empty.
25359         (TEST_ERRNO): New macro.
25360         (TEST_EXCEPTIONS): Likewise.
25361         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
25362         (TEST_EXCEPTIONS): Likewise.
25363         * math/test-math-vector.h (TEST_ERRNO): Likewise.
25364         * math/test-double.c: Include "test-math-errno.h".
25365         * math/test-float.c: Likewise.
25366         * math/test-ldouble.c: Likewise.
25367         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
25368         code unconditional.
25369         (test_exceptions): Only run code if TEST_EXCEPTIONS.
25370         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
25371         unconditional.
25372         (test_errno): Only run code if TEST_ERRNO.
25373         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
25375 2015-11-04  Florian Weimer  <fweimer@redhat.com>
25377         * nptl/tst-once5.cc: Remove attribution.
25379 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
25381         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
25382         sqrt, tan, tanh, y0, y1 and yn.
25383         * math/auto-libm-test-out: Regenerated.
25384         * math/libm-test.inc (scalb_test_data): Add more tests.
25385         (scalbn_test_data): Likewise.
25386         (scalbln_test_data): Likewise.
25387         (signbit_test_data): Likewise.
25388         (sin_test_data): Likewise.
25389         (sincos_test_data): Likewise.
25390         (sinh_test_data): Likewise.
25391         (sqrt_test_data): Likewise.
25392         (tan_test_data): Likewise.
25393         (tanh_test_data): Likewise.
25394         (tgamma_test_data): Likewise.
25395         (y0_test_data): Likewise.
25396         (y1_test_data): Likewise.
25397         (yn_test_data): Likewise.
25398         (significand_test_data): Likewise.
25399         * sysdeps/i386/fpu/libm-test-ulps: Update.
25401 2015-11-03  David Kastrup  <dak@gnu.org>
25403         [BZ #18604]
25404         * assert/assert.h (assert): Don't macro-expand failed assertion
25405         expression in error message.
25406         * malloc/malloc.c (assert): Likewise.
25408 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
25410         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
25411         test.
25412         * configure: Regenerated.
25414 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
25416         * math/libm-test.inc (modf_test_data): Add more tests.
25417         (nearbyint_test_data): Likewise.
25418         (nextafter_test_data): Likewise.
25419         (nexttoward_test_data): Likewise.
25420         (pow_test_data): Likewise.
25421         (remainder_test_data): Likewise.
25422         (remquo_test_data): Likewise.
25423         (rint_test_data): Likewise.
25425         [BZ #19201]
25426         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25427         Check for zero remainder in case of large exponents and ensure
25428         correct sign of result in that case.
25429         * math/libm-test.inc (remainder_test_data): Add more tests.
25431         [BZ #6799]
25432         * math/s_nextafter.c: Include <errno.h>.
25433         (__nextafter): Set errno on overflow and underflow.
25434         * math/s_nexttowardf.c: Include <errno.h>.
25435         (__nexttowardf): Set errno on overflow and underflow.
25436         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
25437         (__nextafterl): Set errno on overflow and underflow.
25438         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
25439         (__nexttoward): Set errno on overflow and underflow.
25440         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
25441         (__nexttowardf): Set errno on overflow and underflow.
25442         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
25443         (__nextafterf): Set errno on overflow and underflow.
25444         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
25445         (__nextafterl): Set errno on overflow and underflow.
25446         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
25447         (__nexttoward): Set errno on overflow and underflow.
25448         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
25449         (__nexttowardf): Set errno on overflow and underflow.
25450         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
25451         (__nextafterl): Set errno on overflow and underflow.
25452         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
25453         (__nexttoward): Set errno on overflow and underflow.
25454         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
25455         (__nexttowardf): Set errno on overflow and underflow.
25456         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
25457         (__nexttoward): Set errno on overflow and underflow.
25458         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
25459         (__nexttowardf): Set errno on overflow and underflow.
25460         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
25461         (__nldbl_nexttowardf): Set errno on overflow and underflow.
25462         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
25463         (__nextafterl): Set errno on overflow and underflow.
25464         * math/libm-test.inc (nextafter_test_data): Do not allow errno
25465         setting to be missing on overflow.  Add more tests.
25466         (nexttoward_test_data): Likewise.
25468         * configure.ac (libc_cv_initfini_array): Remove configure test.
25469         * configure: Regenerated.
25471 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
25473         [BZ #19189]
25474         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
25475         non-finite argument handle arguments with negative sign.
25477         * math/libm-test.inc (j0_test_data): Do not test sign of zero
25478         result from infinite argument.
25479         (j1_test_data): Likewise.
25480         (jn_test_data): Likewise.
25481         (y0_test_data): Likewise.
25482         (y1_test_data): Likewise.
25483         (yn_test_data): Likewise.
25485         [BZ #16171]
25486         * math/w_remainder.c (drem): Define as weak alias of __remainder.
25487         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
25488         * math/w_remainderf.c (dremf): Define as weak alias of
25489         __remainderf.
25490         * math/w_remainderl.c (dreml): Define as weak alias of
25491         __remainderl.
25492         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
25493         __remainder.
25494         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
25495         __remainderf.
25496         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
25497         __remainderl.
25498         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
25499         weak alias of remainderl.
25500         * sysdeps/ieee754/ldbl-opt/w_remainder.c
25501         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
25502         alias of __remainder.
25503         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
25504         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
25505         strong alias of __remainderl.
25506         (dreml): Use long_double_symbol.
25507         * math/Makefile (libm-calls): Remove w_drem.
25508         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
25509         (CFLAGS-nldbl-drem.c): Remove variable.
25510         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
25511         * math/w_drem.c: Remove file.
25512         * math/w_dremf.c: Likewise.
25513         * math/w_dreml.c: Likewise.
25514         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
25515         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
25516         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
25518         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
25519         * sysdeps/i386/configure: Regenerated.
25520         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
25521         * sysdeps/x86_64/configure: Regenerated.
25523         * configure.ac (libc_cv_asm_protected_directive): Remove configure
25524         test.
25525         (libc_cv_visibility_attribute): Likewise.
25526         (libc_cv_protected_data): Test unconditionally.
25527         (libc_cv_broken_visibility_attribute): Remove configure test.
25528         (libc_cv_have_sdata_section): Test unconditionally.
25529         * configure: Regenerated.
25531         * include/libc-internal.h (libc_max_align_t): Remove typedef.
25532         * include/scratch_buffer.h: Include <stddef.h> instead of
25533         <libc-internal.h>.
25534         (struct scratch_buffer): Use max_align_t instead of
25535         libc_max_align_t.
25537 2015-10-29  Florian Weimer  <fweimer@redhat.com>
25539         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
25540         instead of extend_alloca.  Change control flow to avoid a goto.
25541         Remove assert which is trivially always true.
25543 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25545         [BZ #16068]
25546         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
25547         (FE_ALL_EXCEPT_X86): New macro.
25548         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25549         FE_ALL_EXCEPT.  Ensure precision control is included in
25550         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25551         handle "denormal operand exception" and clear FZ and DAZ bits.
25552         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
25553         (FE_ALL_EXCEPT_X86): New macro.
25554         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25555         FE_ALL_EXCEPT.  Ensure precision control is included in
25556         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25557         handle "denormal operand exception" and clear FZ and DAZ bits.
25558         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
25559         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
25560         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25561         test-fenv-x87 and test-fenv-sse-2.
25562         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
25564         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
25565         * math/test-double.h (BUILD_COMPLEX): New macro.
25566         * math/test-float.h (BUILD_COMPLEX): Likewise.
25567         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
25569         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
25570         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
25571         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
25572         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
25573         instead of DBL_DENORM_MIN in comment.
25574         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
25575         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25576         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
25577         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
25578         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
25579         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25581 2015-10-28  Florian Weimer  <fweimer@redhat.com>
25583         [BZ #19048]
25584         * malloc/malloc.c (struct malloc_state): Update comment.  Add
25585         attached_threads member.
25586         (main_arena): Initialize attached_threads.
25587         * malloc/arena.c (list_lock): Update comment.
25588         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
25589         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
25590         (deattach_arena): New function.
25591         (_int_new_arena): Initialize arena reference count and deattach
25592         replaced arena.
25593         (get_free_list, reused_arena): Update reference count and deattach
25594         replaced arena.
25595         (arena_thread_freeres): Update arena reference count and only put
25596         unreferenced arenas on the free list.
25598 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25600         [BZ #19181]
25601         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
25602         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
25603         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
25604         * math/test-fenv-clear-main.c: New file.
25605         * math/test-fenv-clear.c: Likewise.
25606         * math/Makefile (tests): Add test-fenv-clear.
25607         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
25608         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25609         test-fenv-clear-sse.
25610         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
25612         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
25613         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
25614         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
25616 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25618         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
25619         static libc.
25621 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25623         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
25624         test.
25625         * sysdeps/i386/configure: Regenerated.
25626         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
25627         test.
25628         * sysdeps/x86_64/configure: Regenerated.
25629         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
25630         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25631         memset-avx2 unconditionally instead of conditionally on
25632         [$(config-cflags-avx2) = yes].
25633         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25634         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
25635         unconditional.
25636         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
25637         * sysdeps/x86_64/multiarch/memset_chk.S
25638         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
25639         to [IS_IN (libc) && SHARED].
25641 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25643         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
25644         configure test.
25645         * sysdeps/arm/configure: Regenerated.
25646         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
25647         Define variable if not already defined.
25649         [BZ #17404]
25650         * sysdeps/mips/atomic-machine.h
25651         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
25652         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
25653         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25655         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
25656         unconditional.
25657         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
25658         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25659         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
25660         unconditional.
25661         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25662         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
25663         unconditional.
25664         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25665         * stdlib/setenv.c
25666         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
25667         code unconditional.
25668         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
25669         Remove conditional code.
25670         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25671         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
25672         unconditional.
25673         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25674         code.
25675         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25676         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
25677         unconditional.
25678         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25679         code.
25680         * sysdeps/ieee754/ldbl-128/k_tanl.c
25681         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25682         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25683         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
25684         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25685         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25686         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
25687         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
25688         unconditional.
25689         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25690         code.
25691         * sysdeps/ieee754/ldbl-96/k_tanl.c
25692         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25693         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25695         * nptl/tst-initializers1-c11.c: New file.
25696         * nptl/tst-initializers1-gnu11.c: Likewise.
25697         * nptl/Makefile (tests): Add these new tests.
25698         (CFLAGS-tst-initializers1-c11.c): New variable.
25699         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25701         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
25702         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
25703         instead of -std=gnu99.
25704         * configure.ac (systemtap): Test with -std=gnu11 instead of
25705         -std=gnu99.
25706         * configure: Regenerated.
25707         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
25708         in compilation command in comment.
25710         * sysdeps/nptl/configure.ac: Remove file.
25711         * sysdeps/nptl/configure: Remove generated file.
25712         * configure.ac (libc_cv_forced_unwind): Do not substitute.
25713         * configure: Regenerated.
25714         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
25715         * config.make.in (have-forced-unwind): Remove variable.
25716         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25717         unconditional.
25718         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
25719         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
25720         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
25721         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
25722         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25723         unconditional.
25725 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25727         [BZ #19174]
25728         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
25729         .skip_lock_out_of_tbegin_retries.
25730         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25731         (__lll_lock_elision): Likewise, and respect a value of
25732         try_tbegin <= 0.
25734 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25736         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
25737         statement.
25739 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25741         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
25742         variable.
25743         (test-xfail-ISO11/stdalign.h/conform): Likewise.
25744         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25746         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
25747         of -std=c1x -D_ISOC11_SOURCE.
25749         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
25750         * configure: Regenerated.
25751         * manual/install.texi (Tools for Compilation): Document
25752         requirement for GCC 4.7 or later.
25753         * INSTALL: Regenerated.
25755 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
25757         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
25758         on CNT to a conditional jump to 'puntdata'.
25760 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25762         * configure.ac (libc_cv_gcc___thread): Remove configure test.
25763         (libc_cv_gcc_tls_model_attr): Likewise.
25764         * configure: Regenerated.
25766         * configure.ac (libc_cv_need_minus_P): Remove configure test.
25767         * configure: Regenerated.
25768         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
25770 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
25772         * configure.ac (old_glibc_headers): Remove configure test.
25773         * configure: Regenerated.
25774         * config.make.in (old-glibc-headers): Remove variable.
25775         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
25776         (install): Remove dependency on remove-old-headers.
25777         (headers2_0): Remove variable.
25778         (remove-old-headers): Remove rule.
25780         * configure.ac (libc_cv_dot_text): Remove configure test.
25781         (libc_cv_asm_set_directive): Use .text instead of
25782         ${libc_cv_dot_text} in configure test.
25783         * configure: Regenerated.
25785 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25787         [BZ #19168]
25788         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25790 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25792         * configure.ac (CXX): Clear the variable if the C++ toolchain does
25793         not support static linking.
25794         * configure: Regenerate.
25796 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
25798         * math/libm-test.inc (check_float_internal): Do not special-case
25799         errors up to 0.5 ulp.
25801         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25802         log2.
25803         * math/auto-libm-test-out: Regenerated.
25804         * math/libm-test.inc (MAX_EXP): New macro.
25805         (ilogb_test_data): Add more tests.
25806         (isfinite_test_data): Likewise.
25807         (isgreater_test_data): Likewise.
25808         (isgreaterequal_test_data): Likewise.
25809         (isinf_test_data): Likewise.
25810         (isless_test_data): Likewise.
25811         (islessequal_test_data): Likewise.
25812         (islessgreater_test_data): Likewise.
25813         (isnan_test_data): Likewise.
25814         (isnormal_test_data): Likewise.
25815         (issignaling_test_data): Likewise.
25816         (isunordered_test_data): Likewise.
25817         (j0_test_data): Likewise.
25818         (j1_test_data): Likewise.
25819         (jn_test_data): Likewise.
25820         (lgamma_test_data): Likewise.
25821         (log_test_data): Likewise.
25822         (log10_test_data): Likewise.
25823         (log1p_test_data): Likewise.
25824         (log2_test_data): Likewise.
25825         (logb_test_data): Likewise.
25826         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25828         [BZ #18611]
25829         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
25830         avoid excess range and precision on underflow.
25831         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25832         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
25833         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25834         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
25835         underflow.
25836         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25837         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25838         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25839         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25840         * math/auto-libm-test-in: Do not allow missing errno setting for
25841         tests of j1 and jn.
25842         * math/auto-libm-test-out: Regenerated.
25844 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
25846         [BZ #15491]
25847         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
25848         floating-point environment instead of clearing all exceptions.
25849         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
25850         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
25851         merging in "invalid" exceptions from frndint.
25852         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
25853         * math/test-nearbyint-except.c: New file.
25854         * math/Makefile (tests): Add test-nearbyint-except.
25856 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
25858         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
25860         * sysdeps/tile/libm-test-ulps: Regenerated.
25862 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
25865         (__NR_sync_file_range2): Assume it is always defined.
25866         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25867         (__NR_sync_file_range): Assume it is always defined.
25869 2015-10-22  Andreas Schwab  <schwab@suse.de>
25871         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25872         INTERNAL_SYSCALL_ERRNO.
25873         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25874         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25875         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25876         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25877         Likewise.
25878         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25880 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25882         * io/tst-fcntl.c (fd): New static variable.
25883         (do_prepare): Open temporary file here....
25884         (do_test): ...not here.
25886         * io/ftwtest-sh: Also trap on exit to remove temporary files.
25888 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
25890         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
25891         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25892         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25893         Moved before "#ifdef __ASSEMBLER__".
25895 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25897         [BZ #19156]
25898         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
25899         arguments very close to 0.
25901 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
25903         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
25904         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
25906 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
25908         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25909         New.  Defined for GCC 5 and above when not compiling for
25910         profiling.
25911         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25913         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25914         Renamed to ...
25915         (CFLAGS-epoll_pwait.o): This.
25916         (CFLAGS-mmap.c): Renamed to ...
25917         (CFLAGS-mmap.o): This.
25918         (CFLAGS-mmap64.c): Renamed to ...
25919         (CFLAGS-mmap64.o): This.
25920         (CFLAGS-epoll_pwait.os): New.
25921         (CFLAGS-mmap.os): Likewise.
25922         (CFLAGS-mmap64.os): Likewise.
25923         (CFLAGS-semtimedop.os): Likewise.
25924         (CFLAGS-semtimedop.c): Renamed to ...
25925         (CFLAGS-semtimedop.o): This.
25927 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25929         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
25930         warning message.
25932 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25934         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
25935         * Makefile ($(objpfx)c++-types-check.out): Filter out
25936         $(+gccwarn-c) instead of -Wstrict-prototypes.
25938         * io/fts.c (fts_open): Convert to prototype-style function
25939         definition.
25940         * malloc/mcheck.c (mcheck): Likewise.
25941         (mcheck_pedantic): Likewise.
25942         * posix/regexec.c (re_search_2_stub): Likewise.  Use
25943         internal_function.
25944         (re_search_internal): Likewise.
25945         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
25946         prototype-style function definition.
25947         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25948         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
25949         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
25950         (xdr_utmpptr): Likewise.
25951         (xdr_utmparr): Likewise.
25952         (xdr_utmpidle): Likewise.
25953         (xdr_utmpidleptr): Likewise.
25954         (xdr_utmpidlearr): Likewise.
25956         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
25957         log, log10 and log2.
25958         * math/auto-libm-test-out: Regenerated.
25959         * math/libm-test.inc (fmod_test_data): Add more tests.
25960         (fpclassify_test_data): Likewise.
25961         (frexp_test_data): Likewise.
25962         (hypot_test_data): Likewise.
25963         (ilogb_test_data): Likewise.
25965 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
25967         * debug/fortify_fail.c (__fortify_fail): Convert to
25968         prototype-style function definition.  Use internal_function.
25969         * libio/genops.c (save_for_backup): Convert to prototype-style
25970         function definition.
25971         * libio/wgenops.c (save_for_wbackup): Likewise.
25972         * login/grantpt.c (grantpt): Likewise.
25973         * login/ptsname.c (ptsname): Likewise.
25974         (__ptsname_r): Likewise.
25975         * login/unlockpt.c (unlockpt): Likewise.
25976         * mach/msgserver.c (__mach_msg_server): Likewise.
25977         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
25978         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
25979         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
25980         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
25981         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
25982         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
25983         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
25984         Likewise.
25985         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
25986         internal_function.
25987         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
25988         prototype-style function definition.
25989         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
25990         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
25991         (__pthread_create_2_0): Likewise.
25992         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
25993         * nptl/register-atfork.c (__register_atfork): Likewise.
25994         * posix/glob.c (glob): Likewise.
25995         * posix/regcomp.c (re_comp): Likewise.
25996         * posix/regexec.c (re_exec): Likewise.
25997         * stdlib/add_n.c [__STDC__]: Make code unconditional.
25998         [!__STDC__]: Remove conditional code.
25999         * stdlib/cmp.c [__STDC__]: Make code unconditional.
26000         [!__STDC__]: Remove conditional code.
26001         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
26002         [!__STDC__]: Remove conditional code.
26003         * stdlib/divrem.c [__STDC__]: Make code unconditional.
26004         [!__STDC__]: Remove conditional code.
26005         * stdlib/lshift.c [__STDC__]: Make code unconditional.
26006         [!__STDC__]: Remove conditional code.
26007         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
26008         [!__STDC__]: Remove conditional code.
26009         * stdlib/mul.c [__STDC__]: Make code unconditional.
26010         [!__STDC__]: Remove conditional code.
26011         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
26012         [!__STDC__]: Remove conditional code.
26013         * stdlib/rshift.c [__STDC__]: Make code unconditional.
26014         [!__STDC__]: Remove conditional code.
26015         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
26016         function definition.
26017         (STRTOF): Likewise.
26018         * stdlib/strtod_l.c (__STRTOF): Likewise.
26019         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
26020         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
26021         (__strtol_l): Likewise.
26022         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
26023         [!__STDC__]: Remove conditional code.
26024         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
26025         definition.
26026         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26027         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26028         type.
26029         (__strcasecmp): Convert to prototype-style function definition.
26030         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
26031         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26032         type.
26033         (__strncasecmp): Convert to prototype-style function definition.
26034         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
26035         * sunrpc/xdr.c (xdr_union): Likewise.
26036         * sunrpc/xdr_array.c (xdr_array): Likewise.
26037         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
26038         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
26039         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
26040         Likewise.
26041         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
26042         Likewise.
26043         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
26044         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26045         Likewise.
26046         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
26047         (LOCALE_PARAM_PROTO): Likewise.
26048         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
26049         argument type.
26050         (ut_argument_spec): Remove macro.
26051         (ut_argument_spec_iso): Rename to ut_argument_spec.
26052         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
26053         prototype-style function definition.
26054         (memcpy_uppcase): Likewise.
26055         (__strftime_internal): Likewise.
26056         (my_strftime): Likewise.
26057         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
26058         (LOCALE_PARAM_DECL): Likewise.
26059         [_LIBC] (LOCALE_PARAM): Include argument type.
26060         (__strptime_internal): Convert to prototype-style function
26061         definition.
26062         (strptime): Likewise.
26063         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26064         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26065         type.
26066         (__wcscasecmp): Convert to prototype-style function definition.
26067         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
26068         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26069         type.
26070         (__wcsncasecmp): Convert to prototype-style function definition.
26072         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
26073         function definition.
26074         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26075         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26076         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
26077         * elf/dl-minimal.c (_itoa): Likewise.
26078         * hurd/hurdmalloc.c (malloc): Likewise.
26079         (free): Likewise.
26080         (realloc): Likewise.
26081         * inet/inet6_option.c (inet6_option_space): Likewise.
26082         (inet6_option_init): Likewise.
26083         (inet6_option_append): Likewise.
26084         (inet6_option_alloc): Likewise.
26085         (inet6_option_next): Likewise.
26086         (inet6_option_find): Likewise.
26087         * io/ftw.c (FTW_NAME): Likewise.
26088         (NFTW_NAME): Likewise.
26089         (NFTW_NEW_NAME): Likewise.
26090         (NFTW_OLD_NAME): Likewise.
26091         * libio/iofwide.c (_IO_fwide): Likewise.
26092         * libio/strops.c (_IO_str_init_static_internal): Likewise.
26093         (_IO_str_init_static): Likewise.
26094         (_IO_str_init_readonly): Likewise.
26095         (_IO_str_overflow): Likewise.
26096         (_IO_str_underflow): Likewise.
26097         (_IO_str_count): Likewise.
26098         (_IO_str_seekoff): Likewise.
26099         (_IO_str_pbackfail): Likewise.
26100         (_IO_str_finish): Likewise.
26101         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
26102         (_IO_wstr_overflow): Likewise.
26103         (_IO_wstr_underflow): Likewise.
26104         (_IO_wstr_count): Likewise.
26105         (_IO_wstr_seekoff): Likewise.
26106         (_IO_wstr_pbackfail): Likewise.
26107         (_IO_wstr_finish): Likewise.
26108         * locale/programs/localedef.c (normalize_codeset): Likewise.
26109         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26110         (add_locales_to_archive): Likewise.
26111         (delete_locales_from_archive): Likewise.
26112         * malloc/malloc.c (__libc_mallinfo): Likewise.
26113         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
26114         * misc/tsearch.c (__tfind): Likewise.
26115         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
26116         * nptl/pthread_attr_getdetachstate.c
26117         (__pthread_attr_getdetachstate): Likewise.
26118         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26119         Likewise.
26120         * nptl/pthread_attr_getinheritsched.c
26121         (__pthread_attr_getinheritsched): Likewise.
26122         * nptl/pthread_attr_getschedparam.c
26123         (__pthread_attr_getschedparam): Likewise.
26124         * nptl/pthread_attr_getschedpolicy.c
26125         (__pthread_attr_getschedpolicy): Likewise.
26126         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
26127         Likewise.
26128         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
26129         Likewise.
26130         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26131         Likewise.
26132         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26133         Likewise.
26134         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
26135         (__pthread_attr_init_2_0): Likewise.
26136         * nptl/pthread_attr_setdetachstate.c
26137         (__pthread_attr_setdetachstate): Likewise.
26138         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26139         Likewise.
26140         * nptl/pthread_attr_setinheritsched.c
26141         (__pthread_attr_setinheritsched): Likewise.
26142         * nptl/pthread_attr_setschedparam.c
26143         (__pthread_attr_setschedparam): Likewise.
26144         * nptl/pthread_attr_setschedpolicy.c
26145         (__pthread_attr_setschedpolicy): Likewise.
26146         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
26147         Likewise.
26148         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
26149         Likewise.
26150         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26151         Likewise.
26152         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26153         Likewise.
26154         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
26155         Likewise.
26156         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
26157         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
26158         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
26159         use internal_function.
26160         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
26161         prototype-style function definition.
26162         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26163         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
26164         internal_function.
26165         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
26166         Convert to prototype-style function definition.
26167         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
26168         Likewise.
26169         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
26170         Likewise.
26171         (__pthread_mutex_unlock): Likewise.
26172         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
26173         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
26174         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
26175         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
26176         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
26177         * nss/makedb.c (process_input): Likewise.
26178         * posix/fnmatch.c (__strchrnul): Likewise.
26179         (__wcschrnul): Likewise.
26180         (fnmatch): Likewise.
26181         * posix/fnmatch_loop.c (FCT): Likewise.
26182         * posix/glob.c (globfree): Likewise.
26183         (__glob_pattern_type): Likewise.
26184         (__glob_pattern_p): Likewise.
26185         * posix/regcomp.c (re_compile_pattern): Likewise.
26186         (re_set_syntax): Likewise.
26187         (re_compile_fastmap): Likewise.
26188         (regcomp): Likewise.
26189         (regerror): Likewise.
26190         (regfree): Likewise.
26191         * posix/regexec.c (regexec): Likewise.
26192         (re_match): Likewise.
26193         (re_search): Likewise.
26194         (re_match_2): Likewise.
26195         (re_search_2): Likewise.
26196         (re_search_stub): Likewise.  Use internal_function
26197         (re_copy_regs): Likewise.
26198         (re_set_registers): Convert to prototype-style function
26199         definition.
26200         (prune_impossible_nodes): Likewise.  Use internal_function.
26201         * resolv/inet_net_pton.c (inet_net_pton): Convert to
26202         prototype-style function definition.
26203         (inet_net_pton_ipv4): Likewise.
26204         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26205         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
26206         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
26207         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
26208         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26209         Make variadic.
26210         * time/strptime_l.c (localtime_r): Convert to prototype-style
26211         function definition.
26212         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26213         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26214         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26215         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26217         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
26218         definition.
26219         (_ufc_doit_r): Likewise.
26220         * crypt/crypt_util.c (_ufc_copymem): Likewise.
26221         (_ufc_output_conversion_r): Likewise.
26222         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
26223         * inet/rcmd.c (rcmd_af): Likewise.
26224         (rcmd): Likewise.
26225         (ruserok_af): Likewise.
26226         (ruserok): Likewise.
26227         (ruserok2_sa): Likewise.
26228         (ruserok_sa): Likewise.
26229         (iruserok_af): Likewise.
26230         (iruserok): Likewise.
26231         (__ivaliduser): Likewise.
26232         (__validuser2_sa): Likewise.
26233         * inet/rexec.c (rexec_af): Likewise.
26234         (rexec): Likewise.
26235         * inet/ruserpass.c (ruserpass): Likewise.
26236         * locale/programs/xmalloc.c (xcalloc): Likewise.
26237         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
26238         * math/w_drem.c (__drem): Likewise.
26239         * math/w_dremf.c (__dremf): Likewise.
26240         * math/w_dreml.c (__dreml): Likewise.
26241         * misc/daemon.c (daemon): Likewise.
26242         * resolv/res_debug.c (p_fqnname): Likewise.
26243         * stdlib/div.c (div): Likewise.
26244         * string/memcmp.c (memcmp_bytes): Likewise.
26245         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
26246         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
26248         * crypt/cert.c (main): Convert to prototype-style function
26249         definition.
26250         * io/pipe.c (__pipe): Likewise.
26251         * io/pipe2.c (__pipe2): Likewise.
26252         * misc/futimesat.c (futimesat): Likewise.
26253         * misc/utimes.c (__utimes): Likewise.
26254         * posix/execve.c (__execve): Likewise.
26255         * posix/execvp.c (execvp): Likewise.
26256         * posix/execvpe.c (__execvpe): Likewise.
26257         * posix/fexecve.c (fexecve): Likewise.
26258         * socket/socketpair.c (socketpair): Likewise.
26259         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26260         * stdlib/erand48.c (erand48): Likewise.
26261         * stdlib/erand48_r.c (__erand48_r): Likewise.
26262         * stdlib/jrand48.c (jrand48): Likewise.
26263         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
26264         * stdlib/lcong48.c (lcong48): Likewise.
26265         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
26266         * stdlib/nrand48.c (nrand48): Likewise.
26267         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
26268         * stdlib/seed48.c (seed48): Likewise.
26269         * stdlib/seed48_r.c (__seed48_r): Likewise.
26270         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
26271         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
26272         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
26274 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
26276         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
26277         * configure: Regenerated.
26278         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
26279         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
26280         unconditional.
26281         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26282         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26283         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26284         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
26285         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
26286         unconditional.
26287         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26289         * posix/Makefile (CFLAGS-regex.c): Remove variable.
26290         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
26292         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
26293         function definition.
26294         * crypt/crypt_util.c (__encrypt_r): Likewise.
26295         * libio/genops.c (_IO_no_init): Likewise.
26296         * libio/iofopncook.c (_IO_fopencookie): Likewise.
26297         (_IO_old_fopencookie): Likewise.
26298         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26299         * libio/iogetline.c (_IO_getline): Likewise.
26300         (_IO_getline_info): Likewise.
26301         * libio/iogetwline.c (_IO_getwline): Likewise.
26302         (_IO_getwline_info): Likewise.
26303         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
26304         * libio/vswprintf.c (_IO_vswprintf): Likewise.
26305         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
26306         (find_entry): Likewise.
26307         (iterate_table): Likewise.
26308         (lookup): Likewise.
26309         * login/forkpty.c (forkpty): Likewise.
26310         * misc/hsearch_r.c (__hsearch_r): Likewise.
26311         * misc/select.c (__select): Likewise.
26312         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
26313         Likewise.
26314         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
26315         Likewise.
26316         * nptl/old_pthread_cond_timedwait.c
26317         (__pthread_cond_timedwait_2_0): Likewise.
26318         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26319         * nptl/pthread_barrierattr_getpshared.c
26320         (pthread_barrierattr_getpshared): Likewise.
26321         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
26322         Likewise.
26323         * nptl/pthread_mutex_setprioceiling.c
26324         (pthread_mutex_setprioceiling): Likewise.
26325         * nptl/pthread_mutexattr_getprioceiling.c
26326         (pthread_mutexattr_getprioceiling): Likewise.
26327         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26328         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26329         Likewise.
26330         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26331         Likewise.
26332         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
26333         Likewise.
26334         * socket/recvfrom.c (__recvfrom): Likewise.
26335         * socket/sendto.c (__sendto): Likewise.
26336         * socket/setsockopt.c (__setsockopt): Likewise.
26337         * stdio-common/_itoa.c (_itoa): Likewise.
26338         * stdio-common/_itowa.c (_itowa): Likewise.
26339         * stdio-common/reg-printf.c (__register_printf_specifier):
26340         Likewise.
26341         (__register_printf_function): Likewise.
26342         * stdio-common/tempname.c (__path_search): Likewise.
26343         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
26344         * stdlib/mul_1.c (mpn_mul_1): Likewise.
26345         * stdlib/random_r.c (__initstate_r): Likewise.
26346         * stdlib/setenv.c (__add_to_environ): Likewise.
26347         * stdlib/submul_1.c (mpn_submul_1): Likewise.
26348         * streams/getpmsg.c (getpmsg): Likewise.
26349         * streams/putmsg.c (putmsg): Likewise.
26350         * streams/putpmsg.c (putpmsg): Likewise.
26351         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
26352         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
26353         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
26354         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
26355         * sunrpc/pm_getport.c (pmap_getport): Likewise.
26356         * sunrpc/svc_udp.c (cache_get): Likewise.
26357         * sunrpc/xdr_array.c (xdr_vector): Likewise.
26358         * sysdeps/mach/hurd/getcwd.c
26359         (__canonicalize_directory_name_internal): Likewise.
26360         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
26361         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
26362         * sysdeps/mach/hurd/select.c (__select): Likewise.
26363         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
26364         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
26365         * sysdeps/sparc/nptl/pthread_barrier_init.c
26366         (__pthread_barrier_init): Likewise.
26367         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
26368         (__pthread_cond_timedwait): Likewise.
26369         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
26370         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
26371         Likewise.
26372         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
26373         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
26374         Likewise.
26375         * sysvipc/semtimedop.c (semtimedop): Likewise.
26376         * time/setitimer.c (__setitimer): Likewise.
26377         * time/strftime_l.c (emacs_strftime): Likewise.
26379 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
26381         * config.make.in (have-ssp): Delete.
26382         (stack-protector): New variable.
26383         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
26384         cache test for -fstack-protector-strong.  Export stack_protector to
26385         the best ssp flag.
26386         * configure: Regenerated.
26387         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
26388         * nscd/Makefile (CFLAGS-nscd): Likewise.
26389         * resolv/Makefile (CFLAGS-libresolv): Likewise.
26391 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
26393         [BZ #19122]
26394         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
26395         attribute_hidden.
26397 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26399         [BZ #18743]
26400         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
26401         code to...
26402         (ELIDE_LOCK): ...here.
26403         (__get_new_count): New function with part of the code from
26404         __elide_lock that updates the value of adapt_count after a
26405         transaction abort.
26406         (__elided_trylock): Moved this code to...
26407         (ELIDE_TRYLOCK): ...here.
26409 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
26411         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
26412         * configure: Regenerate.
26413         * INSTALL: Regenerate.
26414         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
26415         and tweak grammar.
26417 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
26419         * login/programs/pt_chown.c: Include signal.h
26420         (main): Clear any signal mask from the parent process.
26422 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
26424         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
26425         * configure: Regenerated.
26426         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
26427         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
26428         $(gnu89-inline-CFLAGS).
26430         * configure.ac (libc_cv_asm_weak_directive): Remove configure
26431         test.
26432         (libc_cv_asm_weakext_directive): Likewise.
26433         * configure: Regenerated.
26434         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
26435         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
26436         * include/libc-symbols.h
26437         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
26438         #error.
26439         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
26440         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
26442         * sysdeps/arm/backtrace.c (__backtrace): Convert to
26443         prototype-style function definition.
26444         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26445         * sysdeps/i386/ffs.c (__ffs): Likewise.
26446         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26447         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
26448         Likewise.
26449         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26450         Likewise.
26451         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26452         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26453         Likewise.
26454         * sysdeps/m68k/ffs.c (__ffs): Likewise.
26455         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
26456         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
26457         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
26458         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
26459         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
26460         * sysdeps/mach/hurd/access.c (__access): Likewise.
26461         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
26462         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
26463         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
26464         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
26465         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
26466         (cthread_getspecific): Likewise.
26467         (cthread_setspecific): Likewise.
26468         (__libc_getspecific): Likewise.
26469         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
26470         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
26471         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
26472         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
26473         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
26474         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
26475         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
26476         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
26477         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
26478         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
26479         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
26480         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
26481         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
26482         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
26483         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
26484         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
26485         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
26486         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
26487         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
26488         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
26489         * sysdeps/mach/hurd/link.c (__link): Likewise.
26490         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
26491         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
26492         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
26493         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
26494         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26495         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
26496         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
26497         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
26498         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
26499         * sysdeps/mach/hurd/rename.c (rename): Likewise.
26500         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
26501         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26502         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
26503         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
26504         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
26505         * sysdeps/mach/hurd/send.c (__send): Likewise.
26506         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
26507         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
26508         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
26509         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
26510         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
26511         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
26512         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
26513         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
26514         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
26515         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
26516         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
26517         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
26518         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
26519         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
26520         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
26521         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26522         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
26523         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26524         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
26525         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
26526         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
26527         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
26528         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
26529         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
26530         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
26531         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
26532         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
26533         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
26534         * sysdeps/posix/alarm.c (alarm): Likewise.
26535         * sysdeps/posix/cuserid.c (cuserid): Likewise.
26536         * sysdeps/posix/dirfd.c (dirfd): Likewise.
26537         * sysdeps/posix/dup.c (__dup): Likewise.
26538         * sysdeps/posix/dup2.c (__dup2): Likewise.
26539         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
26540         (main): Likewise.
26541         * sysdeps/posix/flock.c (__flock): Likewise.
26542         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
26543         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
26544         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
26545         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
26546         * sysdeps/posix/isatty.c (__isatty): Likewise.
26547         * sysdeps/posix/killpg.c (killpg): Likewise.
26548         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26549         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
26550         * sysdeps/posix/raise.c (raise): Likewise.
26551         * sysdeps/posix/remove.c (remove): Likewise.
26552         * sysdeps/posix/rename.c (rename): Likewise.
26553         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
26554         * sysdeps/posix/seekdir.c (seekdir): Likewise.
26555         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26556         * sysdeps/posix/sigignore.c (sigignore): Likewise.
26557         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
26558         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
26559         * sysdeps/posix/sigset.c (sigset): Likewise.
26560         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
26561         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
26562         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
26563         * sysdeps/posix/time.c (time): Likewise.
26564         * sysdeps/posix/ttyname.c (getttyname): Likewise.
26565         (ttyname): Likewise.
26566         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
26567         * sysdeps/posix/utime.c (utime): Likewise.
26568         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
26569         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26570         Likewise.
26571         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
26572         (pthread_spin_trylock): Likewise.
26573         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
26574         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
26575         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
26576         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
26577         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
26578         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
26579         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
26580         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
26581         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
26582         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
26583         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
26584         * sysdeps/s390/ffs.c (__ffs): Likewise.
26585         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
26586         Likewise.
26587         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26588         Likewise.
26589         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
26590         Likewise.
26591         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
26592         (pthread_barrier_destroy): Likewise.
26593         * sysdeps/sparc/nptl/pthread_barrier_wait.c
26594         (__pthread_barrier_wait): Likewise.
26595         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
26596         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
26597         (__pthread_barrier_wait): Likewise.
26598         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
26599         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
26600         (memcmp_not_common_alignment): Likewise.
26601         (MEMCMP): Likewise.
26602         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
26603         (_wordcopy_fwd_dest_aligned): Likewise.
26604         (_wordcopy_bwd_aligned): Likewise.
26605         (_wordcopy_bwd_dest_aligned): Likewise.
26606         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
26607         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
26608         * sysdeps/unix/bsd/stty.c (stty): Likewise.
26609         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
26610         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
26611         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
26612         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
26613         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
26614         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
26615         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
26616         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
26617         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
26618         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
26619         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
26620         * sysdeps/unix/stime.c (stime): Likewise.
26621         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
26622         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
26623         Likewise.  Use internal_function.
26624         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
26625         Convert to prototype-style function definition.
26626         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26627         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26628         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
26629         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26630         Likewise.  Use internal_function.
26631         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
26632         prototype-style function definition
26633         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26634         Likewise.
26635         (__getlogin_r): Likewise.
26636         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
26637         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
26638         (__pthread_cond_broadcast): Likewise.
26639         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
26640         (__pthread_cond_destroy): Likewise.
26641         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
26642         (__pthread_cond_init): Likewise.
26643         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
26644         (__pthread_cond_signal): Likewise.
26645         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
26646         (__pthread_cond_wait): Likewise.
26647         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
26648         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26649         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
26650         Likewise.
26651         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
26652         Likewise.
26653         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26654         Likewise.
26655         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
26656         Likewise.
26657         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
26658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
26659         (__ftruncate64): Likewise.
26660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
26661         (truncate64): Likewise.
26662         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
26663         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
26664         (pthread_getcpuclockid): Likewise.
26665         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
26666         Likewise.
26667         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
26668         Likewise.
26669         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
26670         Likewise.
26671         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
26672         Likewise.
26673         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
26674         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
26675         (__libc_sigaction): Likewise.
26676         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
26677         Likewise.
26678         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26679         (__sigprocmask): Likewise.
26680         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
26681         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
26682         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
26683         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26684         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26685         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
26686         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26687         Likewise.
26688         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
26689         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
26690         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26691         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
26692         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
26693         Likewise.
26694         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26695         (__sigprocmask): Likewise.
26696         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
26697         (cfgetispeed): Likewise.
26698         (cfsetospeed): Likewise.
26699         (cfsetispeed): Likewise.
26700         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
26701         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
26702         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26703         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26704         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
26705         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
26706         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
26707         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
26708         Likewise.
26709         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
26710         Likewise.
26711         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
26712         Likewise.
26713         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26714         Likewise.
26715         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26717 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26719         sunrpc: Rewrite with explicit TLS access using __thread.
26720         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
26721         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
26722         directly.
26723         (__rpc_thread_variables): Access thread_rpc_vars directly.
26724         Eliminate redundant assignment of the tvp variable.
26726 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26728         malloc: Rewrite with explicit TLS access using __thread.
26729         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
26730         (tsd_setspecific, tsd_getspecific): Remove.
26731         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
26732         (tsd_setspecific, tsd_getspecific): Likewise.
26733         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
26734         (tsd_setspecific, tsd_getspecific): Likewise.
26735         * malloc/arena.c (thread_arena): New TLS variable.
26736         (arena_key): Remove variable.
26737         (arena_get): Use thread_arena.
26738         (arena_lookup): Remove macro.
26739         (malloc_atfork, free_atfork, ptmalloc_lock_all)
26740         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
26741         (_int_new_arena, get_free_list, reused_arena)
26742         (arena_thread_freeres): Use thread_arena.
26743         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
26744         tsd_getspecific, tsd_setspecific from safety annotations.
26745         (Allocating Cleared Space): Remove arena_lookup from safety
26746         annotations.
26748 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26750         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
26751         struct scratch_buffer instead of extend_alloca.
26753 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26755         * sysdeps/unix/sysv/linux/kernel-features.h
26756         (__ASSUME_SOCK_CLOEXEC): Remove.
26757         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
26758         (__have_paccept): Remove unused macro.
26759         * include/unistd.h (__have_sock_cloexec): Remove declaration.
26760         * misc/syslog.c (openlog_internal): Remove fallback code for
26761         !__ASSUME_SOCK_CLOEXEC.
26762         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
26763         missing SOCK_CLOEXEC.
26764         * nscd/connections.c (have_sock_cloexec): Remove definition.
26765         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26766         * nscd/nscd_helper.c (open_socket): Remove fallback code for
26767         !__ASSUME_SOCK_CLOEXEC.
26768         * resolv/res_send.c (__have_o_nonblock): Remove definition.
26769         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26770         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
26771         definition.
26772         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
26773         code for !__ASSUME_SOCK_CLOEXEC.
26775 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26777         [BZ #18982]
26778         * manual/stdio.texi (Variable Arguments Output): Add portability
26779         note, explaining that vfprintf clobbers the va_list pointer.
26781 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26783         * math/libm-test.inc (fabs_test_data): Add more tests.
26784         (fdim_test_data): Likewise.
26785         (fma_test_data): Likewise.
26786         (fmax_test_data): Likewise.
26787         (fmin_test_data): Likewise.
26788         (fmod_test_data): Likewise.
26790 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
26792         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
26793         data.
26795 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26797         * math/libm-test.inc (ceil_test_data): Add more tests and more
26798         expectations for "inexact".
26799         (floor_test_data): Add more tests.
26800         (round_test_data): Likewise.
26801         (trunc_test_data): Likewise.
26803         * crypt/cert.c (good_bye): Convert to prototype-style function
26804         definition.
26805         (get8): Likewise.
26806         (put8): Likewise.
26807         * crypt/crypt-entry.c (crypt): Likewise.
26808         (__fcrypt): Likewise.
26809         * crypt/crypt_util.c (_ufc_prbits): Likewise.
26810         (_ufc_set_bits): Likewise.
26811         (_ufc_clearmem): Likewise.
26812         (__init_des_r): Likewise.
26813         (shuffle_sb): Likewise.
26814         (shuffle_sb): Likewise.
26815         (_ufc_setup_salt_r): Likewise.
26816         (_ufc_mk_keytab_r): Likewise.
26817         (_ufc_dofinalperm_r): Likewise.
26818         (encrypt): Likewise.
26819         (__setkey_r): Likewise.
26820         (setkey): Likewise.
26821         * crypt/md5.c (md5_init_ctx): Likewise.
26822         (md5_read_ctx): Likewise.
26823         (md5_finish_ctx): Likewise.
26824         (md5_stream): Likewise.
26825         (md5_buffer): Likewise.
26826         (md5_process_bytes): Likewise.
26827         * crypt/sha256.c (__sha256_init_ctx): Likewise.
26828         (__sha256_finish_ctx): Likewise.
26829         (__sha256_process_bytes): Likewise.
26830         * crypt/sha512.c (__sha512_init_ctx): Likewise.
26831         (__sha512_finish_ctx): Likewise.
26832         (__sha512_process_bytes): Likewise.
26833         * ctype/isctype.c (__isctype): Likewise.
26834         * debug/backtrace.c (__backtrace): Likewise.
26835         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
26836         * debug/fgets_chk.c (__fgets_chk): Likewise.
26837         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
26838         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
26839         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26840         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26841         * debug/memset_chk.c (__memset_chk): Likewise.
26842         * debug/strcat_chk.c (__strcat_chk): Likewise.
26843         * debug/strncat_chk.c (__strncat_chk): Likewise.
26844         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
26845         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
26846         * dirent/dirfd.c (dirfd): Likewise.
26847         * dirent/getdents.c (__getdirentries): Likewise.
26848         * dirent/getdents64.c (getdirentries64): Likewise.
26849         * dirent/rewinddir.c (__rewinddir): Likewise.
26850         * dirent/seekdir.c (seekdir): Likewise.
26851         * dirent/telldir.c (telldir): Likewise.
26852         * elf/sln.c (makesymlinks): Likewise.
26853         (makesymlink): Likewise.
26854         * gmon/gmon.c (__moncontrol): Likewise.
26855         (__monstartup): Likewise.
26856         (write_hist): Likewise.
26857         (write_call_graph): Likewise.
26858         (write_bb_counts): Likewise.
26859         * grp/setgroups.c (setgroups): Likewise.
26860         * inet/inet_lnaof.c (inet_lnaof): Likewise.
26861         * inet/inet_net.c (inet_network): Likewise.
26862         * inet/inet_netof.c (inet_netof): Likewise.
26863         * inet/rcmd.c (rresvport_af): Likewise.
26864         (rresvport): Likewise.
26865         * io/access.c (__access): Likewise.
26866         * io/chdir.c (__chdir): Likewise.
26867         * io/chmod.c (__chmod): Likewise.
26868         * io/chown.c (__chown): Likewise.
26869         * io/close.c (__close): Likewise.
26870         * io/creat.c (creat): Likewise.
26871         * io/creat64.c (creat64): Likewise.
26872         * io/dup.c (__dup): Likewise.
26873         * io/dup2.c (__dup2): Likewise.
26874         * io/dup3.c (__dup3): Likewise.
26875         * io/euidaccess.c (__euidaccess): Likewise.
26876         * io/faccessat.c (faccessat): Likewise.
26877         * io/fchmod.c (__fchmod): Likewise.
26878         * io/fchmodat.c (fchmodat): Likewise.
26879         * io/fchown.c (__fchown): Likewise.
26880         * io/fchownat.c (fchownat): Likewise.
26881         * io/fcntl.c (__fcntl): Likewise.
26882         * io/flock.c (__flock): Likewise.
26883         * io/fts.c (fts_load): Likewise.
26884         (fts_close): Likewise.
26885         (fts_read): Likewise.
26886         (fts_set): Likewise.
26887         (fts_children): Likewise.
26888         (fts_build): Likewise.
26889         (fts_stat): Likewise.
26890         (fts_sort): Likewise.
26891         (fts_alloc): Likewise.
26892         (fts_lfree): Likewise.
26893         (fts_palloc): Likewise.
26894         (fts_padjust): Likewise.
26895         (fts_maxarglen): Likewise.
26896         (fts_safe_changedir): Likewise.
26897         * io/getwd.c (getwd): Likewise.
26898         * io/isatty.c (__isatty): Likewise.
26899         * io/lchown.c (__lchown): Likewise.
26900         * io/link.c (__link): Likewise.
26901         * io/linkat.c (linkat): Likewise.
26902         * io/lseek.c (__libc_lseek): Likewise.
26903         * io/mkdir.c (__mkdir): Likewise.
26904         * io/mkdirat.c (mkdirat): Likewise.
26905         * io/mkfifo.c (mkfifo): Likewise.
26906         * io/mkfifoat.c (mkfifoat): Likewise.
26907         * io/open.c (__libc_open): Likewise.
26908         * io/open64.c (__libc_open64): Likewise.
26909         * io/readlink.c (__readlink): Likewise.
26910         * io/readlinkat.c (readlinkat): Likewise.
26911         * io/rmdir.c (__rmdir): Likewise.
26912         * io/symlink.c (__symlink): Likewise.
26913         * io/symlinkat.c (symlinkat): Likewise.
26914         * io/ttyname.c (ttyname): Likewise.
26915         * io/ttyname_r.c (__ttyname_r): Likewise.
26916         * io/umask.c (__umask): Likewise.
26917         * io/unlink.c (__unlink): Likewise.
26918         * io/unlinkat.c (unlinkat): Likewise.
26919         * io/utime.c (utime): Likewise.
26920         * libio/clearerr.c (clearerr): Likewise.
26921         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
26922         * libio/feof.c (_IO_feof): Likewise.
26923         * libio/feof_u.c (feof_unlocked): Likewise.
26924         * libio/ferror.c (_IO_ferror): Likewise.
26925         * libio/ferror_u.c (ferror_unlocked): Likewise.
26926         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26927         * libio/fileno.c (__fileno): Likewise.
26928         * libio/fputc.c (fputc): Likewise.
26929         * libio/fputc_u.c (fputc_unlocked): Likewise.
26930         * libio/fputwc.c (fputwc): Likewise.
26931         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
26932         * libio/freopen.c (freopen): Likewise.
26933         * libio/freopen64.c (freopen64): Likewise.
26934         * libio/fseek.c (fseek): Likewise.
26935         * libio/fseeko.c (fseeko): Likewise.
26936         * libio/fseeko64.c (fseeko64): Likewise.
26937         * libio/ftello.c (__ftello): Likewise.
26938         * libio/ftello64.c (ftello64): Likewise.
26939         * libio/fwide.c (fwide): Likewise.
26940         * libio/genops.c (_IO_un_link): Likewise.
26941         (_IO_link_in): Likewise.
26942         (_IO_least_marker): Likewise.
26943         (_IO_switch_to_main_get_area): Likewise.
26944         (_IO_switch_to_backup_area): Likewise.
26945         (_IO_switch_to_get_mode): Likewise.
26946         (_IO_free_backup_area): Likewise.
26947         (_IO_switch_to_put_mode): Likewise.
26948         (__overflow): Likewise.
26949         (__underflow): Likewise.
26950         (__uflow): Likewise.
26951         (_IO_setb): Likewise.
26952         (_IO_doallocbuf): Likewise.
26953         (_IO_default_underflow): Likewise.
26954         (_IO_default_uflow): Likewise.
26955         (_IO_default_xsputn): Likewise.
26956         (_IO_sgetn): Likewise.
26957         (_IO_default_xsgetn): Likewise.
26958         (_IO_sync): Likewise.
26959         (_IO_default_setbuf): Likewise.
26960         (_IO_default_seekpos): Likewise.
26961         (_IO_default_doallocate): Likewise.
26962         (_IO_init): Likewise.
26963         (_IO_old_init): Likewise.
26964         (_IO_default_sync): Likewise.
26965         (_IO_default_finish): Likewise.
26966         (_IO_default_seekoff): Likewise.
26967         (_IO_sputbackc): Likewise.
26968         (_IO_sungetc): Likewise.
26969         (_IO_set_column): Likewise.
26970         (_IO_set_column): Likewise.
26971         (_IO_adjust_column): Likewise.
26972         (_IO_get_column): Likewise.
26973         (_IO_init_marker): Likewise.
26974         (_IO_remove_marker): Likewise.
26975         (_IO_marker_difference): Likewise.
26976         (_IO_marker_delta): Likewise.
26977         (_IO_seekmark): Likewise.
26978         (_IO_unsave_markers): Likewise.
26979         (_IO_nobackup_pbackfail): Likewise.
26980         (_IO_default_pbackfail): Likewise.
26981         (_IO_default_seek): Likewise.
26982         (_IO_default_stat): Likewise.
26983         (_IO_default_read): Likewise.
26984         (_IO_default_write): Likewise.
26985         (_IO_default_showmanyc): Likewise.
26986         (_IO_default_imbue): Likewise.
26987         (_IO_iter_next): Likewise.
26988         (_IO_iter_file): Likewise.
26989         * libio/getc.c (_IO_getc): Likewise.
26990         * libio/getwc.c (_IO_getwc): Likewise.
26991         * libio/iofclose.c (_IO_new_fclose): Likewise.
26992         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26993         * libio/iofflush.c (_IO_fflush): Likewise.
26994         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
26995         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
26996         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
26997         * libio/iofgets.c (_IO_fgets): Likewise.
26998         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
26999         * libio/iofgetws.c (fgetws): Likewise.
27000         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27001         * libio/iofopen64.c (_IO_fopen64): Likewise.
27002         * libio/iofopncook.c (_IO_cookie_read): Likewise.
27003         (_IO_cookie_write): Likewise.
27004         (_IO_cookie_seek): Likewise.
27005         (_IO_cookie_close): Likewise.
27006         (_IO_cookie_seekoff): Likewise.
27007         (_IO_old_cookie_seek): Likewise.
27008         * libio/iofputs.c (_IO_fputs): Likewise.
27009         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
27010         * libio/iofputws.c (fputws): Likewise.
27011         * libio/iofputws_u.c (fputws_unlocked): Likewise.
27012         * libio/iofread.c (_IO_fread): Likewise.
27013         * libio/iofread_u.c (__fread_unlocked): Likewise.
27014         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
27015         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
27016         * libio/ioftell.c (_IO_ftell): Likewise.
27017         * libio/iofwrite.c (_IO_fwrite): Likewise.
27018         * libio/iogetdelim.c (_IO_getdelim): Likewise.
27019         * libio/iogets.c (_IO_gets): Likewise.
27020         * libio/iopadn.c (_IO_padn): Likewise.
27021         * libio/iopopen.c (_IO_new_proc_open): Likewise.
27022         (_IO_new_popen): Likewise.
27023         (_IO_new_proc_close): Likewise.
27024         * libio/ioputs.c (_IO_puts): Likewise.
27025         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
27026         (_IO_seekoff): Likewise.
27027         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
27028         (_IO_seekpos): Likewise.
27029         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
27030         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
27031         * libio/ioungetc.c (_IO_ungetc): Likewise.
27032         * libio/ioungetwc.c (ungetwc): Likewise.
27033         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27034         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
27035         * libio/iowpadn.c (_IO_wpadn): Likewise.
27036         * libio/libc_fatal.c (__libc_fatal): Likewise.
27037         * libio/memstream.c (__open_memstream): Likewise.
27038         (_IO_mem_sync): Likewise.
27039         (_IO_mem_finish): Likewise.
27040         * libio/oldfileops.c (_IO_old_file_init): Likewise.
27041         (_IO_old_file_close_it): Likewise.
27042         (_IO_old_file_finish): Likewise.
27043         (_IO_old_file_fopen): Likewise.
27044         (_IO_old_file_attach): Likewise.
27045         (_IO_old_file_setbuf): Likewise.
27046         (_IO_old_do_write): Likewise.
27047         (old_do_write): Likewise.
27048         (_IO_old_file_underflow): Likewise.
27049         (_IO_old_file_overflow): Likewise.
27050         (_IO_old_file_sync): Likewise.
27051         (_IO_old_file_seekoff): Likewise.
27052         (_IO_old_file_write): Likewise.
27053         (_IO_old_file_xsputn): Likewise.
27054         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
27055         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27056         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
27057         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
27058         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
27059         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
27060         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
27061         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
27062         (_IO_old_popen): Likewise.
27063         (_IO_old_proc_close): Likewise.
27064         * libio/oldpclose.c (__old_pclose): Likewise.
27065         * libio/pclose.c (__new_pclose): Likewise.
27066         * libio/peekc.c (_IO_peekc_locked): Likewise.
27067         * libio/putc.c (_IO_putc): Likewise.
27068         * libio/putc_u.c (putc_unlocked): Likewise.
27069         * libio/putchar.c (putchar): Likewise.
27070         * libio/putchar_u.c (putchar_unlocked): Likewise.
27071         * libio/putwc.c (putwc): Likewise.
27072         * libio/putwc_u.c (putwc_unlocked): Likewise.
27073         * libio/putwchar.c (putwchar): Likewise.
27074         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
27075         * libio/rewind.c (rewind): Likewise.
27076         * libio/setbuf.c (setbuf): Likewise.
27077         * libio/setlinebuf.c (setlinebuf): Likewise.
27078         * libio/vasprintf.c (_IO_vasprintf): Likewise.
27079         * libio/vscanf.c (_IO_vscanf): Likewise.
27080         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
27081         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
27082         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27083         * libio/wgenops.c (_IO_least_wmarker): Likewise.
27084         (_IO_switch_to_main_wget_area): Likewise.
27085         (_IO_switch_to_wbackup_area): Likewise.
27086         (_IO_wsetb): Likewise.
27087         (_IO_wdefault_pbackfail): Likewise.
27088         (_IO_wdefault_finish): Likewise.
27089         (_IO_wdefault_uflow): Likewise.
27090         (__woverflow): Likewise.
27091         (__wuflow): Likewise.
27092         (__wunderflow): Likewise.
27093         (_IO_wdefault_xsputn): Likewise.
27094         (_IO_wdefault_xsgetn): Likewise.
27095         (_IO_wdoallocbuf): Likewise.
27096         (_IO_wdefault_doallocate): Likewise.
27097         (_IO_switch_to_wget_mode): Likewise.
27098         (_IO_free_wbackup_area): Likewise.
27099         (_IO_switch_to_wput_mode): Likewise.
27100         (_IO_sputbackwc): Likewise.
27101         (_IO_sungetwc): Likewise.
27102         (_IO_adjust_wcolumn): Likewise.
27103         (_IO_init_wmarker): Likewise.
27104         (_IO_wmarker_delta): Likewise.
27105         (_IO_seekwmark): Likewise.
27106         (_IO_unsave_wmarkers): Likewise.
27107         * libio/wmemstream.c (open_wmemstream): Likewise.
27108         (_IO_wmem_sync): Likewise.
27109         (_IO_wmem_finish): Likewise.
27110         * locale/nl_langinfo.c (nl_langinfo): Likewise.
27111         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
27112         * locale/programs/simple-hash.c (init_hash): Likewise.
27113         (delete_hash): Likewise.
27114         (insert_entry): Likewise.
27115         (set_entry): Likewise.
27116         (next_prime): Likewise.
27117         (is_prime): Likewise.
27118         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
27119         (xmalloc): Likewise.
27120         (xrealloc): Likewise.
27121         * locale/programs/xstrdup.c (xstrdup): Likewise.
27122         * localedata/collate-test.c (xstrcoll): Likewise.
27123         * localedata/xfrm-test.c (xstrcmp): Likewise.
27124         * login/getlogin_r.c (__getlogin_r): Likewise.
27125         * login/getpt.c (__posix_openpt): Likewise.
27126         * login/login_tty.c (login_tty): Likewise.
27127         * login/setlogin.c (setlogin): Likewise.
27128         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
27129         (mach_msg_destroy_port): Likewise.
27130         (mach_msg_destroy_memory): Likewise.
27131         * malloc/mcheck.c (flood): Likewise.
27132         * misc/acct.c (acct): Likewise.
27133         * misc/brk.c (__brk): Likewise.
27134         * misc/chflags.c (chflags): Likewise.
27135         * misc/chroot.c (chroot): Likewise.
27136         * misc/fchflags.c (fchflags): Likewise.
27137         * misc/fstab.c (getfsspec): Likewise.
27138         (getfsfile): Likewise.
27139         * misc/fsync.c (fsync): Likewise.
27140         * misc/ftruncate.c (__ftruncate): Likewise.
27141         * misc/ftruncate64.c (__ftruncate64): Likewise.
27142         * misc/getdomain.c (getdomainname): Likewise.
27143         (getdomainname): Likewise.
27144         * misc/gethostname.c (__gethostname): Likewise.
27145         * misc/getpass.c (getpass): Likewise.
27146         * misc/getttyent.c (skip): Likewise.
27147         (value): Likewise.
27148         * misc/gtty.c (gtty): Likewise.
27149         * misc/hsearch.c (hsearch): Likewise.
27150         (hcreate): Likewise.
27151         * misc/hsearch_r.c (__hcreate_r): Likewise.
27152         (__hdestroy_r): Likewise.
27153         * misc/ioctl.c (__ioctl): Likewise.
27154         * misc/mkdtemp.c (mkdtemp): Likewise.
27155         * misc/mkostemp.c (mkostemp): Likewise.
27156         * misc/mkostemp64.c (mkostemp64): Likewise.
27157         * misc/mkostemps.c (mkostemps): Likewise.
27158         * misc/mkostemps64.c (mkostemps64): Likewise.
27159         * misc/mkstemp.c (mkstemp): Likewise.
27160         * misc/mkstemp64.c (mkstemp64): Likewise.
27161         * misc/mkstemps.c (mkstemps): Likewise.
27162         * misc/mkstemps64.c (mkstemps64): Likewise.
27163         * misc/mktemp.c (__mktemp): Likewise.
27164         * misc/preadv.c (preadv): Likewise.
27165         * misc/preadv64.c (preadv64): Likewise.
27166         * misc/pwritev.c (pwritev): Likewise.
27167         * misc/pwritev64.c (pwritev64): Likewise.
27168         * misc/readv.c (__readv): Likewise.
27169         * misc/revoke.c (revoke): Likewise.
27170         * misc/setdomain.c (setdomainname): Likewise.
27171         * misc/setegid.c (setegid): Likewise.
27172         * misc/seteuid.c (seteuid): Likewise.
27173         * misc/sethostid.c (sethostid): Likewise.
27174         * misc/sethostname.c (sethostname): Likewise.
27175         * misc/setregid.c (__setregid): Likewise.
27176         * misc/setreuid.c (__setreuid): Likewise.
27177         * misc/sstk.c (sstk): Likewise.
27178         * misc/stty.c (stty): Likewise.
27179         * misc/syscall.c (syscall): Likewise.
27180         * misc/syslog.c (setlogmask): Likewise.
27181         * misc/truncate.c (__truncate): Likewise.
27182         * misc/truncate64.c (truncate64): Likewise.
27183         * misc/ualarm.c (ualarm): Likewise.
27184         * misc/usleep.c (usleep): Likewise.
27185         * misc/ustat.c (ustat): Likewise.
27186         * misc/writev.c (__writev): Likewise.
27187         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
27188         * nptl/old_pthread_cond_broadcast.c
27189         (__pthread_cond_broadcast_2_0): Likewise.
27190         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
27191         Likewise.
27192         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
27193         Likewise.
27194         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
27195         Likewise.
27196         * nptl/pt-raise.c (raise): Likewise.
27197         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
27198         Likewise.
27199         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
27200         * nptl/pthread_barrierattr_destroy.c
27201         (pthread_barrierattr_destroy): Likewise.
27202         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
27203         Likewise.
27204         * nptl/pthread_barrierattr_setpshared.c
27205         (pthread_barrierattr_setpshared): Likewise.
27206         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27207         Likewise.
27208         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
27209         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
27210         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
27211         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
27212         Likewise.
27213         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
27214         Likewise.
27215         * nptl/pthread_condattr_getpshared.c
27216         (pthread_condattr_getpshared): Likewise.
27217         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
27218         Likewise.
27219         * nptl/pthread_condattr_setpshared.c
27220         (pthread_condattr_setpshared): Likewise.
27221         * nptl/pthread_detach.c (pthread_detach): Likewise.
27222         * nptl/pthread_equal.c (__pthread_equal): Likewise.
27223         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
27224         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
27225         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
27226         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
27227         Likewise.
27228         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
27229         Likewise.
27230         * nptl/pthread_mutex_getprioceiling.c
27231         (pthread_mutex_getprioceiling): Likewise.
27232         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
27233         Likewise.
27234         * nptl/pthread_mutexattr_getprotocol.c
27235         (pthread_mutexattr_getprotocol): Likewise.
27236         * nptl/pthread_mutexattr_getpshared.c
27237         (pthread_mutexattr_getpshared): Likewise.
27238         * nptl/pthread_mutexattr_getrobust.c
27239         (pthread_mutexattr_getrobust): Likewise.
27240         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
27241         Likewise.
27242         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
27243         Likewise.
27244         * nptl/pthread_mutexattr_setprioceiling.c
27245         (pthread_mutexattr_setprioceiling): Likewise.
27246         * nptl/pthread_mutexattr_setprotocol.c
27247         (pthread_mutexattr_setprotocol): Likewise.
27248         * nptl/pthread_mutexattr_setpshared.c
27249         (pthread_mutexattr_setpshared): Likewise.
27250         * nptl/pthread_mutexattr_setrobust.c
27251         (pthread_mutexattr_setrobust): Likewise.
27252         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
27253         Likewise.
27254         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
27255         Likewise.
27256         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
27257         Likewise.
27258         * nptl/pthread_rwlockattr_getkind_np.c
27259         (pthread_rwlockattr_getkind_np): Likewise.
27260         * nptl/pthread_rwlockattr_getpshared.c
27261         (pthread_rwlockattr_getpshared): Likewise.
27262         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
27263         Likewise.
27264         * nptl/pthread_rwlockattr_setkind_np.c
27265         (pthread_rwlockattr_setkind_np): Likewise.
27266         * nptl/pthread_rwlockattr_setpshared.c
27267         (pthread_rwlockattr_setpshared): Likewise.
27268         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
27269         Likewise.
27270         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
27271         Likewise.
27272         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
27273         Likewise.
27274         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
27275         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
27276         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
27277         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
27278         * nptl/sem_close.c (sem_close): Likewise.
27279         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
27280         * nptl/sem_init.c (__old_sem_init): Likewise.
27281         * nptl/sigaction.c (__sigaction): Likewise.
27282         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27283         * posix/_exit.c (_exit): Likewise.
27284         * posix/alarm.c (alarm): Likewise.
27285         * posix/confstr.c (confstr): Likewise.
27286         * posix/fpathconf.c (__fpathconf): Likewise.
27287         * posix/getgroups.c (__getgroups): Likewise.
27288         * posix/getpgid.c (__getpgid): Likewise.
27289         * posix/group_member.c (__group_member): Likewise.
27290         * posix/pathconf.c (__pathconf): Likewise.
27291         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
27292         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
27293         * posix/setgid.c (__setgid): Likewise.
27294         * posix/setpgid.c (__setpgid): Likewise.
27295         * posix/setuid.c (__setuid): Likewise.
27296         * posix/sleep.c (__sleep): Likewise.
27297         * posix/sysconf.c (__sysconf): Likewise.
27298         * posix/times.c (__times): Likewise.
27299         * posix/uname.c (__uname): Likewise.
27300         * posix/waitid.c (__waitid): Likewise.
27301         * pwd/getpw.c (__getpw): Likewise.
27302         * resolv/base64.c (b64_pton): Likewise.
27303         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27304         * resolv/gethnamaddr.c (Dprintf): Likewise.
27305         (gethostbyname): Likewise.
27306         (gethostbyname2): Likewise.
27307         (gethostbyaddr): Likewise.
27308         (_sethtent): Likewise.
27309         (_gethtbyname): Likewise.
27310         (_gethtbyname2): Likewise.
27311         (_gethtbyaddr): Likewise.
27312         (map_v4v6_address): Likewise.
27313         (map_v4v6_hostent): Likewise.
27314         (addrsort): Likewise.
27315         (ht_sethostent): Likewise.
27316         (ht_gethostbyname): Likewise.
27317         (ht_gethostbyaddr): Likewise.
27318         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
27319         (inet_net_ntop_ipv4): Likewise.
27320         * resolv/inet_neta.c (inet_neta): Likewise.
27321         * resolv/inet_ntop.c (inet_ntop): Likewise.
27322         (inet_ntop4): Likewise.
27323         (inet_ntop6): Likewise.
27324         * resolv/inet_pton.c (__inet_pton): Likewise.
27325         (inet_pton4): Likewise.
27326         (inet_pton6): Likewise.
27327         * resolv/res_debug.c (loc_aton): Likewise.
27328         (loc_ntoa): Likewise.
27329         * resource/getpriority.c (__getpriority): Likewise.
27330         * resource/getrusage.c (__getrusage): Likewise.
27331         * resource/nice.c (nice): Likewise.
27332         * resource/setpriority.c (__setpriority): Likewise.
27333         * resource/setrlimit64.c (setrlimit64): Likewise.
27334         * resource/vlimit.c (vlimit): Likewise.
27335         * resource/vtimes.c (vtimes): Likewise.
27336         * rt/aio_error.c (aio_error): Likewise.
27337         * rt/aio_return.c (aio_return): Likewise.
27338         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
27339         * signal/kill.c (__kill): Likewise.
27340         * signal/killpg.c (killpg): Likewise.
27341         * signal/raise.c (raise): Likewise.
27342         * signal/sigaction.c (__sigaction): Likewise.
27343         * signal/sigaddset.c (sigaddset): Likewise.
27344         * signal/sigaltstack.c (sigaltstack): Likewise.
27345         * signal/sigandset.c (sigandset): Likewise.
27346         * signal/sigblock.c (__sigblock): Likewise.
27347         * signal/sigdelset.c (sigdelset): Likewise.
27348         * signal/sigempty.c (sigemptyset): Likewise.
27349         * signal/sigfillset.c (sigfillset): Likewise.
27350         * signal/sighold.c (sighold): Likewise.
27351         * signal/sigignore.c (sigignore): Likewise.
27352         * signal/sigintr.c (siginterrupt): Likewise.
27353         * signal/sigisempty.c (sigisemptyset): Likewise.
27354         * signal/sigismem.c (sigismember): Likewise.
27355         * signal/signal.c (signal): Likewise.
27356         * signal/sigorset.c (sigorset): Likewise.
27357         * signal/sigpause.c (__sigpause): Likewise.
27358         * signal/sigpending.c (sigpending): Likewise.
27359         * signal/sigprocmask.c (__sigprocmask): Likewise.
27360         * signal/sigrelse.c (sigrelse): Likewise.
27361         * signal/sigreturn.c (__sigreturn): Likewise.
27362         * signal/sigset.c (sigset): Likewise.
27363         * signal/sigsetmask.c (__sigsetmask): Likewise.
27364         * signal/sigstack.c (sigstack): Likewise.
27365         * signal/sigsuspend.c (__sigsuspend): Likewise.
27366         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
27367         * signal/sysv_signal.c (__sysv_signal): Likewise.
27368         * socket/accept.c (accept): Likewise.
27369         * socket/accept4.c (__libc_accept4): Likewise.
27370         * socket/bind.c (__bind): Likewise.
27371         * socket/connect.c (__connect): Likewise.
27372         * socket/getpeername.c (getpeername): Likewise.
27373         * socket/getsockname.c (__getsockname): Likewise.
27374         * socket/getsockopt.c (getsockopt): Likewise.
27375         * socket/listen.c (__listen): Likewise.
27376         * socket/recv.c (__recv): Likewise.
27377         * socket/recvmsg.c (__recvmsg): Likewise.
27378         * socket/send.c (__send): Likewise.
27379         * socket/sendmsg.c (__sendmsg): Likewise.
27380         * socket/shutdown.c (shutdown): Likewise.
27381         * socket/sockatmark.c (sockatmark): Likewise.
27382         * socket/socket.c (__socket): Likewise.
27383         * stdio-common/ctermid.c (ctermid): Likewise.
27384         * stdio-common/cuserid.c (cuserid): Likewise.
27385         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
27386         * stdio-common/remove.c (remove): Likewise.
27387         * stdio-common/rename.c (rename): Likewise.
27388         * stdio-common/renameat.c (renameat): Likewise.
27389         * stdio-common/tempname.c (__gen_tempname): Likewise.
27390         * stdio-common/xbug.c (InitBuffer): Likewise.
27391         (AppendToBuffer): Likewise.
27392         (ReadFile): Likewise.
27393         * stdlib/a64l.c (a64l): Likewise.
27394         * stdlib/drand48_r.c (drand48_r): Likewise.
27395         * stdlib/getcontext.c (getcontext): Likewise.
27396         * stdlib/getenv.c (getenv): Likewise.
27397         * stdlib/l64a.c (l64a): Likewise.
27398         * stdlib/llabs.c (llabs): Likewise.
27399         * stdlib/lldiv.c (lldiv): Likewise.
27400         * stdlib/lrand48_r.c (lrand48_r): Likewise.
27401         * stdlib/mrand48_r.c (mrand48_r): Likewise.
27402         * stdlib/putenv.c (putenv): Likewise.
27403         * stdlib/random.c (__srandom): Likewise.
27404         (__initstate): Likewise.
27405         (__setstate): Likewise.
27406         * stdlib/random_r.c (__srandom_r): Likewise.
27407         (__setstate_r): Likewise.
27408         (__random_r): Likewise.
27409         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
27410         * stdlib/setcontext.c (setcontext): Likewise.
27411         * stdlib/setenv.c (setenv): Likewise.
27412         (unsetenv): Likewise.
27413         * stdlib/srand48.c (srand48): Likewise.
27414         * stdlib/srand48_r.c (__srand48_r): Likewise.
27415         * stdlib/swapcontext.c (swapcontext): Likewise.
27416         * stdlib/system.c (__libc_system): Likewise.
27417         * stdlib/tst-strtod.c (expand): Likewise.
27418         * stdlib/tst-strtol.c (expand): Likewise.
27419         * stdlib/tst-strtoll.c (expand): Likewise.
27420         * streams/fattach.c (fattach): Likewise.
27421         * streams/fdetach.c (fdetach): Likewise.
27422         * streams/getmsg.c (getmsg): Likewise.
27423         * streams/isastream.c (isastream): Likewise.
27424         * string/ffs.c (__ffs): Likewise.
27425         * string/ffsll.c (ffsll): Likewise.
27426         * string/memcmp.c (memcmp_common_alignment): Likewise.
27427         (memcmp_not_common_alignment): Likewise.
27428         (MEMCMP): Likewise.
27429         * string/memcpy.c (memcpy): Likewise.
27430         * string/memmove.c (MEMMOVE): Likewise.
27431         * string/memset.c (memset): Likewise.
27432         * string/rawmemchr.c (RAWMEMCHR): Likewise.
27433         * string/strchrnul.c (STRCHRNUL): Likewise.
27434         * string/strerror.c (strerror): Likewise.
27435         * string/strndup.c (__strndup): Likewise.
27436         * string/strverscmp.c (__strverscmp): Likewise.
27437         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
27438         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
27439         (clnttcp_freeres): Likewise.
27440         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
27441         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
27442         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
27443         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
27444         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
27445         (xdr_callhdr): Likewise.
27446         * sunrpc/rpcinfo.c (udpping): Likewise.
27447         (tcpping): Likewise.
27448         (pstatus): Likewise.
27449         (pmapdump): Likewise.
27450         (brdcst): Likewise.
27451         (deletereg): Likewise.
27452         (getprognum): Likewise.
27453         (getvers): Likewise.
27454         (get_inet_address): Likewise.
27455         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
27456         * sunrpc/svc_udp.c (svcudp_create): Likewise.
27457         (svcudp_stat): Likewise.
27458         (svcudp_recv): Likewise.
27459         (svcudp_reply): Likewise.
27460         (svcudp_getargs): Likewise.
27461         (svcudp_freeargs): Likewise.
27462         (svcudp_destroy): Likewise.
27463         * sunrpc/xdr.c (xdr_bytes): Likewise.
27464         (xdr_netobj): Likewise.
27465         (xdr_string): Likewise.
27466         (xdr_wrapstring): Likewise.
27467         * sunrpc/xdr_float.c (xdr_float): Likewise.
27468         (xdr_double): Likewise.
27469         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
27470         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
27471         * sysvipc/ftok.c (ftok): Likewise.
27472         * sysvipc/msgctl.c (msgctl): Likewise.
27473         * sysvipc/msgget.c (msgget): Likewise.
27474         * sysvipc/msgrcv.c (msgrcv): Likewise.
27475         * sysvipc/msgsnd.c (msgsnd): Likewise.
27476         * sysvipc/semget.c (semget): Likewise.
27477         * sysvipc/semop.c (semop): Likewise.
27478         * sysvipc/shmat.c (shmat): Likewise.
27479         * sysvipc/shmctl.c (shmctl): Likewise.
27480         * sysvipc/shmdt.c (shmdt): Likewise.
27481         * sysvipc/shmget.c (shmget): Likewise.
27482         * termios/cfmakeraw.c (cfmakeraw): Likewise.
27483         * termios/speed.c (cfgetospeed): Likewise.
27484         (cfgetispeed): Likewise.
27485         (cfsetospeed): Likewise.
27486         (cfsetispeed): Likewise.
27487         * termios/tcflow.c (tcflow): Likewise.
27488         * termios/tcflush.c (tcflush): Likewise.
27489         * termios/tcgetattr.c (__tcgetattr): Likewise.
27490         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
27491         * termios/tcgetsid.c (tcgetsid): Likewise.
27492         * termios/tcsendbrk.c (tcsendbreak): Likewise.
27493         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
27494         * time/adjtime.c (__adjtime): Likewise.
27495         * time/dysize.c (dysize): Likewise.
27496         * time/ftime.c (ftime): Likewise.
27497         * time/getitimer.c (__getitimer): Likewise.
27498         * time/gettimeofday.c (__gettimeofday): Likewise.
27499         * time/gmtime.c (__gmtime_r): Likewise.
27500         (gmtime): Likewise.
27501         * time/localtime.c (__localtime_r): Likewise.
27502         (localtime): Likewise.
27503         * time/offtime.c (__offtime): Likewise.
27504         * time/settimeofday.c (__settimeofday): Likewise.
27505         * time/stime.c (stime): Likewise.
27506         * time/strftime_l.c (tm_diff): Likewise.
27507         (iso_week_days): Likewise.
27508         * time/strptime.c (strptime): Likewise.
27509         * time/time.c (time): Likewise.
27510         * time/timespec_get.c (timespec_get): Likewise.
27511         * time/tzset.c (tzset_internal): Likewise.
27512         (compute_change): Likewise.
27513         (__tz_compute): Likewise.
27514         * wcsmbs/btowc.c (__btowc): Likewise.
27515         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
27516         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
27517         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
27518         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
27519         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
27520         * wcsmbs/wcscat.c (__wcscat): Likewise.
27521         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27522         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
27523         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
27524         * wcsmbs/wcscspn.c (wcscspn): Likewise.
27525         * wcsmbs/wcsdup.c (wcsdup): Likewise.
27526         * wcsmbs/wcslen.c (__wcslen): Likewise.
27527         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
27528         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
27529         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
27530         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
27531         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27532         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
27533         * wcsmbs/wcsspn.c (wcsspn): Likewise.
27534         * wcsmbs/wcsstr.c (wcsstr): Likewise.
27535         * wcsmbs/wcstok.c (wcstok): Likewise.
27536         * wcsmbs/wctob.c (wctob): Likewise.
27537         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
27538         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27539         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
27540         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
27541         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
27542         * wcsmbs/wmemset.c (__wmemset): Likewise.
27543         * wctype/wcfuncs.c (__towlower): Likewise.
27544         (__towupper): Likewise.
27546         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
27547         (lll_unlock_elision): Add adapt_count parameter.
27549 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
27551         * sysdeps/nptl/configure.ac: Do not give errors based on the
27552         results of top-level configure tests.
27553         * sysdeps/nptl/configure: Regenerated.
27555         * configure.ac (libc_cv_Bgroup): Remove configure test.
27556         * configure: Regenerated.
27557         * config.make.in (have-Bgroup): Remove variable.
27559         * configure.ac (sizeof_long_double): Remove configure test.
27560         * configure: Regenerated.
27561         * config.make.in (sizeof-long-double): Remove variable.
27563         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
27564         * configure: Regenerated.
27565         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
27566         variable.
27567         (exceptions): Likewise.
27568         * sysdeps/arm/configure: Regenerated.
27569         * config.make.in (exceptions): Remove variable.
27570         * Makeconfig (uses-callbacks): Use -fexceptions instead of
27571         $(exceptions).
27572         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
27573         (CFLAGS-vdprintf_chk.c): Likewise.
27574         (CFLAGS-printf_chk.c): Likewise.
27575         (CFLAGS-fprintf_chk.c): Likewise.
27576         (CFLAGS-vprintf_chk.c): Likewise.
27577         (CFLAGS-vfprintf_chk.c): Likewise.
27578         (CFLAGS-gets_chk.c): Likewise.
27579         (CFLAGS-fgets_chk.c): Likewise.
27580         (CFLAGS-fgets_u_chk.c): Likewise.
27581         (CFLAGS-fread_chk.c): Likewise.
27582         (CFLAGS-fread_u_chk.c): Likewise.
27583         (CFLAGS-wprintf_chk.c): Likewise.
27584         (CFLAGS-fwprintf_chk.c): Likewise.
27585         (CFLAGS-vwprintf_chk.c): Likewise.
27586         (CFLAGS-vfwprintf_chk.c): Likewise.
27587         (CFLAGS-fgetws_chk.c): Likewise.
27588         (CFLAGS-fgetws_u_chk.c): Likewise.
27589         * libio/Makefile (CFLAGS-fileops.c): Likewise.
27590         (CFLAGS-fputc.c): Likewise.
27591         (CFLAGS-fputwc.c): Likewise.
27592         (CFLAGS-freopen64.c): Likewise.
27593         (CFLAGS-freopen.c): Likewise.
27594         (CFLAGS-fseek.c): Likewise.
27595         (CFLAGS-fseeko64.c): Likewise.
27596         (CFLAGS-fseeko.c): Likewise.
27597         (CFLAGS-ftello64.c): Likewise.
27598         (CFLAGS-ftello.c): Likewise.
27599         (CFLAGS-fwide.c): Likewise.
27600         (CFLAGS-genops.c): Likewise.
27601         (CFLAGS-getc.c): Likewise.
27602         (CFLAGS-getchar.c): Likewise.
27603         (CFLAGS-getwc.c): Likewise.
27604         (CFLAGS-getwchar.c): Likewise.
27605         (CFLAGS-iofclose.c): Likewise.
27606         (CFLAGS-iofflush.c): Likewise.
27607         (CFLAGS-iofgetpos64.c): Likewise.
27608         (CFLAGS-iofgetpos.c): Likewise.
27609         (CFLAGS-iofgets.c): Likewise.
27610         (CFLAGS-iofgetws.c): Likewise.
27611         (CFLAGS-iofputs.c): Likewise.
27612         (CFLAGS-iofputws.c): Likewise.
27613         (CFLAGS-iofread.c): Likewise.
27614         (CFLAGS-iofsetpos64.c): Likewise.
27615         (CFLAGS-iofsetpos.c): Likewise.
27616         (CFLAGS-ioftell.c): Likewise.
27617         (CFLAGS-iofwrite.c): Likewise.
27618         (CFLAGS-iogetdelim.c): Likewise.
27619         (CFLAGS-iogetline.c): Likewise.
27620         (CFLAGS-iogets.c): Likewise.
27621         (CFLAGS-iogetwline.c): Likewise.
27622         (CFLAGS-ioputs.c): Likewise.
27623         (CFLAGS-ioseekoff.c): Likewise.
27624         (CFLAGS-ioseekpos.c): Likewise.
27625         (CFLAGS-iosetbuffer.c): Likewise.
27626         (CFLAGS-iosetvbuf.c): Likewise.
27627         (CFLAGS-ioungetc.c): Likewise.
27628         (CFLAGS-ioungetwc.c): Likewise.
27629         (CFLAGS-oldfileops.c): Likewise.
27630         (CFLAGS-oldiofclose.c): Likewise.
27631         (CFLAGS-oldiofgetpos64.c): Likewise.
27632         (CFLAGS-oldiofgetpos.c): Likewise.
27633         (CFLAGS-oldiofsetpos64.c): Likewise.
27634         (CFLAGS-oldiofsetpos.c): Likewise.
27635         (CFLAGS-peekc.c): Likewise.
27636         (CFLAGS-putc.c): Likewise.
27637         (CFLAGS-putchar.c): Likewise.
27638         (CFLAGS-putwc.c): Likewise.
27639         (CFLAGS-putwchar.c): Likewise.
27640         (CFLAGS-rewind.c): Likewise.
27641         (CFLAGS-wfileops.c): Likewise.
27642         (CFLAGS-wgenops.c): Likewise.
27643         (CFLAGS-oldiofopen.c): Likewise.
27644         (CFLAGS-iofopen.c): Likewise.
27645         (CFLAGS-iofopen64.c): Likewise.
27646         (CFLAGS-oldtmpfile.c): Likewise.
27647         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
27648         (CFLAGS-fprintf.c): Likewise.
27649         (CFLAGS-printf.c): Likewise.
27650         (CFLAGS-vfwprintf.c): Likewise.
27651         (CFLAGS-vfscanf.c): Likewise.
27652         (CFLAGS-vfwscanf.c): Likewise.
27653         (CFLAGS-fscanf.c): Likewise.
27654         (CFLAGS-scanf.c): Likewise.
27655         (CFLAGS-isoc99_vfscanf.c): Likewise.
27656         (CFLAGS-isoc99_vscanf.c): Likewise.
27657         (CFLAGS-isoc99_fscanf.c): Likewise.
27658         (CFLAGS-isoc99_scanf.c): Likewise.
27659         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
27660         (CFLAGS-isoc99_fwscanf.c): Likewise.
27661         (CFLAGS-isoc99_vwscanf.c): Likewise.
27662         (CFLAGS-isoc99_vfwscanf.c): Likewise.
27664         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
27665         after mkstemp64.
27666         * login/tst-utmp.c (do_prepare): Likewise.
27667         * rt/tst-aio.c (do_prepare): Likewise.
27668         * rt/tst-aio64.c (do_prepare): Likewise.
27670 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27672         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27673         (__lll_lock_elision): Remove adapt_count decrement...
27674         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
27675         (__lll_trylock_elision): Likewise.
27676         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
27677         (__lll_unlock_elision): ... to here. And utilize
27678         new adapt_count parameter.
27679         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27680         (__lll_unlock_elision): Update to include adapt_count
27681         parameter.
27682         (lll_unlock_elision): Pass pointer to adapt_count
27683         variable.
27685 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27687         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
27688         Add elision adapt_count parameter to list of arguments.
27689         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27690         (lll_unlock_elision): Update with new parameter list
27691         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
27692         (lll_unlock_elision): Likewise.
27693         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
27694         (lll_unlock_elision): Likewise.
27696 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27698         [BZ #19122]
27699         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
27700         attribute_hidden.
27702         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
27703         attribute_hidden.
27704         [IS_IN (rtld)] (__strdup): Likewise.
27705         [IS_IN (rtld)] (__strerror_r): Likewise.
27706         [IS_IN (rtld)] (__strsep_g): Likewise.
27707         [IS_IN (rtld)] (memchr): Likewise.
27708         [IS_IN (rtld)] (memcmp): Likewise.
27709         [IS_IN (rtld)] (memcpy): Likewise.
27710         [IS_IN (rtld)] (memmove): Likewise.
27711         [IS_IN (rtld)] (memset): Likewise.
27712         [IS_IN (rtld)] (rawmemchr): Likewise.
27713         [IS_IN (rtld)] (stpcpy): Likewise.
27714         [IS_IN (rtld)] (strchr): Likewise.
27715         [IS_IN (rtld)] (strcmp): Likewise.
27716         [IS_IN (rtld)] (strlen): Likewise.
27717         [IS_IN (rtld)] (strnlen): Likewise.
27718         [IS_IN (rtld)] (strsep): Likewise.
27720         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
27721         attribute_hidden.
27722         [IS_IN (rtld)] (__strtoul_internal): Likewise.
27724         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
27725         attribute_hidden.
27726         [IS_IN (rtld)] (__libc_sigaction): Likewise.
27728         * include/setjmp.h (__longjmp): Add attribute_hidden.
27729         [IS_IN (rtld)] (__sigsetjmp): Likewise.
27731         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
27732         Add attribute_hidden.
27734         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
27735         [IS_IN (rtld)] (__open): Likewise.
27736         [IS_IN (rtld)] (__fcntl): Likewise.
27738         * include/dirent.h (__opendirat): Add attribute_hidden.
27739         (__getdents): Likewise.
27740         (__getdents64): Likewise.
27741         (__alloc_dir): Likewise.
27742         [IS_IN (rtld)] (__closedir): Likewise.
27743         [IS_IN (rtld)] (__fdopendir): Likewise.
27744         [IS_IN (rtld)] (__readdir): Likewise.
27745         [IS_IN (rtld)] (__readdir64): Likewise.
27746         [IS_IN (rtld)] (__rewinddir): Likewise.
27748         * include/dlfcn.h (_dl_catch_error): Moved to ...
27749         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
27750         attribute_hidden.
27752         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
27753         (_itoa_word): Likewise.
27755         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
27756         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27757         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27758         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
27759         (_dl_higher_prime_number): Likewise.
27760         (_dl_debug_printf_c): Likewise.
27761         (_dl_signal_cerror): Likewise.
27762         (_dl_receive_error): Likewise.
27763         (_dl_reloc_bad_type): Likewise.
27764         (_dl_resolve_conflicts): Likewise.
27765         (_dl_check_all_versions): Likewise.
27766         (_dl_check_map_versions): Likewise.
27767         (_dl_sort_fini): Likewise.
27768         (_dl_debug_initialize): Likewise.
27769         (_dl_init_paths): Likewise.
27770         (_dl_show_auxv): Likewise.
27771         (_dl_next_ld_env_entry): Likewise.
27772         (_dl_important_hwcaps): Likewise.
27773         (_dl_load_cache_lookup): Likewise.
27774         (_dl_update_slotinfo): Likewise.
27775         (_dl_show_scope): Likewise.
27777         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
27778         attribute_hidden.
27779         (_wordcopy_fwd_dest_aligned): Likewise.
27780         (_wordcopy_bwd_aligned): Likewise.
27781         (_wordcopy_bwd_dest_aligned): Likewise.
27783         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27784         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27785         Likewise.
27786         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27787         Likewise.
27788         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27790 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27792         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
27793         GCC 5 requirement.
27795 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
27797         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
27798         test.
27799         * sysdeps/i386/configure: Regenerated.
27800         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
27801         code unconditional.
27803         * configure.ac (libc_cv_asm_previous_directive): Remove configure
27804         test.
27805         (libc_cv_asm_popsection_directive): Likewise.
27806         * configure: Regenerated.
27807         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
27808         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
27809         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
27810         (__make_section_unallocated): Make definition unconditional.
27811         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
27812         Remove conditional definition.
27813         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
27814         (__make_section_unallocated): Likewise.
27816         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
27817         * configure: Regenerated.
27818         * config.make.in (static-libgcc): Remove variable.
27819         * Makerules (build-shlib-helper): Use -static-libgcc instead of
27820         $(static-libgcc).
27821         (build-module-helper): Likewise.
27823         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
27824         * configure: Regenerated.
27826 2015-10-15  Florian Weimer  <fweimer@redhat.com>
27828         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
27829         (struct char_buffer): New type.
27830         (char_buffer_start, char_buffer_size, char_buffer_error)
27831         (char_buffer_rewind, char_buffer_add): New functions.
27832         (ADDW): Remove macro, replaced by the char_buffer_add function.
27833         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
27834         of extend_alloca.  Make control flow more explicit.
27836 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27838         [BZ #19137]
27839         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27840         Add -fomit-frame-pointer.
27841         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
27843 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27845         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
27846         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
27847         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
27848         only if !__GNUC_PREREQ (5,0).
27849         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
27850         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
27851         (INTERNAL_SYSCALL_NCS): Likewise.
27852         (LOADREGS_0): New macro for GCC 5.
27853         (ASMARGS_0): Likewise.
27854         (LOADREGS_1): Likewise.
27855         (ASMARGS_1): Likewise.
27856         (LOADREGS_2): Likewise.
27857         (ASMARGS_2): Likewise.
27858         (LOADREGS_3): Likewise.
27859         (ASMARGS_3): Likewise.
27860         (LOADREGS_4): Likewise.
27861         (ASMARGS_4): Likewise.
27862         (LOADREGS_5): Likewise.
27863         (ASMARGS_5): Likewise.
27864         (LOADREGS_6): Likewise.
27865         (ASMARGS_6): Likewise.
27867 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27869         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
27870         -fomit-frame-pointer.
27871         (CFLAGS-mmap64.c): Likewise.
27872         (CFLAGS-semtimedop.c): Likewise.
27873         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
27874         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
27875         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27876         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27878 2015-10-15  Florian Weimer  <fweimer@redhat.com>
27880         [BZ #18928]
27881         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
27882         _dl_pointer_guard member.
27883         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
27884         initializer.
27885         (security_init): Always set up pointer guard.
27886         (process_envvars): Do not process LD_POINTER_GUARD.
27888 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
27890         [BZ #19134]
27891         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
27892         (.LC2): Likewise.
27893         (.LC3): Likewise.
27894         (__lround): Do not add 0.5 to integer or out-of-range arguments.
27896 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27898         [BZ #19129]
27899         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
27900         r0 and r1.
27902 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
27904         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
27906 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
27908         * include/stap-probe.h: Fix macro definition formatting.
27910 2015-10-14  Florian Weimer  <fweimer@redhat.com>
27912         [BZ #19074]
27913         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
27914         load and store num_ifs.
27916 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27918         [BZ #18822]
27919         * sysdeps/unix/sysv/linux/sched_getaffinity.c
27920         (__sched_getaffinity_new): Add libc_hidden_proto and
27921         libc_hidden_def.
27923 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27925         [BZ #19007]
27926         * scripts/localplt.awk: Also allow GOT references.
27927         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
27928         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
27929         with "+ REL R_386_GLOB_DAT".
27930         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
27931         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
27933 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27935         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
27936         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27937         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
27938         Likewise.
27939         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27940         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
27941         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27942         INTERNAL_SYSCALLINTERNAL_SYSCALL and
27943         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27944         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27945         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27946         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27947         Likewise.
27948         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27950 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
27952         [BZ #19125]
27953         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
27954         <math_private.h> and <stdint.h>.
27955         (__llround): Avoid conversions to and from long long int, and
27956         subtractions, where those might raise spurious exceptions.
27957         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
27958         <math_private.h> and <stdint.h>.
27959         (__llroundf): Avoid conversions to and from long long int, and
27960         subtractions, where those might raise spurious exceptions.
27962 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27964         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
27965         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27966         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27967         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
27968         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27969         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27970         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
27971         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
27972         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
27973         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27974         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27975         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27976         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
27977         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27978         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27979         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
27980         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
27981         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27982         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
27983         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
27984         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27985         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
27986         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
27987         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27988         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
27989         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27990         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
27991         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27992         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27993         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
27994         (__xstat64_conv): Likewise.
27995         (__xstat32_conv): Likewise.
27997 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27999         * sysdeps/unix/sysv/linux/sysdep.h: New file.
28000         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
28001         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
28002         <sysdeps/unix/sysv/linux/sysdep.h>.
28003         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28004         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
28005         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
28006         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28007         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28008         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
28009         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
28010         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
28011         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
28012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28014         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28015         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28016         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28017         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28018         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28019         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
28020         (sysdep-dl-routines): Add sysdep.
28021         [$(subdir) == nptl] (libpthread-routines): Likewise.
28022         [$(subdir) == rt] (librt-routines): Likewise.
28023         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
28024         PIC when branching to SYSCALL_ERROR_LABEL.
28025         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
28026         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
28027         <sysdeps/unix/sysv/linux/sysdep.h>.
28028         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
28029         (SYSCALL_ERROR_ERRNO): Removed.
28030         (SYSCALL_ERROR_HANDLER): Changed to empty.
28031         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
28032         (__syscall_error): New prototype.
28033         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
28034         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
28036 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28038         [BZ #19124]
28039         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
28040         (_dl_runtime_resolve_avx512): Make it a hidden alias of
28041         _dl_runtime_resolve_avx.
28042         (_dl_runtime_profile_avx512): Make it a hidden alias of
28043         _dl_runtime_profile_avx.
28045 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
28047         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
28048         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
28049         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
28050         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
28052         [BZ #16422]
28053         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
28054         New configure test.
28055         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
28056         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
28057         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
28058         <math_private.h> and <stdint.h>.
28059         (__llrint): Avoid conversions to long long int where those might
28060         raise spurious exceptions.
28061         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
28062         <math_private.h> and <stdint.h>.
28063         (__llrintf): Avoid conversions to long long int where those might
28064         raise spurious exceptions.
28066 2015-10-12  Andreas Schwab  <schwab@suse.de>
28068         [BZ #18969]
28069         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
28070         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
28071         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
28072         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
28073         $(gen-locales).
28074         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
28075         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
28076         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
28077         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
28078         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
28079         $(gen-locales).
28080         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
28081         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
28082         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
28083         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
28084         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
28085         ($(objpfx)tst-ftell-active-handler.out)
28086         ($(objpfx)tst-ftell-append.out)
28087         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
28088         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
28089         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
28090         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
28091         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
28092         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
28093         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
28094         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
28095         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
28096         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
28097         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
28098         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
28099         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
28100         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
28101         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
28102         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
28103         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
28104         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
28105         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
28106         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
28107         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
28108         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
28109         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
28110         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
28111         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
28112         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
28113         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
28114         $(gen-locales).
28115         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
28116         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
28117         $(gen-locales).
28118         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
28119         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
28120         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
28121         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
28122         $(gen-locales).
28123         * libio/tst_wprintf2.c (main): Use explicit locale.
28124         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
28126 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28128         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
28129         __msg_sig_post.
28130         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
28132 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
28134         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28135         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28137         * sysdeps/arm/libm-test-ulps: Regenerated.
28139         [BZ #15470]
28140         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
28142         [BZ #16399]
28143         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
28144         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
28145         and <fix-fp-int-convert-overflow.h>.
28146         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
28147         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28148         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
28149         and <fix-fp-int-convert-overflow.h>.
28150         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
28151         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28152         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
28153         <fix-fp-int-convert-overflow.h>.
28154         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
28155         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28156         * sysdeps/ieee754/dbl-64/s_lround.c: Include
28157         <fix-fp-int-convert-overflow.h>.
28158         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
28159         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28160         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
28161         and <fix-fp-int-convert-overflow.h>.
28162         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
28163         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28164         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
28165         <limits.h> and <fix-fp-int-convert-overflow.h>.
28166         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
28167         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28168         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
28169         and <fix-fp-int-convert-overflow.h>.
28170         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
28171         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28172         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
28173         and <fix-fp-int-convert-overflow.h>.
28174         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
28175         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28176         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
28178 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
28180         [BZ #18589]
28181         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
28182         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
28183         $(gen-locales).
28185 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28186             Phil Blundell <pb@pbcl.net>
28188         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
28189         * nptl/tst-cancel26.c: New file.
28190         * nptl/tst-cancel27.c: Likewise.
28192 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
28194         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
28195         __ILP32__ isn't defined.
28196         (lrint): Likewise.
28197         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
28198         (lrintf): Likewise.
28199         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
28200         (lrintl): Likewise.
28201         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
28202         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
28203         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
28205 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28207         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
28208         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
28210         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
28211         file.
28212         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
28213         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
28215 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
28217         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
28218         configure test.
28219         * sysdeps/i386/configure: Regenerated.
28220         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
28221         configure test.
28222         * sysdeps/x86_64/configure: Regenerated.
28223         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
28224         Make code unconditional.
28226         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
28227         test.
28228         * sysdeps/i386/configure: Regenerated.
28229         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
28230         test.
28231         * sysdeps/x86_64/configure: Regenerated.
28232         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
28233         Make code unconditional.
28234         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28235         Likewise.
28236         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
28237         Likewise.
28238         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28239         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
28240         code unconditional.
28241         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28242         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
28243         code unconditional.
28244         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28245         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
28246         code unconditional.
28247         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
28248         code unconditional.
28249         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28250         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
28251         code unconditional.
28252         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28253         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
28254         code unconditional.
28255         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28256         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
28257         code unconditional.
28258         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28259         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
28260         code unconditional.
28261         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28262         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
28264         [BZ #19095]
28265         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
28266         mantissa to long int before shifting left.
28268 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
28270         [BZ #19094]
28271         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
28272         <limits.h>.
28273         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28274         when result overflows but exception would not result from cast.
28275         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
28276         <limits.h>.
28277         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28278         when result overflows but exception would not result from cast.
28279         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
28280         <limits.h>.
28281         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28282         when result overflows but exception would not result from cast.
28283         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
28284         <limits.h>.
28285         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28286         when result overflows but exception would not result from cast.
28287         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
28288         <limits.h>.
28289         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28290         when result overflows but exception would not result from cast.
28291         * math/libm-test.inc (lrint_test_data): Add more tests.
28292         (llrint_test_data): Likewise.
28294 2015-10-08  Roland McGrath  <roland@hack.frob.com>
28296         [BZ #18872]
28297         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
28298         Move out from under [$(run-built-tests) = yes] conditional.
28299         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
28300         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
28302 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
28304         [BZ #18589]
28305         * string/Makefile (tests): Add bug-strcoll2.
28306         (LOCALES): Add cs_CZ.UTF-8.
28307         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
28309         [BZ #18589]
28310         * string/bug-strcoll2.c: New file.
28311         * locale/categories.def: Revert commit
28312         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
28313         * locale/langinfo.h: Likewise.
28314         * locale/localeinfo.h: Likewise.
28315         * locale/C-collate.c: Likewise.
28316         * locale/programs/ld-collate.c (collate_output): Likewise.
28317         * string/strcoll_l.c (STRDIFF): Likewise.
28318         (STRCOLL): Likewise.
28319         * wcsmbs/wcscoll_l.c: Likewise.
28321 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
28323         * math/libm-test.inc (lround_test_data): Do not expect the absence
28324         of "inexact" for some tests with non-integer arguments.
28325         (llround_test_data): Likewise.
28327         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
28328         test.
28329         (libc_cv_cc_sse2avx): Likewise.
28330         * sysdeps/i386/configure: Regenerated.
28331         * sysdeps/i386/i686/multiarch/Makefile
28332         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
28333         [$(subdir) = math].
28334         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
28335         code unconditional.
28336         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28337         Likewise.
28338         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
28339         Likewise.
28340         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28341         Likewise.
28342         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
28343         test.
28344         (libc_cv_cc_sse2avx): Likewise.
28345         * sysdeps/x86_64/configure: Regenerated.
28346         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
28347         unconditional.
28348         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
28349         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
28350         unconditional.
28351         (_dl_runtime_profile)
28352         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
28353         conditional code.
28354         * sysdeps/x86_64/fpu/multiarch/Makefile
28355         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
28356         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28357         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28358         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28359         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28360         * sysdeps/x86_64/fpu/multiarch/e_log.c
28361         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28362         * sysdeps/x86_64/fpu/multiarch/s_atan.c
28363         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28364         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28365         Likewise.
28366         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28367         Likewise.
28368         * sysdeps/x86_64/fpu/multiarch/s_sin.c
28369         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28370         * sysdeps/x86_64/fpu/multiarch/s_tan.c
28371         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28372         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
28373         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
28374         (HAVE_SSE2AVX_SUPPORT): Likewise.
28376 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
28378         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
28379         instead of #pragma optimize.
28381 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
28383         [BZ #17195]
28384         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
28385         as is similarly done in systrim and _int_free already.
28387 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28389         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
28391 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28393         [BZ #19088]
28394         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
28395         <limits.h>.
28396         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28397         overflows but exception would not result from cast.
28398         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
28399         and <limits.h>.
28400         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28401         overflows but exception would not result from cast.
28402         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
28403         <limits.h>.
28404         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28405         overflows but exception would not result from cast.
28406         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
28407         <limits.h>.
28408         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28409         overflows but exception would not result from cast.
28410         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
28411         <limits.h>.
28412         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28413         overflows but exception would not result from cast.
28414         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
28415         <limits.h>.
28416         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28417         overflows but exception would not result from cast.
28418         * math/libm-test.inc (lround_test_data): Add more tests.
28419         (llround_test_data): Likewise.
28421 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
28423         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
28424         (CFLAGS-ialloc.c): Ditto.
28425         (CFLAGS-scheck.c): Ditto.
28427 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
28429         [BZ #19086]
28430         * manual/filesys.texi (Storage Allocation): Fix argument order for
28431         posix_fallocate64.
28433 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28435         [BZ #19085]
28436         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
28437         exponent below 48 inside case for non-overflowing exponent.
28438         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
28440 2015-10-07  Florian Weimer  <fweimer@redhat.com>
28442         * iconvdata/cp737.h (from_idx): Add const.
28443         * iconvdata/cp775.h (from_idx): Likewise.
28445 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28447         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
28448         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
28449         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
28451         [BZ #19079]
28452         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
28453         file, conditioned on [!_LP64].
28454         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
28455         [!_LP64] (__lround): Do not define as function or alias.
28456         [!_LP64] (lround): Likewise.
28457         [!_LP64] (__lroundl): Likewise.
28458         [!_LP64] (lroundl): Likewise.
28459         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
28460         macro.
28461         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28462         Likewise.
28464 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
28466         * math/libm-test.inc (lrint_test_data): Add more tests.
28467         (llrint_test_data): Likewise.
28468         (lround_test_data): Likewise.
28469         (llround_test_data): Likewise.
28471         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
28472         (llrint_test_data): Add tests used for lrint.
28474         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
28475         test.
28476         * sysdeps/i386/configure: Regenerated.
28477         * sysdeps/i386/i686/multiarch/Makefile
28478         [$(config-cflags-sse4) = yes]: Make code unconditional.
28479         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28480         Likewise.
28481         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
28482         Likewise.
28483         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
28484         test.
28485         * sysdeps/x86_64/configure: Regenerated.
28486         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
28487         Make code unconditional.
28488         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28489         Likewise.
28490         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
28491         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
28493         * scripts/rpm2dynsym.sh: Remove file.
28495 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28497         * configure.ac (libc_cv_cxx_thread_local): Define.
28498         * configure: Regenerate.
28499         * config.make.in (have-cxx-thread_local): Define.
28500         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
28501         (LDLIBS-tst-thread_local1): Define.
28502         (tests): Add tst-thread_local1.
28503         [have-cxx-thread_local != yes] (tests-unsupported): Add
28504         tst-thread_local1.
28505         * nptl/tst-thread_local1.cc: New file.
28507 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
28509         [BZ #19078]
28510         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
28511         (u_thres): Likewise.
28512         (__expl): Determine whether to call __kernel_standard_l based on
28513         value of result, not argument.
28515         * math/libm-test.inc (scalb_test_data): Add more expectations for
28516         the "inexact" exception.
28518         [BZ #19077]
28519         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
28520         0.0L for argument 1.0L.
28522         [BZ #19076]
28523         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
28524         constant 0.0L when computing infinite result.
28526 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28528         [BZ #10432]
28529         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
28530         malloc_usable_size.
28532 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28534         [BZ #19018]
28535         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28536         Mangle function pointer before storing it.
28537         (__call_tls_dtors): Demangle function pointer before calling it.
28539 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28541         [BZ #19012]
28542         * iconv/gconv_db.c (gen_steps): Check for additional errors.
28543         Clean up on failure.
28545 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
28547         [BZ #19071]
28548         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
28549         long int variable to store possibly incremented high part of
28550         mantissa.
28551         * math/libm-test.inc (lround_test_data): Add tests used for
28552         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
28553         for tests requiring 64-bit long.  Do not condition tests on
28554         [TEST_FLOAT] unnecessarily.
28555         (llround_test_data): Add tests used for lround.  Add another
28556         expectation for the "inexact" exception.  Do not condition tests
28557         on [TEST_FLOAT] unnecessarily.
28559         [BZ #887]
28560         [BZ #19049]
28561         [BZ #19050]
28562         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
28563         * sysdeps/ieee754/dbl-64/e_log10.c: Include
28564         <fix-int-fp-convert-zero.h>.
28565         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28566         * sysdeps/ieee754/dbl-64/e_log2.c: Include
28567         <fix-int-fp-convert-zero.h>.
28568         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28569         * sysdeps/ieee754/dbl-64/s_erf.c: Include
28570         <fix-int-fp-convert-zero.h>.
28571         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28572         * sysdeps/ieee754/dbl-64/s_logb.c: Include
28573         <fix-int-fp-convert-zero.h>.
28574         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28575         * sysdeps/ieee754/flt-32/e_log10f.c: Include
28576         <fix-int-fp-convert-zero.h>.
28577         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28578         * sysdeps/ieee754/flt-32/e_log2f.c: Include
28579         <fix-int-fp-convert-zero.h>.
28580         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28581         * sysdeps/ieee754/flt-32/s_erff.c: Include
28582         <fix-int-fp-convert-zero.h>.
28583         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28584         * sysdeps/ieee754/flt-32/s_logbf.c: Include
28585         <fix-int-fp-convert-zero.h>.
28586         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28587         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
28588         <fix-int-fp-convert-zero.h>.
28589         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28590         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
28591         <fix-int-fp-convert-zero.h>.
28592         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28593         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
28594         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
28595         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
28596         file.
28597         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
28599 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
28601         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28603 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
28605         [BZ #19059]
28606         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
28607         overflowing computation.
28608         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28609         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28610         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28611         Likewise.
28612         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28613         Likewise.
28614         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
28615         Likewise.
28616         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28617         Likewise.
28618         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28619         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28620         Likewise.
28621         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28622         Likewise.
28623         * math/libm-test.inc (nexttoward_test_data): Add more tests.
28625         * nss/rewrite_field.c (__nss_rewrite_field): Use
28626         internal_function.
28627         * nss/valid_field.c (__nss_valid_field): Likewise.
28628         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28630 2015-10-02  Florian Weimer  <fweimer@redhat.com>
28632         [BZ #18724]
28633         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
28634         (__nss_invalid_field_characters, __nss_valid_field)
28635         (__nss_valid_list_field, __nss_rewrite_field): Declare.
28636         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
28637         tst-field.c: New file.
28638         * nss/Makefile (routines): Add valid_field, rewrite_field.
28639         (tests-static): Define unconditionally.
28640         (tests): Include tests-static.
28641         [build-static-nss] (tests-static): Use append.
28642         [build-static-nss] (tests): Remove modification.
28643         * nss/getent.c (print_group): Call putgrent.  Report error.
28644         (print_gshadow): Call putsgent.  Report error.
28645         (print_passwd): Call putpwent.  Report error.
28646         (print_shadow): Call putspent.  Report error.
28647         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
28648         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
28649         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
28650         name, password, directory, shell fields for valid syntax.  Rewrite
28651         GECOS field to match syntax.
28652         * pwd/Makefile (tests): Add tst-putpwent.
28653         * pwd/tst-putpwent.c: New file.
28654         * grp/putgrent.c (putgrent): Convert to ISO function definition.
28655         Check grName, grpasswd, gr_mem fields for valid syntax.
28656         Change loop variable i to size_t.
28657         * grp/Makefile (tests): Add tst-putgrent.
28658         * grp/tst-putgrent.c: New file.
28659         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
28660         valid syntax.
28661         * shadow/Makefile (tests): Add tst-putspent.
28662         * shadow/tst-putspent.c: New file.
28663         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
28664         sg_mem fields for valid syntax.
28665         * gshadow/Makefile (tests): Add tst-putsgent.
28666         * gshadow/tst-putsgent.c: New file.
28668 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28670         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
28671         assembly instructions.
28673 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28675         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
28676         prefix from operands.
28678 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
28680         [BZ #16347]
28681         [BZ #19046]
28682         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
28683         <libc-internal.h>.
28684         (MAXLGM): Do not use diagnostic control macros.
28685         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
28686         threshold for ldbl-128ibm.
28687         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
28688         instead of multiplying by log then subtracting.
28689         * math/auto-libm-test-in: Add more tests of lgamma.
28690         * math/auto-libm-test-out: Regenerated.
28692         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
28693         (TYPE_HEX_DIG): Likewise.
28694         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
28695         precisions when printing floating-point numbers.
28696         (check_float_internal): Likewise.
28698 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28700         [BZ #16620]
28701         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
28702         of log (10) rounded downward to 48 bits.
28703         (log10_low): Use corresponding low part of log (10).
28705         [BZ #19032]
28706         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
28707         compute result as (x - x) / (x - x) not as 0 / 0.
28708         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28709         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
28711         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28712         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
28713         and expm1.
28714         * math/auto-libm-test-out: Regenerated.
28715         * math/libm-test.inc (acos_test_data): Add more tests.
28716         (asin_test_data): Likewise.
28717         (asinh_test_data): Likewise.
28718         (atan_test_data): Likewise.
28719         (atanh_test_data): Likewise.
28720         (atan2_test_data): Likewise.
28721         (cbrt_test_data): Likewise.
28722         (ceil_test_data): Likewise.
28723         (copysign_test_data): Likewise.
28724         (cos_test_data): Likewise.
28725         (cosh_test_data): Likewise.
28726         (erf_test_data): Likewise.
28727         (erfc_test_data): Likewise.
28728         (exp_test_data): Likewise.
28729         (exp10_test_data): Likewise.
28730         (exp2_test_data): Likewise.
28731         (expm1_test_data): Likewise.
28732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28734 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
28736         [BZ #19006]
28737         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
28738         to ...
28739         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
28740         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
28741         to ...
28742         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
28743         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
28744         to ...
28745         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
28746         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
28747         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
28748         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
28749         to ...
28750         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
28751         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28752         Moved to ...
28753         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
28754         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28755         Moved to ...
28756         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
28757         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
28758         to ...
28759         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
28760         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28761         Moved to ...
28762         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
28763         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
28764         to ...
28765         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
28766         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
28767         Removed.
28768         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
28769         Likewise.
28770         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
28771         Likewise.
28772         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
28773         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
28774         Likewise.
28775         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28776         Likewise.
28777         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28778         Likewise.
28779         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28780         Likewise.
28781         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28782         Likewise.
28783         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
28784         Likewise.
28785         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
28786         Likewise.
28787         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
28788         Likewise.
28789         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
28790         Likewise.
28791         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
28792         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
28793         Likewise.
28794         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28795         Likewise.
28796         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28797         Likewise.
28798         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28799         Likewise.
28800         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
28801         Likewise.
28802         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28803         Replace ../i486/pthread_cond_timedwait.S with
28804         ../pthread_cond_timedwait.S.
28806 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28808         * math/libm-test.inc (acos_test_data): Refine expectations for
28809         errno and "inexact" exceptions.
28810         (acosh_test_data): Likewise.
28811         (asin_test_data): Likewise.
28812         (asinh_test_data): Likewise.
28813         (atan_test_data): Likewise.
28814         (atanh_test_data): Likewise.
28815         (atan2_test_data): Likewise.
28816         (cbrt_test_data): Likewise.
28817         (ceil_test_data): Likewise.
28818         (copysign_test_data): Likewise.
28819         (cosh_test_data): Likewise.
28820         (erf_test_data): Likewise.
28821         (erfc_test_data): Likewise.
28822         (exp_test_data): Likewise.
28823         (exp10_test_data): Likewise.
28824         (exp2_test_data): Likewise.
28825         (expm1_test_data): Likewise.
28826         (fabs_test_data): Likewise.
28827         (floor_test_data): Likewise.
28828         (fma_test_data): Likewise.
28829         (fmax_test_data): Likewise.
28830         (fmin_test_data): Likewise.
28831         (fmod_test_data): Likewise.
28832         (fpclassify_test_data): Likewise.
28833         (frexp_test_data): Likewise.
28834         (hypot_test_data): Likewise.
28835         (ilogb_test_data): Likewise.
28836         (isgreater_test_data): Likewise.
28837         (isgreaterequal_test_data): Likewise.
28838         (isinf_test_data): Likewise.
28839         (isless_test_data): Likewise.
28840         (islessequal_test_data): Likewise.
28841         (islessgreater_test_data): Likewise.
28842         (isnan_test_data): Likewise.
28843         (isnormal_test_data): Likewise.
28844         (issignaling_test_data): Likewise.
28845         (isunordered_test_data): Likewise.
28846         (j0_test_data): Likewise.
28847         (j1_test_data): Likewise.
28848         (jn_test_data): Likewise.
28849         (lgamma_test_data): Likewise.
28850         (lrint_test_data): Likewise.
28851         (llrint_test_data): Likewise.
28852         (log_test_data): Likewise.
28853         (log10_test_data): Likewise.
28854         (log1p_test_data): Likewise.
28855         (log2_test_data): Likewise.
28856         (logb_test_data): Likewise.
28857         (lround_test_data): Likewise.
28858         (llround_test_data): Likewise.
28859         (modf_test_data): Likewise.
28860         (nearbyint_test_data): Likewise.
28861         (nextafter_test_data): Likewise.
28862         (nexttoward_test_data): Likewise.
28863         (pow_test_data): Likewise.
28864         (remainder_test_data): Likewise.
28865         (remquo_test_data): Likewise.
28866         (rint_test_data): Likewise.
28867         (round_test_data): Likewise.
28868         (signbit_test_data): Likewise.
28869         (sinh_test_data): Likewise.
28870         (sqrt_test_data): Likewise.
28871         (tanh_test_data): Likewise.
28872         (tgamma_test_data): Likewise.
28873         (trunc_test_data): Likewise.
28874         (y0_test_data): Likewise.
28875         (y1_test_data): Likewise.
28876         (yn_test_data): Likewise.
28877         (significand_test_data): Likewise.
28879 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
28881         * manual/filesys.texi (Storage Allocation): Document that
28882         posix_fallocate emulation fails when fd is open with O_WRONLY.
28884 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
28886         [BZ #19016]
28887         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
28888         allow more cases with X^2 + Y^2 >= 0.5.
28889         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
28890         normal element in sum instead of special-casing based on values of
28891         arguments.
28892         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
28893         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
28894         -1 as normal element in sum instead of special-casing based on
28895         values of arguments.
28896         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
28897         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
28898         (__x2y2m1): Update comment.
28899         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
28900         as normal element in sum instead of special-casing based on values
28901         of arguments.
28902         * math/s_clog.c (__clog): Handle more cases using log1p without
28903         hypot.
28904         * math/s_clog10.c (__clog10): Likewise.
28905         * math/s_clog10f.c (__clog10f): Likewise.
28906         * math/s_clog10l.c (__clog10l): Likewise.
28907         * math/s_clogf.c (__clogf): Likewise.
28908         * math/s_clogl.c (__clogl): Likewise.
28909         * math/auto-libm-test-in: Add more tests of clog and clog10.
28910         * math/auto-libm-test-out: Regenerated.
28911         * sysdeps/i386/fpu/libm-test-ulps: Update.
28912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28914 2015-09-28  Martin Sebor  <msebor@redhat.com>
28916         [BZ #18969]
28917         * string/Makefile (LOCALES): Define.
28918         (gen-locales.mk): Include.
28919         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
28920         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
28921         * string/tst-strxfrm2.c (do_test): Print the name of the locale
28922         on setlocale failure.
28924 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28926         [BZ #18985]
28927         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
28928         (__strftime_internal): Likewise.
28929         * time/tst-strftime.c (do_bz18985): New test.
28930         (do_test): Call it.
28932 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
28934         [BZ #18956]
28935         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
28936         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
28937         extracting high part.
28938         * math/auto-libm-test-in: Add another test of pow.
28939         * math/auto-libm-test-out: Regenerated.
28940         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28942 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
28944         [BZ #18825]
28945         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
28946         New macro.
28947         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
28948         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28949         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
28950         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
28951         DBL_NARROW_EVAL, reloading the PIC register as needed.
28952         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
28953         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
28954         FLT_NARROW_EVAL.  Use separate return path for case when first
28955         argument is NaN.
28956         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
28957         DEFINE_LDBL_MIN.
28958         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
28959         PIC register.
28960         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
28961         math_check_force_underflow_nonneg.
28962         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
28963         underflow for subnormal result.
28964         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
28965         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
28966         math_check_force_underflow_nonneg.
28967         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
28968         math_check_force_underflow.
28969         * sysdeps/x86_64/fpu/x86_64-math-asm.h
28970         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
28971         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
28972         DEFINE_LDBL_MIN.
28973         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
28974         * math/auto-libm-test-in: Add more tests of pow.
28975         * math/auto-libm-test-out: Regenerated.
28977 2015-09-25  Florian Weimer  <fweimer@redhat.com>
28979         * nss/bug17079.c (init_test_items): Add diagnostic for
28980         inconsistent entries.
28981         (test_buffer_size): Skip inconsistent entries.
28983 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
28985         [BZ #13304]
28986         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
28987         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
28988         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
28990         [BZ #13304]
28991         * sysdeps/microblaze/s_fma.c: New file.
28992         * sysdeps/microblaze/s_fmaf.c: Likewise.
28993         * sysdeps/microblaze/sfp-machine.h: Likewise.
28995 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
28997         [BZ #17250]
28998         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
28999         member.
29001 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
29003         [BZ #18803]
29004         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
29005         (MO): New macro.
29006         (__ieee754_hypot) [PIC]: Load PIC register.
29007         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
29008         DBL_NARROW_EVAL.
29009         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
29010         math_check_force_underflow_nonneg in case where result might be
29011         tiny.
29012         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29013         Likewise.
29014         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29015         Likewise.
29016         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
29017         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
29018         * math/auto-libm-test-in: Add more tests of hypot.
29019         * math/auto-libm-test-out: Regenerated.
29021 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
29023         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
29025 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
29027         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
29028         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
29029         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29030         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29031         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
29032         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29033         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29035         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
29036         LOAD_PIC_REG.
29038         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
29039         (FLT_CHECK_FORCE_UFLOW): Likewise.
29040         (DBL_CHECK_FORCE_UFLOW): Likewise.
29041         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
29042         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
29043         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
29044         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29045         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29046         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29047         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29048         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29049         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
29050         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29051         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
29052         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
29053         (flt_min): Replace with use of DEFINE_FLT_MIN.
29054         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
29055         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
29056         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29057         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
29058         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
29059         (flt_min): Replace with use of DEFINE_FLT_MIN.
29060         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
29061         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
29062         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29063         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
29064         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
29065         (flt_min): Replace with use of DEFINE_FLT_MIN.
29066         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
29067         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
29068         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29069         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29070         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
29071         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29072         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29073         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
29074         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29075         (__atan): Use DBL_CHECK_FORCE_UFLOW.
29076         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
29077         (flt_min): Replace with use of DEFINE_FLT_MIN.
29078         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
29079         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
29080         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29081         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
29082         main computation.
29083         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
29084         (flt_min): Replace with use of DEFINE_FLT_MIN.
29085         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
29086         main computation.
29087         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
29088         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29089         (MO): New macro.
29090         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
29091         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
29092         (flt_min): Replace with use of DEFINE_FLT_MIN.
29093         (MO): New macro.
29094         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
29095         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
29096         (__log1pl): Use MO.
29098         [BZ #19003]
29099         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
29100         $(config-cflags-nofma).
29102 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29104         * sysdeps/aarch64/libm-test-ulps: Regenerated.
29106 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
29108         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
29109         (TWO127): Likewise.
29111         * sysdeps/generic/math_private.h (fabs_tg): New macro.
29112         (min_of_type): Likewise.
29113         (math_check_force_underflow): Likewise.
29114         (math_check_force_underflow_nonneg): Likewise.
29115         (math_check_force_underflow_complex): Likewise.
29116         * math/e_exp2l.c (__ieee754_exp2l): Use
29117         math_check_force_underflow_nonneg.
29118         * math/k_casinh.c (__kernel_casinh): Likewise.
29119         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29120         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29121         * math/s_catan.c (__catan): Use
29122         math_check_force_underflow_complex.
29123         * math/s_catanf.c (__catanf): Likewise.
29124         * math/s_catanh.c (__catanh): Likewise.
29125         * math/s_catanhf.c (__catanhf): Likewise.
29126         * math/s_catanhl.c (__catanhl): Likewise.
29127         * math/s_catanl.c (__catanl): Likewise.
29128         * math/s_ccosh.c (__ccosh): Likewise.
29129         * math/s_ccoshf.c (__ccoshf): Likewise.
29130         * math/s_ccoshl.c (__ccoshl): Likewise.
29131         * math/s_cexp.c (__cexp): Likewise.
29132         * math/s_cexpf.c (__cexpf): Likewise.
29133         * math/s_cexpl.c (__cexpl): Likewise.
29134         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
29135         * math/s_clog10.c (__clog10): Likewise.
29136         * math/s_clog10f.c (__clog10f): Likewise.
29137         * math/s_clog10l.c (__clog10l): Likewise.
29138         * math/s_clogf.c (__clogf): Likewise.
29139         * math/s_clogl.c (__clogl): Likewise.
29140         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
29141         * math/s_csinf.c (__csinf): Likewise.
29142         * math/s_csinh.c (__csinh): Likewise.
29143         * math/s_csinhf.c (__csinhf): Likewise.
29144         * math/s_csinhl.c (__csinhl): Likewise.
29145         * math/s_csinl.c (__csinl): Likewise.
29146         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
29147         * math/s_csqrtf.c (__csqrtf): Likewise.
29148         * math/s_csqrtl.c (__csqrtl): Likewise.
29149         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
29150         * math/s_ctanf.c (__ctanf): Likewise.
29151         * math/s_ctanh.c (__ctanh): Likewise.
29152         * math/s_ctanhf.c (__ctanhf): Likewise.
29153         * math/s_ctanhl.c (__ctanhl): Likewise.
29154         * math/s_ctanl.c (__ctanl): Likewise.
29155         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
29156         instead of volatile.
29157         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
29158         math_check_force_underflow.
29159         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
29160         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
29161         volatile when forcing underflow.
29162         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29163         math_check_force_underflow_nonneg.
29164         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
29165         Likewise.
29166         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
29167         math_check_force_underflow.
29168         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29169         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29170         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
29171         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
29172         math_check_force_underflow_nonneg.
29173         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
29174         math_check_force_underflow.
29175         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
29176         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
29177         instead of volatile.
29178         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
29179         math_check_force_underflow.
29180         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29181         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29182         math_check_force_underflow_nonneg.
29183         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
29184         math_check_force_underflow.
29185         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
29186         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
29187         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
29188         math_check_force_underflow_nonneg.
29189         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29190         Likewise.
29191         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
29192         math_check_force_underflow.
29193         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29194         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
29195         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
29196         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
29197         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
29198         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
29199         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
29200         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
29201         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29202         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
29203         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
29204         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
29205         Likewise.
29206         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
29207         math_check_force_underflow_nonneg.
29208         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29209         Likewise.
29210         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
29211         math_check_force_underflow.
29212         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29213         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
29214         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29215         Likewise.
29216         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
29217         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
29218         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
29219         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
29220         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
29221         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
29222         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
29223         instead of volatile.
29224         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
29225         math_check_force_underflow.
29226         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
29227         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
29228         math_check_force_underflow.
29229         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
29230         Likewise.
29231         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29232         Use math_check_force_underflow_nonneg.
29233         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
29234         math_check_force_underflow.
29235         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
29236         Likewise.
29237         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29238         Likewise.
29239         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29240         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29241         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29242         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29243         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
29244         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29245         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
29246         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
29247         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
29248         math_check_force_underflow_nonneg.
29249         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
29250         math_check_force_underflow.
29251         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29252         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
29253         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
29254         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
29255         math_check_force_underflow_nonneg.
29256         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
29257         math_check_force_underflow.
29258         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
29259         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
29260         instead of volatile.
29261         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
29262         math_check_force_underflow.
29264         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
29265         * stdlib/strtod_l.c: Include <math_private.h>.
29266         (overflow_value): Use math_narrow_eval.
29267         (underflow_value): Likewise.
29268         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29269         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29270         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
29271         (__ieee754_gamma_r): Likewise.
29272         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
29273         Likewise.
29274         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
29275         Likewise.
29276         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
29277         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
29278         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
29279         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
29280         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
29281         (__ieee754_gammaf_r): Likewise.
29282         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
29283         Likewise.
29284         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
29285         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
29286         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
29287         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
29288         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
29289         volatile.
29290         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
29291         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
29292         math_narrow_eval.
29293         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29294         Likewise.
29295         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29296         Likewise.
29297         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
29298         Likewise.
29299         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
29300         volatile.
29301         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
29302         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
29303         math_narrow_eval.
29304         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29305         Likewise.
29306         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29307         Likewise.
29309 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
29311         * nptl/Versions: Remove ignored symbols.
29313 2015-09-22  Florian Weimer  <fweimer@redhat.com>
29315         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
29316         * nss/Makefile (tests): Update.
29318 2015-09-22  Florian Weimer  <fweimer@redhat.com>
29320         * nss/bug18287.c: New file.
29321         * nss/Makefile (tests): Add bug18287.
29323 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29325         * mach/Versions (__mach_host_self_): Add symbol.
29327 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29329         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
29330         vm_page_size.
29332 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29334         Really fix sysdeps/i386/fpu/s_scalbn.S build
29336         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
29337         (libc: GLIBC_2_22): Remove unused version set.
29339 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
29341         * config.make.in (enable-timezone-tools): New variable.
29342         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
29343         (enable_timezone_tools): Export to generated files.
29344         * configure: Regenerate.
29345         * INSTALL: Regenerate.
29346         * manual/install.texi (--disable-timezone-tools): Document new flag.
29347         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
29348         ifeq ($(enable-timezone-tools),yes) check.
29350 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29352         * timezone/Makefile: Revert previous change.
29354         [BZ #18980]
29355         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
29356         (DEFINE_DBL_MIN): Likewise.
29357         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29358         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29359         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29360         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29361         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
29362         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29363         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29364         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
29365         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
29366         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29367         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29368         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
29369         (flt_min): Replace with use of DEFINE_FLT_MIN.
29370         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29371         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
29372         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29373         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29374         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
29375         (flt_min): Replace with use of DEFINE_FLT_MIN.
29376         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29377         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
29378         (flt_min): Replace with use of DEFINE_FLT_MIN.
29379         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29380         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
29381         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
29382         (__ieee754_hypot): Use DBL_NARROW_EVAL.
29383         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
29384         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
29385         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
29386         (__ieee754_pow): Use DBL_NARROW_EVAL.
29387         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
29388         (__ieee754_powf): Use FLT_NARROW_EVAL.
29389         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
29390         (__ieee754_expf_sse2): Convert double-precision result to single
29391         precision.
29392         * sysdeps/i386/fpu/libm-test-ulps: Update.
29394 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29396         * timezone/Makefile: Ignore unused variable errors due to private.h
29397         (time_t_min) and (time_t_max).
29398         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
29399         Likewise.
29401 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29403         [BZ #18981]
29404         * sysdeps/i386/fpu/i386-math-asm.h: New file.
29405         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
29406         (__ieee754_scalb): Use DBL_NARROW_EVAL.
29407         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
29408         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
29409         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
29410         (__scalbn): Use DBL_NARROW_EVAL.
29411         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
29412         (__scalbnf): Use FLT_NARROW_EVAL.
29414 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29416         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
29417         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
29418         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
29419         * stdio-common/printf_fp.c (___printf_fp):
29420         Use signbit to get the sign. Use isinf macro to allow inlining.
29421         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
29422         * stdio-common/printf_size.c (__printf_size): Likewise.
29424 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
29426         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
29428 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29430         [BZ #18980]
29431         * sysdeps/generic/math_private.h: Include <float.h>.
29432         (math_narrow_eval): New macro.
29433         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
29434         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
29435         math_narrow_eval on overflowing return value.
29436         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
29437         Likewise.
29438         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29439         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
29440         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
29441         Likewise.
29442         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
29444 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29446         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
29447         * math/Makefile: Remove isinf_ns.c.
29448         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
29449         * math/multc3.c (__multc3): Likewise.
29450         * math/s_casin.c (__casin): Likewise.
29451         * math/s_casinf.c (__casinf): Likewise.
29452         * math/s_casinl.c (__casinl): Likewise.
29453         * math/s_cproj.c (__cproj): Likewise.
29454         * math/s_cprojf.c (__cprojf): Likewise.
29455         * math/s_cprojl.c (__cprofl): Likewise.
29456         * math/s_ctan.c (__ctan): Likewise.
29457         * math/s_ctanf.c (__ctanf): Likewise.
29458         * math/s_ctanh.c (__ctanh): Likewise.
29459         * math/s_ctanhf.c (__ctanhf): Likewise.
29460         * math/s_ctanhl.c (__ctanhl): Likewise.
29461         * math/s_ctanl.c (__ctanl): Likewise.
29462         * math/w_fmod.c (__fmod): Likewise.
29463         * math/w_fmodf.c (__fmodf): Likewise.
29464         * math/w_fmodl.c (_fmodl): Likewise.
29465         * math/w_remainder.c (__remainder): Likewise.
29466         * math/w_remainderf.c (__remainderf): Likewise.
29467         * math/w_remainderl.c (__remainderl): Likewise.
29468         * math/w_scalb.c (__scalb): Likewise.
29469         * math/w_scalbf.c (__scalbf): Likewise.
29470         * math/w_scalbl.c (__scalbl): Likewise.
29471         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
29472         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
29473         with isinf.
29474         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
29475         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
29476         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
29477         __isinf_nsf with isinf.
29478         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
29479         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
29480         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
29481         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
29482         with isinf.
29483         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
29484         __isinf_nsl with isinf.
29485         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
29486         with isinf.
29487         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
29488         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
29489         __isinf_nsl with isinf.
29490         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
29491         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
29492         with isinf.
29494 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29496         * resolv/base64.c (rcsid): Remove unused static.
29497         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
29498         static.  (tqpi1): Likewise.
29499         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
29500         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
29501         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
29502         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
29503         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
29504         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
29505         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
29506         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
29507         Likewise.
29509 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
29511         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
29512         <nptl/pthreadP.h>.
29513         (_longjmp_unwind): Use __libc_ptf_call.
29514         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
29516 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
29518         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
29519         * sysdeps/arm/__longjmp.S: Likewise.
29521 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29523         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
29524         Use __builtin_signbit.
29525         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
29526         Use __builtin_signbitf.
29527         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
29528         Use __builtin_signbitl.
29529         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29530         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
29532 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29534         [BZ #15367]
29535         [BZ #17441]
29537         * math/Makefile: Build test-snan.c with -fsignaling-nans.
29538         * math/math.h (fpclassify): Use __builtin_fpclassify when
29539         available.  (signbit): Use __builtin_signbit(f/l).
29540         (isfinite): Use__builtin_isfinite.  (isnormal): Use
29541         __builtin_isnormal.  (isnan): Use __builtin_isnan.
29542         (isinf): Use __builtin_isinf_sign.
29544 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29546         * benchtests/Makefile: Add bench-math-inlines, link with libm.
29547         * benchtests/bench-math-inlines.c: New benchmark.
29548         * benchtests/bench-util.h: New file.
29549         * benchtests/bench-util.c: New file.
29550         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
29552 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
29554         * elf/tst-dlmopen1.c: Define TEST_SO.
29555         (do_test): Use TEST_SO.
29557         * elf/dl-load.c: Include libc-internal.h.
29558         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
29560 2015-09-18  Vincent Bernat  <vincent@bernat.im>
29562         [BZ #17887]
29563         * time/strptime_l.c (__strptime_internal): Make %z accept
29564         [+-]HH:MM time zones.
29566 2015-09-18  Vincent Bernat  <vincent@bernat.im>
29568         [BZ #17886]
29569         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
29570         valid time zone.
29572 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
29574         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
29575         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
29576         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29577         (__ASSUME_FDATASYNC): Delete.
29579 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29581         * conform/linknamespace.pl: Require weak undefined symbols to be
29582         in the standard namespace.
29583         (%strong_syms): Rename to %seen_syms.
29584         (%strong_seen): Rename to %seen_where.
29586 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
29588         [BZ #18970]
29589         * misc/error.c (error): Replace pthread_setcancelstate with
29590         __pthread_setcancelstate.
29591         (error_at_line): Likewise.
29592         * posix/wordexp.c (parse_comm): Likewise.
29593         * stdlib/fmtmsg.c (fmtmsg): Likewise.
29594         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
29595         (__pthread_setcancelstate): This.
29596         (pthread_setcancelstate): Add an alias.
29597         * nptl/nptl-init.c (pthread_functions): Replace
29598         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
29599         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
29600         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
29601         hidden_proto.
29602         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
29603         it with hidden_def.
29604         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
29605         (pthread_setcancelstate): Renamed to ...
29606         (__pthread_setcancelstate): This.
29607         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
29608         __libc_ptf_call with __pthread_setcancelstate.
29610 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29611             Andreas Schwab  <schwab@suse.de>
29613         [BZ #17118]
29614         * math/s_ctan.c (__ctan): Determine sign of zero real part of
29615         result when imaginary part of argument is infinite using sine and
29616         cosine.
29617         * math/s_ctanf.c (__ctanf): Likewise.
29618         * math/s_ctanl.c (__ctanl): Likewise.
29619         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
29620         of result when real part of argument is infinite using sine and
29621         cosine.
29622         * math/s_ctanhf.c (__ctanhf): Likewise.
29623         * math/s_ctanhl.c (__ctanhl): Likewise.
29624         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
29625         (ctanh_test_data): Add more tests of ctanh.
29627 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29629         [BZ #15384]
29630         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
29631         bit-mask as in subtraction.
29632         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
29633         Likewise.
29634         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
29635         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
29636         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
29638         [BZ #18951]
29639         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
29640         underflow exception for small results.
29641         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29642         Likewise.
29643         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29644         Likewise.
29645         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29646         Likewise.
29647         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29648         Likewise.
29649         * math/auto-libm-test-in: Add more tests of tgamma.
29650         * math/auto-libm-test-out: Regenerated.
29652 2015-09-17  Andreas Schwab  <schwab@suse.de>
29654         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
29656 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29658         [BZ #18977]
29659         * math/bits/mathcalls.h
29660         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
29661         not declare.
29662         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
29663         Likewise.
29664         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
29665         Likewise.
29666         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
29667         Likewise.
29668         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
29669         Likewise.
29670         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
29671         Likewise.
29672         * conform/data/math.h-data
29673         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
29674         function.
29675         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
29676         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
29677         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
29678         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
29679         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
29680         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
29681         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
29682         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
29683         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
29684         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
29685         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
29687         [BZ #6803]
29688         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
29689         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
29690         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
29691         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
29692         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
29693         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
29694         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
29695         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
29696         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29697         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
29698         Likewise.
29699         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29700         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
29701         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
29702         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
29703         long_double_symbol calls.
29704         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
29705         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
29706         strong alias of __ldexpl.
29707         (scalbnl): Define using long_double_symbol.
29708         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
29709         Remove alias.
29710         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
29711         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
29712         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
29713         (scalbln_test_data): Add more errno expectations.
29715 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
29717         Cache the host port like we cache the task port.  This way we do not
29718         need to call the kernel just to get the port.  Furthermore, we no
29719         longer increase the reference count on every invocation of
29720         `mach_host_self'.
29722         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
29723         Protect declarations against the macro expansion.
29724         * mach/mach_init.c (__mach_host_self_): New variable.
29725         (mach_init): Initialize `__mach_host_self_'.
29726         * mach/mach_init.h (__mach_host_self_): New declaration.
29727         (__mach_host_self, mach_host_self): New macros.
29728         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
29729         Release reference.
29731 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29733         [BZ #4404]
29734         * po/de.po: Update from Translation Project.
29736         [BZ #16415]
29737         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
29738         (__expm1l): Remove code to handle positive infinity and overflow.
29739         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
29740         variable.
29741         (__expm1l): Remove code to handle positive infinity and overflow.
29743 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
29744             Paul Pluzhnikov  <ppluzhnikov@google.com>
29746         [BZ #18872]
29747         * stdio-common/Makefile (tst-printf-bz18872): New test.
29748         (tst-printf-bz18872-mem.out): Likewise.
29749         * stdio-common/tst-printf-bz18872.sh: Generate new test.
29750         * stdio-common/vfprintf.c: Fix memory leaks.
29752 2015-09-16  Andreas Schwab  <schwab@suse.de>
29754         [BZ #17244]
29755         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
29756         Remove extra va_start/va_end calls.
29758         [BZ #17243]
29759         * posix/execl.c (execl): Add missing va_end.
29760         * posix/execle.c (execle): Likewise.
29761         * posix/execlp.c (execlp): Likewise.
29763 2015-09-15  Roland McGrath  <roland@hack.frob.com>
29765         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
29766         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
29768 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
29770         [BZ #18967]
29771         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
29772         undefine around includes of <bits/mathcalls.h>.
29773         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
29774         not declare function.
29775         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
29776         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
29777         (scalb): Likewise.
29778         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
29779         not define macro.
29780         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
29781         variable.
29782         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29783         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29784         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29786         [BZ #18857]
29787         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
29788         return non-finite argument without doing ordered comparisons on
29789         it.
29791         [BZ #16296]
29792         * math/fenv.h (fegetround): Use __attribute_pure__.
29793         * include/fenv.h (__fegetround): Likewise.
29795         [BZ #18595]
29796         * math/s_ctan.c (__ctan): Force underflow exception for results
29797         whose real or imaginary part has small absolute value.
29798         * math/s_ctanf.c (__ctanf): Likewise.
29799         * math/s_ctanh.c (__ctanh): Likewise.
29800         * math/s_ctanhf.c (__ctanhf): Likewise.
29801         * math/s_ctanhl.c (__ctanhl): Likewise.
29802         * math/s_ctanl.c (__ctanl): Likewise.
29803         * math/auto-libm-test-in: Do not allow missing underflow for ctan
29804         and ctanh.  Add more tests of ctan and ctanh.
29806         [BZ #15918]
29807         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
29808         handling of cases where one argument is an infinity.
29810         [BZ #18875]
29811         [BZ #18966]
29812         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
29813         (MO): New macro.
29814         (__ieee754_exp10): For small results, force underflow exception
29815         and remove excess range and precision from return value.
29816         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
29817         (MO): New macro.
29818         (__ieee754_exp10f): For small results, force underflow exception
29819         and remove excess range and precision from return value.
29820         * math/auto-libm-test-in: Add more tests of exp10.
29821         * math/auto-libm-test-out: Regenerated.
29823 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
29825         [BZ #18875]
29826         [BZ #18961]
29827         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
29828         (MO): New macro.
29829         (__ieee754_exp): For small results, force underflow exception and
29830         remove excess range and precision from return value.
29831         (__exp_finite): Likewise.
29832         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
29833         (MO): New macro.
29834         (__ieee754_expf): For small results, force underflow exception and
29835         remove excess range and precision from return value.
29836         (__expf_finite): Likewise.
29837         * math/auto-libm-test-in: Add more tests of exp.
29838         * math/auto-libm-test-out: Regenerated.
29840         [BZ #16521]
29841         [BZ #18875]
29842         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
29843         small results.
29844         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
29845         (MO): New macro.
29846         (__ieee754_exp2): For small results, force underflow exception and
29847         remove excess range and precision from return value.
29848         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
29849         (MO): New macro.
29850         (__ieee754_exp2f): For small results, force underflow exception
29851         and remove excess range and precision from return value.
29852         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
29853         (MO): New macro.
29854         (__ieee754_exp2l): Force underflow exception for small results.
29855         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29856         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29857         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
29858         (MO): New macro.
29859         (__ieee754_exp2l): Force underflow exception for small results.
29860         * math/auto-libm-test-in: Add more tests or exp2.
29861         * math/auto-libm-test-out: Regenerated.
29863 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
29865         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
29867         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
29868         /dev/null.
29870 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29872         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29873         io fs process)): Drop spurious backslash.
29875 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29877         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
29878         Use sysinfo system call instead of parsing /proc/meminfo.
29879         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
29880         Likewise.
29882 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
29884         [BZ #16985]
29885         * programs/localedef.c (main): Display argv[remaining] when
29886         output_path is NULL.
29888 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
29890         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29891         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
29892         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
29893         tanh.
29894         * math/auto-libm-test-out: Regenerated.
29895         * sysdeps/i386/fpu/libm-test-ulps: Update.
29896         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29897         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29900 2015-09-11  Roland McGrath  <roland@hack.frob.com>
29902         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
29903         Use 'override' keyword to freeze the value here, preventing
29904         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
29906 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
29908         [BZ #14912]
29909         * sysdeps/aarch64/bits/atomic.h: Move to ...
29910         * sysdeps/aarch64/atomic-machine.h: ...here.
29911         (_AARCH64_BITS_ATOMIC_H): Rename macro to
29912         _AARCH64_ATOMIC_MACHINE_H.
29913         * sysdeps/alpha/bits/atomic.h: Move to ...
29914         * sysdeps/alpha/atomic-machine.h: ...here.
29915         * sysdeps/arm/bits/atomic.h: Move to ...
29916         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
29917         * bits/atomic.h: Move to ...
29918         * sysdeps/generic/atomic-machine.h: ...here.
29919         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29920         * sysdeps/i386/bits/atomic.h: Move to ...
29921         * sysdeps/i386/atomic-machine.h: ...here.
29922         * sysdeps/ia64/bits/atomic.h: Move to ...
29923         * sysdeps/ia64/atomic-machine.h: ...here.
29924         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
29925         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
29926         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29927         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
29928         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
29929         * sysdeps/microblaze/bits/atomic.h: Move to ...
29930         * sysdeps/microblaze/atomic-machine.h: ...here.
29931         * sysdeps/mips/bits/atomic.h: Move to ...
29932         * sysdeps/mips/atomic-machine.h: ...here.
29933         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
29934         * sysdeps/powerpc/bits/atomic.h: Move to ...
29935         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
29936         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
29937         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
29938         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
29939         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
29940         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
29941         <atomic-machine.h> instead of <bits/atomic.h>.
29942         * sysdeps/s390/bits/atomic.h: Move to ...
29943         * sysdeps/s390/atomic-machine.h: ...here.
29944         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
29945         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
29946         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29947         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
29948         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
29949         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
29950         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
29951         * sysdeps/tile/bits/atomic.h: Move to ...
29952         * sysdeps/tile/atomic-machine.h: ...here.
29953         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
29954         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
29955         <sysdeps/tile/atomic-machine.h> instead of
29956         <sysdeps/tile/bits/atomic.h>.
29957         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29958         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
29959         * sysdeps/tile/tilepro/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/unix/sysv/linux/arm/bits/atomic.h: Move to ...
29964         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
29965         <sysdeps/arm/atomic-machine.h> instead of
29966         <sysdeps/arm/bits/atomic.h>.
29967         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
29968         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
29969         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29970         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
29971         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
29972         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29973         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
29974         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
29975         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
29976         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
29977         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
29978         * sysdeps/x86_64/bits/atomic.h: Move to ...
29979         * sysdeps/x86_64/atomic-machine.h: ...here.
29980         * include/atomic.h: Include <atomic-machine.h> instead of
29981         <bits/atomic.h>.
29983         * sysdeps/mips/mips32/libm-test-ulps: Update.
29984         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29986         [BZ #18952]
29987         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
29988         not convert non-integer negative arguments to int to determine the
29989         value of signgam.
29990         * math/auto-libm-test-in: Add more tests of lgamma.
29991         * math/auto-libm-test-out: Regenerated.
29993         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
29994         cosh, csqrt, erfc, expm1 and lgamma.
29995         * math/auto-libm-test-out: Regenerated.
29996         * sysdeps/i386/fpu/libm-test-ulps: Update.
29997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29999 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
30001         [BZ #2542]
30002         [BZ #2543]
30003         [BZ #2558]
30004         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
30005         __lgamma_neg for arguments from -28.0 to -2.0.
30006         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
30007         __lgamma_negf for arguments from -15.0 to -2.0.
30008         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30009         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
30010         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
30011         Call __lgamma_negl for arguments from -33.0 to -2.0.
30012         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
30013         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
30014         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
30015         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
30016         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
30017         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
30018         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
30019         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
30020         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
30021         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
30022         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
30023         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
30024         (__lgamma_neg): Likewise.
30025         (__lgamma_negl): Likewise.
30026         (__lgamma_product): Likewise.
30027         (__lgamma_productl): Likewise.
30028         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
30029         * math/auto-libm-test-in: Add more tests of lgamma.
30030         * math/auto-libm-test-out: Regenerated.
30031         * sysdeps/i386/fpu/libm-test-ulps: Update.
30032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30034 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
30036         [BZ #18675]
30037         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
30039 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
30041         [BZ #14912]
30042         * bits/libc-lock.h: Move to ...
30043         * sysdeps/generic/libc-lock.h: ...here.
30044         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30045         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
30046         * sysdeps/mach/hurd/libc-lock.h: ...here.
30047         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30048         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
30049         * sysdeps/mach/bits/libc-lock.h: Move to ...
30050         * sysdeps/mach/libc-lock.h: ...here.
30051         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30052         * sysdeps/nptl/bits/libc-lock.h: Move to ...
30053         * sysdeps/nptl/libc-lock.h: ...here.
30054         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30055         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
30056         * sysdeps/nptl/libc-lockP.h: ...here.
30057         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
30058         * crypt/crypt_util.c: Include <libc-lock.h> instead of
30059         <bits/libc-lock.h>.
30060         * dirent/scandir-tail.c: Likewise.
30061         * dlfcn/dlerror.c: Likewise.
30062         * elf/dl-close.c: Likewise.
30063         * elf/dl-iteratephdr.c: Likewise.
30064         * elf/dl-lookup.c: Likewise.
30065         * elf/dl-open.c: Likewise.
30066         * elf/dl-support.c: Likewise.
30067         * elf/dl-writev.h: Likewise.
30068         * elf/rtld.c: Likewise.
30069         * grp/fgetgrent.c: Likewise.
30070         * gshadow/fgetsgent.c: Likewise.
30071         * gshadow/sgetsgent.c: Likewise.
30072         * iconv/gconv_conf.c: Likewise.
30073         * iconv/gconv_db.c: Likewise.
30074         * iconv/gconv_dl.c: Likewise.
30075         * iconv/gconv_int.h: Likewise.
30076         * iconv/gconv_trans.c: Likewise.
30077         * include/link.h: Likewise.
30078         * inet/getnameinfo.c: Likewise.
30079         * inet/getnetgrent.c: Likewise.
30080         * inet/getnetgrent_r.c: Likewise.
30081         * intl/bindtextdom.c: Likewise.
30082         * intl/dcigettext.c: Likewise.
30083         * intl/finddomain.c: Likewise.
30084         * intl/gettextP.h: Likewise.
30085         * intl/loadmsgcat.c: Likewise.
30086         * intl/localealias.c: Likewise.
30087         * intl/textdomain.c: Likewise.
30088         * libidn/idn-stub.c: Likewise.
30089         * libio/libioP.h: Likewise.
30090         * locale/duplocale.c: Likewise.
30091         * locale/freelocale.c: Likewise.
30092         * locale/newlocale.c: Likewise.
30093         * locale/setlocale.c: Likewise.
30094         * login/getutent_r.c: Likewise.
30095         * login/getutid_r.c: Likewise.
30096         * login/getutline_r.c: Likewise.
30097         * login/utmp-private.h: Likewise.
30098         * login/utmpname.c: Likewise.
30099         * malloc/mtrace.c: Likewise.
30100         * misc/efgcvt.c: Likewise.
30101         * misc/error.c: Likewise.
30102         * misc/fstab.c: Likewise.
30103         * misc/getpass.c: Likewise.
30104         * misc/mntent.c: Likewise.
30105         * misc/syslog.c: Likewise.
30106         * nis/nis_call.c: Likewise.
30107         * nis/nis_callback.c: Likewise.
30108         * nis/nss-default.c: Likewise.
30109         * nis/nss_compat/compat-grp.c: Likewise.
30110         * nis/nss_compat/compat-initgroups.c: Likewise.
30111         * nis/nss_compat/compat-pwd.c: Likewise.
30112         * nis/nss_compat/compat-spwd.c: Likewise.
30113         * nis/nss_nis/nis-alias.c: Likewise.
30114         * nis/nss_nis/nis-ethers.c: Likewise.
30115         * nis/nss_nis/nis-grp.c: Likewise.
30116         * nis/nss_nis/nis-hosts.c: Likewise.
30117         * nis/nss_nis/nis-network.c: Likewise.
30118         * nis/nss_nis/nis-proto.c: Likewise.
30119         * nis/nss_nis/nis-pwd.c: Likewise.
30120         * nis/nss_nis/nis-rpc.c: Likewise.
30121         * nis/nss_nis/nis-service.c: Likewise.
30122         * nis/nss_nis/nis-spwd.c: Likewise.
30123         * nis/nss_nisplus/nisplus-alias.c: Likewise.
30124         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
30125         * nis/nss_nisplus/nisplus-grp.c: Likewise.
30126         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
30127         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
30128         * nis/nss_nisplus/nisplus-network.c: Likewise.
30129         * nis/nss_nisplus/nisplus-proto.c: Likewise.
30130         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
30131         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
30132         * nis/nss_nisplus/nisplus-service.c: Likewise.
30133         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
30134         * nis/ypclnt.c: Likewise.
30135         * nptl/libc_pthread_init.c: Likewise.
30136         * nss/getXXbyYY.c: Likewise.
30137         * nss/getXXent.c: Likewise.
30138         * nss/getXXent_r.c: Likewise.
30139         * nss/nss_db/db-XXX.c: Likewise.
30140         * nss/nss_db/db-netgrp.c: Likewise.
30141         * nss/nss_db/nss_db.h: Likewise.
30142         * nss/nss_files/files-XXX.c: Likewise.
30143         * nss/nss_files/files-alias.c: Likewise.
30144         * nss/nsswitch.c: Likewise.
30145         * posix/regex_internal.h: Likewise.
30146         * posix/wordexp.c: Likewise.
30147         * pwd/fgetpwent.c: Likewise.
30148         * resolv/res_hconf.c: Likewise.
30149         * resolv/res_libc.c: Likewise.
30150         * shadow/fgetspent.c: Likewise.
30151         * shadow/lckpwdf.c: Likewise.
30152         * shadow/sgetspent.c: Likewise.
30153         * socket/opensock.c: Likewise.
30154         * stdio-common/reg-modifier.c: Likewise.
30155         * stdio-common/reg-printf.c: Likewise.
30156         * stdio-common/reg-type.c: Likewise.
30157         * stdio-common/vfprintf.c: Likewise.
30158         * stdio-common/vfscanf.c: Likewise.
30159         * stdlib/abort.c: Likewise.
30160         * stdlib/cxa_atexit.c: Likewise.
30161         * stdlib/fmtmsg.c: Likewise.
30162         * stdlib/random.c: Likewise.
30163         * stdlib/setenv.c: Likewise.
30164         * string/strsignal.c: Likewise.
30165         * sunrpc/auth_none.c: Likewise.
30166         * sunrpc/bindrsvprt.c: Likewise.
30167         * sunrpc/create_xid.c: Likewise.
30168         * sunrpc/key_call.c: Likewise.
30169         * sunrpc/rpc_thread.c: Likewise.
30170         * sysdeps/arm/backtrace.c: Likewise.
30171         * sysdeps/generic/ldsodefs.h: Likewise.
30172         * sysdeps/generic/stdio-lock.h: Likewise.
30173         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
30174         * sysdeps/i386/backtrace.c: Likewise.
30175         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30176         * sysdeps/m68k/backtrace.c: Likewise.
30177         * sysdeps/mach/hurd/cthreads.c: Likewise.
30178         * sysdeps/mach/hurd/dirstream.h: Likewise.
30179         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
30180         * sysdeps/nptl/malloc-machine.h: Likewise.
30181         * sysdeps/nptl/stdio-lock.h: Likewise.
30182         * sysdeps/posix/dirstream.h: Likewise.
30183         * sysdeps/posix/getaddrinfo.c: Likewise.
30184         * sysdeps/posix/system.c: Likewise.
30185         * sysdeps/pthread/aio_suspend.c: Likewise.
30186         * sysdeps/s390/s390-32/backtrace.c: Likewise.
30187         * sysdeps/s390/s390-64/backtrace.c: Likewise.
30188         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30189         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30190         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
30191         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
30192         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
30193         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
30194         * sysdeps/unix/sysv/linux/system.c: Likewise.
30195         * sysdeps/x86_64/backtrace.c: Likewise.
30196         * time/alt_digit.c: Likewise.
30197         * time/era.c: Likewise.
30198         * time/tzset.c: Likewise.
30199         * wcsmbs/wcsmbsload.c: Likewise.
30200         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
30201         instead of <bits/libc-lock.h> in comment.
30203 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
30205         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
30206         Only use .set mips2 if the current ISA is below mips2.
30207         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
30208         Likewise.
30209         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
30210         mips32r2 if the current ISA is below mips32r2.
30211         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
30212         (TLS_IE): Updated to use the TLD_RDHWR macro.
30213         (TLS_LE): Likewise.
30214         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
30215         __ASSEMBLER__ condition.
30217 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30219         Fix parallel build of before-compile targets.
30221         * sysdeps/mach/Makefile ($(patsubst
30222         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
30223         mach-before-compile target.
30224         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30225         io fs process)): Move rule to dedicated hurd-before-compile target.
30227 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30229         Fix rules generating headers in hurd/ and mach/ when initial make call
30230         has subdir= explicitly set.
30232         * sysdeps/mach/Makefile ($(patsubst
30233         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
30234         calling $(MAKE).
30235         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30236         io fs process)): Force subdir to hurd when calling $(MAKE).
30237         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
30238         subdir to mach when calling $(MAKE).
30240 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
30242         Check sysheaders when looking for Mach and Hurd headers
30244         * sysdeps/mach/configure.ac: Add sysheaders check.
30245         * sysdeps/mach/configure: Regenerate.
30246         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
30247         * sysdeps/mach/hurd/configure: Regenerate.
30249 2015-09-04  Roland McGrath  <roland@hack.frob.com>
30251         [BZ #18921]
30252         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
30253         Fix inverted sense of test of 'o_directory_works' value.
30254         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
30255         Bernhard Voelker <mail@bernhard-voelker.de>.
30257 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
30259         [BZ #14912]
30260         * bits/linkmap.h: Move to ...
30261         * sysdeps/generic/linkmap.h: ...here.
30262         * sysdeps/aarch64/bits/linkmap.h: Move to ...
30263         * sysdeps/aarch64/linkmap.h: ...here.
30264         * sysdeps/arm/bits/linkmap.h: Move to ...
30265         * sysdeps/arm/linkmap.h: ...here.
30266         * sysdeps/hppa/bits/linkmap.h: Move to ...
30267         * sysdeps/hppa/linkmap.h: ...here.
30268         * sysdeps/ia64/bits/linkmap.h: Move to ...
30269         * sysdeps/ia64/linkmap.h: ...here.
30270         * sysdeps/mips/bits/linkmap.h: Move to ...
30271         * sysdeps/mips/linkmap.h: ...here.
30272         * sysdeps/s390/bits/linkmap.h: Move to ...
30273         * sysdeps/s390/linkmap.h: ...here.
30274         * sysdeps/sh/bits/linkmap.h: Move to ...
30275         * sysdeps/sh/linkmap.h: ...here.
30276         * sysdeps/x86/bits/linkmap.h: Move to ...
30277         * sysdeps/x86/linkmap.h: ...here.
30278         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
30280 2015-09-04  Andreas Schwab  <schwab@suse.de>
30282         [BZ #18635]
30283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
30284         (__makecontext): Terminate FDE before return label.
30285         (__novec_makecontext): Likewise.
30287 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30289         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
30290         first member of struct sv in syscall macro.
30292 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
30294         [BZ #14912]
30295         * bits/stdio-lock.h: Move to ...
30296         * sysdeps/generic/stdio-lock.h: ...here.
30297         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30298         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
30299         * sysdeps/nptl/stdio-lock.h: ...here.
30300         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30301         * include/libio.h: Include <stdio-lock.h> instead of
30302         <bits/stdio-lock.h>.
30303         * sysdeps/nptl/fork.c: Likewise.
30304         * sysdeps/pthread/flockfile.c: Likewise.
30305         * sysdeps/pthread/ftrylockfile.c: Likewise.
30306         * sysdeps/pthread/funlockfile.c: Likewise.
30308         [BZ #14912]
30309         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
30310         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
30311         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
30312         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
30313         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
30314         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30315         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
30317 2015-09-03  Roland McGrath  <roland@hack.frob.com>
30319         * elf/Makefile (test-xfail-tst-protected1a): New variable.
30320         (test-xfail-tst-protected1b): New variable.
30322 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
30324         [BZ #14912]
30325         * bits/libc-tsd.h: Move to ...
30326         * sysdeps/generic/libc-tsd.h: ...here.
30327         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
30328         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
30329         * sysdeps/mach/hurd/libc-tsd.h: ...here.
30330         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
30331         * include/ctype.h: Include <libc-tsd.h> instead of
30332         <bits/libc-tsd.h>.
30333         * include/rpc/rpc.h: Likewise.
30334         * locale/localeinfo.h: Likewise.
30335         * sunrpc/rpc_thread.c: Likewise.
30336         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
30337         * sysdeps/nptl/malloc-machine.h: Likewise.
30339         * Makefile (headers): Remove bits/libc-lock.h.
30340         * libio/Makefile (headers): Remove bits/stdio-lock.h.
30342         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
30343         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
30344         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
30345         <bits/stdio-lock.h>.
30346         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
30347         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
30349 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
30351         [BZ #18757]
30352         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
30353         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
30354         BZ #18757.
30356 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
30358         * malloc/mtrace.pl: Filter out NULL entries.
30360 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
30362         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
30363         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
30364         macro.
30366         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
30367         (TCP_CC_INFO): Likewise.
30368         (TCP_SAVE_SYN): Likewise.
30369         (TCP_SAVED_SYN): Likewise.
30371 2015-08-31  Brett Neumeier <brett@neumeier.us>
30373         [BZ #18870]
30374         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
30376 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
30378         [BZ #18873]
30379         Fix broken overflow check in posix_fallocate
30380         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
30381         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30382         Fix parenthesization typo.
30384 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
30386         [BZ #18887]
30387         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
30388         tst-mntent-blank-passno.
30389         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
30390         * misc/tst-mntent-blank-corrupt.c: New test.
30391         * misc/tst-mntent-blank-passno.c: New test ripped from ...
30392         * misc/tst-mntent.c (do_test): ... here.
30394 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
30396         [BZ #4404]
30397         * po/de.po: Fix SIGALRM typo.
30399 2015-08-28  James Perkins  <james@loowit.net>
30401         * time/tst-strptime2.c (tests): Replace short list of test
30402         strings for strptime %z specifier with code which exhaustively
30403         tests every combination of sign and 0 to 5 digits. Tests for
30404         rejection of invalid strings.
30406 2015-08-28  James Perkins  <james@loowit.net>
30408         [BZ #16141]
30409         * time/strptime_l.c (__strptime_internal): Fix %z minutes
30410         calculation, removing incorrect decimal time rounding, so that
30411         all minute values result in a valid seconds value.
30412         * time/strptime_l.c (__strptime_internal): Extend %z time zone
30413         offset range limits to UTC-99:59 through UTC+99:59 to parse
30414         current and historical use cases.
30415         * time/tst-strptime2.c (tests): Modify and add tests for the
30416         strptime %z input field descriptor, specifically conversion of
30417         minutes to seconds and validating an offset range of -9959 to
30418         +9959.
30420 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30421             Dmitry V. Levin  <ldv@altlinux.org>
30423         [BZ #18877]
30424         * posix/Makefile (tests): Add tst-mmap-offset.
30425         * posix/tst-mmap.c: New file.
30426         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
30427         offset calculation for negative values.
30429 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30431         * sysdeps/i386/init-arch.h: New file.
30432         * sysdeps/i386/i586/init-arch.h: Likewise.
30433         * sysdeps/i386/i686/init-arch.h: Likewise.
30434         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
30435         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
30436         * sysdeps/x86/cpu-features.h (bit_I586): New.
30437         (bit_I686): Likewise.
30438         (bit_CX8): Likewise.
30439         (bit_CMOV): Likewise.
30440         (index_CX8): Likewise.
30441         (index_CMOV): Likewise.
30442         (index_I586): Likewise.
30443         (index_I686): Likewise.
30444         (reg_CX8): Likewise.
30445         (reg_CMOV): Likewise.
30446         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
30447         available at compile-time.
30448         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
30449         available at compile-time.
30450         * sysdeps/x86/init-arch.h (USE_I586): New macro.
30451         (USE_I686): Likewise.
30453 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30455         * sysdeps/i386/bcopy.S: New file.
30456         * sysdeps/i386/bzero.S: Likewise.
30457         * sysdeps/i386/memcpy.S: Likewise.
30458         * sysdeps/i386/memmove.S: Likewise.
30459         * sysdeps/i386/mempcpy.S: Likewise.
30460         * sysdeps/i386/memset.S: Likewise.
30461         * sysdeps/i386/bzero.c: Removed.
30462         * sysdeps/i386/memset.c: Likewise.
30463         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
30464         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
30465         * sysdeps/i386/i586/memset_chk.S: Likewise.
30466         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
30467         * sysdeps/i386/memcpy_chk.S: Here.
30468         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
30469         * sysdeps/i386/memmove_chk.S: Here.
30470         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
30471         * sysdeps/i386/mempcpy_chk.S: Likewise.
30472         * sysdeps/i386/i686/memset_chk.S: Moved to ...
30473         * sysdeps/i386/memset_chk.S: Likewise.
30475 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
30477         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
30478         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
30479         file, move DIAG_POP_NEEDS_COMMENT to end of file.
30480         * soft-fp/fmadf4.c: Ditto.
30481         * soft-fp/fmatf4.c: Ditto.
30483 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30485         * sysdeps/i386/i586/Implies: Removed.
30486         * sysdeps/i386/i686/Implies: Likewise.
30488 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30490         * sysdeps/i386/i486/strlen.S: Moved to ...
30491         * sysdeps/i386/strlen.S: Here.
30493 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30495         * sysdeps/i386/i486/strcat.S: Moved to ...
30496         * sysdeps/i386/strcat.S: Here.
30498 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30500         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
30501         * sysdeps/i386/pthread_spin_trylock.S: Here.
30502         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
30503         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
30505 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30507         * sysdeps/i386/i486/string-inlines.c: Moved to ...
30508         * sysdeps/i386/string-inlines.c: Here.
30510 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30512         * sysdeps/i386/i486/htonl.S: Moved ...
30513         * sysdeps/i386/htonl.S: here.
30515 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30517         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
30518         * sysdeps/i386/bits/atomic.h: Here.
30520 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30522         * sysdeps/i386/i486/Versions: Removed.
30524 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30526         [BZ #2898]
30527         * misc/mktemp.c: Add mkdtemp to the link_warning message.
30528         Based on patch by Aurelien Jarno.
30530 2015-08-26  Stan Shebs  <stanshebs@google.com>
30532         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
30533         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30535 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30537         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
30538         * sysdeps/powerpc/dl-procinfo.c:
30539         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
30540         feature so it shows when LD_SHOW_AUXV=1.
30542 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
30544         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
30545         (__arch_compare_and_exchange_val_32_acq): Remove and use common
30546         definition.  ISA 2.07B no longer requires full sync.
30548 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
30550         [BZ #18863]
30551         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
30552         (si_call_addr): Define.
30553         (si_syscall): Define.
30554         (si_arch): Define.
30556 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
30558         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
30559         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
30560         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
30561         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30562         (__memset_zero_constant_len_parameter): New.
30563         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
30564         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30565         (__memset_zero_constant_len_parameter): Don't define if
30566         __memset_chk or USE_AS_BZERO are defined.
30568         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
30569         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
30570         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
30572         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
30573         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
30574         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
30575         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
30576         comments.
30577         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
30578         -mno-mmx for $(all-rtld-routines).
30579         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
30580         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
30581         i386.
30583 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30585         * sysdeps/generic/unwind.h
30586         (_Unwind_Word): Use __mode__(__unwind_word__)
30587         instead of __mode__(__word__).
30588         (_Unwind_Sword): Likewise.
30590         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30591         (MAX_NEEDED_INPUT): New define.
30592         (MAX_NEEDED_OUTPUT): New define.
30594         * NEWS: New item for IBM z13 string optimizations.
30596         * sysdeps/s390/multiarch/memrchr-c.c: New File.
30597         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
30598         * sysdeps/s390/multiarch/memrchr.c: Likewise.
30599         * sysdeps/s390/multiarch/Makefile
30600         (sysdep_routines): Add memrchr functions.
30601         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30602         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
30604         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
30605         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
30606         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
30607         * sysdeps/s390/multiarch/Makefile
30608         (sysdep_routines): Add wmemcmp functions.
30609         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30610         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
30611         * benchtests/bench-wmemcmp.c: New File.
30612         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
30614         * sysdeps/s390/multiarch/wmemset-c.c: New File.
30615         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
30616         * sysdeps/s390/multiarch/wmemset.c: Likewise.
30617         * sysdeps/s390/multiarch/Makefile
30618         (sysdep_routines): Add wmemset functions.
30619         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30620         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
30621         * wcsmbs/wmemset.c: Use WMEMSET if defined.
30622         * string/test-memset.c: Add wmemset support.
30623         * wcsmbs/test-wmemset.c: New File.
30624         * wcsmbs/Makefile (strop-tests): Add wmemset.
30625         * benchtests/bench-memset.c: Add wmemset support.
30626         * benchtests/bench-wmemset.c: New File.
30627         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
30629         * sysdeps/s390/multiarch/memccpy-c.c: New File.
30630         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
30631         * sysdeps/s390/multiarch/memccpy.c: Likewise.
30632         * sysdeps/s390/multiarch/Makefile
30633         (sysdep_routines): Add memccpy functions.
30634         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30635         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
30636         * string/memccpy.c: Use MEMCCPY if defined.
30638         * sysdeps/s390/multiarch/memchr-vx.S: New File.
30639         * sysdeps/s390/multiarch/memchr.c: Likewise.
30640         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
30641         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
30642         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
30643         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
30644         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
30645         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
30646         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
30647         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
30648         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
30649         and rawmemchr functions.
30650         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30651         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
30652         and wmemchr.
30653         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
30654         * string/test-memchr.c: Add wmemchr support.
30655         * wcsmbs/test-wmemchr.c: New File.
30656         * wcsmbs/Makefile (strop-tests): Add wmemchr.
30657         * benchtests/bench-memchr.c: Add wmemchr support.
30658         * benchtests/bench-wmemchr.c: New File.
30659         * benchtests/Makefile (wcsmbs-bench): wmemchr.
30661         * sysdeps/s390/multiarch/strcspn-c.c: New File.
30662         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
30663         * sysdeps/s390/multiarch/strcspn.c: Likewise.
30664         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
30665         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
30666         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
30667         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
30668         wcscspn functions.
30669         * sysdeps/s390/multiarch/ifunc-impl-list.c
30670         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
30671         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
30672         * string/test-strcspn.c: Add wcscspn support.
30673         * wcsmbs/test-wcscspn.c: New File.
30674         * wcsmbs/Makefile (strop-tests): Add wcscspn.
30675         * benchtests/bench-strcspn.c: Add wcscspn support.
30676         * benchtests/bench-wcscspn.c: New File.
30677         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
30679         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
30680         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
30681         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
30682         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
30683         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
30684         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
30685         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
30686         wcspbrk functions.
30687         * sysdeps/s390/multiarch/ifunc-impl-list.c
30688         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
30689         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
30690         * string/test-strpbrk.c: Add wcspbrk support.
30691         * wcsmbs/test-wcspbrk.c: New File.
30692         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
30693         * benchtests/bench-strpbrk.c: Add wcspbrk support.
30694         * benchtests/bench-wcspbrk.c: New File.
30695         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
30697         * sysdeps/s390/multiarch/strspn-c.c: New File.
30698         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
30699         * sysdeps/s390/multiarch/strspn.c: Likewise.
30700         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
30701         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
30702         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
30703         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
30704         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
30705         wcsspn functions.
30706         * sysdeps/s390/multiarch/ifunc-impl-list.c
30707         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
30708         * string/test-strspn.c: Add wcsspn support.
30709         * wcsmbs/test-wcsspn.c: New File.
30710         * wcsmbs/Makefile (strop-tests): Add wcsspn.
30711         * benchtests/bench-strspn.c: Add wcsspn support.
30712         * benchtests/bench-wcsspn.c: New File.
30713         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
30715         * sysdeps/s390/multiarch/strrchr-c.c: New File.
30716         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
30717         * sysdeps/s390/multiarch/strrchr.c: Likewise.
30718         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
30719         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
30720         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
30721         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
30722         wcsrchr functions.
30723         * sysdeps/s390/multiarch/ifunc-impl-list.c
30724         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
30725         * benchtests/bench-wcsrchr.c: New File.
30726         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
30728         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
30729         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
30730         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
30731         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
30732         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
30733         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
30734         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
30735         wcschrnul functions.
30736         * sysdeps/s390/multiarch/ifunc-impl-list.c
30737         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
30738         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
30739         * string/test-strchr.c: Add wcschrnul support.
30740         * wcsmbs/test-wcschrnul.c: New File.
30741         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
30742         * benchtests/bench-strchr.c: Add wcschrnul support.
30743         * benchtests/bench-wcschrnul.c: New File.
30744         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
30746         * sysdeps/s390/multiarch/strchr-c.c: New File.
30747         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
30748         * sysdeps/s390/multiarch/strchr.c: Likewise.
30749         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
30750         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
30751         * sysdeps/s390/multiarch/wcschr.c: Likewise.
30752         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
30753         wcschr functions.
30754         * sysdeps/s390/multiarch/ifunc-impl-list.c
30755         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
30756         * string/strchr.c (STRCHR): Define and use macro.
30757         * benchtests/bench-wcschr.c: New File.
30758         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
30760         * sysdeps/s390/multiarch/strncmp-c.c: New File.
30761         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
30762         * sysdeps/s390/multiarch/strncmp.c: Likewise.
30763         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
30764         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
30765         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
30766         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
30767         wcsncmp functions.
30768         * sysdeps/s390/multiarch/ifunc-impl-list.c
30769         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
30770         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
30771         * benchtests/bench-strncmp.c: Add wcsncmp support.
30772         * benchtests/bench-wcsncmp.c: New File.
30773         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
30775         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
30776         * sysdeps/s390/multiarch/strcmp.c: Likewise.
30777         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
30778         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
30779         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
30780         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
30781         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
30782         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
30783         wcscmp functions.
30784         * sysdeps/s390/multiarch/ifunc-impl-list.c
30785         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
30786         * string/strcmp.c (STRCMP): Define and use macro.
30787         * benchtests/bench-wcscmp.c: New File.
30788         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
30789         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
30790         instead of _HAVE_STRING_ARCH_memchr.
30792         * sysdeps/s390/multiarch/strncat-c.c: New File.
30793         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
30794         * sysdeps/s390/multiarch/strncat.c: Likewise.
30795         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
30796         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
30797         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
30798         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
30799         wcsncat functions.
30800         * sysdeps/s390/multiarch/ifunc-impl-list.c
30801         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
30802         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
30803         * string/test-strncat.c: Add wcsncat support.
30804         * wcsmbs/test-wcsncat.c: New File.
30805         * wcsmbs/Makefile (strop-tests): Add wcsncat.
30806         * benchtests/bench-strncat.c: Add wcsncat support.
30807         * benchtests/bench-wcsncat.c: New File.
30808         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
30810         * sysdeps/s390/multiarch/strcat-c.c: New File.
30811         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
30812         * sysdeps/s390/multiarch/strcat.c: Likewise.
30813         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
30814         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
30815         * sysdeps/s390/multiarch/wcscat.c: Likewise.
30816         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
30817         wcscat functions.
30818         * sysdeps/s390/multiarch/ifunc-impl-list.c
30819         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
30820         * string/strcat.c (STRCAT): Define and use macro.
30821         * wcsmbs/wcscat.c: Use WCSCAT if defined.
30822         * string/test-strcat.c: Add wcscat support.
30823         * wcsmbs/test-wcscat.c: New File.
30824         * wcsmbs/Makefile (strop-tests): Add wcscat.
30825         * benchtests/bench-strcat.c: Add wcscat support.
30826         * benchtests/bench-wcscat.c: New File.
30827         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
30829         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
30830         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
30831         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
30832         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
30833         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
30834         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
30835         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
30836         wcpncpy functions.
30837         * sysdeps/s390/multiarch/ifunc-impl-list.c
30838         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
30839         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
30840         * string/test-stpncpy.c: Add wcpncpy support.
30841         * wcsmbs/test-wcpncpy.c: New File.
30842         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
30843         * benchtests/bench-stpncpy.c: Add wcpncpy support.
30844         * benchtests/bench-wcpncpy.c: New File.
30845         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
30847         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
30848         * sysdeps/s390/multiarch/strncpy.c: Likewise.
30849         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
30850         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
30851         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
30852         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
30853         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
30854         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
30855         wcsncpy functions.
30856         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
30857         * sysdeps/s390/multiarch/ifunc-impl-list.c
30858         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
30859         * string/test-strncpy.c: Add wcsncpy support.
30860         * wcsmbs/test-wcsncpy.c: New File.
30861         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
30862         * benchtests/bench-strncpy.c: Add wcsncpy support.
30863         * benchtests/bench-wcsncpy.c: New File.
30864         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
30866         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
30867         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
30868         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
30869         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
30870         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
30871         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
30872         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
30873         wcpcpy functions.
30874         * string/stpcpy.c: Use STPCPY if defined.
30875         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
30876         * sysdeps/s390/multiarch/ifunc-impl-list.c
30877         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
30878         * string/test-stpcpy.c: Add wcpcpy support.
30879         * wcsmbs/test-wcpcpy.c: New File.
30880         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
30881         * benchtests/bench-stpcpy.c: Add wcpcpy support.
30882         * benchtests/bench-wcpcpy.c: New File.
30883         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
30885         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
30886         * sysdeps/s390/multiarch/strcpy.c: Likewise.
30887         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
30888         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
30889         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
30890         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
30891         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
30892         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
30893         wcscpy functions.
30894         * sysdeps/s390/multiarch/ifunc-impl-list.c
30895         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
30896         * benchtests/bench-wcscpy.c: New File.
30897         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
30899         * sysdeps/s390/multiarch/strnlen-c.c: New File.
30900         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
30901         * sysdeps/s390/multiarch/strnlen.c: Likewise.
30902         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
30903         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
30904         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
30905         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
30906         wcsnlen functions.
30907         * sysdeps/s390/multiarch/ifunc-impl-list.c
30908         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
30909         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
30910         * string/test-strnlen.c: Add wcsnlen support.
30911         * wcsmbs/test-wcsnlen.c: New File.
30912         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
30913         * benchtests/bench-strnlen.c: Add wcsnlen support.
30914         * benchtests/bench-wcsnlen.c: New File.
30915         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
30917         * sysdeps/s390/multiarch/Makefile: New File.
30918         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
30919         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
30920         * sysdeps/s390/multiarch/strlen.c: Likewise.
30921         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
30922         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
30923         * sysdeps/s390/multiarch/wcslen.c: Likewise.
30924         * string/strlen.c (STRLEN): Define and use macro.
30925         * sysdeps/s390/multiarch/ifunc-impl-list.c
30926         (IFUNC_VX_IMPL): New macro function.
30927         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
30928         * benchtests/Makefile (wcsmbs-bench): New variable.
30929         (string-bench-all): Added wcsmbs-bench.
30930         * benchtests/bench-wcslen.c: New File.
30932         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
30933         s390_vx_libc_ifunc2): New macro function.
30935         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
30936         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
30937         assembler support.
30938         * sysdeps/s390/configure: Regenerated.
30940         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
30941         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30943         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
30944         * sysdeps/s390/dl-procinfo.h: Add vector capability.
30945         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
30947         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
30948         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
30949         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
30950         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
30951         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
30952         (memcmp, bcmp): Use __memcmp_default as alias source.
30953         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
30954         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
30955         Rename to __memcmp_default.
30956         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
30957         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
30958         (memcpy): Use __memcpy_default as alias source.
30959         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
30960         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
30961         Rename to __memcpy_default.
30962         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
30963         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
30964         (memset): Use __memset_default as alias source.
30965         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
30966         * sysdeps/s390/s390-32/memset.S (__memset_g5):
30967         Rename to __memset_default.
30968         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
30969         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
30970         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
30971         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
30972         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
30973         (memcmp, bcmp): Use __memcmp_default as alias source.
30974         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
30975         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
30976         Rename to __memcmp_default.
30977         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
30978         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
30979         (memcpy): Use __memcpy_default as alias source.
30980         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
30981         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
30982         Rename to __memcpy_default.
30983         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
30984         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
30985         (memset): Use __memset_default as alias source.
30986         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
30987         * sysdeps/s390/s390-64/memset.S (__memset_z900):
30988         Rename to __memset_default.
30989         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
30990         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
30992         [BZ #18610]
30993         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
30994         __ieee_instruction_pointer to __unused.
30995         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
30996         __ieee_instruction_pointer.
30997         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
30998         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
30999         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31000         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31001         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
31002         Mark dxc-field as reserved.
31004 2015-08-25  Roland McGrath  <roland@hack.frob.com>
31006         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
31007         if the weak reference is not null.
31009 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31011         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
31013         [BZ #11214]
31014         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
31016 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31018         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
31019         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
31020         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
31021         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
31022         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
31023         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
31024         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
31025         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
31026         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
31027         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
31028         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
31029         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
31030         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
31031         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
31032         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
31033         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
31034         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
31035         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
31037 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
31039         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
31040         register other than r0 for tabort, it has special meaning.
31041         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
31042         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
31043         transaction before starting syscall.
31045 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31047         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
31049 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31051         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
31053         * sysdeps/x86_64/rtld-memcmp.c: Removed.
31054         * sysdeps/x86_64/rtld-memset.S: Likewise.
31055         * sysdeps/x86_64/rtld-strchr.S: Likewise.
31056         * sysdeps/x86_64/rtld-strlen.S: Likewise.
31057         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
31058         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31060         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
31062 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
31064         * debug/strcpy_chk.c: Improve performance.
31065         * debug/stpcpy_chk.c: Likewise.
31066         * sysdeps/x86_64/strcpy_chk.S: Remove.
31067         * sysdeps/x86_64/stpcpy_chk.S: Remove.
31069         [BZ #18240]
31070         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
31072 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31074         [BZ #15128]
31075         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
31076         ifuncmain8.
31077         (modules-names): Add ifuncmod8.
31078         ($(objpfx)ifuncmain8): New rule.
31079         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
31080         <cpuid.h>.
31081         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
31082         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
31083         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
31084         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
31085         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
31086         * sysdeps/x86_64/dl-trampoline.h: Likewise.
31087         * sysdeps/x86_64/ifuncmain8.c: New file.
31088         * sysdeps/x86_64/ifuncmod8.c: Likewise.
31089         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
31090         Removed.
31091         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
31092         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
31093         Change rtld_savespace_sse to __glibc_unused2.
31094         (RTLD_CHECK_FOREIGN_CALL): Removed.
31095         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
31096         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
31097         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
31099 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
31101         * sysdeps/aarch64/bzero.S (__bzero): Remove.
31103 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
31105         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
31106         Unconditionally set __fpcr to avoid uninialized warning.
31107         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
31109 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31111         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
31112         is corrupt.
31114         * malloc/arena.c (arena_get2): Drop unused argument.
31115         (arena_lock): Adjust.
31116         (arena_get_retry): Likewise.
31118 2015-08-24  Andreas Schwab  <schwab@suse.de>
31120         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
31121         Don't define.
31122         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
31123         (__ASSUME_IPC64): Don't undef.
31124         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
31125         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31126         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31127         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
31128         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
31129         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
31130         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
31131         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
31132         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
31133         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
31134         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
31135         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
31136         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
31137         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
31138         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
31139         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
31140         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
31141         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
31142         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
31143         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
31144         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
31146 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
31148         * manual/Makefile (install): Only build manual when perl is available.
31150 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31152         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
31153         '#undef memcpy' by '#undef memchr'.
31155 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31157         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
31158         memchr not point to the internal __GI_memchr implementation.
31160 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
31162         * timezone/Makefile (CFLAGS-zdump.c): Remove
31163         -Wno-strict-prototypes.
31164         (CFLAGS-zic.c): Likewise.
31165         (CFLAGS-ialloc.c): Likewise.
31166         (CFLAGS-scheck.c): Likewise.
31168         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
31169         -Wno-error=undef.
31171 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31173         * i386/i686/multiarch/strcasestr-c.c: Removed.
31174         * x86_64/multiarch/strcasestr.c: Likewise.
31175         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31176         Remove strcasestr.
31178 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
31180         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
31182         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
31183         variables for high and low parts before possibly modifying them.
31185 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31187         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
31188         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
31189         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
31190         of "multiarch/init-arch.h".
31191         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
31192         * sysdeps/x86/init-arch.h: This.
31194 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31196         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
31197         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
31199 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
31201         [BZ #17787]
31202         * manual/macros.texi: Add twoexp macro.
31203         * manual/filesys.texi: Fix exponents.
31204         * manual/llio.texi: Likewise.
31205         * manual/stdio.texi: Likewise.
31207 2015-08-20  Florian Weimer  <fweimer@redhat.com>
31209         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
31210         incorrect use.
31212 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
31214         [BZ #18370]
31215         * math/s_csqrt.c (__csqrt): Force underflow exception for results
31216         whose real or imaginary part has small absolute value.
31217         * math/s_csqrtf.c (__csqrtf): Likewise.
31218         * math/s_csqrtl.c (__csqrtl): Likewise.
31219         * math/auto-libm-test-in: Add more tests of csqrt.
31220         * math/auto-libm-test-out: Regenerated.
31221         * sysdeps/i386/fpu/libm-test-ulps: Update.
31223 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
31225         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
31226         __ppc_set_ppr_very_low): New functions.
31227         * manual/platform.texi: Add documentation about
31228         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
31230 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
31232         * string/stpncpy.c (stpncpy): Improve performance using
31233         __strnlen/memcpy/memset.
31235 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
31237         [BZ #18796]
31238         * scripts/test-installation.pl: Don't add -lmvec to build options if
31239         libmvec wasn't built.
31241 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
31243         [BZ #14341]
31244         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
31245         case when there is a gap between DT_REL and DT_JMPREL sections.
31246         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
31247         (LDFLAGS-tst-split-dynreloc): New.
31248         (tst-split-dynreloc-ENV): Likewise.
31249         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
31250         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
31252 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31254         [BZ #18822]
31255         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
31256         attribute_hidden.
31257         (__xstat64_conv): Likewise.
31258         (__xstat32_conv): Likewise.
31260 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31262         [BZ #18822]
31263         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
31264         Don't load %ebx when calling __setcontext.  Call __setcontext
31265         with HIDDEN_JUMPTARGET.
31266         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
31267         libc_hidden_def.
31269 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31271         * sysdeps/i386/i686/Makefile
31272         [$(subdir) == string] (sysdep_routines): Moved to ...
31273         * sysdeps/i386/Makefile: Here.
31274         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
31275         * sysdeps/i386/cacheinfo.c: Here.
31276         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
31277         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
31278         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
31279         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
31281 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31283         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
31284         __i586__ is defined.
31285         (HAS_I686): Defined to 1 if __i686__ is defined.
31287 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
31289         * elf/Makefile [$(have-z-execstack) = yes]
31290         (CPPFLAGS-tst-execstack.c): New variable.
31292         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
31293         conditional to [defined UTMPX || _HAVE_UT_TYPE].
31294         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
31295         UTMPX || _HAVE_UT_TV].
31296         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
31297         UTMPX || _HAVE_UT_TV - 0].
31299 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
31301         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
31302         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
31303         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
31305 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31307         * sysdeps/powerpc/dl-procinfo.c:
31308         (_dl_powerpc_cap_flags): Added missing strings for some
31309         hwcap features.
31310         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
31312 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
31314         Port the 0x7efe...feff pattern to GCC 6.
31315         See Steve Ellcey's bug report in:
31316         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
31317         * string/memrchr.c (MEMRCHR):
31318         * string/rawmemchr.c (RAWMEMCHR):
31319         * string/strchr.c (strchr):
31320         * string/strchrnul.c (STRCHRNUL):
31321         Rewrite code to avoid issues with signed shift overflow.
31323 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
31325         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
31326         whether cpuid is available only if HAS_CPUID is 0.
31327         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
31328         (HAS_I586): Likewise.
31329         (HAS_I686): Likewise.
31331 2015-08-18  Zack Weinberg  <zackw@panix.com>
31333         * misc/Versions (libc): Add GLIBC_2.23.
31335 2015-08-18  Alan Modra  <amodra@gmail.com>
31337         [BZ #18421]
31338         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
31339         .Lp__global.
31340         (_start): Load %dp via .Lp__global.
31341         [!SHARED]: Use .section .rodata.
31343 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31345         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
31346         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
31348 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31350         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
31351         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
31353 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31355         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
31356         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
31358 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31360         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
31361         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
31363 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31365         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
31366         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
31368 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31370         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
31371         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
31373 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31375         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
31377 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31379         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
31380         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
31381         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31382         (__ASSUME_LWS_CAS): Delete.
31384 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31386         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
31387         * sysdeps/hppa/configure: Regenerated.
31388         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
31389         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
31390         * sysdeps/hppa/nptl/tls.h: Likewise.
31392 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
31394         [BZ #18823]
31395         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
31396         for scaling up small arguments.
31397         * math/s_csqrtf.c (__csqrtf): Likewise.
31398         * math/s_csqrtl.c (__csqrtl): Likewise.
31399         * math/auto-libm-test-in: Add more tests of csqrt.
31400         * math/auto-libm-test-out: Regenerated.
31402 2015-08-17  Andreas Schwab  <schwab@suse.de>
31404         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
31405         version set GLIBC_2.19.
31407 2015-08-16  Zack Weinberg  <zackw@panix.com>
31409         [BZ #18681]
31410         * misc/regexp.h: This interface is no longer supported.
31411         Remove all contents, leaving only an #error directive.
31412         * misc/regexp.c (loc1, loc2, locs, step, advance):
31413         Demote to compatibility symbols.
31415 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
31417         [BZ #18084]
31418         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
31419         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
31420         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
31421         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
31422         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
31423         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
31424         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
31425         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
31426         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
31428 2015-08-15  Zack Weinberg  <zackw@panix.com>
31430         [BZ #18795]
31431         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
31432         buffer length is known to be too large, not if it's known to be
31433         small enough.
31434         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
31435         overflow at runtime, involving a length parameter, twice: once
31436         with a compile-time constant length parameter, once without.
31438 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
31440         [BZ #18824]
31441         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
31442         scaling x * y up instead of down.
31443         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31444         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31445         * math/auto-libm-test-in: Add more tests of fma.
31446         * math/auto-libm-test-out: Regenerated.
31448 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
31450         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31452 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31454         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
31455         unnecessary movq.
31456         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
31457         Likewise.
31459 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
31461         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31462         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
31463         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
31464         and tgamma.
31465         * math/auto-libm-test-out: Regenerated.
31466         * sysdeps/i386/fpu/libm-test-ulps: Update.
31467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31469         [BZ #16520]
31470         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
31471         (__tanh): Force underflow exception for arguments with small
31472         absolute value.
31473         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
31474         (__tanhf): Force underflow exception for arguments with small
31475         absolute value.
31476         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
31477         (__tanhl): Force underflow exception for arguments with small
31478         absolute value.
31479         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
31480         (__tanhl): Force underflow exception for arguments with small
31481         absolute value.
31482         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
31483         (__tanhl): Force underflow exception for arguments with small
31484         absolute value.
31485         * math/auto-libm-test-in: Add more tests of tanh.
31486         * math/auto-libm-test-out: Regenerated.
31487         * sysdeps/i386/fpu/libm-test-ulps: Update.
31489 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31491         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
31492         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
31494 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31496         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
31497         <cpuid.h>.
31499 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31501         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
31502         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
31504 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31506         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
31507         Remove $(objpfx)init-arch.o.
31508         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
31509         init-arch.
31510         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
31511         (INIT_ARCH_EXT): Defined as empty.
31512         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
31513         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
31514         __init_cpu_features call.  Replace HAS_XXX with
31515         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31516         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
31517         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
31518         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
31519         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
31520         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
31521         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
31522         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
31523         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
31524         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
31525         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
31526         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
31527         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
31528         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
31529         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
31530         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
31531         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
31532         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
31533         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
31534         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
31535         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
31536         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
31537         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
31538         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
31539         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
31540         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
31541         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
31542         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
31543         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
31544         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
31545         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
31546         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
31547         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
31548         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
31549         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
31550         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
31552 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31554         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
31555         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31556         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31557         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31558         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
31559         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
31560         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
31561         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
31562         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
31563         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
31564         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
31565         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
31566         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31567         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31568         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31569         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31570         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31571         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31572         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31573         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31574         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31575         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31576         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31577         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31578         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31579         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31580         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31581         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31582         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31583         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31584         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31585         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31586         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31587         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31588         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31589         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31590         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31591         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31592         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31593         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31594         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31595         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31596         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31598 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31600         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
31601         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31602         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31603         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31604         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31605         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31606         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31607         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
31608         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31609         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31610         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31611         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
31612         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
31613         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
31614         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
31615         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
31616         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
31617         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
31618         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
31619         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
31620         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
31621         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
31622         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
31623         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31624         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31625         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
31626         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
31627         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
31628         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31629         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31630         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31631         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31632         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31633         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31634         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31635         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31636         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31637         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31638         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31639         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31640         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31641         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31642         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31644 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31646         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
31647         (dl_platform_init): Call init_cpu_features.
31648         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
31649         * sysdeps/i386/i686/cacheinfo.c
31650         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
31651         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
31652         * sysdeps/i386/i686/multiarch/Versions: Removed.
31653         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
31654         Removed.
31655         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
31656         * sysdeps/unix/sysv/linux/x86/Makefile
31657         (libpthread-sysdep_routines): Remove init-arch.
31658         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
31659         <sysdeps/x86_64/dl-procinfo.c> instead of
31660         sysdeps/generic/dl-procinfo.c>.
31661         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
31662         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
31663         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
31664         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
31665         [$(subdir) == elf] (tests-static): Add
31666         tst-get-cpu-features-static.
31667         * sysdeps/x86/Versions: New file.
31668         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
31669         * sysdeps/x86/cpu-features.c: Likewise.
31670         * sysdeps/x86/cpu-features.h: Likewise.
31671         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
31672         * sysdeps/x86/libc-start.c: Likewise.
31673         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
31674         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
31675         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
31676         * sysdeps/x86_64/dl-procinfo.c: Likewise.
31677         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
31678         Assume USE_MULTIARCH is defined and don't check it.
31679         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
31680         (is_amd): Likewise.
31681         (max_cpuid): Likewise.
31682         (intel_check_word): Likewise.
31683         (__cache_sysconf): Don't call __init_cpu_features.
31684         (__x86_preferred_memory_instruction): Removed.
31685         (init_cacheinfo): Don't call __init_cpu_features. Replace
31686         __cpu_features with GLRO(dl_x86_cpu_features).
31687         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
31688         (dl_platform_init): Call init_cpu_features.
31689         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
31690         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
31691         * sysdeps/x86_64/multiarch/Versions: Removed.
31692         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
31693         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
31694         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
31695         Removed.
31696         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
31698 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31700         [BZ #18820]
31701         * libio/Makefile (test-fmemopen-mem): New test.
31702         * libio/test-fmemopen.c (do_bz18820): New test.
31703         * libio/fmemopen.c (__fmemopen): Fix memory leak.
31704         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
31706 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31708         [BZ #16734]
31709         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
31710         (FREE_BUF): Delete.
31711         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
31712         * libio/genops.c (_IO_setb): Use malloc and free directly.
31713         (_IO_default_doallocate, _IO_default_finish): Likewise.
31714         ( _IO_unbuffer_all): Likewise.
31715         ( libc_freeres_fn): Likewise.
31716         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31717         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
31718         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
31719         (_IO_wdefault_doallocate): Likewise.
31721 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31723         [BZ #18086]
31724         * sysdeps/posix/nice.c (nice): Restore old errno.
31725         * posix/tst-nice.c (do_test): Add test for BZ #18086.
31727 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
31729         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
31731 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31733         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
31734         __bcopy and add a weak_alias to bcopy.
31735         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
31736         for static build.
31738         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
31739         cleanup macro usage.
31740         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
31741         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
31742         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
31743         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
31744         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
31745         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
31746         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
31747         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31748         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31749         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
31750         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31751         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
31752         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31753         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
31754         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31755         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
31756         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
31757         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
31758         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31760         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
31761         libc_hidden_def.
31762         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
31764         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
31765         (sysdep_routines): Add strstr-ppc64.
31766         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
31768 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
31770         [BZ #18778]
31771         * elf/Makefile (tests): Add Add tst-nodelete2.
31772         (modules-names): Add tst-nodelete2mod.
31773         (tst-nodelete2mod.so-no-z-defs): New.
31774         ($(objpfx)tst-nodelete2): Likewise.
31775         ($(objpfx)tst-nodelete2.out): Likewise.
31776         (LDFLAGS-tst-nodelete2): Likewise.
31777         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
31778         out of loop through all loaded libraries.
31779         * elf/tst-nodelete2.c: New file.
31780         * elf/tst-nodelete2mod.c: Likewise.
31781         * elf/tst-znodelete-zlib.cc: Delete.
31783 2015-08-11  Andreas Schwab  <schwab@suse.de>
31785         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
31786         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
31787         (__openat64_nocancel): Likewise.
31789 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
31791         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
31792         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
31793         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
31794         * math/auto-libm-test-out: Regenerated.
31795         * sysdeps/i386/fpu/libm-test-ulps: Update.
31796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31798 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31800         [BZ #18790]
31801         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
31802         threshold for returning +/- 1.
31803         * math/auto-libm-test-in: Add more tests of tanh.
31804         * math/auto-libm-test-out: Regenerated.
31805         * sysdeps/i386/fpu/libm-test-ulps: Update.
31807 2015-08-10  Andreas Schwab  <schwab@suse.de>
31809         [BZ #18781]
31810         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
31811         MORE_OFLAGS to oflag.
31812         * io/test-lfs.c (do_test): Test openat64.
31814 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31816         [BZ #18789]
31817         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
31818         smaller threshold for returning the argument.
31819         * math/auto-libm-test-in: Add more tests of sinh.
31820         * math/auto-libm-test-out: Regenerated.
31821         * sysdeps/i386/fpu/libm-test-ulps: Update.
31823 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31825         [BZ #18674]
31826         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
31827         break.
31829 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
31831         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
31832         (generated): Don't add $(addprefix z.,$(tzfiles)).
31834 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31836         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
31837         * scripts/sysd-rules.awk: Likewise.
31839 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31841         * iconvdata/tst-tables.sh: Change echo -n to printf.
31842         * nss/db-Makefile: Likewise.
31843         * posix/tst-getconf.sh: Likewise.
31844         * stdio-common/tst-unbputc.sh: Likewise.
31846 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31848         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
31849         MADV_*_PAGES defines behind this feature check.
31851 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
31853         [BZ #18480]
31854         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
31855         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
31856         Define.
31857         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
31858         LOAD_REGS_5, LOAD_REGS_6): Update.
31859         (INTERNAL_SYSCALL): Update using new LOAD defines.
31860         (INTERNAL_SYSCALL_NCS): Likewise.
31861         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
31863 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31865         [BZ #16734]
31866         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
31868 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31870         [BZ #17905]
31871         * catgets/Makefile (tst-catgets-mem): New test.
31872         * catgets/catgets.c (catopen): Don't use unbounded alloca.
31873         * catgets/open_catalog.c (__open_catalog): Likewise.
31874         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
31876 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
31878         [BZ #18787]
31879         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
31880         clobber registers.
31881         (atomic_compare_and_exchange_val_acq): Use register asms to assign
31882         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
31883         Cast return to __typeof (oldval).
31885 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
31887         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
31888         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
31889         and delete sys/syscall.h include.
31891 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
31893         [BZ #16517]
31894         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
31895         (tan): Force underflow exception for arguments with small absolute
31896         value.
31897         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
31898         (__kernel_tanf): Force underflow exception for arguments with
31899         small absolute value.
31900         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
31901         (__kernel_tanl): Force underflow exception for arguments with
31902         small absolute value.
31903         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
31904         (__kernel_tanl): Force underflow exception for arguments with
31905         small absolute value.
31906         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
31907         (__kernel_tanl): Force underflow exception for arguments with
31908         small absolute value.
31909         * math/auto-libm-test-in: Add more tests of tan.
31910         * math/auto-libm-test-out: Regenerated.
31912 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31914         Fix sysdeps/i386/fpu/s_scalbn.S build
31916         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
31918 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
31920         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31922 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31924         Fix gcrt0.o compilation
31926         When static-start-installed-name is different from
31927         start-installed-name, we must not use the shared objects.
31929         * csu/Makefile
31930         (extra-objs): Add gmon-start.o when building shared library and
31931         $(static-start-installed-name) is different from
31932         $(start-installed-name).
31933         $(objpfx)g$(static-start-installed-name): When building shared
31934         library and $(static-start-installed-name) is different from
31935         $(static-start-installed-name), revert to non-shared rule,
31936         i.e. using $(objpfx)% and gmon-start.o.
31938 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
31940         [BZ #16519]
31941         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
31942         (__ieee754_sinh): Force underflow exception for arguments with
31943         small absolute value.
31944         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
31945         (__ieee754_sinhf): Force underflow exception for arguments with
31946         small absolute value.
31947         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
31948         (__ieee754_sinhl): Force underflow exception for arguments with
31949         small absolute value.
31950         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
31951         (__ieee754_sinhl): Force underflow exception for arguments with
31952         small absolute value.
31953         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
31954         (__ieee754_sinhl): Force underflow exception for arguments with
31955         small absolute value.
31956         * math/auto-libm-test-in: Add more tests of sinh.
31957         * math/auto-libm-test-out: Regenerated.
31958         * sysdeps/i386/fpu/libm-test-ulps: Update.
31960 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31962         * libio/oldfileops.c: Include unistd.h.
31964 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
31966         * stdlib/isomac.c: Include ctype.h.
31968 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
31970         * dirent/tst-seekdir.c (main): Converted to ...
31971         (do_test): ... this.
31972         (TEST_FUNCTION): New macro.
31973         Include test-skeleton.c.
31974         * elf/tst-dlmodcount.c (main): Converted to ...
31975         (do_test): ... this.
31976         (TEST_FUNCTION): New macro.
31977         Include test-skeleton.c.
31978         * elf/tst-order-main.c (main): Converted to ...
31979         (do_test): ... this.
31980         (TEST_FUNCTION): New macro.
31981         Include test-skeleton.c.
31982         * elf/tst-pie2.c (main): Converted to ...
31983         (do_test): ... this.
31984         (TEST_FUNCTION): New macro.
31985         Include test-skeleton.c.
31986         * inet/tst-ether_aton.c (main): Converted to ...
31987         (do_test): ... this.
31988         (TEST_FUNCTION): New macro.
31989         Include test-skeleton.c.
31990         * misc/tst-mntent.c (main): Converted to ...
31991         (do_test): ... this.
31992         (TEST_FUNCTION): New macro.
31993         Include test-skeleton.c.
31994         * misc/tst-tsearch.c (main): Converted to ...
31995         (do_test): ... this.
31996         (TEST_FUNCTION): New macro.
31997         Include test-skeleton.c.
31998         * posix/tst-regexloc.c (main): Converted to ...
31999         (do_test): ... this.
32000         (TEST_FUNCTION): New macro.
32001         Include test-skeleton.c.
32002         * resolv/tst-aton.c (main): Converted to ...
32003         (do_test): ... this.
32004         (TEST_FUNCTION): New macro.
32005         Include test-skeleton.c.
32006         * stdio-common/test-fwrite.c (main): Converted to ...
32007         (do_test): ... this.
32008         (TEST_FUNCTION): New macro.
32009         Include test-skeleton.c.
32010         * stdio-common/tst-ferror.c (main): Converted to ...
32011         (do_test): ... this.
32012         (TEST_FUNCTION): New macro.
32013         Include test-skeleton.c.
32014         * stdio-common/tst-printf.c (main): Converted to ...
32015         (do_test): ... this.
32016         (TEST_FUNCTION): New macro.
32017         Include test-skeleton.c.
32018         * stdio-common/tst-printfsz.c (main): Converted to ...
32019         (do_test): ... this.
32020         (TEST_FUNCTION): New macro.
32021         Include test-skeleton.c.
32022         * stdlib/tst-strtod.c (main): Converted to ...
32023         (do_test): ... this.
32024         (TEST_FUNCTION): New macro.
32025         Include test-skeleton.c.
32026         * string/tst-strlen.c (main): Converted to ...
32027         (do_test): ... this.
32028         (TEST_FUNCTION): New macro.
32029         Include test-skeleton.c.
32030         * string/tst-svc.c (main): Converted to ...
32031         (do_test): ... this.
32032         (TEST_FUNCTION): New macro.
32033         Include test-skeleton.c.
32034         * time/tst-strptime.c (main): Converted to ...
32035         (do_test): ... this.
32036         (TEST_FUNCTION): New macro.
32037         Include test-skeleton.c.
32038         * timezone/tst-timezone.c (main): Converted to ...
32039         (do_test): ... this.
32040         (TEST_FUNCTION): New macro.
32041         Include test-skeleton.c.
32043 2015-08-05  Zack Weinberg  <zackw@panix.com>
32045         * misc/regexp.h: Update comments.
32047 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
32049         [BZ #18635]
32050         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
32051         before return label.
32053 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32055         [BZ #18661]
32056         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
32057         when calling __errno_location.
32058         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
32059         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
32061 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32063         [BZ #18661]
32064         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
32065         (__lll_timedwait_tid): Align stack to 16 bytes when calling
32066         __gettimeofday.
32068 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32070         [BZ #18661]
32071         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32072         (__start_context): Don't use pop to restore %rdi so that stack
32073         is aligned to 16 bytes when calling __setcontext.
32075 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32077         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
32078         only for libc.
32079         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32081 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32083         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
32084         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
32085         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
32087 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32089         * string/memccpy.c (memccpy):
32090         Improve performance by using memchr/memcpy/__mempcpy.
32092 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32094         * string/strncpy.c (strncpy):
32095         Improve performance by using __strnlen/memcpy.
32097 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32099         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32100         Optimize to avoid an unnecessary FPCR read.
32102 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32104         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
32105         Optimize to reduce FPCR/FPSR accesses.
32107 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32109         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
32110         dead->data[category] != NULL.
32112 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
32114         [BZ #18647]
32115         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
32116         and |x| close to 1, use absolute value of x when computing log.
32117         * math/auto-libm-test-in: Add more tests of pow.
32118         * math/auto-libm-test-out: Regenerated.
32120 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32122         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
32123         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
32124         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
32126 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
32128         [BZ #18525]
32129         * locales/km_KH: Remove timezone definition.
32130         * locales/lo_LA: Likewise.
32131         * locales/my_MM: Likewise.
32132         * locales/nan_TW@latin: Likewise.
32133         * locales/th_TH: Likewise.
32134         * locales/uk_UA: Likewise.
32136 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
32138         [BZ #18265]
32139         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
32140         (wcsncat): Likewise.
32141         (wcscmp): Likewise.
32142         (wcsncmp): Likewise.
32144 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32146         * test-skeleton.c (usage): New function.
32147         (main): Call usage when opt is '?'.
32149 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32151         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
32152         before first use.
32154 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32156         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
32157         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
32158         in there too.
32160 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
32162         * version.h (RELEASE): Set to "development".
32163         (VERSION): Set to "2.22.90"
32165         * version.h (RELEASE): Set to "stable".
32166         (VERSION): Set to "2.22"
32167         * include/features.h (__GLIBC_MINOR__): Set to 22.
32169 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
32171         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
32172         Restructure macro to avoid "value computed is not used" warning.
32173         (atomic_compare_and_exchange_val_acq): Likewise.
32175 2015-08-04  Andreas Schwab  <schwab@suse.de>
32177         [BZ #18635]
32178         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
32179         ret.
32180         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
32182 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
32184         * po/pl.po: Updated translation.
32185         * po/uk.po: Likewise.
32186         * po/fi.po: Likewise.
32187         * po/ko.po: Likewise.
32188         * po/ru.po: Likewise.
32189         * po/vi.po: Likewise.
32191 2015-07-31  Zack Weinberg  <zackw@panix.com>
32193         [BZ #18681]
32194         * regexp.h: Add unconditional #warning stating that this header
32195         will be removed soon.  Revise banner comment to match.
32196         (compile): Consistently use ERROR instead of RETURN to report
32197         errors (partial fix for BZ #18681).
32198         * regexp.c: Don't include regexp.h. Remove some unnecessary
32199         declarations.
32201 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
32203         * po/libc.pot: Regenerated.
32205 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
32207         [BZ #18740]
32208         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
32209         float-vlen4-arch-ext-cflags): Removed.
32210         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
32211         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
32213 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32215         [BZ #14113]
32216         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
32217         aligned to __aligned__.
32218         (pthread_cond_t, pthread_rwlock_t): Likewise.
32220 2015-07-30  Torvald Riegel  <triegel@redhat.com>
32222         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
32224 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32226         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
32227         (struct sigaction): Change sa_flags from a long to an int, and add
32228         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
32230 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32232         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
32233         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
32234         sysdeps/generic/sysdep.h include.
32235         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
32236         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
32237         sysdeps/hppa/sysdep.h.
32238         (ENTRY, PSEUDO): Undefine before defining.
32240 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32242         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
32243         from scratch to use INTERNAL_SYSCALL.
32245 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
32247         [BZ #18078]
32248         * scripts/check-localplt.awk: Support alternate relocations.
32249         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
32250         sections.
32251         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
32252         malloc entries with + REL R_386_GLOB_DAT.
32253         * sysdeps/x86_64/localplt.data: New file.
32255 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
32257         [BZ #18731]
32258         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
32259         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32260         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32262 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32264         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
32266 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32268         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
32269         directly in terms of __sync_fetch_and_add and delete (int) cast.
32271 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32273         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
32274         the -D_ASM_IA64_CURRENT_H flag.
32276 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32278         [BZ #18641]
32279         * pwd/pwd.h (putpwent): Delete __nonnull markings.
32281 2015-07-27  Andreas Schwab  <schwab@suse.de>
32283         * conform/conformtest.pl (checknamespace): Filter out string
32284         literals while tokenizing.
32286 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
32288         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32289         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
32290         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32292 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
32294         * nptl/tst-join7mod.c: Add #include <string.h>.
32296 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
32298         * sysdeps/nios2/libm-test-ulps: Update.
32300 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
32302         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
32303         Fix order of arguments to the rt_sigprocmask syscall.
32304         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
32305         Likewise.
32307 2015-07-24  Roland McGrath  <roland@hack.frob.com>
32309         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
32311 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32313         [BZ #18457]
32314         * nptl/Makefile (tests): New test case tst-join7.
32315         (modules-names): New test case module tst-join7mod.
32316         * nptl/tst-join7.c: New file.
32317         * nptl/tst-join7mod.c: New file.
32318         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
32319         all translation units in libc.so, libpthread.so and rtld.
32321 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32325 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
32327         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
32328         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32329         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32330         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32331         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32332         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32333         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32334         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32335         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32336         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32337         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32338         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32339         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
32340         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32341         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
32342         implementation.
32344 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32346         [BZ #17711]
32347         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32348         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
32349         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32350         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32351         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
32352         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32354 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32356         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
32357         instead of just saying load lock in the comments.
32359 2015-07-23  Roland McGrath  <roland@hack.frob.com>
32361         * sysdeps/unix/Subdirs: Moved ...
32362         * sysdeps/posix/Subdirs: ... here.
32363         * login/pty.h (struct termios, struct winsize): Add forward decls.
32364         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
32365         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
32366         * sysdeps/arm/nacl/libc.abilist: Updated.
32367         * sysdeps/nacl/libutil.abilist: New file.
32369         * bits/signum.h: Update comments to mention 1003.1-2013 too.
32370         (SIGWINCH): New macro.
32372         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
32373         * sysdeps/arm/nacl/libc.abilist: Add it.
32375 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
32377         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
32379 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
32381         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32382         Swap __glibc_reserved0 and sa_flags order.
32384 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32386         [BZ #18657]
32387         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
32388         are pending TLS destructor calls.
32389         * include/link.h (struct link_map): Add concurrency note for
32390         L_TLS_DTOR_COUNT.
32391         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32392         Don't touch the link map flag.  Atomically increment
32393         l_tls_dtor_count.
32394         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
32395         Avoid taking the load lock and don't touch the link map flag.
32396         * stdlib/tst-tls-atexit-nodelete.c: New test case.
32397         * stdlib/Makefile (tests): Use it.
32398         * stdlib/tst-tls-atexit.c (do_test): dlopen
32399         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
32400         to allow tst-tls-atexit-nodelete test case to use it.
32402 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32404         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
32405         to bits/types.h.
32406         (msgqnum_t): New typedef.
32407         (msglen_t): Likewise.
32408         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
32409         and msg_qbytes type to msglen_t.
32411 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32413         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
32414         pad0 to __glibc_reserved0.
32415         (struct stat64): Likewise.
32417 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32419         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32420         Change sa_flags from a long to an int and add __glibc_reserved0 before
32421         it for padding.
32423 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32425         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
32426         anonymous by deleting "siginfo" name.
32428 2015-07-21  Roland McGrath  <roland@hack.frob.com>
32430         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
32431         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
32432         rather than __nacl_irt_filename.
32433         * sysdeps/nacl/xstat.c (__xstat): Likewise.
32435         * NEWS: New item for arm-nacl port.
32436         * sysdeps/arm/nacl/libc.abilist: New file.
32437         * sysdeps/nacl/ld.abilist: New file.
32438         * sysdeps/nacl/libBrokenLocale.abilist: New file.
32439         * sysdeps/nacl/libanl.abilist: New file.
32440         * sysdeps/nacl/libcrypt.abilist: New file.
32441         * sysdeps/nacl/libdl.abilist: New file.
32442         * sysdeps/nacl/libm.abilist: New file.
32443         * sysdeps/nacl/libpthread.abilist: New file.
32444         * sysdeps/nacl/libresolv.abilist: New file.
32445         * sysdeps/nacl/librt.abilist: New file.
32447 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
32449         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
32450         __startcontext to initialize the new context.
32451         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
32452         up CFI directive to forbid further backtracing.
32454 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
32456         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
32457         reference.
32458         * charmaps/ANSI_X3.4-1968: Likewise.
32459         * charmaps/BS_4730: Likewise.
32460         * charmaps/BS_VIEWDATA: Likewise.
32461         * charmaps/CP1250: Likewise.
32462         * charmaps/CP1251: Likewise.
32463         * charmaps/CP1252: Likewise.
32464         * charmaps/CP1253: Likewise.
32465         * charmaps/CP1254: Likewise.
32466         * charmaps/CP1255: Likewise.
32467         * charmaps/CP1256: Likewise.
32468         * charmaps/CSN_369103: Likewise.
32469         * charmaps/EBCDIC-DK-NO: Likewise.
32470         * charmaps/GB_1988-80: Likewise.
32471         * charmaps/GREEK-CCITT: Likewise.
32472         * charmaps/GREEK7: Likewise.
32473         * charmaps/INIS-8: Likewise.
32474         * charmaps/ISIRI-3342: Likewise.
32475         * charmaps/ISO_2033-1983: Likewise.
32476         * charmaps/ISO_5427-EXT: Likewise.
32477         * locales/POSIX: Likewise.
32478         * locales/ar_SA: Likewise.
32479         * locales/be_BY: Likewise.
32480         * locales/be_BY@latin: Likewise.
32481         * locales/ca_ES: Likewise.
32482         * locales/cs_CZ: Likewise.
32483         * locales/da_DK: Likewise.
32484         * locales/de_BE: Likewise.
32485         * locales/de_CH: Likewise.
32486         * locales/de_LU: Likewise.
32487         * locales/en_AU: Likewise.
32488         * locales/en_BW: Likewise.
32489         * locales/en_CA: Likewise.
32490         * locales/en_DK: Likewise.
32491         * locales/en_GB: Likewise.
32492         * locales/en_IE: Likewise.
32493         * locales/en_NZ: Likewise.
32494         * locales/en_ZA: Likewise.
32495         * locales/en_ZW: Likewise.
32496         * locales/es_AR: Likewise.
32497         * locales/es_BO: Likewise.
32498         * locales/es_CL: Likewise.
32499         * locales/es_CO: Likewise.
32500         * locales/es_DO: Likewise.
32501         * locales/es_EC: Likewise.
32502         * locales/es_ES: Likewise.
32503         * locales/es_HN: Likewise.
32504         * locales/es_MX: Likewise.
32505         * locales/es_PA: Likewise.
32506         * locales/es_PE: Likewise.
32507         * locales/es_PY: Likewise.
32508         * locales/es_SV: Likewise.
32509         * locales/es_US: Likewise.
32510         * locales/es_UY: Likewise.
32511         * locales/es_VE: Likewise.
32512         * locales/et_EE: Likewise.
32513         * locales/fa_IR: Likewise.
32514         * locales/fo_FO: Likewise.
32515         * locales/fr_CA: Likewise.
32516         * locales/fr_CH: Likewise.
32517         * locales/gv_GB: Likewise.
32518         * locales/he_IL: Likewise.
32519         * locales/hr_HR: Likewise.
32520         * locales/id_ID: Likewise.
32521         * locales/is_IS: Likewise.
32522         * locales/it_CH: Likewise.
32523         * locales/iw_IL: Likewise.
32524         * locales/kl_GL: Likewise.
32525         * locales/ko_KR: Likewise.
32526         * locales/kw_GB: Likewise.
32527         * locales/lg_UG: Likewise.
32528         * locales/lt_LT: Likewise.
32529         * locales/lv_LV: Likewise.
32530         * locales/mi_NZ: Likewise.
32531         * locales/nhn_MX: Likewise.
32532         * locales/nl_BE: Likewise.
32533         * locales/pl_PL: Likewise.
32534         * locales/sk_SK: Likewise.
32535         * locales/sl_SI: Likewise.
32536         * locales/sv_FI: Likewise.
32537         * locales/tl_PH: Likewise.
32538         * locales/tr_TR: Likewise.
32539         * locales/vi_VN: Likewise.
32541 2015-07-21  Khem Raj  <raj.khem@gmail.com>
32543         [BZ #17475]
32544         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
32545         of tu_IN and bh_IN.
32547 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
32549         [BZ #18694]
32550         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
32551         bits/wordsize.h.
32552         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
32554 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32556         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
32557         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
32558         (spawn_thread): New function.
32559         (load): Rename to reg_dtor_and_close.  Move dlopen to...
32560         (do_test): ... here.  Use IS_LOADED to test for its
32561         availability.
32563 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
32565         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32567 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
32569         [BZ #18696]
32570         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
32571         si_addr_bnd.
32572         (si_lower): New.
32573         (si_upper): Likewise.
32575 2015-07-16  David S. Miller  <davem@davemloft.net>
32577         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
32579 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32581         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
32582         buffer.
32583         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
32584         fail output information.
32586 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32588         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
32589         and strstr-ppc64..
32590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
32591         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
32592         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
32593         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
32594         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
32596 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
32598         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32599         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32600         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32601         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32603 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
32605         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
32606         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
32607         rtld_hidden_proto.
32608         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
32610 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32612         * tst-nodelete-opened.c (do_test): Add comment to clarify how
32613         the test can fail.
32615         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
32617         [BZ #18676]
32618         * elf/tst-nodelete-opened.c: New test case.
32619         * elf/tst-nodelete-opened-lib.c: New test case module.
32620         * elf/Makefile (tests, modules-names): Use them.
32621         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
32622         early.
32624 2015-07-15  David S. Miller  <davem@davemloft.net>
32626         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
32627         futex-intenal.h
32628         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
32629         * sysdeps/sparc/sparc64/Makefile: Likewise.
32630         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
32631         Remove space from macro define.
32632         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
32634 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
32636         [BZ #17475]
32637         * locale/iso-639.def: Update Bhili and Tulu language codes as
32638         per iso639-3.
32640 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
32642         * elf/tst-leaks1.c (main): Converted to ...
32643         (do_test): ... this.
32644         (TEST_FUNCTION): New macro.
32645         Include test-skeleton.c.
32646         * localedata/tst-langinfo.c (main): Converted to ...
32647         (do_test): ... this.
32648         (TEST_FUNCTION): New macro.
32649         Include test-skeleton.c.
32650         * math/test-fpucw.c (main): Converted to ...
32651         (do_test): ... this.
32652         (TEST_FUNCTION): New macro.
32653         Include test-skeleton.c.
32654         * math/test-tgmath.c (main): Converted to ...
32655         (do_test): ... this.
32656         (TEST_FUNCTION): New macro.
32657         Include test-skeleton.c.
32658         * math/test-tgmath2.c (main): Converted to ...
32659         (do_test): ... this.
32660         (TEST_FUNCTION): New macro.
32661         Include test-skeleton.c.
32662         * setjmp/tst-setjmp.c (main): Converted to ...
32663         (do_test): ... this.
32664         (TEST_FUNCTION): New macro.
32665         Include test-skeleton.c.
32666         * stdio-common/tst-sscanf.c (main): Converted to ...
32667         (do_test): ... this.
32668         (TEST_FUNCTION): New macro.
32669         Include test-skeleton.c.
32670         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
32671         (do_test): ... this.
32672         (TEST_FUNCTION): New macro.
32673         Include test-skeleton.c.
32675         * elf/tst-audit9.c (main): Converted to ...
32676         (do_test): ... this.
32677         (TEST_FUNCTION): New macro.
32678         Include test-skeleton.c.
32680 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
32682         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
32684 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32686         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
32687         New variable.
32689 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32691         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32693 2015-07-14  Roland McGrath  <roland@hack.frob.com>
32695         * sysdeps/generic/dl-fileid.h: New file.
32696         * sysdeps/posix/dl-fileid.h: New file.
32697         * sysdeps/nacl/dl-fileid.h: New file.
32698         * include/link.h: Include <dl-fileid.h>.
32699         (struct link_map): Replace l_dev and l_ino with l_file_id.
32700         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
32701         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
32702         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
32704 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32706         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
32708 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32710         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
32711         Add iff $CXX is set.
32712         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
32713         Likewise.
32714         (tst-nodelete-zmodiff): Likewise.
32715         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
32717 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32719         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
32721 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32723         * sysdeps/aarch64/fpu/math_private.h
32724         (define math_opt_barrier): Add AArch64 version.
32725         (math_force_eval): Likewise.
32727 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32729         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
32731 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
32733         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
32734         %ld with %jd and cast to intmax_t.
32735         (do_test_length_zero): Likewise.
32737 2015-07-10  Roland McGrath  <roland@hack.frob.com>
32739         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
32741 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
32743         * sysdeps/tile/libm-test-ulps: Regenerated.
32745         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
32746         Comment out the whole function, not just its body.
32748 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32750         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
32751         locks.
32753         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
32755 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32757         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
32758         (sem_assume_only_signals_cause_futex_EINTR): Remove.
32760 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32762         * sysdeps/nptl/futex-internal.h: New file.
32763         * sysdeps/nacl/futex-internal.h: New file.
32764         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
32765         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
32766         error checking.
32767         (setxid_unmark_thread): Likewise.
32768         (__nptl_setxid): Likewise.
32769         (__wait_lookup_done): Likewise.
32770         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32771         * nptl/nptl-init.c (sighandler_setxid): Likewise.
32772         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
32773         * nptl/pthread_once.c (clear_once_control): Likewise.
32774         (__pthread_once_slow): Likewise.
32775         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
32776         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
32777         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
32778         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
32779         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
32780         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
32781         Likewise.
32782         (__pthread_rwlock_rdlock): Likewise.
32783         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32784         Likewise.
32785         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32786         Likewise.
32787         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32788         Likewise.
32789         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
32790         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
32791         Likewise.
32792         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
32793         __ASSUME_PRIVATE_FUTEX check.
32794         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
32795         Check that shared futexes are supported.
32796         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
32797         wrappers with error checking.
32798         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
32799         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
32800         * nptl/pthread_barrierattr_setpshared.c
32801         (pthread_barrierattr_setpshared): Check that shared futexes are
32802         supported.
32803         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
32804         Likewise.
32805         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
32806         Likewise.
32807         * nptl/sem_init.c (futex_private_if_supported): Remove.
32808         (__new_sem_init): Adapt and check that shared futexes are supported.
32809         * nptl/sem_open.c (sem_open): Likewise.
32810         * nptl/sem_post.c (futex_wake): Remove.
32811         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
32812         (do_futex_wait): Use futex wrappers with error checking.
32813         * nptl/sem_wait.c: Include lowlevellock.h.
32814         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
32815         Use futex_supports_pshared.
32816         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
32817         Use futex wrappers with error checking.
32818         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
32819         Likewise.
32820         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
32821         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
32822         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
32823         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
32824         (futex_wake): Likewise.
32825         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
32826         (do_futex_wait): Use futex wrappers with error checking.
32827         (__new_sem_wait_slow): Update EINTR handling.
32828         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
32830 2015-07-09  Martin Sebor  <msebor@redhat.com>
32832         [BZ #18435]
32833         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32834         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
32835         * nptl/Makefile (test-xfail-tst-once5): Define.
32837 2015-07-09  Roland McGrath  <roland@hack.frob.com>
32839         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
32840         * elf/dl-minimal.c: For readability, reorder some definitions and
32841         introduce more page breaks.  Include <stdio.h>.
32842         (__libc_fatal): New function.
32844         * include/unistd.h: Add rtld_hidden_proto for _exit.
32845         * posix/_exit.c: Add rtld_hidden_def.
32846         * sysdeps/mach/hurd/_exit.c: Likewise.
32847         * sysdeps/nacl/_exit.c: Likewise.
32848         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
32849         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
32851 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
32853         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
32854         bndmov encoding with zero displacement.
32856 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32857             H.J. Lu  <hongjiu.lu@intel.com>
32859         [BZ #18134]
32860         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
32861         * sysdeps/i386/configure: Regenerated.
32862         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32863         (_dl_runtime_profile): Save and restore Intel MPX return bound
32864         registers when calling _dl_call_pltexit.  Add
32865         PRESERVE_BND_REGS_PREFIX before return.
32866         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
32867         (LRV_BND1_OFFSET): Likewise.
32868         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
32869         lrv_bnd1.
32870         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
32871         typo in bndmov encoding.
32872         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
32873         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
32874         branch instructions to preserve bounds.
32876 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
32879         [GLIBC_2.22]: Add fmemopen.
32881 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32883         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
32884         returns an error, also try to use host port from __mach_host_self for
32885         the __vm_wire call.
32886         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
32888 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32890         [BZ #18400]
32891         [BZ #18648]
32892         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
32893         Fix pr_uid and pr_gid members.
32894         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
32895         definition to elf_greg_t.
32897 2015-07-08  Roland McGrath  <roland@hack.frob.com>
32899         [BZ #18383]
32900         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
32901         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
32902         * sysdeps/arm/configure: Regenerated.
32903         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
32904         (test-xfail-tst-tlsalign-static): Variable removed.
32906         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
32907         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
32908         rather than explicit 'ln -s'.
32910         * resolv/rpc/netdb.h: New file.
32911         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
32913 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32915         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
32916         length buffers.
32917         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
32918         test-skeleton.c.
32920         [BZ #6544]
32921         [BZ #11216]
32922         [BZ #12836]
32923         [BZ #13151]
32924         [BZ #13152]
32925         [BZ #14292]
32926         * include/stdio.h (fmemopen): Remove hidden prototype.
32927         (__fmemopen): Add new hidden prototype.
32928         * libio/Makefile: Add oldfmemopen object.
32929         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
32930         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
32931         compliance.
32932         * libio/oldfmemopen.c: New file: old fmemopen implementation for
32933         symbol compatibility.
32934         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
32935         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
32936         fmemopen.
32937         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
32938         on append and read mode.
32939         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
32940         fmemopen.
32941         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
32942         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
32943         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
32944         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
32945         Likewise.
32946         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
32947         [GLIBC_2.22]: Likewise.
32948         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
32949         Likewise.
32950         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
32951         Likewise.
32952         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
32953         [GLIBC_2.22]: Likewise.
32954         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
32955         [GLIBC_2.22]: Likewise.
32956         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
32957         [GLIBC_2.22]: Likewise.
32958         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
32959         [GLIBC_2.22]: Likewise.
32960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
32961         [GLIBC_2.22]: Likewise.
32962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
32963         [GLIBC_2.22]: Likewise.
32964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
32965         [GLIBC_2.22]: Likewise.
32966         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
32967         Likewise.
32968         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
32969         Likewise.
32970         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
32971         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
32972         [GLIBC_2.22]: Likewise.
32973         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
32974         [GLIBC_2.22]: Likewise.
32975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
32976         [GLIBC_2.22]: Likewise.
32977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
32978         [GLIBC_2.22]: Likewise.
32979         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
32980         Likewise.
32981         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
32982         Likewise.
32983         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
32984         Likewise.
32985         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
32986         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
32988 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
32990         [BZ #18643]
32991         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
32992         IPV6_PATHMTU, and IPV6_DONTFRAG.
32994 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
32996         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
32997         and _IO_UNBUFFERED.
32998         * libio/oldfileops.c: Likewise.
32999         * libio/wfileops.c: Likewise.
33001 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
33003         * nscd/selinux.c: Delete selinux/flask.h include.
33005 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
33007         [BZ #18641]
33008         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
33009         (putpwent): Likewise.
33010         (getpwnam): Likewise.
33011         (getpwent_r): Likewise.
33012         (getpwuid_r): Likewise.
33013         (getpwnam_r): Likewise.
33014         (fgetpwent_r): Likewise.
33016 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
33018         [BZ #18557]
33019         * inet/rcmd.c (__validuser2_sa): Check user first to
33020         short-circuit host check.
33022 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
33023             Mikhail Ilin  <m.ilin@samsung.com>
33025         [BZ #17833]
33026         * elf/Makefile (tests): Add tst-nodelete.
33027         (modules-names): Add tst-nodelete-uniquemod.
33028         (tst-nodelete-uniquemod.so-no-z-defs): New.
33029         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
33030         (tst-nodelete-zmod.so-no-z-defs): Likewise.
33031         ($(objpfx)tst-nodelete): Likewise.
33032         ($(objpfx)tst-nodelete.out): Likewise.
33033         (LDFLAGS-tst-nodelete): Likewise.
33034         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
33035         * elf/dl-close.c (_dl_close_worker): Add a parameter to
33036         implement forced object deletion.
33037         (_dl_close): Pass false to _dl_close_worker.
33038         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
33039         * elf/tst-nodelete.cc: New file.
33040         * elf/tst-nodeletelib.cc: Likewise.
33041         * elf/tst-znodeletelib.cc: Likewise.
33042         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
33044 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33046         [BZ #18508]
33047         * stdlib/Makefile ($(objpfx)tst-makecontext3):
33048         Depend on $(libdl).
33049         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
33050         is not called infinitely times.
33051         (backtrace_helper): New function.
33052         (trace_arg): New struct.
33053         (st1): Enlarge stack size.
33054         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33055         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
33056         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33057         Likewise.
33059 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33061         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33063 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33065         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
33066         Include sys/types.h instead of bits/types.h.
33067         Remove inclusion of bits/wordsize.h.
33069 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33071         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
33072         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
33073         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
33074         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
33075         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
33076         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
33078 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33080         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
33081         link-defines.sym.
33082         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
33083         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
33084         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
33085         and LR_SIZE.
33086         * sysdeps/i386/link-defines.sym: New file.
33088 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33090         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
33091         (modules-names): Add tst-auditmod3a tst-auditmod3b.
33092         ($(objpfx)tst-audit3): New rule.
33093         ($(objpfx)tst-audit3.out): Likewise.
33094         * sysdeps/i386/tst-audit3.c: New file.
33095         * sysdeps/i386/tst-audit3.h: Likewise.
33096         * sysdeps/i386/tst-auditmod3a.c: Likewise.
33097         * sysdeps/i386/tst-auditmod3b.c: Likewise.
33099 2015-07-07  Torvald Riegel  <triegel@redhat.com>
33101         [BZ #18633]
33102         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
33103         pointer in C code.
33104         (__strcat_c): Likewise.
33105         (__strcat_g): Likewise.
33107 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
33109         [BZ #18592]
33110         * misc/sbrk.c: Set errno to ENOMEM on overflow.
33112 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
33114         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
33115         New function.  (__ieee754_sqrtf): New function.
33116         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
33117         New function.
33118         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
33119         New function.
33121 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
33123         * sysdeps/ieee754/support.c: Remove unused file.
33125 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33127         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
33128         registers instead of d ones so the layout is kernel abi compatible.
33129         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
33130         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
33131         Likewise.
33133 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33135         * sysdeps/aarch64/libm-test-ulps: Regenerated.
33137 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
33139         [BZ #18619]
33140         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
33141         and return argument in case of subnormal argument.
33143 2015-07-01  Martin Sebor  <msebor@redhat.com>
33145         [BZ #18435]
33146         * nptl/Makefile: Add tst-once5.cc.
33147         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
33148         Remove macro redefinitions.
33149         * nptl/tst-once5.cc: New test.
33151 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
33153         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33155         * sysdeps/arm/libm-test-ulps: Regenerated.
33157         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
33158         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33160 2015-06-30  Torvald Riegel  <triegel@redhat.com>
33162         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
33163         lll_lock_wait_private and lll_futex_wake probes.
33165         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
33166         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
33167         Likewise.
33168         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
33169         atomic_spin_nop.
33170         * sysdeps/x86_64/bits/atomic.h: Likewise.
33171         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
33172         to atomic_spin_nop and move ...
33173         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
33174         ... here and ...
33175         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
33176         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
33177         atomic_spin_nop instead of BUSY_WAIT_NOP.
33178         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
33179         Likewise.
33180         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
33181         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
33182         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
33183         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
33184         instead of atomic_delay.
33186 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
33188         [BZ #18613]
33189         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
33190         X_ADJ not X when adjusting exponent.
33191         (__ieee754_gamma_r): Do intermediate computations in
33192         round-to-nearest then adjust overflowing and underflowing results
33193         as needed.
33194         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
33195         of X_ADJ not X when adjusting exponent.
33196         (__ieee754_gammaf_r): Do intermediate computations in
33197         round-to-nearest then adjust overflowing and underflowing results
33198         as needed.
33199         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
33200         log of X_ADJ not X when adjusting exponent.
33201         (__ieee754_gammal_r): Do intermediate computations in
33202         round-to-nearest then adjust overflowing and underflowing results
33203         as needed.  Use 1.0L not 1.0f as numerator of division.
33204         * sysdeps/ieee754/ldbl-128ibm/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-96/e_gammal_r.c (gammal_positive): Take log
33210         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         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
33215         to auto-libm-test-in.
33216         (tgamma_test): Use ALL_RM_TEST.
33217         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
33218         tests of tgamma with spurious-overflow.
33219         * math/auto-libm-test-out: Regenerated.
33220         * math/gen-libm-have-vector-test.sh: Do not check for START.
33221         * sysdeps/i386/fpu/libm-test-ulps: Update.
33222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33224         [BZ #18612]
33225         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
33226         arguments, just return 0.5 times the argument, with underflow
33227         forced as needed.
33228         * math/auto-libm-test-in: Add more tests of j1.
33229         * math/auto-libm-test-out: Regenerated.
33231         [BZ #16559]
33232         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
33233         (__ieee754_j1): Force underflow exception for small results.
33234         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33235         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
33236         (__ieee754_j1f): Force underflow exception for small results.
33237         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33238         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33239         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33240         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
33241         (__ieee754_j1l): Force underflow exception for small results.
33242         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33243         * math/auto-libm-test-in: Add more tests of j1 and jn.
33244         * math/auto-libm-test-out: Regenerated.
33246         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
33247         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
33248         (PF_MPLS): Likewise.
33249         (AF_IB): Likewise.
33250         (AF_MPLS): Likewise.
33251         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
33252         value and macro.
33253         (MS_RMT_MASK): Include MS_LAZYTIME.
33255 2015-06-26  Mel Gorman  <mgorman@suse.de>
33257         [BZ #18502]
33258         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
33259         already minimal.
33261 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
33263         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
33264         (DT_MIPS_NUM): Update.
33265         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
33266         DT_MIPS_RLD_MAP_REL.
33268 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
33270         [BZ #16559]
33271         [BZ #18602]
33272         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
33273         round-to-nearest internally then recompute results that
33274         underflowed to zero in the original rounding mode.
33275         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33276         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33277         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33278         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33279         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
33280         * sysdeps/i386/fpu/libm-test-ulps: Update.
33281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33283 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
33285         * NEWS: Fixed description of link with vector math library.
33287 2015-06-25  Andreas Schwab  <schwab@suse.de>
33289         [BZ #18549]
33290         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
33291         * libio/test-fmemopen.c (do_test): Add test for it.
33293 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
33295         [BZ #17841]
33296         * Makeconfig (no-pie-ldflag): New.
33297         (+link): Set to $(+link-pie) if default to PIE.
33298         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
33299         * config.make.in (build-pie-default): New.
33300         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
33301         is default.  AC_SUBST.
33302         * configure: Regenerated.
33303         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
33305 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33307         * nptl/descr.h (struct pthread): Change type of field setxid_futex
33308         to 'unsigned int'.
33310         * resolv/gai_misc.h (struct waitlist): Change type of field
33311         counterp to 'volatile unsigned int *'.
33312         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
33313         FUTEXADDR and OLDVAL.
33314         * resolv/getaddrinfo_a.c (getaddrinfo_a):
33315         Give local variable TOTAL type 'volatile unsigned int'.
33316         (struct async_waitlist): Change type of field counter to 'unsigned int'.
33317         * resolv/gai_suspend.c (gai_suspend):
33318         Give local variable CNTR type 'unsigned int'.
33320         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
33321         counterp to 'volatile unsigned int *'.
33322         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
33323         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
33324         (aio_suspend): Give local variable CNTR type 'unsigned int'.
33325         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
33326         Give local variable TOTAL type 'volatile unsigned int'.
33327         (struct async_waitlist): Change type of field counter to 'unsigned int'.
33329 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33331         [BZ #18383]
33332         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
33333         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
33334         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
33335         comment for i386/x86-64.
33336         (test-xfail-tst-tlsalign-extern-static): Removed.
33338 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33340         * math/test-double.h: New file.
33341         * math/test-float.h: Likewise.
33342         * math/test-ldouble.h: Likewise.
33343         * math/test-math-inline.h: Likewise.
33344         * math/test-math-no-inline.h: Likewise.
33345         * math/test-math-scalar.h: Likewise.
33346         * math/test-math-vector.h: Likewise.
33347         * math/test-vec-loop.h: Remove file.  Contents moved into
33348         test-math-vector.h.
33349         * math/libm-test.inc (MATHCONST): Do not document macro.
33350         * math/test-double.c: Include test-double.h, test-math-no-inline.h
33351         and test-math-scalar.h.
33352         (FUNC): Remove macro.
33353         (FUNC_TEST): Likewise.
33354         (FLOAT): Likewise.
33355         (MATHCONST): Likewise.
33356         (PRINTF_EXPR): Likewise.
33357         (PRINTF_XEXPR): Likewise.
33358         (PRINTF_NEXPR): Likewise.
33359         (TEST_DOUBLE): Likewise.
33360         (TEST_MATHVEC): Likewise.
33361         (__NO_MATH_INLINES): Likewise.
33362         * math/test-float.c: Include test-float.h, test-math-no-inline.h
33363         and test-math-scalar.h.
33364         (FUNC): Remove macro.
33365         (FUNC_TEST): Likewise.
33366         (FLOAT): Likewise.
33367         (MATHCONST): Likewise.
33368         (PRINTF_EXPR): Likewise.
33369         (PRINTF_XEXPR): Likewise.
33370         (PRINTF_NEXPR): Likewise.
33371         (TEST_FLOAT): Likewise.
33372         (TEST_MATHVEC): Likewise.
33373         (__NO_MATH_INLINES): Likewise.
33374         * math/test-idouble.c: Include test-double.h, test-math-inline.h
33375         and test-math-scalar.h.
33376         (FUNC): Remove macro.
33377         (FUNC_TEST): Likewise.
33378         (FLOAT): Likewise.
33379         (MATHCONST): Likewise.
33380         (PRINTF_EXPR): Likewise.
33381         (PRINTF_XEXPR): Likewise.
33382         (PRINTF_NEXPR): Likewise.
33383         (TEST_DOUBLE): Likewise.
33384         (TEST_MATHVEC): Likewise.
33385         (TEST_INLINE): Likewise.
33386         (__NO_MATH_INLINES): Likewise.
33387         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
33388         test-math-scalar.h.
33389         (FUNC): Remove macro.
33390         (FUNC_TEST): Likewise.
33391         (FLOAT): Likewise.
33392         (MATHCONST): Likewise.
33393         (PRINTF_EXPR): Likewise.
33394         (PRINTF_XEXPR): Likewise.
33395         (PRINTF_NEXPR): Likewise.
33396         (TEST_FLOAT): Likewise.
33397         (TEST_MATHVEC): Likewise.
33398         (TEST_INLINE): Likewise.
33399         (__NO_MATH_INLINES): Likewise.
33400         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
33401         and test-math-scalar.h.
33402         (FUNC): Remove macro.
33403         (FUNC_TEST): Likewise.
33404         (FLOAT): Likewise.
33405         (MATHCONST): Likewise.
33406         (PRINTF_EXPR): Likewise.
33407         (PRINTF_XEXPR): Likewise.
33408         (PRINTF_NEXPR): Likewise.
33409         (TEST_LDOUBLE): Likewise.
33410         (TEST_MATHVEC): Likewise.
33411         (TEST_INLINE): Likewise.
33412         (__NO_MATH_INLINES): Likewise.
33413         * math/test-ldouble.c: Include test-ldouble.h,
33414         test-math-no-inline.h and test-math-scalar.h.
33415         (FUNC): Remove macro.
33416         (FUNC_TEST): Likewise.
33417         (FLOAT): Likewise.
33418         (MATHCONST): Likewise.
33419         (PRINTF_EXPR): Likewise.
33420         (PRINTF_XEXPR): Likewise.
33421         (PRINTF_NEXPR): Likewise.
33422         (TEST_LDOUBLE): Likewise.
33423         (TEST_MATHVEC): Likewise.
33424         (__NO_MATH_INLINES): Likewise.
33425         * math/test-double-vlen2.h: Include test-double.h,
33426         test-math-no-inline.h and test-math-vector.h.
33427         (FLOAT): Remove macro.
33428         (FUNC): Likewise.
33429         (MATHCONST): Likewise.
33430         (PRINTF_EXPR): Likewise.
33431         (PRINTF_XEXPR): Likewise.
33432         (PRINTF_NEXPR): Likewise.
33433         (TEST_DOUBLE): Likewise.
33434         (TEST_MATHVEC): Likewise.
33435         (__NO_MATH_INLINES): Likewise.
33436         (CNCT): Likewise.
33437         (CONCAT): Likewise.
33438         (WRAPPER_NAME): Likewise.
33439         (WRAPPER_DECL): Likewise.
33440         (WRAPPER_DECL_ff): Likewise.
33441         (WRAPPER_DECL_fFF): Likewise.
33442         (VECTOR_WRAPPER): Likewise.
33443         (VECTOR_WRAPPER_ff): Likewise.
33444         (VECTOR_WRAPPER_fFF): Likewise.
33445         (VEC_LEN): New macro.
33446         * math/test-double-vlen4.h: Include test-double.h,
33447         test-math-no-inline.h and test-math-vector.h.
33448         (FLOAT): Remove macro.
33449         (FUNC): Likewise.
33450         (MATHCONST): Likewise.
33451         (PRINTF_EXPR): Likewise.
33452         (PRINTF_XEXPR): Likewise.
33453         (PRINTF_NEXPR): Likewise.
33454         (TEST_DOUBLE): Likewise.
33455         (TEST_MATHVEC): Likewise.
33456         (__NO_MATH_INLINES): Likewise.
33457         (CNCT): Likewise.
33458         (CONCAT): Likewise.
33459         (WRAPPER_NAME): Likewise.
33460         (WRAPPER_DECL): Likewise.
33461         (WRAPPER_DECL_ff): Likewise.
33462         (WRAPPER_DECL_fFF): Likewise.
33463         (VECTOR_WRAPPER): Likewise.
33464         (VECTOR_WRAPPER_ff): Likewise.
33465         (VECTOR_WRAPPER_fFF): Likewise.
33466         (VEC_LEN): New macro.
33467         * math/test-double-vlen8.h: Include test-double.h,
33468         test-math-no-inline.h and test-math-vector.h.
33469         (FLOAT): Remove macro.
33470         (FUNC): Likewise.
33471         (MATHCONST): Likewise.
33472         (PRINTF_EXPR): Likewise.
33473         (PRINTF_XEXPR): Likewise.
33474         (PRINTF_NEXPR): Likewise.
33475         (TEST_DOUBLE): Likewise.
33476         (TEST_MATHVEC): Likewise.
33477         (__NO_MATH_INLINES): Likewise.
33478         (CNCT): Likewise.
33479         (CONCAT): Likewise.
33480         (WRAPPER_NAME): Likewise.
33481         (WRAPPER_DECL): Likewise.
33482         (WRAPPER_DECL_ff): Likewise.
33483         (WRAPPER_DECL_fFF): Likewise.
33484         (VECTOR_WRAPPER): Likewise.
33485         (VECTOR_WRAPPER_ff): Likewise.
33486         (VECTOR_WRAPPER_fFF): Likewise.
33487         (VEC_LEN): New macro.
33488         * math/test-float-vlen4.h: Include test-float.h,
33489         test-math-no-inline.h and test-math-vector.h.
33490         (FLOAT): Remove macro.
33491         (FUNC): Likewise.
33492         (MATHCONST): Likewise.
33493         (PRINTF_EXPR): Likewise.
33494         (PRINTF_XEXPR): Likewise.
33495         (PRINTF_NEXPR): Likewise.
33496         (TEST_FLOAT): Likewise.
33497         (TEST_MATHVEC): Likewise.
33498         (__NO_MATH_INLINES): Likewise.
33499         (CNCT): Likewise.
33500         (CONCAT): Likewise.
33501         (WRAPPER_NAME): Likewise.
33502         (WRAPPER_DECL): Likewise.
33503         (WRAPPER_DECL_ff): Likewise.
33504         (WRAPPER_DECL_fFF): Likewise.
33505         (VECTOR_WRAPPER): Likewise.
33506         (VECTOR_WRAPPER_ff): Likewise.
33507         (VECTOR_WRAPPER_fFF): Likewise.
33508         (VEC_LEN): New macro.
33509         * math/test-float-vlen8.h: Include test-float.h,
33510         test-math-no-inline.h and test-math-vector.h.
33511         (FLOAT): Remove macro.
33512         (FUNC): Likewise.
33513         (MATHCONST): Likewise.
33514         (PRINTF_EXPR): Likewise.
33515         (PRINTF_XEXPR): Likewise.
33516         (PRINTF_NEXPR): Likewise.
33517         (TEST_FLOAT): Likewise.
33518         (TEST_MATHVEC): Likewise.
33519         (__NO_MATH_INLINES): Likewise.
33520         (CNCT): Likewise.
33521         (CONCAT): Likewise.
33522         (WRAPPER_NAME): Likewise.
33523         (WRAPPER_DECL): Likewise.
33524         (WRAPPER_DECL_ff): Likewise.
33525         (WRAPPER_DECL_fFF): Likewise.
33526         (VECTOR_WRAPPER): Likewise.
33527         (VECTOR_WRAPPER_ff): Likewise.
33528         (VECTOR_WRAPPER_fFF): Likewise.
33529         (VEC_LEN): New macro.
33530         * math/test-float-vlen16.h: Include test-float.h,
33531         test-math-no-inline.h and test-math-vector.h.
33532         (FLOAT): Remove macro.
33533         (FUNC): Likewise.
33534         (MATHCONST): Likewise.
33535         (PRINTF_EXPR): Likewise.
33536         (PRINTF_XEXPR): Likewise.
33537         (PRINTF_NEXPR): Likewise.
33538         (TEST_FLOAT): Likewise.
33539         (TEST_MATHVEC): Likewise.
33540         (__NO_MATH_INLINES): Likewise.
33541         (CNCT): Likewise.
33542         (CONCAT): Likewise.
33543         (WRAPPER_NAME): Likewise.
33544         (WRAPPER_DECL): Likewise.
33545         (WRAPPER_DECL_ff): Likewise.
33546         (WRAPPER_DECL_fFF): Likewise.
33547         (VECTOR_WRAPPER): Likewise.
33548         (VECTOR_WRAPPER_ff): Likewise.
33549         (VECTOR_WRAPPER_fFF): Likewise.
33550         (VEC_LEN): New macro.
33551         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
33552         test-vec-loop.h.
33553         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33554         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33555         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33556         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33557         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33558         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33559         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33561 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33563         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
33564         (__getlogin_r): ... this.
33566 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33568         [BZ #18594]
33569         * math/s_ccosh.c (__ccosh): Compare with least normal value
33570         instead of comparing class with FP_SUBNORMAL.
33571         * math/s_ccoshf.c (__ccoshf): Likewise.
33572         * math/s_ccoshl.c (__ccoshl): Likewise.
33573         * math/s_cexp.c (__cexp): Likewise.
33574         * math/s_cexpf.c (__cexpf): Likewise.
33575         * math/s_cexpl.c (__cexpl): Likewise.
33576         * math/s_csin.c (__csin): Likewise.
33577         * math/s_csinf.c (__csinf): Likewise.
33578         * math/s_csinh.c (__csinh): Likewise.
33579         * math/s_csinhf.c (__csinhf): Likewise.
33580         * math/s_csinhl.c (__csinhl): Likewise.
33581         * math/s_csinl.c (__csinl): Likewise.
33582         * math/s_ctan.c (__ctan): Likewise.
33583         * math/s_ctanf.c (__ctanf): Likewise.
33584         * math/s_ctanh.c (__ctanh): Likewise.
33585         * math/s_ctanhf.c (__ctanhf): Likewise.
33586         * math/s_ctanhl.c (__ctanhl): Likewise.
33587         * math/s_ctanl.c (__ctanl): Likewise.
33588         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
33589         csin, csinh, ctan and ctanh.
33590         * math/auto-libm-test-out: Regenerated.
33591         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
33592         * sysdeps/i386/fpu/libm-test-ulps: Update.
33593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33595 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33597         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
33598         return value is wrong, print the expected value too.
33600 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33602         [BZ #18585]
33603         * elf/readlib.c (is_gdb_python_file): New.
33604         (process_file): Don't issue errors on filenames with -gdb.py
33605         suffix.
33607 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33609         * math/auto-libm-test-in: Add more tests of csin and csinh.
33610         * math/auto-libm-test-out: Regenerated.
33611         * math/libm-test.inc (csin_test_data): Remove tests moved to
33612         auto-libm-test-in.
33613         (csinh_test_data): Likewise.
33615         [BZ #18593]
33616         * math/s_csin.c (__csin): Negate before rather than after possibly
33617         overflowing multiplication.
33618         * math/s_csinf.c (__csinf): Likewise.
33619         * math/s_csinh.c (__csinh): Likewise.
33620         * math/s_csinhf.c (__csinhf): Likewise.
33621         * math/s_csinhl.c (__csinhl): Likewise.
33622         * math/s_csinl.c (__csinl): Likewise.
33623         * math/auto-libm-test-in: Add some tests of csin and csinh.
33624         * math/auto-libm-test-out: Regenerated.
33625         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
33626         (csinh_test_data): Likewise.
33627         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33629         [BZ #18586]
33630         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
33631         underflow exception for small results.
33633 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
33635         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33636         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
33637         variable and included header.
33638         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
33639         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
33640         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
33641         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
33642         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
33643         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
33644         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
33645         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
33646         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
33647         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
33648         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
33649         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
33650         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
33651         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
33652         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
33653         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
33655 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33657         [BZ #16526]
33658         [BZ #16538]
33659         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
33660         (__sin): Force underflow exception for arguments with small
33661         absolute value.
33662         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
33663         (__kernel_sinf): Force underflow exception for arguments with
33664         small absolute value.
33665         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
33666         (__kernel_sincosl): Force underflow exception for arguments with
33667         small absolute value.
33668         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
33669         (__kernel_sinl): Force underflow exception for arguments with
33670         small absolute value.
33671         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
33672         (__kernel_sincosl): Force underflow exception for arguments with
33673         small absolute value.
33674         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
33675         (__kernel_sinl): Force underflow exception for arguments with
33676         small absolute value.
33677         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
33678         (__kernel_sinl): Force underflow exception for arguments with
33679         small absolute value.
33680         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
33681         (__kernel_sinf): Force underflow exception for arguments with
33682         small absolute value.
33683         * math/auto-libm-test-in: Add more tests of sin and sincos.
33684         * math/auto-libm-test-out: Regenerated.
33686         [BZ #18245]
33687         [BZ #18583]
33688         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
33689         (__kernel_standard_l): Use feholdexcept and fesetenv around
33690         conversion to double instead of special-casing overflow and
33691         underflow.
33692         * math/libm-test.inc (fmod_test_data): Add more tests.
33693         (remainder_test_data): Likewise.
33694         (sqrt_test_data): Likewise.
33696 2015-06-23  Torvald Riegel  <triegel@redhat.com>
33698         [BZ #17403]
33699         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
33700         atomic_read_barrier, atomic_write_barrier): Define.
33701         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
33702         atomic_read_barrier, atomic_write_barrier): Define.
33704 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33706         * math/Makefile [$(PERL) != no]
33707         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
33708         dependency on libm-test.stmp below the inclusion of Rules.
33710 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
33712         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33713         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
33714         and included header.
33715         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
33716         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
33717         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
33718         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
33719         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
33720         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
33721         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
33722         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
33723         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
33724         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
33725         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
33726         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
33727         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
33728         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
33729         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
33730         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
33731         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
33732         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
33733         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
33735 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33737         [BZ #18371]
33738         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
33739         intermediate but not final result might underflow.
33740         * math/s_csqrtf.c (__csqrtf): Likewise.
33741         * math/s_csqrtl.c (__csqrtl): Likewise.
33742         * math/auto-libm-test-in: Add more tests of csqrt.
33743         * math/auto-libm-test-out: Regenerated.
33744         * sysdeps/i386/fpu/libm-test-ulps: Update.
33746         [BZ #18219]
33747         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
33748         threshold on absolute value of exponent for which scaling is used.
33749         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33750         * math/auto-libm-test-in: Add more tests of exp2.
33751         * math/auto-libm-test-out: Regenerated.
33753 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
33755         [BZ #17977]
33756         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
33757         when initializing interface list, based on the bug analysis
33758         and the patch proposed by Eric Newton.
33759         * resolv/tst-res_hconf_reorder.c: New test.
33760         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
33761         tst-res_hconf_reorder.
33762         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
33763         and $(shared-thread-library).
33764         (tst-res_hconf_reorder-ENV): New variable.
33766         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
33767         in comment.
33769 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
33771         [BZ #16353]
33772         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
33773         (__expm1): Force underflow exception for arguments with small
33774         absolute value.
33775         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
33776         (__expm1f): Force underflow exception for arguments with small
33777         absolute value.
33778         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
33779         (__expm1): Force underflow exception for arguments with small
33780         absolute value.
33781         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
33782         (__expm1f): Force underflow exception for arguments with small
33783         absolute value.
33784         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33785         Check for small arguments before calling __expm1.
33786         * math/auto-libm-test-in: Do not mark underflow exceptions as
33787         possibly missing for bug 16353.
33788         * math/auto-libm-test-out: Regenerated.
33790 2015-06-22  Andreas Schwab  <schwab@suse.de>
33792         [BZ #18513]
33793         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
33794         PTR queries.
33796 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
33798         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
33800         * string/strcoll_l.c: Remove unused struct element idxnow.
33802 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
33804         [BZ #18569]
33805         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
33806         underflow and return argument in case of subnormal argument.
33807         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33808         Likewise.
33809         * math/auto-libm-test-in: Add more tests of expm1.
33810         * math/auto-libm-test-out: Regenerated.
33812         [BZ #16361]
33813         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33814         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33815         tiny results.
33816         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33817         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33818         tiny results.
33819         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
33820         mark underflow exceptions as possibly missing for bug 16361.
33821         * math/auto-libm-test-out: Regenerated.
33823 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
33825         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
33826         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
33827         Remove variable.
33828         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33829         (test-xfail-XOPEN2K8/utmpx.h/conform).
33831         * conform/conformtest.pl ($xerrors): New variable.
33832         (note_error): New function.
33833         (compiletest): New argument $xfail.  Use not_error.
33834         (runtest): Likewise.
33835         (top level): Handle xfail- lines.  Update calls to compiletest and
33836         runtest.  Handle xfail- and optional- in headers listed with
33837         allow-header.
33838         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
33839         (O_EXEC): Likewise.
33840         (O_SEARCH): Likewise.
33841         * conform/data/stropts.h-data (ioctl): Likewise.
33842         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
33843         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
33844         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
33845         (msghdr.msg_controllen): Likewise.
33846         (cmsghdr.cmsg_len): Likewise.
33847         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
33848         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
33849         variable.
33850         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33851         (test-xfail-XPG4/stropts.h/conform): Likewise.
33852         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33853         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33854         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33855         (test-xfail-UNIX98/stropts.h/conform): Likewise.
33856         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33857         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33858         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33859         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33860         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33861         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33862         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33863         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33864         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33865         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33866         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33867         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33868         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33869         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33870         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33872 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
33874         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
33875         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
33876         definitions for proper unfolding of __MATHDECL_VEC.
33878 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33880         * benchtests/bench-strcoll.c:
33881         Include string.h.
33882         (main): Remove unused variable res.
33884 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33886         * timezone/Makefile (%/UTC %/Universal):
33887         Generate test-result files for UTC and Universal.
33889 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33891         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33893 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
33895         [BZ #16350]
33896         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
33897         for arguments with small absolute value.
33898         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
33899         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
33900         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
33901         (__asinh): Force underflow exception for arguments with small
33902         absolute value.
33903         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
33904         (__asinhf): Force underflow exception for arguments with small
33905         absolute value.
33906         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
33907         (__asinhl): Force underflow exception for arguments with small
33908         absolute value.
33909         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
33910         (__asinhl): Force underflow exception for arguments with small
33911         absolute value.
33912         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
33913         (__asinhl): Force underflow exception for arguments with small
33914         absolute value.
33915         * math/auto-libm-test-in: Do not mark underflow exceptions as
33916         possibly missing for bug 16350.
33917         * math/auto-libm-test-out: Regenerated.
33919         * include/bits/ipc.h: Remove file.
33920         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
33921         variable.
33922         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33923         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33924         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33925         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33926         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33927         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33928         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33929         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33930         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33932         * math/auto-libm-test-in: Remove spurious underflow allowance for
33933         tests of cexp.
33934         * math/auto-libm-test-out: Regenerated.
33936         [BZ #18558]
33937         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
33938         unconditional definition.
33939         (MCAST_BLOCK_SOURCE): Likewise.
33940         (MCAST_UNBLOCK_SOURCE): Likewise.
33941         (MCAST_LEAVE_GROUP): Likewise.
33942         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33943         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33944         (MCAST_MSFILTER): Likewise.
33945         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
33946         Remove variable.
33947         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33948         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33949         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33950         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33951         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33953 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
33955         * NEWS: Mention addition of x86_64 vector sincosf.
33956         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
33957         * math/test-float-vlen4.h: Likewise.
33958         * math/test-float-vlen8.h: Likewise.
33959         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33960         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
33961         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33962         * sysdeps/x86_64/fpu/Versions: New versions added.
33963         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33964         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33965         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33966         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
33967         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
33968         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
33969         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
33970         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
33971         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
33972         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
33973         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
33974         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
33975         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
33976         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
33977         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
33978         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
33979         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
33980         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33981         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33982         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33983         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33984         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33985         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33986         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33988         * NEWS: Mention addition of x86_64 vector sincos.
33989         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
33990         * math/math.h (__MATHDECL_VEC): New macro.
33991         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
33992         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
33993         declaration under condition.
33994         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
33995         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
33996         TEST_VEC_LOOP change.
33997         * math/test-double-vlen4.h: Likewise.
33998         * math/test-double-vlen8.h: Likewise.
33999         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
34000         * math/test-float-vlen4.h: Likewise.
34001         * math/test-float-vlen8.h: Likewise.
34002         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34003         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
34004         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34005         * sysdeps/x86_64/fpu/Versions: New versions added.
34006         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34007         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34008         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34009         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
34010         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
34011         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
34012         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
34013         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
34014         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
34015         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
34016         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
34017         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
34018         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
34019         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
34020         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
34021         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
34022         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
34023         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34024         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34025         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34026         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34027         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34028         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34029         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34031         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34032         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34033         redirections for powf.
34034         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34035         * sysdeps/x86_64/fpu/Versions: New versions added.
34036         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34037         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34038         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34039         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
34040         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
34041         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
34042         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
34043         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
34044         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
34045         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
34046         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
34047         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
34048         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
34049         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
34050         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
34051         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
34052         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
34053         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34054         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34055         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34056         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34057         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34058         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34059         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34060         * math/test-float-vlen16.h: Fixed 2 argument macro.
34061         * math/test-float-vlen4.h: Likewise.
34062         * math/test-float-vlen8.h: Likewise.
34063         * NEWS: Mention addition of x86_64 vector powf.
34065 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
34067         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34068         and redefine.
34069         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34070         and redefine.
34071         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
34072         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34073         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34075         [BZ #18553]
34076         * resource/getpriority.c (getpriority): Rename to __getpriority
34077         and define as weak alias of __getpriority.
34078         * resource/setpriority.c (setpriority): Rename to __setpriority
34079         and define as weak alias of __setpriority.
34080         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
34081         __getpriority and define as weak alias of __getpriority.
34082         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
34083         __setpriority and define as weak alias of __setpriority.
34084         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
34085         strong name.
34086         (setpriority): Use __setpriority as strong name.
34087         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
34088         __getpriority and define as weak alias of __getpriority.
34089         * include/sys/resource.h (__getpriority): Declare.  Use
34090         libc_hidden_proto.
34091         (__setpriority): Likewise.
34092         (getpriority): Don't use libc_hidden_proto.
34093         (setpriority): Likewise.
34094         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
34095         getpriority.  Call __setpriority instead of setpriority.
34096         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
34097         Remove variable.
34099         [BZ #18547]
34100         * misc/getttyent.c (getttynam): Rename to __getttynam and define
34101         as weak alias of __getttynam.  Use prototype function definition.
34102         Call __setttyent, __getttyent and __endttyent instead of
34103         setttyent, getttyent and endttyent.
34104         (getttyent): Rename to __getttyent and define as weak alias of
34105         __getttyent.  Call __setttyent instead of setttyent.  Call
34106         __fgets_unlocked instead of fgets_unlocked.
34107         (setttyent): Rename to __setttyent and define as weak alias of
34108         __setttyent.
34109         (endttyent): Rename to __endttyent and define as weak alias of
34110         __endttyent.
34111         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
34112         (__setttyent): Likewise.
34113         (__endttyent): Likewise.
34114         (getttyent): Don't use libc_hidden_proto.
34115         (setttyent): Likewise.
34116         (endttyent): Likewise.
34117         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
34118         __endttyent instead of setttyent, getttyent and endttyent.
34119         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
34120         Remove variable.
34122         [BZ #18546]
34123         * socket/recv.c (__recv): Use libc_hidden_def.
34124         * socket/socket.c (__socket): Likewise.
34125         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
34126         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
34127         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
34128         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
34129         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
34130         libc_hidden_def.
34131         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
34132         libc_hidden_weak.
34133         * include/sys/socket.h (__socket): Do not use attribute_hidden.
34134         Use libc_hidden_proto.
34135         (__recv): Likewise.
34136         * socket/Versions (libc): Export __recv and __socket at version
34137         GLIBC_PRIVATE.
34138         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
34139         instead of recv.
34140         (init_mq_netlink): Call __socket instead of socket.
34141         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
34142         Remove variable.
34144         [BZ #18545]
34145         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
34146         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
34147         hidden_weak.
34148         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
34149         define as alias of __mq_timedsend.  Use hidden_weak.
34150         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
34151         __mq_timedsend as strong name.
34152         (mq_timedreceive): Use __mq_timedreceive as strong name.
34153         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
34154         (__mq_timedreceive): Likewise.
34155         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
34156         __mq_timedreceive instead of mq_timedreceive.
34157         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
34158         instead of mq_timedsend.
34159         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
34160         Remove variable.
34162         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
34163         hidden_def and hidden_weak instead of libc_hidden_def and
34164         libc_hidden_weak.
34165         (top level): Refer to hidden_def in comment.
34166         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
34167         macro.  Use it instead of libc_hidden_def.
34168         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
34169         specify __GI_* name explicitly.
34170         (mq_timedreceive): Likewise.
34171         (mq_setattr): Likewise.
34173         [BZ #18544]
34174         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
34175         __pthread_barrier_init and define as weak alias of
34176         __pthread_barrier_init.
34177         * sysdeps/sparc/nptl/pthread_barrier_init.c
34178         (pthread_barrier_init): Likewise.
34179         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
34180         __pthread_barrier_wait and define as weak alias of
34181         __pthread_barrier_wait.
34182         * sysdeps/sparc/nptl/pthread_barrier_wait.c
34183         (pthread_barrier_wait): Likewise.
34184         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
34185         (pthread_barrier_wait): Likewise.
34186         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
34187         (pthread_barrier_wait): Likewise.
34188         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
34189         (pthread_barrier_wait): Likewise.
34190         * nptl/Versions (libpthread): Export __pthread_barrier_init and
34191         __pthread_barrier_wait at version GLIBC_PRIVATE.
34192         * include/pthread.h (__pthread_barrier_init): Declare.
34193         (__pthread_barrier_wait): Likewise.
34194         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
34195         Call __pthread_barrier_wait instead of pthread_barrier_wait.
34196         (helper_thread): Likewise.
34197         (init_mq_netlink): Call __pthread_barrier_init instead of
34198         pthread_barrier_init.
34200         [BZ #18542]
34201         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
34202         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
34203         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
34204         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
34205         vswscanf.
34206         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
34207         Remove variable.
34209         [BZ #18540]
34210         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
34211         strong alias of _IO_fflush.  Use libc_hidden_def.
34212         * libio/iofflush_u.c (fflush_unlocked): Rename to
34213         __fflush_unlocked and define as weak alias of __fflush_unlocked.
34214         Use libc_hidden_weak.
34215         * include/stdio.h (__fflush_unlocked): Declare.  Use
34216         libc_hidden_proto.
34217         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
34218         fflush_unlocked.
34219         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
34220         Remove variable.
34222         [BZ #18539]
34223         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
34224         define as weak alias of __addseverity.
34225         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
34226         Remove variable.
34227         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
34228         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
34229         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
34231         [BZ #18536]
34232         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
34233         (__tfind): Likewise.
34234         (__tdelete): Likewise.
34235         (__twalk): Likewise.
34236         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
34237         __twalk to GLIBC_PRIVATE.
34238         * include/search.h (__tsearch): Use libc_hidden_proto.
34239         (__tfind): Likewise.
34240         (__tdelete): Likewise.
34241         (__twalk): Likewise.
34242         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
34243         Call __tdelete instead of tdelete.
34244         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
34245         tfind.  Call __tsearch instead of tsearch.
34246         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
34247         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
34248         Remove variable.
34249         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
34251         [BZ #18534]
34252         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
34253         (dprintf): Define as a weak alias of __dprintf, not a strong
34254         alias.
34255         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
34256         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
34257         dprintf.
34258         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
34259         Remove variable.
34260         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
34261         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
34263         [BZ #18533]
34264         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
34265         not a strong alias.
34266         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
34267         Remove variable.
34269         [BZ #18532]
34270         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
34271         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
34272         (in6addr_loopback): Rename to __in6addr_loopback and define as
34273         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
34274         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
34275         libc_hidden_proto.
34276         (__in6addr_any): Likewise.
34277         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
34278         in6addr_any.
34279         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
34280         variable.
34281         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
34283 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
34285         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
34286         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
34287         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34288         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34289         redirections for pow.
34290         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34291         * sysdeps/x86_64/fpu/Versions: New versions added.
34292         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34293         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34294         build of SSE, AVX2 and AVX512 IFUNC versions.
34295         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
34296         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
34297         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
34298         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
34299         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
34300         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
34301         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
34302         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
34303         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
34304         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
34305         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
34306         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
34307         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
34308         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
34309         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34310         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34311         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34312         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34313         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34314         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34315         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34316         * NEWS: Mention addition of x86_64 vector pow.
34318         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34319         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34320         redirections for expf.
34321         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34322         * sysdeps/x86_64/fpu/Versions: New versions added.
34323         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34324         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34325         build of SSE, AVX2 and AVX512 IFUNC versions.
34326         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
34327         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
34328         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
34329         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
34330         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
34331         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
34332         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
34333         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
34334         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
34335         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
34336         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
34337         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
34338         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
34339         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34340         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34341         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34342         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34343         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34344         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34345         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34346         * NEWS: Mention addition of x86_64 vector expf.
34348         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
34349         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
34350         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34351         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34352         redirections for exp.
34353         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34354         * sysdeps/x86_64/fpu/Versions: New versions added.
34355         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34356         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34357         build of SSE, AVX2 and AVX512 IFUNC versions.
34358         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
34359         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
34360         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
34361         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
34362         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
34363         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
34364         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
34365         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
34366         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
34367         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
34368         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
34369         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
34370         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
34371         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34372         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34373         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34374         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34375         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34376         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34377         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34378         * NEWS: Mention addition of x86_64 vector exp.
34380         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34381         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34382         redirections for logf.
34383         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34384         * sysdeps/x86_64/fpu/Versions: New versions added.
34385         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34386         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34387         build of SSE, AVX2 and AVX512 IFUNC versions.
34388         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
34389         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
34390         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
34391         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
34392         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
34393         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
34394         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
34395         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
34396         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
34397         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
34398         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
34399         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
34400         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
34401         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34402         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34403         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34404         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34405         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34406         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34407         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34408         * NEWS: Mention addition of x86_64 vector logf.
34410         * bits/libm-simd-decl-stubs.h: Added stubs for log.
34411         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
34412         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34413         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34414         redirections for log.
34415         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34416         * sysdeps/x86_64/fpu/Versions: New versions added.
34417         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34418         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34419         build of SSE, AVX2 and AVX512 IFUNC versions.
34420         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
34421         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
34422         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
34423         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
34424         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
34425         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
34426         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
34427         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
34428         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
34429         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
34430         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
34431         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
34432         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
34433         test.
34434         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34435         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34436         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34437         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34438         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34439         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34440         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34441         * NEWS: Mention addition of x86_64 vector log.
34443 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34445         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
34446         cfi_adjust_cfa_offset argument.
34447         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
34448         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
34450         [BZ #18034]
34451         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
34452         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
34453         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
34454         ordering using ldar.
34455         (_dl_tlsdesc_dynamic): Likewise.
34456         (_dl_tlsdesc_return_lazy): Likewise.
34457         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
34458         relaxed atomics instead of volatile and synchronize with release store.
34459         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
34460         volatile.
34461         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34463 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
34465         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34466         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
34467         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34468         * sysdeps/x86_64/fpu/Versions: New versions added.
34469         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34470         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34471         build of SSE, AVX2 and AVX512 IFUNC versions.
34472         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
34473         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
34474         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
34475         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
34476         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
34477         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
34478         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
34479         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
34480         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
34481         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
34482         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
34483         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
34484         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
34485         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34486         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34487         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34488         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34489         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34490         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34491         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34492         * NEWS: Mention addition of x86_64 vector sinf.
34494 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
34496         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
34497         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
34498         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
34499         Remove variable.
34500         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
34501         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
34503 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
34505         [BZ #18530]
34506         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
34507         strong alias of _IO_fputs.  Use libc_hidden_def.
34508         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
34509         and define as weak alias of __fputs_unlocked.  Use
34510         libc_hidden_weak.
34511         * include/stdio.h (__fputs_unlocked): Declare.  Use
34512         libc_hidden_proto.
34513         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
34514         fputs_unlocked.
34516         [BZ #18529]
34517         * resolv/netdb.h [__USE_POSIX]: Change condition to
34518         [__USE_XOPEN2K].
34519         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
34520         not expect.
34521         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
34522         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
34523         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
34524         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
34525         [XPG4 || UNIX98] (AI_ALL): Likewise.
34526         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
34527         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
34528         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
34529         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
34530         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
34531         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
34532         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
34533         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
34534         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
34535         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
34536         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
34537         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
34538         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
34539         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
34540         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
34541         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34542         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34543         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
34544         [XPG4 || UNIX98] (gai_strerror): Likewise.
34545         [XPG4 || UNIX98] (getaddrinfo): Likewise.
34546         [XPG4 || UNIX98] (getnameinfo): Likewise.
34548         [BZ #18528]
34549         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
34550         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
34551         __USE_XOPEN2K8].
34552         (getgrent): Likewise.
34553         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
34554         expect.
34555         [XPG3 || POSIX2008] (endgrent): Likewise.
34556         [XPG3] (setgrent): Likewise.
34557         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
34558         variable.
34559         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
34561         [BZ #18527]
34562         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
34563         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
34564         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
34565         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
34566         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
34567         * include/unistd.h (__getlogin_r): Declare.  Use
34568         libc_hidden_proto.
34569         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
34570         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
34571         variable.
34572         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
34573         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
34574         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
34576 2015-06-12  Martin Sebor  <msebor@redhat.com>
34578         [BZ #18512]
34579         * Makerules (check-install-supported): New target.
34580         (install): Add check-install-supported as a dependency.
34581         * manual/install.texi (Installing the C Library): Document
34582         that overriding prefix and exec_prefix is not supported.
34583         Mention DESTDIR.
34584         * INSTALL: Regenerate from the above.
34586 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
34588         [BZ #18519]
34589         * posix/Versions (libc): Export __libc_pread at version
34590         GLIBC_PRIVATE.
34591         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
34592         instead of pread.
34593         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
34594         variable.
34596         [BZ #18522]
34597         * misc/efgcvt_r.c
34598         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
34599         (cvt_symbol): Use weak_alias instead of strong_alias.
34600         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
34601         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
34602         Remove variable.
34603         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
34604         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
34606         [BZ #18520]
34607         * inet/herrno.c (h_errno): Rename to __h_errno.
34608         (__libc_h_errno): Define as alias of __h_errno not h_errno.
34609         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
34610         to __h_errno instead of h_errno.
34611         * nptl/herrno.c (h_errno): Rename to __h_errno.
34612         (__h_errno_location): Refer to __h_errno not h_errno.
34613         * resolv/Versions (h_errno): Rename to __h_errno.
34614         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
34615         Remove variable.
34616         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
34618 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
34620         * configure.ac: More strict check for AVX512 assembler support.
34621         * configure: Regenerated.
34623         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
34624         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
34625         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34626         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
34627         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34628         * sysdeps/x86_64/fpu/Versions: New versions added.
34629         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34630         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34631         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34632         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
34633         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
34634         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
34635         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
34636         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
34637         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
34638         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
34639         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
34640         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
34641         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
34642         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
34643         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
34644         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
34645         test.
34646         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34647         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34648         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34649         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34650         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34651         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34652         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34653         * NEWS: Mention addition of x86_64 vector sin.
34655 2015-06-11  Florian Weimer  <fweimer@redhat.com>
34657         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
34658         comment.
34660 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
34662         [BZ #18479]
34663         * nptl/pt-interp.c: New file.
34664         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
34665         Add pt-interp.
34666         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
34667         $(common-objpfx)runtime-linker.h.
34669 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
34671         * Makeconfig (+interp): Remove unused variable.
34672         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
34673         only.  Depend on $(common-objpfx)runtime-linker.h instead of
34674         $(elf-objpfx)runtime-linker.h.
34675         ($(elf-objpfx)runtime-linker.h): Rename to
34676         $(common-objpfx)runtime-linker.h and move ...
34677         * Makerules [$(build-shared) = yes]: ... here.
34678         * elf/interp.c: Include <runtime-linker.h> instead of
34679         <elf/runtime-linker.h>.
34681 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34683         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
34684         (__gettimeofday_syscall): Remove vsyscall fallback.
34685         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
34686         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
34687         Add syscall fallback function.
34688         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
34689         if vDSO is not present.
34690         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
34691         fallback function.
34692         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
34693         present.
34694         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
34695         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34697 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
34699         [BZ #18497]
34700         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
34701         of wcscmp.
34702         (wcscmp): Define as weak alias of WCSCMP.
34703         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
34704         wcscoll.
34705         (USE_HIDDEN_DEF): Define.
34706         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
34707         __wcscoll.  Don't use libc_hidden_weak.
34708         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
34709         wcscmp.
34710         * sysdeps/i386/i686/multiarch/wcscmp-c.c
34711         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
34712         __GI_wcscmp.
34713         (weak_alias): Undefine and redefine.
34714         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
34715         __wcscmp and define as weak alias of __wcscmp.
34716         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
34717         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
34718         (__wcscoll): Likewise.
34719         (wcscmp): Don't use libc_hidden_proto.
34720         (wcscoll): Likewise.
34721         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
34722         wcscoll.
34723         * posix/regexec.c (check_node_accept_bytes): Likewise.
34724         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
34725         variable.
34726         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
34727         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
34729         [BZ #18507]
34730         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
34731         __fstatvfs and define as weak alias of __fstatvfs.  Use
34732         libc_hidden_weak.
34733         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
34734         and define as weak alias of __statvfs.  Use libc_hidden_weak.
34735         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
34736         Define as alias of __fstatvfs, not fstatvfs.
34737         (fstatvfs64): Likewise.
34738         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
34739         Define as alias of __statvfs, not statvfs.
34740         (statvfs64): Likewise.
34741         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
34742         Remove variable.
34744 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34747         (HAVE_GETCPU_VSYSCALL): Define.
34748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34749         (HAVE_GETCPU_VSYSCALL): Likewise.
34750         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
34751         * sysdeps/unix/sysv/linux/sched_getcpu.c
34752         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
34753         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
34754         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
34755         prototype.
34756         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34757         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
34758         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
34759         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
34760         Define.
34761         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
34762         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34763         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
34764         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34766 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
34768         * sysdeps/x86_64/fpu/Makefile: New file.
34769         * sysdeps/x86_64/fpu/Versions: New file.
34770         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
34771         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
34772         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
34773         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
34774         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
34775         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
34776         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
34777         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
34778         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
34779         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
34780         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
34781         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
34782         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
34783         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34784         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34785         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
34786         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
34787         * sysdeps/x86_64/configure.ac: Options for libmvec build.
34788         * sysdeps/x86_64/configure: Regenerated.
34789         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
34790         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
34791         * manual/install.texi (Configuring and compiling): Document
34792         --disable-mathvec.
34793         * INSTALL: Regenerated.
34794         * NEWS: Mention addition of libmvec and x86_64 vector cos.
34796         * math/Makefile: Added rules for vector tests.
34797         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
34798         declaration under condition.
34799         * math/test-double-vlen2.h: New file.
34800         * math/test-double-vlen4.h: New file.
34801         * math/test-double-vlen8.h: New file.
34802         * math/test-vec-loop.h: Added initialization macro.
34803         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
34804         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
34805         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
34806         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
34807         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
34808         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
34809         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
34810         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
34811         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
34812         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
34813         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
34815         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34816         * sysdeps/x86_64/fpu/Versions: New versions added.
34817         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
34818         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
34819         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
34820         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
34821         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
34822         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
34823         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
34824         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
34825         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
34826         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
34827         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
34828         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
34829         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
34830         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34831         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34832         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34833         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
34834         * NEWS: Mention addition of x86_64 vector cosf.
34836         * math/Makefile: Added CFLAGS for new tests.
34837         * math/test-float-vlen16.h: New file.
34838         * math/test-float-vlen4.h: New file.
34839         * math/test-float-vlen8.h: New file.
34840         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
34841         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
34842         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34843         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
34844         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
34845         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
34846         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
34847         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
34848         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
34849         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
34850         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
34852 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
34854         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
34855         * locale/programs/ld-ctype.c: Likewise.
34857 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
34859         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
34860         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
34861         bit_ZMM16_31_state): New macro.
34862         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34863         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
34865 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
34867         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
34869 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
34871         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
34873 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
34875         [BZ #18498]
34876         * libio/memstream.c (open_memstream): Rename to __open_memstream
34877         and define as weak alias of __open_memstream.
34878         * include/stdio.h (__open_memstream): Declare.  Use
34879         libc_hidden_proto.
34880         (open_memstream): Don't use libc_hidden_proto.
34881         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
34882         open_memstream.
34883         * posix/getopt.c (_getopt_internal_r): Likewise.
34884         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
34885         variable.
34886         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
34887         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
34888         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
34890         [BZ #18496]
34891         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
34892         instead of wcrtomb.
34894         [BZ #18483]
34895         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
34896         [__USE_XOPEN2K8].  Remove redundant #endif.
34897         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
34898         Remove redundant #if.
34899         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
34900         Remove variable.
34901         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
34902         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
34904         [BZ #18495]
34905         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
34906         (__iswlower): Likewise.
34907         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
34908         (__iswlower): Likewise.
34909         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
34910         instead of towlower.
34911         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
34912         instead of iswlower.  Call __towupper instead of towupper.
34913         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
34914         instead of iswalnum.
34916 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34918         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
34919         errors to stderr.
34921 2015-06-05  Florian Weimer  <fweimer@redhat.com>
34923         [BZ #15661]
34924         [BZ #17322]
34925         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
34926         Check for overflow properly.  Check for O_APPEND.  Ignore large
34927         file system block sizes.  Add comments about problems.
34928         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
34929         * manual/filesys.texi (Storage Allocation): New node.
34931 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34933         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
34934         cancellable syscalls.
34935         (SYS_ify): Add guard to no redefine it.
34936         (INLINE_SYSCALL): Likewise.
34937         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
34938         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
34939         SYSCALL_CANCEL instead.
34940         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
34941         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34942         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34943         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34944         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34945         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
34946         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
34947         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
34948         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
34949         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
34950         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
34951         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
34952         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
34953         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
34954         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
34955         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34956         Likewise.
34957         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34958         (__libc_pread64): Likewise.
34959         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
34960         (__libc_preadv): Likewise.
34961         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
34962         (__libc_readv64): Likewise.
34963         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34964         (__libc_pwrite): Likewise.
34965         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34966         (__libc_pwrite64): Likewise.
34967         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
34968         (__libc_pwritev): Likewise.
34969         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
34970         (__libc_pwritev64): Likewise.
34971         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
34972         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
34973         (sync_file_range): Likewise.
34974         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
34975         Likewise.
34976         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
34977         Likewise.
34978         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34979         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34980         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34981         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34982         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34983         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34984         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
34985         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
34986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34987         Likewise.
34988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34989         (__libc_read64): Likewise.
34990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
34991         Likewise.
34992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
34993         Likewise.
34994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
34995         Likewise.
34996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
34997         Likewise.
34998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34999         (__libc_pread64): Likewise.
35000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
35001         Likewise.
35002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35003         (__libc_pwrite64): Likewise.
35004         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
35005         (sync_file_range): Likewise.
35006         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
35007         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35008         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35009         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
35010         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
35011         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35012         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35013         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
35014         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
35015         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
35016         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35017         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35018         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35019         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35020         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
35021         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35022         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35023         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35024         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35025         Likewise.
35026         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
35027         Likewise.
35028         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
35029         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
35030         Likewise.
35031         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
35032         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
35033         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
35034         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
35035         Likewise.
35036         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
35037         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
35038         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
35039         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
35040         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
35042 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
35044         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
35045         Include dl-vdso.
35046         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
35047         Use VDSO routines for gettimeofday, clock_gettime if
35048         available.
35049         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
35050         Declare VDSO symbols.
35051         * sysdeps/unix/sysv/linux/arm/sysdep.h:
35052         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
35053         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35054         * sysdeps/unix/sysv/linux/arm/Versions: Add
35055         __vdso_clock_gettime.
35057 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35059         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
35060         be an inline implementation regardless of library is built within.
35061         (open_not_cancel_2): Likewise.
35062         (__read_nocancel): Likewise.
35063         (__write_nocancel): Likewise.
35064         (openat_not_cancel): Likewise.
35065         (openat_not_cancel_3): Likewise.
35066         (openat64_not_cancel): Likewise.
35067         (openat64_not_cancel_3): Likewise.
35068         (__close_nocancel): Likewise.
35069         (pause_not_cancel): Likewise.
35070         (nanosleep_not_cancel): Likewise.
35071         (sigsuspend_not_cancel): Likewise.
35073 2015-06-04  Torvald Riegel  <triegel@redhat.com>
35075         [BZ #14958]
35076         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
35077         wake-up.
35078         (__pthread_rwlock_rdlock_slow): Likewise.
35079         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35080         Likewise.
35081         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
35082         Likewise.
35083         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
35084         * nptl/tst-rwlock16.c: New file.
35085         * nptl/Makefile (tests): Add new test.
35087 2015-06-04  Torvald Riegel  <triegel@redhat.com>
35089         [BZ #18324]
35090         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
35091         missing wake-up of readers.
35092         * nptl/tst-rwlock15.c: New file.
35093         * nptl/Makefile (tests): Add new test.
35095 2015-06-03  Roland McGrath  <roland@hack.frob.com>
35097         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
35098         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
35099         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
35100         and __nacl_supply_interface_rtld.
35101         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
35102         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
35103         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
35104         Add __nacl_supply_interface_rtld.
35105         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
35107 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
35109         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
35110         isfinite.
35111         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35112         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
35114 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
35116         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
35117         __signbit* with standard C99 macros.
35118         * math/e_exp10l.c: Likewise.
35119         * math/e_exp2l.c: Likewise.
35120         * math/e_scalb.c: Likewise.
35121         * math/e_scalbf.c: Likewise.
35122         * math/e_scalbl.c: Likewise.
35123         * math/s_ldexp.c: Likewise.
35124         * math/s_ldexpf.c: Likewise.
35125         * math/s_ldexpl.c: Likewise.
35126         * math/w_atan2.c: Likewise.
35127         * math/w_atan2f.c: Likewise.
35128         * math/w_atan2l.c: Likewise.
35129         * math/w_cosh.c: Likewise.
35130         * math/w_coshf.c: Likewise.
35131         * math/w_coshl.c: Likewise.
35132         * math/w_exp10.c: Likewise.
35133         * math/w_exp10f.c: Likewise.
35134         * math/w_exp10l.c: Likewise.
35135         * math/w_exp2.c: Likewise.
35136         * math/w_exp2f.c: Likewise.
35137         * math/w_exp2l.c: Likewise.
35138         * math/w_fmod.c: Likewise.
35139         * math/w_fmodf.c: Likewise.
35140         * math/w_fmodl.c: Likewise.
35141         * math/w_hypot.c: Likewise.
35142         * math/w_hypotf.c: Likewise.
35143         * math/w_hypotl.c: Likewise.
35144         * math/w_jnl.c: Likewise.
35145         * math/w_lgamma.c: Likewise.
35146         * math/w_lgamma_r.c: Likewise.
35147         * math/w_lgammaf.c: Likewise.
35148         * math/w_lgammaf_r.c: Likewise.
35149         * math/w_lgammal.c: Likewise.
35150         * math/w_lgammal_r.c: Likewise.
35151         * math/w_pow.c: Likewise.
35152         * math/w_powf.c: Likewise.
35153         * math/w_powl.c: Likewise.
35154         * math/w_remainder.c: Likewise.
35155         * math/w_remainderf.c: Likewise.
35156         * math/w_remainderl.c: Likewise.
35157         * math/w_scalb.c: Likewise.
35158         * math/w_scalbf.c: Likewise.
35159         * math/w_scalbl.c: Likewise.
35160         * math/w_scalbln.c: Likewise.
35161         * math/w_scalblnf.c: Likewise.
35162         * math/w_scalblnl.c: Likewise.
35163         * math/w_sinh.c: Likewise.
35164         * math/w_sinhf.c: Likewise.
35165         * math/w_sinhl.c: Likewise.
35166         * math/w_tgamma.c: Likewise.
35167         * math/w_tgammaf.c: Likewise.
35168         * math/w_tgammal.c: Likewise.
35169         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35170         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
35171         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35172         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35173         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35174         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35175         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35176         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35177         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35178         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35179         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35180         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35181         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35182         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35183         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35184         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35185         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35186         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35187         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35188         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35189         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35190         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35191         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35192         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35193         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35194         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35195         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
35196         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35197         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35198         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35199         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
35200         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
35201         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
35202         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
35203         * stdio-common/printf_fp.c: Likewise.
35204         * stdio-common/printf_fphex.c: Likewise.
35205         * stdio-common/printf_size.c: Likewise.
35207 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
35209         [BZ #18470]
35210         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
35211         strnlen.
35212         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
35213         Remove variable.
35214         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35215         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35216         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35217         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35218         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35219         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35220         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35221         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35222         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35223         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35225         [BZ #18468]
35226         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
35227         weak alias of __wmemchr.  Use libc_hidden_weak.
35228         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
35229         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
35230         instead of wmemchr.
35232 2015-06-02  Roland McGrath  <roland@hack.frob.com>
35234         [BZ #18383]
35235         * elf/tst-tlsalign-extern.c: New file.
35236         * elf/tst-tlsalign-extern-static.c: New file.
35237         * elf/tst-tlsalign-vars.c: New file.
35238         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
35239         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
35240         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
35241         ($(objpfx)tst-tlsalign-extern-static): Likewise.
35242         (test-xfail-tst-tlsalign-extern-static): New variable.
35244 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
35246         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
35247         Use variable name _sc_err instead of err.
35248         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
35249         instead of ret.
35250         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
35251         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
35252         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
35253         (INLINE_SYSCALL): Likewise.
35255         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
35256         * include/string.h (__strnlen): Use libc_hidden_proto.
35257         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
35258         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
35259         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
35260         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
35261         (libc_hidden_def): Undefine and redefine.
35262         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
35263         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
35264         __GI_strnlen.
35265         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
35266         libc_hidden_def.
35267         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
35269         [BZ #18469]
35270         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
35271         weak alias of __towlower.  Use libc_hidden_weak.
35272         (towupper): Rename to __towupper and define as weak alias of
35273         __towupper.  Use libc_hidden_weak.
35274         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
35275         (__towupper): Likewise.
35276         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
35277         __towlower instead of towlower.
35279 2015-06-02  Roland McGrath  <roland@hack.frob.com>
35281         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
35282         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
35284 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35286         * sysdeps/aarch64/libm-test-ulps: Update.
35288 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35290         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
35291         Define.
35292         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35293         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35294         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35295         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35296         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
35297         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
35298         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
35300 2015-06-01  Martin Sebor  <msebor@redhat.com>
35302         [BZ #18116]
35303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35304         (__setcontext): Use extended four-operand version of mtsf whenever
35305         possible.
35306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35307         (__novec_swapcontext): Likewise.
35309 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35311         * benchtests/scripts/compare_bench.py: New file.
35312         * benchtests/scripts/import_bench.py (mean): New function.
35313         (split_list): Likewise.
35314         (do_for_all_timings): Likewise.
35315         (compress_timings): Likewise.
35317         * benchtests/scripts/import_bench.py: New file.
35318         * benchtests/scripts/validate_benchout.py: Import import_bench
35319         instead of jsonschema.
35320         (validate_bench): Remove function.
35321         (main): Use import_bench.
35323 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
35325         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
35326         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
35328 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35332 2015-05-28  Roland McGrath  <roland@hack.frob.com>
35334         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
35335         set THREAD_SELF->tid to a magic value and futex-wake it.
35336         Pass its address to the thread_exit system call.
35337         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
35338         bit is clear.
35339         * sysdeps/nacl/lowlevellock.h: New file.
35340         * sysdeps/nacl/lll_timedwait_tid.c: New file.
35342         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
35343         Add TIMEOUT to current time, don't subtract it.
35345 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
35347         [BZ #2981]
35348         [BZ #18422]
35349         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
35350         ($(objpfx)tst-audit2.out): Also depend on
35351         $(objpfx)tst-auditmod9b.so.
35352         * elf/tst-audit2.c: Include <dlfcn.h>.
35353         (calloc_called): New.
35354         (calloc): Allow to be called more than once.
35355         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
35357 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
35359         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
35360         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
35362 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
35364         * stdlib/monetary.h: Fix comment.
35366 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
35368         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
35369         Avoid using variables in #defines that might cause shadowing.
35370         (INTERNAL_VSYSCALL_CALL): Likewise.
35372 2015-05-26  Roland McGrath  <roland@hack.frob.com>
35374         * sysdeps/nacl/lll_timedlock_wait.c: New file.
35376         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
35377         * nptl/lll_timedlock_wait.c: ... to this new file.
35378         * nptl/Makefile (libpthread-routines): Add it.
35379         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
35380         * nptl/lll_timedwait_tid.c: ... to this new file.
35381         * nptl/Makefile (libpthread-routines): Add it.
35382         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
35383         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
35384         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
35385         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
35386         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
35387         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
35388         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
35389         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
35390         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
35391         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
35393 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35395         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
35396         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35397         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
35398         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
35399         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
35400         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35401         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35402         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35403         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35404         * sysdeps/unix/sysv/linux/tile/sysdep.h
35405         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35406         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
35407         using vDSO syscall macro.
35409 2015-05-26  Andriy Rysin  <arysin@gmail.com>
35411         [BZ #17293]
35412         * uk_UA: Fix sorting order for Ukrainian locale
35414 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
35416         * stdlib/monetary.h: Fix comment.
35418 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35420         [BZ #18234]
35421         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
35422         st_mtim and st_ctim members.
35423         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
35424         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
35425         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
35426         (struct stat64): Likewise.
35427         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
35428         (struct stat64): Likewise.
35429         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
35430         (struct stat64): Likewise.
35432 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35434         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
35435         Define and include sysdep-vdso.h.
35436         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
35437         Likewise.
35438         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
35439         Likewise.
35440         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
35441         Define with VDSO_SYMBOL and use PTR_MANGLE.
35442         (__vdso_clock_gettime): Likewise.
35443         (__vdso_clock_getres): Likewise.
35444         (_libc_vdso_platform_setup): Likewise.
35445         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
35446         Likewise.
35447         (_libc_vdso_platform_setup): Likewise.
35448         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
35449         Likewise.
35450         (__vdso_clock_gettime): Likewise.
35451         (__vdso_clock_getres): Likewise.
35452         (__vdso_get_tbfreq): Likewise.
35453         (__vdso_getcpu): Likewise.
35454         (__vdso_time): Likewise.
35455         (__vdso_sigtramp_rt64): Likewise.
35456         (__vdso_signtramp32): Likewise.
35457         (__vdso_sigtramp_rt32): Likewise.
35458         (_libc_vdso_platform_setup): Likewise.
35459         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
35460         Likewise.
35461         (__vdso_clock_gettime): Likewise.
35462         (__vdso_clock_getres): Likewise.
35463         (_libc_vdso_platform_setup): Likewise.
35464         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
35465         Likewise.
35466         (__vdso_clock_gettime): Likewise.
35467         (_libc_vdso_platform_setup): Likewise.
35468         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
35469         Likewise.
35470         (__vdso_getcpu): Likewise.
35471         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
35472         Use VDSO_SYMBOL macro to define.
35473         (__vdso_clock_gettime): Likewise.
35474         (__vdso_clock_getres): Likewise.
35475         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
35476         Likewise.
35477         (__vdso_clock_gettime): Likewise.
35478         (__vdso_clock_getres): Likewise.
35479         (__vdso_get_tbfreq): Likewise.
35480         (__vdso_getcpu): Likewise.
35481         (__vdso_time): Likewise.
35482         (__vdso_sigtramp_rt64): Likewise.
35483         (__vdso_signtramp32): Likewise.
35484         (__vdso_sigtramp_rt32): Likewise.
35485         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
35486         Likewise.
35487         (__vdso_clock_gettime): Likewise.
35488         (__vdso_clock_getres): Likewise.
35489         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
35490         Likewise.
35491         (__vdso_clock_gettime): Likewise.
35492         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
35493         Likewise.
35494         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
35495         macro.
35496         (INTERNAL_VSYSCALL): Likewise.
35497         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
35498         Remove macro.
35499         (INTERNAL_VSYSCALL): Likewise.
35500         (INTERNAL_VSYSCALL_NCS): Likewise.
35501         (INTERNAL_VSYSCALL_CALL): New macro.
35502         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35503         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
35504         Likewise.
35505         (INTERNAL_VSYSCALL): Likewise.
35506         (INTERNAL_VSYSCALL_NCS): Likewise.
35507         (INTERNAL_VSYSCALL_CALL): New macro.
35508         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35510         (INLINE_VSYSCALL): Remove macro.
35511         (INTERNAL_VSYSCALL): Remove macro.
35512         (INTERNAL_VSYSCALL_NCS): Remove macro.
35513         (INTERNAL_VSYSCALL_CALL): New macro.
35514         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
35515         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
35516         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35517         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
35518         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35520         (INLINE_VSYSCALL): Remove macro.
35521         (INTERNAL_VSYSCALL): Likewise.
35522         (INTERNAL_VSYSCALL_NCS): Likewise.
35523         (INTERNAL_VSYSCALL_CALL): New macro.
35524         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
35525         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
35526         PTR_DEMANGLE on vDSO pointer.
35527         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35528         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
35529         macro.
35530         (INTERNAL_SYSCALL): Likewise.
35531         (INTERNAL_VSYSCALL_NCS): Remove macro.
35532         (INTERNAL_VSYSCALL_CALL): New macro.
35533         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
35534         Remove macro.
35535         (INTERNAL_VSYSCALL): Likewise.
35536         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
35537         sysdep-vdso.h instead of libc-vdso.h.
35538         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
35539         definition.
35540         (INLINE_VSYSCALL): Likewise.
35541         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
35542         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
35543         definition.
35544         (INLINE_VSYSCALL): Likewise.
35545         (INTERNAL_VSYSCALL): Likewise.
35546         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35547         * sysdeps/unix/sysv/linux/timespec_get.c
35548         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35549         (timespec_get): Use ANSI prototype.
35550         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
35551         and definition for Linux.
35553 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
35555         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
35556         * include/libc-symbols.h: libmvec_hidden_* macro series added.
35558 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35560         [BZ #2981]
35561         [BZ #18410]
35562         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
35563         for missing DT_PLTRELSZ.
35565 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35567         Remove obsolete aliases that broke 'locale -a'
35568         [BZ #18412]
35569         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
35570         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
35571         breaking some applications that use 'locale -a' output.
35572         Change the encoding of this file from Latin-1 to ASCII to avoid
35573         other potential problems with people grepping this file.
35575 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35577         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
35578         -fasynchronous-unwind-tables.
35579         (CFLAGS-sendto.c): Likewise.
35580         (CFLAGS-sendmsg.c): Likewise.
35581         (CFLAGS-connect.c): Likewise.
35582         (CFLAGS-recvmsg.c): Likewise.
35583         (CFLAGS-recvfrom.c): Likewise.
35584         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
35585         (SOCKETCALL): New macro: non-cancellable socketcall.
35586         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
35587         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
35588         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
35589         * sysdeps/unix/sysv/linux/accept.c: New file.
35590         * sysdeps/unix/sysv/linux/bind.c: Likewise.
35591         * sysdeps/unix/sysv/linux/connect.c: Likewise.
35592         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
35593         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
35594         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
35595         * sysdeps/unix/sysv/linux/listen.c: Likewise.
35596         * sysdeps/unix/sysv/linux/recv.c: Likewise.
35597         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
35598         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
35599         * sysdeps/unix/sysv/linux/send.c: Likewise.
35600         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
35601         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
35602         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
35603         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
35604         * sysdeps/unix/sysv/linux/socket.c: Likewise.
35605         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
35606         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
35607         prototype.
35608         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
35609         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35610         instead of __internal_xxx function.
35611         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
35612         prototype.
35613         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
35614         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35615         instead of __internal_xxx function.
35616         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
35617         prototype.
35618         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
35619         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35620         instead of __internal_xxx function.
35621         * sysdeps/unix/sysv/linux/accept.S: Remove file.
35622         * sysdeps/unix/sysv/linux/bind.S: Likewise.
35623         * sysdeps/unix/sysv/linux/connect.S: Likewise.
35624         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
35625         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
35626         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
35627         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
35628         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
35629         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
35630         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
35631         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
35632         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35633         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
35634         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
35635         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
35636         * sysdeps/unix/sysv/linux/listen.S: Likewise.
35637         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
35638         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
35639         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
35640         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
35641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
35642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
35643         * sysdeps/unix/sysv/linux/recv.S: Likewise.
35644         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
35645         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
35646         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
35647         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35648         * sysdeps/unix/sysv/linux/send.S: Likewise.
35649         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
35650         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
35651         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
35652         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
35653         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
35654         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
35655         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
35656         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
35657         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
35658         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
35659         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
35660         socketcall is implemented in GLIBC.
35662 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35664         * soft-fp/fmadf4.c: Include <libc-internal.h>.
35665         (__fma): Ignore uninitialized warnings around packing.
35666         * soft-fp/fmasf4.c: Include <libc-internal.h>.
35667         (__fmaf): Ignore uninitialized warnings around packing.
35668         * soft-fp/fmatf4.c: Include <libc-internal.h>.
35669         (__fmal): Ignore uninitialized warnings around packing.
35671         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
35672         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35673         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
35674         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35676         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
35677         switch statement into default case.
35678         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
35680         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
35681         a conditional in forcing "inexact".
35682         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35683         Likewise.
35685 2015-05-22  Roland McGrath  <roland@hack.frob.com>
35687         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35688         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
35689         for each INTERNAL_SYSCALL use.
35691 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35693         [BZ #438]
35694         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
35695         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
35696         variable.
35698         [BZ #18444]
35699         * string/basename.c (basename): Rename to __basename and define as
35700         weak alias of __basename.  Use libc_hidden_weak.
35701         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
35702         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
35703         __basename instead of basename.
35704         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
35705         Remove variable.
35706         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35708 2015-05-18  Florian Weimer  <fweimer@redhat.com>
35710         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
35711         (_IO_JUMPS_FILE_plus): New.
35712         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
35713         _IO_CAST_FIELD_ACCESS.
35714         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
35715         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
35716         * libio/freopen.c (freopen): Likewise.
35717         * libio/freopen64.c (freopen64): Likewise.
35718         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
35719         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
35720         * libio/iofwide.c (_IO_fwide): Likewise.
35721         * libio/memstream.c (open_memstream): Likewise.
35722         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35723         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
35724         * libio/oldiopopen.c (_IO_old_popen): Likewise.
35726 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
35728         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
35729         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
35730         NADJ.
35731         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
35732         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
35733         NADJ.
35734         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
35735         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
35736         NADJ.
35738         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
35739         (p == 4) case.
35741         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
35742         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
35743         Remove variable.
35744         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35745         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35746         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35748 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35750         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
35751         Adjust jump table label generation macros.
35753 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35755         * stdio-common/vfprintf.c (vfprintf): Move local variables
35756         args_malloced, specs, specs_malloced, and the code after
35757         do_positional to the printf_positional function.
35758         (printf_positional): New function.
35760 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35762         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
35763         function.
35764         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
35765         STEP4_TABLE, process_arg): Move macro definitions
35766         out of the vfprintf function.  (Cosmetic change only.)
35768 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
35770         * benchtests/Makefile (stdio-common-bench): Define.
35771         (benchset): Add stdio-common-bench.
35772         * sprintf-inputs: New file.
35773         * sprintf-source.c: New file.
35775 2015-05-21  Andreas Schwab  <schwab@suse.de>
35777         [BZ #13028]
35778         [BZ #17053]
35779         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
35780         of struct __res_state.
35781         * resolv/res_send.c (__libc_res_nsend): Likewise.
35782         (get_nsaddr): New function.
35783         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
35784         statp directly.
35786 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
35788         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
35789         -D_POSIX_C_SOURCE=199506L.
35791         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
35793         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
35794         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
35795         Do not mention otherwise.
35796         [POSIX] (_XOPEN_VERSION): Do not expect.
35797         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
35798         [POSIX] (_POSIX2_C_BIND): Likewise.
35799         [POSIX] (_POSIX2_VERSION): Likewise.
35800         [POSIX] (_XOPEN_XPG2): Likewise.
35801         [POSIX] (_XOPEN_XPG3): Likewise.
35802         [POSIX] (_XOPEN_XPG4): Likewise.
35803         [POSIX] (_XOPEN_UNIX): Likewise.
35804         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
35805         [POSIX] (_POSIX_BARRIERS): Likewise.
35806         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
35807         [POSIX] (_POSIX_CPUTIME): Likewise.
35808         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
35809         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
35810         [POSIX] (_POSIX_SHELL): Likewise.
35811         [POSIX] (_POSIX_SPAWN): Likewise.
35812         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
35813         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
35814         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
35815         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
35816         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
35817         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
35818         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
35819         [POSIX] (_XBS5_LP64_OFF64): Likewise.
35820         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
35821         [POSIX] (_POSIX_TIMEOUTS): Likewise.
35822         [POSIX] (_POSIX2_PBS): Likewise.
35823         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
35824         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
35825         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
35826         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
35827         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
35828         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
35829         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
35830         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
35831         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
35832         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
35833         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
35834         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
35835         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
35836         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
35837         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
35838         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
35839         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
35840         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
35841         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
35842         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
35843         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
35844         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
35845         [POSIX] (_SC_2_C_BIND): Likewise.
35846         [POSIX] (_SC_2_C_VERSION): Likewise.
35847         [POSIX] (_SC_2_PBS): Likewise.
35848         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
35849         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
35850         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
35851         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
35852         [POSIX] (_SC_2_PBS_TRACK): Likewise.
35853         [POSIX] (_SC_ATEXIT_MAX): Likewise.
35854         [POSIX] (_SC_BARRIERS): Likewise.
35855         [POSIX] (_SC_BASE): Likewise.
35856         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
35857         [POSIX] (_SC_DEVICE_IO): Likewise.
35858         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
35859         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
35860         [POSIX] (_SC_FD_MGMT): Likewise.
35861         [POSIX] (_SC_FIFO): Likewise.
35862         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
35863         [POSIX] (_SC_FILE_LOCKING): Likewise.
35864         [POSIX] (_SC_FILE_SYSTEM): Likewise.
35865         [POSIX] (_SC_IOV_MAX): Likewise.
35866         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
35867         [POSIX] (_SC_NETWORKING): Likewise.
35868         [POSIX] (_SC_PAGE_SIZE): Likewise.
35869         [POSIX] (_SC_PASS_MAX): Likewise.
35870         [POSIX] (_SC_PIPE): Likewise.
35871         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
35872         [POSIX] (_SC_REGEXP): Likewise.
35873         [POSIX] (_SC_SHELL): Likewise.
35874         [POSIX] (_SC_SIGNALS): Likewise.
35875         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
35876         [POSIX] (_SC_SPIN_LOCKS): Likewise.
35877         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
35878         [POSIX] (_SC_USER_GROUPS): Likewise.
35879         [POSIX] (_SC_USER_GROUPS_R): Likewise.
35880         [POSIX] (_SC_STREAMS): Likewise.
35881         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
35882         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
35883         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
35884         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
35885         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
35886         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
35887         [POSIX] (_PC_FILESIZEBITS): Likewise.
35888         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
35889         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
35890         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
35891         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
35892         [POSIX] (uid_t): Likewise.
35893         [POSIX] (gid_t): Likewise.
35894         [POSIX] (off_t): Likewise.
35895         [POSIX] (pid_t): Likewise.
35896         [POSIX] (cuserid): Allow.
35897         (_SC_2_CHAR_TERM): Require constant.
35898         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
35899         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
35900         variable.
35902 2015-05-20  Roland McGrath  <roland@hack.frob.com>
35904         * sysdeps/nacl/pthread-pids.h: New file.
35905         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
35906         (create_thread): Use __nacl_get_tid to initialize PD->tid.
35908         * nptl/pthread-pids.h: New file.
35909         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
35910         * nptl/nptl-init.c: Include <pthread-pids.h>.
35911         (__pthread_initialize_minimal_internal):
35912         Call __pthread_initialize_pids instead of set_tid_address syscall.
35914         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
35915         * sysdeps/posix/usleep.c: ... here.
35917 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35919         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
35920         call_pselect6 object.
35921         [$(subdir) = io]: Remove call_sync_file_range object.
35922         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
35923         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
35924         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
35925         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
35927 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
35929         * math/s_cproj.c: Add include "math_private.h".
35930         * math/s_cprojf.c: Likewise.
35931         * math/s_cprojl.c: Likewise.
35933 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
35935         [BZ #18244]
35936         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
35937         high mantissa bit when testing whether P is a NaN.
35938         * math/libm-test.inc (remainder_test_data): Add more tests.
35939         (remquo_test_data): Likewise.
35941         [BZ #18049]
35942         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
35943         below -32, return the argument, with underflow if subnormal.
35944         * math/auto-libm-test-in: Add more tests of atanh.
35945         * math/auto-libm-test-out: Regenerated.
35947 2015-05-19  Roland McGrath  <roland@hack.frob.com>
35949         [BZ #18434]
35950         * nptl/tst-sem15.c: New file.
35951         * nptl/Makefile (tests): Add it.
35952         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
35953         s/<</>>/ to fix typo in EOVERFLOW check.
35954         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
35956 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35958         * manual/strings.texi (envz_remove): Fix typo in safety
35959         annotations.
35961 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
35962             Steve Ellcey  <sellcey@imgtec.com>
35964         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
35965         in order to avoid strict alias warnings.
35966         (iruserok_af): Ditto for ra.
35968 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
35970         [BZ #17581]
35971         * malloc/hooks.c
35972         (magicbyte): Convert to a function and avoid returning 0x01.
35973         (mem2mem_check): Avoid using a length byte equal to the magic byte.
35974         (mem2chunk_check): Fix unsigned comparisons to zero.
35975         Hoist defs of sz and magic.
35977 2015-05-19  Richard Henderson  <rth@redhat.com>
35979         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
35981         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35983 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35985         [BZ #16159]
35986         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
35987         * malloc/arena.c (arena_lock): Check if arena is corrupt.
35988         (reused_arena): Find a non-corrupt arena.
35989         (heap_trim): Pass arena to unlink.
35990         * malloc/hooks.c (malloc_check_get_size): Pass arena to
35991         malloc_printerr.
35992         (top_check): Likewise.
35993         (free_check): Likewise.
35994         (realloc_check): Likewise.
35995         * malloc/malloc.c (malloc_printerr): Add arena argument.
35996         (unlink): Likewise.
35997         (munmap_chunk): Adjust.
35998         (ARENA_CORRUPTION_BIT): New macro.
35999         (arena_is_corrupt): Likewise.
36000         (set_arena_corrupt): Likewise.
36001         (sysmalloc): Use mmap if there are no usable arenas.
36002         (_int_malloc): Likewise.
36003         (__libc_malloc): Don't fail if arena_get returns NULL.
36004         (_mid_memalign): Likewise.
36005         (__libc_calloc): Likewise.
36006         (__libc_realloc): Adjust for additional argument to
36007         malloc_printerr.
36008         (_int_free): Likewise.
36009         (malloc_consolidate): Likewise.
36010         (_int_realloc): Likewise.
36011         (_int_memalign): Don't touch corrupt arenas.
36012         * malloc/tst-malloc-backtrace.c: New test case.
36014         * Makefile (summarize-tests): Fix return value on success.
36016         * manual/string.texi (Envz Functions): Add envz_remove.
36018 2015-05-18  Roland McGrath  <roland@hack.frob.com>
36020         * sysdeps/posix/opendir.c: Include <stdbool.h>.
36021         (invalid_name): New function, broken out of ...
36022         (__opendirat): ... here.  Call it.
36023         (need_isdir_precheck): New function, broken out of ...
36024         (__opendirat): ... here.  Call it.
36025         Use __fxstatat64, not __xstatat64.
36026         (opendir_oflags): New function, broken out of ...
36027         (__opendirat): ... here.  Call it.
36028         (opendir_tail): New function, broken out of ...
36029         (__opendirat): ... here.  Call it.
36030         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
36031         opendir_tail, rather than punting to __opendirat.
36032         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
36034 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36036         * .gitignore: Ignore generated *.pyc.
36038 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
36040         * include/stdio.h: Define __need_wint_t.
36041         * test-skeleton.c: Avoid `for' loop initial declaration.
36042         * nptl/tst-initializers1.c: Use test-skeleton.c.
36044 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36046         [BZ #18418]
36047         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
36049 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
36051         [BZ #16352]
36052         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
36053         (__ieee754_atanh): Force underflow exception for results with
36054         small absolute value.
36055         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
36056         (__ieee754_atanhf): Force underflow exception for results with
36057         small absolute value.
36058         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
36059         (__ieee754_atanh): Force underflow exception for results with
36060         small absolute value.
36061         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
36062         (__ieee754_atanhf): Force underflow exception for results with
36063         small absolute value.
36064         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
36065         (__ieee754_atanhl): Force underflow exception for results with
36066         small absolute value.
36067         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
36068         (__ieee754_atanhl): Force underflow exception for results with
36069         small absolute value.
36070         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
36071         (__ieee754_atanhl): Force underflow exception for results with
36072         small absolute value.
36073         * math/auto-libm-test-in: Do not allow missing underflow
36074         exceptions from atanh.
36075         * math/auto-libm-test-out: Regenerated.
36077         [BZ #18221]
36078         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
36079         2**-28 as threshold for returning x or +/- 1/x.
36080         * math/auto-libm-test-in: Add more tests of tan.
36081         * math/auto-libm-test-out: Regenerated.
36083         [BZ #18220]
36084         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36085         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
36086         * math/auto-libm-test-in: Add another test of lgamma.
36087         * math/auto-libm-test-out: Regenerated.
36089 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
36091         * stdio-common/printf_fp.c (___printf_fp): Use abs.
36092         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
36093         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
36094         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
36095         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
36096         (ADD2A): Use fabs.  (SUB2A): Use fabs.
36097         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
36098         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
36099         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
36100         (log1): Use fabs.  (my_log2): Use fabs.
36101         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
36102         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
36103         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
36104         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
36105         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
36106         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
36107         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
36108         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
36109         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
36110         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
36111         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
36113 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
36115         [BZ #18217]
36116         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
36117         as threshold for returning 1 - x.
36118         * math/auto-libm-test-in: Add more tests of erfc.
36119         * math/auto-libm-test-out: Regenerated.
36121 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
36123         [BZ #18196]
36124         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
36125         threshold for large arguments.
36126         * math/auto-libm-test-in: Add another test of atan.
36127         * math/auto-libm-test-out: Regenerated.
36129         [BZ #16339]
36130         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
36131         (__log1p): Force underflow exception for results with small
36132         absolute value.
36133         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
36134         (__log1pf): Force underflow exception for results with small
36135         absolute value.
36136         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
36137         (__log1p): Force underflow exception for results with small
36138         absolute value.
36139         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
36140         (__log1pf): Force underflow exception for results with small
36141         absolute value.
36142         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
36143         (__log1pl): Force underflow exception for results with small
36144         absolute value.
36145         * math/auto-libm-test-in: Do not allow missing underflow
36146         exceptions from log1p.
36147         * math/auto-libm-test-out: Regenerated.
36149 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
36150             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36152         [BZ #16704]
36153         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
36155 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
36157         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
36158         (libmvec): New variable.
36159         * configure.ac: Added option for mathvec build.
36160         * configure: Regenerated.
36161         * mathvec/Depend: New file.
36162         * mathvec/Makefile: New file.
36163         * shlib-versions: Added libmvec.
36164         * math/Makefile: Added rule for libm.so installation.
36166         * bits/math-vector.h: New file.
36167         * bits/libm-simd-decl-stubs.h: New header.
36168         * math/Makefile (headers): Added new header
36169         libm-simd-decl-stubs.h.
36170         * math/math.h (__MATHCALL_VEC): New macro.
36172         * math/gen-libm-have-vector-test.sh: Script generates series of macros
36173         for conditions in testing functions.
36174         * math/Makefile: Added call of libm-have-vector-test.sh.
36175         * math/libm-test.inc (HAVE_VECTOR): New macros.
36177         * math/libm-test.inc: START refactored.
36178         * math/test-double.c (TEST_MATHVEC): Add define.
36179         * math/test-float.c: Likewise.
36180         * math/test-idouble.c: Likewise.
36181         * math/test-ifloat.c: Likewise.
36182         * math/test-ildoubl.c: Likewise.
36183         * math/test-ldouble.c: Likewise.
36184         * sysdeps/generic/math-tests-arch.h
36185         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
36186         architecture check.
36188         * math/test-double.c (FUNC_TEST): New macro.
36189         * math/test-float.c: Likewise.
36190         * math/test-idouble.c: Likewise.
36191         * math/test-ifloat.c: Likewise.
36192         * math/test-ildoubl.c: Likewise.
36193         * math/test-ldouble.c: Likewise.
36194         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
36196 2015-05-13  Roland McGrath  <roland@hack.frob.com>
36198         * sysdeps/nacl/fdopendir.c: New file.
36200         * dirent/scandir-tail.c: New file.
36201         * dirent/scandir64-tail.c: New file.
36202         * dirent/Makefile (routines): Add them.
36203         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
36204         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
36205         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
36206         [!SCANDIR] (SCANDIR_TAIL): New macro.
36207         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
36208         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
36209         (SCANDIRAT): Macro removed.
36210         (SCANDIR_TAIL): New macro.
36211         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
36212         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
36213         (SCANDIRAT): Just call __opendirat and __scandir_tail.
36214         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
36215         (READDIR): Macro removed.
36216         (SCANDIR_TAIL): New macro.
36217         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
36218         (SCANDIR_TAIL): New macro.
36220         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
36221         * dirent/scandir-cancel.c: ... to this new file.
36222         * dirent/Makefile (routines): Add it.
36223         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
36224         * sysdeps/unix/sysv/linux/i386/scandir64.c
36225         (SKIP_SCANDIR_CANCEL): Macro removed.
36226         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
36228         * dirent/tst-scandir.c: New file.
36229         * dirent/tst-scandir64.c: New file.
36230         * dirent/Makefile (tests): Add them.
36232 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
36234         [BZ #18409]
36235         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
36237 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36239         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
36240         list.
36242 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
36244         * benchtests/bench-strcoll.c: New benchmark.
36245         * benchtests/Makefile: Generate locales and run benchmark.
36246         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
36247         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
36248         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
36249         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
36250         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
36251         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
36252         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
36253         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
36254         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
36255         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
36256         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
36257         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
36258         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
36259         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
36260         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
36261         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
36262         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
36263         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
36264         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
36265         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
36266         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
36267         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
36268         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
36269         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
36271 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
36273         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
36274         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36276 2015-05-12  Roland McGrath  <roland@hack.frob.com>
36278         * posix/uname-values.h: New file.
36279         * posix/uname.c: Include that instead of <config-name.h>.
36280         * sysdeps/nacl/uname-values.h: New file.
36281         * sysdeps/arm/nacl/uname-values.h: New file.
36283 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
36285         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
36286         splitting into fields.
36288 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
36290         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
36291         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
36292         * locale/localeinfo.h: Add enum collation_encoding_type.
36293         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
36294         * programs/ld-collate.c (collate_output): Add encoding type info.
36295         * string/strcoll_l.c (STRDIFF): New function.
36296         * (STRCOLL): Use STRDIFF to skip over equal prefix.
36297         * wcsmbs/wcscoll_l.c: Define STRDIFF.
36299 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
36301         [BZ #18397]
36302         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
36303         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
36304         <fpu_control.h> instead of <math/fpu_control.c>.
36305         * sysdeps/mips/mips32/fpu/Makefile: New file.
36307 2015-05-11  Andreas Schwab  <schwab@suse.de>
36309         [BZ #18007]
36310         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
36311         nss_endgrent.
36312         (_nss_compat_endgrent): Call nss_endgrent.
36313         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
36314         nss_endpwent.
36315         (_nss_compat_endpwent): Call nss_endpwent.
36316         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
36317         needent, call nss_setspent only if non-zero.
36318         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
36319         (internal_endspent): Don't call nss_endspent.
36320         (_nss_compat_endspent): Call nss_endspent.
36321         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
36322         Remove.  All uses removed.
36323         (internal_setent): Remove parameter stayopen, add parameter
36324         stream.  Use it instead of global variable.
36325         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
36326         (internal_endent, internal_getent): Add parameter stream.  Use it
36327         instead of global variable.
36328         (CONCAT(_nss_files_end,ENTNAME))
36329         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
36330         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
36331         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
36332         uses removed.
36333         (internal_setent, internal_endent): Add parameter stream.  Use it
36334         instead of global variable.
36335         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
36336         stream.
36337         (get_next_alias): Add parameter stream.
36338         (_nss_files_getaliasent_r): Pass global stream.
36339         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
36340         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
36341         (_nss_files_gethostbyname4_r): Pass local stream to
36342         internal_setent, internal_getent and internal_endent.  Remove
36343         locking.
36345 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36347         * tst-strfmon1.c (tests): Update expected currency symbol.
36349 2015-05-08  Roland McGrath  <roland@hack.frob.com>
36351         * sysdeps/nacl/gethostname.c: New file.
36353 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
36355         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
36356         and sinh.
36357         * math/auto-libm-test-out: Regenerated.
36358         * sysdeps/i386/fpu/libm-test-ulps: Update.
36359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36361 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
36363         [BZ #18125]
36364         * stdlib/tst-setcontext3.c: New file.
36365         * stdlib/tst-setcontext3.sh: New file.
36366         * stdlib/Makefile (tests): Add tst-setcontext3.
36367         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
36368         to verify test program created output file.
36369         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
36370         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
36371         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
36372         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
36374 2015-05-06  Roland McGrath  <roland@hack.frob.com>
36376         [BZ #18383]
36377         * elf/tst-tlsalign.c: New file.
36378         * elf/tst-tlsalign-static.c: New file.
36379         * elf/tst-tlsalign-lib.c: New file.
36380         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
36381         (tests-static): Add tst-tlsalign-static.
36382         (modules-names): Add tst-tlsalign-lib.
36383         (test-xfail-tst-tlsalign): New variable.
36384         (test-xfail-tst-tlsalign-static): New variable.
36386         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
36387         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
36389 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
36391         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
36392         csqrt, erfc, sin and sincos.
36393         * math/auto-libm-test-out: Regenerated.
36394         * sysdeps/i386/fpu/libm-test-ulps: Update.
36395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36397 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36399         * sysdeps/aarch64/libm-test-ulps: Update.
36401 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
36403         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
36404         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
36405         * math/auto-libm-test-out: Regenerated.
36406         * sysdeps/i386/fpu/libm-test-ulps: Update.
36407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36409 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
36411         [BZ #18265]
36412         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
36413         (wcsncpy): Likewise.
36415 2015-05-05  Florian Weimer  <fweimer@redhat.com>
36417         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36418         Assume __ASSUME_FALLOCATE is always true.
36419         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36420         (__posix_fallocate64_l64): Likewise.
36421         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
36422         (posix_fallocate): Likewise.
36423         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
36424         (__posix_fallocate64_l64): Likewise.
36425         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36426         [!__ASSUME_FALLOCATE]: Add comment.
36428 2015-05-05  Florian Weimer  <fweimer@redhat.com>
36430         * sysdeps/unix/sysv/linux/i386/Makefile
36431         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
36432         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
36433         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
36434         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36435         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36436         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
36437         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
36439 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
36441         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
36442         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
36443         tgamma.
36444         * math/auto-libm-test-out: Regenerated.
36445         * sysdeps/i386/fpu/libm-test-ulps: Update.
36446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36448 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
36450         * math/auto-libm-test-in: Add more tests of tgamma.
36451         * math/auto-libm-test-out: Regenerated.
36452         * sysdeps/i386/fpu/libm-test-ulps: Update.
36453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36455         * math/auto-libm-test-in: Add more tests of tanh.
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 tan.
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 cos, sin and sincos.
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 another test of pow.
36471         * math/auto-libm-test-out: Regenerated.
36472         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36474         * math/auto-libm-test-in: Add more tests of lgamma.
36475         * math/auto-libm-test-out: Regenerated.
36476         * sysdeps/i386/fpu/libm-test-ulps: Update.
36477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36479         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
36480         log1p.
36481         * math/auto-libm-test-out: Regenerated.
36482         * sysdeps/i386/fpu/libm-test-ulps: Update.
36483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36485 2015-05-01  Mark Wielaard  <mjw@redhat.com>
36487         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
36488         Elf64_Chdr structs and ELFCOMPRESS constants.
36490 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
36492         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
36493         expm1.
36494         * math/auto-libm-test-out: Regenerated.
36495         * sysdeps/i386/fpu/libm-test-ulps: Update.
36496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36498         * math/auto-libm-test-in: Add more tests of erf and erfc.
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 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36505         * config.h.in (HAVE_AARCH64_BE): Add.
36507 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
36509         * math/auto-libm-test-in: Add more tests of csqrt.
36510         * math/auto-libm-test-out: Regenerated.
36511         * sysdeps/i386/fpu/libm-test-ulps: Update.
36512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36514         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
36521 2015-04-29  Roland McGrath  <roland@hack.frob.com>
36523         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
36524         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
36526         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
36527         (euidaccess, eaccess): Define as weak aliases.
36529         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
36530         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
36531         but __suseconds_t is often 'long int' so some sources assume that
36532         type is being used (e.g. they use %ld to print tv_usec).
36534 2015-04-29  Florian Weimer  <fweimer@redhat.com>
36536         [BZ #18007]
36537         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
36538         (CVE-2014-8121)
36539         * nss/tst-nss-getpwent.c: New file.
36540         * nss/Makefile (tests): Add new test.
36542 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
36544         [BZ #18346]
36545         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
36546         exponents less than 48 as cases where high part of mantissa needs
36547         examining to determine whether argument is integral.
36548         * math/libm-test.inc (round_test_data): Add more tests.
36550 2015-04-28  Mark Wielaard  <mjw@redhat.com>
36552         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
36554 2015-04-27  David S. Miller  <davem@davemloft.net>
36556         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
36557         __tls_get_addr.
36558         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36560 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
36562         [BZ #18333]
36563         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
36565 2015-04-27  Florian Weimer  <fweimer@redhat.com>
36567         [BZ #18333]
36568         * time/tzset.c (parse_tzname): Return error on memory allocation
36569         failure.
36570         * test-skeleton.c (struct temp_name_list): Change type of name
36571         member to non-const.
36572         (add_temp_file): Create a copy of the file name.
36573         (delete_temp_files): Deallocate memory.
36574         (create_temp_file): Add comment.
36576 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36578         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
36579         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
36581 2015-04-24  Roland McGrath  <roland@hack.frob.com>
36583         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
36584         * sysdeps/arm/configure: Regenerated.
36586 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36588         [BZ #17715]
36589         * time/tzfile.c (__tzfile_read): Check for large values of
36590         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
36591         * time/tzset.c (__tzstring_len): New function, based on the old
36592         __tzstring function.
36593         (__tzstring): Call __tzstring_len.
36594         (parse_tzname): New helper function extracted from
36595         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
36596         the input string.
36597         (parse_offset): New helper function extracted from
36598         __tzset_parse_tz.  Replace switch with fallthrough with
36599         initialization before sscanf.
36600         (parse_rule): Likewise.
36601         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
36602         new-style function definition.
36603         * timezone/Makefile (tests): Add tst-tzset.
36604         (tst-tzset.out): Dependencies on time zone files.
36605         (tst-tzset-ENV): Set TZDIR.
36606         (testdata/XT%): Copy crafted time zone files.
36607         * timezone/README: Mention crafted time zone files.
36608         * timezone/testdata/XT1, timezone/testdata/XT2,
36609         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
36610         files.
36611         * timezone/tst-tzset.c: New test.
36613 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36615         * Makeconfig (+gccwarn): Remove -Winline.
36617 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36619         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
36621 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36623         * NEWS: Mention sysconf() cache information support for s390.
36624         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
36626 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
36628         * math/k_casinh.c (__kernel_casinh): Use __copysign.
36629         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
36630         (__nearbyint): Likewise.
36631         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
36632         (copysignl): Likewise.
36634 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
36636         [BZ #18287]
36637         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
36638         based on padding.  (CVE-2015-1781)
36640 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36642         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
36643         libc-vdso.h.
36644         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
36645         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
36646         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
36647         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
36648         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
36649         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
36650         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
36651         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36652         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36653         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
36654         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36655         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36656         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36657         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
36658         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
36659         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
36660         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
36661         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
36662         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
36663         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
36664         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
36665         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
36666         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
36668 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
36670         * stdlib/setenv.c (__add_to_environ):
36671         Dump core quickly if setenv (..., NULL, ...) is called.
36672         This time, do it the right way, and pacify GCC with a pragma.
36674 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36676         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
36677         IMAP->l_prev cannot be null, and #if out the code for the contrary
36678         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
36679         believe that NS (&_dl_ns[NSID]) could point outside the array.
36681         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
36682         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
36683         before using NSID as an index.
36685 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
36687         [BZ #17825]
36688         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
36689         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
36690         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
36692 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36694         Add preliminary port to Google Native Client on ARM.
36695         * abi-tags (.*-.*-nacl.*): New entry.
36696         * sysdeps/arm/nacl: New directory.
36697         * sysdeps/nacl: New directory.
36699 2015-04-16  David S. Miller  <davem@davemloft.net>
36701         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
36702         lowlevellock-futex.h
36704 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
36706         * sysdeps/tile/configure.ac: New file.
36707         * sysdeps/tile/configure: Regenerated.
36709 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36711         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
36712         conditionals for weak_alias and libc_hidden_weak.
36713         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
36714         libc_hidden_weak and weak_alias.
36715         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
36716         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
36717         and weak_alias for static one.
36719 2015-04-15  David S. Miller  <davem@davemloft.net>
36721         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36723 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36725         [BZ #18206]
36726         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
36727           Use signed comparision instead of substraction to avoid
36728           overflow bug.
36729         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
36730           Take the sign of ret.
36731         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
36732           Do not expect precise return values. Only the sign matters.
36733         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
36734         * wcsmbs/test-wcsncmp.c: New File.
36735         * string/test-strncmp.c: Add wcsncmp support.
36737 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36739         [BZ #6792]
36740         * math/w_log1p.c: New file.
36741         * math/w_log1pf.c: Likewise.
36742         * math/w_log1pl.c: Likewise.
36743         * math/Makefile (libm-calls): Add w_log1p.
36744         * math/s_log1pl.c (log1pl): Remove weak_alias.
36745         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
36746         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
36747         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
36748         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
36749         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
36750         [NO_LONG_DOUBLE] (log1pl): Likewise.
36751         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
36752         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
36753         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
36754         (log1p): Remove long_double_symbol.
36755         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
36756         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
36757         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
36758         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
36759         remove weak_alias for corresponding log1p function.
36760         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
36761         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
36762         * sysdeps/ia64/fpu/w_log1p.c: New file.
36763         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
36764         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
36765         * math/libm-test.inc (log1p_test_data): Add errno expectations.
36767 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
36769         [BZ #18247]
36770         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
36771         decimal exponent by 1.
36772         * stdlib/tst-strtod-round-data: Add more tests.
36773         * stdlib/tst-strtod-round.c (tests): Regenerated.
36775 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
36777         * math/auto-libm-test-in: Add more tests of clog and clog10.
36778         * math/auto-libm-test-out: Regenerated.
36779         * sysdeps/i386/fpu/libm-test-ulps: Update.
36780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36782 2015-04-09  Roland McGrath  <roland@hack.frob.com>
36784         * Makeconfig (module-cppflags): Exclude all .v.i files.
36785         (skip-module-cppflags): Variable removed.
36787         * configure.ac (libc_config_ok): Initialize before reading
36788         preconfigure scripts, not after.
36789         * configure: Regenerated.
36791         * test-skeleton.c (TIMEOUT): Move #define to top level.
36792         (main): Grok environment variable TEST_DIRECT.  If set, print
36793         test expectation details into that file and then behave as if
36794         given --direct.
36796 2015-04-09  Florian Weimer  <fweimer@redhat.com>
36798         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
36799         warning on 32-bit.
36801 2015-04-08  David S. Miller  <davem@davemloft.net>
36803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36805 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36807         * math/auto-libm-test-in: Add more tests of atanh.
36808         * math/auto-libm-test-out: Regenerated.
36809         * sysdeps/i386/fpu/libm-test-ulps: Update.
36810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36812         * math/auto-libm-test-in: Add more tests of atan.
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 2015-04-08  Florian Weimer  <fweimer@redhat.com>
36819         * elf/pldd.c (main): Rewrite to use struct
36820         scratch_buffer instead of extend_alloca.
36821         * elf/pldd-xx.c (find_maps): Likewise.
36822         * grp/initgroups.c: Include <scratch_buffer.h> instead of
36823         <alloca.h>.
36824         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
36825         scratch_buffer instead of extend_alloca.
36826         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
36827         grp/compat-initgroups.c.
36828         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
36829         Rewrite to use struct scratch_buffer instead of extend_alloca.
36830         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
36831         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36833 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36835         * math/auto-libm-test-in: Add more tests of cbrt.
36836         * math/auto-libm-test-out: Regenerated.
36837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36839         * math/auto-libm-test-in: Add more tests of cabs.
36840         * math/auto-libm-test-out: Regenerated.
36841         * sysdeps/i386/fpu/libm-test-ulps: Update.
36842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36844         [BZ #18210]
36845         [BZ #18211]
36846         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
36847         (__ieee754_atan2): Set FE_TONEAREST mode for internal
36848         computations.
36849         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
36850         clog10.
36851         * math/auto-libm-test-out: Regenerated.
36852         * sysdeps/i386/fpu/libm-test-ulps: Update.
36853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36855         [BZ #18197]
36856         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
36857         (atan): Set FE_TONEAREST mode for internal computations.
36858         * math/auto-libm-test-in: Add more tests of atan.
36859         * math/auto-libm-test-out: Regenerated.
36861 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
36863         [BZ #17930]
36864         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
36866 2015-04-07  Florian Weimer  <fweimer@redhat.com>
36868         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
36870 2015-04-07  Florian Weimer  <fweimer@redhat.com>
36872         * include/scratch_buffer.h: New file.
36873         * malloc/scratch_buffer_grow.c: Likewise.
36874         * malloc/scratch_buffer_grow_preserve.c: Likewise.
36875         * malloc/scratch_buffer_set_array_size.c: Likewise.
36876         * malloc/tst-scratch_buffer.c: Likewise.
36877         * malloc/Makefile (routines): Add scratch_buffer_grow.
36878         (tests): Add test case.
36879         * malloc/Versions (GLIBC_PRIVATE): Export
36880         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
36881         __libc_scratch_buffer_set_array_size.
36883 2015-04-06  Richard Henderson  <rth@redhat.com>
36885         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
36886         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36888         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
36889         unsigned int before printing.
36891 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36893         [BZ #17596]
36894         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
36895         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36897 2015-04-02  Florian Weimer  <fweimer@redhat.com>
36899         * include/libc-internal.h (libc_max_align_t): Define.
36901 2015-04-02  Andreas Schwab  <schwab@suse.de>
36903         [BZ #16850]
36904         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
36906 2015-04-02  Mel Gorman  <mgorman@suse.de>
36908         [BZ #17195]
36909         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
36910         as well as the main arena.
36912 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36914         [BZ #18185]
36915         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
36916         sharing L2 cache to 2 for Silvermont/Knights Landing.
36918 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36920         [BZ #17711]
36921         * config.make.in (have-protected-data): New.
36922         * configure.ac: Check linker support for protected data symbol.
36923         * configure: Regenerated.
36924         * elf/Makefile (modules-names): Add tst-protected1moda and
36925         tst-protected1modb if $(have-protected-data) is yes.
36926         (tests): Add tst-protected1a and tst-protected1b if
36927         $(have-protected-data) is yes.
36928         ($(objpfx)tst-protected1a): New.
36929         ($(objpfx)tst-protected1b): Likewise.
36930         (tst-protected1modb.so-no-z-defs): Likewise.
36931         * elf/tst-protected1a.c: New file.
36932         * elf/tst-protected1b.c: Likewise.
36933         * elf/tst-protected1mod.h: Likewise.
36934         * elf/tst-protected1moda.c: Likewise.
36935         * elf/tst-protected1modb.c: Likewise.
36937 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36939         [BZ #17711]
36940         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
36941         indicates it is called from do_lookup_x on relocation against
36942         protected data, skip the data definion in the executable from
36943         copy reloc.
36944         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
36945         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
36946         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
36947         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
36948         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
36949         otherwise to 0.
36950         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36951         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
36952         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
36953         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36954         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
36955         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
36957 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
36959         * sysdeps/nptl/pthread.h: Remove duplicate definition of
36960         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
36962 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
36964         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
36965         THREAD_SETMEM_NC.
36966         * sysdeps/x86_64/nptl/tls.h: Ditto.
36968 2015-03-27  Roland McGrath  <roland@hack.frob.com>
36970         * dlfcn/tststatic.c (main): Converted to ...
36971         (do_test): ... this.
36972         (TEST_FUNCTION): New macro.
36973         Include test-skeleton.c.
36975 2015-03-26  Alan Modra  <amodra@gmail.com>
36977         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
36978         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
36979         zero for undefined weak.
36980         (elf_machine_plt_conflict): Similarly.
36982 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
36984         * math/auto-libm-test-in: Add more tests of acosh, asinh and
36985         atanh.
36986         * math/auto-libm-test-out: Regenerated.
36987         * sysdeps/i386/fpu/libm-test-ulps: Update.
36988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36990         * math/auto-libm-test-in: Add another test of asin.
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         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
36996         Remove macro.
36997         (LLL_EBX_REG): Likewise.
36998         (LLL_ENTER_KERNEL): Likewise.
37000         * math/auto-libm-test-in: Add more tests of asin.
37001         * math/auto-libm-test-out: Regenerated.
37002         * sysdeps/i386/fpu/libm-test-ulps: Update.
37003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37005         [BZ #18138]
37006         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
37007         libc_do_syscall_args): New structure.
37008         (INTERNAL_SYSCALL_MAIN_0): New macro.
37009         (INTERNAL_SYSCALL_MAIN_1): Likewise.
37010         (INTERNAL_SYSCALL_MAIN_2): Likewise.
37011         (INTERNAL_SYSCALL_MAIN_3): Likewise.
37012         (INTERNAL_SYSCALL_MAIN_4): Likewise.
37013         (INTERNAL_SYSCALL_MAIN_5): Likewise.
37014         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
37015         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
37016         Replace conditional definitions by conditional definitions of ....
37017         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
37018         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
37019         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
37020         (libpthread-sysdep_routines): Add libc-do-syscall.
37021         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
37022         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
37023         to __NR_futex not 240.
37025 2015-03-25  Alan Modra  <amodra@gmail.com>
37027         * NEWS: Advertise TLS optimization.
37028         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
37029         (DT_PPC_NUM): Increment.
37030         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
37031         (CHECK_STATIC_TLS): Use here.
37032         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
37033         TLS descriptors.
37034         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37035         * sysdeps/powerpc/dl-tls.c: New file.
37036         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
37037         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
37038         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
37039         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
37040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
37041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
37042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
37044 2015-03-25  Alan Modra  <amodra@gmail.com>
37046         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
37047         for overlapping .opd entries" to "support...".
37048         * sysdeps/powerpc/powerpc64/configure: Regenerate
37050 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
37052         * math/auto-libm-test-in: Add more tests of acos.
37053         * math/auto-libm-test-out: Regenerated.
37054         * sysdeps/i386/fpu/libm-test-ulps: Update.
37055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37057         * math/auto-libm-test-in: Add more tests of expm1.
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 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
37064         * math/auto-libm-test-in: Add more tests of cosh and sinh.
37065         * math/auto-libm-test-out: Regenerated.
37066         * sysdeps/i386/fpu/libm-test-ulps: Update.
37067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37069         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37072         * math/auto-libm-test-in: Add more tests of log2.
37073         * math/auto-libm-test-out: Regenerated.
37074         * sysdeps/i386/fpu/libm-test-ulps: Update.
37075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37077 2015-03-23  Roland McGrath  <roland@hack.frob.com>
37079         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
37080         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
37081         _IO_IS_APPENDING bit in READ_WRITE instead.
37083 2015-03-23  Florian Weimer  <fweimer@redhat.com>
37085         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
37086         (__determine_cpumask_size): Replace extend_alloca with a
37087         variable-length array.  Do not treat res == 0 as an error.
37089 2015-03-23  Florian Weimer  <fweimer@redhat.com>
37091         [BZ #18100]
37092         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
37093         and integer overflow.
37094         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
37095         (main): Add integer overflow tests.
37096         * manual/pattern.texi (Calling Wordexp): Document additional use
37097         for WRDE_SYNTAX.
37099 2015-03-23  Alan Modra  <amodra@gmail.com>
37101         * config.h.in: Remove HAVE_ASM_PPC_REL16.
37102         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
37103         and false branch of conditional.
37104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
37105         Likewise.
37107 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
37109         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
37110         libc-modules.h
37111         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
37112         unused declaration of _hurd_intr_rpc_msg_in_trap.
37113         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
37114         defined instead of whether it is non-zero.
37115         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
37116         input constraint instead of both input and output constraint.  Use ecx
37117         clobber instead of %ecx.
37118         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
37119         mutex_unlock): Use a statement expression instead of an expression list.
37120         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
37121         type to vm_size_t instead of vm_address_t.
37122         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
37123         defined instead of whether it is non-zero.
37124         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
37125         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
37126         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
37127         comparisons with mapaddr.
37128         * nscd/nscd-client.h: Include <time.h>.
37129         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
37130         9th parameter to __vm_region instead of int.
37131         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
37132         * scripts/check-local-headers.sh (exclude): Add device/,
37133         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
37134         cthreads.h.
37136 2015-03-19  Roland McGrath  <roland@hack.frob.com>
37138         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
37139         to account for alignment padding.
37140         * sysdeps/arm/memmove.S: Likewise.
37142 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
37144         * sysdeps/unix/sysv/linux/generic/README: New file.
37146 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
37148         [BZ #18138]
37149         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
37150         (futex_abstimed_wait)
37151         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
37152         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
37153         of lll_futex_timed_wait.
37155 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
37157         [BZ #17542]
37158         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
37160 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
37162         [BZ #17090]
37163         [BZ #17620]
37164         [BZ #17621]
37165         [BZ #17628]
37166         * NEWS: Update.
37167         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
37168         entries with Static TLS too.  Skip entries past the end of the
37169         allocated DTV, from Alan Modra.
37170         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
37171         Static TLS DTV entry set up from...
37172         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
37173         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
37174         * nptl/allocatestack.c (init_one_static_tls): ... and here...
37175         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
37176         for Static TLS.
37177         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
37178         that the slot we find is associated with the given map before
37179         using its generation count.
37180         * nptl_db/db_info.c: Include ldsodefs.h.
37181         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
37182         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
37183         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
37184         (link_map::l_tls_offset): New struct field.
37185         (dtv_t::counter): Likewise.
37186         (rtld_global): New struct.
37187         (_rtld_global): New rtld variable.
37188         (dl_tls_dtv_slotinfo_list): New rtld global field.
37189         (dtv_slotinfo_list): New struct.
37190         (dtv_slotinfo): Likewise.
37191         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
37192         (td_lookup): Rename to...
37193         (td_mod_lookup): ... this.  Use new mod parameter instead of
37194         LIBPTHREAD_SO.
37195         * nptl_db/td_thr_tlsbase.c: Include link.h.
37196         (dtv_slotinfo_list, dtv_slotinfo): New functions.
37197         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
37198         addresses even if the DTV is out of date or missing them.
37199         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
37200         index zero-length arrays.
37201         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
37202         (td_lookup): Make it a macro implemented in terms of...
37203         (td_mod_lookup): ... this declaration.
37204         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
37205         (DB_MAIN_VARIABLE): Likewise.
37207 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37209         [BZ #18134]
37210         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
37212 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
37214         * stdlib/setenv.c (__add_to_environ): Revert previous change.
37216 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
37218         [BZ #18128]
37219         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
37220         (atomic_add, atomic_increment_and_test)
37221         (atomic_decrement_and_test): Fix 64-bit arithmetic.
37223 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
37225         * stdlib/setenv.c (__add_to_environ):
37226         Dump core quickly if setenv (..., NULL, ...) is called.
37228 2015-03-13  Roland McGrath  <roland@hack.frob.com>
37230         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
37231         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
37232         all the necessary asm magic in one place.
37233         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
37234         using those.
37236 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
37238         [BZ #14906]
37239         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
37240         traced file mtime. Use consistent log message.
37241         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
37242         (register_traced_file): Call install_watches. Always set mtime.
37243         (invalidate_cache): Iterate over all trace files. Call install_watches.
37244         (inotify_check_files): Don't inline. Handle watching parent
37245         directories and configuration file movement in and out.
37246         (handle_inotify_events): New function.
37247         (main_loop_poll): Call handle_inotify_events.
37248         (main_loop_epoll): Likewise.
37249         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
37250         (struct traced_file): Use array of inotify fds. Add parent directory,
37251         and basename.
37252         (struct database_dyn): Remove unused file_mtime.
37253         (init_traced_file): New inline function.
37254         (define_traced_file): New macro.
37255         * nss/nss_db/db-init.c: Use define_traced_file.
37256         (_nss_db_init): Use init_traced_file.
37257         * nss/nss_files/files-init.c: Use define_traced_file.
37258         (_nss_files_init): Use init_traced_file.
37260 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
37262         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
37263         [_LIBC]: Do not include <stdlib.h>.
37264         [!_LIBC] (abort): Remove declaration.
37265         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
37266         _FP_STATIC_ASSERT instead of conditionally calling abort.
37267         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
37268         (_FP_EXTEND_CNAN): Likewise.
37269         (FP_TRUNC): Likewise.
37270         (__FP_CLZ): Likewise.
37271         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
37273 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
37275         * manual/string.texi (XPG basename): Fix prototype.
37277 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37279         [BZ #18080]
37280         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
37281         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37282         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
37283         (__setcontext): Likewise.
37284         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
37285         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37286         Call rt_sigprocmask syscall one time to set new signal mask
37287         and retrieve the current signal mask instead of two calls.
37288         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
37289         (__swapcontext): Likewise.
37290         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
37291         * stdlib/tst-setcontext2.c: New file.
37293 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37295         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37297 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
37299         [BZ #18093]
37300         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
37301         the wrong size.
37303 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37305         [BZ #18043]
37306         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
37308 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37310         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
37311         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
37312         Remove define.
37313         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
37314         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
37315         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
37316         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
37317         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
37318         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
37319         define.
37320         * nptl_db/td_symbol_list.c (td_lookup): Remove
37321         HAVE_ASM_GLOBAL_DOT_NAME code.
37322         * sysdeps/powerpc/powerpc64/configure.ac: Remove
37323         HAVE_ASM_GLOBAL_DOT_NAME check.
37324         * sysdeps/powerpc/powerpc64/configure: Regenerate.
37325         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
37326         (DOT_LABEL): Remove define.
37327         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
37328         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
37329         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
37330         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
37331         (__TLS_GET_ADDR): Likewise.
37332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
37333         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
37335 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
37337         [BZ #18111]
37338         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
37339         (_FPU_SETCW): Initialize cw from fpsr before storing.
37340         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
37341         (fesetexceptflag): Rewrite using fpu_control.h.
37342         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
37344 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
37346         [BZ #18110]
37347         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
37348         asms.
37349         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37351 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
37353         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
37354         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
37355         abort.
37356         (_FP_FMA): Likewise.
37357         (_FP_DIV): Likewise.
37359 2015-03-10  Roland McGrath  <roland@hack.frob.com>
37361         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
37362         with 0 in that case.
37363         * Makefile (summarize-tests): New canned sequence, factored out of
37364         commands for targets tests and xtests.  Display summary lines that
37365         don't start with PASS: or XFAIL: rather than ones that do start with
37366         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
37367         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
37368         do start with ERROR: or FAIL:.
37369         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
37370         (except for [$(build-shared) = yes]).
37371         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
37372         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
37373         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
37374         * nptl/Makefile: Revert 2015-03-04 changes.
37375         [$(CXX) empty] (tests-unsupported): New variable.
37376         * debug/Makefile: Likewise.
37378         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
37379         gnulib file.  Replace __attribute with __attribute__ throughout.
37381 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
37383         * sysdeps/hppa/fpu/libm-test-ulps: Update.
37385 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
37387         [BZ #18104]
37388         * math/auto-libm-test-in: Add another test of pow.
37389         * math/auto-libm-test-out: Regenerated.
37391 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37393         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
37394         $(config-cflags-nofma).
37396 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
37398         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
37399         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
37400         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
37401         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
37402         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
37403         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
37404         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
37405         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
37406         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
37407         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
37408         Add comment on closing #endif.
37410 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37412         * posix/wordexp.c (CHAR_IN_SET): New macro.
37413         (parse_param): Use it.
37415 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37417         * sysdeps/powerpc/fpu/libm-test-ulps: update.
37419 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37421         [BZ #18043]
37422         * posix/wordexp.c (parse_param): Fix buffer overflow.
37423         * posix/wordexp-test.c (test_case): Add test case.
37425 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37427         [BZ #18042]
37428         * posix/wordexp.c (parse_backtick): Fix off-by-one.
37429         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
37431 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37433         [BZ #18043]
37434         * posix/wordexp-test.c (test_case): Add test for BZ #18043
37435         (do_bz18043): Delete.
37436         (at_page_end): New.
37437         (testit): Refactor to have words at the edge of unreadable page.
37439 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37441         [BZ #16734]
37442         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
37443         Cleanup read-only streams as well.
37444         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
37446 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37448         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
37449         <bits/libc-lockP.h>
37451 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
37453         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
37454         on [__KERNEL__].
37455         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
37456         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
37457         * soft-fp/op-common.h (_FP_DECL): Likewise.
37459 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
37461         * elf/ifuncdep2.c (global): Replace
37462         __attribute__((visibility("protected"))) with
37463         asm (".protected global").
37464         * elf/ifuncmod1.c (global): Likewise.
37465         * elf/ifuncmod5.c (global): Likewise.
37467 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
37469         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
37470         <asm/sfp-machine.h> instead of <sfp-machine.h>.
37472 2015-03-06  Roland McGrath  <roland@hack.frob.com>
37474         * manual/install.texi (Configuring and compiling):
37475         Document test-wrapper-env-only.
37476         * INSTALL: Regenerated.
37478 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37480         [BZ #18043]
37481         * posix/wordexp.c (parse_param): Fix buffer overflow.
37482         * posix/wordexp-test.c (do_bz18043): Add test case.
37484 2015-03-06  Vincent Bernat  <vincent@bernat.im>
37486         * time/tst-strptime2.c (do_test): Ensure failing tests are
37487         reported correctly.
37488         * time/tst-strptime3.c (do_test): Likewise.
37490 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
37492         Fix aio_error thread-safety.
37493         * sysdeps/pthread/aio_error.c: New file
37494         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
37495         synchronization.
37497 2015-03-06  Florian Weimer  <fweimer@redhat.com>
37499         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
37500         (group_number, vfprintf): Use it.
37501         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
37502         (JUMP, REF): Use it.
37503         (WORK_BUFFER_SIZE): New enum constant.
37504         (process_arg, vfprintf): Use it.
37506 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
37508         * manual/errno.texi (Error Messages): Complete example function
37509         by adding missing #define.
37510         (program_invocation_name): Add statement indicating GNU
37511         extension and reference which header file declares the variable.
37512         (program_invocation_short_name): Likewise.
37514 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
37516         * manual/errno.texi (Error Messages): Delete strerror ISO C89
37517         compatibility note.
37519 2015-03-05  Roland McGrath  <roland@hack.frob.com>
37521         * Makeconfig (test-wrapper-env-only): New variable.
37522         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
37523         then use that with $(test-wrapper-env-only) rather than using
37524         $(test-wrapper-env) $(run-program-env) $($*-ENV).
37526 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37528         [BZ #18082]
37529         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
37530         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
37531         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
37532         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
37533         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
37534         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
37535         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
37536         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
37537         Likewise.
37538         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
37539         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
37540         Likewise.
37541         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
37542         Likewise.
37543         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
37544         Likewise.
37545         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
37546         Likewise.
37547         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
37548         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
37549         Likewise.
37550         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
37551         Likewise.
37552         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
37553         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
37555 2015-03-04  Roland McGrath  <roland@hack.frob.com>
37557         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
37558         (ETH_ALEN): New macro.
37559         (struct ether_addr): Use it for length of ether_addr_octet.
37561         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
37562         (setdb): Don't call __nss_configure_lookup for "rpc".
37563         (do_test): Don't call test_rpc.
37564         (output_rpcent, test_rpc): Functions moved ...
37565         * sunrpc/test-rpcent.c: ... to this new file.
37566         * sunrpc/Makefile (tests): Add it.
37568         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
37569         __xpg_sigpause.
37570         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
37571         * nptl/tst-signal6.c: Likewise.
37572         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
37573         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
37575         * configure.ac (libc_cv_cxx_link_ok): New check.
37576         Reset CXX to empty if it fails to link.
37577         * configure: Regenerated.
37578         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
37579         bug-atexit3-lib only if $(CXX) is nonempty.
37580         * nptl/Makefile (tests): Likewise for tst-cancel24.
37581         (tests, tests-static): Likewise for tst-cancel24-static.
37582         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
37583         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
37584         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
37585         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
37587 2015-03-04  Andreas Schwab  <schwab@suse.de>
37589         [BZ #17631]
37590         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
37591         for non-GCC compilers.
37592         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37593         Likewise.
37595 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37597         [BZ #17776]
37598         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
37599         integer before bitwise and assembly operations.
37600         (feclearexcept): Likewise.
37601         * math/test-fenvinline.c: New file.
37602         * math/Makefile: Add test-fenvinline test.
37604 2015-03-03  Alan Modra  <amodra@gmail.com>
37606         [BZ #16512]
37607         * scripts/localplt.awk: Strip off symbol version.
37608         * NEWS: Mention bug fix.
37610 2015-03-02  Roland McGrath  <roland@hack.frob.com>
37612         * sysdeps/pthread/timer_routines.c
37613         (timer_free_list, thread_free_list, thread_active_list): Make static.
37615 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
37617         [BZ #17779]
37618         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37619         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37620         Undefine.
37621         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37622         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37623         Likewise.
37624         * sysdeps/unix/sysv/linux/sh/kernel-features.h
37625         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37626         Likewise.
37628 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37630         [BZ #18036]
37631         * posix/fnmatch_loop.c (END): Detect invalid pattern.
37632         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
37634 2015-03-02  Andreas Schwab  <schwab@suse.de>
37636         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
37637         variable name.
37639 2015-03-02  Florian Weimer  <fweimer@redhat.com>
37641         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
37642         Return error status.
37644 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
37646         [BZ #15969]
37647         * locale/findlocale.c (_nl_find_locale): Introduce const
37648         version of loc_name and drop unsafe type casts.
37650 2015-02-27  Roland McGrath  <roland@hack.frob.com>
37652         * dlfcn/tststatic2.c (main): Converted to ...
37653         (do_test): ... this.
37654         (TEST_FUNCTION): New macro.
37655         Include test-skeleton.c.
37657 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
37659         [BZ #17711]
37660         * elf/Makefile (tests): Add vismain only if PIE is enabled.
37661         (tests-pie): Add vismain.
37662         (CFLAGS-vismain.c): New.
37663         * elf/vismain.c: Add comments for PIE requirement.
37665 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37667         [BZ #18046]
37668         [BZ #18047]
37669         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
37670         0x1p-56L as threshold for just returning the argument.
37671         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
37672         0x1p-32L as threshold for just returning the argument.
37673         * math/auto-libm-test-in: Add more tests of atanh.
37674         * math/auto-libm-test-out: Regenerated.
37675         * sysdeps/i386/fpu/libm-test-ulps: Update.
37676         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
37678 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37680         * string/bcopy.c (bcopy): Call memmove for performance.
37682 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37684         * string/bzero.c (__bzero): Call memset for performance.
37686 2015-02-27  John David Anglin  <dave.anglin@bell.net>
37688         [BZ #18068]
37689         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
37690         to 00100000.
37692 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37694         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
37696 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37698         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
37699         (__kernel_standard): Use CSTR macro when setting exc.name.
37700         * sysdeps/ieee754/Makefile [$(subdir) = math]
37701         (CFLAGS-k_standard.c): Remove variable.
37703         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
37704         setting p and q from "else if" to "else".
37705         (qzero): Likewise.
37706         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
37707         (qone): Likewise.
37708         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
37709         (qzerof): Likewise.
37710         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
37711         (qonef): Likewise.
37712         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
37713         (qzero): Likewise.
37714         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
37715         (qone): Likewise.
37717         [BZ #18038]
37718         [BZ #18039]
37719         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
37720         return pi/2 for arguments below 0x1p-113L.
37721         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
37722         return pi/2 for arguments below 0x1p-106L.
37723         * math/auto-libm-test-in: Add more tests of acos.
37724         * math/auto-libm-test-out: Regenerated.
37726         [BZ #16351]
37727         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
37728         (MO): New macro.
37729         (__ieee754_asin): Force underflow exception for results with small
37730         absolute value.
37731         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
37732         (MO): New macro.
37733         (__ieee754_asinf): Force underflow exception for results with
37734         small absolute value.
37735         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
37736         (__ieee754_asin): Force underflow exception for results with small
37737         absolute value.
37738         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
37739         (__ieee754_asinf): Force underflow exception for results with
37740         small absolute value.
37741         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
37742         (__ieee754_asinl): Force underflow exception for results with
37743         small absolute value.
37744         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
37745         (__ieee754_asinl): Force underflow exception for results with
37746         small absolute value.
37747         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
37748         (__ieee754_asinl): Force underflow exception for results with
37749         small absolute value.
37750         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
37751         Include <math.h>.
37752         * math/auto-libm-test-in: Do not mark underflow exceptions as
37753         possibly missing for bug 16351.
37754         * math/auto-libm-test-out: Regenerated.
37756         [BZ #18030]
37757         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
37758         of power of 2 down when low part has opposite sign.
37759         * math/libm-test.inc (logb_test_data): Add more tests.
37761 2015-02-26  Andreas Schwab  <schwab@suse.de>
37763         [BZ #18032]
37764         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
37765         over collating symbol inside a bracket expression.  Minor cleanup.
37766         * posix/tst-fnmatch3.c (do_test): Add test case.
37768 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37770         [BZ #18029]
37771         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
37772         Adjust exponent of power of 2 down when low part has opposite
37773         sign.
37774         * math/libm-test.inc (ilogb_test_data): Add more tests.
37776 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
37778         [BZ #15969]
37779         * locale/findlocale.c (_nl_find_locale): Fix constness error in
37780         the previous change.
37782         [BZ #15969]
37783         * locale/findlocale.c (_nl_find_locale): Retry archive search
37784         after alias expansion.
37786 2015-02-25  Roland McGrath  <roland@hack.frob.com>
37788         * iconv/tst-iconv3.c (main): Converted to ...
37789         (do_test): ... this.
37790         (TEST_FUNCTION): New macro.
37791         Include test-skeleton.c.
37793         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
37794         (convert): Make function static.
37795         (test_unalign): Likewise.  Add const to argument pointee types.
37796         (main): Replace with static function do_test.
37797         Print "Succeeded." only if RET is zero.
37798         (TEST_FUNCTION): New macro.
37799         Include test-skeleton.c.
37801         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
37802         returns a null pointer.
37804 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37806         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
37807         to __memcpy_ppc only for static builds.
37809 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
37811         [BZ #18020]
37812         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
37813         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
37814         * math/auto-libm-test-in: Add more tests of asinh.
37815         * math/auto-libm-test-out: Regenerated.
37816         * sysdeps/i386/fpu/libm-test-ulps: Update.
37817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37819 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
37821         [BZ #15850]
37822         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
37823         and ip6_mtuinfo definitions here.
37824         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
37825         in this define too.  Update comment.
37827 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
37829         * elf/sprof.c (load_shobj): Tweak error message to match others.
37831 2015-02-24  Kevin Easton  <kevin@guarana.org>
37833         [BZ #16145] (partial fix)
37834         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
37835         to reduce lock contention.
37837 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
37839         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
37840         (struct timex): Update time comment.
37841         (ADJ_SETOFFSET): Define.
37843 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37845         [BZ #18019]
37846         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37847         2**56 not 2**28 as threshold for log (2x) formula.
37848         * math/auto-libm-test-in: Add more tests of acosh.
37849         * math/auto-libm-test-out: Regenerated.
37850         * sysdeps/i386/fpu/libm-test-ulps: Update.
37851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37853 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
37855         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
37856         parenthesis around the buf assignment.
37857         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
37859 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37861         [BZ #16783]
37862         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
37863         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
37864         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
37865         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37866         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37867         * math/libm-test.inc (scalb_test_data): Add more tests.
37869 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37871         [BZ #17916]
37872         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
37873         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
37875 2015-02-24  Eric Rannaud  <e@nanocritical.com>
37877         [BZ #17523]
37878         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
37879         * io/bits/fcntl2.h (open): Use it.
37880         (openat): Likewise.
37881         * io/open.c (__libc_open): Likewise.
37882         * io/open64.c (__libc_open64): Likewise.
37883         * io/open64_2.c (__open64_2): Likewise.
37884         * io/open_2.c (__open_2): Likewise.
37885         * io/openat.c (__openat): Likewise.
37886         * io/openat64.c (__openat64): Likewise.
37887         * io/openat64_2.c (__openat64_2): Likewise.
37888         * io/openat_2.c (__openat_2): Likewise.
37889         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
37890         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
37891         * sysdeps/posix/open64.c (__libc_open64): Likewise.
37892         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
37893         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
37894         (__open_nocancel): Likewise.
37895         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
37896         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
37897         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
37899 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37901         [BZ #14841]
37902         * resolv/gethnamaddr.c (getanswer): Skip logging if
37903         RES_USE_DNSSEC is set.
37904         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
37906 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
37908         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
37910 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
37912         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
37913         201304L, for Unicode 7.
37915 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
37917         [BZ #17836]
37918         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
37919         shared library.  Add gmon-start.os otherwise.
37920         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
37921         $(objpfx)gmon-start.os if builing shared library.
37922         ($(objpfx)g$(static-start-installed-name)): Likewise.
37924 2015-02-23  Andreas Schwab  <schwab@suse.de>
37926         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
37928 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
37930         [BZ #17269]
37931         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
37932         (enlarge_userbuf): Likewise.
37934 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
37936         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
37937         * math/atest-exp.c (TIMEOUT): Adjust to 200.
37938         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
37939         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
37941 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
37943         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
37944         expression inside statement expression.
37946 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
37948         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
37949         <sysdeps/nptl/lowlevellock.h> and remove macros and
37950         functions that are now defined there.
37951         (SYS_futex): Remove.
37952         (lll_compare_and_swap): Remove.
37953         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
37955 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
37957         [BZ #17999]
37958         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
37959         instead of scandirat.
37960         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
37961         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
37962         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
37963         __scandirat.
37964         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
37965         (__scandirat): Declare.  Use libc_hidden_proto.
37966         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
37967         Remove variable.
37968         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37970 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
37972         [BZ #15319]
37973         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
37974         (MO): New macro.
37975         (__ieee754_atan2): For results with small absolute value, force
37976         underflow exception and remove excess range and precision from
37977         return value.
37978         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
37979         (MO): New macro.
37980         (__ieee754_atan2f): For results with small absolute value, force
37981         underflow exception and remove excess range and precision from
37982         return value.
37983         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
37984         (MO): New macro.
37985         (__atan): For results with small absolute value, force underflow
37986         exception and remove excess range and precision from return value.
37987         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
37988         (MO): New macro.
37989         (__atanf): For results with small absolute value, force underflow
37990         exception and remove excess range and precision from return value.
37991         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
37992         <math.h>.
37993         (__ieee754_atan2): Force underflow exception for results with
37994         small absolute value.
37995         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
37996         <math_private.h>.
37997         (atan): Force underflow exception for results with small absolute
37998         value.
37999         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
38000         (__atanf): Force underflow exception for results with small
38001         absolute value.
38002         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
38003         <math.h>.
38004         (__atanl): Force underflow exception for results with small
38005         absolute value.
38006         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
38007         (__atanl): Force underflow exception for results with small
38008         absolute value.
38009         * sysdeps/x86/fpu/bits/mathinline.h
38010         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
38011         (__ieee754_atan2): Only define inline for long double.
38012         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
38013         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
38014         * math/auto-libm-test-in: Do not mark underflow exceptions as
38015         possibly missing for bug 15319.  Add more tests of atan2.
38016         * math/auto-libm-test-out: Regenerated.
38017         * math/libm-test.inc (casin_test_data): Do not mark underflow
38018         exceptions as possibly missing for bug 15319.
38019         (casinh_test_data): Likewise.
38020         * sysdeps/i386/fpu/libm-test-ulps: Update.
38022 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
38024         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
38025         * sysdeps/mips/bits/endian.h: Fix comments.
38027 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
38029         [BZ #17996]
38030         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
38031         (hdestroy_r): Likewise.
38032         (hsearch_r): Likewise.
38033         (__hcreate_r): Declare and use libc_hidden_proto.
38034         (__hdestroy_r): Likewise.
38035         (__hsearch_r): Likewise.
38036         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
38037         (hcreate): Call __hcreate_r instead of hcreate_r.
38038         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
38039         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
38040         as weak alias of __hcreate_r.
38041         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
38042         __hdestroy_r.
38043         (hsearch_r): Rename to __hsearch_r and define as weak alias of
38044         __hsearch_r.
38045         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
38046         Remove variable.
38047         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38048         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38049         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38050         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38052 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38054         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
38055         arena_lock into a single arena_get.
38057 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
38059         * dl-reloc.c: Inlucde libc-internal.h.
38060         (_dl_try_allocate_static_tls): Call ALIGN_UP.
38061         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
38062         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
38063         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
38064         (grow_heap): Likewise.
38065         * malloc/malloc.c: Include libc-internal.h.
38066         (do_check_malloc): Call powerof2.
38067         (sysmalloc): Use pagesize. Call ALIGN_UP.
38068         (systrim): Use pagesize.
38069         (mremap_chunk): Use pagesize. Call ALIGN_UP.
38070         (__libc_valloc): Use pagesize.
38071         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
38073 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
38075         [BZ #17991]
38076         * include/sys/resource.h (__getrlimit64): Declare.  Use
38077         libc_hidden_proto.
38078         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
38079         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
38080         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
38081         getrlimit64.
38082         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
38083         __getrlimit64.
38084         [!getrlimit64] (getrlimit64): Define as weak alias of
38085         __getrlimit64.  Use libc_hidden_weak.
38086         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
38087         using __getrlimit64 not __new_getrlimit64.
38088         (__GI_getrlimit64): Likewise.
38089         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
38090         Likewise.
38091         (__GI_getrlimit64): Likewise.
38092         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
38093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
38094         (getrlimit): Add __getrlimit64 alias.
38095         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
38096         Likewise.
38097         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
38098         Remove variable.
38099         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38100         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38102 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
38104         * libio/fileops.c: Add missing sys/mman.h
38105         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
38107 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
38109         * manual/math.texi (Errors in Math Functions): Clarify goals
38110         regarding inexact and underflow exceptions.
38112 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
38114         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
38115         * sysdeps/mips/memset.S: Ditto.
38117 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
38119         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
38121 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38123         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
38124         (__v1longjmp): Remove versioned symbol.
38125         (__v1siglongjmp): Remove alias and versioned symbol.
38126         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
38127         (__v2siglongjmp): Likewise.
38129 2015-02-16  Torvald Riegel  <triegel@redhat.com>
38131         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
38133 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
38135         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
38137 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
38139         [BZ #17987]
38140         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
38141         zero result does not depend on the sign resulting from
38142         subtraction.
38143         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38144         Likewise.
38145         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38146         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38147         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38148         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38149         * math/libm-test.inc (remquo_test_data): Add more tests.
38151 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
38153         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
38154         Problem reported by J William Piggott.
38156 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
38158         [BZ #17978]
38159         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
38160         products 4 * y and 2 * y where those would overflow.
38161         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38162         Likewise.
38163         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38164         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38165         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38166         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38167         * math/libm-test.inc (remquo_test_data): Add more tests.
38169         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
38171         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
38172         [defined _COMPILING_NEWLIB].
38173         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
38174         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
38176         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
38177         [!defined __mips_isa_rev || __mips_isa_rev < 6].
38179 2015-02-16  Torvald Riegel  <triegel@redhat.com>
38181         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
38182         acquired.
38184 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
38186         [BZ #17792]
38187         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
38188         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
38189         HOST_STACK_END_ADDR): Likewise.
38191 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
38193         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
38194         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
38195         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
38197 2015-02-13  Roland McGrath  <roland@hack.frob.com>
38199         * sysdeps/generic/c++-types.data: New file.
38200         * sysdeps/generic/ld.abilist: New file.
38201         * sysdeps/generic/libBrokenLocale.abilist: New file.
38202         * sysdeps/generic/libanl.abilist: New file.
38203         * sysdeps/generic/libc.abilist: New file.
38204         * sysdeps/generic/libcrypt.abilist: New file.
38205         * sysdeps/generic/libdl.abilist: New file.
38206         * sysdeps/generic/libm.abilist: New file.
38207         * sysdeps/generic/libpthread.abilist: New file.
38208         * sysdeps/generic/libresolv.abilist: New file.
38209         * sysdeps/generic/librt.abilist: New file.
38211 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
38213         [BZ #17569]
38214         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38215         Compute absolute value of x as modified by fmod, not original
38216         value of x.
38217         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
38218         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
38219         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
38220         RUN_TEST_ffI_f1_mod8.
38221         (remquo_test_data): Add more tests.
38223 2015-02-13  Roland McGrath  <roland@hack.frob.com>
38225         * sysdeps/init_array/pt-crti.S: New file.
38227 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
38229         [BZ #17967]
38230         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
38231         __builtin_fmaf instead of relying on contraction of a * b + c.
38233 2015-02-12  J William Piggott  <elseifthen@gmx.com>
38235         [BZ #17969]
38236         * manual/time.texi: correct the zoneinfo path in the TZ Variable
38237         node.
38239 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
38241         [BZ #17964]
38242         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
38243         __builtin_fma instead of relying on contraction of a * b + c.
38245 2015-02-12  Roland McGrath  <roland@hack.frob.com>
38247         * Makeconfig (ASFLAGS): Add -Werror=undef.
38248         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
38249         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
38250         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
38252         * Makeconfig (after-link): New variable.
38253         (+link-pie, +link-pie-tests): Use it.
38254         (+link-static, +link-static-tests): Likewise.
38255         (+link, +link-tests): Likewise.
38256         * Makerules (build-module, build-module-asneeded): Likewise.
38257         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
38258         Likewise.
38259         * elf/Makefile ($(objpfx)ld.so): Likewise.
38261 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
38263         [BZ #17965]
38264         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
38265         both struct timeval and struct timespec.
38267 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
38269         [BZ #16560]
38270         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38271         and redefine.
38272         (__ieee754_exp2l): Do not multiply small fractional parts by
38273         M_LN2l.
38274         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
38275         small argument.
38276         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38277         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
38278         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
38279         * math/auto-libm-test-in: Add more tests of exp2.
38280         * math/auto-libm-test-out: Regenerated.
38282 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38284         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
38285         unaligned path.
38287 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38289         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
38290         little endian.
38292 2015-02-12  Andreas Schwab  <schwab@suse.de>
38294         [BZ #15790]
38295         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
38296         Filter out elision flags from value returned in kind.
38297         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
38298         * nptl/tst-pthread-mutexattr.c: New file.
38300 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38302         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
38303         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
38304         into gnu-gnu, and update comment to refer to abi-tags.
38306 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
38308         [BZ #15467]
38309         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
38310         (__sincos): Set errno to EDOM for infinite argument.
38311         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
38312         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
38313         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
38314         (__sincosl): Set errno to EDOM for infinite argument.
38315         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
38316         (__sincosl): Set errno to EDOM for infinite argument.
38317         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
38318         (__sincosl): Set errno to EDOM for infinite argument.
38319         * math/libm-test.inc (sincos_test_data): Test errno setting.
38321 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
38323         * string/strxfrm_l.c: Remove #define STRCMP.
38324         * string/strcoll_l.c: Remove #define STRLEN.
38325         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
38326         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
38328 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
38330         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
38331         * sysdeps/mips/mips32/sfp-machine.h: ... here.
38332         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
38333         * sysdeps/mips/mips64/Makefile: ... here.
38334         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
38335         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
38336         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
38337         * sysdeps/mips/mips64/sfp-machine.h: ... here.
38338         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
38339         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
38340         * sysdeps/mips/mips64/n64/Implies: Likewise.
38342 2015-02-10  Roland McGrath  <roland@hack.frob.com>
38344         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
38345         <sys/time.h>, <string.h>, and <errno.h>.
38346         (dest_offset, dest_address, value, zero): Remove unused variables.
38347         (ldouble): Remove typedef.
38348         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
38349         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
38350         1).  Fix code style.
38351         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
38352         (check): Function removed.
38353         (CHECK): New macro.
38354         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
38355         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
38356         Don't call set_sigaction_FP and remove_sigaction_FP here.
38357         (ldouble_test): Just use 'long double' as macro argument, no need for
38358         the 'ldouble' typedef.
38359         (do_test): Set up SIGFPE handler at start, using plain signal rather
38360         than sigaction.  Fix code style.
38362 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
38364         [BZ #17949]
38365         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
38366         jump label.
38368 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38370         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
38371         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38373         * sysdeps/powerpc/configure.ac: Remove file.
38374         * sysdeps/powerpc/configure: Likewise.
38376         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38377         [sysdep_routines]: Remove wordcopy-power6 object.
38378         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38379         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
38380         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
38381         (__memmove_ppc32): Likewise.
38382         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
38383         file.
38384         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
38385         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
38386         Remove preprocessor.
38388         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38389         [sysdep_routines]: Remove wide chars objects.
38390         [wcsmbs]: New rule for wide char objects.
38392         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38393         Remove wordcopy-power6 obejct.
38394         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
38395         Use local call for wordcopy and memcpy symbols.
38396         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
38397         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
38398         implementation for loader.
38399         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
38401         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38402         Remove wordcopy-power7 object.
38403         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
38404         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
38405         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
38406         (_wordcopy_fwd_dest_aligned): Likewise.
38407         (_wordcopy_bwd_aligned): Likewise.
38408         (_wordcopy_bwd_dest_aligned): Likewise.
38410         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
38411         Rewrite to call __memmove_ppc instead of include default
38412         implementation.
38414         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38415         Remove wide chars objects.
38416         [wcsmbs]: New rule for wide char objects.
38418 2015-02-09  Andreas Schwab  <schwab@suse.de>
38420         [BZ #17912]
38421         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38422         in terms of __O_DIRECTORY.
38424 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38426         * time/getdate.c: Include <stdbool.h>.
38427         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
38428         call PTR_MANGLE.
38429         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
38430         PTR_DEMANGLE.
38432 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
38434         Add ersatz _Static_assert on older C hosts
38435         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
38436         pre-C11 C platform that is not known to support _Static_assert.
38438 2015-02-07  Richard Braun  <rbraun@sceen.net>
38440         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
38441         sigstate.
38442         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
38444 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38446         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
38447         priority against unexistent AIO_PRIO_DELTA_MAX.
38448         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
38449         instead of int.
38450         * misc/fchflags.c (fchflags): Likewise.
38451         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
38452         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
38453         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
38454         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
38455         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
38456         Declare macros.
38457         [__USE_MISC] (chflags, fchflags): Declare functions.
38458         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
38459         EINVAL when nfds is greater than FD_SETSIZE.
38460         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
38461         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
38462         45.
38463         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
38464         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
38465         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
38466         MACH_RCV_TIMED_OUT.
38467         * hurd/hurd/signal.h (_hurd_self_sigstate,
38468         _hurd_critical_section_lock, _hurd_critical_section_unlock):
38469         Explicit casts from void *.
38470         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
38471         * abi-tags: Rename gnu-gnu os into gnu.
38473         [BZ #4719]
38474         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
38475         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
38476         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
38477         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
38478         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
38479         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
38481         [BZ #17944]
38482         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
38483         duplicates ADDR->sun_path with sockaddr LEN limitation.
38484         * sysdeps/mach/hurd/connect.c: Include <string.h>
38485         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
38486         * sysdeps/mach/hurd/sendmsg.c: Likewise.
38487         * sysdeps/mach/hurd/sendto.c: Likewise.
38488         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
38489         implementing it by hand.
38491 2015-02-06  Roland McGrath  <roland@hack.frob.com>
38493         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
38494         Use sfi_breg on ldr.
38495         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
38496         Likewise.
38498         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
38499         it's defined.
38500         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
38501         Test SIGSETXID only if it's defined.
38503         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
38505         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
38506         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
38508         * nptl/tst-align2.c: Moved ...
38509         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
38510         * nptl/Makefile (tests): Remove tst-align2.
38511         * sysdeps/unix/sysv/linux/Makefile
38512         [$(subdir) = nptl] (tests): Add tst-align-clone.
38513         * nptl/tst-getpid1.c: Moved ...
38514         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
38515         * nptl/tst-getpid2.c: Moved ...
38516         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
38517         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
38518         * sysdeps/unix/sysv/linux/Makefile
38519         [$(subdir) = nptl] (tests): ... here.
38520         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
38521         * sysdeps/unix/sysv/linux/Makefile
38522         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
38524         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
38525         Drop trailing \n from perror argument.  Use return rather than exit.
38527         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
38528         on [SA_SIGINFO].
38529         * nptl/tst-cancel21.c (do_test): Likewise.
38530         * debug/tst-backtrace6.c: Include <signal.h> first thing.
38531         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
38532         [!SA_SIGINFO]: Make it a stub test.
38534         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
38535         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
38537         * posix/tst-getlogin.c: Move to ...
38538         * login/tst-getlogin.c: ... here.
38539         * posix/Makefile (tests): Move tst-getlogin to ...
38540         * login/Makefile (tests): ... here.
38542         * libio/tst-atime.c (do_test): Move local variables SV and E
38543         inside [ST_NOATIME] conditional.
38545         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
38547         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
38549         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
38550         (wait_code): New function replaces macro.
38551         Call nanosleep rather than syscall.
38553         * nptl/pt-system.c: Rewritten.  Put everything under
38554         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38555         Use IFUNC to redirect when possible.
38557         * nptl/pt-longjmp.c: Rewritten.  Put everything under
38558         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38559         Use IFUNC to redirect when possible.
38561         * nptl/pt-fork.c: Rewritten.  Put everything under
38562         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38563         Use IFUNC to redirect when possible.
38564         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
38566         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
38567         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
38568         unconditionally nowadays.  This included the only reference to
38569         __vdso_clock_gettime that appears outside libc proper.
38570         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
38571         Remove version set (containing only __vdso_clock_gettime).
38572         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
38573         Add attribute_hidden.
38574         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
38575         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
38576         libc_hidden_data_def.
38577         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38578         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38580         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
38581         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
38582         setrpcent, and getrpcport to ...
38583         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
38584         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
38585         getrpcbynumber_r, and getrpcent_r to ...
38586         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
38587         * inet/getrpcbyname.c: Moved ...
38588         * sunrpc/getrpcbyname.c: ... here.
38589         * inet/getrpcbyname_r.c: Moved ...
38590         * sunrpc/getrpcbyname_r.c: ... here.
38591         * inet/getrpcbynumber.c: Moved ...
38592         * sunrpc/getrpcbynumber.c: ... here.
38593         * inet/getrpcbynumber_r.c: Moved ...
38594         * sunrpc/getrpcbynumber_r.c: ... here.
38595         * inet/getrpcent.c: Moved ...
38596         * sunrpc/getrpcent.c: ... here.
38597         * inet/getrpcent_r.c: Moved ...
38598         * sunrpc/getrpcent_r.c: ... here.
38599         * inet/Makefile (routines): Move those to ...
38600         * sunrpc/Makefile (routines): ... here.
38601         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
38602         the $(subdirs) list.
38603         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
38604         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
38605         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
38606         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
38608         * elf/Makefile (routines): Include $(all-dl-routines), not just
38609         $(dl-routines).
38610         (rtld-routines): Likewise.  Use = rather than :=.
38611         * sysdeps/aarch64/Makefile [$(subdir) = elf]
38612         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
38613         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
38614         * sysdeps/arm/Makefile: Likewise.
38615         * sysdeps/i386/Makefile: Likewise.
38616         * sysdeps/x86_64/Makefile: Likewise.
38617         * sysdeps/hppa/Makefile [$(subdir) = elf]
38618         (sysdep_routines, sysdep-rtld-routines): Don't add
38619         $(sysdep-dl-routines) to these.
38620         * sysdeps/ia64/Makefile: Likewise.
38621         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
38622         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
38623         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
38624         Don't add dl-static to these; sysdep-dl-routines alone is enough.
38625         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
38626         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
38627         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
38628         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
38629         * sysdeps/powerpc/Makefile [$(subdir) = elf]
38630         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
38631         these; sysdep-dl-routines alone is enough.
38633 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
38635         [BZ #17932]
38636         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
38637         where multiplication results in zero and third argument is finite
38638         and nonzero.
38639         * math/auto-libm-test-in: Add more tests of fma.
38640         * math/auto-libm-test-out: Regenerated.
38642         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
38643         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
38644         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
38645         (_FP_CMP_EQ): Likewise.
38646         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
38648         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
38649         extra argument CHECK_NAN.  Redefine as wrapper around
38650         _FP_EXTEND_CNAN.
38652 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
38654         * version.h (RELEASE): Set to "stable".
38655         (VERSION): Set to "2.21"
38656         * include/features.h (__GLIBC_MINOR__): Set to 21.
38658         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
38660 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38661             Paul Eggert  <eggert@cs.ucla.edu>
38663         [BZ #16618]
38664         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
38665         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
38666         size in bytes. Store needed elements in wpmax. Use needed size
38667         in bytes for extend_alloca.
38669 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
38671         * manual/install.texi: Latest tested versions are GCC 4.9.2,
38672         binutls 2.25, and texinfo 5.2.
38673         * INSTALL: Regenerate.
38674         * sysdeps/nios2/configure: Regenerate.
38675         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
38676         * manual/contrib.texi: Update.
38677         * po/be.po: Update.
38678         * po/bg.po: Update.
38679         * po/ca.po: Update.
38680         * po/cs.po: Update.
38681         * po/da.po: Update.
38682         * po/de.po: Update.
38683         * po/el.po: Update.
38684         * po/eo.po: Update.
38685         * po/es.po: Update.
38686         * po/fi.po: Update.
38687         * po/fr.po: Update.
38688         * po/gl.po: Update.
38689         * po/hr.po: Update.
38690         * po/hu.po: Update.
38691         * po/ia.po: Update.
38692         * po/id.po: Update.
38693         * po/it.po: Update.
38694         * po/ja.po: Update.
38695         * po/ko.po: Update.
38696         * po/lt.po: Update.
38697         * po/nb.po: Update.
38698         * po/nl.po: Update.
38699         * po/pl.po: Update.
38700         * po/pt_BR.po: Update.
38701         * po/ru.po: Update.
38702         * po/rw.po: Update.
38703         * po/sk.po: Update.
38704         * po/sl.po: Update.
38705         * po/sv.po: Update.
38706         * po/tr.po: Update.
38707         * po/uk.po: Update.
38708         * po/vi.po: Update.
38709         * po/zh_CN.po: Update.
38710         * po/zh_TW.po: Update.
38712         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
38713         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
38714         * sysdeps/hppa/dl-irel.h: Remove #warning.
38715         * sysdeps/hppa/entry.h: Provide prototype for
38716         __canonicalize_funcptr_for_compare and cast argument.
38717         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
38718         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
38719         * sysdeps/hppa/sotruss-lib.c: New file.
38720         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
38721         (atomic_compare_and_exchange_val_acq): Use __typeof__.
38722         (atomic_compare_and_exchange_bool_acq): Likewise.
38723         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
38724         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
38726         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
38727         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
38728         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
38730 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
38732         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
38733         called function in non-PIC case.
38735 2015-01-31  David S. Miller  <davem@davemloft.net>
38737         * sysdeps/sparc/sparc32/bits/atomic.h
38738         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
38739         unlock not after it.
38740         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
38741         volatile register usage warnings from the compiler.
38743         * sysdeps/sparc/nptl/sem_init.c: Delete.
38744         * sysdeps/sparc/nptl/sem_post.c: Delete.
38745         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
38746         * sysdeps/sparc/nptl/sem_wait.c: Delete.
38747         * sysdeps/sparc/sparc32/sem_init.c: New file.
38748         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
38749         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
38750         padding explicitly initialized.
38751         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
38752         padding for in-semaphore spinlock.
38753         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
38754         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
38755         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
38756         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
38757         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
38758         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
38759         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
38760         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
38761         version.
38762         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
38763         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
38765 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
38767         [BZ #17801]
38768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38769         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
38770         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
38771         New.
38772         (index_AVX_Fast_Unaligned_Load): Likewise.
38773         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
38774         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
38775         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
38776         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
38777         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
38778         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
38779         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
38780         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
38781         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
38783 2015-01-29  Andreas Schwab  <schwab@suse.de>
38785         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
38787 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
38789         [BZ #17892]
38790         * nscd/nscd_stat.c (send_stats): Initialize DATA.
38792 2015-01-28  Martin Sebor  <msebor@redhat.com>
38794         * math/README.libm-test: Clarify. Add "How to read the test output."
38796 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
38798         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
38799         Define to 0.
38801 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
38803         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
38804         (__HAVE_64B_ATOMICS): Define to 0.
38806 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38808         [BZ #17885]
38809         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
38810         value to set as new flag.
38812         [BZ #16576]
38813         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
38814         and use _ARCH_PPCSQ instead.
38815         (__ieee754_sqrt): Likewise.
38816         (__ieee754_sqrtf): Likewise.
38817         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
38818         _ARCH_PPCSQ is defined.
38819         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
38820         fsqrt instruction.
38821         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
38822         _ARCH_PPCSQ is defined.
38823         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
38824         fsqrts instruction.
38825         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
38827 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38829         * iconv/loop.c: Suppress array out of bound warning caused by GCC
38830         bug (GCC BZ #64739).
38832 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
38834         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
38835         Mark _retval as used.
38836         (lll_futex_wake_unlock): Likewise.
38837         (lll_futex_timed_wait_requeue_pi): Likewise.
38839         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38840         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
38841         register variables.
38843         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
38844         libm_hidden_def.
38846         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
38847         (__bswap_64): Mark as __always_inline.
38849 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
38851         [BZ #15378]
38852         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
38853         when none of the search directories exist.
38855 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38857         [BZ #17869]
38858         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
38859         power8 in .machine directive.
38861         [BZ #17868]
38862         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
38863         set dependency from opd value.
38865 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38867         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38868         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
38869         architecture.
38871 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38873         [BZ #17870]
38874         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
38875         with uint64_t.
38876         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
38877         (uint64_t) 1.
38878         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
38879         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
38880         Replace 1UL with (uint64_t) 1.
38881         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
38882         int with uint64_t.
38884 2015-01-23  Roland McGrath  <roland@hack.frob.com>
38886         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
38887         (if_freenameindex): Likewise.
38889         * resource/getrlimit64.c: Add missing libc_hidden_def.
38891 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
38893         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
38894         __label__.
38895         (_FP_FMA): Likewise.
38896         (_FP_TO_INT_ROUND): Likewise.
38897         (_FP_FROM_INT): Likewise.
38899 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38901         [BZ #16418]
38902         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
38903         Make code racy and cancel safe.
38905 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
38907         * sysdeps/arm/unwind-resume.h: Fix copyright year.
38908         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
38909         attribution.
38911         * pwd/tst-getpw.c: Rewrite.
38913         [BZ #17702]
38914         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
38915         (modules-names): Add moddummy1 and moddummy2.
38916         ($(objpfx)tst-rec-dlopen): Define.
38917         * dlfcn/moddummy1.c: New file.
38918         * dlfcn/moddummy2.c: New file.
38919         * dlfcn/tst-rec-dlopen.c: New file.
38920         * elf/dl-cache.c (_dl_load_cache_lookup):
38921         Return char*. Copy result with alloca/strcpy/strdup.
38922         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
38923         returns char*. Free cached. If not saving realname
38924         free cached.
38925         * elf/dl-open.c (dl_open_worker): Do not assert that
38926         _r_debug->r_state is RT_CONSISTENT.
38927         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
38928         returns char*.
38930 2015-01-21  Torvald Riegel  <triegel@redhat.com>
38931             Carlos O'Donell  <carlos@redhat.com>
38933         [BZ #12674]
38934         * nptl/sem_waitcommon.c: New file.
38935         * nptl/sem_wait.c: Include sem_waitcommon.c.
38936         (__sem_wait_cleanup, do_futex_wait): Remove.
38937         (__new_sem_wait): Adapt.
38938         (__new_sem_trywait): New function.
38939         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
38940         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
38941         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
38942         (sem_timedwait): Adapt.
38943         * nptl/sem_post.c (__new_sem_post): Adapt.
38944         (futex_wake): New function.
38945         (__old_sem_post): Add release MO fence.
38946         * nptl/sem_open.c (sem_open): Adapt.
38947         * nptl/sem_init.c (__new_sem_init): Adapt.
38948         (futex_private_if_supported): New function.
38949         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
38950         (__old_sem_getvalue): Add using previous code.
38951         * sysdeps/nptl/internaltypes.h: Adapt.
38952         * nptl/tst-sem13.c (do_test): Adapt.
38953         * nptl/tst-sem11.c (main): Adapt.
38954         * nptl/sem_trywait.c: Remove.
38955         * nptl/DESIGN-sem.txt: Remove.
38956         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
38957         (gen-as-const-headers): Remove structsem.sym.
38958         * nptl/structsem.sym: Remove.
38959         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
38960         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
38961         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
38962         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
38963         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
38964         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
38965         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
38966         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
38967         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
38968         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
38969         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
38970         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
38971         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
38972         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
38973         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
38974         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
38975         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
38976         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
38977         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
38978         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
38979         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
38980         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
38982 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
38984         * INSTALL: Regenerated.
38986         * po/libc.pot: Regenerated.
38988 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
38989             Sandra Loosemore  <sandra@codesourcery.com>
38990             Andrew Jenner  <andrew@codesourcery.com>
38991             Joseph Myers  <joseph@codesourcery.com>
38992             Nathan Sidwell  <nathan@codesourcery.com>
38994         * NEWS: Mention new Nios II port.
38995         * sysdeps/nios2/Implies: New file.
38996         * sysdeps/nios2/Makefile: New file.
38997         * sysdeps/nios2/Subdirs: New file.
38998         * sysdeps/nios2/Versions: New file.
38999         * sysdeps/nios2/__longjmp.S: New file.
39000         * sysdeps/nios2/abort-instr.h: New file.
39001         * sysdeps/nios2/backtrace.c: New file.
39002         * sysdeps/nios2/bits/endian.h: New file.
39003         * sysdeps/nios2/bits/fenv.h: New file.
39004         * sysdeps/nios2/bits/link.h: New file.
39005         * sysdeps/nios2/bits/setjmp.h: New file.
39006         * sysdeps/nios2/bsd-_setjmp.S: New file.
39007         * sysdeps/nios2/bsd-setjmp.S: New file.
39008         * sysdeps/nios2/configure: New generated file.
39009         * sysdeps/nios2/configure.ac: New file.
39010         * sysdeps/nios2/crti.S: New file.
39011         * sysdeps/nios2/crtn.S: New file.
39012         * sysdeps/nios2/dl-init.c: New file.
39013         * sysdeps/nios2/dl-machine.h: New file.
39014         * sysdeps/nios2/dl-sysdep.h: New file.
39015         * sysdeps/nios2/dl-tls.h: New file.
39016         * sysdeps/nios2/dl-trampoline.S: New file.
39017         * sysdeps/nios2/gccframe.h: New file.
39018         * sysdeps/nios2/gmp-mparam.h: New file.
39019         * sysdeps/nios2/jmpbuf-offsets.h: New file.
39020         * sysdeps/nios2/jmpbuf-unwind.h: New file.
39021         * sysdeps/nios2/ldsodefs.h: New file.
39022         * sysdeps/nios2/libc-tls.c: New file.
39023         * sysdeps/nios2/libm-test-ulps: New file.
39024         * sysdeps/nios2/machine-gmon.h: New file.
39025         * sysdeps/nios2/math-tests.h: New file.
39026         * sysdeps/nios2/math_private.h: New file.
39027         * sysdeps/nios2/memusage.h: New file.
39028         * sysdeps/nios2/nptl/Makefile: New file.
39029         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
39030         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
39031         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
39032         * sysdeps/nios2/nptl/pthreaddef.h: New file.
39033         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
39034         * sysdeps/nios2/nptl/tls.h: New file.
39035         * sysdeps/nios2/preconfigure: New file.
39036         * sysdeps/nios2/s_fma.c: New file.
39037         * sysdeps/nios2/s_fmaf.c: New file.
39038         * sysdeps/nios2/setjmp.S: New file.
39039         * sysdeps/nios2/sfp-machine.h: New file.
39040         * sysdeps/nios2/sotruss-lib.c: New file.
39041         * sysdeps/nios2/stackguard-macros.h: New file.
39042         * sysdeps/nios2/stackinfo.h: New file.
39043         * sysdeps/nios2/start.S: New file.
39044         * sysdeps/nios2/sysdep.h: New file.
39045         * sysdeps/nios2/tls-macros.h: New file.
39046         * sysdeps/nios2/tst-audit.h: New file.
39047         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
39048         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
39049         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
39050         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
39051         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
39052         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
39053         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
39054         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
39055         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
39056         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
39057         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
39058         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
39059         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
39060         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
39061         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
39062         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
39063         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
39064         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
39065         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
39066         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
39067         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
39068         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
39069         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
39070         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
39071         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
39072         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
39073         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
39074         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
39075         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
39076         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
39077         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
39078         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
39079         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
39080         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
39081         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
39082         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
39083         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
39084         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
39085         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
39086         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
39087         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
39088         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
39089         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
39090         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
39092 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39094         [BZ #17844]
39095         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
39096         (getutent): Use weak_alias in non SHARED case
39097         and default_symbol_version in SHARED case.
39098         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
39099         (getutent_r, pututline): Likewise.
39100         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
39101         (getutid): Likewise.
39102         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
39103         (getutid_r): Likewise.
39104         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
39105         (getutline): Likewise.
39106         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
39107         (getutline_r): Likewise.
39108         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
39109         (updwtmp): Likewise.
39111 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39113         [BZ #17848]
39114         * sysdeps/s390/s390-32/memcmp.S
39115         (memcmp_g5): Rename to __memcmp_g5.
39116         * sysdeps/s390/s390-32/memcpy.S
39117         (memcpy_g5): Rename to __memcpy_g5.
39118         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39119         (memcpy_mvcle) Rename to __memcpy_mvcle.
39120         * sysdeps/s390/s390-32/memset.S
39121         (memset_g5): Rename to __memset_g5.
39122         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39123         (IFUNC_RESOLVE): Prefix ifunc-resolve function
39124         and use prefixed functions.
39125         * sysdeps/s390/s390-32/multiarch/memcmp.S
39126         (memcmp_z196): Rename to __memcmp_z196.
39127         (memcmp_z10): Rename to __memcmp_z10.
39128         (memcmp): Set alias to __memcmp_g5.
39129         (bcmp): Set alias to __memcmp_g5.
39130         * sysdeps/s390/s390-32/multiarch/memcpy.S
39131         (memcpy_z196): Rename to __memcpy_z196.
39132         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39133         (memcpy_z10): Rename to __memcpy_z10.
39134         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39135         (memcpy): Set alias to __memcpy_g5.
39136         * sysdeps/s390/s390-32/multiarch/memset.S
39137         (memset_z196): Rename to __memset_z196.
39138         Jump to __memset_mvcle instead of memset_mvcle.
39139         (memset_z10): Rename to __memset_z10.
39140         Jump to __memset_mvcle instead of memset_mvcle.
39141         (memset_mvcle) Rename to __memset_mvcle.
39142         (memset): Set alias to __memset_g5.
39143         * sysdeps/s390/s390-64/memcmp.S
39144         (memcmp_z900): Rename to __memcmp_z900.
39145         * sysdeps/s390/s390-64/memcpy.S
39146         (memcpy_z900): Rename to __memcpy_z900.
39147         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39148         (memcpy_mvcle) Rename to __memcpy_mvcle.
39149         * sysdeps/s390/s390-64/memset.S
39150         (memset_z900): Rename to __memset_z900.
39151         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
39152         (IFUNC_RESOLVE): Prefix ifunc-resolve function
39153         and use prefixed functions.
39154         * sysdeps/s390/s390-64/multiarch/memcmp.S
39155         (memcmp_z196): Rename to __memcmp_z196.
39156         (memcmp_z10): Rename to __memcmp_z10.
39157         (memcmp): Set alias to __memcmp_z900.
39158         (bcmp): Set alias to __memcmp_z900.
39159         * sysdeps/s390/s390-64/multiarch/memcpy.S
39160         (memcpy_z196): Rename to __memcpy_z196.
39161         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39162         (memcpy_z10): Rename to __memcpy_z10.
39163         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39164         (memcpy): Set alias to __memcpy_z900.
39165         * sysdeps/s390/s390-64/multiarch/memset.S
39166         (memset_z196): Rename to __memset_z196.
39167         Jump to __memset_mvcle instead of memset_mvcle.
39168         (memset_z10): Rename to __memset_z10.
39169         Jump to __memset_mvcle instead of memset_mvcle.
39170         (memset_mvcle) Rename to __memset_mvcle.
39171         (memset): Set alias to __memset_z900.
39173 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
39175         [BZ #17748]
39176         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
39177         __fesetenv instead of fesetenv.
39179 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39181         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
39182         macro.
39184 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39186         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
39187         regression on LE.
39189         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
39190         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
39191         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39192         strncmp-power8 object.
39193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39194         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
39195         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
39196         * NEWS: Update.
39198 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39199             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39201         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
39202         trailing byte check.
39204 2015-01-13  David S. Miller  <davem@davemloft.net>
39206         * include/signal.h (__sigreturn): Guard with __USE_MISC.
39208 2015-01-13  Roland McGrath  <roland@hack.frob.com>
39210         * login/logout.c (logout): Use memset rather than bzero.
39211         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
39212         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
39213         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
39214         (_gethtbyaddr): Likewise.
39215         * locale/programs/simple-hash.c (bcopy): Macro removed.
39217 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39219         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39220         Add strcmp-power8 object.
39221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39222         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
39223         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
39224         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
39225         __strcmp_power8 implementation.
39226         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
39227         * NEWS: Update.
39229         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39230         Add strncpy-power8 and stpncpy-power8 objects.
39231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39232         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
39233         implementations.
39234         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
39235         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
39236         __stpncpy_power8 implementation.
39237         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
39238         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
39239         __strncpy_power8 implementation.
39240         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
39241         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
39242         * NEWS: Update.
39244         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
39245         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
39246         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
39248         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39249         strncat-power8 object.
39250         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
39251         __strcat_power8 implementation.
39252         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39253         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
39254         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
39255         optimized strcat for power8.
39257         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39258         strcpy-power8 and stpcpy-power8 objects.
39259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39260         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
39261         implementations.
39262         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
39263         multiarch stpcpy implementation for POWER8.
39264         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
39265         multiarch strcpy implementation for POWER8.
39266         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
39267         __strcpy_power8 function.
39268         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
39269         stpcpy for POWER8.
39270         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
39271         strcpy for POWER8.
39272         * NEWS: Update.
39274 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
39276         [BZ #16009]
39277         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
39278         weights and rules. Use do_xfrm_cached if data fits in cache,
39279         do_xfrm otherwise.  Moved former main loop to...
39280         * (do_xfrm_cached): New function.
39281         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
39282         find_idx, find_position and stack_push.
39283         * (find_idx): New function.
39284         * (find_position): Likewise.
39285         * localedata/sort-test.sh: Added test run for do_xfrm.
39286         * localedata/xfrm-test.c (main): Added command line option
39287         -nocache to run the test with strings that are too large for
39288         the STRXFRM cache.
39290 2015-01-13  Torvald Riegel  <triegel@redhat.com>
39292         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
39293         variable to lll_futex_wake call, not the value itself.
39295 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
39297         [BZ #17803]
39298         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
39299         twom64.  Adjust value to 0x1p-64L.
39300         (__scalblnl): Only return standard underflowing result for K <=
39301         -64 not K <= -63; adjust exponent for underflowing result by 64
39302         not 63.
39303         * math/libm-test.inc (scalbn_test_data): Add more tests.
39304         (scalbln_test_data): Likewise.
39306         [BZ #17834]
39307         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
39308         0x1p63L.
39309         (__scalblnl): Get new exponent of adjusted subnormal value from ES
39310         not HX.
39311         * math/libm-test.inc (scalbn_test_data): Add more tests.
39312         (scalbln_test_data): Likewise.
39314 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39315             Stefani Seibold  <stefani@seibold.net>
39317         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
39318         (sysdep_routines): Add dl-vdso here, ...
39319         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
39320         (sysdep_routines): ... not here.
39321         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
39322         fallback when vDSO is not presented.
39323         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
39324         Define with libc_hidden_proto/libc_hidden_data_def definitions.
39325         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
39326         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
39327         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
39328         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
39329         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
39330         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
39331         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
39332         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
39333         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
39334         fallback configurable symbol when vDSO is not available.
39335         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
39336         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
39337         be able to redefine fallback symbol when vDSO is not available.
39338         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
39339         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
39341 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39343         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
39344         (TLS_INIT_TP): Add tm_capable initialization.
39345         (TLS_DEFINE_INIT_TP): Likewise.
39346         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
39347         TCB.
39348         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
39349         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
39350         calculation.
39351         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
39352         transactoion is lock elision is built and TCB tm_capable is set.
39353         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
39354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39355         (INTERNAL_SYSCALL_NCS): Likewise.
39356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39357         (INTERNAL_SYSCALL_NCS): Likewise.
39358         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
39360         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
39361         for powerpc.
39362         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39363         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
39364         and remove it for 32 bits case.
39365         [pthread_rwlock_t] (__rwelision): New field for lock elision.
39366         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
39367         initialization.
39368         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
39369         Disable lock elision with rdlocks if elision is not available.
39371         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
39372         (sysdep_routines): Add lock elision objects.
39373         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39374         [pthread_mutex_t] (__spins): Rework to add lock elision field.
39375         [pthread_mutex_t] (__elision): Add field.
39376         [__PTHREAD_SPINS]: Adjust to init lock elision field.
39377         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
39378         elision definitions for powerpc.
39379         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
39380         implementation of lock elision for powerpc.
39381         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
39382         implementation of timed lock elision for powerpc.
39383         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
39384         implementation of trylock with lock elision for powerpc.
39385         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
39386         implementaion of unlock for lock elision for powerpc.
39387         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
39388         automatic enable lock elision for mutexes.
39389         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
39390         transaction execution definitions for powerpc.
39391         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
39392         definitions.
39393         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
39394         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
39395         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
39396         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
39397         * NEWS: Update.
39399 2015-01-09  Roland McGrath  <roland@hack.frob.com>
39401         * sysdeps/posix/shm-directory.c: Use <> rather than ""
39402         for #include of <shm-directory.h>.
39404 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
39406         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
39407         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
39409 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
39411         [BZ #17791]
39412         * NEWS: Mention bug fix.
39413         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
39414         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
39415         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
39417 2015-01-09  Torvald Riegel <triegel@redhat.com>
39419         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
39421 2015-01-09  Torvald Riegel <triegel@redhat.com>
39423         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
39425 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39427         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
39428         pointer and cast to uintptr_t.
39430 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39432         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
39433         removed.
39434         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
39436 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39438         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
39439         of 0.
39441 2015-01-08  Roland McGrath  <roland@hack.frob.com>
39443         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
39444         <nptl/pthreadP.h> instead.
39445         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
39447         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
39448         already defined.
39449         [__SIGRTMIN] (init): Function removed.
39450         [__SIGRTMIN] (initialized): Variable removed.
39451         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
39452         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
39453         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
39454         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
39455         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
39456         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
39457         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
39458         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
39459         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
39460         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
39461         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
39462         * sysdeps/nptl/allocrtsig.c: New file.
39463         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
39464         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
39465         * sysdeps/generic/testrtsig.h: File removed.
39467         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
39468         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
39470         * nptl/nptl-init.c (pthread_functions): Conditionalize
39471         .ptr__nptl_setxid initialization on [SIGSETXID].
39473         * sysdeps/nptl/sys/procfs.h: New file.
39474         * nptl_db/Makefile (headers): Add it.
39475         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
39477         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
39478         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
39479         * nptl/pthread_attr_setaffinity.c: Include it.
39480         * nptl/pthread_setattr_default_np.c: Likewise.
39481         * nptl/check-cpuset.h: New file.
39483 2015-01-08  Richard Henderson  <rth@redhat.com>
39485         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
39486         (CFLAGS-tst-execstack-prog.c): Likewise.
39487         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
39489 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
39490             Sandra Loosemore  <sandra@codesourcery.com>
39491             Andrew Jenner  <andrew@codesourcery.com>
39492             Joseph Myers  <joseph@codesourcery.com>
39493             Nathan Sidwell  <nathan@codesourcery.com>
39495         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
39496         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
39497         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
39498         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
39499         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
39500         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
39501         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
39502         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
39503         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
39504         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
39505         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
39506         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
39507         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
39508         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
39509         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
39510         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
39511         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
39513 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39515         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
39516         timespec struct member in syscall macro.
39517         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
39518         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
39519         first timeval struct member in syscall macro.
39520         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
39522 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
39524         [BZ #17748]
39525         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
39526         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
39527         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
39528         __feupdateenv and define as weak alias of __feupdateenv.  Use
39529         libm_hidden_weak.
39530         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
39531         libm_hidden_def.
39532         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
39533         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
39534         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39535         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
39536         libm_hidden_def.
39537         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
39538         __feupdateenv and define as weak alias of __feupdateenv.  Use
39539         libm_hidden_weak.
39540         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
39541         libm_hidden_def.
39542         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
39543         __feupdateenv and define as weak alias of __feupdateenv.  Use
39544         libm_hidden_weak.
39545         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
39546         libm_hidden_def.
39547         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39548         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39549         (__feupdateenv): Likewise.
39550         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
39551         __feupdateenv and define as weak alias of __feupdateenv.  Use
39552         libm_hidden_weak.
39553         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39554         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
39555         libm_hidden_def.
39556         * sysdeps/tile/math_private.h (__feupdateenv): New inline
39557         function.
39558         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
39559         libm_hidden_def.
39560         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
39561         __feupdateenv instead of feupdateenv.
39562         (default_libc_feupdateenv_test): Likewise.
39563         (libc_feresetround_ctx): Likewise.
39565 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39567         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
39568         prototype.
39570 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
39572         * posix/regcomp.c (parse_bracket_exp): Initialize type to
39573         COLL_SYM in a couple of places to avoid uninitialized variable
39574         wanings on tilegx gcc 4.8.2.
39576 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
39578         * sysdeps/aarch64/strcpy.S: New file.
39579         * sysdeps/aarch64/stpcpy.S: New file.
39580         * NEWS: Updated.
39582 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
39584         * sysdeps/aarch64/strrchr.S: New file.
39585         * NEWS: Updated.
39587 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
39589         [BZ #17658]
39590         * stdlib/setenv.c: Fix memory leak when setting large,
39591         duplicate string.
39593 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
39595         [BZ #17273]
39596         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
39597         and tabs from buffer before parsing fstab entry.
39598         * misc/tst-mntent.c (main): Add test for mount entry with
39599         trailing spaces and tabs.
39601 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
39603         [BZ #17748]
39604         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
39605         * math/fesetround.c (fesetround): Rename to __fesetround and
39606         define as weak alias of __fesetround.  Use libm_hidden_weak.
39607         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
39608         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
39609         * sysdeps/arm/fesetround.c (fesetround): Likewise.
39610         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
39611         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
39612         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
39613         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
39614         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
39615         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
39616         __fesetround_inline.
39617         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
39618         __fesetround_inline instead of __fesetround.
39619         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
39620         __fesetround and define as weak alias of __fesetround.  Use
39621         libm_hidden_weak.  Call __fesetround_inline instead of
39622         __fesetround.
39623         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
39624         __fesetround and define as weak alias of __fesetround.  Use
39625         libm_hidden_weak.
39626         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
39627         Likewise.
39628         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
39629         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39630         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
39631         * sysdeps/tile/math_private.h (__fesetround): New inline function.
39632         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
39633         __fesetround and define as weak alias of __fesetround.  Use
39634         libm_hidden_weak.
39635         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
39636         __fesetround instead of fesetround.
39637         (default_libc_feholdexcept_setround): Likewise.
39638         (libc_feholdsetround_ctx): Likewise.
39639         (libc_feholdsetround_noex_ctx): Likewise.
39641         [BZ #17748]
39642         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
39643         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
39644         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39645         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39646         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39647         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
39648         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39649         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
39650         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39651         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39652         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39653         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39654         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39655         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39656         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
39657         libm_hidden_def.
39658         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
39659         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
39660         Likewise.
39661         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39662         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39663         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39664         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39665         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
39666         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39667         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39668         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
39669         __fesetenv instead of fesetenv.
39670         (libc_feresetround_noex_ctx): Likewise.
39671         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39672         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39673         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
39674         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39675         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39676         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39677         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39678         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39679         (__feupdateenv): Likewise.
39680         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39681         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39682         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39683         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
39685 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39687         [BZ #17806]
39688         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
39689         addresses have been freed.
39691 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39693         * resolv/res_init.c (__res_vinit): Improve comments about nserv
39694         and nservall.
39696 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
39698         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
39699         Clean up check_pf allocation pattern. addresses
39701 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39703         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
39704         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
39705         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
39706         * nptl/pthread_exit.c (__pthread_exit): Likewise.
39707         * nptl/pthread_join.c (pthread_join): Likewise.
39708         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
39709         * sysdeps/posix/waitid.c (__waitid): Likewise.
39710         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
39711         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
39712         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
39713         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
39714         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
39715         Likewise.
39716         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
39717         (__libc_pread64): Likewise.
39718         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
39719         (__libc_pwrite): Likewise.
39720         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
39721         (__libc_pwrite64): Likewsie.
39722         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
39723         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
39724         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
39725         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
39726         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
39727         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
39728         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
39730         Likewise.
39731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39732         (__libc_pread64): Likewise.
39733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
39734         Likewise.
39735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39736         (__libc_pwrite64): Likewise.
39737         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
39738         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
39739         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
39740         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
39741         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
39742         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
39743         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
39744         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
39745         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
39746         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
39747         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
39748         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
39749         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
39750         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
39751         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
39752         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
39753         Likewise.
39755 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
39757         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
39758         (CFLAGS-test-double.c): Likewise.
39759         (CFLAGS-test-ldouble.c): Likewise.
39760         (CPPFLAGS-test-ifloat.c): Likewise.
39761         (CPPFLAGS-test-idouble.c): Likewise.
39762         (CPPFLAGS-test-ildoubl.c): Likewise.
39763         (CFLAGS-test-test-fenv.c): Remove variable.
39764         (CFLAGS-test-misc.c): Likewise.
39766 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
39768         [BZ #17797]
39769         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
39770         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
39771         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
39772         CLOCKS_PER_SEC == 1000000.
39773         * time/clocktest.c (main): Replace %ld with %jd and cast to
39774         intmax_t.
39776 2015-01-05  Roland McGrath  <roland@hack.frob.com>
39778         * sysdeps/generic/unwind-resume.h: New file.
39779         * sysdeps/gnu/unwind-resume.c: Include it.
39780         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
39781         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
39782         argument list.
39783         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
39784         global rather than static.
39785         (_Unwind_Resume): Update user.
39786         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
39787         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
39788         rather than static.  Add __attribute__ ((cold)).
39789         (_Unwind_Resume, __gcc_personality_v0): Update callers.
39790         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
39791         * sysdeps/arm/arm-unwind-resume.S: New file.
39792         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
39793         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
39794         * sysdeps/arm/Makefile [$(subdir) = csu]
39795         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
39796         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39797         Add rt-arm-unwind-resume.
39798         [$(subdir) = nptl]
39799         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39800         Add pt-arm-unwind-resume.
39801         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
39802         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
39804 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39806         [BZ #17748]
39807         * include/fenv.h (__feholdexcept): Declare.  Use
39808         libm_hidden_proto.
39809         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
39810         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
39811         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39812         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
39813         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
39814         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
39815         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
39816         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39817         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
39818         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
39819         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39820         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
39821         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
39822         (feholdexcept): Likewise.
39823         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39824         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39825         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39826         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39827         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
39828         __feholdexcept instead of feholdexcept.
39829         (default_libc_feholdexcept_setround): Likewise.
39831 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39833         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
39834         to avoid using stl/str to align destination.
39836 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39838         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
39840 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39842         [BZ #17796]
39843         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
39844         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
39845         Define as weak alias not strong alias.
39847 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39849         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
39850         bltzal with addiupc.
39851         (RTLD_START): Ditto.
39853 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
39855         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
39856         for __vdso_* functions in declarations.
39857         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
39858         definitions.
39859         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
39860         INTERNAL_VSYSCALL): Use struct return types to check for error.
39862         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
39863         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
39864         function with cast from llround().
39865         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
39866         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
39867         Define.
39869 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39871         [BZ #17793]
39872         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
39873         Define as weak alias not strong alias.
39875         [BZ #17635]
39876         * ctype/ctype-c99.c: New file.  isblank implementation moved from
39877         ...
39878         * ctype/ctype-extn.c: ... here.
39879         (__isblank_l): Move to ...
39880         * ctype/ctype-c99_l.c: ... here.  New file.
39881         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
39882         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
39883         Remove variable.
39884         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
39885         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
39886         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
39887         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
39888         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
39890         [BZ #17777]
39891         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
39892         (posix_fadvise64): Define as weak alias not strong alias.
39893         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39894         (posix_fallocate64): Likewise.
39895         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
39896         Remove variable.
39897         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
39898         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
39899         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
39900         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
39901         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
39903 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
39905         [BZ #16191]
39906         * NEWS: Mention bug fix.
39907         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
39908         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
39909         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
39910         (HOST_STACK_END_ADDR): Likewise.
39912 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
39914         [BZ #17748]
39915         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
39916         * math/fegetround.c (fegetround): Rename to __fegetround and
39917         define as weak alias of __fegetround.  Use libm_hidden_weak.
39918         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
39919         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
39920         * sysdeps/arm/fegetround.c (fegetround): Likewise.
39921         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
39922         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39923         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
39924         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
39925         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
39926         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39927         Undefine after rather than before function definition; use
39928         parentheses around function name in definition.
39929         (__fegetround): Also undefine macro after function definition.
39930         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
39931         __fegetround and define as weak alias of __fegetround.  Use
39932         libm_hidden_weak.  Do not undefine as macro.
39933         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39934         Likewise.
39935         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
39936         __fegetround and define as weak alias of __fegetround.  Use
39937         libm_hidden_weak.
39938         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39939         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39940         * sysdeps/tile/math_private.h (__fegetround): New inline function.
39941         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
39942         __fegetround and define as weak alias of __fegetround.  Use
39943         libm_hidden_weak.
39944         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
39945         __fegetround instead of fegetround.
39947         [BZ #17782]
39948         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
39949         Condition macro definition on [__USE_MISC].
39951         [BZ #17781]
39952         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
39953         (struct sigaction): Change type of sa_flags field to int.
39955         [BZ #17780]
39956         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
39957         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
39958         __glibc_reserved0.
39960         * nptl/version.c (banner): Use single year in copyright notice.
39962         * NEWS: Update copyright dates.
39963         * catgets/gencat.c (print_version): Likewise.
39964         * csu/version.c (banner): Likewise.
39965         * debug/catchsegv.sh: Likewise.
39966         * debug/pcprofiledump.c (print_version): Likewise.
39967         * debug/xtrace.sh (do_version): Likewise.
39968         * elf/ldconfig.c (print_version): Likewise.
39969         * elf/ldd.bash.in: Likewise.
39970         * elf/pldd.c (print_version): Likewise.
39971         * elf/sotruss.sh: Likewise.
39972         * elf/sprof.c (print_version): Likewise.
39973         * iconv/iconv_prog.c (print_version): Likewise.
39974         * iconv/iconvconfig.c (print_version): Likewise.
39975         * locale/programs/locale.c (print_version): Likewise.
39976         * locale/programs/localedef.c (print_version): Likewise.
39977         * login/programs/pt_chown.c (print_version): Likewise.
39978         * malloc/memusage.sh (do_version): Likewise.
39979         * malloc/memusagestat.c (print_version): Likewise.
39980         * malloc/mtrace.pl: Likewise.
39981         * manual/libc.texinfo: Likewise.
39982         * nptl/version.c (banner): Likewise.
39983         * nscd/nscd.c (print_version): Likewise.
39984         * nss/getent.c (print_version): Likewise.
39985         * nss/makedb.c (print_version): Likewise.
39986         * posix/getconf.c (main): Likewise.
39987         * scripts/test-installation.pl: Likewise.
39988         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
39990 2015-01-02  Will Newton  <will.newton@linaro.org>
39992         * sysdeps/arm/armv7/configure: Removed.
39993         * sysdeps/arm/armv7/configure.ac: Likewise.
39995 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
39997         * All files with FSF copyright notices: Update copyright dates
39998         using scripts/update-copyrights.
39999         * intl/plural.c: Regenerated.
40000         * locale/programs/charmap-kw.h: Likewise.
40001         * locale/programs/locfile-kw.h: Likewise.
40003 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40005         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
40007 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
40009         [BZ #17748]
40010         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
40011         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
40012         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40013         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
40014         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40015         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
40016         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40017         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
40018         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40019         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40020         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40021         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40022         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40023         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40024         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
40025         libm_hidden_def.
40026         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
40027         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
40028         Likewise.
40029         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40030         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40031         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40032         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40033         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
40034         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40035         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
40036         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
40037         __fegetenv instead of fegetenv.
40038         (libc_feholdsetround_noex_ctx): Likewise.
40040 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
40042         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
40043         (Elf_MIPS_ABIFlags_v0): New structure.
40044         (EF_MIPS_FP64): Define.
40045         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
40046         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
40047         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
40048         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
40049         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
40050         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
40051         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
40052         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
40053         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
40054         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
40055         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
40056         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
40057         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
40058         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
40059         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
40060         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
40061         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
40062         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
40063         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
40064         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
40065         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
40066         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
40067         field.
40068         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
40069         EF_MIPS_FP64.
40070         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
40071         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
40072         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
40073         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
40074         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
40075         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
40076         * sysdeps/mips/tst-abi-interlink.c: Likewise.
40077         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
40078         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
40079         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
40080         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
40081         record the current FP ABI extension.
40082         (mips-mode-switch): Define to show if kernel headers support mode
40083         switching.
40084         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
40085         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
40086         supported SYSV ABI version to 3.
40087         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
40088         feature.
40090 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40091             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40093         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
40094         path.
40095         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
40097 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
40099         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
40100         __fegetround and redefine to call __fegetround.  Remove condition
40101         on [!__NO_MATH_INLINES].
40102         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
40103         function.
40104         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
40105         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40106         Remove macro.
40107         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
40108         instead of <fenv_libc.h>.
40109         (__llrintl): Call fegetround instead of __fegetround.
40110         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
40111         instead of <fenv_libc.h>.
40112         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40113         (__lrintl): Call fegetround instead of __fegetround.
40114         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
40115         instead of <fenv_libc.h>.
40116         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40117         (__rintl): Call fegetround instead of __fegetround.
40119 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40121         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
40122         arrays.
40124 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
40126         [BZ #17775]
40127         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
40128         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
40129         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
40131 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
40133         * sysdeps/i386/tls-macros.h: Include <features.h>.
40134         (TLS_LE): Use non-PIC version for GCC >= 5.0.
40135         (TLS_IE): Likewise.
40136         (TLS_LD): Likewise.
40137         (TLS_GD): Likewise.
40138         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
40139         define for GCC >= 5.0.
40141 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
40143         * math/test-fenv.c (test_single_exception, set_single_exc,
40144         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
40145         feexcp_mask_test, feenable_test, fe_single_test): Add
40146         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
40147         case where they are not used.
40148         * math/libm-test.inc: Likewise.
40149         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
40150         unused in the absence of FP rounding/exception support.
40151         * stdio-common/tst-printf-round.c: Likewise.
40152         * stdlib/tst-strtod-round.c: Likewise.
40153         * stdlib/tst-strtod-underflow.c: Likewise.
40155 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
40157         [BZ #17723]
40158         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
40159         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
40160         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40161         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40162         libm_hidden_weak.
40163         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
40164         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
40165         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
40166         libm_hidden_def.
40167         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40168         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40169         libm_hidden_weak.
40170         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
40171         Likewise.
40172         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
40173         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40174         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40175         libm_hidden_weak.
40176         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
40177         libm_hidden_def.
40178         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
40179         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
40180         (__feraiseexcept): Likewise.
40181         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40182         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40183         libm_hidden_weak.
40184         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
40185         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
40186         libm_hidden_def.
40187         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
40188         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
40189         Use libm_hidden_def.
40190         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
40191         libm_hidden_def.
40192         (feraiseexcept): Define as weak not strong alias.  Use
40193         libm_hidden_weak.
40194         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
40195         New inline function.  Factored out of ...
40196         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
40197         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
40198         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
40199         feraiseexcept.
40200         * math/w_acos.c (__acos): Likewise.
40201         * math/w_asin.c (__asin): Likewise.
40202         * math/w_ilogb.c (__ilogb): Likewise.
40203         * math/w_j0.c (y0): Likewise.
40204         * math/w_j1.c (y1): Likewise.
40205         * math/w_jn.c (yn): Likewise.
40206         * math/w_log.c (__log): Likewise.
40207         * math/w_log10.c (__log10): Likewise.
40208         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
40209         * sysdeps/aarch64/fpu/math_private.h
40210         (libc_feupdateenv_test_aarch64): Likewise.
40211         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
40212         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
40213         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
40214         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
40215         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
40216         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
40217         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
40218         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40219         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40220         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40222 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
40224         [BZ #17732]
40225         * io/test-utime.c (main): Replace %ld with %jd and cast to
40226         intmax_t.
40227         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
40228         * nptl/tst-mutex5.c: Include <stdint.h>.
40229         (do_test): Replace %ld with %jd and cast to intmax_t.
40230         * posix/tst-regex.c (run_test): Likewise.
40231         (run_test_backwards): Likewise.
40232         * rt/tst-clock.c: Include <stdint.h>.
40233         (clock_test): Replace %ld with %jd and cast to intmax_t.
40234         * rt/tst-cpuclock1.c: Include <stdint.h>.
40235         (do_test): Replace %lu with %ju and cast to uintmax_t.
40236         * rt/tst-cpuclock2.c: Include <stdint.h>.
40237         (do_test): Replace %lu with %ju and cast to uintmax_t.
40238         * rt/tst-mqueue1.c: Include <stdint.h>.
40239         (check_attrs): Replace %ld with %jd and cast to intmax_t.
40240         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
40241         intmax_t.
40242         * rt/tst-mqueue4.c (do_test): Likewise.
40243         * rt/tst-timer4.c: Include <stdint.h>.
40244         (check_ts): Replace %ld with %jd and cast to intmax_t.
40245         (do_test): Likewise.
40246         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
40247         and cast to intmax_t.
40248         * sysdeps/pthread/tst-timer.c (main): Likewise.
40249         * time/clocktest.c (main): Likewise.
40250         * time/tst-posixtz.c (do_test): Likewise.
40251         * timezone/tst-timezone.c (main): Likewise.
40253 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
40254             H.J. Lu  <hongjiu.lu@intel.com>
40256         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
40257         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
40258         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
40259         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
40260         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
40261         version if bit_Fast_Unaligned_Load is set.
40262         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40263         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40264         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40265         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40266         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40267         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40268         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40269         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
40270         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
40271         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
40272         to 4.
40273         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
40274         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
40275         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
40276         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
40278 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
40280         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
40281         instead of #if to avoid a Wundef warning.
40282         * stdlib/tst-limits.c (do_test): Likewise.
40284         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
40285         parallel other exception macros.
40286         (fegetenv): Convert from macro to extern inline so that it applies
40287         retroactively to inline functions already seen by the compiler.
40288         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
40290         * posix/Makefile (before-compile): Use $(objpfx) for
40291         posix-conf-vars-def.h.
40293 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40295         * posix/getconf.c (main): Use size_t for type of I.
40296         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
40297         NSPEC.
40299         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
40300         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
40301         * posix/posix-envs.def: Likewise.
40302         * sysdeps/posix/sysconf.c: Likewise.
40303         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
40304         (specs): Remove array.
40305         * scripts/gen-posix-conf-vars.awk: Support generation of specs
40306         array.
40308         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
40309         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
40310         (__sysconf): Use CONF_IS_* macros.
40312         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
40313         ($(objpfx)posix-conf-vars-def.h): New target.
40314         * posix/posix-conf-vars.list: New file.
40315         * posix/posix-conf-vars.h: New file.
40316         * posix/confstr.c: Include posix-conf-vars.h.
40317         (confstr): Use CONF_IS_* macros.
40318         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
40319         CONF_IS_* macros.
40320         * scripts/gen-posix-conf-vars.awk: New file.
40322 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
40324         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
40325         fegetround): Add no-op macros to avoid linknamespace issues.
40327         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
40328         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
40330         * sysdeps/unix/sysv/linux/tile/sysdep.h
40331         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
40332         assembly-specific section to avoid a redefinition warning.
40334         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
40335         long before casting to pointer to avoid a cast warning.
40337 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
40339         * sysdeps/tile/tilegx/Implies: New file.
40341 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
40343         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
40345 2014-12-23  Florian Weimer  <fweimer@redhat.com>
40347         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
40349 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40351         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
40352         not define.
40353         * sysdeps/unix/sysv/linux/utimes.c: Do not include
40354         <kernel-features.h>.
40355         (__utimes) [__NR_utimes]: Make code unconditional.
40356         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
40357         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40358         (__ASSUME_UTIMES): Do not undefine.
40359         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40360         (__ASSUME_UTIMES): Likewise.
40361         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
40362         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
40363         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
40364         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
40366 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
40368         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
40370 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
40372         [BZ #17747]
40373         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
40374         alias to weak alias for j0l, y0l.
40375         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
40376         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
40378         [BZ #17746]
40379         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
40380         conversion.
40382 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
40384         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
40385         to zero if not already defined.
40387 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40389         [BZ #17724]
40390         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
40391         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
40392         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
40393         (char *) casts added.
40394         * sysdeps/ieee754/k_standardf.c: New file.
40395         * sysdeps/ieee754/k_standardl.c: Likewise.
40396         * math/Makefile (libm-support): Remove k_standard.
40397         (libm-calls): Add k_standard.
40399 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40401         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
40402         Optimize to avoid an unnecessary FPCR read.
40404 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40406         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
40407         Optimize to reduce FPCR/FPSR accesses.
40409 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40411         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
40412         Call libc_fetestexcept_aarch64.
40414 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40416         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
40417         Call libc_fesetround_aarch64.
40419 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40421         [BZ #17733]
40422         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
40423         (__bind): Do not define as weak alias.
40424         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
40425         define.
40426         (__getsockname): Do not define as weak alias.
40428 2014-12-22  Will Newton  <will.newton@linaro.org>
40430         * manual/install.texi: Document that we require bison 2.7
40431         or above.
40432         * INSTALL: Regenerate.
40433         * configure.ac: Use AC_CHECK_PROG_VER instead of
40434         AC_PATH_PROG when checking for bison and check for
40435         version 2.7 or above.
40436         * configure: Regenerate.
40438 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
40440         [BZ #17745]
40441         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
40442         * sysdeps/tile/ffsll.c (ffsll): To here.
40444         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
40446 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
40448         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
40449         if not defined.
40450         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
40451         definition.
40452         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40453         hidden ___tls_get_addr.
40454         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40455         hidden __tls_get_addr.
40456         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
40457         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
40458         Likewise.
40460 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40462         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
40463         _dl_init call.
40465 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
40467         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
40468         from "call _dl_init@PLT".
40469         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
40471 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
40473         * manual/search.texi: (Array Sort Function): Clarify stable sorting
40474         guarantees.
40476 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
40478         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
40480 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
40482         [BZ #17744]
40483         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
40484         strnlen.
40486 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
40488         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
40489         of multu on MIPSr6.
40490         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
40491         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
40492         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
40493         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
40494         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
40496 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
40498         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
40499         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
40500         (PTR_SUBU): Use subu for mips32r6/mips64r6.
40501         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
40502         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
40503         mips32r6/mips64r6.
40504         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
40506 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
40508         * string/strncat.c (STRNCAT): Simplify implementation.
40510 2014-12-19  David S. Miller  <davem@davemloft.net>
40512         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
40513         access the quad as both a long double and as a series of 4 words.
40515         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
40516         link_map->l_info array access.
40518 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
40520         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
40522         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
40523         * math/atest-exp2.c (TIMEOUT): Likewise.
40524         * math/atest-sincos.c (TIMEOUT): Likewise.
40526 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40528         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
40529         -Wno-error with -fno-builtin-lround.
40531 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40533         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
40534         Contains futex constants and functions moved over from ...
40535         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
40536         <lowlevellock-futex.h>.
40537         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40538         (lll_timedwait_tid): Add comments and parentheses around macro
40539         arguments.
40541 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40543         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
40544         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
40545         (__lll_private_flag): Remove.
40546         (lll_futex_wait): Likewise.
40547         (lll_futex_timed_wait): Likewise.
40548         (lll_futex_wake): Likewise.
40549         (lll_futex_requeue): Likewise.
40550         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40551         (__lll_timedwait_tid): Spell out argument names.
40552         (lll_timedwait_tid): Add comments and parentheses around macro
40553         arguments.
40554         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
40555         LLL_SHARED and LLL_PRIVATE usable from assembly code.
40557 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40559         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
40560         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40561         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40562         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
40563         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
40564         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
40565         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
40566         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
40567         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
40568         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
40569         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
40570         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
40571         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
40572         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
40573         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
40574         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
40575         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
40576         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
40577         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
40579 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40581         * sysdeps/x86_64/x32/Makefile: New file.
40583 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40585         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
40586         1L with (mp_limb_t) 1.
40588 2014-12-17  Roland McGrath  <roland@hack.frob.com>
40590         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
40591         * nptl/libc_pthread_init.c: ... here.
40592         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
40593         * nptl/register-atfork.c: ... here.
40595         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
40596         Use pthread_sigmask rather than INTERNAL_SYSCALL.
40597         Use assert_perror to check its return value.
40598         (__gai_create_helper_thread): Likewise.
40600         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
40602         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
40604 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
40606         [BZ #17725]
40607         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
40608         __profil_counter.
40609         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
40610         Likewise.
40611         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
40612         Likewise.
40613         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
40614         Likewise.
40615         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
40616         (profil_counter): Likewise.
40617         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
40618         (profil_counter): Likewise.
40619         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
40620         Likewise.
40621         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
40622         Likewise.
40623         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
40624         (profil_counter): Likewise.
40625         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
40626         Likewise.
40627         [!__profil_counter] (profil_counter): Define as weak alias of
40628         __profil_counter.
40629         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
40630         (profil_counter): Rename to __profil_counter.
40631         [!__profil_counter] (profil_counter): Define as weak alias of
40632         __profil_counter.
40633         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
40634         (profil_counter): Rename to __profil_counter.
40635         [!__profil_counter] (profil_counter): Define as weak alias of
40636         __profil_counter.
40637         * sysdeps/posix/profil.c: Update comment referring to
40638         profil_counter.
40639         (__profil): Use __profil_counter instead of profil_counter.
40640         * sysdeps/posix/sprofil.c (profil_counter): Rename to
40641         __profil_counter.  Use __profil_counter_ushort and
40642         __profil_counter_uint in definitions.
40643         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
40644         instead of profil_counter_uint and profil_counter_ushort.
40646         [BZ #17722]
40647         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
40648         define as weak alias of __inet_makeaddr.
40649         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
40650         as weak alias of __inet_addr.
40651         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
40652         as weak alias of __inet_pton.  Use libc_hidden_weak.
40653         * include/arpa/inet.h (__inet_pton): Declare.  Use
40654         libc_hidden_proto.
40655         (inet_makeaddr): Don't use libc_hidden_proto.
40656         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
40657         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
40658         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
40659         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
40660         Remove variable.
40661         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40662         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40664 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
40666         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
40668 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40670         * stdio-common/bug-vfprintf-nargs.c (do_test):
40671         Cast value to intptr_t to avoid format warning
40672         for usage with PRIdPTR printing macro.
40674 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40676         * libio/tst-widetext.c (do_test):
40677         Use format type %td instead of %Zd for ptrdiff_t
40678         in order to avoid format warning.
40680 2014-12-17  Andreas Schwab  <schwab@suse.de>
40682         * nscd/mem.c (gc): Add size_t cast to match printf format.
40684 2014-12-16  Roland McGrath  <roland@hack.frob.com>
40686         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
40687         (init): Apply PTR_MANGLE to pointers before storing them.
40688         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
40689         before using them.
40691 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
40693         [BZ #17719]
40694         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
40695         define as weak alias of __memrchr.
40696         (__memrchr): Do not define as strong alias of memrchr.
40697         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
40698         Remove variable.
40699         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40700         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40701         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40703         [BZ #17717]
40704         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
40705         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
40706         (if_indextoname): Rename to __if_indextoname and define as weak
40707         alias of __if_indextoname.  Use libc_hidden_weak.
40708         (if_freenameindex): Rename to __if_freenameindex and define as
40709         weak alias of __if_freenameindex.
40710         (if_nameindex): Rename to __if_nameindex and define as weak alias
40711         of __if_nameindex.
40712         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
40713         __if_nametoindex and define as weak alias of __if_nametoindex.
40714         Use libc_hidden_weak.
40715         (if_freenameindex): Rename to __if_freenameindex and define as
40716         weak alias of __if_freenameindex.
40717         (if_nameindex): Rename to __if_nameindex and define as weak alias
40718         of __if_nameindex.
40719         (if_indextoname): Rename to __if_indextoname and define as weak
40720         alias of __if_indextoname.  Use libc_hidden_weak.
40721         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
40722         __if_nametoindex and define as weak alias of __if_nametoindex.
40723         Use libc_hidden_weak.
40724         (if_freenameindex): Rename to __if_freenameindex and define as
40725         weak alias of __if_freenameindex.  Use libc_hidden_weak.
40726         (if_nameindex_netlink): Use __if_freenameindex instead of
40727         if_freenameindex.
40728         (if_nameindex): Rename to __if_nameindex and define as weak alias
40729         of __if_nameindex.  Use libc_hidden_weak.
40730         (if_indextoname): Rename to __if_indextoname and define as weak
40731         alias of __if_indextoname.  Use libc_hidden_weak.
40732         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
40733         libc_hidden_proto.
40734         [!_ISOMAC] (__if_freenameindex): Likewise.
40735         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
40736         if_nametoindex.
40737         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
40738         variable.
40739         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40740         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40741         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40742         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40743         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40744         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40745         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40747         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
40748         Remove variable.
40749         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40750         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40752 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40754         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
40755         subscript above bounds'
40757         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
40758         bounds.
40760 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
40762         * libio/tst-fopenloc.c: Use test-skeleton.c.
40764         * stdlib/tst-bsearch.c: Use test-skeleton.c.
40765         (entry): Rename to ITEM.
40766         (do_test, comp): Adjust.
40768         * stdio-common/tst-fseek.c: Use test-skeleton.c.
40770 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40772         * string/tester.c: Include <libc-internal.h>.
40773         (test_memset): Ignore -Wmemset-transposed-args.
40775 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40777         * misc/tst-mntent2.c (do_test): Fix warning.
40779 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40781         * elf/tst-unique4lib.cc(a): Mark as used.
40783 2014-12-16  Florian Weimer  <fweimer@redhat.com>
40785         [BZ #17630]
40786         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
40787         names.
40789 2014-12-16  Allan McRae  <allan@archlinux.org>
40791         * stdio-common/Makefile (tests): Re-add bug26.
40793 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
40795         [BZ #17657]
40796         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
40797         static array.
40799 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
40801         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
40802         (__lll_lock_wait): Likewise.
40803         (__lll_timedlock_wait): Likewise.
40804         (__lll_timedwait_tid): Likewise.
40805         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
40806         (__lll_robust_timedlock_wait): Likewise.
40807         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
40808         (lll_cond_trylock): Likewise.
40809         (__lll_lock): Likewise.
40810         (__lll_robust_lock): Likewise.
40811         (__lll_cond_lock): Likewise.
40812         (lll_robust_cond_lock): Likewise.
40813         (__lll_timedlock): Likewise.
40814         (__lll_robust_timedlock): Likewise.
40815         (__lll_unlock): Likewise.
40816         (__lll_robust_unlock): Likewise.
40817         (lll_wait_tid): Likewise.
40818         (lll_timedwait_tid): Likewise.
40820 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40822         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
40824 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40826         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
40828 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
40830         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
40831         * stdio-common/tst-sprintf.c: Likewise.
40833 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40835         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
40837 2014-12-15  Jeff Law  <law@redhat.com>
40839         [BZ #16617]
40840         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
40841         on the heap.  (CVE-2012-3406)
40842         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
40843         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
40844         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
40846 2014-12-15  Will Newton  <will.newton@linaro.org>
40848         * manual/install.texi: Bump required version of texinfo
40849         to 4.7 from 4.5.
40850         * INSTALL: Regenerated.
40851         * configure.ac: Check for makeinfo version 4.7 and above.
40852         * configure: Regenerated.
40854 2014-12-12  Roland McGrath  <roland@hack.frob.com>
40856         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
40857         PREFIX, string constant to insert between directory and name.
40858         * sysdeps/posix/shm_open.c: Update caller.
40859         * sysdeps/posix/shm_unlink.c: Likewise.
40860         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
40861         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
40862         (SEM_SHM_PREFIX): New macro.
40863         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
40864         [$(have-thread-library) = no].
40865         * nptl/Makefile (libpthread-routines): Add shm-directory.
40866         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
40867         * sysdeps/nptl/shm-directory.h: New file.
40868         * sysdeps/posix/shm-directory.c
40869         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
40870         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
40871         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
40872         INTERNAL_SYSCALL.
40873         (__where_is_shmfs): Function removed.
40874         (mountpoint, defaultmount, defaultdir, __namedsem_once):
40875         Variables removed.
40876         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
40877         Use SHM_GET_NAME.
40878         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
40880         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
40881         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
40882         unconditional for use inside libpthread.
40883         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
40885 2014-12-12  Roland McGrath  <roland@hack.frob.com>
40887         * nptl/pthread_getaffinity.c: New file.
40888         * nptl/pthread_setaffinity.c: New file.
40889         * nptl/pthread_getname.c: New file.
40890         * nptl/pthread_setname.c: New file.
40892         * nptl/pthread_create.c (START_THREAD_DEFN)
40893         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
40895 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40896             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40898         * resolv/res_send.c (send_vc): Disable warning resplen may
40899         be used uninitialized.
40901 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40903         * nptl/tst-mutex6.c
40904         (ATTR_NULL): New define checks ATTR against NULL.
40905         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
40906         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
40908 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
40910         [BZ #17581]
40911         * malloc/hooks.c
40912         (mem2mem_check): Revert my previous change.
40913         (malloc_check_get_size): Revert my previous change.
40914         (mem2chunk_check): Revert my previous change.
40916 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40918         * sysdeps/posix/shm-directory.c: New file.
40919         * sysdeps/posix/shm-directory.h: New file.
40920         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
40921         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
40922         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
40923         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
40924         Transmute EPERM to EACCES.
40925         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
40926         from ...
40927         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
40928         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
40930 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40932         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
40933         pointer and cast to uintptr_t.
40934         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
40935         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
40936         Add cast to avoid warning.
40937         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
40939 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
40941         * nptl/semaphore.h: Move to ...
40942         * sysdeps/pthread/semaphore.h: ... here.
40943         * Makefile (installed-headers): Change nptl/semaphore.h to
40944         sysdeps/pthread/semaphore.h.
40946 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40948         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
40949         generated error format strings.
40951         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
40952         -Wformat-extra-args warnings for scanf formats.
40953         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
40954         test of zero-length format (duh).
40955         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
40956         corner-case scanf format test.
40957         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
40958         generated fprintf format string.
40959         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
40960         corner-case sprintf format tests.
40961         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
40962         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
40963         -Wformat-extra-args warnings throughout.
40964         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
40965         (CFLAGS-scanf4.c): Likewise.
40966         (CFLAGS-scanf7.c): Likewise.
40967         (CFLAGS-tst-sprintf.c): Likewise.
40968         (CFLAGS-tst-printf.c): Likewise.
40969         (CFLAGS-tst-printfsz.c): Likewise.
40971 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
40973         * include/cpio.h: New file.
40974         * include/fmtmsg.h: Likewise.
40976         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
40977         corresponding format argument to size_t.
40978         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
40979         arguments.
40980         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
40981         corresponding format argument to size_t.
40982         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
40983         arguments.
40984         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
40985         corresponding format argument to size_t.
40986         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
40987         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
40988         (CFLAGS-tst-mbswcs2.c): Likewise.
40989         (CFLAGS-tst-mbswcs3.c): Likewise.
40990         (CFLAGS-tst-mbswcs4.c): Likewise.
40991         (CFLAGS-tst-mbswcs5.c): Likewise.
40992         (CFLAGS-tst-trans.c): Likewise.
40994 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40996         * posix/regexbug1.c (main): Use "%s" format with regerror results,
40997         rather than assuming they won't contain any '%'s.
40999 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
41001         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
41002         inhibit_loop_to_libcall to avoid recursive calls.
41003         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
41004         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
41006 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
41008         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
41009         prototype.
41011 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
41013         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
41014         integer value instead of boolean.
41016 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
41018         * malloc/malloc.c: Fix powerof2 check.
41020 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41022         * locale/programs/locfile.h (maybe_swap_uint32):
41023         Remove inline and add unused attribute.
41025 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41027         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41028         Truncating assembler expression to a .long expression.
41030 2014-12-11  Andreas Schwab  <schwab@suse.de>
41032         * elf/rtld.c (struct map_args): Constify str member.
41033         (do_preload): Constify fname argument.
41035 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41037         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
41038         constants definition.
41040 2014-12-11  Andreas Schwab  <schwab@suse.de>
41042         [BZ #16657]
41043         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
41044         FORCE_ELISION instead of DO_ELISION.
41045         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
41046         Remove.
41047         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
41048         Likewise.
41050         * iconvdata/gconv-modules: Remove duplicate entry.
41052 2014-12-11  Will Newton  <will.newton@linaro.org>
41054         Merge gettext 0.19.3 into intl/.
41056         This involves a number of cosmetic changes to comments
41057         and ANSI function definitions and prototypes throughout
41058         all the files. The gettext copyright header is used but
41059         with the date ranges taken from the glibc copy.
41061         * NEWS: Add gettext merge to 2.21.
41062         * intl/bindtextdom.c: Switch to gettext copyright.
41063         Use ANSI definitions and prototypes.
41064         Use gl_* locking primitives rather than __libc_* ones.
41065         Use __builtin_expect rather than __glibc_likely/unlikely.
41066         * intl/dcgettext.c: Switch to gettext copyright.
41067         Use ANSI definitions and prototypes.
41068         * intl/dcigettext.c: Switch to gettext copyright.
41069         Use ANSI definitions and prototypes.
41070         (INTDIV0_RAISES_SIGFPE): New define.
41071         Use gl_* locking primitives rather than __libc_* ones.
41072         Include eval-plural.h instead of plural-eval.c.
41073         Use __builtin_expect rather than __glibc_likely/unlikely.
41074         * intl/dcngettext.c: Switch to gettext copyright.
41075         Use ANSI definitions and prototypes.
41076         * intl/dgettext.c: Likewise.
41077         * intl/dngettext.c: Likewise.
41078         * intl/plural-eval.c: Renamed to...
41079         * intl/eval-plural.h: ...this.
41080         * intl/explodename.c: Switch to gettext copyright.
41081         Use ANSI definitions and prototypes.
41082         (_nl_explode_name): Use strchr instead of __rawmemchr.
41083         * intl/finddomain.c: Switch to gettext copyright.
41084         Use ANSI definitions and prototypes.
41085         Use gl_* locking primitives rather than __libc_* ones.
41086         (_nl_find_domain): Use malloc rather than alloca for
41087         allocation of temporary locale name.
41088         * intl/gettext.c: Switch to gettext copyright.
41089         Use ANSI definitions and prototypes.
41090         * intl/gettextP.h: Switch to gettext copyright.
41091         Use ANSI definitions and prototypes.
41092         Use gl_* locking primitives rather than __libc_* ones.
41093         * intl/gmo.h: Switch to gettext copyright.
41094         (struct sysdep_string): Move struct segment_pair outside of
41095         struct definition.
41096         * intl/hash-string.c: Use ANSI definitions and prototypes.
41097         * intl/hash-string.h: Switch to gettext copyright.
41098         Use ANSI definitions and prototypes.
41099         * intl/l10nflist.c: Switch to gettext copyright.
41100         Use ANSI definitions and prototypes.
41101         (_nl_normalize_codeset): Avoid integer overflow.
41102         * intl/loadinfo.h: Switch to gettext copyright.
41103         Use ANSI definitions and prototypes.
41104         (LIBINTL_DLL_EXPORTED): New define.
41105         (PATH_SEPARATOR): New define.
41106         * intl/loadmsgcat.c: Switch to gettext copyright.
41107         * intl/localealias.c: Switch to gettext copyright.
41108         Use ANSI definitions and prototypes.
41109         (_nl_expand_alias): Use PATH_SEPARATOR.
41110         * intl/ngettext.c: Switch to gettext copyright.
41111         Use ANSI definitions and prototypes.
41112         * intl/plural-exp.c: Likewise.
41113         * intl/plural-exp.h: Switch to gettext copyright.
41114         Use ANSI definitions and prototypes.
41115         (struct expression): Move definition of enum operator outside
41116         of struct definition.
41117         * intl/plural.c: Regenerate.
41118         * intl/plural.y: Switch to gettext copyright.
41119         Use ANSI definitions and prototypes.
41120         Port to bison 3.0.
41121         * intl/textdomain.c: Switch to gettext copyright.
41122         Use ANSI definitions and prototypes.
41123         Use gl_* locking primitives rather than __libc_* ones.
41125 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
41127         * debug/warning-nop.c: Add used atrribute.
41129 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41131         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
41133         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
41134         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
41135         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
41137 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41138             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41140         [BZ #17634]
41141         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
41142         Undefine after defining function.  Define as weak alias of
41143         __wcschr.  Use libc_hidden_weak.
41144         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
41145         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
41146         (libc_hidden_def): Also define __GI___wcschr alias.
41147         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
41148         __wcschr and define as weak alias of __wcschr.
41149         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
41150         __wcschr.
41151         [!WCSCHR] (DEFAULT_WCSCHR): Define.
41152         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
41153         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
41154         libc_hidden_weak.  Do not use libc_hidden_def.
41155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
41156         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
41157         __GI___wcschr alias.
41158         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
41159         [IS_IN (libc)] (wcschr): Define as macro expanding to
41160         __redirect_wcschr.
41161         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
41162         [IS_IN (libc)] (__wcschr_power6): Likewise.
41163         [IS_IN (libc)] (__wcschr_power7): Likewise.
41164         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
41165         instead of wcschr.
41166         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
41167         __libc_wcschr.
41168         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
41169         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
41170         __wcschr and define as weak alias of __wcschr.  Use
41171         libc_hidden_builtin_def.
41172         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
41173         as weak alias of __wcschr.  Use libc_hidden_weak.
41174         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
41175         wcschr.
41176         * time/era.c (_nl_init_era_entries): Likewise.
41177         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
41178         variable.
41179         (test-xfail-XPG3/time.h/linknamespace): Likewise.
41180         (test-xfail-XPG4/time.h/linknamespace): Likewise.
41182 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41184         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
41185         format for long int variable.
41187 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
41189         [BZ #10672]
41190         * manual/search.texi: (Array Sort Function): Remove claim how to make
41191         qsort stable.
41193 2014-12-10  Andreas Schwab  <schwab@suse.de>
41195         [BZ #12847]
41196         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
41197         user-controlled locks.
41199 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
41201         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
41202         register.
41204 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41206         * configure.ac (--disable-werror): New configure option.
41207         (enable_werror): New AC_SUBST.
41208         * configure: Regenerated.
41209         * config.make.in (enable-werror): New variable.
41210         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
41211         -Wno-error=undef.
41212         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
41213         * manual/install.texi (Configuring and compiling): Document
41214         --disable-werror.
41215         * INSTALL: Regenerated.
41216         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
41217         (CFLAGS-tst-chk2.c): Likewise.
41218         (CFLAGS-tst-chk3.c): Likewise.
41219         (CFLAGS-tst-chk4.cc): Likewise.
41220         (CFLAGS-tst-chk5.cc): Likewise.
41221         (CFLAGS-tst-chk6.cc): Likewise.
41222         (CFLAGS-tst-lfschk1.c): Likewise.
41223         (CFLAGS-tst-lfschk2.c): Likewise.
41224         (CFLAGS-tst-lfschk3.c): Likewise.
41225         (CFLAGS-tst-lfschk4.cc): Likewise.
41226         (CFLAGS-tst-lfschk5.cc): Likewise.
41227         (CFLAGS-tst-lfschk6.cc): Likewise.
41229         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
41230         (main): Disable -Wdeprecated-declarations around calls to
41231         register_printf_function.
41233         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
41234         (do_test): Disable -Wdiv-by-zero around some calls to
41235         fwrite_unlocked and fread_unlocked.
41237         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
41238         (DIAG_POP_NEEDS_COMMENT): Likewise.
41239         (_DIAG_STR1): Likewise.
41240         (_DIAG_STR): Likewise.
41241         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
41242         * stdio-common/bug21.c: Include <libc-internal.h>.
41243         (do_test): Disable -Wformat around call to sscanf.
41244         * stdio-common/scanf14.c: Include <libc-internal.h>.
41245         (main): Disable -Wformat around some calls to scanf functions.
41247 2014-12-09  Torvald Riegel  <triegel@redhat.com>
41249         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
41251 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41253         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
41254         stack variable alignment.
41256 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
41258         [BZ #17682]
41259         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
41260         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
41261         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
41262         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
41263         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
41264         __getrlimit instead of getrlimit.
41265         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
41266         __gettimeofday instead of gettimeofday.
41267         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
41268         Likewise.
41269         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
41270         Likewise.
41271         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41272         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
41273         Remove variable.
41274         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41275         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
41277 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41279         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
41280         for wide-character tests.
41282 2014-12-04  Roland McGrath  <roland@hack.frob.com>
41284         * io/openat64.c: #include <libc-internal.h>
41285         (__openat64): Prototypify.  Use ignore_value on MODE.
41286         * io/openat.c: Likewise.
41287         * misc/reboot.c: #include <libc-internal.h>
41288         (reboot): Prototypify.  Use ignore_value on HOWTO.
41289         * misc/ptrace.c: #include <libc-internal.h>
41290         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
41292 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
41294         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
41295         XPG4, UNIX98 and XOPEN2K.
41296         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
41297         Remove variable.
41298         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41300 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41302         * libio/fileops.c: Use ISO C style for function definitions.
41303         * libio/iofopen.c: Likewise.
41304         * libio/wfileops.c: Likewise.
41306         [BZ #17653]
41307         * libio/fileops.c (_IO_new_file_underflow): Unset cached
41308         offset on EOF.
41309         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
41310         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
41311         (fgets_func): Function pointer to fgets and fgetws.
41312         (do_ftell_test): Add test to verify ftell value after read
41313         EOF.
41314         (do_test): Set fgets_func.
41316         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
41317         O_TRUNC flag for w and w+ modes.
41318         (do_rewind_test): Likewise.
41319         (do_ftell_test): Likewise.
41320         (do_write_test): Likewise.
41322         [BZ #17647]
41323         * libio/fileops.c (do_ftell): Seek only when there are
41324         unflushed writes.
41325         * libio/wfileops.c (do_ftell_wide): Likewise.
41326         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
41327         test case.
41328         (do_one_test): Call it.
41330 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
41332         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
41333         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
41334         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
41335         Remove variable.
41336         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41337         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41338         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41340 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
41342         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
41343         Remove variable.
41344         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41346         [BZ #17668]
41347         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
41348         as weak alias of __getifaddrs.  Use libc_hidden_weak.
41349         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41350         __freeifaddrs.  Use libc_hidden_weak.
41351         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
41352         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
41353         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41354         __freeifaddrs.  Use libc_hidden_weak.
41355         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
41356         __getifaddrs and define as weak alias of __getifaddrs.  Use
41357         libc_hidden_weak.
41358         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41359         __freeifaddrs.  Use libc_hidden_weak.
41360         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
41361         Remove variable.
41362         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
41363         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
41365 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
41367         [BZ #17601]
41368         * sysdeps/mips/start.S (__start): Use indirect jump to call
41369         __libc_start_main.
41371 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
41373         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
41375         * nptl/tst-mutex1.c: Include <stdbool.h>.
41376         [!ATTR] (ATTR_NULL): New macro.
41377         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
41378         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
41379         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
41381         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
41382         to char *.
41384         [BZ #17665]
41385         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
41386         Change conditional to [__USE_MISC].
41388         [BZ #17664]
41389         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
41390         fgets_unlocked.
41391         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
41392         __fgets_unlocked.
41393         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
41394         fgets_unlocked.
41395         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
41396         Remove variable.
41397         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
41398         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
41399         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
41400         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
41401         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
41402         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
41403         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
41404         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
41405         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
41407         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
41409 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41411         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41412         Remove strpbrk objects.
41413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41414         (__libc_ifunc_impl_list): Remove strpbrk implementation.
41415         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
41416         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
41417         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
41418         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
41420         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41421         Remove strcspn objects.
41422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41423         (__libc_ifunc_impl_list): Remove strcspn implementation.
41424         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
41425         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
41426         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
41427         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
41429         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41430         Remove strspn objetcs.
41431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41432         (__libc_ifunc_impl_list): Remove strspn implementation.
41433         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
41434         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41435         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
41436         * sysdeps/powerpc/powerpc64/strspn.S: New file.
41438 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
41440         [BZ #17581]
41441         * malloc/hooks.c
41442         (mem2mem_check): Add a terminator to the chain of checking blocks.
41443         (malloc_check_get_size): Use it here.
41444         (mem2chunk_check): Ditto.
41446 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41448         * sysdeps/powerpc/powerpc64/strtok.S: New file.
41449         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
41451 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
41453         * bits/ioctl-types.h: Indent preprocessor directives correctly.
41455         * nptl/nptl-init.c: Include libc-internal.h.
41456         (__pthread_initialize_minimal_internal): Use ROUND_UP.
41458         * elf/ldconfig.c (search_dir): Expand comment.
41460 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
41462         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
41463         variable.
41464         (linknamespace-symlist-stdlibs-tests): Likewise.
41465         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
41466         instead of $(objpfx)symlist-stdlibs.
41467         (linknamespace-libs-isoc): New variable.
41468         (linknamespace-libs): Use $(linknamespace-libs-isoc).
41469         (linknamespace-libs-ISO): New variable.
41470         (linknamespace-libs-ISO99): Likewise.
41471         (linknamespace-libs-ISO11): Likewise.
41472         (linknamespace-libs-XPG3): Likewise.
41473         (linknamespace-libs-XPG4): Likewise.
41474         (linknamespace-libs-POSIX): Likewise.
41475         (linknamespace-libs-UNIX98): Likewise.
41476         (linknamespace-libs-XOPEN2K): Likewise.
41477         (linknamespace-libs-POSIX2008): Likewise.
41478         (linknamespace-libs-XOPEN2K8): Likewise.
41479         ($(objpfx)symlist-stdlibs): Replace by
41480         $(linknamespace-symlist-stdlibs-tests).  Use
41481         $(linknamespace-libs-$*) as set of libraries.
41482         ($(linknamespace-header-tests)): Update dependencies.  Use
41483         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
41484         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
41485         * conform/linknamespace.pl: Remove comment about considering
41486         definitions of symbols from irrelevant libraries.
41488 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
41490         [BZ #13862]
41491         * elf/dl-tls.c: Include <atomic.h>.
41492         (oom): Remove #ifdef SHARED/#endif.
41493         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
41494         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
41495         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
41496         big enough.
41497         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
41498         * nptl/Makefile (tests): Add tst-stack4.
41499         (modules-names): Add tst-stack4mod.
41500         ($(objpfx)tst-stack4): New.
41501         (tst-stack4mod.sos): Likewise.
41502         ($(objpfx)tst-stack4.out): Likewise.
41503         ($(tst-stack4mod.sos)): Likewise.
41504         (clean): Likewise.
41505         * nptl/tst-stack4.c: New file.
41506         * nptl/tst-stack4mod.c: Likewise.
41508 2014-11-27  J. Brown  <jb999@gmx.de>
41510         * sysdeps/x86/bits/string.h: Add recent CPUs.
41512 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
41514         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
41515         sigblock.
41517         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
41518         feof.
41520         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
41521         variable.
41523 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
41525         * nscd/connections.c: Include libc-internal.h because of macro
41526         usage ignore_value.
41528 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41530         * string/bits/string3.h (__warn_memset_zero_len): Don't
41531         declare for gcc newer than 5.0.
41532         (memset): Don't test for zero-length __LEN for gcc newer than
41533         5.0.
41535 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
41537         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
41538         size_t for %zu format.
41540         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
41541         difference, not %ju.
41543 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
41545         * include/libc-internal.h (ignore_value): New macro.
41546         * nscd/connections.c (restart): Wrap calls to setuid and setgid
41547         with ignore_value.
41549         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
41550         definition.
41552         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
41553         pthread_cleanup_push to void *.
41555         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
41556         Undefine.
41558         [BZ #16619]
41559         [BZ #16740]
41560         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
41561         instead of 1L << 52.
41563         * libio/bug-rewind.c (do_test): Check fwscanf return values.
41564         * libio/bug-rewind2.c (do_test): Likewise.
41566         * debug/test-stpcpy_chk-ifunc.c: Remove file.
41567         * debug/test-strcpy_chk-ifunc.c: Likewise.
41568         * wcsmbs/test-wcschr-ifunc.c: Likewise.
41569         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41570         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41571         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41572         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41573         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41574         * Rules [$(multi-arch) = no] (tests): Do not filter out
41575         $(tests-ifunc).
41576         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
41577         * debug/Makefile (tests-ifunc): Remove variable.
41578         (tests): Do not add $(tests-ifunc).
41579         * wcsmbs/Makefile (tests-ifunc): Remove variable.
41580         (tests): Do not add $(tests-ifunc).
41581         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
41582         [TEST_IFUNC]: Remove conditionals.
41583         * string/test-string.h (TEST_IFUNC): Remove macro.
41584         [TEST_IFUNC]: Remove conditionals.
41586         * string/test-strchr.c [!WIDE] (L): New macro.
41587         [WIDE] (L): Likewise.
41588         (check1): Use CHAR instead of char.  Use L on string and character
41589         constants.
41591 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
41593         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
41594         tests.
41595         * sysdeps/powerpc/bits/atomic.h
41596         (__arch_atomic_exchange_and_add_32_acq): Add definition.
41597         (__arch_atomic_exchange_and_add_32_rel): Likewise.
41598         (atomic_exchange_and_add_acq): Likewise.
41599         (atomic_exchange_and_add_rel): Likewise.
41600         * sysdeps/powerpc/powerpc32/bits/atomic.h
41601         (__arch_atomic_exchange_and_add_64_acq): Add definition.
41602         (__arch_atomic_exchange_and_add_64_rel): Likewise.
41603         * sysdeps/powerpc/powerpc64/bits/atomic.h
41604         (__arch_atomic_exchange_and_add_64_acq): Add definition.
41605         (__arch_atomic_exchange_and_add_64_rel): Likewise.
41607 2014-11-26  Torvald Riegel  <triegel@redhat.com>
41609         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
41610         Change synchronization of __sched_fifo_min_prio and
41611         __sched_fifo_max_prio.
41612         * nptl/pthread_mutexattr_getprioceiling.c
41613         (pthread_mutexattr_getprioceiling): Likewise.
41614         * nptl/pthread_mutexattr_setprioceiling.c
41615         (pthread_mutexattr_setprioceiling): Likewise.
41616         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
41617         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
41618         Likewise.
41620 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
41622         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
41623         void.
41625 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
41627         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
41628         third argument const.
41630 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
41632         fnmatch: work around GCC compiler warning bug with uninit var
41633         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
41634         This works around a bug with x86-64 GCC 4.9.2 and earlier
41635         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
41636         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
41637         used uninitialized in this function [-Wmaybe-uninitialized]".
41639 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
41641         * posix/bug-regex31.c (main): Return RES not 0.
41643 2014-11-25  Anton Blanchard <anton@samba.org>
41645         * sysdeps/powerpc/bits/atomic.h
41646         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
41648 2014-11-24  Sterling Augustine  <saugustine@google.com>
41650         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
41652 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
41654         [BZ #17608]
41655         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
41657 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
41659         [BZ #17633]
41660         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
41661         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
41662         variable.
41663         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41664         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41666 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41668         * string/strncpy.c (strncpy): Improve performance by using memset.
41670 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41672         * string/strcpy.c (strcpy):
41673         Improve performance by using strlen and memcpy.
41675 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
41677         * string/strcoll_l.c (get_next_seq): __always_inline.
41678         * string/strcoll_l.c (do_compare): __always_inline.
41680 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41682         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
41683         defined.
41684         * include/mqueue.h: Likewise.
41685         * include/stdlib.h: Likewise.
41687         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
41688         (get_null_defines): Adjust.
41689         * sunrpc/Makefile: Adjust comment.
41690         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
41691         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
41692         (CFLAGS-interp.c): Likewise.
41693         (CFLAGS-ldconfig.c): Likewise.
41694         (CPPFLAGS-.os): Likewise.
41695         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41696         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41697         * extra-modules.mk (extra-modules.mk): Likewise.
41698         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
41699         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
41700         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
41701         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
41702         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
41703         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
41704         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
41705         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
41706         * iconvdata/Makefile (CPPFLAGS): Likewise.
41707         (cpp-srcs-left): Add libof for all iconvdata routines.
41708         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
41709         * include/assert.h: Likewise.
41710         * include/ctype.h: Likewise.
41711         * include/errno.h: Likewise.
41712         * include/libc-symbols.h: Likewise.
41713         * include/math.h: Likewise.
41714         * include/netdb.h: Likewise.
41715         * include/resolv.h: Likewise.
41716         * include/stdio.h: Likewise.
41717         * include/stdlib.h: Likewise.
41718         * include/string.h: Likewise.
41719         * include/sys/stat.h: Likewise.
41720         * include/wctype.h: Likewise.
41721         * intl/l10nflist.c: Likewise.
41722         * libidn/idn-stub.c: Likewise.
41723         * libio/libioP.h: Likewise.
41724         * nptl/libc_multiple_threads.c: Likewise.
41725         * nptl/pthreadP.h: Likewise.
41726         * posix/regex_internal.h: Likewise.
41727         * resolv/res_hconf.c: Likewise.
41728         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
41729         * sysdeps/arm/memmove.S: Likewise.
41730         * sysdeps/arm/sysdep.h: Likewise.
41731         * sysdeps/generic/_itoa.h: Likewise.
41732         * sysdeps/generic/symbol-hacks.h: Likewise.
41733         * sysdeps/gnu/errlist.awk: Likewise.
41734         * sysdeps/gnu/errlist.c: Likewise.
41735         * sysdeps/i386/i586/memcpy.S: Likewise.
41736         * sysdeps/i386/i586/memset.S: Likewise.
41737         * sysdeps/i386/i686/memcpy.S: Likewise.
41738         * sysdeps/i386/i686/memmove.S: Likewise.
41739         * sysdeps/i386/i686/mempcpy.S: Likewise.
41740         * sysdeps/i386/i686/memset.S: Likewise.
41741         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41742         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41743         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
41744         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
41745         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41746         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41747         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
41748         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41749         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41750         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41751         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41752         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41753         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41754         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41755         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41756         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41757         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
41758         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
41759         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
41760         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41761         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41762         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41763         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41764         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41765         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41766         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41767         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
41768         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41769         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
41770         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41771         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41772         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41773         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41774         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41775         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41776         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41777         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41778         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41779         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41780         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41781         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41782         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41783         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41784         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41785         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41786         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41787         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
41788         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
41789         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41790         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41791         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41792         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
41793         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
41794         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41795         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41796         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
41797         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41798         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
41799         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
41800         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41801         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41802         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41803         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
41804         * sysdeps/nptl/bits/libc-lock.h: Likewise.
41805         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41806         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
41807         * sysdeps/posix/closedir.c: Likewise.
41808         * sysdeps/posix/opendir.c: Likewise.
41809         * sysdeps/posix/readdir.c: Likewise.
41810         * sysdeps/posix/rewinddir.c: Likewise.
41811         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
41812         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
41813         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41814         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41815         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41816         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
41817         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
41818         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
41819         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
41820         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
41821         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
41822         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
41823         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
41824         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
41825         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
41826         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
41827         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
41828         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
41829         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
41830         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
41831         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
41832         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
41833         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
41834         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
41835         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
41836         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
41837         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
41838         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
41839         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
41840         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
41841         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
41842         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
41843         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
41844         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
41845         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
41846         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
41847         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41848         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41849         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
41850         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
41851         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
41852         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
41853         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
41854         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
41855         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
41856         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
41857         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
41858         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
41859         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
41860         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
41861         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
41862         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
41863         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
41864         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
41865         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
41866         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
41867         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
41868         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
41869         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
41870         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
41871         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
41872         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
41873         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
41874         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
41875         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
41876         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
41877         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
41878         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
41879         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
41880         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
41881         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
41882         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
41883         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
41884         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
41885         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
41886         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
41887         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
41888         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
41889         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41890         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
41891         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
41892         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41893         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
41894         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
41895         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41896         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
41897         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
41898         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41899         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41900         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41901         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
41902         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
41903         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
41904         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41905         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41906         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
41907         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41908         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41909         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
41910         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
41911         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41912         * sysdeps/unix/alpha/sysdep.S: Likewise.
41913         * sysdeps/unix/alpha/sysdep.h: Likewise.
41914         * sysdeps/unix/make-syscalls.sh: Likewise.
41915         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41916         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41917         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41918         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
41919         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41920         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
41921         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
41922         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41923         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41924         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
41925         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41926         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41927         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41928         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
41929         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41930         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41931         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41932         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
41933         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
41934         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41935         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
41936         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41937         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41938         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41939         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41940         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41941         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
41943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
41944         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
41945         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41946         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41947         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41948         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41949         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41950         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41951         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41952         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41953         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41954         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41955         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41956         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41957         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41958         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41959         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41960         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41961         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41962         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41963         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41964         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41965         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41966         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41967         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41968         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41969         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
41970         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41971         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41972         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41973         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
41974         * sysdeps/x86_64/memcpy.S: Likewise.
41975         * sysdeps/x86_64/memmove.c: Likewise.
41976         * sysdeps/x86_64/memset.S: Likewise.
41977         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
41978         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41979         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41980         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
41981         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
41982         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41983         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41984         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41985         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41986         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41987         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41988         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41989         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
41990         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41991         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41992         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
41993         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
41994         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41995         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41996         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41997         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
41998         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41999         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42000         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42001         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42002         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42003         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42004         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
42005         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42006         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42007         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
42008         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42009         * sysdeps/x86_64/strcmp.S: Likewise.
42011         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
42013         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
42014         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
42015         * elf/rtld-Rules: Likewise.
42016         * elf/setup-vdso.h: Likewise.
42017         * include/assert.h: Likewise.
42018         * include/bits/stdlib-float.h: Likewise.
42019         * include/errno.h: Likewise.
42020         * include/sys/stat.h: Likewise.
42021         * include/unistd.h: Likewise.
42022         * sysdeps/aarch64/setjmp.S: Likewise.
42023         * sysdeps/alpha/setjmp.S: Likewise.
42024         * sysdeps/arm/__longjmp.S: Likewise.
42025         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
42026         * sysdeps/arm/setjmp.S: Likewise.
42027         * sysdeps/arm/sysdep.h: Likewise.
42028         * sysdeps/generic/_itoa.h: Likewise.
42029         * sysdeps/generic/dl-sysdep.h: Likewise.
42030         * sysdeps/generic/ldsodefs.h: Likewise.
42031         * sysdeps/i386/dl-tls.h: Likewise.
42032         * sysdeps/i386/setjmp.S: Likewise.
42033         * sysdeps/m68k/setjmp.c: Likewise.
42034         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
42035         * sysdeps/mach/hurd/opendir.c: Likewise.
42036         * sysdeps/posix/getcwd.c: Likewise.
42037         * sysdeps/posix/opendir.c: Likewise.
42038         * sysdeps/posix/profil.c: Likewise.
42039         * sysdeps/powerpc/dl-procinfo.h: Likewise.
42040         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42041         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42042         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42043         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42044         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
42045         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42046         * sysdeps/s390/dl-tls.h: Likewise.
42047         * sysdeps/s390/s390-32/setjmp.S: Likewise.
42048         * sysdeps/s390/s390-64/setjmp.S: Likewise.
42049         * sysdeps/sh/sh3/setjmp.S: Likewise.
42050         * sysdeps/sh/sh4/setjmp.S: Likewise.
42051         * sysdeps/unix/alpha/sysdep.h: Likewise.
42052         * sysdeps/unix/arm/sysdep.S: Likewise.
42053         * sysdeps/unix/i386/sysdep.S: Likewise.
42054         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42055         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42056         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42057         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42058         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42059         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
42060         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
42061         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42062         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
42063         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
42064         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
42065         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42066         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42069         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42070         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42071         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42072         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42073         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42074         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42075         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42076         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42077         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42078         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42079         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42080         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42081         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42082         * sysdeps/x86_64/setjmp.S: Likewise.
42084         * include/math.h: Use IS_IN instead of IS_IN_libm.
42085         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
42086         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42087         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42088         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
42089         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42090         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42091         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42092         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42093         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42094         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42095         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
42096         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
42097         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
42098         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
42099         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
42100         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
42101         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
42102         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
42103         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
42104         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
42105         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
42106         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
42107         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
42108         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
42109         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
42110         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
42111         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
42112         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
42113         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
42114         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
42115         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
42116         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42117         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
42119         Likewise.
42120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
42121         Likewise.
42122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
42123         Likewise.
42124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
42125         Likewise.
42126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
42127         Likewise.
42128         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42129         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
42130         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42131         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42132         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42133         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
42135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
42136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
42137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
42138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
42139         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
42140         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
42141         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42142         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42143         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42144         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42145         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42146         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42147         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42148         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
42149         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
42150         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
42151         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
42152         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
42153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42154         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
42156         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
42157         * nptl/pthreadP.h: Likewise.
42158         * nptl_db/structs.def: Likewise.
42159         * sysdeps/arm/sysdep.h: Likewise.
42160         * sysdeps/nptl/bits/libc-lock.h: Likewise.
42161         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
42162         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
42163         * sysdeps/unix/alpha/sysdep.h: Likewise.
42164         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42165         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42166         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42167         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42168         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42169         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42170         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42171         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42172         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42173         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42174         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42175         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42176         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42177         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
42179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
42180         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42181         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42182         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42183         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42184         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42185         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42186         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42187         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42188         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
42189         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42191         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
42192         * nptl/pthreadP.h: Likewise.
42193         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42194         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42195         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42196         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42197         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42198         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42199         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42200         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42201         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42202         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42203         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42204         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42206         Likewise.
42207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42208         Likewise.
42209         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42210         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42211         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42212         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42213         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42214         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42215         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42216         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42218         * dlfcn/dladdr.c: Use IS_IN.
42219         * dlfcn/dladdr1.c: Likewise.
42220         * dlfcn/dlclose.c: Likewise.
42221         * dlfcn/dlerror.c: Likewise.
42222         * dlfcn/dlinfo.c: Likewise.
42223         * dlfcn/dlmopen.c: Likewise.
42224         * dlfcn/dlopen.c: Likewise.
42225         * dlfcn/dlsym.c: Likewise.
42226         * dlfcn/dlvsym.c: Likewise.
42228         * include/ifaddrs.h: Use IS_IN.
42229         * inet/check_pf.c: Likewise.
42230         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42231         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
42233         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
42234         IS_IN_ldconfig.
42235         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
42236         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
42238         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
42239         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
42240         IS_IN (libc).
42242         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
42244         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
42245         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42246         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
42247         * include/libc-symbols.h (IS_IN_LIB): New macro.
42248         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
42249         * include/netdb.h: Likewise.
42250         * include/stap-probe.h: Remove all uses of IN_LIB.
42252         * Makeconfig (module-cppflags-real): Define MODULE_NAME
42253         instead of IN_MODULE.
42254         * include/libc-symbols.h (IN_MODULE): Define using
42255         MODULE_NAME.
42256         (PASTE_NAME, PASTE_NAME1): New macros.
42257         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
42258         of IN_LIB.
42259         (STAP_PROBE_ASM): Likewise.
42261 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42263         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
42264         __mach_init in dlopened libc.
42266 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
42268         * sysdeps/arm/preconfigure.ac: Delete EABI check.
42269         * sysdeps/arm/preconfigure: Regenerate.
42271 2014-11-21  Roland McGrath  <roland@hack.frob.com>
42273         * nptl/pthread_create.c (__pthread_create_2_1): Set
42274         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
42275         when copying values from IATTR into PD.
42277 2014-11-21  Will Newton  <will.newton@linaro.org>
42278             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
42280         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
42281         Refactor inline-asm.  Also add comment.
42283         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
42284         ElfW macro instead of hardcoded Elf64 types.
42285         (la_aarch64_gnu_pltenter): Likewise.
42286         * sysdeps/aarch64/dl-machine.h
42287         (elf_machine_runtime_setup): Use ElfW(Addr).
42289         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
42290         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
42291         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
42292         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
42293         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
42294         (R_AARCH64_TLS_DTPMOD64): Rename to ..
42295         (R_AARCH64_TLS_DTPMOD): This.
42296         (R_AARCH64_TLS_DTPREL64): Rename to ...
42297         (R_AARCH64_TLS_DTPREL): This.
42298         (R_AARCH64_TLS_TPREL64): Rename to ...
42299         (R_AARCH64_TLS_TPREL): This.
42300         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
42301         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
42302         R_AARCH64_TLS_TPREL64.
42303         (elf_machine_rela): Likewise.
42305 2014-11-21  Torvald Riegel  <triegel@redhat.com>
42307         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
42308         by setting it to 0.  64b atomics are not supported currently.
42310 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42312         [BZ #16469]
42313         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
42314         search domain names.
42316 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42318         [BZ #16469]
42319         * NEWS: Update.
42320         * resolv/res_query.c (__libc_res_nquerydomain): Retain
42321         trailing dot.
42322         * posix/tst-getaddrinfo5.c: New.
42323         * posix/Makefile (tests): Add it.
42325 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42327         [BZ #14498]
42328         * NEWS: Fixed.
42329         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
42330         after parsing line but before break_if_match.
42331         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
42332         if there is a protocol mismatch.
42334 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
42336         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
42337         because the potential race is on the user-supplied stream.
42339 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42341         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
42342         string literal if not passed a buffer.
42343         * manual/job.texi (ctermid): Update reasoning, note deviation
42344         from posix, suggest mtasurace when not passed a buffer, for
42345         future non-preliminary safety notes.
42347 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42349         * manual/users.texi (cuserid): Fix MT-Safety note for the case
42350         of not passing it a buffer.
42351         Reported by Peng Haitao.
42353 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42355         * manual/Makefile ($(objpfx)stamp-summary): Require
42356         check-safety.sh to pass.
42357         * manual/check-safety.sh: Wish for verification that every
42358         @deftypefn and @deftypefun is followed by a @safety remark.
42360 2014-11-20  Roland McGrath  <roland@hack.frob.com>
42362         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
42364         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
42365         PTHREAD_CANCEL_ASYNCHRONOUS.
42366         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
42367         send SIGCANCEL.
42369         * nptl/default-sched.h: New file.
42370         * sysdeps/unix/sysv/linux/default-sched.h: New file.
42371         * nptl/pthread_create.c: Include it.
42372         (__pthread_create_2_1): Use collect_default_sched instead of making
42373         Linux syscalls here directly.
42375 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42377         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
42378         __pthread_once): Use C11 atomics.
42380 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42382         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
42384 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42386         * include/atomic.h (__atomic_link_error, __atomic_check_size,
42387         atomic_thread_fence_acquire, atomic_thread_fence_release,
42388         atomic_thread_fence_seq_cst, atomic_load_relaxed,
42389         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
42390         atomic_compare_exchange_weak_relaxed,
42391         atomic_compare_exchange_weak_acquire,
42392         atomic_compare_exchange_weak_release,
42393         atomic_exchange_acquire, atomic_exchange_release,
42394         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
42395         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
42396         atomic_fetch_and_acquire,
42397         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
42399 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42401         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
42402         USE_ATOMIC_COMPILER_BUILTINS): Define.
42403         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
42404         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42405         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
42406         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42407         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
42408         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42409         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
42410         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42411         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
42412         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42413         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
42414         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42415         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
42416         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42417         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
42418         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42419         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42420         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42421         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42422         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42423         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
42424         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42425         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42426         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42427         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
42428         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42429         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42430         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42431         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
42432         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42433         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
42434         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42435         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
42436         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42437         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
42438         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42439         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
42440         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42441         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
42442         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42444 2014-11-19  Roland McGrath  <roland@hack.frob.com>
42446         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
42447         the sched_priority value here.  It was already checked when the user
42448         called pthread_attr_setschedparam.
42450         * nptl/tst-bad-schedattr.c: New file.
42451         * nptl/Makefile (tests): Add it.
42453 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
42454             Florian Weimer  <fweimer@redhat.com>
42455             Joseph Myers  <joseph@codesourcery.com>
42456             Adam Conrad  <adconrad@0c3.net>
42457             Andreas Schwab  <schwab@suse.de>
42458             Brooks  <bmoses@google.com>
42460         [BZ #17625]
42461         * wordexp-test.c (__dso_handle): Add prototype.
42462         (__register_atfork): Likewise.
42463         (__app_register_atfork): New function.
42464         (registered_forks): New global.
42465         (register_fork): New function.
42466         (test_case): Add 3 new tests for WRDE_CMDSUB.
42467         (main): Call __app_register_atfork.
42468         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
42469         fork count is non-zero fail the test.
42470         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
42471         is set.
42472         (parse_dollars): Remove check for WRDE_NOCMD.
42473         (parse_dquote): Likewise.
42475 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42477         * Makeconfig (built-modules): List non-library modules to be
42478         built.
42479         (module-cppflags): Include libc-modules.h for
42480         everything except shlib-versions.v.i.
42481         (CPPFLAGS): Use it.
42482         (before-compile): Add libc-modules.h.
42483         ($(common-objpfx)libc-modules.h,
42484         $(common-objpfx)libc-modules.stmp): New targets.
42485         (common-generated): Add libc-modules.h and libc-modules.stmp.
42486         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
42487         * include/libc-symbols.h: Don't include libc-modules.h.
42488         * include/libc-modules.h: Remove file.
42489         * scripts/gen-libc-modules.awk: New script to generate
42490         libc-modules.h.
42491         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
42492         Depend on libc-modules.stmp.
42494         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
42496         * Makeconfig (in-module): Get value of libof set for the
42497         translation unit.
42498         (CPPFLAGS): Use $(in-module).
42499         * Makerules: Don't suffix routine names for nonlib.
42500         * include/libc-modules.h: New file.
42501         * include/libc-symbols.h: Include libc-modules.h
42502         (IS_IN): New macro to replace IS_IN_* macros.
42503         * elf/Makefile: Set libof-* for each routine.
42504         * elf/rtld-Rules: Likewise.
42505         * extra-modules.mk: Likewise.
42506         * iconv/Makefile: Likewise.
42507         * iconvdata/Makefile: Likewise.
42508         * locale/Makefile: Likewise.
42509         * malloc/Makefile: Likewise.
42510         * nss/Makefile: Likewise.
42511         * sysdeps/gnu/Makefile: Likewise.
42512         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
42513         * sysdeps/unix/sysv/linux/Makefile: Likewise.
42514         * sysdeps/s390/s390-64/Makefile: Likewise.
42515         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
42516         CPPFLAGS for nscd instead of nonlib.
42518 2014-11-18  Roland McGrath  <roland@hack.frob.com>
42520         * nptl/createthread.c: New file.
42522         * nptl/createthread.c: Moved ...
42523         * sysdeps/unix/sysv/linux/createthread.c: ... here.
42525         * nptl/createthread.c: Add proper top-line comment.
42526         (do_clone): Folded into ...
42527         (create_thread): ... here.  Take new arguments STOPPED_START and
42528         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
42529         increment __nptl_threads, do event-reporting logic, do
42530         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
42531         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
42532         resource cleanup if sched_setaffinity or sched_setscheduler fails,
42533         just send SIGCANCEL.
42534         * nptl/pthread_create.c: Forward-declare create_thread before
42535         including createthread.c.
42536         (start_thread): Use new macro START_THREAD_DEFN to replace defining
42537         declaration, and new macro START_THREAD_SELF to replace argument.
42538         Remove return statement.
42539         (report_thread_creation): New function.
42540         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
42541         synchronization logic, and __nptl_nthreads increment here, around
42542         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
42543         PD->parent_cancelhandling here, before create_thread.  When
42544         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
42545         __deallocate_stack, and ENOMEM translation here.
42547 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
42549         [BZ #17616]
42550         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
42551         (mptwo): Rename to __mptwo.
42552         (__inv): Use __mptwo instead of mptwo.
42553         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
42554         (mptwo): Rename to __mptwo.
42555         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
42556         of mpone and __mptwo instead of mptwo.
42557         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
42558         instead of mpone.
42559         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42560         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
42561         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
42562         of mpone and __mptwo instead of mptwo.
42563         (__mpranred): Use __mpone instead of mpone.
42564         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
42565         variable.
42566         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42567         (test-xfail-ISO99/math.h/linknamespace): Likewise.
42568         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42569         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42570         (test-xfail-ISO11/math.h/linknamespace): Likewise.
42571         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42572         (test-xfail-XPG3/math.h/linknamespace): Likewise.
42573         (test-xfail-XPG4/math.h/linknamespace): Likewise.
42574         (test-xfail-POSIX/math.h/linknamespace): Likewise.
42575         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42576         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42577         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42578         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42579         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42580         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42581         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42582         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42583         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42584         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42586 2014-11-18  Tom de Vries  <tom@codesoucery.com>
42588         * manual/signal.texi (Primitives Interrupted by Signals): In section,
42589         replace BSD Handler xref with BSD Signal Handling.
42591 2014-11-17  Richard Henderson  <rth@redhat.com>
42593         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
42594         (_FP_PACK_RAW_2): Remove.
42595         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
42596         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
42597         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
42598         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
42599         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
42600         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
42601         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
42602         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
42603         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
42604         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
42605         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
42606         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
42607         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
42608         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
42609         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
42610         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
42612 2014-11-14  Roland McGrath  <roland@hack.frob.com>
42614         * signal/signal.h [__USE_MISC]
42615         (struct sigvec): Remove type.
42616         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
42617         (sigvec): Remove declaration.
42618         * sysdeps/posix/sigvec.c: Moved ...
42619         * signal/sigvec.c: ... here, replacing old file.
42620         (struct sigvec): New type, copied from old signal.h definition.
42621         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
42622         (__sigvec): Convert definition to prototype.
42623         (sigvec): Replace weak_alias with compat_symbol.
42624         * signal/Versions (libc: GLIBC_2.21): New version set.
42625         * include/signal.h: Remove __sigvec declaration.
42626         * sysdeps/unix/bsd/sigvec.c: Remove file.
42627         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
42628         * manual/signal.texi (BSD Handler): Remove subsection.
42629         Move siginterrupt up to ...
42630         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
42631         (Blocking in BSD): Fold subsection into its parent.
42632         * NEWS: Mention sigvec removal.
42634 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42636         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
42637         (DLA_FMS): Make definition conditional only on [__FMA4__].
42638         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
42639         definition.
42641         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
42642         Make definition conditional only on [PROF].
42643         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
42644         definition.
42645         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
42646         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
42648         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
42649         !__GNUC__].
42650         * include/signal.h (__sigpause): Move declaration above call to
42651         libc_hidden_proto.
42652         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
42653         variable.
42654         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42655         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42657 2014-11-14  David S. Miller  <davem@davemloft.net>
42659         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
42660         Define before including <string/memcpy.c> and <string/mempcpy.c>.
42662 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42664         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
42665         * configure: Regenerated.
42666         * manual/install.texi (Tools for Compilation): Document a
42667         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
42668         compiler verified to work.
42669         * INSTALL: Regenerated.
42671         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
42672         redeclare with asm name.
42673         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
42674         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
42675         including <string.h>.
42676         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42677         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
42678         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42679         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
42680         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42681         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
42682         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42684 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
42686         * stdlib/strtol.c (__strtol): Use prototype definition.
42688         [BZ #17594]
42689         * stdlib/strtol.c (SYM__): New macro.
42690         (SYM__1): Likewise.
42691         (__strtol): Likewise.
42692         (strtol): Rename to __strtol and define as weak alias of
42693         __strtol.  Use libc_hidden_weak.
42695 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42697         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
42698         Use numbered labels in inline assembly.
42700 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42702         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
42703         Add setjmp LIBC_PROBE.
42704         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
42705         Likewise.
42706         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
42707         Add longjmp, longjmp_target LIBC_PROBE.
42708         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
42709         Likewise.
42711 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42713         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42714         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
42715         to get rid of unused variable warning.
42717 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42719         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
42720         Check for unwind_backtrace ==  NULL only in SHARED case.
42721         (__backchain_backtrace): Compile only in SHARED case.
42722         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
42723         Likewise.
42724         (__backchain_backtrace): Declare as static.
42726 2014-11-12  Roland McGrath  <roland@hack.frob.com>
42728         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
42729         (__libc_multiple_threads_ptr): Variable moved ...
42730         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
42732 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
42734         * conform/GlibcConform.pm: New file.
42735         * conform/conformtest.pl: Use GlibcConform module.
42736         * conform/linknamespace.pl: New file.
42737         * conform/list-header-symbols.pl: Likewise.
42738         * conform/Makefile (linknamespace-symlists-base): New variable.
42739         (linknamespace-symlists-tests): Likewise.
42740         (linknamespace-header-base): Likewise.
42741         (linknamespace-header-tests): Likewise.
42742         (tests-special): Add new tests.
42743         ($(linknamespace-symlists-tests)): New rule.
42744         (linknamespace-libs): New variable.
42745         ($(objpfx)symlist-stdlibs): New rule.
42746         ($(linknamespace-header-tests)): Likewise.
42747         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
42748         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
42749         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
42750         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
42751         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
42752         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
42753         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
42754         (test-xfail-ISO/math.h/linknamespace): Likewise.
42755         (test-xfail-ISO/signal.h/linknamespace): Likewise.
42756         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
42757         (test-xfail-ISO/time.h/linknamespace): Likewise.
42758         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42759         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
42760         (test-xfail-ISO99/math.h/linknamespace): Likewise.
42761         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42762         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42763         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42764         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42765         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
42766         (test-xfail-ISO11/math.h/linknamespace): Likewise.
42767         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42768         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42769         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42770         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
42771         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
42772         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
42773         (test-xfail-XPG3/math.h/linknamespace): Likewise.
42774         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
42775         (test-xfail-XPG3/search.h/linknamespace): Likewise.
42776         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
42777         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42778         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
42779         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
42780         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
42781         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
42782         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
42783         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
42784         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
42785         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
42786         (test-xfail-XPG4/math.h/linknamespace): Likewise.
42787         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
42788         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42789         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
42790         (test-xfail-XPG4/search.h/linknamespace): Likewise.
42791         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
42792         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
42793         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
42794         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
42795         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
42796         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42797         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
42798         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
42799         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
42800         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
42801         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
42802         (test-xfail-POSIX/math.h/linknamespace): Likewise.
42803         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
42804         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
42805         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
42806         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42807         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
42808         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42809         (test-xfail-POSIX/time.h/linknamespace): Likewise.
42810         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
42811         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
42812         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42813         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
42814         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
42815         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
42816         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
42817         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42818         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42819         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42820         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
42821         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
42822         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42823         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42824         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
42825         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42826         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
42827         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
42828         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
42829         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
42830         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42831         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42832         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
42833         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42834         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
42835         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
42836         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
42837         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
42838         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42839         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
42840         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
42841         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
42842         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
42843         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
42844         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42845         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42846         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
42847         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
42848         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
42849         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
42850         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42851         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
42852         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
42853         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42854         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
42855         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
42856         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
42857         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42858         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42859         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
42860         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
42861         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42862         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42863         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
42864         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
42865         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
42866         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
42867         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42868         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
42869         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
42870         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
42871         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
42872         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42873         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
42874         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42875         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
42876         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42877         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
42878         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
42879         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
42880         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42881         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42882         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42883         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42884         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
42885         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42886         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42887         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
42888         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
42889         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
42890         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
42891         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42892         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42893         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
42894         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42895         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
42896         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42897         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
42898         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
42899         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
42900         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42901         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
42902         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42903         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42904         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
42905         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42906         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42907         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
42909         [BZ #17589]
42910         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
42911         of fgets_unlocked.
42913         [BZ #17585]
42914         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
42915         (memmem): Rename to __memmem and define as weak alias of
42916         __memmem.  Use libc_hidden_weak.
42917         (__memmem): Use libc_hidden_def.
42918         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
42919         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
42920         memmem.
42922         [BZ #17582]
42923         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
42924         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
42925         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
42926         and define as weak alias of __fgets_unlocked.  Use
42927         libc_hidden_weak.
42928         (__fgets_unlocked): Use libc_hidden_def.
42929         * include/stdio.h (__fgets_unlocked): Declare.  Use
42930         libc_hidden_proto.
42931         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
42932         __fgets_unlocked instead of fgets_unlocked.
42933         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
42934         (GET_NPROCS_CONF_PARSER): Likewise.
42935         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
42936         (GET_NPROCS_CONF_PARSER): Likewise.
42938         [BZ #17574]
42939         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
42940         weak alias of __wmemset.  Use libc_hidden_weak.
42941         (__wmemset): Use libc_hidden_def.
42942         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
42943         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
42944         of wmemset.
42946         [BZ #17573]
42947         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
42948         with asm name __mempcpy.
42949         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
42951         [BZ #17572]
42952         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
42953         and define as weak alias of __rawmemchr.
42954         (__rawmemchr): Do not define as strong alias of rawmemchr.
42956         [BZ #17571]
42957         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
42958         alias of __qsort_r.
42959         (qsort): Call __qsort_r instead of qsort_r.
42960         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
42961         (__qsort_r): Declare.  Call libc_hidden_proto.
42962         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
42963         instead of qsort_r.
42964         * nscd/gai.c (__qsort_r): Define to qsort_r.
42965         * posix/tst-rfc3484.c (__qsort_r): Likewise.
42966         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
42967         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
42969         [BZ #17570]
42970         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
42971         define as weak alias of __malloc_info.
42973         [BZ #17584]
42974         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
42975         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42976         (__rewinddir): Use libc_hidden_def.
42977         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
42978         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42979         (__rewinddir): Use libc_hidden_def.
42980         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
42981         weak alias of __rewinddir.  Don't use libc_hidden_def.
42982         (__rewinddir): Use libc_hidden_def.
42983         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
42984         (__rewinddir): Use libc_hidden_proto.
42985         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
42986         rewinddir.
42987         (__getcwd): Use __rewinddir instead of rewinddir.
42989         [BZ #17583]
42990         * libio/fileno.c (fileno): Rename to __fileno and define as weak
42991         alias of __fileno.  Use libc_hidden_weak.
42992         (__fileno): Use libc_hidden_def.
42993         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
42994         * libio/ftello.c (ftello): Rename to __ftello and define as weak
42995         alias of __ftello.
42996         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
42997         __ftello.
42998         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
42999         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
43000         libc_hidden_def.
43001         (fread_unlocked): Don't use libc_hidden_ver.
43002         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
43003         and define as weak alias of __fread_unlocked.  Don't use
43004         libc_hidden_def.
43005         (__fread_unlocked): Use libc_hidden_def.
43006         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
43007         (ftello): Don't use libc_hidden_proto.
43008         (__ftello): Declare.  Use libc_hidden_proto.
43009         (fread_unlocked): Don't use libc_hidden_proto.
43010         (__fread_unlocked): Declare.  Use libc_hidden_proto.
43011         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
43012         and __ftello instead of fileno, fread_unlocked and ftello.
43014 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43016         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
43017         GOT12.
43018         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
43019         Likewise.
43020         (_dl_start_user): Likewise.
43021         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
43023 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
43024             Siddhesh Poyarekar  <siddhesh@redhat.com>
43026         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
43027         Move argv and envp down instead of moving argc up.
43028         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
43030 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
43032         [BZ #17506]
43033         * test-skeleton.c (main): Return successful if one of
43034         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
43035         * string/tst-strcoll-overflow.c: Define expected status.
43037 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
43039         [BZ #17475]
43040         * locale/iso-639.def: Define Bhili and Tulu language codes.
43042 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
43044         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
43046 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
43048         [BZ #17555]
43049         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
43051 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
43053         * configure.ac: Updated check of minimal required version to
43054         2.22.
43055         * manual/install.texi (Tools for Compilation): Updated version
43056         number.
43057         * configure: Regenerated.
43058         * INSTALL: Likewise.
43060 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
43062         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
43063         __tls_get_addr.
43065 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
43067         * include/sys/wait.h (__libc_waitpid): Remove declaration.
43068         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
43069         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43070         libc_hidden_weak.
43071         (waitpid): Define as alias of __waitpid.
43072         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
43073         __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/sysv/linux/i386/syscalls.list (waitpid): Remove
43078         __libc_waitpid alias.
43079         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
43080         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
43081         Likewise.
43082         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
43083         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
43084         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
43085         alias.
43086         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
43087         __waitpid.
43088         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43089         libc_hidden_weak.
43090         (waitpid): Define as alias of __waitpid.
43092 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
43094         * manual/llio.texi: Add comment that write safety has been
43095         fixed in Linux.
43097         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
43098         (localplt-build-dso): Add elf/ld.so.
43099         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
43100         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
43101         and free for ld.so.
43102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
43103         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
43104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
43105         Likewise.
43106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43107         Likewise.
43108         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
43109         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
43110         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
43111         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
43112         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
43113         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
43114         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
43115         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
43116         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
43117         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
43118         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
43120 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
43122         [BZ #14132]
43123         * include/libc-symbols.h (INTUSE): Remove macro.
43124         (INTDEF): Likewise.
43125         (INTVARDEF): Likewise.
43126         (_INTVARDEF): Likewise.
43127         (INTDEF2): Likewise.
43128         (INTVARDEF2): Likewise.
43129         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
43130         rtld_hidden_def instead of INTVARDEF.
43131         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
43132         (_dl_starting_up_internal): Remove declaration.
43133         (_dl_starting_up): Use rtld_hidden_proto.
43134         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
43135         declaration.
43136         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
43137         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
43138         _dl_starting_up.
43139         * elf/dl-writev.h (_dl_writev): Likewise.
43140         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
43141         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
43142         _dl_starting_up_internal.
43144 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43146         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
43147         test-skeleton.c.
43149 2014-11-05  Will Newton  <will.newton@linaro.org>
43151         * benchtests/Makefile: (bench-malloc): Add malloc thread
43152         scalability benchmark.
43153         * benchtests/bench-malloc-threads.c: New file.
43155 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
43157         * sysdeps/aarch64/strchrnul.S: New file.
43159 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43161         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
43162         definition.
43163         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43164         Likewise.
43165         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43166         Likewise.
43167         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43168         Likewise.
43169         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43170         Likewise.
43171         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43172         Likewise.
43174 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
43176         * catgets/test-gencat.c: Use test-skeleton.c.
43177         * catgets/tst-catgets.c: Likewise.
43178         * csu/tst-empty.c: Likewise.
43179         * elf/tst-audit2.c: Likewise.
43180         * elf/tst-global1.c: Likewise.
43181         * elf/tst-pathopt.c: Likewise.
43182         * elf/tst-piemod1.c: Likewise.
43183         * elf/tst-tls10.c: Likewise.
43184         * elf/tst-tls11.c: Likewise.
43185         * elf/tst-tls12.c: Likewise.
43186         * gnulib/tst-gcc.c: Likewise.
43187         * iconvdata/tst-e2big.c: Likewise.
43188         * iconvdata/tst-loading.c: Likewise.
43189         * iconv/tst-iconv1.c: Likewise.
43190         * iconv/tst-iconv2.c: Likewise.
43191         * inet/test-inet6_opt.c: Likewise.
43192         * inet/tst-gethnm.c: Likewise.
43193         * inet/tst-network.c: Likewise.
43194         * inet/tst-ntoa.c: Likewise.
43195         * intl/tst-codeset.c: Likewise.
43196         * intl/tst-gettext2.c: Likewise.
43197         * intl/tst-gettext3.c: Likewise.
43198         * intl/tst-ngettext.c: Likewise.
43199         * intl/tst-translit.c: Likewise.
43200         * io/test-stat.c: Likewise.
43201         * libio/test-fmemopen.c: Likewise.
43202         * libio/tst-freopen.c: Likewise.
43203         * libio/tst-sscanf.c: Likewise.
43204         * libio/tst-ungetwc1.c: Likewise.
43205         * libio/tst-ungetwc2.c: Likewise.
43206         * libio/tst-widetext.c: Likewise.
43207         * localedata/tst-ctype.c: Likewise.
43208         * localedata/tst-digits.c: Likewise.
43209         * localedata/tst-leaks.c: Likewise.
43210         * localedata/tst-mbswcs1.c: Likewise.
43211         * localedata/tst-mbswcs2.c: Likewise.
43212         * localedata/tst-mbswcs3.c: Likewise.
43213         * localedata/tst-mbswcs4.c: Likewise.
43214         * localedata/tst-mbswcs5.c: Likewise.
43215         * localedata/tst-setlocale.c: Likewise.
43216         * localedata/tst-trans.c: Likewise.
43217         * localedata/tst-wctype.c: Likewise.
43218         * localedata/tst-xlocale1.c: Likewise.
43219         * login/tst-grantpt.c: Likewise.
43220         * malloc/tst-calloc.c: Likewise.
43221         * malloc/tst-malloc.c: Likewise.
43222         * malloc/tst-mallocstate.c: Likewise.
43223         * malloc/tst-mcheck.c: Likewise.
43224         * malloc/tst-mtrace.c: Likewise.
43225         * malloc/tst-obstack.c: Likewise.
43226         * math/atest-exp2.c: Likewise.
43227         * math/atest-exp.c: Likewise.
43228         * math/atest-sincos.c: Likewise.
43229         * math/test-matherr.c: Likewise.
43230         * math/test-misc.c: Likewise.
43231         * math/test-powl.c: Likewise.
43232         * math/tst-definitions.c: Likewise.
43233         * misc/tst-dirname.c: Likewise.
43234         * misc/tst-efgcvt.c: Likewise.
43235         * misc/tst-fdset.c: Likewise.
43236         * misc/tst-hsearch.c: Likewise.
43237         * misc/tst-mntent2.c: Likewise.
43238         * nptl/tst-sem7.c: Likewise.
43239         * nptl/tst-sem8.c: Likewise.
43240         * nptl/tst-sem9.c: Likewise.
43241         * nss/test-netdb.c: Likewise.
43242         * posix/tst-fnmatch.c: Likewise.
43243         * posix/tst-getlogin.c: Likewise.
43244         * posix/tst-gnuglob.c: Likewise.
43245         * posix/tst-mmap.c: Likewise.
43246         * pwd/tst-getpw.c: Likewise.
43247         * resolv/tst-inet_ntop.c: Likewise.
43248         * rt/tst-timer.c: Likewise.
43249         * stdio-common/test-fseek.c: Likewise.
43250         * stdio-common/test-popen.c: Likewise.
43251         * stdio-common/test-vfprintf.c: Likewise.
43252         * stdio-common/tst-cookie.c: Likewise.
43253         * stdio-common/tst-fileno.c: Likewise.
43254         * stdio-common/tst-gets.c: Likewise.
43255         * stdio-common/tst-obprintf.c: Likewise.
43256         * stdio-common/tst-perror.c: Likewise.
43257         * stdio-common/tst-sprintf2.c: Likewise.
43258         * stdio-common/tst-sprintf3.c: Likewise.
43259         * stdio-common/tst-sprintf.c: Likewise.
43260         * stdio-common/tst-swprintf.c: Likewise.
43261         * stdio-common/tst-tmpnam.c: Likewise.
43262         * stdio-common/tst-unbputc.c: Likewise.
43263         * stdio-common/tst-wc-printf.c: Likewise.
43264         * stdlib/tst-environ.c: Likewise.
43265         * stdlib/tst-fmtmsg.c: Likewise.
43266         * stdlib/tst-limits.c: Likewise.
43267         * stdlib/tst-rand48-2.c: Likewise.
43268         * stdlib/tst-rand48.c: Likewise.
43269         * stdlib/tst-random2.c: Likewise.
43270         * stdlib/tst-random.c: Likewise.
43271         * stdlib/tst-strtol.c: Likewise.
43272         * stdlib/tst-strtoll.c: Likewise.
43273         * stdlib/tst-tls-atexit.c: Likewise.
43274         * stdlib/tst-xpg-basename.c: Likewise.
43275         * string/test-ffs.c: Likewise.
43276         * string/tst-bswap.c: Likewise.
43277         * string/tst-inlcall.c: Likewise.
43278         * string/tst-strtok.c: Likewise.
43279         * string/tst-strxfrm.c: Likewise.
43280         * sysdeps/x86_64/tst-audit10.c: Likewise.
43281         * sysdeps/x86_64/tst-audit3.c: Likewise.
43282         * sysdeps/x86_64/tst-audit4.c: Likewise.
43283         * sysdeps/x86_64/tst-audit5.c: Likewise.
43284         * time/tst-ftime_l.c: Likewise.
43285         * time/tst-getdate.c: Likewise.
43286         * time/tst-mktime3.c: Likewise.
43287         * time/tst-mktime.c: Likewise.
43288         * time/tst-posixtz.c: Likewise.
43289         * time/tst-strptime2.c: Likewise.
43290         * time/tst-strptime3.c: Likewise.
43291         * wcsmbs/tst-btowc.c: Likewise.
43292         * wcsmbs/tst-mbrtowc.c: Likewise.
43293         * wcsmbs/tst-mbsrtowcs.c: Likewise.
43294         * wcsmbs/tst-wchar-h.c: Likewise.
43295         * wcsmbs/tst-wcpncpy.c: Likewise.
43296         * wcsmbs/tst-wcrtomb.c: Likewise.
43297         * wcsmbs/tst-wcsnlen.c: Likewise.
43298         * wcsmbs/tst-wcstof.c: Likewise.
43300 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
43302         [BZ #14132]
43303         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
43304         INTDEF.
43305         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
43306         declaration.
43307         (_dl_mcount): Use rtld_hidden_proto.
43308         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
43309         _dl_mcount.
43310         * elf/rtld.c (_rtld_global_ro): Likewise.
43312         [BZ #14132]
43313         * elf/dl-init.c (_dl_init): Don't use INTDEF.
43314         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
43315         of _dl_init_internal.
43316         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
43317         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
43318         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
43319         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
43320         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
43321         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
43322         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
43323         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
43324         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
43325         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
43326         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
43327         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
43328         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43329         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43330         * sysdeps/tile/dl-start.S (_start): Likewise.
43331         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
43332         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
43334         [BZ #14132]
43335         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
43336         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
43337         (rtld_progname): Make macro definition unconditional.
43338         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
43339         INTDEF.
43340         (dlmopen_doit): Do not use INTUSE with _dl_argv.
43341         (dl_main): Likewise.
43342         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
43343         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
43344         instead of _dl_argv_internal.
43345         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43346         __GI__dl_argv instead of INTUSE(_dl_argv).
43347         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
43348         __GI__dl_argv instead of _dl_argv_internal.
43350         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
43351         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
43352         macro.
43353         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
43354         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
43355         New macro.
43356         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
43357         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
43358         macro.
43359         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
43360         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
43362 2014-11-04  Andreas Schwab  <schwab@suse.de>
43364         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
43366 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43368         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
43369         mtvsrd instruction in binary form.
43371 2014-11-03  Andreas Schwab  <schwab@suse.de>
43373         [BZ #17522]
43374         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
43375         for less than MB_LEN_MAX use a local buffer of that size.
43376         * libio/tst-fputws.c: New file.
43377         * libio/Makefile (tests): Add tst-fputws.
43379 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
43381         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
43382         the size of the fpu_fr.fpu_dregs[] array.
43384 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
43386         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
43387         (__nanosleep): Do not define as alias.
43388         (nanosleep): Define as alias of __nanosleep.
43389         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
43390         __libc_nanosleep name.
43392 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
43394         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
43395         install.texi in comment.
43397 2014-10-31  Torvald Riegel  <triegel@redhat.com>
43399         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
43400         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
43401         ... add here and use lwsync or sync ...
43402         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
43403         ... and add here using lwsync.
43405 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
43407         * elf/dl-machine-reject-phdr.h: New file.
43408         * elf/dl-load.c: #include that.
43409         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
43410         if that returned true.
43412 2014-10-31  Roland McGrath  <roland@hack.frob.com>
43414         [BZ #17496]
43415         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
43416         gen-as-const-headers chunk.  Add a big scare comment after the last
43417         safe place to touch before-compile.
43419 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
43421         * manual/install.texi (Tools for Compilation): Update autoconf
43422         version requirements.
43423         * INSTALL: Regenerated.
43425         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
43426         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
43427         (__libc_pselect): Likewise.
43429         [BZ #14138]
43430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
43431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43435 2014-10-31  Torvald Riegel  <triegel@redhat.com>
43437         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
43438         correct barrier instruction.
43439         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
43440         Likewise.
43441         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
43442         Likewise.
43444 2014-10-30  Roland McGrath  <roland@hack.frob.com>
43446         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
43447         after defining inlines.  Instead, just use parens to defeat macro
43448         expansion of __isctype in its declaration.
43450 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
43452         * include/sys/uio.h (__libc_readv): Remove declaration.
43453         (__libc_writev): Likewise.
43454         * misc/readv.c (__libc_readv): Rename to __readv.
43455         (__readv): Do not define as alias.
43456         (readv): Define as alias of __readv.
43457         * misc/writev.c (__libc_writev): Rename to __writev.
43458         (__writev): Do not define as alias.
43459         (writev): Define as alias of __writev.
43460         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
43461         (__readv): Do not define as alias.
43462         (readv): Define unconditionally as alias of __readv.
43463         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
43464         (__writev): Do not define as alias.
43465         (writev): Define unconditionally as alias of __writev.
43466         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
43467         name.
43468         (writev): Do not define __libc_writev name.
43470 2014-10-30  Roland McGrath  <roland@hack.frob.com>
43472         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
43473         (convert_charseq): New function, broken out of ...
43474         (use_from_charmap): ... here.  Call it.
43475         (use_to_charmap): Use convert_charseq and free instead of duplicating
43476         its code with a variable-length stack struct.
43478 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
43480         * include/fcntl.h (__libc_creat): Remove declaration.
43481         * io/creat.c (__libc_creat): Rename to creat.
43482         (creat): Do not define as alias.
43483         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
43484         of creat instead of __libc_creat.
43485         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
43486         to creat.
43487         (creat): Do not define as alias.
43488         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
43489         __libc_creat.
43490         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
43491         __libc_creat name.
43492         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
43493         Likewise.
43495 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
43497         * manual/llio.texi: Add comments discussing why write() may be
43498         considered MT-unsafe on Linux.
43500 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
43502         * dl-load.c (local_strdup): Remove.
43503         (expand_dynamic_string_token): Use __strdup.
43504         (decompose_rpath): Likewise.
43505         (_dl_map_object): Likewise.
43507 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
43509         [BZ #14132]
43510         * sysdeps/generic/unwind-dw2-fde.c
43511         (__register_frame_info_bases_internal): Do not declare.
43512         (__register_frame_info_table_bases_internal): Likewise.
43513         (__deregister_frame_info_bases_internal): Likewise.
43514         (__register_frame_info_bases): Declare and use hidden_proto before
43515         definition.  Use hidden_def instead of INTDEF.
43516         (__register_frame_info_table_bases): Likewise.
43517         (__deregister_frame_info_bases): Likewise.
43518         (__register_frame_info): Do not use INTUSE.
43519         (__register_frame): Likewise.
43520         (__register_frame_info_table): Likewise.
43521         (__register_frame_table): Likewise.
43522         (__deregister_frame_info): Likewise.
43523         (__deregister_frame): Likewise.
43525 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
43527         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43528         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
43529         not undefine.
43530         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
43531         Likewise.
43532         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
43533         Likewise.
43535 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
43537         [BZ #14138]
43538         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
43539         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
43540         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
43541         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
43542         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
43543         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
43544         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
43545         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
43546         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
43547         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
43548         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
43549         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
43550         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
43551         syscall.
43552         (setfsuid): Likewise.
43553         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
43554         (setfsuid): Likewise.
43555         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
43556         (setfsuid): Likewise.
43557         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
43558         Likewise.
43559         (setfsuid): Likewise.
43560         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
43561         (setfsuid): Likewise.
43562         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
43563         Likewise.
43564         (setfsuid): Likewise.
43566 2014-10-27  Andreas Schwab  <schwab@suse.de>
43568         [BZ #17501]
43569         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
43570         check for Slow_SSE4_2 feature bit.
43571         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
43572         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43573         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
43574         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
43576 2014-10-24  Roland McGrath  <roland@hack.frob.com>
43578         * configure.ac: Validate compiler version with a empirical test of
43579         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
43580         $CC -v output.
43581         * configure: Regenerated.
43583         * inet/htons.c (htons): Prototypify.
43584         * inet/htonl.c (htonl): Likewise.
43586 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43588         * string/strncat.c (strncat): Improve performance by using strlen.
43590 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43592         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
43594 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43596         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
43597         Call libc_fetestexcept_aarch64.
43599 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43601         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
43602         Call libc_feholdexcept_aarch64.
43604 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43606         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
43607         Call get_rounding_mode.
43609 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43611         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
43612         Simplify logic.
43614 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43616         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
43617         Simplify logic.
43619 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
43621         [BZ #14138]
43622         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
43623         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
43624         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
43625         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
43626         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
43627         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
43628         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
43629         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
43630         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
43631         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
43632         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
43633         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
43634         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
43635         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
43636         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
43637         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
43638         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
43639         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
43640         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
43641         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
43642         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
43643         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
43644         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
43645         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
43646         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
43647         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
43648         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
43649         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
43650         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
43651         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
43652         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
43653         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
43654         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
43655         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
43656         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
43657         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
43658         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
43659         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
43660         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
43661         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
43662         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
43663         syscall.
43664         (geteuid): Likewise.
43665         (getgid): Likewise.
43666         (getuid): Likewise.
43667         (getresgid): Likewise.
43668         (getresuid): Likewise.
43669         (getgroups): Likewise.
43670         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
43671         (geteuid): Likewise.
43672         (getgid): Likewise.
43673         (getuid): Likewise.
43674         (getresgid): Likewise.
43675         (getresuid): Likewise.
43676         (getgroups): Likewise.
43677         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
43678         (geteuid): Likewise.
43679         (getgid): Likewise.
43680         (getuid): Likewise.
43681         (getresgid): Likewise.
43682         (getresuid): Likewise.
43683         (getgroups): Likewise.
43684         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
43685         Likewise.
43686         (geteuid): Likewise.
43687         (getgid): Likewise.
43688         (getuid): Likewise.
43689         (getresgid): Likewise.
43690         (getresuid): Likewise.
43691         (getgroups): Likewise.
43692         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
43693         (geteuid): Likewise.
43694         (getgid): Likewise.
43695         (getuid): Likewise.
43696         (getresgid): Likewise.
43697         (getresuid): Likewise.
43698         (getgroups): Likewise.
43699         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
43700         Likewise.
43701         (geteuid): Likewise.
43702         (getgid): Likewise.
43703         (getuid): Likewise.
43704         (getgroups): Likewise.
43706         [BZ #14138]
43707         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
43708         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
43709         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
43710         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43711         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
43712         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
43713         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
43714         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
43715         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
43716         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
43717         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
43718         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
43719         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
43720         __chown.
43721         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
43722         (lchown): Likewise.
43723         (fchown): Likewise.
43724         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
43725         Likewise.
43726         (lchown): Likewise.
43727         (fchown): Likewise.
43728         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
43729         (lchown): Likewise.
43730         (fchown): Likewise.
43731         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
43732         Likewise.
43733         (lchown): Likewise.
43734         (fchown): Likewise.
43736 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43738         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
43739         Simplify logic.
43741 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43743         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43744         Cleanup logic.
43746 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43748         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43749         Remove unused include.
43751 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43753         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
43754         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
43755         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
43756         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
43758 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
43759             Helge Deller <deller@gmx.de>
43761         [BZ #17508]
43762         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
43763         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
43764         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
43766 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
43768         [BZ #14132]
43769         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
43770         Remove macro definition.
43771         (__ashrdi3_v_glibc20): Likewise.
43772         (__lshrdi3_v_glibc20): Likewise.
43773         (__cmpdi2_v_glibc20): Likewise.
43774         (__ucmpdi2_v_glibc20): Likewise.
43775         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
43776         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43777         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43778         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43779         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43780         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
43782 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43784         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
43785         old GNU extension [0] syntax.
43786         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
43787         alloca rather than an array member with variable length.
43788         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
43789         * nscd/nscd.c (invalidate_db): New function, broken out of ...
43790         (parse_opt): ... here.  Likewise use alloca there.
43791         Validate the -i argument before checking for rootness.
43792         (send_shutdown): New function, broken out of ...
43793         (parse_opt): ... here.
43795 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43797         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
43798         macro to get at the _rt_local_ro field.
43799         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
43800         ([PIC] case) or _dl_hwcap ([!PIC] case).
43801         * sysdeps/arm/setjmp.S: Likewise.
43803         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
43804         * sysdeps/arm/configure.ac: New check to define it.
43805         * sysdeps/arm/configure: Regenerated.
43806         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
43807         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
43808         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
43809         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
43810         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
43811         Use move/movt pair instead of a load.
43812         (LDST_GLOBAL): Macro removed.
43813         (LDR_GLOBAL): New macro replaces it.
43814         (LDR_HIDDEN): New macro.
43815         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
43816         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
43818         * setjmp/tst-setjmp-static.c: New file.
43819         * setjmp/Makefile (tests): Add it.
43820         (tests-static): New variable.
43822 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
43824         [BZ #17485]
43825         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
43827 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
43829         [BZ #14132]
43830         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
43832 2014-10-21  Roland McGrath  <roland@hack.frob.com>
43834         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
43836 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43838         * io/fts.c (dirent_not_directory): New function.
43839         (fts_build): Call it.
43841 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43843         * nptl/version.c (__nptl_main): Use normal __write rather than
43844         INTERNAL_SYSCALL.
43845         (banner): Update copyright years.
43847         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
43848         gettimeofday.
43849         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43850         * nptl/pthread_cond_timedwait.c: Likewise.
43851         * nptl/pthread_mutex_timedlock.c: Likewise.
43852         * nptl/sem_timedwait.c: Likewise.
43854         * sysdeps/nptl/bits/libc-lock.h
43855         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
43856         (__libc_lock_init_recursive): Return void, not 0.
43857         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
43858         (__libc_rwlock_init): Likewise.
43859         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
43861 2014-10-20  Torvald Riegel  <triegel@redhat.com>
43863         [BZ #15215]
43864         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
43865         (__pthread_once_slow): ... here.
43866         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
43867         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
43869 2014-10-20  Torvald Riegel  <triegel@redhat.com>
43871         [BZ #15215]
43872         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
43873         __PTHREAD_ONCE_FORK_GEN_INCR): New.
43874         * sysdeps/nptl/fork.c (__libc_fork): Use them.
43875         * nptl/pthread_once.c (__pthread_once): Likewise.
43876         Update comments.
43878 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
43880         [BZ #14138]
43881         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
43882         name.
43883         (writev): Use __libc_writev as strong name.
43884         * sysdeps/unix/sysv/linux/readv.c: Remove file.
43885         * sysdeps/unix/sysv/linux/writev.c: Likewise.
43887 2014-10-17  Roland McGrath  <roland@hack.frob.com>
43889         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
43891         * sysdeps/i386/nptl/tls.h
43892         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
43893         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
43894         New macros.
43895         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
43896         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
43897         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
43898         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
43899         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
43900         Call CHECK_THREAD_SYSINFO instead of doing an assert.
43902         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
43903         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
43904         on [__NR_futex].
43905         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
43906         broken out of ...
43907         (__pthread_mutex_init): ... here.  Call it.
43908         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
43909         Conditionalize PI cases on [__NR_futex].
43910         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
43911         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
43912         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
43914         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
43915         conditional on [SIGSETXID].
43916         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
43917         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
43918         is defined.  Likewise for SIGSETXID.
43919         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
43920         Conditionalize definitions on [SIGSETXID].
43921         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
43922         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
43923         unblocking on [SIGCANCEL].
43925         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
43926         [__NR_set_robust_list].
43928 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43930         * string/strcoll_l.c (get_next_seq): Fix up formatting.
43931         (do_compare): Likewise.
43933 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
43935         [BZ #15884]
43936         * string/strcoll_l.c: Don't include stdio.h.
43937         (coll_seq): Remove members idxarr and rulearr.
43938         (get_next_seq_cached): Remove function.
43939         (get_next_seq): Likewise.
43940         (get_next_seq_nocache): Rename to get_next_seq.
43941         (do_compare): Remove function.
43942         (do_compare_nocache): Rename to do_compare.
43943         (STRCOLL): Remove weight and rules cache.
43945 2014-10-16  Roland McGrath  <roland@hack.frob.com>
43947         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
43948         * sysdeps/arm/sfp-machine.h: ... to here.
43949         * sysdeps/arm/Implies: Remove arm/soft-fp.
43951 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
43953         * conform/data/sys/utsname.h-data (*_t): Allow.
43954         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
43955         [POSIX] (WEXITED): Do not expect constant.
43956         [POSIX] (WSTOPPED): Likewise.
43957         [POSIX] (WNOHANG): Likewise.
43958         [POSIX] (WNOWAIT): Likewise.
43959         [POSIX] (siginfo_t): Do not expect type or elements.
43960         [POSIX] (pid_t): Do not expect type.
43961         [POSIX] (signal.h): Do not allow header.
43962         [POSIX] (sys/resource.h): Likewise.
43963         [POSIX] (si_*): Do not allow pattern.
43964         [POSIX] (W*): Likewise.
43965         [POSIX] (P_*): Likewise.
43966         [POSIX] (BUS_*): Likewise.
43967         [POSIX] (CLD_*): Likewise.
43968         [POSIX] (FPE_*): Likewise.
43969         [POSIX] (ILL_*): Likewise.
43970         [POSIX] (POLL_*): Likewise.
43971         [POSIX] (SEGV_*): Likewise.
43972         [POSIX] (SI_*): Likewise.
43973         [POSIX] (TRAP_*): Likewise.
43974         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
43975         variable.
43977 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
43979         [BZ #12926]
43980         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
43981         infinite loop when __recvmsg returns 0.
43983 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
43985         * CANCEL-FCT-WAIVE: Remove file.
43986         * CANCEL-FILE-WAIVE: Likewise.
43988         [BZ #14132]
43989         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
43990         instead of INTVARDEF.
43991         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43992         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
43993         rtld_hidden_data_def instead of INTVARDEF.
43994         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43995         * elf/dl-deps.c (expand_dst): Likewise.
43996         * elf/dl-load.c (_dl_dst_count): Likewise.
43997         (_dl_dst_substitute): Likewise.
43998         (decompose_rpath): Likewise.
43999         (_dl_init_paths): Likewise.
44000         (open_path): Likewise.
44001         (_dl_map_object): Likewise.
44002         * elf/rtld.c (dl_main): Likewise.
44003         (process_dl_audit): Likewise.
44004         (process_envvars): Likewise.
44005         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
44006         Remove declaration.
44007         (__libc_enable_secure): Use rtld_hidden_proto.
44009 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44011         * elf/dl-load.c
44012         (add_path): New function broken out of _dl_rtld_di_serinfo.
44013         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
44015 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
44017         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
44018         parentheses around macro arguments.
44019         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
44020         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
44021         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
44022         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
44023         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
44024         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44025         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44026         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
44027         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
44028         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
44029         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
44030         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
44031         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
44032         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
44033         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
44034         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
44035         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
44036         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
44037         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
44038         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
44039         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
44040         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
44041         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
44042         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44043         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44044         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
44045         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
44046         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
44047         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
44048         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
44049         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
44050         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
44051         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
44052         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
44053         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
44054         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
44055         Likewise.
44056         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
44057         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44058         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44059         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
44060         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
44061         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
44062         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
44063         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
44064         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
44065         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
44066         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
44067         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
44068         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
44069         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
44070         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
44071         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44072         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44073         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
44074         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
44075         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
44076         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
44077         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
44078         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
44079         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
44080         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
44081         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
44082         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
44083         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
44084         (_FP_FRAC_SRS_1): Likewise.
44085         (_FP_FRAC_CLZ_1): Likewise.
44086         (_FP_MUL_MEAT_1_imm): Likewise.
44087         (_FP_MUL_MEAT_1_wide): Likewise.
44088         (_FP_MUL_MEAT_1_hard): Likewise.
44089         (_FP_SQRT_MEAT_1): Likewise.
44090         (_FP_FRAC_ASSEMBLE_1): Likewise.
44091         (_FP_FRAC_DISASSEMBLE_1): Likewise.
44092         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
44093         (__FP_CLZ_2): Likewise.
44094         (_FP_MUL_MEAT_2_wide): Likewise.
44095         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
44096         (_FP_MUL_MEAT_2_gmp): Likewise.
44097         (_FP_MUL_MEAT_2_120_240_double): Likewise.
44098         (_FP_SQRT_MEAT_2): Likewise.
44099         (_FP_FRAC_ASSEMBLE_2): Likewise.
44100         (_FP_FRAC_DISASSEMBLE_2): Likewise.
44101         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
44102         (_FP_FRAC_CLZ_4): Likewise.
44103         (_FP_MUL_MEAT_4_wide): Likewise.
44104         (_FP_MUL_MEAT_4_gmp): Likewise.
44105         (_FP_SQRT_MEAT_4): Likewise.
44106         (_FP_FRAC_ASSEMBLE_4): Likewise.
44107         (_FP_FRAC_DISASSEMBLE_4): Likewise.
44108         * soft-fp/op-common.h (_FP_CMP): Likewise.
44109         (_FP_CMP_EQ): Likewise.
44110         (_FP_CMP_UNORD): Likewise.
44111         (_FP_TO_INT): Likewise.
44112         (_FP_FROM_INT): Likewise.
44113         [!__FP_CLZ] (__FP_CLZ): Likewise.
44114         (_FP_DIV_HELP_imm): Likewise.
44115         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
44116         Likewise.
44117         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
44118         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
44119         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
44120         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
44121         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
44122         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
44123         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
44124         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
44125         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
44126         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
44127         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
44128         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
44129         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
44130         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
44131         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
44132         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
44133         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
44134         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
44135         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
44136         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
44137         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
44138         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
44139         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
44140         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
44141         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
44142         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
44143         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
44144         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
44145         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
44146         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
44147         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
44148         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
44149         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
44150         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
44151         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
44152         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
44153         (FP_UNPACK_RAW_SP): Likewise.
44154         (FP_PACK_RAW_S): Likewise.
44155         (FP_PACK_RAW_SP): Likewise.
44156         (FP_UNPACK_S): Likewise.
44157         (FP_UNPACK_SP): Likewise.
44158         (FP_UNPACK_SEMIRAW_S): Likewise.
44159         (FP_UNPACK_SEMIRAW_SP): Likewise.
44160         (FP_PACK_S): Likewise.
44161         (FP_PACK_SP): Likewise.
44162         (FP_PACK_SEMIRAW_S): Likewise.
44163         (FP_PACK_SEMIRAW_SP): Likewise.
44164         (_FP_SQRT_MEAT_S): Likewise.
44165         (FP_CMP_S): Likewise.
44166         (FP_CMP_EQ_S): Likewise.
44167         (FP_CMP_UNORD_S): Likewise.
44168         (FP_TO_INT_S): Likewise.
44169         (FP_FROM_INT_S): Likewise.
44171         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
44173         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
44174         (FP_EX_INVALID_IMZ): Likewise.
44175         (FP_EX_INVALID_IMZ_FMA): Likewise.
44176         (FP_EX_INVALID_ISI): Likewise.
44177         (FP_EX_INVALID_ZDZ): Likewise.
44178         (FP_EX_INVALID_IDI): Likewise.
44179         (FP_EX_INVALID_SQRT): Likewise.
44180         (FP_EX_INVALID_CVI): Likewise.
44181         (FP_EX_INVALID_VC): Likewise.
44182         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
44183         "invalid" exceptions.
44184         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
44185         (_FP_ADD_INTERNAL): Likewise.
44186         (_FP_MUL): Likewise.
44187         (_FP_FMA): Likewise.
44188         (_FP_DIV): Likewise.
44189         (_FP_CMP_CHECK_NAN): Likewise.
44190         (_FP_SQRT): Likewise.
44191         (_FP_TO_INT): Likewise.
44192         (FP_EXTEND): Likewise.
44194 2014-10-09  Allan McRae  <allan@archlinux.org>
44196         * po/fr.po: Update French translation from translation project.
44198 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
44200         [BZ #14132]
44201         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
44202         of INTDEF.
44203         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
44204         (__cxa_atexit): Use libc_hidden_proto.
44205         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
44207         [BZ #14132]
44208         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
44209         declaration.
44210         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
44211         [!_ISOMAC] (__iswspace_l_internal): Likewise.
44212         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
44213         [!_ISOMAC] (__iswctype_internal): Likewise.
44214         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
44215         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
44216         alias.
44217         (fcntl): Remove __fcntl_internal alias.
44218         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
44219         __connect_internal alias.
44220         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
44221         Likewise.
44223         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
44224         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
44225         FP_DENORM_ZERO.
44226         (_FP_CHECK_FLUSH_ZERO): New macro.
44227         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
44228         (_FP_CMP): Likewise.
44229         (_FP_CMP_EQ): Likewise.
44230         (_FP_TO_INT): Do not set inexact for subnormal arguments if
44231         FP_DENORM_ZERO.
44232         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
44233         (FP_TRUNC): Likewise.
44235         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
44236         treated as invalid conversion, not as normal exponent.
44238         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
44239         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
44240         (_FP_CMP_EQ): Likewise.
44241         (_FP_CMP_UNORD): Likewise.
44242         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
44243         (FP_CMP_EQ_D): Likewise.
44244         (FP_CMP_UNORD_D): Likewise.
44245         * soft-fp/extended.h (FP_CMP_E): Likewise.
44246         (FP_CMP_EQ_E): Likewise.
44247         (FP_CMP_UNORD_E): Likewise.
44248         * soft-fp/quad.h (FP_CMP_Q): Likewise.
44249         (FP_CMP_EQ_Q): Likewise.
44250         (FP_CMP_UNORD_Q): Likewise.
44251         * soft-fp/single.h (FP_CMP_S): Likewise.
44252         (FP_CMP_EQ_S): Likewise.
44253         (FP_CMP_UNORD_S): Likewise.
44254         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
44255         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
44256         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
44257         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
44258         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
44259         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
44260         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
44261         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
44262         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
44263         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
44264         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
44265         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
44266         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
44267         to FP_CMP_Q.
44268         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
44269         FP_CMP_Q.
44270         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
44271         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
44272         FP_CMP_EQ_Q.
44273         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
44274         FP_CMP_Q.
44275         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
44276         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
44277         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
44278         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
44279         FP_CMP_EQ_Q.
44280         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
44281         FP_CMP_Q.
44282         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
44283         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
44284         FP_CMP_EQ_Q.
44285         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
44286         FP_CMP_Q.
44287         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
44288         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
44289         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
44290         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
44291         FP_CMP_EQ_Q.
44293         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
44294         a subnormal result, set the underflow exception if trapping on
44295         underflow is enabled.
44296         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
44297         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
44298         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
44299         redefine to 0.
44300         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
44301         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44302         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44303         * soft-fp/extendxftf2.c (__extendxftf2): Use
44304         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
44306         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
44307         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
44308         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44309         FP_HANDLE_EXCEPTIONS.
44310         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
44311         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44312         FP_HANDLE_EXCEPTIONS.
44313         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
44314         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44315         FP_HANDLE_EXCEPTIONS.
44316         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
44317         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44318         FP_HANDLE_EXCEPTIONS.
44320 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
44322         [BZ #14132]
44323         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
44324         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
44325         use INTUSE.
44326         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
44327         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
44328         Remove alias.
44329         (__adjtimex): Define using libc_hidden_ver.
44330         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
44331         Remove declaration.
44332         (ntp_gettime): Call __adjtimex directly.
44333         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
44334         Remove declaration.
44335         (ntp_gettimex): Call __adjtimex directly.
44336         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
44337         __adjtimex_internal alias.
44339 2014-10-08  Roland McGrath  <roland@hack.frob.com>
44341         [BZ #17460]
44342         * nscd/nscd.c (more_help): Rewrite list of tables collection
44343         using xstrdup and asprintf.
44345         * nscd/nscd_conf.c: Remove local xstrdup declaration.
44347 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44348             Roland McGrath  <roland@hack.frob.com>
44350         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
44351         (do_lookup_unique): ... local function 'enter' here; update callers.
44353 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
44355         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
44356         compat_symbol calls on [SHARED].
44357         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
44358         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
44359         Remove.
44360         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44361         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
44362         (oldsetrlimit): Remove.
44363         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44365         (lchown): New syscall entry.
44366         (oldsetrlimit): Remove.
44367         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44368         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
44369         (oldsetrlimit): Remove.
44370         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44372         [BZ #14138]
44373         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
44374         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
44375         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
44376         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
44377         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
44378         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
44379         (fchown): Likewise.
44380         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
44381         (fchown): Likewise.
44382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
44383         Likewise.
44385 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44387         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
44388         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
44389         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
44390         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
44391         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
44392         Likewise.
44393         (__old_sem_post): Likewise.
44395 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
44397         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
44398         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
44399         HAVE_CLOCK_GETTIME_VSYSCALL macros.
44400         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
44401         Use INLINE_VSYSCALL macro.
44402         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
44403         __vdso_clock_gettime.
44404         * sysdeps/unix/sysv/linux/tile/init-first.c
44405         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
44406         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
44407         __vdso_clock_gettime.
44409         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
44410         to set up frame more cleanly.
44412         * sysdeps/tile/memcmp.c: New file.
44414         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
44416         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
44417         * sysdeps/tile/tilegx/strcasestr.c: New file.
44418         * sysdeps/tile/tilegx/strnlen.c: New file.
44419         * sysdeps/tile/tilegx/strstr.c: New file.
44421         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
44423 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
44425         * nptl/tst-setuid3.c: Write errors to stdout.
44427 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44429         * elf/dl-deps.c
44430         (preload): New functions broken out of _dl_map_object_deps.
44431         (_dl_map_object_deps):  Remove a nested function. Update call sites.
44433 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
44435         [BZ #14138]
44436         * sysdeps/unix/sysv/linux/execve.c: Remove file.
44437         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
44439 2014-10-01  Steve Ellcey  <sellcey@mips.com>
44441         * sysdeps/mips/strcmp.S: New.
44443 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
44445         [BZ #14138]
44446         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
44447         (linkat): Likewise.
44448         (mkdirat): Likewise.
44449         (readlinkat): Likewise.
44450         (renameat): Likewise.
44451         (symlinkat): Likewise.
44452         (unlinkat): Likewise.
44453         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
44454         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
44455         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
44456         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
44457         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
44458         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
44459         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
44461 2014-09-30  Will Newton  <will.newton@linaro.org>
44463         * math/math.h: Define long double math functions if
44464         _LIBC_TEST is defined.
44465         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
44467         * localedata/Makefile: Move assignment to tests-special
44468         into an ifdef testing run-built-tests.
44469         * timezone/Makefile: Likewise.
44471 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
44473         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
44474         with $(BASH) not $(SHELL).
44476 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
44477             Matthew LeGendre  <legendre1@llnl.gov>
44479         [BZ #17411]
44480         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
44481         l_reloc_result.
44483 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44485         * stdio-common/printf_fp.c
44486         (hack_digit): New function, broken out of ...
44487         (__printf_fp): ... local function here.  Update call sites.
44488         hack_digit now takes an additional parameter that is a pointer
44489         to a struct of the referenced locals.  Those locals moved inside
44490         the struct and references updated.
44492 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
44494         * aclocal.m4: Require autoconf 2.69.
44495         * configure: Regenerated.
44496         * sysdeps/aarch64/configure: Likewise.
44497         * sysdeps/alpha/configure: Likewise.
44498         * sysdeps/arm/armv7/configure: Likewise.
44499         * sysdeps/arm/configure: Likewise.
44500         * sysdeps/ia64/configure: Likewise.
44501         * sysdeps/mach/configure: Likewise.
44502         * sysdeps/mips/configure: Likewise.
44503         * sysdeps/s390/configure: Likewise.
44504         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
44505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
44507         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
44508         file.
44509         * sysdeps/ia64/configure.ac: Likewise.
44511 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
44513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
44514         specify symbol version for ld.so.  Do not include entry for
44515         libpthread.
44516         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44517         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44518         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44520         [BZ #14171]
44521         * Makeconfig [$(build-shared) = yes]
44522         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
44523         makefiles.
44524         [$(build-shared) = yes && $(soversions.mk-done) = t]
44525         ($(common-objpfx)gnu/lib-names.h): Remove rule.
44526         [$(build-shared) = yes && $(soversions.mk-done) = t]
44527         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
44528         to Makerules.
44529         [$(build-shared) = yes && $(soversions.mk-done) = t]
44530         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
44531         here.
44532         [$(build-shared) = yes && $(soversions.mk-done) = t]
44533         (common-generated): Don't append gnu/lib-names.h and
44534         gnu/lib-names.stmp here.
44535         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
44536         (lib-names-h-abi): New variable.
44537         [$(build-shared) = yes && $(soversions.mk-done) = t]
44538         (lib-names-stmp-abi): Likewise.
44539         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44540         abi-variants] (before-compile): Append
44541         $(common-objpfx)$(lib-names-h-abi).
44542         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44543         abi-variants] (common-generated): Append gnu/lib-names.h.
44544         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44545         abi-variants] (install-others-nosubdir): Depend on
44546         $(inst_includedir)/$(lib-names-h-abi).
44547         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44548         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
44549         [$(build-shared) = yes && $(soversions.mk-done) = t]
44550         ($(common-objpfx)$(lib-names-h-abi)): New rule.
44551         [$(build-shared) = yes && $(soversions.mk-done) = t]
44552         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
44553         [$(build-shared) = yes && $(soversions.mk-done) = t]
44554         (common-generated): Append $(lib-names-h-abi) and
44555         $(lib-names-stmp-abi).
44556         * scripts/lib-names.awk: Do not handle multi being set.
44557         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
44558         Remove variable.
44559         (abi-lp64_be-ld-soname): Likewise.
44560         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
44561         Likewise.
44562         (abi-hard-ld-soname): Likewise.
44563         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
44564         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
44565         Remove variable.
44566         (abi-o32_hard-ld-soname): Likewise.
44567         (abi-o32_soft_2008-ld-soname): Likewise.
44568         (abi-o32_hard_2008-ld-soname): Likewise.
44569         (abi-n32_soft-ld-soname): Likewise.
44570         (abi-n32_hard-ld-soname): Likewise.
44571         (abi-n32_soft_2008-ld-soname): Likewise.
44572         (abi-n32_hard_2008-ld-soname): Likewise.
44573         (abi-n64_soft-ld-soname): Likewise.
44574         (abi-n64_hard-ld-soname): Likewise.
44575         (abi-n64_soft_2008-ld-soname): Likewise.
44576         (abi-n64_hard_2008-ld-soname): Likewise.
44577         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
44578         Likewise.
44579         (abi-64-v2-ld-soname): Likewise.
44580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
44581         ld.so entries.
44582         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
44583         variable.
44584         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
44585         entry.
44586         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
44587         variable.
44588         (abi-64-ld-soname): Likewise.
44589         (abi-x32-ld-soname): Likewise.
44590         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
44591         entry.
44592         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44594 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
44596         [BZ #14138]
44597         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
44598         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
44599         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
44600         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
44601         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
44602         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
44603         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
44604         syscall entry for GLIBC_2.2 symbol version.
44605         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
44606         Likewise.
44607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44608         (setrlimit): Likewise.
44609         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
44610         Likewise.
44612 2014-09-23  Will Newton  <will.newton@linaro.org>
44614         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
44615         _LINUX_ARM_SYSDEP_H include guard too.
44616         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
44617         define.
44619 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44621         * sysdeps/unix/sysv/linux/eventfd.c:
44622         Make first argument unsigned.
44623         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
44624         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
44626 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
44628         [BZ #16852]
44629         * socket/recvmmsg.c (recvmmsg): Drop const argument.
44630         * socket/sys/socket.h: Likewise.
44631         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
44633 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44635         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
44637 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
44639         * time/tst-ftime.c: New test.
44640         * time/Makefile (tests): Add tst-ftime.
44642 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
44644         * soft-fp/extended.h: Fix comment formatting.
44645         * soft-fp/op-1.h: Likewise.
44646         * soft-fp/op-2.h: Likewise.
44647         * soft-fp/op-4.h: Likewise.
44648         * soft-fp/op-8.h: Likewise.
44649         * soft-fp/op-common.h: Likewise.
44650         * soft-fp/soft-fp.h: Likewise.
44652         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
44654 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
44656         [BZ #6652]
44657         * Makeconfig (soversions-default-setname): Remove variable.
44658         ($(common-objpfx)soversions.i): Don't pass default_setname to
44659         soversions.awk.
44660         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
44661         oldest_abi to abi-versions.awk.
44662         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
44663         * config.make.in (oldest-abi): Remove variable.
44664         * configure.ac (--enable-oldest-abi): Remove configure option.
44665         * configure: Regenerated.
44666         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
44667         text.
44668         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
44669         * scripts/soversions.awk: Do not handle default_setname variable.
44670         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
44671         variable.
44672         * sysdeps/mach/hurd/configure: Regenerated.
44673         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
44674         variable.
44675         * sysdeps/unix/sysv/linux/configure: Regenerated.
44677 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44679         * elf/Makefile (CFLAGS-interp.c): Remove.
44680         ($(elf-objpfx)runtime-linker.h): Generate header with linker
44681         path string.
44682         * elf/interp.c: Include generated runtime-linker.h
44684         * Makerules (lib%.so): Don't include $(+interp) in
44685         prerequisites.
44686         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
44687         * dlfcn/eval.c: Remove file.
44689         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
44690         macros.
44692         [BZ #17266]
44693         * misc/sys/cdefs.h: Define __extern_always_inline for clang
44694         4.2 and newer.
44696         [BZ #17370]
44697         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
44699 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44700             Jakub Jelinek  <jakub@redhat.com>
44702         [BZ #17266]
44703         * libio/stdio.h: Check definition of __fortify_function
44704         instead of __extern_always_inline to include bits/stdio2.h.
44705         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
44706         check if __extern_always_inline is defined.
44707         [__USE_MISC || __USE_XOPEN]: Likewise.
44708         [__USE_ISOC99] Likewise.
44709         * misc/sys/cdefs.h (__fortify_function): Define only if
44710         __extern_always_inline is defined.
44711         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
44712         __extern_always_inline and __extern_inline only for g++-4.3
44713         and newer or a compatible gcc.
44715 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
44717         [BZ #17371]
44718         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44719         last change to handle zero prefix length.
44721 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44723         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
44724         _SC_REGEX_VERSION.
44726         * posix/getconf.c (vars): Add _POSIX_IPV6 and
44727         _POSIX_RAW_SOCKETS.
44729 2014-09-13  Allan McRae  <allan@archlinux.org>
44731         * po/ru.po: Update Russian translation from translation project.
44733 2014-09-12  Roland McGrath  <roland@hack.frob.com>
44735         * locale/programs/locale.c (show_locale_vars): Inline local function
44736         into its sole call site.  Clean up some style nits.
44737         (print_item): New function, broken out of ...
44738         (show_info): ... local function here.  Clean up style nits.
44740         * locale/programs/ld-ctype.c (set_one_default): New function, broken
44741         out of ...
44742         (set_class_defaults): ... local function set_default here.
44743         Define set_default as a macro locally to pass constant parameters.
44744         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
44745         rather than a shared local.
44747         * stdlib/rpmatch.c (try): New function, broken out of ...
44748         (rpmatch): ... local function here.  Also, prototypify definition.
44750 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
44752         * scripts/soversions.awk: Do not handle configuration names.
44753         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
44754         vendor and os variables to soversions.awk.
44755         * configure.ac: Do not modify gnu-* host_os.
44756         * configure: Regenerated
44757         * shlib-versions: Remove first column with configuration names.
44758         * nptl/shlib-versions: Likewise.
44759         * nptl_db/shlib-versions: Likewise.
44760         * sysdeps/hppa/shlib-versions: Likewise.
44761         * sysdeps/m68k/shlib-versions: Likewise.
44762         * sysdeps/mach/hurd/shlib-versions: Likewise.
44763         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
44764         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
44765         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
44766         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
44767         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
44768         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
44769         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
44770         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
44771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44772         Likewise.
44773         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44774         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44775         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44776         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44777         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44778         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
44779         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44780         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
44783         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
44784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44785         Regenerated.
44786         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
44787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44788         Condition symbol version definitions on [HAVE_ELFV2_ABI].
44790         * shlib-versions: Remove OS-specific entries.  Moved to files in
44791         sysdeps.
44792         * sysdeps/mach/hurd/shlib-versions: New file.
44793         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44795         * nptl/shlib-versions: Remove architecture-specific entries.
44796         Moved to files in sysdeps.
44797         * shlib-versions: Likewise.
44798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
44799         file.
44800         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44801         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44802         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44803         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44805         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
44806         (UDP_NO_CHECK6_RX): Likewise.
44808 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44810         * sysdeps/posix/sysconf.c (__sysconf): Spell
44811         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
44813 2014-08-12  Florian Weimer  <fweimer@redhat.com>
44815         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
44816         loading.
44817         * iconv/Versions (__gconv_transliterate): Export for use from
44818         gconv modules.
44819         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
44820         (struct __gconv_trans_data, __gconv_trans_fct,
44821         __gconv_trans_context_fct, __gconv_trans_query_fct,
44822         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
44823         definitions.
44824         (struct __gconv_step_data): Remove __trans member.
44825         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
44826         longer hidden.  Remove unused trans_data argument.
44827         * iconv/gconv_int.h (struct trans_struct): Remove definition.
44828         (__gconv_translit_find): Remove declaration.
44829         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
44830         prototype.
44831         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
44832         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
44833         trans_data argument.  Add hidden definition.
44834         (__gconv_translit_find): Remove.
44835         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
44836         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
44837         * iconv/skeleton.c: Remove transliteration initialization.
44838         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
44839         __gconv_step_data initialization.
44840         * libio/iofwide.c (__libio_translit_): Remove.
44841         (_IO_fwide): Adjust struct __gconv_step_data initialization.
44842         * wcsmbs/btowc.c (__btowc): Likewise.
44843         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44844         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44845         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
44846         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
44847         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
44848         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
44849         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
44850         * wcsmbs/wctob.c (wctob): Likewise.
44852 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44854         [BZ #16194]
44855         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
44856         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
44857         register usage.
44858         * sysdeps/x86/Makefile: Adjust.
44860 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44861             Roland McGrath  <roland@hack.frob.com>
44863         * locale/weight.h: Add include guard.
44864         (findidx): Make static rather than auto; take new parameters
44865         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
44866         * locale/weightwc.h: Likewise.
44867         * posix/fnmatch_loop.c
44868         (FCT): Change type of EXTRA from int32_t to wint_t.
44869         Don't include either header inside the function.
44870         Call FINDIDX rather than findidx, and pass new arguments.
44871         #undef FINDIDX at the end of the file.
44872         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
44873         FINDIDX before including fnmatch_loop.c for the non-wide version.
44874         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
44875         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
44876         for the wide version.
44877         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
44878         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
44879         Pass new arguments to findidx.
44880         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
44881         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
44882         Don't #include it inside the function.  Pass new arguments to findidx.
44883         * posix/regex_internal.h
44884         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
44885         (re_string_elem_size_at): Don't #include it inside the function.
44886         Pass new arguments to findidx.
44887         * string/strcoll_l.c: #include WEIGHT_H at top level.
44888         (get_next_seq): Don't #include it inside the function.
44889         Pass new arguments to findidx.
44890         (get_next_seq_nocache): Likewise.
44891         * string/strxfrm_l.c: #include WEIGHT_H at top level.
44892         (STRXFRM): Don't #include it inside the function.
44893         Pass new arguments to findidx.
44895 2014-09-11  Florian Weimer  <fweimer@redhat.com>
44897         [BZ #17344]
44898         * malloc/malloc.c (unlink): Turn asserts into a call to
44899         malloc_printerr.
44901 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
44903         [BZ #17370]
44904         * libio/wfileops (do_ftell_wide): Free OUT.
44906 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
44908         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
44910 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44912         [BZ #17363]
44913         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
44914         group if the current group is empty.
44916 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44918         * benchtests/bench-memset.c (test_main): Add more test from size
44919         from 32 to 512 bytes.
44920         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44921         Add POWER8 memset object.
44922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44923         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
44924         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
44925         implementation.
44926         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
44927         Likewise.
44928         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
44929         multiarch POWER8 memset optimization.
44930         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
44931         POWER8 memset optimization.
44933         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44934         Remove bzero multiarch objects.
44935         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
44936         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
44937         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
44938         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
44939         Remove define.
44940         [__bzero]: Redefine to specific name.
44941         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
44942         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
44943         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
44944         define.
44945         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44946         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44948 2014-09-10  Florian Weimer  <fweimer@redhat.com>
44950         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
44951         warnings into errors.
44953         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
44954         __cxa_thread_atexit_impl prototype.
44956 2014-09-09  Steve Ellcey  <sellcey@mips.com>
44958         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
44959         Fix capitalization of error message.
44961 2014-09-09  Steve Ellcey  <sellcey@mips.com>
44963         * sysdeps/mips/preconfigure: Modify ABI tests.
44965 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
44967         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
44969 2014-09-07  Roland McGrath  <roland@hack.frob.com>
44970             Carlos O'Donell  <carlos@systemhalted.org>
44972         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
44973         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
44974         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
44975         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
44976         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
44977         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
44978         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
44979         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
44980         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
44981         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
44982         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
44983         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
44984         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
44985         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
44986         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
44987         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
44988         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
44989         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
44990         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
44991         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
44992         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
44993         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
44994         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
44995         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
44996         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
44997         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
44998         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
44999         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
45000         Deconditionalize the code that was previously under [RESET_PID].
45001         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
45002         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
45003         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
45004         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
45005         include sysdep.h.
45007 2014-09-08  Allan McRae  <allan@archlinux.org>
45009         * version.h (RELEASE): Set to "development".
45010         (VERSION): Set to "2.20.90"
45012 2014-09-07  Allan McRae  <allan@archlinux.org
45014         * version.h (RELEASE): Set to "stable".
45015         (VERSION): Set to "2.20"
45016         * include/features.h (__GLIBC_MINOR__): Set to 20.
45018         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
45019         Liebler.
45021         * po/ko.po: Update Korean translation from translation project.
45023 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
45025         [BZ #17354]
45026         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
45027         macro for handling signed relocations.
45029 2014-09-03  Florian Weimer  <fweimer@redhat.com>
45031         [BZ #17325]
45032         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
45033         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
45034         assert.
45035         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
45036         * iconvdata/ibm935.c (BODY): Likewise.
45037         * iconvdata/ibm937.c (BODY): Likewise.
45038         * iconvdata/ibm939.c (BODY): Likewise.
45039         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
45040         assert.
45041         * iconvdata/Makefile (iconv-test.out): Pass module list to test
45042         script.
45043         * iconvdata/run-iconv-test.sh: New test loop for checking for
45044         decoder crashers.
45046 2014-09-02  Khem Raj  <raj.khem@gmail.com>
45048         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
45049         libm_hidden_ver.
45051 2014-09-01  Allan McRae  <allan@archlinux.org>
45053         * po/eo.po: Update Esperanto translation from translation project.
45055         * po/ca.po: Update Catalan translation from translation project.
45057 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45059         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
45060         __proc_dostop call.
45062 2014-08-27  Mark Wielaard  <mjw@redhat.com>
45064         [BZ #17319]
45065         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
45066         to call set_thread_area instead of hand written asm.
45067         (__NR_set_thread_area): Removed define.
45068         (TLS_FLAG_WRITABLE): Likewise.
45069         (__ASSUME_SET_THREAD_AREA): Remove check.
45070         (TLS_EBX_ARG): Remove define.
45071         (TLS_LOAD_EBX): Likewise.
45073 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45075         Simplify atomicity of socket creation in bind.
45077         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
45078         looking up the name after linking the file.
45080 2014-08-27  Allan McRae  <allan@archlinux.org>
45082         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45084 2014-08-26  Florian Weimer  <fweimer@redhat.com>
45086         [BZ #17187]
45087         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
45088         trans_compare, open_translit, __gconv_translit_find):
45089         Remove module loading code.
45091 2014-08-26  Allan McRae  <allan@archlinux.org>
45093         * po/vi.po: Update Vietnamese translation from translation project.
45095         * po/uk.po: Update Ukrainian translation from translation project.
45097         * po/fr.po: Update French translation from translation project.
45099         * po/ru.po: Update Russian translation from translation project.
45101         * po/pl.po: Update Polish translation from translation project.
45103         * po/cs.po: Update Czech translation from translation project.
45105         * po/de.po: Update German translation from translation project.
45107         * po/bg.po: Update Bulgarian translation from translation project.
45109         * po/sv.po: Update Sweedish translation from translation project.
45111         * po/nl.po: Update Dutch translation from translation project.
45113         * po/es.po: Update Spanish translation from translation project.
45115 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45117         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
45119         * catgets/Makefile (CPPFLAGS-gencat): Remove.
45120         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
45121         (CPPFLAGS-iconvconfig): Likewise.
45122         * timezone/Makefile (CPPFLAGS-zic): Likewise.
45124         * include/libc-symbols.h: Remove unnecessary check for
45125         NOT_IN_libc.
45126         * nptl/pthreadP.h: Likewise.
45127         * sysdeps/aarch64/setjmp.S: Likewise.
45128         * sysdeps/alpha/setjmp.S: Likewise.
45129         * sysdeps/arm/sysdep.h: Likewise.
45130         * sysdeps/i386/setjmp.S: Likewise.
45131         * sysdeps/m68k/setjmp.c: Likewise.
45132         * sysdeps/posix/getcwd.c: Likewise.
45133         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45134         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
45135         * sysdeps/s390/s390-32/setjmp.S: Likewise.
45136         * sysdeps/s390/s390-64/setjmp.S: Likewise.
45137         * sysdeps/sh/sh3/setjmp.S: Likewise.
45138         * sysdeps/sh/sh4/setjmp.S: Likewise.
45139         * sysdeps/unix/alpha/sysdep.h: Likewise.
45140         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
45141         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45142         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
45143         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
45144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45146         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45147         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45148         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45149         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45150         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45151         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
45152         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45153         * sysdeps/x86_64/setjmp.S: Likewise.
45155 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
45157         [BZ #17263]
45158         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
45159         <stdint.h>.
45160         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
45161         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
45163 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45165         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
45167         [BZ #17262]
45168         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
45169         and __x86_64__ when disabling x87 inline functions.
45171 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45173         [BZ #17259]
45174         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
45175         asm statement with __cpuid_count.
45177 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
45179         * configure.ac: Change __ehdr_start code to dereference the struct.
45180         Run readelf on the output to look for relocations.
45181         * configure: Regenerated.
45183 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
45185         [BZ #17261]
45186         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
45187         value to 0.
45188         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
45190 2014-08-12  Roland McGrath  <roland@hack.frob.com>
45192         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
45194 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
45196         [BZ #16892]
45197         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
45198         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
45200 2014-08-12  Sean Anderson  <seanga2@gmail.com>
45202         * malloc/malloc.c: Fix typo in comment.
45204 2014-08-09  Allan McRae  <allan@archlinux.org>
45206         * Regenerate libc.po.
45208 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
45210         * intl/tst-gettext2.sh: Check every lang file for creation.
45212 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
45214         * sysdeps/aarch64/fpu/math_private.h
45215         (libc_feholdsetround_noex_aarch64_ctx): New function.
45217 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
45219         * sysdeps/arm/armv6/strcpy.S (strcpy):
45220         Fix performance issue in misaligned cases.
45222 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45224         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
45225         Move definition from termios.h.
45226         (struct termio): Likewise.
45227         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45228         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
45229         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45230         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45231         Likewise.
45232         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
45233         Move definition to ioctl-types.h
45234         (struct termio): Likewise.
45235         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45236         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
45237         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45238         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45239         Likewise.
45241 2014-08-05  Richard Henderson  <rth@redhat.com>
45243         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
45244         exceptions.
45245         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
45246         Add fraiseexcpt.
45247         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
45248         Use __feraiseexcept.
45249         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
45250         Protect libm symbols with IS_IN_libm.
45252         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
45254 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
45256         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
45258 2014-08-04  Will Newton  <will.newton@linaro.org>
45260         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
45261         file.
45263 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
45265         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
45266         variants for each function.
45268 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45270         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
45271         appended ...
45272         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
45273         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
45274         appended ...
45275         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
45276         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
45277         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
45278         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
45279         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
45280         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
45281         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
45282         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
45283         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
45284         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
45285         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
45286         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
45287         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
45288         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
45289         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
45290         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
45291         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
45292         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
45293         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
45294         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
45295         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
45296         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
45297         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
45298         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
45299         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
45300         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
45301         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
45302         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
45303         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
45304         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
45305         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
45306         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
45307         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
45308         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
45309         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
45310         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
45311         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
45312         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
45313         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
45314         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
45315         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
45316         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
45317         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
45318         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
45319         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
45320         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
45321         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
45322         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
45323         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
45324         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
45325         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
45326         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
45327         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
45328         Update #include.
45329         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
45330         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
45332 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45334         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
45335         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
45336         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
45337         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
45338         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
45339         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
45341 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45343         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
45344         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
45345         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45346         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
45348 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45350         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
45351         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
45352         (__libc_vfork): Define function under this name.
45353         (__vfork): Define as an alias.
45354         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
45355         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
45357 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45359         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
45360         that was previously under [RESET_PID].
45361         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
45363 2014-08-04  Andreas Schwab  <schwab@suse.de>
45365         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
45367 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
45369         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
45370         (main): Likewise.
45372 2014-08-01  Roland McGrath  <roland@hack.frob.com>
45374         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
45376 2014-08-01  Richard Henderon  <rth@redhat.com>
45378         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
45379         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
45380         typo in exact zero test.
45381         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45382         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45383         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45385 2014-08-01  Roland McGrath  <roland@hack.frob.com>
45387         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
45388         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
45389         * sysdeps/arm/sysdep.h: ... here.
45390         [!__ASSEMBLER__]: Include <stdint.h>.
45392 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45394         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
45395         (HAVE_WCTYPE_H): Likewise.
45396         (HAVE_ISWCTYPE): Likewise.
45397         (ENABLE_NLS): Likewise.
45398         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
45399         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
45401         * posix/regex_internal.c: Check if DEBUG is defined and is
45402         set.
45404         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
45405         (HAVE_MBSRTOWCS): Likewise.
45406         * posix/fnmatch.c: Include string.h unconditionally.
45408 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
45410         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
45411         reversal.
45413 2014-07-31  Roland McGrath  <roland@hack.frob.com>
45415         * sysdeps/generic/safe-fatal.h: New file.
45416         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
45417         * nptl/forward.c: Include it.
45418         (__pthread_unwind): Use __safe_fatal as default action, rather
45419         than a bogus use of INTERNAL_SYSCALL that could never work.
45421         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
45422         * configure.ac (libc_cv_builtin_trap): New test.
45423         * configure: Regenerated.
45424         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
45425         (ABORT_INSTRUCTION): Define using __builtin_trap.
45427         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
45428         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
45429         * sysdeps/nptl/nptl-signals.h: New file.
45430         * nptl/pthreadP.h: Include <nptl-signals.h>.
45432 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
45434         * sysdeps/s390/s390-64/utf16-utf32-z9.c
45435         (ONE_DIRECTION): Define.
45436         * sysdeps/s390/s390-64/utf8-utf16-z9.c
45437         (ONE_DIRECTION): Define.
45438         * sysdeps/s390/s390-64/utf8-utf32-z9.c
45439         (ONE_DIRECTION): Define.
45441 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
45443         * sysdeps/s390/Makefile: Delete file.
45444         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
45445         * sysdeps/s390/__longjmp.c: Delete file.
45446         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
45447         Remove fields __flags and __reserved.
45448         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
45449         and add versioning.
45450         * sysdeps/s390/rtld-__longjmp.c: Delete file.
45451         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
45452         * sysdeps/s390/rtld-setjmp.S: Likewise.
45453         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
45454         * sysdeps/s390/s390-32/__longjmp.c: ... here.
45455         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
45456         * sysdeps/s390/s390-32/setjmp.S: ... here.
45457         Add versioning.
45458         (__sigsetjmp): Remove setting __flags field.
45459         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
45460         * sysdeps/s390/s390-64/__longjmp.c: ... here.
45461         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
45462         * sysdeps/s390/s390-64/setjmp.S: ... here.
45463         Add versioning.
45464         (__sigsetjmp): Remove setting __flags field.
45465         * sysdeps/s390/setjmp.S: Delete file.
45466         * sysdeps/s390/sigjmp.c: Likewise.
45467         * sysdeps/s390/v1-longjmp.c: Likewise.
45468         * sysdeps/s390/v1-setjmp.h: Likewise.
45469         * sysdeps/s390/v1-sigjmp.c: Likewise.
45470         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
45471         Remove v1-longjmp_chk.
45472         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
45473         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
45474         Include debug/longjmp_chk.c and add versioning.
45475         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
45476         Include nptl/pt-longjmp.c and add versioning.
45477         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
45478         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
45479         Include __longjmp.c.
45480         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45481         Move to ...
45482         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
45483         (__getcontext): Remove setting __flags field.
45484         Add versioning.
45485         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45486         Don't restore upper high grps.
45487         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
45488         Likewise.
45489         (__swapcontext): Remove setting uc_flags field.
45490         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
45491         Delete file.
45492         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45493         Include __longjmp.c.
45494         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45495         Move to ...
45496         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
45497         (__getcontext): Remove setting __flags field.
45498         Add versioning.
45499         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
45500         (__swapcontext): Remove setting uc_flags field.
45501         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
45502         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
45503         Remove fields uc_high_gprs and __reserved.
45504         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
45505         New file with reverted content.
45506         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
45507         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
45508         Regenerated.
45509         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
45510         Regenerated.
45512 2014-07-31  Andreas Schwab  <schwab@suse.de>
45514         * config.h.in (HAVE_IFUNC): Define to 0.
45515         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
45516         definedness.
45518 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
45520         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45521         memmove-avx-unaligned, memcpy-avx-unaligned and
45522         mempcpy-avx-unaligned.
45523         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45524         Add tests for AVX memcpy functions.
45525         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
45526         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
45527         memcpy_chk.
45528         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
45529         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
45530         memmove_chk.
45531         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
45532         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
45533         mempcpy_chk.
45534         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
45535         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
45536         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
45538 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45540         [BZ #17213]
45541         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
45542         powerpc64le.
45544 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
45546         [BZ #16839]
45547         * manual/llio.texi: Add section about open file description locks.
45548         * manual/examples/ofdlocks.c: Example of open file description
45549         lock usage.
45550         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
45551         F_OFD_SETLK, and F_OFD_SETLKW.
45553 2014-07-23  Allan McRae  <allan@archlinux.org>
45555         * po/es.po: Update Spanish translation from translation project.
45557 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
45559         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
45561 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
45563         [BZ #17078]
45564         * sysdeps/arm/dl-machine.h (elf_machine_rela)
45565         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
45566         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
45568 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
45570         [BZ #17088]
45571         * math/fesetenv.c (__fesetenv)
45572         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
45573         * math/feupdateenv.c (__feupdateenv)
45574         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
45576         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
45577         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45578         (__ASSUME_SOCKETCALL): Do not define.
45580         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
45581         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
45582         (__ASSUME_SOCKETCALL): Do not define.
45583         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
45584         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45585         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45586         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45587         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45588         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
45589         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45590         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45592         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
45593         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
45594         (__ASSUME_SOCKETCALL): Do not define.
45595         (__ASSUME_IPC64): Define unconditionally.
45596         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45597         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45598         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45599         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45600         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
45601         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45602         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
45603         Likewise.
45605         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
45606         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
45607         (__ASSUME_SOCKETCALL): Do not define.
45608         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
45609         (__ASSUME_FUTEX_LOCK_PI): Likewise.
45610         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45611         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45612         (__ASSUME_REQUEUE_PI): Define unconditionally.
45613         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
45614         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
45615         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45616         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
45617         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45618         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45620         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
45621         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
45622         (__ASSUME_SOCKETCALL): Do not define.
45623         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
45624         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45625         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45626         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
45627         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45628         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45630         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
45631         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
45632         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45633         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
45634         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45635         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
45636         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45637         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
45638         (__ASSUME_GETCPU_SYSCALL): Likewise.
45640         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
45641         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
45642         cases for individual architectures.
45643         * sysdeps/gnu/configure: Regenerated.
45644         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
45645         LIBC_SLIBDIR_RTLDDIR.
45646         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
45647         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
45648         LIBC_SLIBDIR_RTLDDIR.
45649         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
45650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
45651         LIBC_SLIBDIR_RTLDDIR.
45652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
45653         Regenerated.
45654         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
45655         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
45656         file.
45657         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
45658         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
45659         file.
45660         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
45661         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
45662         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
45663         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
45665         * sysdeps/aarch64/shlib-versions: Move to ...
45666         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
45667         * sysdeps/alpha/shlib-versions: Move to ...
45668         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
45669         * sysdeps/arm/shlib-versions: Move to ...
45670         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
45671         * sysdeps/hppa/shlib-versions: Move all contents except for
45672         libgcc_s entry to ...
45673         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
45674         entry from ...
45675         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
45676         * sysdeps/ia64/shlib-versions: Move to ...
45677         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
45678         entry from ...
45679         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
45680         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
45681         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
45682         * sysdeps/microblaze/shlib-versions: Move to ...
45683         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
45684         * sysdeps/mips/shlib-versions: Move to ...
45685         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
45686         entry from ...
45687         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
45688         * sysdeps/tile/shlib-versions: Move to ...
45689         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
45690         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
45691         from ...
45692         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
45693         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
45694         entry from ...
45695         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
45697 2014-07-17  Will Newton  <will.newton@linaro.org>
45699         * sysdeps/arm/bits/atomic.h
45700         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
45701         (__arch_compare_and_exchange_bool_16_int): Likewise.
45702         (__arch_compare_and_exchange_bool_64_int): Likewise.
45704         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
45705         into an #else block.
45707 2014-07-16  Roland McGrath  <roland@hack.frob.com>
45709         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
45710         just Linux configurations.  Test empirically that the compiler sets
45711         __ARM_EABI__, rather than using the tuple to decide.
45712         * sysdeps/arm/preconfigure: Regenerated.
45713         * sysdeps/unix/sysv/linux/arm/configure: File removed.
45714         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
45715         contents appended ...
45716         * sysdeps/arm/configure.ac: ... here.
45717         * sysdeps/arm/configure: Regenerated.
45719 2014-07-15  Roland McGrath  <roland@hack.frob.com>
45721         * nptl/pthread_kill.c: New file.
45722         * nptl/pthread_sigmask.c: New file.
45723         * nptl/pthread_sigqueue.c: New file.
45725         * sysdeps/nptl/lowlevellock.h: New file.
45726         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
45727         * sysdeps/nptl/lowlevellock-futex.h: New file.
45729         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
45730         Remove dead declarations.
45732 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
45734         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
45735         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
45736         config-cflags-avx2.
45737         * sysdeps/x86_64/configure.ac: Likewise.
45738         * sysdeps/i386/configure: Regenerated.
45739         * sysdeps/x86_64/configure: Likewise.
45740         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45741         memset-avx2 only if config-cflags-avx2 is yes.
45742         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45743         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
45744         defined.
45745         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
45746         only if HAVE_AVX2_SUPPORT is defined.
45747         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45749 2014-07-14  Alan Modra  <amodra@gmail.com>
45751         [BZ #17153]
45752         * elf/elf.h (DT_PPC64_NUM): Correct value.
45753         * NEWS: Add to fixed bug list.
45755 2014-07-13  Jim Meyering  <meyering@fb.com>
45757         [BZ 17150]
45758         regex: don't deref NULL upon heap allocation failure
45759         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
45760         failure in one more place.
45761         To trigger the segfault, configure grep -with-included-regex,
45762         build it, and run these commands:
45763         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
45765 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
45767         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
45769 2014-07-11  Richard Henderson  <rth@redhat.com>
45771         * sysdeps/aarch64/libm-test-ulps: Update.
45773 2014-07-10  Florian Weimer  <fweimer@redhat.com>
45775         [BZ #17135]
45776         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
45777         * nptl/allocatestack.c (__nptl_setxid_error): New function.
45778         (__nptl_setxid): Initialize error member.  Call
45779         __nptl_setxid_error.
45780         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
45781         * nptl/descr.h (struct xid_command): Add error member.
45782         * nptl/tst-setuid3.c: New file.
45783         * nptl/Makefile (tests): Add it.
45785 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45787         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
45788         New define.
45789         (__lll_trylock): Use __lll_base_trylock.
45790         (__lll_cond_trylock): Likewise.
45792 2014-07-10  Roland McGrath  <roland@hack.frob.com>
45794         * nptl/pthread_create.c (start_thread): Use atomic_or and
45795         lll_futex_wake directly rather than lll_robust_dead.
45796         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45797         (lll_robust_dead): Macro removed.
45798         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
45799         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45800         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45801         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45802         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45803         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45804         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45805         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45806         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45807         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45808         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45809         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45810         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45811         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45812         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45814         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
45815         Use atomic_compare_and_exchange_val_acq directly rather than
45816         lll_robust_trylock.
45817         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45818         (__lll_robust_trylock, lll_robust_trylock): Removed.
45819         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45820         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45821         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45822         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45823         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45824         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45825         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45826         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45827         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45828         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45829         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45830         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45831         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45832         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45834 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45836         * manual/locale.texi (Locale Names): New section documenting
45837         locale name syntax.  Adjust menu and node chaining accordingly.
45838         (Choosing Locale): Reference Locale Names, Locale Categories.
45839         Mention setting LC_ALL=C.  Reflect that name syntax is now
45840         documented.
45841         (Locale Categories): New section title.  Reference Locale Names.
45842         LC_ALL is an environment variable, but not a category.
45843         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
45844         description, now in Locale Name.  Reference that section.  Locale
45845         name syntax is now documented.
45847 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45849         [BZ #17137]
45850         * locale/findlocale.c (name_present, valid_locale_name): New
45851         functions.
45852         (_nl_find_locale): Use the loc_name variable to store name
45853         candidates.  Call name_present and valid_locale_name to check and
45854         validate locale names.  Return an error if the locale is invalid.
45856 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45858         * locale/setlocale.c (setlocale): Use strdup for allocating
45859         composite name copy.
45861 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45863         Sync up with gnulib.
45864         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
45865         [!_LIBC && ENABLE_NLS]: Include gettext.h.
45866         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
45867         and _GL_ARG_NONNULL.
45868         [USE_UNLOCKED_IO]: Include unlocked-io.h.
45869         [!_LIBC]: Include code for Windows and Cygwin.
45870         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
45871         Include prototype for int strerror_r.
45872         [!_LIBC] (is_open): New function.
45873         (flush_stdout): New function.
45874         (print_errno_message): Use it.
45875         (error): Likewise.
45876         (error_at_line): Likewise.
45877         (error_tail) Add function attribute macros.  Use
45878         __builtin_expect.
45880         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
45882         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
45884         * io/ftw.c: Include sys/param.h unconditionally.
45886         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
45888         [BZ #17125]
45889         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
45890         libc_freeres_ptr.
45891         (freecache): New function to free CACHE on exit.
45893         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
45894         initialization.
45896 2014-07-09  David S. Miller  <davem@davemloft.net>
45898         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45900         * sysdeps/sparc/nptl/internaltypes.h: Delete.
45901         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
45902         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
45903         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
45904         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
45905         * sysdeps/sparc/nptl/sem_init.c: Likewise.
45906         * sysdeps/sparc/nptl/sem_post.c: Likewise.
45907         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
45908         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
45909         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
45910         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
45911         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
45912         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
45914 2014-07-09  Andreas Schwab  <schwab@suse.de>
45916         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
45917         output.
45918         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
45919         (do_test): Likewise.
45921         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45923 2014-07-09  Will Newton  <will.newton@linaro.org>
45925         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
45926         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
45927         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
45928         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
45929         * sysdeps/hppa/start.S (_start): Likewise.
45931 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
45933         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
45935         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
45936         defined.
45938 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45940         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
45941         after checking that it is non-NULL.
45943         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
45945 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45947         * sysdeps/powerpc/memmove.c: Remove file.
45948         * sysdeps/powerpc/powerpc32/power4/memcopy.h
45949         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
45950         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
45951         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
45952         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
45953         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
45954         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
45955         string memmove instead of removed powerpc one.
45957         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45958         [weak_alias]: Fix compiler warning due trailing data.
45959         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
45960         [weak_alias]: Likewise.
45961         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
45962         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
45964         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45965         (__libc_ifunc_impl_list): Add memmove functions.
45967 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45969         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
45970         Remove code.
45971         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
45972         Likewise.
45973         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
45974         Likewise.
45975         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
45976         Likewise.
45977         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
45978         Likewise.
45979         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
45980         Likewise.
45981         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
45982         Likewise.
45983         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
45984         Likewise.
45985         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
45986         Likewise.
45987         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
45988         Likewise.
45989         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
45990         Likewise.
45991         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
45992         Likewise.
45993         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
45994         Likewise.
45995         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
45996         Likewise.
45997         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
45998         Likewise.
45999         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
46000         Likewise.
46001         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
46002         Likewise.
46004 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46006         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
46007         to avoid alignment traps in non-cacheable memory.
46008         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46010         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
46011         multiarch objects.
46012         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
46013         file: multiarch power7 memmove.
46014         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
46015         multiarch default memmove.
46016         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
46017         multiarch memove for powerpc32/power4.
46019         * string/bcopy.c: Use full path to include memmove.c.
46020         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
46021         multiarch objects.
46022         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
46023         bcopy for powerpc64.
46024         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
46025         bcopy for powerpc64.
46026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
46027         and memmove implementations.
46028         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
46029         optimized multiarch memmove for POWER7/powerpc64.
46030         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
46031         default multiarch memmove for powerpc64.
46032         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
46033         multiarch for powerpc64.
46034         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
46035         for POWER7/powerpc64.
46036         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
46037         memmove for POWER7/powerpc64.
46039         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
46040         glibc default one.
46042         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
46043         __ELF_NATIVE_CLASS equal to 64.
46045 2014-07-07  Roland McGrath  <roland@hack.frob.com>
46047         * sysdeps/nptl/lowlevellock.h: File removed.
46049         * NEWS: NPTL is no longer an add-on!
46050         * nptl/internaltypes.h: Moved ...
46051         * sysdeps/nptl/internaltypes.h: ... here.
46052         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
46053         * sysdeps/nptl/fork.c: Likewise.
46054         * sysdeps/nptl/gai_misc.h: Likewise.
46055         * sysdeps/nptl/librt-cancellation.c: Likewise.
46056         * sysdeps/nptl/jmp-unwind.c: Likewise.
46057         * sysdeps/nptl/setxid.h: Likewise.
46058         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
46059         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
46060         * sysdeps/unix/sysv/linux/arm/Implies: New file.
46061         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
46062         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
46063         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
46064         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
46065         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
46066         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
46067         * sysdeps/unix/sysv/linux/mips/Implies: New file.
46068         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
46069         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
46070         * sysdeps/unix/sysv/linux/sh/Implies: New file.
46071         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
46072         * sysdeps/unix/sysv/linux/tile/Implies: New file.
46073         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
46074         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
46075         * nptl/Makeconfig: Moved ...
46076         * sysdeps/nptl/Makeconfig: ... here.
46077         * nptl/configure: File removed.
46078         * nptl/ANNOUNCE: File removed.
46079         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
46080         * sysdeps/unix/sysv/linux/configure: Regenerated.
46082         * nptl/Makefile (routines): Add libc_pthread_init,
46083         libc_multiple_threads, register-atfork and unregister-atfork.
46084         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
46085         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
46086         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
46087         pthread-pi-defines.sym, structsem.sym.
46088         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
46089         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
46090         [$(subdir) = nptl] (tests): Add tst-setgetname.
46091         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
46092         * sysdeps/unix/sysv/linux/sigaction.c: Just include
46093         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
46094         [!LIBC_SIGACTION]: Remove aliases.
46095         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
46096         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
46097         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
46098         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
46099         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
46100         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
46101         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46102         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46103         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
46104         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
46105         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
46106         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
46107         __libc_allocate_rtsig_private.
46108         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
46109         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
46110         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
46111         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
46112         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
46113         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
46114         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
46115         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
46116         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
46117         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
46118         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
46119         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
46120         * nptl/internaltypes.h: ... here.
46121         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
46122         * sysdeps/nptl/jmp-unwind.c: ... here.
46123         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
46124         * nptl/libc-lowlevellock.c: ... here.
46125         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
46126         * nptl/libc_multiple_threads.c: ... here.
46127         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
46128         * nptl/libc_pthread_init.c: ... here.
46129         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
46130         * nptl/lowlevelbarrier.sym: ... here.
46131         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
46132         * nptl/lowlevelcond.sym: ... here.
46133         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
46134         * nptl/lowlevellock.c: ... here.
46135         * nptl/lowlevellock.h: Moved ...
46136         * sysdeps/nptl/lowlevellock.h: ... here.
46137         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
46138         * nptl/lowlevelrobustlock.c: ... here.
46139         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
46140         * nptl/lowlevelrobustlock.sym: ... here.
46141         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
46142         * nptl/lowlevelrwlock.sym: ... here.
46143         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
46144         * nptl/pt-fork.c: ... here.
46145         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
46146         * nptl/pthread-pi-defines.sym: ... here.
46147         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
46148         * nptl/pthread_attr_getaffinity.c: ... here.
46149         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
46150         * nptl/pthread_attr_setaffinity.c: ... here.
46151         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
46152         * nptl/pthread_mutex_cond_lock.c: ... here.
46153         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46154         Update #include.
46155         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
46156         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
46157         * nptl/pthread_once.c: ... here, replacing old file.
46158         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
46159         * nptl/pthread_yield.c: ... here.
46160         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
46161         * nptl/register-atfork.c: ... here.
46162         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
46163         * nptl/sem_post.c: ... here.
46164         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
46165         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
46166         * nptl/sem_timedwait.c: ... here.
46167         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
46168         * nptl/sem_trywait.c: ... here.
46169         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
46170         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
46171         * nptl/sem_wait.c: ... here.
46172         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
46173         * nptl/structsem.sym: ... here.
46174         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
46175         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
46176         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
46177         * nptl/unregister-atfork.c: ... here.
46178         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
46179         * nptl/unwindbuf.sym: ... here.
46180         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
46181         * sysdeps/nptl/fork.c: ... here.
46182         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
46183         * sysdeps/nptl/fork.h: ... here.
46184         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
46185         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
46186         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
46187         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
46188         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
46189         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
46190         * sysdeps/unix/sysv/linux/getpid.c: ... here.
46191         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
46192         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
46193         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
46194         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
46195         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
46196         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
46197         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
46198         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
46199         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
46200         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
46201         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
46202         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
46203         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
46204         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
46205         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
46206         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
46207         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
46208         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
46209         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
46210         * sysdeps/unix/sysv/linux/raise.c: ... here.
46211         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
46212         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
46213         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
46214         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
46215         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
46216         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
46217         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
46218         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
46219         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
46220         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
46221         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
46222         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
46223         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
46224         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
46225         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
46227 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46229         * sysdeps/generic/memcopy.h: Add comment for
46230         MEMCPY_OK_FOR_FWD_MEMMOVE.
46232 2014-07-04  Will Newton  <will.newton@linaro.org>
46234         * string/memchr.c: Merge from gnulib.
46235         [_LIBC]: Remove conditionals.
46236         (__ptr_t): Remove define.
46237         (LONG_MAX_32_BITS): Likewise.
46238         (LONG_MAX): Likewise.
46239         (MEMCHR): Use ANSI prototype and optimize algorithm.
46241         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
46243 2014-07-03  Roland McGrath  <roland@hack.frob.com>
46245         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
46246         (lll_futex_timed_wait_bitset): Fix syscall argument count.
46248         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
46249         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
46250         in a bare environment with no <stdlib.h> installed.
46251         * sysdeps/nptl/configure: Regenerated.
46253         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
46255         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
46256         AC_EGREP_CPP for kernel header checks, so they only succeed if
46257         including <linux/version.h> actually works right.
46258         * sysdeps/unix/sysv/linux/configure: Regenerated.
46260         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
46261         value so it's not diagnosed as unused.
46263         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
46264         thing) with "ifeq ($(subdir),rt)".
46266 2014-07-03  Richard Henderson  <rth@redhat.com>
46268         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
46269         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
46270         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
46272         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
46273         (math_force_eval): New.
46275         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
46276         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
46278         * sysdeps/alpha/fpu/s_round.c: Remove file.
46279         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
46281         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
46282         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
46283         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
46284         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
46285         (_dl_start, print_statistics): Likewise.
46286         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
46287         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
46289         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46290         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46291         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46292         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46293         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46294         (HP_SMALL_TIMING_AVAIL): Define.
46295         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46296         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46297         (HP_SMALL_TIMING_AVAIL): Define.
46298         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46299         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46301         * sysdeps/aarch64/hp-timing.h: New file.
46303         * sysdeps/generic/hp-timing.h: Remove dead comment.
46304         * sysdeps/generic/hp-timing-common.h: New file.
46305         * sysdeps/alpha/hp-timing.h: Include it.
46306         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
46307         * sysdeps/i386/i686/hp-timing.h: Likewise.
46308         * sysdeps/ia64/hp-timing.h: Likewise.
46309         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46310         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46311         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46312         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46313         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
46314         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
46315         (hp_timing_t): New.
46317         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
46318         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
46319         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
46320         * elf/rtld.c (_dl_start_final): Likewise.
46321         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
46322         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46323         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46324         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46325         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46326         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46327         (HP_TIMING_DIFF_INIT): Remove.
46328         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46329         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46330         (HP_TIMING_DIFF_INIT): Remove.
46331         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46332         * sysdeps/i386/i686/hp-timing.c: Remove file.
46333         * sysdeps/x86_64/hp-timing.c: Remove file.
46334         * sysdeps/ia64/hp-timing.c: Remove file.
46335         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
46336         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
46337         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
46338         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
46340         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
46341         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
46342         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
46343         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46344         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46345         (HP_TIMING_ACCUM): Remove.
46346         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46347         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
46348         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46350         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
46351         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
46352         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
46353         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
46354         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
46355         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46356         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
46357         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46359         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
46361 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
46363         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
46365 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46367         Sync up with gettext.
46368         * intl/loadmsgcat.c: Define O_BINARY if not defined.
46369         [_MSC_VER]: Include malloc.h
46370         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
46371         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
46372         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
46373         TEMP_FAILURE_RETRY.  Cast return of alloca.
46374         [!_LIBC] Call gl_rwlock_init.
46375         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
46377 2014-07-02  Roland McGrath  <roland@hack.frob.com>
46379         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
46380         before checking its value.
46382 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46384         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
46386         * debug/memcpy_chk.c: Don't include pagecopy.h.
46387         * debug/mempcpy_chk.c: Likewise.
46388         * string/memcpy.c: Likewise.
46389         * string/memmove.c: Likewise.
46390         * sysdeps/powerpc/memmove.c: Likewise.
46391         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
46392         definition of PAGE_COPY_FWD_MAYBE here...
46393         * sysdeps/generic/pagecopy.h: ... from here.
46394         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
46396 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46397             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46399         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
46400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
46401         optimizations.
46402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46403         (__libc_ifunc_impl_list): Likewise.
46404         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
46405         multiarch strcat for PPC64.
46406         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
46407         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
46409 2014-07-02  Roland McGrath  <roland@hack.frob.com>
46411         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
46413 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46415         * intl/loadmsgcat.c: Remove declaration of
46416         get_sysdep_segment_value.
46417         (get_sysdep_segment_value): Use ISO C style.
46418         (_nl_load_domain): Use ISO C style.  Get rid of redundant
46419         semicolon.  Fix typo and formatting in comment.
46420         (_nl_unload_domain): Use ISO C style.
46422         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
46424 2014-07-02  Will Newton  <will.newton@linaro.org>
46426         * malloc/obstack.c: Merge from gnulib master.
46427         [HAVE_CONFIG_H]: Remove conditional code.
46428         [!_LIBC]: Include config.h.
46429         [!ELIDE_CODE]: Don't include inttypes.h, include
46430         stdint.h unconditionally.
46431         (print_and_abort): Mark as _Noreturn.
46432         (_obstack_allocated_p): Mark as __attribute_pure__.
46433         (obstack_free): Rename to __obstack_free.
46434         [!__attribute__]: Remove conditional code.
46435         * malloc/obstack.h: Merge from gnulib master.
46436         [__cplusplus]: Move conditional down.
46437         [!__attribute_pure__]: Define __attribute_pure__ here
46438         if it is not already defined.
46439         (_obstack_memory_used): Mark as __attribute_pure__.
46440         [!__obstack_free]: Define as obstack_free.
46441         [__GNUC__]: Remove check for ancient NeXT gcc.
46443 2014-07-02  Will Newton  <will.newton@linaro.org>
46444             Paul Eggert  <eggert@cs.ucla.edu>
46446         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
46448 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46450         * resolv/gethnamaddr.c: Add comment warning that the file is
46451         not maintained.
46453 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
46455         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
46456         entries.
46458         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
46459         entry for aio_cancel and aio_cancel64.
46460         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
46461         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
46462         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
46463         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
46464         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
46465         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
46466         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
46467         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
46468         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
46469         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
46470         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
46471         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
46472         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
46474 2014-07-01  Roland McGrath  <roland@hack.frob.com>
46476         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
46477         * nptl/pthread_mutex_lock.c: Likewise.
46478         * nptl/pthread_mutex_timedlock.c: Likewise.
46479         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
46481 2014-07-01  Richard henderson  <rth@redhat.com>
46483         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
46484         (__isnan, __isnanl): Remove.
46485         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
46487         * sysdeps/alpha/fpu/libm-test-ulps: Update.
46489 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
46491         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46493 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46495         * resolv/nss_dns/dns-host.c (getanswer_r)
46496         [MULTI_PTRS_ARE_ALIASES]: Remove code.
46498 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
46500         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46501         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
46502         undefine.
46503         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
46504         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
46506 2014-07-01  Roland McGrath <roland@hack.frob.com>
46508         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
46509         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
46511         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
46512         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
46514         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
46515         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
46516         ... here.
46517         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
46518         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
46520         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
46521         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
46522         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
46523         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
46525         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
46526         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
46527         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
46528         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
46529         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
46530         Moved ...
46531         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
46532         ... here.
46533         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
46534         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
46535         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
46536         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
46537         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
46538         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
46539         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
46540         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
46541         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
46542         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
46543         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
46544         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
46545         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
46546         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
46547         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
46548         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
46549         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
46550         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
46551         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
46552         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
46553         ... here.
46554         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
46555         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
46556         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
46557         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
46558         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
46559         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
46560         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
46561         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
46563 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
46565         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
46566         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
46567         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
46568         Add sysdep.
46570 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46574 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
46576         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
46577         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
46579         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46581         * sysdeps/arm/libm-test-ulps: Regenerated.
46583 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46584             Roland McGrath <roland@hack.frob.com>
46586         * test-skeleton.c (signal_handler): Kill the whole process group
46587         before killing the child individually.
46588         (main): Report any failure on `setpgid'.
46590 2014-06-30  Roland McGrath  <roland@hack.frob.com>
46592         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
46593         from _TLS_H to _ARM_NPTL_TLS_H.
46594         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
46595         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
46597 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
46599         [BZ #16539]
46600         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
46601         (__expm1l): Return argument unchanged when small but not
46602         subnormal.
46604         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
46605         include macro name.
46606         (_FP_UNPACK_RAW_1_P): Likewise.
46607         (_FP_PACK_RAW_1): Likewise.
46608         (_FP_PACK_RAW_1_P): Likewise.
46609         (_FP_MUL_MEAT_1_wide): Likewise.
46610         (_FP_MUL_MEAT_DW_1_hard): Likewise.
46611         (_FP_MUL_MEAT_1_hard): Likewise.
46612         (_FP_DIV_MEAT_1_imm): Likewise.
46613         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
46614         (_FP_DIV_MEAT_1_udiv): Likewise.
46615         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
46616         (_FP_UNPACK_RAW_2): Likewise.
46617         (_FP_UNPACK_RAW_2_P): Likewise.
46618         (_FP_PACK_RAW_2): Likewise.
46619         (_FP_PACK_RAW_2_P): Likewise.
46620         (_FP_MUL_MEAT_DW_2_wide): Likewise.
46621         (_FP_MUL_MEAT_2_wide): Likewise.
46622         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
46623         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
46624         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
46625         (_FP_MUL_MEAT_2_gmp): Likewise.
46626         (_FP_DIV_MEAT_2_udiv): Likewise.
46627         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
46628         (_FP_FRAC_SRL_4): Likewise.
46629         (_FP_FRAC_SRST_4): Likewise.
46630         (_FP_FRAC_SRS_4): Likewise.
46631         (_FP_UNPACK_RAW_4): Likewise.
46632         (_FP_UNPACK_RAW_4_P): Likewise.
46633         (_FP_PACK_RAW_4): Likewise.
46634         (_FP_PACK_RAW_4_P): Likewise.
46635         (_FP_MUL_MEAT_DW_4_wide): Likewise.
46636         (_FP_MUL_MEAT_4_wide): Likewise.
46637         (_FP_MUL_MEAT_4_gmp): Likewise.
46638         (umul_ppppmnnn): Likewise.
46639         (_FP_DIV_MEAT_4_udiv): Likewise.
46640         (__FP_FRAC_ADD_4): Likewise.
46641         (__FP_FRAC_SUB_3): Likewise.
46642         (__FP_FRAC_SUB_4): Likewise.
46643         (__FP_FRAC_DEC_3): Likewise.
46644         (__FP_FRAC_DEC_4): Likewise.
46645         (__FP_FRAC_ADDI_4): Likewise.
46646         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
46647         (_FP_FRAC_SRL_8): Likewise.
46648         (_FP_FRAC_SRS_8): Likewise.
46650         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
46651         include macro name.
46652         (FP_UNPACK_RAW_EP): Likewise.
46653         (FP_PACK_RAW_E): Likewise.
46654         (FP_PACK_RAW_EP): Likewise.
46655         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
46656         (_FP_ISSIGNAN): Likewise.
46657         (_FP_ADD_INTERNAL): Likewise.
46658         (_FP_FMA): Likewise.
46659         (_FP_CMP): Likewise.
46660         (_FP_SQRT): Likewise.
46661         (_FP_TO_INT): Likewise.
46662         (_FP_FROM_INT): Likewise.
46663         (FP_EXTEND): Likewise.
46664         (_FP_DIV_MEAT_N_loop): Likewise.
46666 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46668         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
46669         throughout.
46671 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
46673         [BZ #17097]
46674         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
46675         result with correct sign in case of exponents that produce
46676         overflow except for X very close to 1.
46678 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
46680         mktime: merge #if/#ifdef usage from glibc
46681         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
46682         as that works with both Glibc's and Gnulib's style.
46683         See thread starting at Siddhesh Poyarekar's bug report at:
46684         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
46686 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46688         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
46689         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
46690         * sysdeps/tile/tilegx/memmove.c: Remove file.
46692 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46694         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
46695         abi-name definition.
46696         * scripts/soversions.awk: Do not handle or generate ABI lines.
46697         * shlib-versions: Remove ABI entries.
46698         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
46699         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
46701 2014-06-27  Roland McGrath  <roland@hack.frob.com>
46703         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
46704         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
46705         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
46706         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
46707         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
46708         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
46709         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
46710         Moved ...
46711         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
46712         ... here.
46713         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
46714         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
46715         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
46716         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
46717         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
46718         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
46719         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
46720         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
46721         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
46722         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
46723         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
46724         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
46725         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
46726         Moved ...
46727         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
46728         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
46729         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
46730         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
46731         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
46732         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
46733         Moved ...
46734         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
46735         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
46736         Moved ...
46737         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
46738         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
46739         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
46740         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
46741         Moved ...
46742         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
46743         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
46744         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
46745         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
46746         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
46747         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
46748         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
46749         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
46750         Moved ...
46751         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
46752         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
46753         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
46754         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
46755         Moved ...
46756         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
46757         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
46758         Moved ...
46759         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
46760         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
46761         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
46762         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
46763         Moved ...
46764         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
46765         ... here.
46766         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
46767         Identical file removed.
46768         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
46769         Moved ...
46770         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
46771         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
46772         Identical file removed.
46773         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
46774         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
46775         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
46776         Moved ...
46777         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
46778         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
46779         Identical file removed.
46780         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
46781         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
46782         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
46783         Identical file removed.
46784         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
46785         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
46786         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
46787         Identical file removed.
46788         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
46789         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
46790         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
46791         Identical file removed.
46792         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
46793         Moved ...
46794         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
46795         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
46796         Identical file removed.
46797         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
46798         Moved ...
46799         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
46800         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
46801         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
46802         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
46803         Identical file removed.
46804         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
46805         Moved ...
46806         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
46807         ... here.
46808         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
46809         Identical file removed.
46810         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
46811         Moved ...
46812         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
46813         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
46814         Identical file removed.
46815         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
46816         Moved ...
46817         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
46818         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
46819         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
46820         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
46821         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
46822         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
46823         Moved ...
46824         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
46825         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
46826         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
46828         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
46829         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
46830         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
46831         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
46832         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
46834 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
46836         [BZ #17092]
46837         * nscd/nscd.c (monitor_child): Return exit status of child
46838         instead of return value from wait syscall.
46840 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46842         * configure.ac (libc_commonpagesize): Remove variable.
46843         (libc_relro_required): Likewise.
46844         (libc_cv_z_relro): Remove configure test.
46845         * configure: Regenerated.
46846         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
46847         variable.
46848         (libc_relro_required): Likewise.
46849         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
46850         (libc_relro_required): Likewise.
46851         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
46852         (libc_relro_required): Likewise.
46853         * sysdeps/arm/preconfigure: Regenerated.
46854         * sysdeps/ia64/preconfigure: Remove file.
46855         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
46856         variable.
46857         (libc_relro_required): Likewise.
46859         [BZ #16561]
46860         [BZ #16562]
46861         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
46862         (__ieee754_yn): Set FE_TONEAREST mode internally and then
46863         recompute overflowing results in original rounding mode.
46864         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
46865         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
46866         recompute overflowing results in original rounding mode.
46867         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
46868         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46869         recompute overflowing results in original rounding mode.
46870         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
46871         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46872         recompute overflowing results in original rounding mode.
46873         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
46874         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46875         recompute overflowing results in original rounding mode.
46876         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
46877         (libc_feholdsetround_ctx): New macro.
46878         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
46879         * sysdeps/i386/fpu/libm-test-ulps: Update.
46880         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
46882 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46884         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
46885         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
46886         corresponding .cpsetup call.
46888 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46890         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
46891         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
46892         * sysdeps/arm/Makefile [$(subdir) = csu]
46893         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
46894         (static-only-routines): Add aeabi_read_tp here.
46895         (shared-only-routines): Add libc-aeabi_read_tp here.
46896         (CFLAGS-libc-start.c): Add -fexceptions here.
46897         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
46898         (sysdep_routines, static-only-routines, shared-only-routines):
46899         Don't add to these here.
46900         (CFLAGS-libc-start.c): Likewise.
46902         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
46903         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46904         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
46905         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46906         * sysdeps/arm/Makefile [$(subdir) = rt]
46907         (librt-sysdep_routines, librt-shared-only-routines):
46908         Append rt-aeabi_unwind_cpp_pr1 here.
46909         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
46910         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
46911         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
46912         (libpthread-sysdep_routines, libpthread-shared-only-routines):
46913         Append nptl-aeabi_unwind_cpp_pr1 here.
46914         (tests): Filter out tst-cleanupx4 here.
46915         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
46916         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
46917         Don't do those here.
46919 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46921         * scripts/list-sources.sh: Do not handle ports specially.
46923 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46925         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
46926         * sysdeps/arm/feupdateenv.c: Likewise.
46928         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
46930 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46932         * manual/texinfo.tex: Update to version 2014-05-05.10 with
46933         trailing whitespace removed.
46934         * scripts/config.guess: Update to version 2014-03-23.
46935         * scripts/config.sub: Update to version 2014-05-01
46936         * scripts/install-sh: Update to version 2013-12-25.23.
46937         * scripts/move-if-change: Update from gnulib.
46939 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46941         * debug/memmove_chk.c: Remove pagecopy.h include.
46943 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
46945         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
46946         identical to gnulib mktime.
46948 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46950         * configure.ac: Do not test for machine being rs6000.  Do not test
46951         for powerpc*-*soft.
46952         * configure: Regenerated.
46954         [BZ #11505]
46955         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
46956         test.
46957         * configure: Regenerated.
46958         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
46959         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
46960         Remove configure test.
46961         * sysdeps/arm/configure: Regenerated.
46962         * sysdeps/nptl/configure.ac: Do not check
46963         libc_cv_asm_cfi_directives.
46964         * sysdeps/nptl/configure: Regenerated.
46965         * sysdeps/x86_64/nptl/configure.ac: Remove file.
46966         * sysdeps/x86_64/nptl/configure: Remove generated file.
46967         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
46968         unconditional.
46969         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
46971 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46973         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
46974         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
46975         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
46976         it is defined.
46978         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
46979         instead of whether it is defined.
46980         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
46981         * sysdeps/hppa/dl-machine.h: Likewise.
46982         * sysdeps/ia64/dl-machine.h: Likewise.
46983         * sysdeps/m68k/dl-machine.h: Likewise.
46984         * sysdeps/microblaze/dl-machine.h: Likewise.
46985         * sysdeps/mips/dl-machine.: Likewise.
46986         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46987         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46988         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46989         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46990         * sysdeps/sh/dl-machine.h: Likewise.
46991         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46992         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46993         * sysdeps/tile/dl-machine.h: Likewise.
46994         * sysdeps/x86_64/dl-machine.h: Likewise.
46996         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
46997         code.
46998         (verify_persistent_db): Likewise.
47000 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
47003         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
47004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
47005         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
47006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47007         Moved ...
47008         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
47009         ... here.
47010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
47011         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
47012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
47013         Identical file removed.
47014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
47015         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
47016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
47017         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
47018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
47019         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
47020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
47021         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
47022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
47023         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
47024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47025         Moved ...
47026         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
47027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
47028         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
47029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
47030         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
47031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47032         Moved ...
47033         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
47034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
47035         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
47036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
47037         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
47038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47039         Identical file removed.
47040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
47041         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
47042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
47043         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
47044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47045         Moved ...
47046         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
47047         ... here.
47048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
47049         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
47050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
47051         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
47052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
47053         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
47054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
47055         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
47056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
47057         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
47058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47059         Moved ...
47060         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
47061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
47062         Moved ...
47063         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
47064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
47065         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
47066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47067         Moved ...
47068         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
47069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
47070         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
47072         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
47073         folded into ...
47074         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
47075         * sysdeps/unix/sysv/linux/s390/Versions
47076         (libpthread: GLIBC_2.19): New version set.
47077         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
47078         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
47079         (librt: GLIBC_2.3.3): New version set.
47080         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
47081         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
47082         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
47083         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
47084         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
47085         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
47086         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
47087         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
47088         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
47089         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
47090         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
47091         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
47092         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
47093         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
47094         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
47095         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
47096         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
47097         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
47098         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
47099         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
47100         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
47101         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
47102         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
47103         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
47104         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
47105         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
47106         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
47107         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
47108         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
47109         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
47110         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
47111         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
47112         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
47113         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
47114         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
47115         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
47116         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
47117         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
47118         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
47119         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
47120         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
47121         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
47122         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
47123         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
47124         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
47126         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
47127         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
47128         (__libc_vfork): Define the function under this name.
47129         [!NOT_IN_libc] (__vfork): Make this an alias.
47130         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
47131         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
47132         * sysdeps/unix/sysv/linux/s390/s390-64/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         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
47137         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
47138         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
47139         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
47140         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47142         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
47143         code that was previously under [RESET_PID].
47144         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
47145         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
47146         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
47148         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
47149         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
47150         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
47151         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
47152         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
47153         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
47154         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
47155         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
47156         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
47157         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
47158         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
47159         Moved ...
47160         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
47161         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
47162         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
47163         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
47164         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
47165         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
47166         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
47167         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
47168         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
47169         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
47170         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
47171         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
47172         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
47173         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
47174         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
47175         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
47176         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
47177         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
47178         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
47179         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
47180         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
47181         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
47182         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
47183         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
47184         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
47185         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
47186         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
47187         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
47188         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
47190 2014-06-25  Roland McGrath  <roland@hack.frob.com>
47192         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
47193         that was previously under [RESET_PID].
47194         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
47196 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47198         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
47199         not undefine and redefine.
47200         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
47201         [O_CLOEXEC]: Make code unconditional.
47202         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
47203         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
47204         <kernel-features.h>.
47205         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
47206         conditional variable definition.
47207         (shm_open) [O_CLOEXEC]: Make code unconditional.
47208         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
47209         code.
47211         * configure.ac (USE_REGPARMS): Don't define here.
47212         * configure: Regenerated.
47213         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
47214         * sysdeps/i386/configure: Regenerated.
47216         * nptl/createthread.c: Don't include kernel-features.h.
47217         * nptl/pthread_cancel.c: Likewise.
47218         * nptl/pthread_condattr_setclock.c: Likewise.
47219         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
47220         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
47221         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
47222         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
47223         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
47224         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
47225         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
47226         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
47227         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
47228         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
47229         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
47230         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
47231         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
47232         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
47233         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
47234         * nscd/gai.c: Likewise.
47235         * nss/nss_db/db-open.c: Likewise.
47236         * sysdeps/generic/ldsodefs.h: Likewise.
47237         * sysdeps/sh/nptl/tls.h: Likewise.
47238         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47239         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
47240         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
47241         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
47242         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
47243         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47244         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
47245         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47246         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
47247         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
47248         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
47249         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
47250         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
47251         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
47252         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
47253         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
47254         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
47255         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
47256         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
47257         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
47258         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
47259         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
47260         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
47261         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
47262         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
47263         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
47264         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
47265         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
47266         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
47267         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
47268         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
47269         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
47270         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
47271         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47272         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47273         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47274         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47275         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
47276         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
47277         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
47278         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47279         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
47280         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
47281         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47282         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
47283         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
47284         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
47285         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
47286         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
47287         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
47288         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
47289         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
47290         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
47291         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47292         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
47293         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47294         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
47295         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
47296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
47298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
47299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
47300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
47301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
47302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
47303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
47304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
47307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
47308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
47309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
47310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
47316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
47317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
47318         * sysdeps/unix/sysv/linux/pread.c: Likewise.
47319         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
47320         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
47321         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
47322         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
47323         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
47324         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
47325         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
47326         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
47327         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
47328         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
47329         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
47330         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
47331         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
47332         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
47333         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
47334         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47335         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
47336         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
47337         * sysdeps/unix/sysv/linux/system.c: Likewise.
47338         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
47339         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
47340         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47341         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47342         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47343         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47344         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47346         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
47347         * configure: Regenerated.
47348         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
47350         * configure.ac (base_machine): Do not set specially for particular
47351         machines here.
47352         * configure: Regenerated.
47353         * sysdeps/powerpc/preconfigure: Move machine and base_machine
47354         settings from configure.ac.
47355         * sysdeps/i386/preconfigure: New file.
47356         * sysdeps/s390/preconfigure: Likewise.
47357         * sysdeps/sh/preconfigure: Likewise.
47358         * sysdeps/sparc/preconfigure: Likewise.
47360 2014-06-25  Roland McGrath  <roland@hack.frob.com>
47362         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
47363         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
47364         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
47365         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
47366         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
47367         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
47368         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
47369         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
47370         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
47371         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
47372         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
47373         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
47374         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
47375         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
47376         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
47377         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
47378         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
47379         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
47380         * sysdeps/sparc/sparc64/Makefile: ... appended here.
47382         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
47383         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
47384         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
47385         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
47386         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
47387         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
47388         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
47389         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
47390         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
47391         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
47392         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
47393         * sysdeps/sparc/sparc32/sem_post.c: ... here.
47394         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
47395         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
47396         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
47397         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
47398         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
47399         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
47400         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
47401         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
47402         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
47403         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
47404         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
47405         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
47406         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
47407         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
47408         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
47409         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
47410         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
47411         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
47412         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
47413         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
47414         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
47415         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
47416         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
47417         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
47418         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
47419         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
47421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
47422         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
47423         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
47424         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
47425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47426         Moved ...
47427         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
47428         ... here.
47429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
47430         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
47431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
47432         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
47433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
47434         Moved ...
47435         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
47436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
47437         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
47438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
47439         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
47440         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
47441         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
47442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47443         Moved ...
47444         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
47445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47446         Moved ...
47447         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
47448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
47449         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
47450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47451         Moved ...
47452         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
47453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
47454         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
47455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
47456         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
47457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
47458         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
47459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
47460         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
47461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47462         Moved ...
47463         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
47464         ... here.
47465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
47466         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
47467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
47468         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
47469         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
47470         Moved ...
47471         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
47472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
47473         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
47474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
47475         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
47476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
47477         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
47478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47479         Moved ...
47480         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
47481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47482         Moved ...
47483         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
47484         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
47485         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
47486         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47487         Moved ...
47488         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
47489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
47490         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
47491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
47492         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
47494 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47496         * timezone/checktab.awk: Update from tzcode 2014e.
47497         * timezone/private.h: Likewise.
47498         * timezone/tzfile.h: Likewise.
47499         * timezone/zdump.c: Likewise.
47500         * timezone/zic.c: Likewise.
47502         * sysdeps/unix/sysv/linux/kernel-features.h
47503         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
47504         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
47505         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
47506         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47507         Remove conditional code.
47509 2014-06-25  Will Newton  <will.newton@linaro.org>
47511         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
47512         (_dl_arm_cap_flags): Add HWCAP2 values.
47513         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
47514         (_DL_HWCAP_COUNT): Increase to 37.
47515         (_DL_HWCAP_LAST): New define.
47516         (_DL_HWCAP2_LAST): New define.
47517         (_dl_procinfo): Add support for printing
47518         AT_HWCAP2 entries.
47519         (_dl_string_hwcap): Use _dl_hwcap_string.
47521 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47525 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47527         * README: Do not mention ports directory.
47529         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
47530         Remove macro.
47531         * sysdeps/unix/sysv/linux/futimes.c: Do not include
47532         <kernel-features.h>.
47533         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
47534         conditional variable definition.
47535         (__futimes): Update comment.
47536         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
47537         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
47539         [BZ #16560]
47540         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
47541         arguments close to 0.
47542         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
47543         Likewise.
47544         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
47545         Likewise.
47546         * math/auto-libm-test-in: Add more tests of exp10.
47547         * math/auto-libm-test-out: Regenerated.
47548         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47550         * sysdeps/unix/sysv/linux/kernel-features.h
47551         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
47552         * sysdeps/unix/sysv/linux/readv.c: Do not include
47553         <kernel-features.h>.
47554         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47555         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47556         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47557         unconditional.
47558         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47559         conditional code.
47560         * sysdeps/unix/sysv/linux/writev.c: Do not include
47561         <kernel-features.h>.
47562         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47563         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47564         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47565         unconditional.
47566         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47567         conditional code.
47569 2014-06-25  Will Newton  <will.newton@linaro.org>
47571         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
47572         comment changes throughout the file.  Remove checks
47573         for HAVE_*_H definitions that are not required.
47574         (__gen_tempname): Call abort if an unknown kind value is
47575         passed.
47577 2014-06-25  Andreas Schwab  <schwab@suse.de>
47579         [BZ #17086]
47580         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
47581         scalbln, scalblnf, scalblnl in libc.
47583 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47585         [BZ #17086]
47586         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
47587         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47588         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47590 2014-06-24  Roland McGrath  <roland@hack.frob.com>
47592         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
47593         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
47594         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
47595         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
47596         Update #include.
47597         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
47598         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
47599         Update #include.
47600         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
47601         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
47602         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
47603         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
47604         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
47605         * sysdeps/x86/bits/pthreadtypes.h: ... here.
47606         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
47607         * sysdeps/x86/bits/semaphore.h: ... here.
47608         * sysdeps/x86/nptl/elide.h: Moved ...
47609         * sysdeps/x86/elide.h: ... here.
47610         * sysdeps/x86_64/nptl/Implies: File removed.
47611         * sysdeps/i386/nptl/Implies: File removed.
47613 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
47615         [BZ #16539]
47616         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
47617         return the argument for normal arguments with exponent below -64.
47618         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47619         Likewise.
47620         * math/auto-libm-test-in: Add another test of expm1.
47621         * math/auto-libm-test-out: Regenerated.
47623         [BZ #16287]
47624         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
47625         calling __erfcl for arguments at least 16.
47626         * math/auto-libm-test-in: Add more tests of erf.
47627         * math/auto-libm-test-out: Regenerated.
47629         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
47630         individual architectures.
47631         * sysdeps/unix/sysv/linux/configure: Regenerated.
47632         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
47633         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
47634         * sysdeps/unix/sysv/linux/powerpc/configure.ac
47635         (ldd_rewrite_script): Define variable.
47636         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
47637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
47638         file.
47639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
47640         generated file.
47641         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
47642         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
47643         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
47644         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
47645         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
47646         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
47647         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
47648         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
47650 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47652         [BZ #17084]
47653         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
47654         Rename member __data.d to __data.__elision_data.
47656 2014-06-24  Wilco  <wdijkstr@arm.com>
47658         * NEWS: Add 16918 to fixed bug list.
47660 2014-06-24  Wilco  <wdijkstr@arm.com>
47662         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
47664 2014-06-24  Wilco  <wdijkstr@arm.com>
47666         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
47667         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
47668         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
47669         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
47670         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
47671         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
47672         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
47673         Use _FPU_MASK_RM.
47675 2014-06-24  Wilco  <wdijkstr@arm.com>
47677         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
47679 2014-06-24  Wilco  <wdijkstr@arm.com>
47681         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
47682         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
47683         * sysdeps/arm/fesetround.c (fesetround): Remove space.
47684         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
47686 2014-06-24  Wilco  <wdijkstr@arm.com>
47688         [BZ #16918]
47689         * sysdeps/arm/feupdateenv.c (feupdateenv):
47690         Rewrite to reduce FPSCR accesses and fix return value.
47692 2014-06-24  Wilco  <wdijkstr@arm.com>
47694         * sysdeps/arm/fclrexcpt.c (feclearexcept):
47695         Optimize to avoid unnecessary FPSCR writes.
47696         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
47697         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
47698         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
47699         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
47701 2014-06-24  Wilco  <wdijkstr@arm.com>
47703         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
47704         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
47705         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
47706         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
47707         Call libc_fetestexcept_vfp.
47708         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
47709         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
47710         __SOFTFP__ ifdef so that they can be built for softfp.
47712 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47714         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
47715         argument type signed char.
47717         * Makerules (check-abi): Dump diff of symlist if the test
47718         fails.
47720 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47722         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
47723         using abort.
47725         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47726         Remove unused variable ST.
47728 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
47730         [BZ #16354]
47731         [BZ #17061]
47732         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
47733         small arguments before calling __expm1.
47734         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
47735         small arguments before calling __expm1f.
47736         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
47737         small arguments before calling __expm1l.
47738         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47739         Likewise.
47740         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
47741         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
47742         spurious underflow for some cosh tests.
47743         * math/auto-libm-test-out: Regenerated.
47744         * sysdeps/i386/fpu/libm-test-ulps: Update.
47746         [BZ #17050]
47747         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
47748         (__ieee754_y1): Set errno if return value overflows.
47749         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
47750         (__ieee754_y1f): Set errno if return value overflows.
47751         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
47752         (__ieee754_y1l): Set errno if return value overflows.
47753         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
47754         (__ieee754_y1l): Set errno if return value overflows.
47755         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
47756         * math/auto-libm-test-out: Regenerated.
47758         * math/gen-auto-libm-tests.c: Document use of
47759         ignore-zero-inf-sign.
47760         (input_flag_type): Add value flag_ignore_zero_inf_sign.
47761         (input_flags): Add ignore-zero-inf-sign.
47762         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
47763         * math/gen-libm-test.pl (generate_testfile): Handle
47764         ignore-zero-inf-sign.
47765         * math/auto-libm-test-in: Mark some cpow tests with
47766         ignore-zero-inf-sign and some with xfail-rounding.
47767         * math/auto-libm-test-out: Regenerated.
47768         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
47769         * sysdeps/i386/fpu/libm-test-ulps: Update.
47770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47772         [BZ #16315]
47773         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
47774         overflowing or underflowing operations take place with sign of
47775         result.
47776         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47777         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47778         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
47779         (__ieee754_pow): Recompute overflowing and underflowing results in
47780         original rounding mode.
47781         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
47782         (__powl_helper): Allow negative argument X and scale negated value
47783         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
47784         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
47785         overflowing or underflowing operations take place with sign of
47786         result.
47787         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
47788         Include <math.h>.
47789         * math/auto-libm-test-in: Add more tests of pow.
47790         * math/auto-libm-test-out: Regenerated.
47791         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
47792         (pow_tonearest_test_data): Remove.
47793         (pow_test_tonearest): Likewise.
47794         (pow_towardzero_test_data): Likewise.
47795         (pow_test_towardzero): Likewise.
47796         (pow_downward_test_data): Likewise.
47797         (pow_test_downward): Likewise.
47798         (pow_upward_test_data): Likewise.
47799         (pow_test_upward): Likewise.
47800         (main): Don't call removed functions.
47801         * sysdeps/i386/fpu/libm-test-ulps: Update.
47802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47804 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
47807         Moved ...
47808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
47809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47810         Moved ...
47811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
47812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47813         Moved ...
47814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
47815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47816         Moved ...
47817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
47818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47819         File removed.
47820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47821         File removed.
47822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
47823         File removed.
47824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
47825         File removed.
47826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
47827         File removed.
47828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
47829         File removed.
47830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
47831         File removed.
47832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47833         File removed.
47834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
47835         File removed.
47836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47837         File removed.
47838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
47839         File removed.
47840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
47841         File removed.
47842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
47843         Moved ...
47844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
47845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
47846         Moved ...
47847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
47848         ... here.
47849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
47850         Moved ...
47851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
47852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
47853         Moved ...
47854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
47855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
47856         Moved ...
47857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
47858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
47859         Moved ...
47860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
47861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
47862         Moved ...
47863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
47864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
47865         Moved ...
47866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
47867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
47868         Moved ...
47869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
47870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
47871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
47872         ... here.
47873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
47874         Moved ...
47875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
47876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47877         Moved ...
47878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
47879         ... here.
47880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
47881         Moved ...
47882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
47883         ... here.
47884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47885         Moved ...
47886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
47887         ... here.
47888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47889         Moved ...
47890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
47891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47892         Moved ...
47893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
47894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
47895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
47896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47897         Moved ...
47898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
47899         ... here.
47900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47901         Moved ...
47902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
47903         ... here.
47904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47905         Moved ...
47906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
47907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47908         Moved ...
47909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
47910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47911         Moved ...
47912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
47913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47914         Moved ...
47915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
47916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47917         Moved ...
47918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
47919         ... here.
47920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47921         Moved ...
47922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
47923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47924         Moved ...
47925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
47926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47927         Moved ...
47928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
47929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47930         Moved ...
47931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
47932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
47933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
47934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47935         Moved ...
47936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
47937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47938         Moved ...
47939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
47940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47941         Moved ...
47942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
47943         ... here.
47944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47945         Moved ...
47946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
47947         ... here.
47948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47949         Moved ...
47950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
47951         ... here.
47952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47953         Moved ...
47954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
47955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47956         Moved ...
47957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
47958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47959         Moved ...
47960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
47961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47962         Moved ...
47963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
47964         ... here.
47965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47966         Moved ...
47967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
47968         ... here.
47969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47970         Moved ...
47971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
47972         ... here.
47973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47974         Moved ...
47975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
47976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47977         Moved ...
47978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
47980 2014-06-23  Will Newton  <will.newton@linaro.org>
47981             Wilco  <wdijkstr@arm.com>
47983         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
47984         implementation.  Include get-rounding-mode.h.
47985         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
47986         [!libc_feholdsetround_noex_ctx]: Define
47987         libc_feholdsetround_noex_ctx.
47988         [!libc_feholdsetround_noexf_ctx]: Define
47989         libc_feholdsetround_noexf_ctx.
47990         [!libc_feholdsetround_noexl_ctx]: Define
47991         libc_feholdsetround_noexl_ctx.
47992         (libc_feholdsetround_ctx): New function.
47993         (libc_feresetround_ctx): New function.
47994         (libc_feholdsetround_noex_ctx): New function.
47995         (libc_feresetround_noex_ctx): New function.
47997 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47999         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
48000         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
48001         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
48002         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
48003         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
48004         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
48006         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
48007         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
48008         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
48009         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
48010         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
48011         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
48012         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
48013         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
48014         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
48015         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
48016         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
48017         Moved ...
48018         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
48019         ... here.
48020         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
48021         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
48022         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
48023         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
48024         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
48025         Moved ...
48026         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
48027         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
48028         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
48029         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
48030         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
48031         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
48032         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
48033         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
48034         Moved ...
48035         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
48036         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
48037         Moved ...
48038         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
48039         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
48040         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
48041         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
48042         Moved ...
48043         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
48044         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
48045         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
48046         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
48047         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
48048         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
48049         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
48050         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
48051         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
48052         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
48053         Moved ...
48054         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
48055         ... here.
48056         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
48057         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
48058         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
48059         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
48060         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
48061         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
48062         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
48063         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
48064         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
48065         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
48066         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
48067         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
48068         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
48069         Moved ...
48070         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
48071         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
48072         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
48073         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
48074         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
48075         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
48076         Moved ...
48077         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
48078         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
48079         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
48080         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
48081         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
48083         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
48084         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
48085         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
48086         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
48087         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
48088         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
48089         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
48090         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
48091         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
48092         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
48093         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
48094         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
48095         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
48096         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
48097         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
48098         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
48099         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
48100         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
48101         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
48102         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
48103         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
48104         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
48105         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
48106         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
48107         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
48108         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
48109         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
48110         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
48112 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
48114         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
48115         (FALLOC_FL_COLLAPSE_RANGE): New macro.
48116         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
48117         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
48118         (IPV6_PMTUDISC_INTERFACE): Likewise.
48119         (IPV6_PMTUDISC_OMIT): Likewise.
48121 2014-06-23  Andreas Schwab  <schwab@suse.de>
48123         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
48124         Remove unused errout label.
48126 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48128         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
48129         macro: hardware supports Vector Crypto instructions.
48131 2014-06-23  Will Newton  <will.newton@linaro.org>
48133         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
48134         rather than __builtin_expect.
48136         * elf/dl-lookup.c (undefined_msg): Remove variable.
48137         (_dl_lookup_symbol_x): Replace undefined_msg with string
48138         literal.
48140         * elf/dl-lookup.c (do_lookup_unique): New function.
48141         (do_lookup_x): Move STB_GNU_UNIQUE handling code
48142         to a separate function.
48144 2014-06-23  Andreas Schwab  <schwab@suse.de>
48146         [BZ #17079]
48147         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
48148         before reading the next line.
48150 2014-06-23  Will Newton  <will.newton@linaro.org>
48152         * test-skeleton.c (signal_handler): Use printf and %m
48153         rather than perror.  Use printf rather than fprintf to
48154         stderr.  Use puts rather than fputs to stderr.
48155         (main): Likewise.
48157 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
48159         * nscd/nscd.c (thread_info_t): Remove typedef.
48160         (thread_info): Remove variable.
48162 2014-06-21  Allan McRae  <allan@archlinux.org>
48164         * NEWS: Mention CVE-2014-4043.
48166 2014-06-20  Roland McGrath  <roland@hack.frob.com>
48168         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
48169         * nptl/smp.h: ... here.
48171         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
48173         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
48174         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
48175         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
48176         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
48178         * nptl/allocatestack.c: Include <stack-aliasing.h>.
48179         * nptl/stack-aliasing.h: New file.
48180         * sysdeps/i386/i686/stack-aliasing.h: New file.
48181         * sysdeps/i386/i686/nptl/Makefile: File removed.
48182         * sysdeps/x86_64/stack-aliasing.h: New file.
48183         * sysdeps/x86_64/nptl/Makefile
48184         (CFLAGS-pthread_create.c): Variable removed.
48186         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
48187         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
48188         old file.
48189         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
48190         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
48191         old file.
48193 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
48195         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48196         (__ASSUME_SIGFRAME_V2): Remove macro.
48197         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
48198         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
48199         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
48200         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
48201         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
48202         Declare as function.  Remove conditional macro definitions.
48203         (__default_rt_sa_restorer): Likewise.
48204         (__default_sa_restorer_v1): Remove declaration.
48205         (__default_sa_restorer_v2): Likewise.
48206         (__default_rt_sa_restorer_v1): Likewise.
48207         (__default_rt_sa_restorer_v2): Likewise.
48208         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
48209         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
48210         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
48212 2014-06-20  Roland McGrath  <roland@hack.frob.com>
48214         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
48215         (libpthread-routines): Add sysdep.
48216         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
48217         * sysdeps/unix/sysv/linux/sparc/Versions
48218         (libpthread: GLIBC_2.3.3): New version set.
48219         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
48220         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
48221         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
48222         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
48223         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
48224         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
48225         Moved ...
48226         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
48227         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
48228         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
48229         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
48230         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
48231         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
48232         * sysdeps/sparc/nptl/sem_init.c: ... here.
48233         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
48234         * sysdeps/sparc/nptl/sem_post.c: ... here.
48235         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
48236         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
48237         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
48238         * sysdeps/sparc/nptl/sem_wait.c: ... here.
48239         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
48240         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
48241         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
48242         (libpthread-routines): Add cpu_relax.
48243         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
48244         File removed.
48245         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
48246         (librt: GLIBC_2.3.3): New version set.
48247         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
48248         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
48249         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
48250         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
48251         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
48252         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
48253         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
48254         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
48255         Moved ...
48256         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
48257         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
48258         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
48259         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
48260         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
48261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
48262         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
48263         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
48264         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
48265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
48266         Moved ...
48267         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
48268         Update #include.
48269         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
48270         Moved ...
48271         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
48272         Update #include.
48273         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
48274         Moved ...
48275         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
48276         Update #include.
48277         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
48278         Moved ...
48279         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
48280         Update #include.
48281         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
48282         Moved ...
48283         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
48284         Update #include.
48285         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
48286         Moved ...
48287         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
48288         Update #include.
48289         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
48290         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
48291         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
48292         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
48293         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
48294         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
48295         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
48296         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
48297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
48298         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
48299         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48300         Moved ...
48301         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
48302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
48303         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
48304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
48305         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
48307 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48309         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
48310         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
48311         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
48312         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
48313         * nscd/nscd.c: Likewise.
48314         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
48315         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
48316         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
48317         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
48319         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
48320         <kernel-features.h>.
48321         (init_mq_netlink): Remove conditional have_sock_cloexec
48322         definitions.  Remove code conditional on have_sock_cloexec < 0.
48323         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
48324         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
48325         * sysdeps/unix/sysv/linux/opensock.c: Do not include
48326         <kernel-features.h>.
48327         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
48328         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
48330 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
48332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48333         Add tests for memset_chk and memset.
48335         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
48336         with AVX2_Usable.
48338 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
48340         [BZ #16046]
48341         * elf/tst-dl-iter-static.c: New file.
48342         * elf/Makefile (tests-static): Add tst-dl-iter-static.
48344         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
48345         error.
48347 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48349         * sysdeps/unix/sysv/linux/kernel-features.h
48350         (__ASSUME_F_GETOWN_EX): Remove macro.
48351         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
48352         <kernel-features.h>.
48353         (miss_F_GETOWN_EX): Remove variable or macro.
48354         (do_fcntl): Do not check miss_F_GETOWN_EX.
48355         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
48357         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
48358         Remove macro.
48359         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
48360         [!__ASSUME_AT_RANDOM]: Remove conditional code.
48361         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
48363         * sysdeps/unix/sysv/linux/kernel-features.h
48364         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
48365         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
48366         [ADJ_OFFSET_SS_READ]: Make code unconditional.
48367         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
48369 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
48371         [BZ #17075]
48372         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
48373         Fix calculation of the symbol's value.
48374         * sysdeps/arm/tst-armtlsdescloc.c: New file.
48375         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
48376         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
48377         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
48378         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
48379         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
48380         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
48381         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
48382         (modules-names): Add `tst-armtlsdescmod',
48383         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
48384         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
48385         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48386         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
48387         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
48388         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48389         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
48390         ($(objpfx)tst-armtlsdescloc): New dependency.
48391         ($(objpfx)tst-armtlsdescextnow): Likewise.
48392         ($(objpfx)tst-armtlsdescextlazy): Likewise.
48393         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
48394         TLS scheme support.
48395         * sysdeps/arm/configure: Regenerate.
48397 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48399         * include/fcntl.h (__atfct_seterrno): Remove prototype.
48400         (__atfct_seterrno_2): Likewise.
48401         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
48402         <kernel-features.h>.
48403         (__ASSUME_ATFCTS): Do not undefine and redefine.
48404         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
48405         (__have_atfcts): Remove conditional definition.
48406         (__fxstatat([__NR_fstatat64]: Make code unconditional.
48407         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
48408         unreachable if [__ASSUME_ATFCTS].
48409         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
48410         not undefine and redefine.
48411         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
48412         <kernel-features.h>.
48413         (faccessat) [__NR_faccessat]: Make code unconditional.
48414         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
48415         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
48416         <kernel-features.h>.
48417         (fchmodat) [__NR_fchmodat]: Make code unconditional.
48418         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48419         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
48420         <kernel-features.h>.
48421         (fchownat) [__NR_fchownat]: Make code unconditional.
48422         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
48423         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
48424         <kernel-features.h>.
48425         (futimesat) [__NR_futimesat]: Make code unconditional.
48426         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
48427         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48428         <kernel-features.h>.
48429         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48430         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48431         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48432         <kernel-features.h>.
48433         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
48434         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48435         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
48436         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48437         <kernel-features.h>.
48438         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
48439         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48440         * sysdeps/unix/sysv/linux/linkat.c: Do not include
48441         <kernel-features.h>.
48442         (linkat) [__NR_linkat]: Make code unconditional.
48443         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48444         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
48445         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
48446         <kernel-features.h>.
48447         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
48448         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48449         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
48450         <kernel-features.h>.
48451         (mkdirat) [__NR_mkdirat]: Make code unconditional.
48452         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
48453         * sysdeps/unix/sysv/linux/openat.c: Do not include
48454         <kernel-features.h>.
48455         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
48456         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
48457         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
48458         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
48459         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
48460         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
48461         <kernel-features.h>.
48462         (readlinkat) [__NR_readlinkat]: Make code unconditional.
48463         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
48464         result of INLINE_SYSCALL directly, not via int variable.
48465         * sysdeps/unix/sysv/linux/renameat.c: Do not include
48466         <kernel-features.h>.
48467         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
48468         (renameat) [__NR_renameat]: Make code unconditional.
48469         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
48470         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
48471         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
48472         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
48473         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
48474         (__ASSUME_ATFCTS): Do not undefine and redefine.
48475         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
48476         <kernel-features.h>.
48477         (symlinkat) [__NR_symlinkat]: Make code unconditional.
48478         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48479         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
48480         <kernel-features.h>.
48481         (unlinkat) [__NR_unlinkat]: Make code unconditional.
48482         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48483         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
48484         (__ASSUME_ATFCTS): Do not undefine and redefine.
48485         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48486         <kernel-features.h>.
48487         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48488         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48489         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48490         <kernel-features.h>.
48491         (__xmknodat) [__NR_mknodat]: Make code unconditional.
48492         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48494 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
48496         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
48498 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
48500         [BZ #17069]
48501         * posix/regcomp.c (parse_reg_exp): Deallocate partially
48502         constructed tree before returning error.
48503         * posix/bug-regexp36.c: Expand test case.
48505 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
48507         [BZ #6803]
48508         * math/libm-test.inc (scalbln_test_date):
48509         Add errno expectations.
48510         * math/w_scalblnf.c: New File.
48511         Add wrapper which checks for setting errno to ERANGE.
48512         Add weak_alias for corresponding scalbln function.
48513         * math/w_scalbln.c: Likewise.
48514         * math/w_scalblnl.c: Likewise.
48515         * math/Makefile (libm-calls): Add w_scalbln.
48516         * sysdeps/ieee754/flt-32/s_scalblnf.c:
48517         Remove weak_alias for corresponding scalbln function.
48518         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48519         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48520         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48521         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48522         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
48523         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48524         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
48525         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48526         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
48527         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
48528         Remove long_double_symbol for scalblnl function in libm, libc.
48529         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
48530         Add wrapper which checks for setting errno to ERANGE.
48531         Add long_double_symbol for scalblnl function in libm, libc.
48532         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
48533         Remove long_double_symbol for scalblnl in libm.
48534         * sysdeps/ieee754/ldbl-128ibm/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.
48537         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
48538         Do not use wrapper because of own implementation.
48540 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
48542         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
48543         3 bytes for __pad1 for x32.
48544         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
48546 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
48547             H.J. Lu  <hongjiu.lu@intel.com>
48549         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
48550         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
48551         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48552         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48553         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
48555 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
48557         [BZ #17069]
48558         * posix/regcomp.c (parse_expression): Deallocate partially
48559         constructed tree before returning error.
48560         * posix/Makefile.c (tests): Add bug-regex36.
48561         (generated): Add bug-regex36.mtrace.
48562         (tests-special): Add $(objpfx)bug-regex36-mem.out
48563         (bug-regex36-ENV): New variable.
48564         ($(objpfx)bug-regex36-mem.out): New rule.
48565         * posix/bug-regex36.c: New file.
48567 2014-06-19  Will Newton  <will.newton@linaro.org>
48569         * malloc/malloc.c (systrim): If extra is zero then return
48570         early.
48572 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48574         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
48576 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
48578         * sysdeps/aarch64/strchr.S: New file.
48580 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
48582         [BZ #17022]
48583         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
48584         from arguments -2 or below.
48585         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48586         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
48588 2014-06-18  Andreas Schwab  <schwab@suse.de>
48590         [BZ #17062]
48591         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
48592         of a bracket expr not to run off the end of the string.
48593         * posix/Makefile (tests): Add tst-fnmatch3.
48594         * posix/tst-fnmatch3.c: New file.
48596 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
48598         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
48599         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48600         [$(cross-compiling) = no]: Likewise.
48601         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48602         [$(cross-compiling) = no]: Likewise.
48604 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48606         [BZ #17031]
48607         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
48608         double, adjusted for any remainder from the high double.
48609         * math/libm-test.inc (nearbyint): Add tests.
48610         (rint): Likewise.
48612 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48614         * nptl/sysdeps/powerpc/Makefile: Moved ...
48615         * sysdeps/powerpc/nptl/Makefile: ... here.
48616         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
48617         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
48618         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
48619         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
48620         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
48621         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
48622         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
48623         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
48624         * nptl/sysdeps/powerpc/tls.h: Moved ...
48625         * sysdeps/powerpc/nptl/tls.h: ... here.
48627 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
48629         [BZ #16681]
48630         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
48631         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
48632         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
48633         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
48634         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
48635         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
48636         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
48637         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
48638         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
48640 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
48642         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
48644 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
48646         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
48647         defined operator.
48649         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
48650         $TIMEOUTFACTOR.
48652 2014-06-16  Florian Weimer  <fweimer@redhat.com>
48654         [BZ #17058]
48655         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
48656         non-executed part of the test.
48658 2014-06-16  Andreas Schwab  <schwab@suse.de>
48660         * string/bits/string2.h (strdup, strndup): Update feature guard.
48662 2014-06-14  David S. Miller  <davem@davemloft.net>
48664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48666 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
48668         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
48669         that was previously under [RESET_PID].
48670         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
48672         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
48673         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
48674         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
48675         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48676         (__libc_vfork): New strong alias.
48677         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
48679 2014-06-14 Andi Kleen  <ak@linux.intel.com>
48681         * sysdeps/generic/elide.h: New file.
48683 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
48685         * Makefile (installed-headers): Adjust path of pthread.h header.
48687 2014-06-13  Roland McGrath  <roland@hack.frob.com>
48689         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
48690         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
48691         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
48692         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
48694         * nptl/sysdeps/s390/Makefile: Moved ...
48695         * sysdeps/s390/nptl/Makefile: ... here.
48696         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
48697         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
48698         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
48699         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
48700         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
48701         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
48702         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
48703         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
48704         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
48705         * sysdeps/s390/nptl/pthreaddef.h: ... here.
48706         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
48707         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
48708         * nptl/sysdeps/s390/tls.h: Moved ...
48709         * sysdeps/s390/nptl/tls.h: ... here.
48711         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
48712         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
48714 2014-06-13  David S. Miller  <davem@davemloft.net>
48716         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
48717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
48718         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
48719         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
48720         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
48721         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
48722         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
48723         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
48724         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
48725         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
48726         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
48727         Remove RESET_PID cpp guards.
48728         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
48729         Remove RESET_PID cpp guards.
48730         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
48732 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
48734         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
48735         __sp to uintptr_t.
48737 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48739         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
48740         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
48741         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
48742         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
48743         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
48744         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
48745         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
48746         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
48747         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
48748         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
48749         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
48750         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
48751         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
48752         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
48753         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
48754         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
48755         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
48756         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
48757         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
48758         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
48760         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
48761         (pthread_rwlock_rdlock): Add elision.
48762         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
48763         (pthread_rwlock_wrlock): Add elision.
48764         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
48765         (pthread_rwlock_trywrlock): Add elision.
48766         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
48767         (pthread_rwlock_tryrdlock): Add elision.
48768         * nptl/pthread_rwlock_unlock.c: Include elide.h.
48769         (pthread_rwlock_tryrdlock): Add elision unlock.
48770         * nptl/sysdeps/pthread/pthread.h:
48771         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
48772         (PTHREAD_RWLOCK_INITIALIZER,
48773         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
48774         Handle new elision field.
48775         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
48776         * sysdeps/arm/nptl/bits/pthreadtypes.h
48777         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48778         * sysdeps/sh/nptl/bits/pthreadtypes.h
48779         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48780         * sysdeps/tile/nptl/bits/pthreadtypes.h
48781         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48782         * sysdeps/a/nptl/bits/pthreadtypes.h
48783         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48784         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
48785         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48786         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
48787         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48788         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
48789         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48790         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
48791         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48792         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
48793         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48794         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
48795         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48796         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
48797         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48798         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
48799         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48800         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
48801         (elision_init): Set try_xbegin to zero when no RTM.
48802         * sysdeps/x86/nptl/bits/pthreadtypes.h
48803         (pthread_rwlock_t): Change __pad1 to __rwelision.
48804         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48806 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48808         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
48809         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
48810         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
48811         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
48813 2014-06-13  Meador Inge  <meadori@codesourcery.com>
48815         [BZ #16996]
48816         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
48817         that the cached result has been set before returning it.
48819 2014-06-12  Roland McGrath  <roland@hack.frob.com>
48821         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
48822         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
48823         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
48824         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
48825         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
48826         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
48828         * nptl/sysdeps/sparc/Makefile: Moved ...
48829         * sysdeps/sparc/nptl/Makefile: ... here.
48830         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
48831         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
48832         * nptl/sysdeps/sparc/tls.h: Moved ...
48833         * sysdeps/sparc/nptl/tls.h: ... here.
48834         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
48835         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
48836         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
48837         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
48838         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
48839         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
48840         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
48841         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
48842         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
48843         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
48844         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
48845         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
48846         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
48847         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
48848         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
48849         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
48850         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
48851         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
48852         Update #include.
48853         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
48854         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
48855         Update #include.
48856         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
48857         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
48858         Update #include.
48859         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
48860         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
48861         Update #include.
48863         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48865         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
48866         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
48868         * sysdeps/pthread/posix-timer.h: Include <list.h>.
48869         (struct list_links): Type removed.
48870         (struct thread_node, struct timer_node): Replace struct list_links
48871         with struct list_head.
48872         (list_unlink_ip): Likewise.
48873         * sysdeps/pthread/timer_routines.c
48874         (timer_free_list, thread_free_list, thread_active_list): Likewise.
48875         (list_append, list_insbefore): Likewise.
48876         (list_init): Function removed.
48877         (thread_init, init_module): Use INIT_LIST_HEAD instead.
48878         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
48879         * sysdeps/pthread/Makefile: ... here, new file.
48881         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
48882         * sysdeps/nptl/Implies: ... here.
48883         * sysdeps/unix/sysv/linux/Implies: Add nptl.
48884         * nptl/sysdeps/pthread/list.h: Moved ...
48885         * include/list.h: ... here.
48886         * nptl/sysdeps/pthread/createthread.c: Moved ...
48887         * nptl/createthread.c: ... here.
48888         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
48889         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
48890         * nptl/pt-longjmp.c: ... here.
48891         * nptl/sysdeps/pthread/Makefile: Moved ...
48892         * sysdeps/nptl/Makefile: ... here.
48893         * nptl/sysdeps/pthread/Subdirs: Moved ...
48894         * sysdeps/nptl/Subdirs: ... here.
48895         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
48896         * sysdeps/nptl/aio_misc.h: ... here.
48897         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
48898         * sysdeps/nptl/bits/libc-lock.h: ... here.
48899         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
48900         * sysdeps/nptl/bits/libc-lockP.h: ... here.
48901         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
48902         * sysdeps/nptl/bits/stdio-lock.h: ... here.
48903         * nptl/sysdeps/pthread/configure: Moved ...
48904         * sysdeps/nptl/configure: ... here.
48905         * nptl/sysdeps/pthread/configure.ac: Moved ...
48906         * sysdeps/nptl/configure.ac: ... here.
48907         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
48908         * sysdeps/nptl/gai_misc.h: ... here.
48909         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
48910         * sysdeps/nptl/librt-cancellation.c: ... here.
48911         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
48912         * sysdeps/nptl/malloc-machine.h: ... here.
48913         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
48914         * sysdeps/nptl/pthread-functions.h: ... here.
48915         * nptl/sysdeps/pthread/pthread.h: Moved ...
48916         * sysdeps/nptl/pthread.h: ... here.
48917         * nptl/sysdeps/pthread/setxid.h: Moved ...
48918         * sysdeps/nptl/setxid.h: ... here.
48919         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
48920         * sysdeps/nptl/sigfillset.c: ... here.
48921         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
48922         * sysdeps/nptl/tcb-offsets.h: ... here.
48923         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
48924         * sysdeps/nptl/tst-mqueue8x.c: ... here.
48925         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
48926         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
48927         * nptl/sysdeps/pthread/allocalim.h: Moved ...
48928         * sysdeps/pthread/allocalim.h: ... here.
48929         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
48930         * sysdeps/pthread/bits/sigthread.h: ... here.
48931         * nptl/sysdeps/pthread/flockfile.c: Moved ...
48932         * sysdeps/pthread/flockfile.c: ... here.
48933         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
48934         * sysdeps/pthread/ftrylockfile.c: ... here.
48935         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
48936         * sysdeps/pthread/funlockfile.c: ... here.
48937         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
48938         * sysdeps/pthread/posix-timer.h: ... here.
48939         * nptl/sysdeps/pthread/timer_create.c: Moved ...
48940         * sysdeps/pthread/timer_create.c: ... here.
48941         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
48942         * sysdeps/pthread/timer_delete.c: ... here.
48943         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
48944         * sysdeps/pthread/timer_getoverr.c: ... here.
48945         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
48946         * sysdeps/pthread/timer_gettime.c: ... here.
48947         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
48948         * sysdeps/pthread/timer_routines.c: ... here.
48949         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
48950         * sysdeps/pthread/timer_settime.c: ... here.
48951         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
48952         * sysdeps/pthread/tst-timer.c: ... here.
48953         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
48954         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
48956         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
48957         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
48959         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
48960         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
48961         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
48962         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
48963         Update #include target.
48964         * nptl/sysdeps/i386/i686/Makefile: Moved ...
48965         * sysdeps/i386/i686/nptl/Makefile: ... here.
48966         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
48967         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
48968         Update #include target.
48969         * nptl/sysdeps/i386/i686/tls.h: Moved ...
48970         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
48971         * nptl/sysdeps/i386/Makefile: Moved ...
48972         * sysdeps/i386/nptl/Makefile: ... here.
48973         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
48974         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
48975         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
48976         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
48977         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
48978         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
48979         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
48980         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
48981         * sysdeps/i386/nptl/pthreaddef.h: ... here.
48982         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
48983         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
48984         * nptl/sysdeps/i386/tls.h: Moved ...
48985         * sysdeps/i386/nptl/tls.h: ... here.
48987         * sysdeps/sh/Makefile [$(subdir) = csu]
48988         (gen-as-const-headers): Add tcb-offsets.sym.
48989         * nptl/sysdeps/sh/Makefile: File removed.
48990         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
48991         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
48992         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
48993         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
48994         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
48995         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
48996         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
48997         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
48998         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
48999         * sysdeps/sh/nptl/pthreaddef.h: ... here.
49000         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
49001         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
49002         * nptl/sysdeps/sh/tls.h: Moved ...
49003         * sysdeps/sh/nptl/tls.h: ... here.
49004         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
49005         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
49006         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
49007         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
49008         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
49009         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
49010         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
49011         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
49012         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
49013         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
49014         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
49015         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
49016         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
49017         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
49018         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
49019         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
49020         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
49021         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
49022         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
49023         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
49024         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
49025         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
49026         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
49027         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
49028         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
49029         Moved ...
49030         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
49031         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
49032         Moved ...
49033         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
49034         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
49035         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
49036         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
49037         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
49038         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
49039         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
49040         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
49041         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
49042         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
49043         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
49044         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
49045         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
49046         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
49047         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
49048         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
49049         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
49050         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
49051         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
49053 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
49055         * posix/spawn_faction_addopen.c: Include string.h.
49057 2014-06-11  Roland McGrath  <roland@hack.frob.com>
49059         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
49060         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
49061         * nptl/sysdeps/x86_64/Makefile: Moved ...
49062         * sysdeps/x86_64/nptl/Makefile: ... here.
49063         * nptl/sysdeps/x86_64/configure: Moved ...
49064         * sysdeps/x86_64/nptl/configure: ... here.
49065         * nptl/sysdeps/x86_64/configure.ac: Moved ...
49066         * sysdeps/x86_64/nptl/configure.ac: ... here.
49067         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
49068         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
49069         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
49070         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
49071         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
49072         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
49073         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
49074         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
49075         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
49076         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
49077         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
49078         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
49079         * nptl/sysdeps/x86_64/tls.h: Moved ...
49080         * sysdeps/x86_64/nptl/tls.h: ... here.
49081         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
49082         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
49083         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
49084         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
49086         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
49088 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49092 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
49094         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
49095         type.
49096         [POSIX] (off_t): Likewise.
49097         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
49098         [POSIX] (S_ISBLK): Require macro.
49099         [POSIX] (S_ISCHR): Likewise.
49100         [POSIX] (S_ISDIR): Likewise.
49101         [POSIX] (S_ISFIFO): Likewise.
49102         [POSIX] (S_ISREG): Likewise.
49103         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
49104         optional-macro.
49105         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
49106         type.
49107         [POSIX] (time_t): Likewise.
49108         [POSIX] (timer_t): Likewise.
49110 2014-06-11  Florian Weimer  <fweimer@redhat.com>
49112         [BZ #17048]
49113         * posix/spawn_int.h (struct __spawn_action): Make the path string
49114         non-const to support deallocation.
49115         * posix/spawn_faction_addopen.c
49116         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
49117         * posix/spawn_faction_destroy.c
49118         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
49119         path in all spawn_do_open actions.
49120         * posix/tst-spawn.c (do_test): Exercise the copy operation in
49121         posix_spawn_file_actions_addopen.
49123 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
49125         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
49126         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
49127         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
49128         conditional code always true.
49129         (__libc_vfork): New alias.
49131 2014-06-11  Roland McGrath  <roland@hack.frob.com>
49133         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49134         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
49136         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
49138         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49139         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
49141         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
49142         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
49144         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49145         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
49147 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49149         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
49150         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
49151         multiarch strcmp for PPC64.
49152         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
49153         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
49154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
49155         multiarch optimizations.
49156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49157         (__libc_ifunc_impl_list): Likewise.
49159 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49161         * benchtests/scripts/validate_benchout.py: New script.
49162         * benchtests/Makefile (bench-func): Call it.
49163         * benchtests/scripts/benchout.schema.json: New file.
49165 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
49167         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
49168         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
49169         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
49170         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
49171         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
49172         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
49173         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
49174         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
49175         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
49176         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
49177         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
49178         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
49179         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
49180         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
49181         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
49182         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
49183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
49184         Moved ...
49185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
49186         ... here.
49187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
49188         Moved ...
49189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
49190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
49191         Moved ...
49192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
49193         ... here.
49194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
49195         Moved ...
49196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
49197         ... here.
49198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
49199         Moved ...
49200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
49201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
49202         Moved ...
49203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
49204         ... here.
49205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
49206         Moved ...
49207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
49208         ... here.
49209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
49210         Moved ...
49211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
49212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
49213         Moved ...
49214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
49215         ... here.
49216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
49217         Moved ...
49218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
49219         ... here.
49220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
49221         Moved ...
49222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
49223         ... here.
49224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
49225         Moved ...
49226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
49227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
49228         Moved ...
49229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
49230         ... here.
49231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
49232         Moved ...
49233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
49234         ... here.
49235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
49236         Moved ...
49237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
49238         ... here.
49239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
49240         Moved ...
49241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
49242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
49243         Moved ...
49244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
49245         ... here.
49246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
49247         Moved ...
49248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
49249         ... here.
49250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
49251         Moved ...
49252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
49253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
49254         Moved ...
49255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
49256         ... here.
49257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
49258         Moved ...
49259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
49260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
49261         Moved ...
49262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
49263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
49264         Moved ...
49265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
49266         ... here.
49267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
49268         Moved ...
49269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
49270         ... here.
49271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
49272         Moved ...
49273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
49274         ... here.
49275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
49276         Moved ...
49277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
49278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
49279         Moved ...
49280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
49281         ... here.
49282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
49283         Moved ...
49284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
49285         ... here.
49286         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
49287         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
49288         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
49289         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
49290         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
49291         Moved ...
49292         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
49293         ... here.
49294         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
49295         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
49296         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
49297         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
49298         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
49299         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
49300         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
49301         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
49302         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
49303         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
49304         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
49305         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
49306         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
49307         Moved ...
49308         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
49309         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
49310         Moved ...
49311         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
49312         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
49313         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
49314         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
49315         Moved ...
49316         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
49317         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
49318         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
49319         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
49320         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
49321         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
49322         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
49324 2014-06-10  Wilco  <wdijkstr@arm.com>
49326         * math/test-fenv-return.c: New file.
49327         * math/Makefile: Add new test test-fenv-return.
49329 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
49331         [BZ #17042]
49332         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
49333         when x - 1 is zero.
49334         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
49335         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
49336         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
49337         0.0L for an argument of 1.0L.
49338         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
49339         Likewise.
49340         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
49341         value when x - 1 is zero.
49342         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
49343         * sysdeps/i386/fpu/libm-test-ulps: Update.
49344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49346 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
49348         [BZ #15119]
49349         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
49351 2014-06-09  Roland McGrath  <roland@hack.frob.com>
49353         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
49354         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
49356 2014-06-09  Roland McGrath  <roland@hack.frob.com>
49358         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49359         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
49361         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49362         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
49364         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49365         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
49367         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49368         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
49370         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
49371         if not already defined.
49372         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
49373         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
49374         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
49375         (TLS_INIT_TP): Use it.
49376         (TLS_DEFINE_INIT_TP): New macro.
49377         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
49379 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
49381         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
49382         constant.
49383         [POSIX] (IXANY): Likewise.
49384         [POSIX] (OLCUC): Likewise.
49385         [POSIX || POSIX2008] (CBAUD): Do not allow.
49386         [POSIX || POSIX2008] (DEFECHO): Likewise.
49387         [POSIX || POSIX2008] (ECHOCTL): Likewise.
49388         [POSIX || POSIX2008] (ECHOKE): Likewise.
49389         [POSIX || POSIX2008] (ECHOPRT): Likewise.
49390         [POSIX || POSIX2008] (EXTA): Likewise.
49391         [POSIX || POSIX2008] (EXTB): Likewise.
49392         [POSIX || POSIX2008] (FLUSHO): Likewise.
49393         [POSIX || POSIX2008] (LOBLK): Likewise.
49394         [POSIX || POSIX2008] (PENDIN): Likewise.
49395         [POSIX || POSIX2008] (SWTCH): Likewise.
49396         [POSIX || POSIX2008] (VDISCARD): Likewise.
49397         [POSIX || POSIX2008] (VDSUSP): Likewise.
49398         [POSIX || POSIX2008] (VLNEXT): Likewise.
49399         [POSIX || POSIX2008] (VREPRINT): Likewise.
49400         [POSIX || POSIX2008] (VSTATUS): Likewise.
49401         [POSIX || POSIX2008] (VWERASE): Likewise.
49402         (B*): Change to B[0123456789]*.
49403         * conform/data/time.h-data [POSIX || UNIX98]
49404         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
49405         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49406         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
49407         [POSIX] (tm_*): Do not allow.
49409 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
49411         * Makefile (install): Don't set LANGUAGE.
49412         * Makefile.in (install): Likewise.
49413         * assert/Makefile (test-assert-ENV): Remove variable.
49414         (test-assert-perr-ENV): Likewise.
49415         * elf/Makefile (neededtest4-ENV): Likewise.
49416         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49417         [$(cross-compiling) = no]: Don't set LANGUAGE.
49418         * io/ftwtest-sh (LANG): Remove variable.
49419         * libio/Makefile (tst-widetext-ENV): Likewise.
49420         * manual/install.texi (Running make install): Don't refer to
49421         environment settings for make install.
49422         * INSTALL: Regenerated.
49423         * nptl/tst-tls6.sh: Don't set LANG.
49424         * posix/globtest.sh (LANG): Remove variable.
49425         * string/Makefile (tester-ENV): Likewise.
49426         (inl-tester-ENV): Likewise.
49427         (noinl-tester-ENV): Likewise.
49428         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49429         [$(cross-compiling) = no]: Don't set LANGUAGE.
49430         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
49431         without explicit environment settings.
49433 2014-06-06  Roland McGrath  <roland@hack.frob.com>
49435         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
49436         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
49437         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
49438         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
49440 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
49442         * crypt/crypt-private.h [DOS]: Add some includes taken from the
49443         other files in the crypt directory.
49444         * crypt/crypt.c: Remove duplicate includes.
49445         * crypt/crypt-entry.c: Likewise.
49446         * crypt/crypt_util.c: Likewise.
49448 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
49450         * Makeconfig (run-program-env): New variable.
49451         (run-program-prefix-before-env): Likewise.
49452         (run-program-prefix-after-env): Likewise.
49453         (run-program-prefix): Define in terms of new variables.
49454         (built-program-cmd-before-env): New variable.
49455         (built-program-cmd-after-env): Likewise.
49456         (built-program-cmd): Define in terms of new variables.
49457         (test-program-prefix-before-env): New variable.
49458         (test-program-prefix-after-env): Likewise.
49459         (test-program-prefix): Define in terms of new variables.
49460         (test-program-cmd-before-env): New variable.
49461         (test-program-cmd-after-env): Likewise.
49462         (test-program-cmd): Define in terms of new variables.
49463         * Rules (make-test-out): Use $(run-program-env).
49464         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
49465         (help): Do not mention environment variables.  Mention
49466         --timeoutfactor option.
49467         (timeoutfactor): New variable.
49468         (blacklist_exports): Remove function.
49469         (exports): Remove variable.
49470         (command): Do not include ${exports}.
49471         * manual/install.texi (Configuring and compiling): Do not mention
49472         test wrappers preserving environment variables.  Mention that last
49473         assignment to a variable must take precedence.
49474         * INSTALL: Regenerated.
49475         * benchtests/Makefile (run-bench): Use $(run-program-env).
49476         * catgets/Makefile ($(objpfx)test1.cat): Use
49477         $(built-program-cmd-before-env), $(run-program-env) and
49478         $(built-program-cmd-after-env).
49479         ($(objpfx)test2.cat): Do not specify environment variables
49480         explicitly.
49481         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
49482         $(run-program-env) and $(built-program-cmd-after-env).
49483         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
49484         $(run-program-env) and $(test-program-cmd-after-env).
49485         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
49486         explicitly.
49487         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
49488         run_program_env and test_program_cmd_after_env arguments.
49489         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
49490         * elf/tst-pathopt.sh: Use run_program_env argument.
49491         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
49492         $(test-wrapper-env) and $(run-program-env).
49493         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
49494         run_program_env arguments.
49495         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
49496         * intl/Makefile ($(objpfx)tst-gettext.out): Use
49497         $(test-program-prefix-before-env), $(run-program-env) and
49498         $(test-program-prefix-after-env).
49499         ($(objpfx)tst-gettext2.out): Likewise.
49500         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
49501         run_program_env and test_program_prefix_after_env arguments.
49502         * intl/tst-gettext2.sh: Likewise.
49503         * intl/tst-gettext4.sh: Do not set environment variables
49504         explicitly.
49505         * intl/tst-gettext6.sh: Likewise.
49506         * intl/tst-translit.sh: Likewise.
49507         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
49508         $(test-program-prefix-before-env), $(run-program-env) and
49509         $(test-program-prefix-after-env).
49510         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
49511         run_program_env and test_program_prefix_after_env arguments.
49512         * math/Makefile (run-regen-ulps): Use $(run-program-env).
49513         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
49514         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
49515         explicitly with each use of ${test_wrapper_env}.
49516         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
49517         $(test-program-prefix-before-env), $(run-program-env) and
49518         $(test-program-prefix-after-env).
49519         * posix/tst-getconf.sh: Do not set environment variables
49520         explicitly.
49521         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
49522         run_program_env and test_program_prefix_after_env arguments.
49523         * stdio-common/tst-printf.sh: Do not set environment variables
49524         explicitly.
49525         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
49526         $(test-program-prefix-before-env), $(run-program-env) and
49527         $(test-program-prefix-after-env).
49528         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
49529         run_program_env and test_program_prefix_after_env arguments.
49530         Split $test calls into $test_pre and $test.
49531         * timezone/Makefile (build-testdata): Use
49532         $(built-program-cmd-before-env), $(run-program-env) and
49533         $(built-program-cmd-after-env).
49535 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49537         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
49538         strlen for non SHARED builds.
49540 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49542         * nptl/allocatestack.c (check_list): Inlined function...
49543         (__reclaim_stacks): ... here.
49545 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
49547         [BZ #15698]
49548         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
49549         memory overrun.
49551 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
49553         * Rules (make-test-out): Include
49554         LOCPATH=$(common-objpfx)localedata in default environment.
49555         * debug/Makefile (tst-chk1-ENV): Remove variable.
49556         (tst-chk2-ENV): Likewise.
49557         (tst-chk3-ENV): Likewise.
49558         (tst-chk4-ENV): Likewise.
49559         (tst-chk5-ENV): Likewise.
49560         (tst-chk6-ENV): Likewise.
49561         (tst-lfschk1-ENV): Likewise.
49562         (tst-lfschk2-ENV): Likewise.
49563         (tst-lfschk3-ENV): Likewise.
49564         (tst-lfschk4-ENV): Likewise.
49565         (tst-lfschk5-ENV): Likewise.
49566         (tst-lfschk6-ENV): Likewise.
49567         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
49568         (tst-iconv7-ENV): Likewise.
49569         * intl/Makefile (LOCPATH-ENV): Likewise.
49570         (tst-codeset-ENV): Likewise.
49571         (tst-gettext3-ENV): Likewise.
49572         (tst-gettext5-ENV): Likewise.
49573         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
49574         (tst-fopenloc-ENV): Likewise.
49575         (tst-fgetws-ENV): Remove variable.
49576         (tst-ungetwc1-ENV): Likewise.
49577         (tst-ungetwc2-ENV): Likewise.
49578         (bug-ungetwc2-ENV): Likewise.
49579         (tst-swscanf-ENV): Likewise.
49580         (bug-ftell-ENV): Likewise.
49581         (tst-fgetwc-ENV): Likewise.
49582         (tst-fseek-ENV): Likewise.
49583         (tst-ftell-partial-wide-ENV): Likewise.
49584         (tst-ftell-active-handler-ENV): Likewise.
49585         (tst-ftell-append-ENV): Likewise.
49586         * posix/Makefile (tst-fnmatch-ENV): Likewise.
49587         (tst-regexloc-ENV): Likewise.
49588         (bug-regex1-ENV): Likewise.
49589         (tst-regex-ENV): Likewise.
49590         (tst-regex2-ENV): Likewise.
49591         (bug-regex5-ENV): Likewise.
49592         (bug-regex6-ENV): Likewise.
49593         (bug-regex17-ENV): Likewise.
49594         (bug-regex18-ENV): Likewise.
49595         (bug-regex19-ENV): Likewise.
49596         (bug-regex20-ENV): Likewise.
49597         (bug-regex22-ENV): Likewise.
49598         (bug-regex23-ENV): Likewise.
49599         (bug-regex25-ENV): Likewise.
49600         (bug-regex26-ENV): Likewise.
49601         (bug-regex30-ENV): Likewise.
49602         (bug-regex32-ENV): Likewise.
49603         (bug-regex33-ENV): Likewise.
49604         (bug-regex34-ENV): Likewise.
49605         (bug-regex35-ENV): Likewise.
49606         (tst-rxspencer-ENV): Likewise.
49607         (tst-rxspencer-no-utf8-ENV): Likewise.
49608         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
49609         (tst-sscanf-ENV): Likewise.
49610         (tst-swprintf-ENV): Likewise.
49611         (tst-swscanf-ENV): Likewise.
49612         (test-vfprintf-ENV): Likewise.
49613         (scanf13-ENV): Likewise.
49614         (bug14-ENV): Likewise.
49615         (tst-grouping-ENV): Likewise.
49616         * stdlib/Makefile (tst-strtod-ENV): Likewise.
49617         (tst-strtod3-ENV): Likewise.
49618         (tst-strtod4-ENV): Likewise.
49619         (tst-strtod5-ENV): Likewise.
49620         (testmb2-ENV): Likewise./
49621         * string/Makefile (tst-strxfrm-ENV): Likewise.
49622         (tst-strxfrm2-ENV): Likewise.
49623         (bug-strcoll1-ENV): Likewise.
49624         (test-strcasecmp-ENV): Likewise.
49625         (test-strncasecmp-ENV): Likewise.
49626         * time/Makefile (tst-strptime-ENV): Likewise.
49627         (tst-ftime_l-ENV): Likewise.
49628         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
49629         (tst-mbrtowc-ENV): Likewise.
49630         (tst-wcrtomb-ENV): Likewise.
49631         (tst-mbrtowc2-ENV): Likewise.
49632         (tst-c16c32-1-ENV): Likewise.
49633         (tst-mbsnrtowcs-ENV): Likewise.
49635 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
49637         * manual/resource.texi (How to get information about the memory
49638         subsystem?): Fix typo.
49639         Reported by Peon de la Parra Ivan <peon@keba.com>
49641 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
49643         [BZ #16882]
49644         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
49645         (pthread_spin_lock): Branch out of spin loop to proper location.
49646         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
49647         (pthread_spin_lock): Likewise.
49649         * nptl/tst-spin4.c: New test.
49650         * nptl/Makefile (tests): Add tst-spin4.
49652 2014-06-03  Andreas Schwab  <schwab@suse.de>
49654         [BZ #15946]
49655         * resolv/res_send.c (send_dg): Reload file descriptor after
49656         calling reopen.
49658 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
49660         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49662 2014-06-03  Richard Henderson  <rth@redhat.com>
49664         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
49665         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
49666         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
49667         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
49668         in the SAVE_PID block.
49669         (__libc_vfork): New alias.
49670         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
49672         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
49673         child in registers, not on the stack.  Remove RESET_PID conditionals.
49674         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
49676 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49678         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49680 2014-06-03  Wilco  <wdijkstr@arm.com>
49682         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
49683         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
49684         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49685         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
49686         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
49687         Likewise.
49689 2014-06-03  Wilco  <wdijkstr@arm.com>
49691         * sysdeps/aarch64/fpu/math_private.h
49692         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
49693         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
49694         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
49695         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49696         Fix declarations.
49698 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
49700         * crypt/crypt-private.h: Include ufc-crypt.h.
49701         (__b64_from_24bit): Declare extern.
49702         * crypt/crypt_util.c(__b64_from_24bit): New function.
49703         (b64t): New static const variable.
49704         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
49705         (b64t): Remove variable.
49706         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
49707         * crypt/sha256-crypt.c: Include crypt-private.h.
49708         (b64t): Remove variable.
49709         (__sha256_crypt_r): Remove b64_from_24bit and replace
49710         with __b64_from_24bit.
49711         * crypt/sha512-crypt.c: Likewise.
49713 2014-06-02  Roland McGrath  <roland@hack.frob.com>
49715         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
49716         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
49717         Label the code __libc_vfork rather than __vfork.
49718         [!NOT_IN_libc] (vfork): Define as weak alias.
49719         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
49720         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
49721         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
49723 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49725         * malloc/malloc.c (malloc_info): Fix format specifier for
49726         n_mmaps.
49728 2014-06-02  Wilco  <wdijkstr@arm.com>
49730         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
49731         FPCR write.
49733 2014-06-02  Wilco  <wdijkstr@arm.com>
49735         [BZ #17009]
49736         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
49737         Rewrite to reduce FPCR/FPSR accesses.
49739 2014-06-01  David S. Miller  <davem@davemloft.net>
49741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49743 2014-05-31  David S. Miller  <davem@davemloft.net>
49745         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
49746         to occur in round to nearest mode when |x| >= 2.0
49748 2014-05-30  Richard Henderson  <rth@twiddle.net>
49750         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
49751         (PSEUDO_RET_NOERRNO): Remove.
49752         (ret): Don't redefine.
49753         (ret_NOERRNO): Define in terms of ret.
49754         (ret_ERRVAL): Likewise.
49756         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
49757         use of PSEUDO_RET; perform the error check directly.
49759 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
49761         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
49762         with __int128_t.
49764 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49766         * malloc/malloc (malloc_info): Fix formatting.
49768 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49769             Roland McGrath  <roland@hack.frob.com>
49771         * malloc/malloc (malloc_info): Also print mmapped statistics.
49773 2014-05-30  Roland McGrath  <roland@hack.frob.com>
49775         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
49776         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
49778 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
49780         * malloc/malloc.c (malloc_info): Inline mi_arena.
49782 2014-05-29  Richard Henderson  <rth@twiddle.net>
49784         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
49785         Remove comma before expanding ASM_ARGS_##nr.
49786         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
49787         Make _x0 a strict output; make _x8 a strict input; adjust expansion
49788         of ASM_ARGS_##nr.
49789         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
49790         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
49791         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
49792         (ASM_ARGS_1): Add leading comma.
49794         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
49795         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
49796         to __errno_location.
49797         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
49798         Remove the expected plt for __errno_location.
49800         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49801         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
49802         call to __read_tp.
49804         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49805         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
49806         it and break it down.
49807         (DOCARGS_0, DOCARGS_1): Do nothing.
49808         (DOCARGS_2): Update to store into the new stack frame.
49809         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
49810         (UNDOCARGS_1): Update to restore from the new stack frame.
49811         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
49812         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
49814         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49815         (SINGLE_THREAD_P): New parameter for result regno.
49816         (PSEUDO): Update to match; use cbz instead of beq.
49818         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49819         Use ENTRY to define the _nocancel entry point.  Share the syscall
49820         and syscall error check paths with the cancel path.
49821         (PSEUDO_END): New.
49823         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
49824         whitespace; tabs before and after asm mnemonics.
49826 2014-05-29  Eric Wong  <normalperson@yhbt.net>
49828         [BZ #15132]
49829         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49830         Call fstat64 or stat64 internally, depending on arguments passed.
49831         Replace stat buffer argument with file descriptor argument.
49832         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
49833         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49834         Pass fd to __internal_statvfs instead of calling fstat64.
49835         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
49836         Pass fd to __internal_statvfs64 instead of calling fstat64.
49837         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
49838         Pass -1 to __internal_statvfs instead of calling stat64.
49839         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
49840         Pass -1 to __internal_statvfs64 instead of calling stat64.
49842 2014-05-28  Roland McGrath  <roland@hack.frob.com>
49844         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
49845         that was previously under [RESET_PID].
49846         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
49848         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
49849         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
49851 2014-05-27  Roland McGrath  <roland@hack.frob.com>
49853         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
49855         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
49856         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
49858 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
49860         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
49862 2014-05-27  Andreas Schwab  <schwab@suse.de>
49864         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
49865         TLS_INIT_TP macro.
49866         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
49867         * elf/rtld.c (init_tls, dl_main): Likewise.
49868         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
49869         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
49870         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
49871         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
49872         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
49873         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
49874         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
49875         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
49876         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
49877         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
49878         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
49879         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
49880         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
49881         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
49882         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
49883         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
49884         * sysdeps/generic/tls.h: Update description.
49886 2014-05-27  Will Newton  <will.newton@linaro.org>
49888         [BZ #16990]
49889         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
49890         and restore r2 rather than just restoring.
49892 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49894         [BZ #16724]
49895         * libio/tst-ftell-append.c: New test case.
49896         * libio/Makefile (tests): Add test case.
49897         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
49898         append mode.
49899         * libio/wfileops.c (do_ftell_wide): Likewise.
49901 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49905         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
49906         ...
49907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
49908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49909         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
49910         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
49911         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
49912         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
49913         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
49914         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
49915         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
49916         Moved ...
49917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
49918         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
49919         Moved ...
49920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
49921         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
49922         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
49923         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
49924         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
49925         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
49926         ...
49927         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
49928         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
49929         Moved ...
49930         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
49931         here.
49932         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
49933         ...
49934         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
49935         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
49936         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
49938         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
49939         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
49940         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
49941         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
49943         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
49944         merge into ...
49945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
49946         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
49947         ...
49948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
49949         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
49950         ...
49951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
49952         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49953         Moved ...
49954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
49955         here.
49956         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49957         Moved ...
49958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
49959         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49960         Moved ...
49961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
49963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
49964         conditional [RESET_PID].
49965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
49966         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
49967         removed.
49968         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
49969         removed.
49971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
49972         <tcb-offsets.h>.
49973         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49974         (__libc_vfork): New strong alias.
49975         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
49976         removed.
49977         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
49978         Removed.
49980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
49981         <tcb-offsets.h>.
49982         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
49983         (__libc_vfork): New strong alias.
49984         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
49985         removed.
49986         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
49987         removed.
49989 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
49991         * malloc/malloc.c (mi_arena): New function.
49992         (malloc_info): Remove nested function mi_arena. Call non-nosted
49993         function mi_arena.
49995 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49997         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
49998         by insrwi.
49999         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
50000         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
50001         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
50002         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
50003         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
50004         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
50005         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
50007 2014-05-26  Andreas Schwab  <schwab@suse.de>
50009         [BZ #16984]
50010         * locale/programs/repertoire.c (repertoire_read): Add slash
50011         between I18NPATH element and file name.
50012         * locale/programs/locfile.c (locfile_read): Likewise.
50014 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
50016         * nptl/pthread_mutexattr_settype.c
50017         (__pthread_mutexattr_settype):
50018         Disable lock elision for PTHREAD_MUTEX_NORMAL.
50020 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
50022         * nptl/tst-mutex5 (do_test):
50023         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
50025 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50027         * benchtests/README: Document 'init' directive.
50028         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
50029         BENCH_INIT.
50030         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
50031         (parse_file): Recognize 'init' directive.
50033 2014-05-26  Kyle McMartin  <kyle@redhat.com>
50035         [BZ #16796]
50036         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
50037         alignment of struct pthread.
50039 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50041         [BZ #16878]
50042         * nscd/netgroupcache.c (addgetnetgrentX): Look for
50043         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50044         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
50045         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50047 2014-05-25  Richard Henderson  <rth@twiddle.net>
50049         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50050         (SINGLE_THREAD_P_PIC): Remove.
50051         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
50052         (SINGLE_THREAD_P_PIC): Remove.
50054         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
50055         branch to syscall error ...
50056         (PSEUDO): ... here.
50057         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
50058         from __local_syscall_error to .Lsyscall_error.
50059         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
50060         (SYSCALL_ERROR): Update label name.
50062         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50063         Do not use DOARGS/UNDOARGS.
50064         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
50065         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
50066         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
50067         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
50068         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
50070         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
50071         block comment.
50073         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
50074         define if !NOT_IN_libc.
50075         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
50076         define with non-default symbol versions.
50078 2014-05-23  Richard Henderson  <rth@twiddle.net>
50080         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
50081         (vfork, __vfork): Define via compat_symbol.
50083         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
50084         [!HAVE_IFUNC] (vfork_compat): Remove.
50085         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
50087 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
50089         [BZ #16978]
50090         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
50091         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
50092         variable.
50094 2014-05-23  Richard Henderson  <rth@twiddle.net>
50096         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
50097         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
50098         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
50099         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
50101         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
50102         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
50103         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
50104         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
50105         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
50106         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
50107         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
50108         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
50109         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
50110         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
50111         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
50112         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
50113         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
50114         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
50115         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
50116         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
50117         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
50118         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
50119         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
50120         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
50121         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
50122         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
50123         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
50124         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
50125         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
50126         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
50127         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
50128         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
50129         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
50130         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
50131         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
50132         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
50133         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
50134         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
50135         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
50136         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
50137         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
50138         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
50139         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
50140         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
50141         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
50142         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
50143         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
50144         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
50145         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
50146         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
50147         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
50148         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
50149         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
50150         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
50151         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
50152         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
50153         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
50154         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
50155         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
50156         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
50158         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
50159         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
50160         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
50161         before exiting on error.
50162         (__libc_vfork): New strong alias.
50163         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
50164         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
50166         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
50167         that was previously under [RESET_PID].
50168         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
50170         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
50172 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
50174         [BZ #16977]
50175         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
50176         value when x - 1 is zero.
50177         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
50178         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
50179         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
50180         0.0L for an argument of 1.0L.
50181         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
50182         Likewise.
50183         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
50184         value when x - 1 is zero.
50185         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
50186         * sysdeps/i386/fpu/libm-test-ulps: Update.
50187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50189 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
50191         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
50192         alphasort and versionsort.
50194 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50196         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
50197         macro.
50198         [copysignf]: Likewise.
50200 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50202         * crypt/md5-crypt.c: Fix formatting.
50204 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
50206         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
50207         (b64_from_24bit): New function.
50209 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50211         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
50212         libc_hidden_builtin_def to ifunc.
50213         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
50214         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
50216 2014-05-21  Roland McGrath  <roland@hack.frob.com>
50218         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
50219         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
50221 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
50223         * nscd/Depend (linuxthreads): Remove.
50224         (nptl): Add.
50225         * resolv/Depend (linuxthreads): Remove.
50226         * rt/Depend (linuxthreads): Remove.
50228         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
50229         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
50230         $(common-objpfx)elf/.
50231         (link-libc-before-gnulib): Likewise.
50232         (elfobjdir): Remove variable.
50233         * Makefile (install): Use $(elf-objpfx) instead of
50234         $(common-objpfx)elf/.
50235         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
50236         $(elfobjdir)/.
50237         (link-libc-deps): Likewise.
50238         ($(common-objpfx)libc.so): Likewise.
50239         ($(common-objpfx)linkobj/libc.so): Likewise.
50240         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
50241         instead of $(common-objpfx)elf/.
50242         (symbolic-link-list): Likewise.
50243         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50244         [$(cross-compiling) = no]: Likewise.
50245         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
50246         $(elfobjdir)/.
50247         (static-gnulib-arch): Likewise.
50248         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50249         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
50250         $(common-objpfx)elf/.
50252 2014-05-21  Richard Henderson  <rth@redhat.com>
50254         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50255         (SINGLE_THREAD_P): Use the correct width load.  Fold
50256         into the ldr offset.
50258         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
50259         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
50261 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
50263         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
50264         (libgcc_s_resume): Use __attribute_used__.
50265         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
50266         Likewise.
50268 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50270         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
50271         optimization when used with float constants.
50273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50275 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
50277         [BZ #16915]
50278         * locale/nl_langinfo_l.c: Make direct reference to every
50279         _nl_current_CATEGORY symbol.
50280         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
50281         (tests-static): Add tst-langinfo-static.
50282         (tests-special): Add tst-langinfo-static.out.
50283         ($(objpfx)tst-langinfo.out): Redirect output.
50284         ($(objpfx)tst-langinfo-static.out): New.
50285         * localedata/tst-langinfo.sh: Send output to stdout.
50286         * localedata/tst-langinfo-static.c: New file.
50288         [BZ #16965]
50289         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
50290         when the shift amount is modulo the limb size.
50292 2014-05-20  Richard Henderson  <rth@redhat.com>
50294         [BZ #16967]
50295         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
50296         Change type of sa_flags from unsigned int to int.
50298         [BZ #16966]
50299         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
50301         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
50303 2014-05-20  Will Newton  <will.newton@linaro.org>
50305         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50306         Test the return value of the system call in the nocancel case.
50308 2014-05-20  Will Newton  <will.newton@linaro.org>
50309             Yvan Roux  <yvan.roux@linaro.org>
50311         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
50312         #include of asm/ptrace.h.
50313         (PTRACE_GET_THREAD_AREA): Remove #undef.
50314         (PTRACE_GETHBPREGS): Likewise.
50315         (PTRACE_SETHBPREGS): Likewise.
50316         (struct user_regs_struct): New structure.
50317         (struct user_fpsimd_struct): New structure.
50318         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
50319         #include of asm/ptrace.h and second #include of sys/user.h.
50320         (PTRACE_GET_THREAD_AREA): Remove #undef.
50321         (PTRACE_GETHBPREGS): Likewise.
50322         (PTRACE_SETHBPREGS): Likewise.
50323         (ELF_NGREG): Use new struct user_regs_struct.
50324         (elf_fpregset_t): Use new struct user_fpsimd_struct.
50326 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50328         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
50329         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
50331 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
50333         [BZ #16958]
50334         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
50335         membar to avoid block loads/stores to overlap previous stores.
50337 2014-05-17  Richard Henderson  <rth@redhat.com>
50339         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
50340         Create the __##syscall_name##_nocancel entry point.
50341         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
50342         Remove; let the sysdep-cancel.h code create it.
50344 2014-05-17  David S. Miller  <davem@davemloft.net>
50346         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
50347         Protect with __USE_GNU.
50348         (TIOCSET_TEMPT): Likewise.
50349         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
50350         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
50351         these are already provided in bits/ioctl-types.h
50353 2014-05-16  Roland McGrath  <roland@hack.frob.com>
50355         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
50356         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
50358         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
50359         Use wait4 regardless of [__NR_waitpid].
50361 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50363         PR libgcc/60166
50364         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50365         (_FP_NANSIGN_Q): Set the quiet bit.
50367 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
50369         * benchtests/Makefile
50370         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
50371         not $(common-objpfx)math/libm.so.
50372         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
50373         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
50374         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
50375         $(common-objpfx)dlfcn/libdl.so.
50376         ($(objpfx)tst-audit8): Depend on $(libm), not
50377         $(common-objpfx)math/libm.so.
50378         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
50379         not $(common-objpfx)dlfcn/libdl.so.
50380         * math/Makefile
50381         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50382         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
50383         [$(build-shared) = yes].
50384         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
50385         $(common-objpfx)nptl/libpthread.so.
50386         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
50387         $(common-objpfx)math/libm.so$(libm.so-version) or
50388         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
50389         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
50390         $(common-objpfx)dlfcn/libdl.so.
50391         * setjmp/Makefile (link-libm): Remove variable.
50392         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
50393         * stdio-common/Makefile (link-libm): Remove variable.
50394         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
50395         * stdlib/Makefile (link-libm): Remove variable.
50396         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
50397         ($(objpfx)tst-strtod-round): Likewise.
50398         ($(objpfx)tst-tininess): Likewise.
50399         ($(objpfx)tst-strtod-underflow): Likewise.
50400         ($(objpfx)tst-strtod6): Likewise.
50401         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
50402         $(libdl), not $(common-objpfx)nptl/libpthread.so and
50403         $(common-objpfx)dlfcn/libdl.so.
50405 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50407         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
50408         BSD terminal modes definitions.
50410 2014-05-16  Roland McGrath  <roland@hack.frob.com>
50412         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
50413         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
50415         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
50416         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
50417         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
50418         Don't do #include_next.
50419         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
50420         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
50421         Don't do #include_next.
50422         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
50423         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
50424         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
50425         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
50427 2014-05-16  Allan McRae  <allan@archlinux.org>
50429         * po/sv.po: Update Swedish translation from translation project.
50431         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
50432         in sed expression.
50434 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
50436         [BZ #16917]
50437         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
50438         errno if the TIOCGPTN ioctl fails with an error different than
50439         EINVAL.
50440         * login/tst-ptsname.c: New file.
50441         * login/Makefile (tests): Add tst-ptsname.
50443         [BZ #16943]
50444         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
50445         and prlimit64.
50447 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50449         [BZ #16849]
50450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
50451         herrno to return EAI_AGAIN.
50453 2014-05-14  Roland McGrath  <roland@hack.frob.com>
50455         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
50456         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
50457         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
50458         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
50459         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
50460         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
50461         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
50462         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
50463         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
50464         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
50465         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
50466         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
50467         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
50468         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
50469         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
50470         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
50471         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
50472         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
50473         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
50474         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
50475         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
50476         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
50477         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
50478         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
50479         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
50480         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
50481         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
50482         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
50483         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
50484         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
50485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
50486         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
50487         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
50488         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
50489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50490         Moved ...
50491         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
50492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
50493         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
50494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
50495         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
50496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
50497         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
50498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
50499         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
50500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
50501         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
50502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
50503         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
50504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
50505         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
50506         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
50507         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
50508         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
50509         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
50510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
50511         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
50512         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
50513         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
50514         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
50515         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
50516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
50517         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
50518         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50519         Moved ...
50520         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
50521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
50522         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
50523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
50524         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
50525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
50526         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
50527         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
50528         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
50529         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
50530         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
50531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
50532         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
50533         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
50534         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
50535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
50536         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
50537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
50538         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
50539         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50540         Moved ...
50541         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
50542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
50543         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
50545         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
50546         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
50547         (libpthread-sysdep_routines): Add elision-related stuff here instead.
50548         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
50549         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
50550         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
50551         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
50552         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
50553         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
50554         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
50555         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
50556         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
50557         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
50558         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
50559         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
50560         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
50561         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
50562         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
50563         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
50564         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
50565         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
50566         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
50567         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
50568         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
50569         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
50570         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
50571         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
50572         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
50573         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
50574         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
50575         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
50577         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
50578         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
50580         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
50581         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
50582         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
50583         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
50584         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
50585         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
50586         Moved ...
50587         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
50588         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
50589         Moved ...
50590         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
50591         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
50592         Moved ...
50593         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
50594         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
50595         Moved ...
50596         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
50597         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
50598         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
50599         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
50600         Moved ...
50601         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
50602         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
50603         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
50604         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
50605         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
50606         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
50607         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
50608         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
50609         Moved ...
50610         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
50611         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50612         Moved ...
50613         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50614         ... here.
50615         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
50616         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
50617         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
50618         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
50619         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50620         Moved ...
50621         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50622         ... here.
50623         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
50624         Moved ...
50625         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
50626         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
50627         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
50628         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
50629         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
50630         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
50631         Moved ...
50632         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
50633         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
50634         Moved ...
50635         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
50636         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
50637         Moved ...
50638         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
50639         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
50640         Moved ...
50641         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
50642         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
50643         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
50644         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
50645         Moved ...
50646         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
50647         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
50648         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
50649         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
50650         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
50651         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
50652         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
50653         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
50654         Moved ...
50655         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
50656         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50657         Moved ...
50658         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50659         ... here.
50660         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
50661         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
50662         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
50663         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
50664         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50665         Moved ...
50666         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50667         ... here.
50668         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
50669         Moved ...
50670         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
50671         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
50672         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
50673         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
50674         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
50675         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
50676         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
50677         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
50678         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
50679         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
50680         Moved ...
50681         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
50682         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
50683         Moved ...
50684         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
50685         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
50686         Moved ...
50687         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
50688         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
50689         Moved ...
50690         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
50691         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
50692         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
50693         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
50694         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
50695         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
50696         Moved ...
50697         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
50698         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
50699         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
50700         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
50701         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
50702         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
50703         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
50704         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
50705         Moved ...
50706         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
50707         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50708         Moved ...
50709         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50710         ... here.
50711         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
50712         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
50713         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
50714         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
50715         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50716         Moved ...
50717         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50718         ... here.
50719         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
50720         Moved ...
50721         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
50722         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
50723         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
50724         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
50725         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
50726         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
50727         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
50728         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
50729         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
50730         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
50731         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
50733         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
50734         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
50736         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
50737         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
50739         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
50740         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
50741         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
50742         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
50743         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
50744         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
50745         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
50746         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
50747         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
50748         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
50749         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
50750         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
50751         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
50752         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
50753         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
50754         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
50755         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
50756         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
50757         Moved ...
50758         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
50759         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
50760         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
50761         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
50762         Moved ...
50763         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
50764         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
50765         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
50766         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
50767         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
50768         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
50769         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
50770         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
50771         Moved ...
50772         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
50773         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
50774         Moved ...
50775         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
50776         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
50777         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
50778         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
50779         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
50780         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
50781         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
50782         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
50783         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
50784         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
50785         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
50786         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
50787         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
50788         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
50789         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
50790         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
50791         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
50793         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
50794         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
50795         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
50796         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
50797         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
50799         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
50800         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
50801         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
50802         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
50803         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
50804         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
50805         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
50806         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
50807         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
50808         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
50810         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
50811         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
50813         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
50814         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
50815         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
50816         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
50817         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
50818         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
50819         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
50820         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
50821         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
50822         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
50823         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
50824         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
50825         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
50826         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
50827         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
50828         Update #include.
50829         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
50830         Likewise.
50831         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50832         Likewise.
50833         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50834         Likewise.
50835         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50836         Likewise.
50837         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
50838         Likewise.
50839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
50840         Likewise.
50841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
50842         Likewise.
50843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
50844         Likewise.
50845         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
50846         Likewise.
50847         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
50848         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
50849         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
50850         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
50851         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
50852         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
50853         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
50854         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
50855         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
50856         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
50857         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
50858         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
50859         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
50860         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
50861         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
50863         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
50864         that was previously under [RESET_PID].
50865         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
50866         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
50867         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
50869         * sysdeps/i386/nptl/Implies: New file.
50870         * sysdeps/x86_64/nptl/Implies: New file.
50871         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
50872         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
50873         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
50874         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
50876         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
50877         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50878         (__libc_vfork): New strong alias.
50879         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
50880         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
50882         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
50883         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50884         (__libc_vfork): New strong alias.
50885         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
50886         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
50888         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
50889         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50890         (__libc_vfork): New strong alias.
50891         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
50892         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
50893         * nptl/pt-vfork.c: New file.
50894         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
50895         (libpthread: GLIBC_2.20): New version set (empty).
50897 2014-05-14  Will Newton  <will.newton@linaro.org>
50899         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
50900         rather than #if.
50902 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
50904         [BZ #16564]
50905         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
50906         arguments with exponent 65 or above.
50907         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
50908         arguments 0x1p113L or above.
50909         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
50910         to arguments 0x1p107L or above.
50911         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
50912         positive arguments with exponent 65 or above.
50913         * math/auto-libm-test-in: Add more tests of log1p.
50914         * math/auto-libm-test-out: Regenerated.
50916         [BZ #16928]
50917         * math/s_cacos.c (__cacos): Ensure zero real part of result from
50918         non-finite arguments is +0.
50919         * math/s_cacosf.c (__cacosf): Likewise.
50920         * math/s_cacosl.c (__cacosl): Likewise.
50921         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
50922         * sysdeps/i386/fpu/libm-test-ulps: Update.
50923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50925         [BZ #16927]
50926         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
50927         value.
50928         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
50929         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
50930         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
50931         for explicit high bit of mantissa when testing for argument equal
50932         to 1.
50933         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
50934         * sysdeps/i386/fpu/libm-test-ulps: Update.
50935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50937         [BZ #16516]
50938         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
50939         (__erf): Scale by 16 instead of 8 in potentially underflowing
50940         case.  Ensure exception if result actually underflows.
50941         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
50942         (__erff): Scale by 16 instead of 8 in potentially underflowing
50943         case.  Ensure exception if result actually underflows.
50944         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
50945         (efx8): Remove variable.
50946         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50947         case.  Ensure exception if result actually underflows.
50948         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
50949         (efx8): Remove variable.
50950         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50951         case.  Ensure exception if result actually underflows.
50952         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
50953         (efx8): Remove variable.
50954         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50955         case.  Ensure exception if result actually underflows.
50956         * math/auto-libm-test-in: Add more tests of erf.
50957         * math/auto-libm-test-out: Regenerated.
50959 2014-05-14  Andreas Schwab  <schwab@suse.de>
50961         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
50962         Remove code conditionalized on USE___THREAD.
50964         * config.h.in (HAVE_PT_CHOWN): Define as 0.
50965         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
50966         not definedness.
50968 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
50970         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
50971         Define unconditionally.
50972         (__ASSUME_O_CLOEXEC): Likewise.
50973         (__ASSUME_SOCK_CLOEXEC): Likewise.
50974         (__ASSUME_IN_NONBLOCK): Likewise.
50975         (__ASSUME_PIPE2): Likewise.
50976         (__ASSUME_EVENTFD2): Likewise.
50977         (__ASSUME_SIGNALFD4): Likewise.
50978         (__ASSUME_DUP3): Likewise.
50979         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50980         (__ASSUME_DUP3): Do not define.
50981         (__ASSUME_EVENTFD2): Likewise.
50982         (__ASSUME_IN_NONBLOCK): Likewise.
50983         (__ASSUME_O_CLOEXEC): Likewise.
50984         (__ASSUME_PIPE2): Likewise.
50985         (__ASSUME_SIGNALFD4): Likewise.
50986         (__ASSUME_SOCK_CLOEXEC): Likewise.
50987         (__ASSUME_UTIMES): Undefine.
50988         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50989         (__ASSUME_UTIMES): Do not define.
50990         (__ASSUME_O_CLOEXEC): Likewise.
50991         (__ASSUME_SOCK_CLOEXEC): Likewise.
50992         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
50993         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
50994         0x020621].
50995         (__ASSUME_PIPE2): Likewise.
50996         (__ASSUME_EVENTFD2): Likewise.
50997         (__ASSUME_SIGNALFD4): Likewise.
50998         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
50999         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
51000         Do not define.
51001         (__ASSUME_EVENTFD2): Likewise.
51002         (__ASSUME_SIGNALFD4): Likewise.
51003         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
51004         (__ASSUME_32BITUIDS): Likewise.
51005         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
51006         (__ASSUME_IPC64): Likewise.
51007         (__ASSUME_ST_INO_64_BIT): Likewise.
51008         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
51009         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
51010         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51011         (__ASSUME_UTIMES): Do not define.
51012         (__ASSUME_PSELECT): Likewise.
51013         (__ASSUME_PPOLL): Likewise.
51014         (__ASSUME_O_CLOEXEC): Likewise.
51015         (__ASSUME_SOCK_CLOEXEC): Likewise.
51016         (__ASSUME_IN_NONBLOCK): Likewise.
51017         (__ASSUME_PIPE2): Likewise.
51018         (__ASSUME_EVENTFD2): Likewise.
51019         (__ASSUME_SIGNALFD4): Likewise.
51020         (__ASSUME_DUP3): Likewise.
51021         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51022         (__ASSUME_UTIMES): Likewise.
51023         (__ASSUME_O_CLOEXEC): Likewise.
51024         (__ASSUME_SOCK_CLOEXEC): Likewise.
51025         (__ASSUME_IN_NONBLOCK): Likewise.
51026         (__ASSUME_PIPE2): Likewise.
51027         (__ASSUME_EVENTFD2): Likewise.
51028         (__ASSUME_SIGNALFD4): Likewise.
51029         (__ASSUME_DUP3): Likewise.
51030         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51031         (__ASSUME_UTIMES): Likewise.
51032         (__ASSUME_O_CLOEXEC): Likewise.
51033         (__ASSUME_SOCK_CLOEXEC): Likewise.
51034         (__ASSUME_IN_NONBLOCK): Likewise.
51035         (__ASSUME_PIPE2): Likewise.
51036         (__ASSUME_EVENTFD2): Likewise.
51037         (__ASSUME_SIGNALFD4): Likewise.
51038         (__ASSUME_DUP3): Likewise.
51039         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
51040         Likewise.
51041         (__ASSUME_UTIMES): Likewise.
51042         (__ASSUME_EVENTFD2): Likewise.
51043         (__ASSUME_SIGNALFD4): Likewise.
51044         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51045         (__ASSUME_O_CLOEXEC): Likewise.
51046         (__ASSUME_SOCK_CLOEXEC): Likewise.
51047         (__ASSUME_IN_NONBLOCK): Likewise.
51048         (__ASSUME_PIPE2): Likewise.
51049         (__ASSUME_EVENTFD2): Likewise.
51050         (__ASSUME_SIGNALFD4): Likewise.
51051         (__ASSUME_DUP3): Likewise.
51052         (__ASSUME_UTIMES): Undefine.
51054         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
51055         feclearexcept.  Remove symbol versioning code.
51056         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
51057         symbol versioning code.
51058         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
51059         symbol versioning code.
51060         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
51061         feupdateenv.  Remove symbol versioning code.
51062         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
51063         fegetexceptflag.  Remove symbol versioning code.
51064         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
51065         fesetexceptflag.  Remove symbol versioning code.
51066         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
51067         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
51068         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
51069         (__posix_fadvise64_l32): Remove prototype.
51070         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
51071         code.
51073 2014-05-13  Roland McGrath  <roland@hack.frob.com>
51075         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
51076         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
51077         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
51078         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
51080 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
51082         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
51083         current working directory
51085 2014-05-13  Roland McGrath  <roland@hack.frob.com>
51087         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
51088         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
51089         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
51090         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
51091         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
51092         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
51093         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
51094         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
51095         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
51096         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
51097         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
51098         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
51099         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
51100         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
51101         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
51102         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
51103         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
51104         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
51105         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
51106         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
51107         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
51108         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
51109         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
51110         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
51111         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
51112         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
51113         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
51114         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
51115         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
51116         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
51117         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
51118         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
51119         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
51120         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
51121         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
51122         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
51123         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
51124         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
51125         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
51126         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
51127         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
51128         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
51130         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
51131         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
51133         * sysdeps/unix/sysv/linux/arm/Makefile
51134         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
51135         Add rt-aeabi_unwind_cpp_pr1.
51136         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
51137         Add nptl-aeabi_unwind_cpp_pr1.
51138         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
51139         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
51140         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
51141         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
51142         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
51143         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
51145         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
51146         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
51147         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
51148         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
51150         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
51151         Deconditionalize the code that was previously under [RESET_PID].
51152         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
51154         * sysdeps/generic/exit-thread.h: New file.
51155         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
51156         * include/unistd.h (__exit_thread): Remove declaration.
51157         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
51158         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
51159         * csu/libc-start.c: Include <exit-thread.h>.
51160         (LIBC_START_MAIN): Pass no argument to __exit_thread.
51161         * nptl/pthread_create.c: Include <exit-thread.h>.
51162         (start_thread): Call __exit_thread in place of __exit_thread_inline.
51163         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
51164         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
51165         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
51166         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
51167         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
51168         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
51169         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
51170         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
51171         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
51172         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
51173         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
51174         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
51175         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
51176         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
51177         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
51178         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
51180 2014-05-13  Andreas Schwab  <schwab@suse.de>
51182         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
51184 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
51186         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
51187         (__ASSUME_UTIMES): Do not condition on kernel version.
51188         (__ASSUME_PSELECT): Define unconditionally.
51189         (__ASSUME_PPOLL): Likewise.
51190         (__ASSUME_ATFCTS): Likewise.
51191         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
51192         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
51193         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
51194         (__ASSUME_UTIMENSAT): Define unconditionally.
51195         (__ASSUME_PRIVATE_FUTEX): Likewise.
51196         (__ASSUME_FALLOCATE): Likewise.
51197         (__ASSUME_O_CLOEXEC): Likewise.
51198         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
51199         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
51200         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
51201         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
51202         (__ASSUME_IN_NONBLOCK): Likewise.
51203         (__ASSUME_PIPE2): Likewise.
51204         (__ASSUME_EVENTFD2): Likewise.
51205         (__ASSUME_SIGNALFD4): Likewise.
51206         (__ASSUME_DUP3): Likewise.
51207         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51208         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
51209         (__ASSUME_AT_RANDOM): Likewise.
51210         (__ASSUME_PREADV): Likewise.
51211         (__ASSUME_PWRITEV): Likewise.
51212         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
51213         (__ASSUME_F_GETOWN_EX): Define unconditionally.
51214         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
51215         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
51216         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
51217         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51218         (__ASSUME_O_CLOEXEC): Define unconditionally.
51219         (__ASSUME_PSELECT): Do not undefine conditionally.
51220         (__ASSUME_PPOLL): Likewise.
51221         (__ASSUME_ATFCTS): Likewise.
51222         (__ASSUME_SET_ROBUST_LIST): Likewise.
51223         (__ASSUME_UTIMENSAT): Likewise.
51224         (__ASSUME_FDATASYNC): Define unconditionally.
51225         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51226         (__ASSUME_SIGFRAME_V2): Likewise.
51227         )__ASSUME_EVENTFD2): Likewise.
51228         (__ASSUME_SIGNALFD4): Likewise.
51229         (__ASSUME_PSELECT): Do not undefine conditionally.
51230         (__ASSUME_PPOLL): Likewise.
51231         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51232         (__ASSUME_PSELECT): Define unconditionally.
51233         (__ASSUME_PPOLL): Likewise.
51234         (__ASSUME_O_CLOEXEC): Likewise.
51235         (__ASSUME_SOCK_CLOEXEC): Likewise.
51236         (__ASSUME_IN_NONBLOCK): Likewise.
51237         (__ASSUME_PIPE2): Likewise.
51238         (__ASSUME_EVENTFD2): Likewise.
51239         (__ASSUME_SIGNALFD4): Likewise.
51240         (__ASSUME_DUP3): Likewise.
51241         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51242         (__ASSUME_O_CLOEXEC): Likewise.
51243         (__ASSUME_SOCK_CLOEXEC): Likewise.
51244         (__ASSUME_IN_NONBLOCK): Likewise.
51245         (__ASSUME_PIPE2): Likewise.
51246         (__ASSUME_EVENTFD2): Likewise.
51247         (__ASSUME_SIGNALFD4): Likewise.
51248         (__ASSUME_DUP3): Likewise.
51249         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51250         (__ASSUME_EVENTFD2): Likewise.
51251         (__ASSUME_SIGNALFD4): Likewise.
51252         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51254 2014-05-12  Andreas Schwab  <schwab@suse.de>
51256         [BZ #16932]
51257         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
51258         (_nss_nis_gethostbyname4_r): Return error if item length is larger
51259         than maximum RPC packet size.
51260         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
51261         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
51262         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
51263         (_nss_nis_getservbyport_r): Likewise.
51265 2014-05-12  Will Newton  <will.newton@linaro.org>
51267         * malloc/Makefile (tests): Add tst-mallopt.
51268         * malloc/tst-mallopt.c: New file.
51270 2014-05-09  Roland McGrath  <roland@hack.frob.com>
51272         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
51273         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
51275 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51277         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
51278         (tst-tlsmod6.so): Likewise.
51280 2014-05-09  Roland McGrath  <roland@hack.frob.com>
51282         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
51284 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
51286         [BZ #16064]
51287         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
51288         and <dl-procinfo.h>.
51289         (__fegetenv): Save SSE state in envp->__eip if supported.
51290         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
51291         envp->__eip if supported.
51292         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
51293         and <dl-procinfo.h>.
51294         (__fesetenv): Always set __eip, __cs_selector, __opcode,
51295         __data_offset and __data_selector in environment to 0.  Set SSE
51296         state if supported.
51297         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
51298         test-fenv-sse.
51299         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
51300         -mfpmath=sse.
51301         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
51303 2014-05-09  Will Newton  <will.newton@linaro.org>
51305         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
51306         and libc_relro_required for ARM.
51307         * sysdeps/arm/preconfigure: Regenerate.
51309 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
51310             Stefan Liebler  <stli@linux.vnet.ibm.com>
51312         * config.make.in (enable-lock-elision): New Makefile variable.
51313         * configure.ac: Likewise.
51314         * configure: Regenerate.
51315         * sysdeps/s390/configure.ac:
51316         Add check for gcc transactions support.
51317         * sysdeps/s390/configure: Regenerate.
51318         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
51319         Build elision files if enabled.
51320         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
51321         Add lock elision support for s390.
51322         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
51323         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
51324         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
51325         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
51326         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
51327         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
51328         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
51329         Likewise.
51330         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
51331         Likewise.
51332         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
51333         Likewise.
51334         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
51335         Likewise.
51336         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
51337         (__lll_timedlock_elision, __lll_lock_elision)
51338         (__lll_unlock_elision, __lll_trylock_elision)
51339         (lll_timedlock_elision, lll_lock_elision)
51340         (lll_unlock_elision, lll_trylock_elision): Add.
51341         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51342         (pthread_mutex_t): Add lock elision support for s390.
51344 2014-05-14  Wilco  <wdijkstr@arm.com>
51346         * sysdeps/arm/fclrexcpt.c: Cleanup.
51347         * sysdeps/arm/fedisblxcpt.c: Cleanup.
51348         * sysdeps/arm/feenablxcpt.c: Cleanup.
51349         * sysdeps/arm/fegetenv.c: Cleanup.
51350         * sysdeps/arm/fegetexcept.c: Cleanup.
51351         * sysdeps/arm/fegetround.c: Cleanup.
51352         * sysdeps/arm/feholdexcpt.c: Cleanup.
51353         * sysdeps/arm/fesetenv.c: Cleanup.
51354         * sysdeps/arm/fesetround.c: Cleanup.
51355         * sysdeps/arm/feupdateenv.c: Cleanup.
51356         * sysdeps/arm/fgetexcptflg.c: Cleanup.
51357         * sysdeps/arm/fraiseexcpt.c: Cleanup.
51358         * sysdeps/arm/fsetexcptflg.c: Cleanup.
51359         * sysdeps/arm/ftestexcept.c: Cleanup.
51360         * sysdeps/arm/get-rounding-mode.h: Cleanup.
51361         * sysdeps/arm/setfpucw.c: Cleanup.
51363 2014-05-09  Will Newton  <will.newton@linaro.org>
51365         * sysdeps/arm/armv7/strcmp.S: New file.
51366         * NEWS: Mention addition of ARMv7 optimized strcmp.
51368 2014-05-08  Roland McGrath  <roland@hack.frob.com>
51370         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
51371         look for %.ac rather than %.in.
51373         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
51374         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
51375         * sysdeps/mach/hurd/configure: Regenerated.
51376         * sysdeps/unix/sysv/linux/configure: Regenerated.
51378         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
51380 2014-05-07  Steve Ellcey  <sellcey@mips.com>
51382         [BZ #16922]
51383         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
51384         (LONG_SUB): Ditto.
51385         (PTR_SUB): Ditto.
51387 2014-05-07  Andreas Schwab  <schwab@suse.de>
51389         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
51390         when skipping over non-matching result from nscd.
51392 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
51394         [BZ #16876]
51395         * nptl/sockperf.c (client): Check socket return value.
51397         [BZ #16877]
51398         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
51399         nscd security class.
51401 2014-05-06  Roland McGrath  <roland@hack.frob.com>
51403         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
51404         * sysdeps/arm/unwind.h: ... here.
51406 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
51408         [BZ #16916]
51409         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
51410         Define.
51412 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51414         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
51415         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
51416         multiarch strncpy for PPC64.
51417         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
51418         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
51419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
51420         multiarch optimizations.
51421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51422         (__libc_ifunc_impl_list): Likewise.
51423         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
51424         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
51425         multiarch stpncpy for PPC64.
51426         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
51427         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
51429 2014-05-06  Andreas Schwab  <schwab@suse.de>
51431         [BZ #16912]
51432         * gmon/mcount.c (_MCOUNT_DECL): Use
51433         atomic_compare_and_exchange_bool_acq instead of
51434         catomic_compare_and_exchange_bool_acq.
51436 2014-05-05  Roland McGrath  <roland@hack.frob.com>
51438         * elf/Makefile (others, install-bin): Remove pldd.
51439         (pldd-modules): Variable removed.
51440         ($(objpfx)pldd): Target removed.
51441         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
51442         (others, install-bin): Append pldd here.
51443         ($(objpfx)pldd): New target.
51445         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
51446         to 0, so the first #if test emitted later doesn't see it undefined.
51447         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
51448         * sysdeps/gnu/errlist.c: Regenerated.
51450 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51452         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51453         [libc_hidden_builtin_def]: Define to empty value.
51454         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
51455         [libc_hidden_builtin_def]: Likewise.
51456         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
51457         [libc_hidden_builtin_def]: Likewise.
51458         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
51459         [libc_hidden_builtin_def]: Likewise.
51460         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
51461         __redirect_memcpy and define ifunc as default hidden symbol.
51462         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
51463         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
51465 2014-05-04  Adam Conrad  <adconrad@0c3.net>
51467         * locale/iso-4217.def: Reintroduce XDR currency.
51469 2014-05-04  Allan McRae  <allan@archlinux.org>
51471         * po/eo.po: Update Esperanto translation from translation project.
51473 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
51475         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
51476         and FEATURE_INDEX_MAX to 1.
51477         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
51479 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51481         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
51482         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
51483         * iconvdata/big5.c (ONE_DIRECTION): Define.
51484         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
51485         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
51486         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
51487         * iconvdata/cp932.c (ONE_DIRECTION): Define.
51488         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
51489         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
51490         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
51491         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
51492         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
51493         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
51494         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
51495         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
51496         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
51497         * iconvdata/gbk.c (ONE_DIRECTION): Define.
51498         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
51499         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
51500         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
51501         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
51502         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
51503         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
51504         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
51505         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
51506         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
51507         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
51508         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
51509         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
51510         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
51511         * iconvdata/iso646.c (ONE_DIRECTION): Define.
51512         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
51513         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
51514         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
51515         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
51516         * iconvdata/johab.c (ONE_DIRECTION): Define.
51517         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
51518         * iconvdata/sjis.c (ONE_DIRECTION): Define.
51519         * iconvdata/t.61.c (ONE_DIRECTION): Define.
51520         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
51521         * iconvdata/tscii.c (ONE_DIRECTION): Define.
51522         * iconvdata/uhc.c (ONE_DIRECTION): Define.
51523         * iconvdata/unicode.c (ONE_DIRECTION): Define.
51524         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
51525         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
51526         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
51528 2014-05-01  Roland McGrath  <roland@hack.frob.com>
51530         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
51531         (_IO_JUMPS_OFFSET): Define to 0.
51533         * nptl/sysdeps/pthread/bits/libc-lock.h
51534         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
51535         (__libc_lock_define_initialized_recursive): Always define using
51536         initializer.  Modern compilers treat uninitialized (implicit zero) and
51537         explicit zero initializers the same (i.e. put the datum in bss).
51539 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51541         * nscd/nscd-client.h: Include <string.h>.
51543 2014-05-01  David S. Miller  <davem@davemloft.net>
51545         [BZ #16885]
51546         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
51547         multiple zero bytes exist at the end of a string.
51548         Reported by Aurelien Jarno <aurelien@aurel32.net>
51550         * string/test-strcmp.c (check): Add explicit test for situations where
51551         there are multiple zero bytes after the first.
51553 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51555         [BZ #16890]
51556         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
51557         when compiling wprintf.
51558         * stdio-common/tstdiomisc.c (t3): New function.
51559         (main): Call it.
51561 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51563         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
51564         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
51565         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
51566         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
51568 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51570         * stdlib/longlong.h: Updated from GCC.
51572 2014-05-01  Will Newton  <will.newton@linaro.org>
51573             Bernard Ogden  <bernie.ogden@linaro.org>
51575         * NEWS: Update fixed bug list.
51577         [BZ #15119]
51578         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
51580 2014-04-30  David S. Miller  <davem@davemloft.net>
51582         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
51583         (libc_feholdexcept_setround_sparc_ctx): New function.
51584         (libc_fesetenv_sparc_ctx): Likewise.
51585         (libc_feupdateenv_sparc_ctx): Likewise.
51586         (libc_feholdsetround_sparc_ctx): Likewise.
51587         (libc_feholdexcept_setround_ctx): Define.
51588         (libc_feholdexcept_setroundf_ctx): Likewise.
51589         (libc_feholdexcept_setroundl_ctx): Likewise.
51590         (libc_fesetenv_ctx): Likewise.
51591         (libc_fesetenvf_ctx): Likewise.
51592         (libc_fesetenvl_ctx): Likewise.
51593         (libc_feupdateenv_ctx): Likewise.
51594         (libc_feupdateenvf_ctx): Likewise.
51595         (libc_feupdateenvl_ctx): Likewise.
51596         (libc_feresetround_ctx): Likewise.
51597         (libc_feresetroundf_ctx): Likewise.
51598         (libc_feresetroundl_ctx): Likewise.
51599         (libc_feholdsetround_ctx): Likewise.
51600         (libc_feholdsetroundf_ctx): Likewise.
51601         (libc_feholdsetroundl_ctx): Likewise.
51603         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51604         with __USE_GNU instead of XOPEN cpp guards.
51606         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
51607         0.
51609         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51610         with XOPEN cpp guards.
51612 2014-04-30  Julian Brown  <julian@codesourcery.com>
51614         [BZ #16888]
51615         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
51616         handling.
51618 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
51620         [BZ #9894]
51621         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
51622         Change to 2.6.32.
51623         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
51624         * sysdeps/unix/sysv/linux/configure: Regenerated.
51625         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
51626         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
51627         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
51628         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
51629         * README: Update reference to required Linux kernel version.
51630         * manual/install.texi (Linux): Update reference to required Linux
51631         kernel headers version.
51632         * INSTALL: Regenerated.
51634         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
51635         header inclusion.
51636         [POSIX] (limits.h): Likewise.
51637         [POSIX] (math.h): Likewise.
51638         [POSIX] (sys/wait.h): Likewise.
51639         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
51640         function.
51641         [POSIX] (stddef.h): Do not allow header inclusion.
51643 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51645         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
51647 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
51649         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
51650         Return immediately after lll_futex_wake.
51652 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51654         [BZ #16791]
51655         * nscd/nscd-client.h (datahead_init_common): Initialize entire
51656         structure.
51657         (datahead_init_pos): Call datahead_init_common early.
51658         (datahead_init_neg): Likewise.
51660         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
51661         datahead_init_neg): New functions.
51662         * nscd/aicache.c (addhstaiX): Use them.
51663         * nscd/grpcache.c (cache_addgr): Likewise.
51664         * nscd/hstcache.c (cache_addhst): Likewise.
51665         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51666         * nscd/netgroupcache.c (do_notfound): Likewise.
51667         (addgetnetgrentX): Likewise.
51668         (addinnetgrX): Likewise.
51669         * nscd/pwdcache.c (cache_addpw): Likewise.
51670         * nscd/servicescache.c (cache_addserv): Likewise.
51672 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51673             Atsushi Onoe  <atsushi@onoe.org>
51675         [BZ #14308]
51676         [BZ #12994]
51677         [BZ #13651]
51678         * resolv/res_query.c (__libc_res_nsearch): Return if at least
51679         one response is valid.
51680         * resolv/res_send.c (send_dg): Check for validity of other
51681         response if the current response is a referral.
51683 2014-04-29  Steve Ellcey  <sellcey@mips.com>
51685         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
51687 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
51689         [BZ #16823]
51690         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
51691         Always divide by positive zero when computing -Inf result.
51692         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51693         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
51695 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51697         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
51698         FPSCR if value do not change.
51699         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
51700         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
51701         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
51702         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
51703         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
51704         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
51705         function.
51707 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
51709         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
51710         * sysdeps/unix/sysv/linux/hppa: Move directory from
51711         ports/systeps/unix/sysv/linux/hppa.
51712         * README: Update listing for hppa-*-linux-gnu.
51714 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
51716         [BZ #16754]
51717         * manual/stdio.texi (Hook functions): Fix types of stream hook
51718         functions.
51719         [BZ #16854]
51720         * socket/sys/socket.h: Fix typo in comment.
51722 2014-04-28  Wilco  <wdijkstr@arm.com>
51724         * sysdeps/arm/fenv_private.h: New file.
51725         * sysdeps/arm/math_private.h: New file.
51726         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
51728 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
51730         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
51731         with __int128_t.
51732         (La_x86_64_retval): Likewise.
51734 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
51736         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
51737         fpsr if value didn't change.
51738         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
51739         to fpcr if value didn't change.
51740         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
51741         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
51742         fpsr or fpcr if value didn't change.
51743         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51744         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
51745         fpcr if value didn't change.
51746         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
51747         to fpsr if value didn't change.
51749 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51751         * nptl/tst-sem3.c: Use test-skeleton.c
51752         (main): Rename to do_test.  Use return instead of
51753         exit.
51754         * nptl/tst-sem4.c: Use test-skeleton.c
51755         (main): Rename to do_test.
51757 2014-04-22  David S. Miller  <davem@davemloft.net>
51759         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
51760         (struct sigaction): New struct member __glibc_reserved0, change
51761         type of sa_flags to int.
51763 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
51765         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
51766         (COUNT_LEADING_ZEROS_0): Define for AArch64.
51768 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51770         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
51771         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
51773 2014-04-22  Will Newton  <will.newton@linaro.org>
51774             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
51776         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
51777         (__longjmp): Add longjmp and longjmp_target SystemTap
51778         probes.
51779         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
51780         (__sigsetjmp): Add setjmp SystemTap probe.
51782 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
51784         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
51785         match manual order.
51787 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51789         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
51791         * sysdeps/powerpc/fpu/fenv_private.h
51792         (libc_feholdexcept_setroundl_ctx): Define to
51793         libc_feholdexcept_setround_ppc_ctx.
51794         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
51795         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
51796         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
51797         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
51799 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51801         * sysdeps/aarch64/math-tests.h: New file.
51803 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
51805         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
51806         New.
51807         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51808         Check and set bit_AVX2_Usable.
51809         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
51810         macro.
51811         (bit_AVX2): Likewise.
51812         (index_AVX2_Usable): Likewise.
51813         (CPUID_AVX2): Likewise.
51814         (HAS_AVX2): Likewise.
51816 2014-04-17  Will Newton  <will.newton@linaro.org>
51818         * manual/setjmp.texi (System V contexts): Add note that
51819         calling setcontext on a context created by a call to a
51820         signal handler is undefined.  Update text to note that
51821         setcontext from a signal handler is possible but not
51822         recommended.
51824         [BZ #16629]
51825         * stdlib/tst-setcontext.c: Include signal.h.
51826         (main): Check that the signal stack before and
51827         after swapcontext is the same.
51829         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
51830         Re-implement to restore registers in user code and avoid
51831         rt_sigreturn system call.
51833 2014-04-17  Wilco  <wdijkstr@arm.com>
51835         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
51836         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
51837         * math/test-fenv.c: Skip exception trap tests on targets which only
51838         support non-stop mode.
51840 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51841             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51843         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
51844         (libc_feholdsetround_aarch64_ctx)
51845         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
51846         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
51847         (libc_feresetround_ctx, libc_feresetroundf_ctx)
51848         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
51849         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
51850         (libc_feresetround_noexl_ctx): Define.
51852 2014-04-16  Richard Henderson  <rth@redhat.com>
51854         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
51856         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
51857         unwind tables.
51859         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
51860         const from the non-libc, non-ldso copy.
51862         * sysdeps/alpha/libm-test-ulps: Regenerate.
51864 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
51865             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51867         * sysdeps/aarch64/fpu/math_private.h: New file.
51869 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51871         * sysdeps/aarch64/libm-test-ulps: Regenerate.
51873 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
51875         [BZ #16275]
51876         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
51877         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
51878         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
51879         Intel MPX bound registers before _dl_profile_fixup.
51880         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
51881         registers after _dl_profile_fixup.  Save and restore bound
51882         registers bnd0/bnd1 when calling _dl_call_pltexit.
51883         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
51884         (LR_BND_OFFSET): Likewise.
51885         (LRV_BND0_OFFSET): Likewise.
51886         (LRV_BND1_OFFSET): Likewise.
51888 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51890         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
51891         to...
51892         * sysdeps/mach/hurd/i386/tls.h: ... here.
51893         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
51894         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
51895         fields.
51897 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51899         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
51901 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
51903         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51905 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
51907         [BZ #14770]
51908         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
51909         * sysdeps/s390/configure: Regenerate.
51911         [BZ #16824]
51912         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
51913         Set round-to-nearest internally to reduce error accumulation.
51915 2014-04-16  Alan Modra  <amodra@gmail.com>
51917         [BZ #16740]
51918         [BZ #16619]
51919         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
51920         * math/libm-test.inc (frexp_test_data): Add tests.
51921         * NEWS: Update fixed bug list.
51923 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51925         * benchtests/Makefile: Depend on libraries in build directory.
51926         (bench-math): Separate out math tests.
51927         (bench-pthread): Separate out pthread tests.
51928         (bench): Include math and pthread tests.
51930 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
51932         [BZ #16831]
51933         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
51934         _dl_debug_initialize.
51936         * configure.ac: Remove SELinux header check.
51937         * configure: Regenerate.
51938         * nscd/selinux.c (perms): Array of const char* to permission names.
51939         (nscd_request_avc_has_perm): Call security_deny_unknown to find
51940         default policy. Call string_to_security_class and string_to_av_perm to
51941         translate strings. Enforce default policy and call avs_has_perm with
51942         results of translated strings.
51944 2014-04-13  David S. Miller  <davem@davemloft.net>
51946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51948 2014-04-12  Allan McRae  <allan@archlinux.org>
51950         [BZ #16838]
51951         * manual/string.texi (Collation Functions): Fix qsort argument
51952         order in example.
51953         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51955 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
51957         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
51958         Make the test a no-op if there are no exceptions defined.
51960 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
51962         * elf/Makefile (tests): make tst-dlopen-aout conditional on
51963         enable-hardcoded-path-in-tests
51965 2014-04-11  Will Newton  <will.newton@linaro.org>
51967         * benchtests/Makefile (extra-objs): Add json-lib.o.
51968         (bench-func): Tidy up JSON output.
51969         * benchtests/bench-skeleton.c: Include json-lib.h.
51970         (main): Use JSON library functions to do output of
51971         benchmark results.
51972         * benchtests/bench-timing-type.c (main): Output the
51973         timing type simply, leaving formatting to the user.
51974         * benchtests/json-lib.c: New file.
51975         * benchtests/json-lib.h: Likewise.
51977 2014-04-11  Torvald Riegel  <triegel@redhat.com>
51979         [BZ #15215]
51980         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
51981         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
51982         memory barriers.  Add comments.
51983         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
51984         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
51985         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
51986         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
51987         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
51988         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
51990 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51992         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
51993         * sysdeps/s390/s390-64/configure.ac: ... this ...
51994         * sysdeps/s390/configure.ac: ... to here.
51995         * sysdeps/s390/s390-32/configure: Delete file.
51996         * sysdeps/s390/s390-64/configure: Delete file.
51997         * sysdeps/s390/configure: Regenerate.
51999 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
52001         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
52003 2014-04-11  Will Newton  <will.newton@linaro.org>
52005         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
52006         to zero if it is not defined elsewhere.  (mtrim): Test
52007         the value of MALLOC_DEBUG with #if rather than #ifdef.
52009 2014-04-10 Torvald Riegel  <triegel@redhat.com>
52011         * benchtests/pthread_once-inputs: New file.
52012         * benchtests/pthread_once-source.c: New file.
52013         * benchtests/README: Update documentation.
52015 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
52016             H.J. Lu  <hongjiu.lu@intel.com>
52018         [BZ #16275]
52019         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
52020         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
52021         * sysdeps/x86_64/configure: Regenerated.
52022         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
52023         macro.
52024         (REGISTER_SAVE_RAX): Likewise.
52025         (REGISTER_SAVE_RCX): Likewise.
52026         (REGISTER_SAVE_RDX): Likewise.
52027         (REGISTER_SAVE_RSI): Likewise.
52028         (REGISTER_SAVE_RDI): Likewise.
52029         (REGISTER_SAVE_R8): Likewise.
52030         (REGISTER_SAVE_R9): Likewise.
52031         (REGISTER_SAVE_BND0): Likewise.
52032         (REGISTER_SAVE_BND1): Likewise.
52033         (REGISTER_SAVE_BND2): Likewise.
52034         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
52035         bound registers when calling _dl_fixup.
52037 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52039         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
52040         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
52041         of its definition.
52042         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
52043         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
52044         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
52045         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
52046         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
52047         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
52048         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
52050 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
52052         [BZ #15514]
52053         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
52054         pathconf(_PC_NAME_MAX).
52056 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52058         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
52059         Remove macro usage.
52060         (__PTHREAD_SPINS): Move definition to ...
52061         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52062         (__PTHREAD_SPINS): ... here.
52063         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52064         (__PTHREAD_SPIN): Likewise.
52065         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
52066         (__PTHREAD_SPIN): Likewise.
52067         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
52068         (__PTHREAD_SPIN): Likewise.
52069         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
52070         (__PTHREAD_SPIN): Likewise.
52071         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
52072         (__PTHREAD_SPIN): Likewise.
52073         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
52074         (__PTHREAD_SPIN): Likewise.
52075         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
52076         (__PTHREAD_SPIN): Likewise.
52077         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
52078         (__PTHREAD_SPIN): Likewise.
52079         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
52080         (__PTHREAD_SPIN): Likewise.
52081         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
52082         (__PTHREAD_SPIN): Likewise.
52083         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
52084         (__PTHREAD_SPIN): Likewise.
52085         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
52086         (__PTHREAD_SPIN): Likewise.
52088         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
52089         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
52090         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
52091         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
52092         imply folder.
52093         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
52094         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
52095         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
52096         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
52097         correct imply path.
52098         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
52099         strlen symbol for non multi-arch builds.
52100         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
52101         missing hidden_def and weak_alias.
52103 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
52105         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
52107 2014-04-07  Will Newton  <will.newton@linaro.org>
52109         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
52110         and contents.  [!_LIBC] Remove #ifndef and contents.
52111         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
52112         * string/memccpy.c (__memccpy): Use ANSI prototype.
52113         * string/memfrob.c (memfrob): Likewise.
52114         * string/strcoll.c (STRCOLL): Likewise.
52115         * string/strlen.c (strlen): Likewise.
52116         * string/strtok.c (STRTOK): Likewise.
52117         * string/strcat.c: Remove unused #include of memcopy.h.
52118         (strcat): Use ANSI prototype.
52119         * string/strchr.c: Remove unused #include of memcopy.h.
52120         (strchr): Use ANSI prototype.
52121         * string/strcmp.c: Remove unused #include of memcopy.h.
52122         (strcmp): Use ANSI prototype.
52123         * string/strcpy.c: Remove unused #include of memcopy.h.
52124         (strcpy): Use ANSI prototype.
52126 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52128         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
52129         * config.make.in (config-extra-cppflags): Set it from
52130         libc_extra_cppflags.
52131         * configure.ac (libc_extra_cflags): Make it accumulate over
52132         configure fragments.
52133         (libc_extra_cppflags): New flag.
52134         * configure. Regenerate.
52135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
52136         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
52137         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
52138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
52140         [BZ #16815]
52141         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
52142         result for FE_DOWNWARD rounding mode.
52143         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
52144         Likewise.
52145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52147 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
52149         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
52150         in function argument name.
52152 2014-04-03  David Svoboda  <svoboda@cert.org>
52154         [BZ #5666]
52155         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
52156         explicitly.
52158 2014-04-03  Roland McGrath  <roland@hack.frob.com>
52160         * elf/dl-unmap-segments.h: New file.
52161         * sysdeps/generic/ldsodefs.h
52162         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
52163         * elf/dl-close.c: Include <dl-unmap-segments.h>.
52164         * elf/dl-fptr.c: Likewise.
52165         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
52166         * sysdeps/aarch64/tlsdesc.c: Likewise.
52167         * sysdeps/arm/tlsdesc.c: Likewise.
52168         * sysdeps/i386/tlsdesc.c: Likewise.
52169         * sysdeps/tile/dl-runtime.c: Likewise.
52170         * sysdeps/x86_64/tlsdesc.c: Likewise.
52171         * elf/dl-load.h: New file.
52172         * elf/dl-load.c: Include it.
52173         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
52174         Macros moved to dl-load.h.
52175         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
52176         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
52177         Use _dl_unmap_segments in place of __munmap.
52178         Break out segment-mapping loop into ...
52179         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
52181 2014-04-03  Will Newton  <will.newton@linaro.org>
52183         * elf/dl-lookup.c (do_lookup_x): Remove comment
52184         referring to nested function and move variable
52185         declarations down to before first use.
52187 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
52189         [BZ #16799]
52190         [BZ #16800]
52191         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
52192         with 0 numerator.
52193         * math/s_catanf.c (__catanf): Likewise.
52194         * math/s_catanh.c (__catanh): Likewise.
52195         * math/s_catanhf.c (__catanhf): Likewise.
52196         * math/s_catanhl.c (__catanhl): Likewise.
52197         * math/s_catanl.c (__catanl): Likewise.
52198         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
52199         by positive zero when computing -Inf result.
52200         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
52201         (catanh_test): Likewise.
52202         * sysdeps/i386/fpu/libm-test-ulps: Update.
52203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52205         [BZ #16789]
52206         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
52207         instead of using underflowing value in computing result.
52208         * math/s_clog10.c (__clog10): Likewise.
52209         * math/s_clog10f.c (__clog10f): Likewise.
52210         * math/s_clog10l.c (__clog10l): Likewise.
52211         * math/s_clogf.c (__clogf): Likewise.
52212         * math/s_clogl.c (__clogl): Likewise.
52213         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
52214         (clog10_test): Likewise.
52215         * sysdeps/i386/fpu/libm-test-ulps: Update.
52216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52218 2014-04-02  Alan Modra  <amodra@gmail.com>
52220         [BZ #16739]
52221         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
52222         output when value is near a power of two.  Use int64_t for lx and
52223         remove casts.  Use decimal rather than hex exponent constants.
52224         Don't use long double multiplication when double will suffice.
52225         * math/libm-test.inc (nextafter_test_data): Add tests.
52226         * NEWS: Add 16739 and 16786 to bug list.
52228         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
52230         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
52232 2014-04-01  Will Newton  <will.newton@linaro.org>
52234         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
52235         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
52237 2014-04-01  Florian Weimer  <fweimer@redhat.com>
52239         [BZ #13347]
52240         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
52241         * nptl/tst-setuid2.c: New file.
52242         * nptl/Makefile (xtests): Add tst-setuid2.
52244 2014-04-01  Alan Modra  <amodra@gmail.com>
52246         [BZ #16786]
52247         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
52249 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
52251         [BZ #6803]
52252         [BZ #6804]
52253         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
52254         set errno as appropriate.
52255         * math/w_scalbf.c (__scalbf): Likewise.
52256         * math/w_scalbl.c (__scalbl): Likewise.
52257         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
52258         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
52259         * math/libm-test.inc (scalb_test_data): Add errno expectations.
52260         Add more NaN tests.
52262         [BZ #16349]
52263         * math/w_atan2.c: Include <errno.h>.
52264         (__atan2): Set errno for result underflowing to zero.
52265         * math/w_atan2f.c: Include <errno.h>.
52266         (__atan2f): Set errno for result underflowing to zero.
52267         * math/w_atan2l.c: Include <errno.h>.
52268         (__atan2l): Set errno for result underflowing to zero.
52269         * math/auto-libm-test-in: Don't allow missing errno for some atan2
52270         tests.
52271         * math/auto-libm-test-out: Regenerated.
52273 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52275         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
52276         Encode instruction correctly in little endian.
52277         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
52278         Likewise.
52279         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
52280         Likewise.
52281         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
52282         Likewise.
52283         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
52284         Likewise.
52286 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
52288         [BZ #9894]
52289         * sysdeps/unix/sysv/linux/kernel-features.h
52290         [__sparc__ && !__arch64__ && !__sparc_v9__]
52291         (__ASSUME_SET_ROBUST_LIST): Do not define.
52292         [__sparc__ && !__arch64__ && !__sparc_v9__]
52293         (__ASSUME_FUTEX_LOCK_PI): Likewise.
52294         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
52295         Likewise.
52296         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52297         (__ASSUME_FUTEX_LOCK_PI): Undefine.
52298         (__ASSUME_REQUEUE_PI): Likewise.
52299         (__ASSUME_SET_ROBUST_LIST): Likewise.
52300         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52301         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
52302         Undefine.
52303         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52304         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
52305         Likewise.
52306         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
52307         Likewise.
52308         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
52309         Likewise.
52310         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52311         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
52312         Undefine.
52313         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
52314         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
52315         Likewise.
52317         [BZ #16648]
52318         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52319         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
52320         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
52322 2014-03-31  Will Newton  <will.newton@linaro.org>
52324         * benchtests/Makefile (bench): Add ffs and ffsll to list
52325         of tests.
52326         * benchtests/ffs-inputs: New file.
52327         * benchtests/ffsll-inputs: Likewise.
52329 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
52331         [BZ #16770]
52332         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
52333         too large before casting to int.
52334         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
52335         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
52336         * math/libm-test.inc (scalb_test_data): Add more tests.
52338 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52340         * benchtests/Makefile (DETAILED_OPT): New make option.
52341         (bench-func): Run benchmark program with -d if DETAILED_OPT is
52342         set.
52343         * benchtests/bench-skeleton.c: Include stdbool.h.
52344         (main): Store and print timings per input.
52345         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
52346         member to each argument value.
52347         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
52348         (_print_arg_data): Initialize per-input timing to 0.
52350         * benchtests/Makefile (timing-type): New binary.
52351         (bench-clean): Also remove bench-timing-type.
52352         (bench): New target for timing-type.
52353         (bench-func): Print output in JSON format.
52354         * benchtests/bench-skeleton.c (main): Print output in JSON
52355         format.
52356         * benchtests/bench-timing-type.c: New file.
52357         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
52358         (TIMING_PRINT_STATS): Remove.
52359         * benchtests/scripts/bench.py (_print_arg_data): Store variant
52360         name separately.
52362         * benchtests/bench-modf.c: Remove.
52363         * benchtests/modf-inputs: New inputs file.
52365 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
52367         [BZ #16362]
52368         * math/s_clog10.c (M_PI_LOG10E): New macro.
52369         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
52370         imaginary parts are 0.
52371         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
52372         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
52373         imaginary parts are 0.
52374         * math/s_clog10l.c (M_PI_LOG10El): New macro.
52375         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
52376         imaginary parts are 0.
52377         * math/libm-test.inc (clog10_test_data): Update expected results
52378         for when real and imaginary parts are 0.
52380 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
52382         * elf/dl-load.c: Finish conversion of __builtin_expect into
52383         __glibc_{un}likely.
52385 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
52387         [BZ #16348]
52388         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
52389         1+x for argument with exponent below -67.
52390         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
52391         Likewise.
52392         * math/auto-libm-test-in: Add more tests of exp.
52393         * math/auto-libm-test-out: Regenerated.
52395 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52397         [BZ #16759]
52398         * inet/getnetgrent_r.c (get_nonempty_val): New function.
52399         (nscd_getnetgrent): Use it.
52401         [BZ #16760]
52402         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
52403         of stpcpy.
52405 2014-03-27  Andi Kleen  <ak@linux.intel.com>
52407         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
52408         (lll_robust_lock, lll_cond_lock, lll_timedlock)
52409         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52410         (lll_robust_unlock): Remove out of line section. Use cfi
52411         intrinsics.
52412         (LLL_STUB_UNWIND_INFO*): Remove.
52413         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
52414         (lll_robust_lock, lll_cond_lock, lll_timedlock)
52415         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52416         (lll_robust_unlock): Remove out of line section. Use cfi
52417         intrinsics.
52418         (LLL_STUB_UNWIND_INFO*): Remove.
52420 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52422         [BZ #16758]
52423         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
52424         blank values.
52426 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
52428         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
52430 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
52432         [BZ #16198]
52433         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
52434         fnstenv.
52435         * math/test-fenv-preserve.c: New file.
52436         * math/Makefile (tests): Add test-fenv-preserve.
52438 2014-03-26  Will Newton <will.newton@linaro.org>
52440         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
52442 2014-03-25  Roland McGrath  <roland@hack.frob.com>
52444         * scripts/versionlist.awk: Partition the version sets and emit all
52445         GLIBC_* (sorted) before all others (sorted).
52447 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
52449         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
52450         GLIBC_2.2.5 version.
52452 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52454         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
52455         calls.
52457         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
52458         previous change.
52460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52462 2014-03-25  Andreas Schwab  <schwab@suse.de>
52464         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
52465         label to be used after in6ailist is initialized.
52467 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52469         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52470         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52472 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
52474         [BZ #16357]
52475         [BZ #16599]
52476         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
52477         min_plus_half.
52478         (fp_formats): Update initializers.
52479         (init_fp_formats): Initialize new field.
52480         (output_for_one_input_case): Allow underflow for results up to
52481         min_plus_half.
52482         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
52483         * math/auto-libm-test-in: Don't mark some underflows from asin and
52484         atanh as spurious.
52485         * math/auto-libm-test-out: Regenerated.
52486         * sysdeps/i386/fpu/libm-test-ulps: Update.
52487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52489 2014-03-25  Andreas Schwab  <schwab@suse.de>
52491         * libio/Makefile (tst-ftell-partial-wide-ENV)
52492         (tst-ftell-active-handler-ENV): Define.
52494 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
52496         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
52498 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
52500         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
52502 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
52504         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
52505         * sysdeps/x86_64/fpu/multiarch/e_exp.c
52506         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
52508 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
52510         [BZ #16634]
52511         * elf/dl-load.c (open_verify): Add mode parameter.
52512         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
52513         (open_path): Change from boolean 'secure' to complete flag 'mode'
52514         (_dl_map_object): Adjust.
52515         * elf/Makefile (tests): Add tst-dlopen-aout.
52516         * elf/tst-dlopen-aout.c: New test.
52518 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
52520         [BZ #16714]
52521         * sysdeps/unix/sysv/linux/s390/bits/stat.h
52522         (struct stat): Rename member pad0 to __glibc_reserved0.
52524         [BZ #16712]
52525         * sysdeps/s390/s390-32/bits/wordsize.h
52526         (__WORDSIZE32_SIZE_ULONG): New define.
52527         * sysdeps/s390/s390-64/bits/wordsize.h
52528         (__WORDSIZE32_SIZE_ULONG): Likewise.
52529         * sysdeps/generic/stdint.h (SIZE_MAX):
52530         Define as UL if __WORDSIZE32_SIZE_ULONG.
52532         [BZ #16713]
52533         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
52534         (__glibc_reserved0): New variable.
52535         (sa_flags): Change type to int.
52537         * posix/Makefile (before-compile): Use += before-compile instead
52538         of a :=.
52540         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52541         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52543 2014-03-20  Andreas Schwab  <schwab@suse.de>
52545         [BZ #16743]
52546         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
52547         non-matching result from nscd.
52549 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52551         * scripts/bench.py: Moved to ...
52552         * benchtests/scripts/bench.py: ... here.
52553         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
52555 2014-03-24  Andreas Schwab  <schwab@suse.de>
52557         [BZ #16002]
52558         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
52559         alloca_account and account alloca use for struct in6ailist.
52561 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
52563         [BZ #16284]
52564         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
52565         rounding mode to recompute results that overflow to infinity or
52566         underflow to zero.
52567         * math/auto-libm-test-in: Don't mark tests as expected to fail for
52568         bug 16284.
52569         * math/auto-libm-test-out: Regenerated.
52570         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
52571         (ccosh_test): Likewise.
52572         (csin_test_data): Use plus_oflow.
52573         (csin_test): Use ALL_RM_TEST.
52574         (csinh_test_data): Use plus_oflow.
52575         (csinh_test): Use ALL_RM_TEST.
52576         * sysdeps/i386/fpu/libm-test-ulps: Update.
52577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52579 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
52581         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
52582         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
52583         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
52585         [BZ #16731]
52586         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
52587         when x - 1 is zero.
52588         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
52589         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
52590         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
52591         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
52592         argument is 1.
52593         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
52594         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
52595         zero.
52596         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
52597         * sysdeps/i386/fpu/libm-test-ulps: Update.
52598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52600 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52602         * scripts/bench.pl: Remove file.
52603         * scripts/bench.py: New benchmark script.
52604         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
52605         * benchtests/README: Mention python dependency.
52606         * scripts/pylintrc: New file.
52607         * scripts/pylint: New file.
52609         * bits/mathdef.h: Use #ifdef instead of #if.
52610         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
52611         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52612         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
52613         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52614         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
52615         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52617 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52618             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52620         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
52621         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
52622         and strpbrk-ppc64 objects.
52623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52624         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
52625         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
52626         multiarch strpbrk for POWER7.
52627         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
52628         multiarch strpbrk for PPC64.
52629         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
52630         ifunc selector.
52631         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
52632         strpbrk for POWER7.
52634 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52636         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
52637         (atan_test): Likewise.
52638         (atanh_test_data): Use NO_TEST_INLINE for two tests.
52639         (atanh_test): Use ALL_RM_TEST.
52640         (atan2_test_data): Likewise.
52641         (cabs_test): Likewise.
52642         (cacosh_test): Likewise.
52643         (carg_test): Likewise.
52644         (casin_test): Likewise.
52645         (casinh_test): Likewise.
52646         (cbrt_test): Likewise.
52647         (csqrt_test): Likewise.
52648         (erf_test): Likewise.
52649         (erfc_test): Likewise.
52650         (pow10_test): Likewise.
52651         (exp2_test): Likewise.
52652         (hypot_test): Likewise.
52653         (j0_test): Likewise.
52654         (j1_test): Likewise.
52655         (lgamma_test): Likewise.
52656         (gamma_test): Likewise.
52657         (sincos_test): Likewise.
52658         (tanh_test): Likewise.
52659         (y0_test): Likewise.
52660         (y1_test): Likewise.
52661         * sysdeps/i386/fpu/libm-test-ulps: Update.
52662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52664 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52666         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
52667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
52668         and strcspn-ppc64 objects.
52669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52670         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
52671         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
52672         multiarch strcspn for POWER7.
52673         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
52674         multiarch strcspn for PPC64.
52675         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
52676         ifunc selector.
52677         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
52678         strcspn for POWER7.
52680 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52682         * math/gen-libm-test.pl (generate_testfile): Expect only function
52683         name as argument to AUTO_TESTS_* and pass results for all rounding
52684         modes to parse_args.
52685         (parse_auto_input): Separate inputs of automatic tests from
52686         outputs before storing in %auto_tests.
52687         * math/libm-test.inc (acos_test_data): Update call to
52688         AUTO_TESTS_f_f.
52689         (acos_test): Use ALL_RM_TEST.
52690         (acos_tonearest_test_data): Remove.
52691         (acos_test_tonearest): Likewise.
52692         (acos_towardzero_test_data): Likewise.
52693         (acos_test_towardzero): Likewise.
52694         (acos_downward_test_data): Likewise.
52695         (acos_test_downward): Likewise.
52696         (acos_upward_test_data): Likewise.
52697         (acos_test_upward): Likewise.
52698         (acosh_test_data): Update call to AUTO_TESTS_f_f.
52699         (asin_test_data): Likewise.
52700         (asin_test): Use ALL_RM_TEST.
52701         (asin_tonearest_test_data): Remove.
52702         (asin_test_tonearest): Likewise.
52703         (asin_towardzero_test_data): Likewise.
52704         (asin_test_towardzero): Likewise.
52705         (asin_downward_test_data): Likewise.
52706         (asin_test_downward): Likewise.
52707         (asin_upward_test_data): Likewise.
52708         (asin_test_upward): Likewise.
52709         (asinh_test_data): Update call to AUTO_TESTS_f_f.
52710         (atan_test_data): Likewise.
52711         (atanh_test_data): Likewise.
52712         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
52713         (cabs_test_data): Update call to AUTO_TESTS_c_f.
52714         (carg_test_data): Likewise.
52715         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
52716         (ccos_test_data): Update call to AUTO_TESTS_c_c.
52717         (ccosh_test_data): Likewise.
52718         (cexp_test_data): Likewise.
52719         (clog_test_data): Likewise.
52720         (clog10_test_data): Likewise.
52721         (cos_test_data): Update call to AUTO_TESTS_f_f.
52722         (cos_test): Use ALL_RM_TEST.
52723         (cos_tonearest_test_data): Remove.
52724         (cos_test_tonearest): Likewise.
52725         (cos_towardzero_test_data): Likewise.
52726         (cos_test_towardzero): Likewise.
52727         (cos_downward_test_data): Likewise.
52728         (cos_test_downward): Likewise.
52729         (cos_upward_test_data): Likewise.
52730         (cos_test_upward): Likewise.
52731         (cosh_test_data): Update call to AUTO_TESTS_f_f.
52732         (cosh_test): Use ALL_RM_TEST.
52733         (cosh_tonearest_test_data): Remove.
52734         (cosh_test_tonearest): Likewise.
52735         (cosh_towardzero_test_data): Likewise.
52736         (cosh_test_towardzero): Likewise.
52737         (cosh_downward_test_data): Likewise.
52738         (cosh_test_downward): Likewise.
52739         (cosh_upward_test_data): Likewise.
52740         (cosh_test_upward): Likewise.
52741         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
52742         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
52743         (ctan_test_data): Likewise.
52744         (ctan_test): Use ALL_RM_TEST.
52745         (ctan_tonearest_test_data): Remove.
52746         (ctan_test_tonearest): Likewise.
52747         (ctan_towardzero_test_data): Likewise.
52748         (ctan_test_towardzero): Likewise.
52749         (ctan_downward_test_data): Likewise.
52750         (ctan_test_downward): Likewise.
52751         (ctan_upward_test_data): Likewise.
52752         (ctan_test_upward): Likewise.
52753         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
52754         (ctanh_test): Use ALL_RM_TEST.
52755         (ctanh_tonearest_test_data): Remove.
52756         (ctanh_test_tonearest): Likewise.
52757         (ctanh_towardzero_test_data): Likewise.
52758         (ctanh_test_towardzero): Likewise.
52759         (ctanh_downward_test_data): Likewise.
52760         (ctanh_test_downward): Likewise.
52761         (ctanh_upward_test_data): Likewise.
52762         (ctanh_test_upward): Likewise.
52763         (erf_test_data): Update call to AUTO_TESTS_f_f.
52764         (erfc_test_data): Likewise.
52765         (exp_test_data): Likewise.
52766         (exp_test): Use ALL_RM_TEST.
52767         (exp_tonearest_test_data): Remove.
52768         (exp_test_tonearest): Likewise.
52769         (exp_towardzero_test_data): Likewise.
52770         (exp_test_towardzero): Likewise.
52771         (exp_downward_test_data): Likewise.
52772         (exp_test_downward): Likewise.
52773         (exp_upward_test_data): Likewise.
52774         (exp_test_upward): Likewise.
52775         (exp10_test_data): Update call to AUTO_TESTS_f_f.
52776         (exp10_test): Use ALL_RM_TEST.
52777         (exp10_tonearest_test_data): Remove.
52778         (exp10_test_tonearest): Likewise.
52779         (exp10_towardzero_test_data): Likewise.
52780         (exp10_test_towardzero): Likewise.
52781         (exp10_downward_test_data): Likewise.
52782         (exp10_test_downward): Likewise.
52783         (exp10_upward_test_data): Likewise.
52784         (exp10_test_upward): Likewise.
52785         (exp2_test_data): Update call to AUTO_TESTS_f_f.
52786         (expm1_test_data): Likewise.
52787         (expm1_test): Use ALL_RM_TEST.
52788         (expm1_tonearest_test_data): Remove.
52789         (expm1_test_tonearest): Likewise.
52790         (expm1_towardzero_test_data): Likewise.
52791         (expm1_test_towardzero): Likewise.
52792         (expm1_downward_test_data): Likewise.
52793         (expm1_test_downward): Likewise.
52794         (expm1_upward_test_data): Likewise.
52795         (expm1_test_upward): Likewise.
52796         (fma_test_data): Update call to AUTO_TESTS_fff_f.
52797         (fma_test): Use ALL_RM_TEST.
52798         (fma_towardzero_test_data): Remove.
52799         (fma_test_towardzero): Likewise.
52800         (fma_downward_test_data): Likewise.
52801         (fma_test_downward): Likewise.
52802         (fma_upward_test_data): Likewise.
52803         (fma_test_upward): Likewise.
52804         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
52805         (j0_test_data): Update call to AUTO_TESTS_f_f.
52806         (j1_test_data): Likewise.
52807         (jn_test_data): Update call to AUTO_TESTS_if_f.
52808         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
52809         (log_test_data): Update call to AUTO_TESTS_f_f.
52810         (log10_test_data): Likewise.
52811         (log1p_test_data): Likewise.
52812         (log2_test_data): Likewise.
52813         (pow_test_data): Update call to AUTO_TESTS_ff_f.
52814         (pow_tonearest_test_data): Likewise.
52815         (sin_test_data): Update call to AUTO_TESTS_f_f.
52816         (sin_test): Use ALL_RM_TEST.
52817         (sin_tonearest_test_data): Remove.
52818         (sin_test_tonearest): Likewise.
52819         (sin_towardzero_test_data): Likewise.
52820         (sin_test_towardzero): Likewise.
52821         (sin_downward_test_data): Likewise.
52822         (sin_test_downward): Likewise.
52823         (sin_upward_test_data): Likewise.
52824         (sin_test_upward): Likewise.
52825         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
52826         (sinh_test_data): Update call to AUTO_TESTS_f_f.
52827         (sinh_test): Use ALL_RM_TEST.
52828         (sinh_tonearest_test_data): Remove.
52829         (sinh_test_tonearest): Likewise.
52830         (sinh_towardzero_test_data): Likewise.
52831         (sinh_test_towardzero): Likewise.
52832         (sinh_downward_test_data): Likewise.
52833         (sinh_test_downward): Likewise.
52834         (sinh_upward_test_data): Likewise.
52835         (sinh_test_upward): Likewise.
52836         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
52837         (sqrt_test): Use ALL_RM_TEST.
52838         (sqrt_tonearest_test_data): Remove.
52839         (sqrt_test_tonearest): Likewise.
52840         (sqrt_towardzero_test_data): Likewise.
52841         (sqrt_test_towardzero): Likewise.
52842         (sqrt_downward_test_data): Likewise.
52843         (sqrt_test_downward): Likewise.
52844         (sqrt_upward_test_data): Likewise.
52845         (sqrt_test_upward): Likewise.
52846         (tan_test_data): Update call to AUTO_TESTS_f_f.
52847         (tan_test): Use ALL_RM_TEST.
52848         (tan_tonearest_test_data): Remove.
52849         (tan_test_tonearest): Likewise.
52850         (tan_towardzero_test_data): Likewise.
52851         (tan_test_towardzero): Likewise.
52852         (tan_downward_test_data): Likewise.
52853         (tan_test_downward): Likewise.
52854         (tan_upward_test_data): Likewise.
52855         (tan_test_upward): Likewise.
52856         (tanh_test_data): Update call to AUTO_TESTS_f_f.
52857         (tgamma_test_data): Likewise.
52858         (y0_test_data): Likewise.
52859         (y1_test_data): Likewise.
52860         (yn_test_data): Update call to AUTO_TESTS_if_f.
52861         (main): Do not call removed functions.
52863 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
52865         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
52866         (ldexp_test_data): Remove.
52867         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
52868         scalbn_test_data.
52869         (scalb_test): Use ALL_RM_TEST.
52871 2014-03-19  Andreas Schwab  <schwab@suse.de>
52873         * nscd/nscd.service: Also invalidate netgroup cache on reload.
52875 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
52877         [BZ #16649]
52878         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52879         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
52880         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
52881         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52882         (__ASSUME_PREADV): Undefine.
52883         (__ASSUME_PWRITEV): Likewise.
52885 2014-03-18  Roland McGrath  <roland@hack.frob.com>
52887         * bits/mman-linux.h: Add comment about non-Linux use.
52888         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
52889         bits/mman-linux.h resting place.
52891         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
52892         * bits/mman-linux.h: ... here.
52894 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52896         * conform/conformtest.pl: Add standard definition when calling C
52897         preprocessor on data files.
52898         (checknamespace): Remove unused variable.
52900 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
52902         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
52903         minus_oflow, plus_uflow and minus_uflow in expected results.
52904         * math/libm-test.inc (scalbn_test_data): Add more tests of
52905         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
52906         minus_uflow.
52907         (scalbn_test): Use ALL_RM_TEST.
52908         (scalbln_test_data): Add more tests of negative arguments.  Use
52909         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
52910         (scalbln_test): Use ALL_RM_TEST.
52912 2014-03-18  Roland McGrath  <roland@hack.frob.com>
52914         * scripts/abilist.awk: Ignore symbols marked with .hidden.
52916 2014-03-18  Will Newton  <will.newton@linaro.org>
52918         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
52919         inaccurate comment.
52921 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
52923         * Makerules [!subdir] (check-abi): Exit with error status if a
52924         test failed.
52926 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
52928         * math/libm-test.inc (nearbyint_test_data): Include all tests used
52929         for rint.  Include results for all rounding modes.
52930         (nearbyint_test): Use ALL_RM_TEST.
52931         (rint_test_data): Include all tests used for nearbyint.
52933 2014-03-17  Will Newton  <will.newton@linaro.org>
52935         * nptl/sysdeps/pthread/pthread.h: Revert previous
52936         change.
52938         * sysdeps/generic/ldsodefs.h: Revert previous
52939         change.
52941         * libio/genops.c: Revert previous change.
52942         * libio/libioP.h: Likewise.
52943         * stdio-common/vfprintf.c: Likewise.
52945         * sysdeps/generic/math_private.h: Revert previous
52946         change.
52948         * sysdeps/generic/math_private.h: Check whether
52949         HAVE_RM_CTX is defined with #ifdef rather
52950         than #if.
52952         * argp/argp-fmtstream.h: Check whether
52953         __STRICT_ANSI__ is defined with #ifdef rather
52954         than #if.
52955         * argp/argp.h: Likewise.
52957         * libio/genops.c: Check whether
52958         _IO_JUMPS_OFFSET is defined with #ifdef rather
52959         than #if.
52960         * libio/libioP.h: Likewise.
52961         * stdio-common/vfprintf.c: Likewise.
52963         * sysdeps/generic/ldsodefs.h: Check whether
52964         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
52965         than #if.
52967         * nptl/sysdeps/pthread/pthread.h: Check
52968         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
52969         its value.
52971 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52973         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
52974         setting O_APPEND.
52975         * libio/tst-ftell-active-handler.c (do_append_test): Add a
52976         test case.
52978         [BZ #16680]
52979         * libio/fileops.c (_IO_file_open): Seek to end of file but
52980         don't cache the offset.
52981         (get_file_offset): Remove function.
52982         (do_ftell): Use cached offset when available.
52983         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
52984         don't cache the offset.
52985         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
52986         case.
52987         (do_one_test): Call it.
52988         (do_ftell_test): Fix up expected old offset for a+ mode.
52989         * libio/wfileops.c (do_ftell_wide): Used cached offset when
52990         available.
52992         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
52993         up test status with function return status.
52994         (do_write_test): Likewise.
52995         (do_append_test): Likewise.
52997         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
52998         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
52999         Remove.
53001 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
53003         * math/gen-libm-test.pl (parse_args): Handle results specified for
53004         each rounding mode separately.
53005         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
53006         tests and results from lrint_tonearest_test_data,
53007         lrint_towardzero_test_data, lrint_downward_test_data and
53008         lrint_upward_test_data.
53009         (lrint_test): Use ALL_RM_TEST.
53010         (lrint_tonearest_test_data): Remove.
53011         (lrint_test_tonearest): Likewise.
53012         (lrint_towardzero_test_data): Likewise.
53013         (lrint_test_towardzero): Likewise.
53014         (lrint_downward_test_data): Likewise.
53015         (lrint_test_downward): Likewise.
53016         (lrint_upward_test_data): Likewise.
53017         (lrint_test_upward): Likewise.
53018         (llrint_test_data): Merge in per-rounding-mode tests and results
53019         from llrint_tonearest_test_data, llrint_towardzero_test_data,
53020         llrint_downward_test_data and llrint_upward_test_data.
53021         (llrint_test): Use ALL_RM_TEST.
53022         (llrint_tonearest_test_data): Remove.
53023         (llrint_test_tonearest): Likewise.
53024         (llrint_towardzero_test_data): Likewise.
53025         (llrint_test_towardzero): Likewise.
53026         (llrint_downward_test_data): Likewise.
53027         (llrint_test_downward): Likewise.
53028         (llrint_upward_test_data): Likewise.
53029         (llrint_test_upward): Likewise.
53030         (rint_test_data): Merge in per-rounding-mode tests and results
53031         from rint_tonearest_test_data, rint_towardzero_test_data,
53032         rint_downward_test_data and rint_upward_test_data.  Add
53033         per-rounding-mode results for tests not in those arrays.
53034         (rint_test): Use ALL_RM_TEST.
53035         (rint_tonearest_test_data): Remove.
53036         (rint_test_tonearest): Likewise.
53037         (rint_towardzero_test_data): Likewise.
53038         (rint_test_towardzero): Likewise.
53039         (rint_downward_test_data): Likewise.
53040         (rint_test_downward): Likewise.
53041         (rint_upward_test_data): Likewise.
53042         (rint_test_upward): Likewise.
53043         (main): Don't call removed functions.
53045 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53047         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
53048         "Compiled on ..." crapola.  It is anti-useful.
53050 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
53052         * scripts/evaluate-test.sh: Handle fourth argument to determine
53053         whether test run should stop on failure.
53054         * Makeconfig (stop-on-test-failure): New variable.
53055         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
53056         $(stop-on-test-failure).
53057         * Makefile (tests): Give a summary of results from testing and
53058         exit with failure status if they include an ERROR or FAIL.
53059         (xtests): Likewise.
53060         * manual/install.texi (Configuring and compiling): Mention
53061         stop-on-test-failure=y.
53062         * INSTALL: Regenerated.
53064 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53066         * scripts/versionlist.awk: New file.
53067         * Makerules [$(build-shared) = yes]
53068         (postclean-generated): Add Versions.def, not Versions.def.v and
53069         Versions.def.v.i.
53070         ($(common-objpfx)Versions.def.v.i): Target removed.
53071         ($(common-objpfx)Versions.def): New target.
53072         ($(common-objpfx)Versions.all): Depend on that rather that
53073         $(common-objpfx)Versions.def.v.
53074         * Versions.def: File removed.
53076         * Makeconfig (+gccwarn): Add -Wundef.
53077         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
53078         a dl-sysdep.h breaking its contract.
53079         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
53080         * include/stackinfo.h: New file.
53081         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
53082         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
53083         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
53084         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
53085         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
53086         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
53087         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53088         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53089         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53090         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53091         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53092         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
53093         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53094         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53095         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53097 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53099         [BZ #16707]
53100         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
53101         implementation.
53102         * math/libm-test.inc (round_test_data): Add more tests.
53104         [BZ #16706]
53105         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
53106         implementation.
53107         * math/libm-test.inc (nearbyint_test_data): Add more tests.
53109         [BZ #16701]
53110         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
53111         implementation.
53112         * math/libm-test.inc (ceil_test_data): Add more tests.
53114         * math/libm-test.inc (trunc_test_data): Add more tests related to
53115         BZ#16414.
53117 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53119         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
53120         with #if rather than #ifdef.
53121         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
53123 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
53125         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
53126         first.  Disable AVX-512 GCC support if assembler doesn't support
53127         it.
53128         * sysdeps/x86_64/configure: Regenerated.
53130 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
53132         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
53133         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
53134         (__old_pthread_attr_setstack): Likewise.
53135         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
53136         [!_STACK_GROWS_DOWN]: Likewise.
53138 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
53140         * config.make.in (have-bash2): Delete.
53141         * configure.ac (libc_cv_have_bash2): Delete.
53142         * configure: Regenerate.
53143         * elf/Makefile (common-ldd-rewrite): Rename to ...
53144         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
53145         (sh-ldd-rewrite): Delete.
53146         (bash-ldd-rewrite): Delete.
53147         (have-bash2): Delete checks.
53148         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
53149         ldd-rewrite.
53151         * config.make.in (have-ksh): Delete.
53152         (KSH): Delete.
53153         * configure.ac (libc_cv_have_ksh): Delete.
53154         * configure: Regenerate.
53156         * elf/Makefile: Delete $(have-ksh) check.
53157         ($(objpfx)sotruss): Change KSH to BASH.
53158         * elf/sotruss.ksh: Rename to ...
53159         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
53160         function style to match POSIX.  Drop ksh vim mode setting.
53162         * manual/time.texi (Specifying the Time Zone with TZ): Change
53163         Tuesday to Thursday.
53165         * debug/tst-longjmp_chk2.c: Update header comment.
53166         (stackoverflow_handler): Add comment.  Call assert on pass value.
53168 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
53170         [BZ #16194]
53171         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
53172         (HAVE_AVX512_ASM_SUPPORT): Likewise.
53173         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
53174         (La_x86_64_vector): Add zmm.
53175         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
53176         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
53177         ($(objpfx)tst-audit10): New target.
53178         ($(objpfx)tst-audit10.out): Likewise.
53179         (tst-audit10-ENV): New.
53180         (AVX512-CFLAGS): Likewise.
53181         (CFLAGS-tst-audit10.c): Likewise.
53182         (CFLAGS-tst-auditmod10a.c): Likewise.
53183         (CFLAGS-tst-auditmod10b.c): Likewise.
53184         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
53185         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
53186         * sysdeps/x86_64/configure: Regenerated.
53187         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
53188         AVX-512 zmm register support.
53189         (_dl_x86_64_save_sse): Likewise.
53190         (_dl_x86_64_restore_sse): Likewise.
53191         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
53192         size vector registers.
53193         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
53194         (ZMM_SIZE): Likewise.
53195         * sysdeps/x86_64/tst-audit10.c: New file.
53196         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
53197         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
53199 2014-03-13  Roland McGrath  <roland@hack.frob.com>
53201         * configure.ac (HAVE_EHDR_START): New check.
53202         * configure: Regenerated.
53203         * config.h.in (HAVE_EHDR_START): New #undef.
53204         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
53205         assuming the lowest-addressed segment maps the start of the file.
53207 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
53209         * INSTALL: Regenerated.
53211 2014-03-13  Will Newton  <will.newton@linaro.org>
53213         * manual/setjmp.texi (System V contexts): Improve
53214         clarity and grammar of documentation.
53216 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
53218         [BZ #16381]
53219         * elf/Makefile (tests): Add tst-pie2.
53220         (tests-pie): Add tst-pie2.
53221         * elf/tst-pie2.c: New file.
53222         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
53223         for ET_EXEC.
53224         * elf/rtld.c (map_doit): Load executable as lt_executable.
53225         (dl_main): Likewise.
53227 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
53229         [BZ #16642]
53230         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53231         (__ASSUME_PSELECT): Undefine.
53233 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53235         [BZ #16689]
53236         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
53237         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
53238         static build.
53239         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
53240         selector for static builds.
53242 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53244         [BZ #16695]
53245         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
53246         key in the buffer.
53248 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53250         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
53251         IFUNC selector for static builds.
53253 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
53255         * sysdeps/mips/math_private.h [__mips_hard_float]
53256         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
53257         libc_feresetround_mips_ctx.
53258         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
53259         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
53260         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
53262         [BZ #16677]
53263         * math/s_nextafter.c (__nextafter): Do not return value from
53264         overflowing computation.
53265         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
53266         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
53267         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
53268         Likewise.
53269         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
53270         Likewise.
53271         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
53272         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
53274 2014-03-11  Roland McGrath  <roland@hack.frob.com>
53276         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
53277         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
53278         Move sfi_sp use from the load-multiple (that no longer sets sp) to
53279         the new mov targetting sp.
53281 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53283         [BZ #16683]
53284         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
53285         Define it for static builds as well.
53286         (NO_BZERO_IMPL): Likewise.
53288 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53290         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
53291         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
53292         multiarch strspn for PPC64.
53293         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
53294         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
53295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53296         (__libc_ifunc_impl_list): Likewise.
53297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
53298         multiarch optimizations
53299         * string/strspn.c (strspn): Using macro to redefine symbol name.
53301 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53302             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53304         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
53305         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
53306         multiarch strncat for PPC64.
53307         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
53308         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
53309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53310         (__libc_ifunc_impl_list): Likewise.
53311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
53312         multiarch optimizations
53314 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53316         [BZ #16639]
53317         * nscd/nscd.service: Make service type forking.
53319 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53321         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
53322         sign in non default rounding modes.
53323         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
53325 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
53327         * math/libm-test.inc (ALL_RM_TEST): New macro.
53328         (ceil_test): Use ALL_RM_TEST.
53329         (cimag_test): Likewise.
53330         (conj_test): Likewise.
53331         (copysign_test): Likewise.
53332         (cproj_test): Likewise.
53333         (creal_test): Likewise.
53334         (fabs_test): Likewise.
53335         (floor_test): Likewise.
53336         (fmax_test): Likewise.
53337         (fmin_test): Likewise.
53338         (fmod_test): Likewise.
53339         (fpclassify_test): Likewise.
53340         (frexp_test): Likewise.
53341         (ilogb_test): Likewise.
53342         (isfinite_test): Likewise.
53343         (finite_test): Likewise.
53344         (isgreater_test): Likewise.
53345         (isgreaterequal_test): Likewise.
53346         (isinf_test): Likewise.
53347         (isless_test): Likewise.
53348         (islessequal_test): Likewise.
53349         (islessgreater_test): Likewise.
53350         (isnan_test): Likewise.
53351         (isnormal_test): Likewise.
53352         (issignaling_test): Likewise.
53353         (isunordered_test): Likewise.
53354         (logb_test): Likewise.
53355         (logb_downward_test_data): Remove.
53356         (logb_test_downward): Likewise.
53357         (lround_test): Use ALL_RM_TEST.
53358         (llround_test): Likewise.
53359         (modf_test): Likewise.
53360         (nexttoward_test): Likewise.
53361         (remainder_test): Likewise.
53362         (drem_test): Likewise.
53363         (remainder_tonearest_test_data): Likewise.
53364         (remainder_test_tonearest): Likewise.
53365         (drem_test_tonearest): Likewise.
53366         (remainder_towardzero_test_data): Likewise.
53367         (remainder_test_towardzero): Likewise.
53368         (drem_test_towardzero): Likewise.
53369         (remainder_downward_test_data): Likewise.
53370         (remainder_test_downward): Likewise.
53371         (drem_test_downward): Likewise.
53372         (remainder_upward_test_data): Likewise.
53373         (remainder_test_upward): Likewise.
53374         (drem_test_upward): Likewise.
53375         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
53376         (round_test): Use ALL_RM_TEST.
53377         (signbit_test): Likewise.
53378         (trunc_test): Likewise.
53379         (significand_test): Likewise.
53380         (main): Don't call removed functions.
53382 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
53384         [BZ #16674]
53385         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
53386         || __USE_XOPEN2K8].
53387         (ILL_ILLOPN): Likewise.
53388         (ILL_ILLADR): Likewise.
53389         (ILL_ILLTRP): Likewise.
53390         (ILL_PRVOPC): Likewise.
53391         (ILL_PRVREG): Likewise.
53392         (ILL_COPROC): Likewise.
53393         (ILL_BADSTK): Likewise.
53394         (FPE_INTDIV): Likewise.
53395         (FPE_INTOVF): Likewise.
53396         (FPE_FLTDIV): Likewise.
53397         (FPE_FLTOVF): Likewise.
53398         (FPE_FLTUND): Likewise.
53399         (FPE_FLTRES): Likewise.
53400         (FPE_FLTINV): Likewise.
53401         (FPE_FLTSUB): Likewise.
53402         (SEGV_MAPERR): Likewise.
53403         (SEGV_ACCERR): Likewise.
53404         (BUS_ADRALN): Likewise.
53405         (BUS_ADRERR): Likewise.
53406         (BUS_OBJERR): Likewise.
53407         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53408         (TRAP_TRACE): Likewise.
53409         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53410         __USE_XOPEN2K8].
53411         (CLD_KILLED): Likewise.
53412         (CLD_DUMPED): Likewise.
53413         (CLD_TRAPPED): Likewise.
53414         (CLD_STOPPED): Likewise.
53415         (CLD_CONTINUED): Likewise.
53416         (POLL_IN): Likewise.
53417         (POLL_OUT): Likewise.
53418         (POLL_MSG): Likewise.
53419         (POLL_ERR): Likewise.
53420         (POLL_PRI): Likewise.
53421         (POLL_HUP): Likewise.
53422         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
53423         Likewise.
53424         (ILL_ILLOPN): Likewise.
53425         (ILL_ILLADR): Likewise.
53426         (ILL_ILLTRP): Likewise.
53427         (ILL_PRVOPC): Likewise.
53428         (ILL_PRVREG): Likewise.
53429         (ILL_COPROC): Likewise.
53430         (ILL_BADSTK): Likewise.
53431         (FPE_INTDIV): Likewise.
53432         (FPE_INTOVF): Likewise.
53433         (FPE_FLTDIV): Likewise.
53434         (FPE_FLTOVF): Likewise.
53435         (FPE_FLTUND): Likewise.
53436         (FPE_FLTRES): Likewise.
53437         (FPE_FLTINV): Likewise.
53438         (FPE_FLTSUB): Likewise.
53439         (SEGV_MAPERR): Likewise.
53440         (SEGV_ACCERR): Likewise.
53441         (BUS_ADRALN): Likewise.
53442         (BUS_ADRERR): Likewise.
53443         (BUS_OBJERR): Likewise.
53444         (BUS_MCEERR_AR): Likewise.
53445         (BUS_MCEERR_AO): Likewise.
53446         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53447         (TRAP_TRACE): Likewise.
53448         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53449         __USE_XOPEN2K8].
53450         (CLD_KILLED): Likewise.
53451         (CLD_DUMPED): Likewise.
53452         (CLD_TRAPPED): Likewise.
53453         (CLD_STOPPED): Likewise.
53454         (CLD_CONTINUED): Likewise.
53455         (POLL_IN): Likewise.
53456         (POLL_OUT): Likewise.
53457         (POLL_MSG): Likewise.
53458         (POLL_ERR): Likewise.
53459         (POLL_PRI): Likewise.
53460         (POLL_HUP): Likewise.
53461         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
53462         (ILL_ILLOPN): Likewise.
53463         (ILL_ILLADR): Likewise.
53464         (ILL_ILLTRP): Likewise.
53465         (ILL_PRVOPC): Likewise.
53466         (ILL_PRVREG): Likewise.
53467         (ILL_COPROC): Likewise.
53468         (ILL_BADSTK): Likewise.
53469         (FPE_INTDIV): Likewise.
53470         (FPE_INTOVF): Likewise.
53471         (FPE_FLTDIV): Likewise.
53472         (FPE_FLTOVF): Likewise.
53473         (FPE_FLTUND): Likewise.
53474         (FPE_FLTRES): Likewise.
53475         (FPE_FLTINV): Likewise.
53476         (FPE_FLTSUB): Likewise.
53477         (SEGV_MAPERR): Likewise.
53478         (SEGV_ACCERR): Likewise.
53479         (BUS_ADRALN): Likewise.
53480         (BUS_ADRERR): Likewise.
53481         (BUS_OBJERR): Likewise.
53482         (BUS_MCEERR_AR): Likewise.
53483         (BUS_MCEERR_AO): Likewise.
53484         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53485         (TRAP_TRACE): Likewise.
53486         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53487         __USE_XOPEN2K8].
53488         (CLD_KILLED): Likewise.
53489         (CLD_DUMPED): Likewise.
53490         (CLD_TRAPPED): Likewise.
53491         (CLD_STOPPED): Likewise.
53492         (CLD_CONTINUED): Likewise.
53493         (POLL_IN): Likewise.
53494         (POLL_OUT): Likewise.
53495         (POLL_MSG): Likewise.
53496         (POLL_ERR): Likewise.
53497         (POLL_PRI): Likewise.
53498         (POLL_HUP): Likewise.
53499         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
53500         Likewise.
53501         (ILL_ILLOPN): Likewise.
53502         (ILL_ILLADR): Likewise.
53503         (ILL_ILLTRP): Likewise.
53504         (ILL_PRVOPC): Likewise.
53505         (ILL_PRVREG): Likewise.
53506         (ILL_COPROC): Likewise.
53507         (ILL_BADSTK): Likewise.
53508         (ILL_BADIADDR): Likewise.
53509         (ILL_BREAK): Likewise.
53510         (FPE_INTDIV): Likewise.
53511         (FPE_INTOVF): Likewise.
53512         (FPE_FLTDIV): Likewise.
53513         (FPE_FLTOVF): Likewise.
53514         (FPE_FLTUND): Likewise.
53515         (FPE_FLTRES): Likewise.
53516         (FPE_FLTINV): Likewise.
53517         (FPE_FLTSUB): Likewise.
53518         (FPE_DECOVF): Likewise.
53519         (FPE_DECDIV): Likewise.
53520         (FPE_DECERR): Likewise.
53521         (FPE_INVASC): Likewise.
53522         (FPE_INVDEC): Likewise.
53523         (SEGV_MAPERR): Likewise.
53524         (SEGV_ACCERR): Likewise.
53525         (SEGV_PSTKOVF): Likewise.
53526         (BUS_ADRALN): Likewise.
53527         (BUS_ADRERR): Likewise.
53528         (BUS_OBJERR): Likewise.
53529         (BUS_MCEERR_AR): Likewise.
53530         (BUS_MCEERR_AO): Likewise.
53531         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53532         (TRAP_TRACE): Likewise.
53533         (TRAP_BRANCH): Likewise.
53534         (TRAP_HWBKPT): Likewise.
53535         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53536         __USE_XOPEN2K8].
53537         (CLD_KILLED): Likewise.
53538         (CLD_DUMPED): Likewise.
53539         (CLD_TRAPPED): Likewise.
53540         (CLD_STOPPED): Likewise.
53541         (CLD_CONTINUED): Likewise.
53542         (POLL_IN): Likewise.
53543         (POLL_OUT): Likewise.
53544         (POLL_MSG): Likewise.
53545         (POLL_ERR): Likewise.
53546         (POLL_PRI): Likewise.
53547         (POLL_HUP): Likewise.
53548         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
53549         (ILL_ILLOPN): Likewise.
53550         (ILL_ILLADR): Likewise.
53551         (ILL_ILLTRP): Likewise.
53552         (ILL_PRVOPC): Likewise.
53553         (ILL_PRVREG): Likewise.
53554         (ILL_COPROC): Likewise.
53555         (ILL_BADSTK): Likewise.
53556         (FPE_INTDIV): Likewise.
53557         (FPE_INTOVF): Likewise.
53558         (FPE_FLTDIV): Likewise.
53559         (FPE_FLTOVF): Likewise.
53560         (FPE_FLTUND): Likewise.
53561         (FPE_FLTRES): Likewise.
53562         (FPE_FLTINV): Likewise.
53563         (FPE_FLTSUB): Likewise.
53564         (SEGV_MAPERR): Likewise.
53565         (SEGV_ACCERR): Likewise.
53566         (BUS_ADRALN): Likewise.
53567         (BUS_ADRERR): Likewise.
53568         (BUS_OBJERR): Likewise.
53569         (BUS_MCEERR_AR): Likewise.
53570         (BUS_MCEERR_AO): Likewise.
53571         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53572         (TRAP_TRACE): Likewise.
53573         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53574         __USE_XOPEN2K8].
53575         (CLD_KILLED): Likewise.
53576         (CLD_DUMPED): Likewise.
53577         (CLD_TRAPPED): Likewise.
53578         (CLD_STOPPED): Likewise.
53579         (CLD_CONTINUED): Likewise.
53580         (POLL_IN): Likewise.
53581         (POLL_OUT): Likewise.
53582         (POLL_MSG): Likewise.
53583         (POLL_ERR): Likewise.
53584         (POLL_PRI): Likewise.
53585         (POLL_HUP): Likewise.
53586         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
53587         (ILL_ILLOPN): Likewise.
53588         (ILL_ILLADR): Likewise.
53589         (ILL_ILLTRP): Likewise.
53590         (ILL_PRVOPC): Likewise.
53591         (ILL_PRVREG): Likewise.
53592         (ILL_COPROC): Likewise.
53593         (ILL_BADSTK): Likewise.
53594         (FPE_INTDIV): Likewise.
53595         (FPE_INTOVF): Likewise.
53596         (FPE_FLTDIV): Likewise.
53597         (FPE_FLTOVF): Likewise.
53598         (FPE_FLTUND): Likewise.
53599         (FPE_FLTRES): Likewise.
53600         (FPE_FLTINV): Likewise.
53601         (FPE_FLTSUB): Likewise.
53602         (SEGV_MAPERR): Likewise.
53603         (SEGV_ACCERR): Likewise.
53604         (BUS_ADRALN): Likewise.
53605         (BUS_ADRERR): Likewise.
53606         (BUS_OBJERR): Likewise.
53607         (BUS_MCEERR_AR): Likewise.
53608         (BUS_MCEERR_AO): Likewise.
53609         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53610         (TRAP_TRACE): Likewise.
53611         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53612         __USE_XOPEN2K8].
53613         (CLD_KILLED): Likewise.
53614         (CLD_DUMPED): Likewise.
53615         (CLD_TRAPPED): Likewise.
53616         (CLD_STOPPED): Likewise.
53617         (CLD_CONTINUED): Likewise.
53618         (POLL_IN): Likewise.
53619         (POLL_OUT): Likewise.
53620         (POLL_MSG): Likewise.
53621         (POLL_ERR): Likewise.
53622         (POLL_PRI): Likewise.
53623         (POLL_HUP): Likewise.
53624         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
53625         (ILL_ILLOPN): Likewise.
53626         (ILL_ILLADR): Likewise.
53627         (ILL_ILLTRP): Likewise.
53628         (ILL_PRVOPC): Likewise.
53629         (ILL_PRVREG): Likewise.
53630         (ILL_COPROC): Likewise.
53631         (ILL_BADSTK): Likewise.
53632         (FPE_INTDIV): Likewise.
53633         (FPE_INTOVF): Likewise.
53634         (FPE_FLTDIV): Likewise.
53635         (FPE_FLTOVF): Likewise.
53636         (FPE_FLTUND): Likewise.
53637         (FPE_FLTRES): Likewise.
53638         (FPE_FLTINV): Likewise.
53639         (FPE_FLTSUB): Likewise.
53640         (SEGV_MAPERR): Likewise.
53641         (SEGV_ACCERR): Likewise.
53642         (BUS_ADRALN): Likewise.
53643         (BUS_ADRERR): Likewise.
53644         (BUS_OBJERR): Likewise.
53645         (BUS_MCEERR_AR): Likewise.
53646         (BUS_MCEERR_AO): Likewise.
53647         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53648         (TRAP_TRACE): Likewise.
53649         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53650         __USE_XOPEN2K8].
53651         (CLD_KILLED): Likewise.
53652         (CLD_DUMPED): Likewise.
53653         (CLD_TRAPPED): Likewise.
53654         (CLD_STOPPED): Likewise.
53655         (CLD_CONTINUED): Likewise.
53656         (POLL_IN): Likewise.
53657         (POLL_OUT): Likewise.
53658         (POLL_MSG): Likewise.
53659         (POLL_ERR): Likewise.
53660         (POLL_PRI): Likewise.
53661         (POLL_HUP): Likewise.
53662         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
53663         (ILL_ILLOPN): Likewise.
53664         (ILL_ILLADR): Likewise.
53665         (ILL_ILLTRP): Likewise.
53666         (ILL_PRVOPC): Likewise.
53667         (ILL_PRVREG): Likewise.
53668         (ILL_COPROC): Likewise.
53669         (ILL_BADSTK): Likewise.
53670         (ILL_DBLFLT): Likewise.
53671         (ILL_HARDWALL): Likewise.
53672         (FPE_INTDIV): Likewise.
53673         (FPE_INTOVF): Likewise.
53674         (FPE_FLTDIV): Likewise.
53675         (FPE_FLTOVF): Likewise.
53676         (FPE_FLTUND): Likewise.
53677         (FPE_FLTRES): Likewise.
53678         (FPE_FLTINV): Likewise.
53679         (FPE_FLTSUB): Likewise.
53680         (SEGV_MAPERR): Likewise.
53681         (SEGV_ACCERR): Likewise.
53682         (BUS_ADRALN): Likewise.
53683         (BUS_ADRERR): Likewise.
53684         (BUS_OBJERR): Likewise.
53685         (BUS_MCEERR_AR): Likewise.
53686         (BUS_MCEERR_AO): Likewise.
53687         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53688         (TRAP_TRACE): Likewise.
53689         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53690         __USE_XOPEN2K8].
53691         (CLD_KILLED): Likewise.
53692         (CLD_DUMPED): Likewise.
53693         (CLD_TRAPPED): Likewise.
53694         (CLD_STOPPED): Likewise.
53695         (CLD_CONTINUED): Likewise.
53696         (POLL_IN): Likewise.
53697         (POLL_OUT): Likewise.
53698         (POLL_MSG): Likewise.
53699         (POLL_ERR): Likewise.
53700         (POLL_PRI): Likewise.
53701         (POLL_HUP): Likewise.
53702         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
53703         (ILL_ILLOPN): Likewise.
53704         (ILL_ILLADR): Likewise.
53705         (ILL_ILLTRP): Likewise.
53706         (ILL_PRVOPC): Likewise.
53707         (ILL_PRVREG): Likewise.
53708         (ILL_COPROC): Likewise.
53709         (ILL_BADSTK): Likewise.
53710         (FPE_INTDIV): Likewise.
53711         (FPE_INTOVF): Likewise.
53712         (FPE_FLTDIV): Likewise.
53713         (FPE_FLTOVF): Likewise.
53714         (FPE_FLTUND): Likewise.
53715         (FPE_FLTRES): Likewise.
53716         (FPE_FLTINV): Likewise.
53717         (FPE_FLTSUB): Likewise.
53718         (SEGV_MAPERR): Likewise.
53719         (SEGV_ACCERR): Likewise.
53720         (BUS_ADRALN): Likewise.
53721         (BUS_ADRERR): Likewise.
53722         (BUS_OBJERR): Likewise.
53723         (BUS_MCEERR_AR): Likewise.
53724         (BUS_MCEERR_AO): Likewise.
53725         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53726         (TRAP_TRACE): Likewise.
53727         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53728         __USE_XOPEN2K8].
53729         (CLD_KILLED): Likewise.
53730         (CLD_DUMPED): Likewise.
53731         (CLD_TRAPPED): Likewise.
53732         (CLD_STOPPED): Likewise.
53733         (CLD_CONTINUED): Likewise.
53734         (POLL_IN): Likewise.
53735         (POLL_OUT): Likewise.
53736         (POLL_MSG): Likewise.
53737         (POLL_ERR): Likewise.
53738         (POLL_PRI): Likewise.
53739         (POLL_HUP): Likewise.
53740         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
53741         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53743         [BZ #16670]
53744         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
53745         before #include of <time.h>.
53746         [!__USE_XOPEN2K] (__need_timespec): Likewise.
53747         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
53748         (test-xfail-UNIX98/sched.h/conform): Likewise.
53750 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53752         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
53753         error absence of trapping exception support.
53754         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53756 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
53758         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
53759         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
53760         * timezone/Makefile (testdata): Move definition above include of
53761         Rules.
53762         (test-zones): New variable.
53763         (tests-special): Add zone files.
53764         (build-testdata): Use $(evaluate-test).
53766         * elf/Makefile (tests-special): Rename tests to end with .out.
53767         ($(objpfx)noload-mem): Likewise.
53768         ($(objpfx)tst-leaks1-mem): Likewise.
53769         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
53770         * iconv/Makefile (xtests-special): Change test-iconvconfig to
53771         $(objpfx)test-iconvconfig.out.
53772         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
53773         set -e inside subshell and redirect output to file.
53774         * iconvdata/Makefile (generated): Rename tests to end with .out.
53775         Correct type.
53776         (tests-special): Rename tests to end with .out.
53777         ($(objpfx)mtrace-tst-loading): Likewise.
53778         * intl/Makefile (generated): Likewise.
53779         (tests-special): Likewise.
53780         ($(objpfx)mtrace-tst-gettext): Likewise.
53781         * misc/Makefile (generated): Likewise.
53782         (tests-special): Likewise.
53783         ($(objpfx)tst-error1-mem): Likewise.
53784         * nptl/Makefile (tests-special): Likewise.
53785         ($(objpfx)tst-stack3-mem): Likewise.
53786         (generated): Likewise.
53787         * posix/Makefile (generated): Likewise.
53788         (tests-special): Likewise.
53789         (xtests-special): Likewise.
53790         ($(objpfx)tst-fnmatch-mem): Likewise.
53791         ($(objpfx)bug-regex2-mem): Likewise.
53792         ($(objpfx)bug-regex14-mem): Likewise.
53793         ($(objpfx)bug-regex21-mem): Likewise.
53794         ($(objpfx)bug-regex31-mem): Likewise.
53795         ($(objpfx)tst-vfork3-mem): Likewise.
53796         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53797         ($(objpfx)tst-pcre-mem): Likewise.
53798         ($(objpfx)tst-boost-mem): Likewise.
53799         ($(objpfx)bug-ga2-mem): Likewise.
53800         ($(objpfx)bug-glob2-mem): Likewise.
53801         * resolv/Makefile (generate): Likewise.
53802         (tests-special): Likewise.
53803         (xtests-special): Likewise.
53804         (generated): Likewise.
53805         ($(objpfx)mtrace-tst-leaks): Likewise.
53806         ($(objpfx)mtrace-tst-leaks2): Likewise.
53808         * scripts/merge-test-results.sh: New file.
53809         * Makefile (tests-special-notdir): New variable.
53810         (tests): Run merge-test-results.sh.
53811         (xtests): Likewise.
53812         * Rules (tests-special-notdir): New variable.
53813         (xtests-special-notdir): Likewise.
53814         (tests): Run merge-test-results.sh
53815         (xtests): Likewise.
53817         * Makeconfig (test-xfail-name): New variable.
53818         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
53819         compute variable name for expected failures.
53820         * conform/Makefile (conformtest-headers-data): New variable.
53821         (conformtest-standards): Likewise.
53822         (conformtest-headers-ISO): Likewise.
53823         (conformtest-headers-ISO99): Likewise.
53824         (conformtest-headers-ISO11): Likewise.
53825         (conformtest-headers-POSIX): Likewise.
53826         (conformtest-headers-XPG3): Likewise.
53827         (conformtest-headers-XPG4): Likewise.
53828         (conformtest-headers-UNIX98): Likewise.
53829         (conformtest-headers-XOPEN2K): Likewise.
53830         (conformtest-headers-POSIX2008): Likewise.
53831         (conformtest-headers-XOPEN2K8): Likewise.
53832         (conformtest-header-list-base): Likewise.
53833         (conformtest-header-list-tests): Likewise.
53834         (conformtest-header-base): Likewise.
53835         (conformtest-header-tests): Likewise.
53836         (tests-special): Add $(conformtest-header-list-tests).  If
53837         [$(fast-check) && !$(cross-compiling)], add
53838         $(conformtest-header-tests) instead of
53839         $(objpfx)run-conformtest.out.
53840         (generated): Add $(conformtest-header-list-base).  If
53841         [$(fast-check) && !$(cross-compiling)], add
53842         $(conformtest-header-base).  Remove previous setting.
53843         ($(conformtest-header-list-tests)): New target.
53844         (test-xfail-run-conformtest): Remove variable.
53845         ($(objpfx)run-conformtest.out): Remove target.
53846         (test-xfail-ISO11/complex.h/conform): New variable.
53847         (test-xfail-ISO11/stdalign.h/conform): Likewise.
53848         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
53849         (test-xfail-XPG3/varargs.h/conform): Likewise.
53850         (test-xfail-XPG4/varargs.h/conform): Likewise.
53851         (test-xfail-UNIX98/varargs.h/conform): Likewise.
53852         (test-xfail-XPG4/ndbm.h/conform): Likewise.
53853         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
53854         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
53855         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
53856         (test-xfail-XPG3/fcntl.h/conform): Likewise.
53857         (test-xfail-XPG3/ftw.h/conform): Likewise.
53858         (test-xfail-XPG3/grp.h/conform): Likewise.
53859         (test-xfail-XPG3/langinfo.h/conform): Likewise.
53860         (test-xfail-XPG3/limits.h/conform): Likewise.
53861         (test-xfail-XPG3/pwd.h/conform): Likewise.
53862         (test-xfail-XPG3/search.h/conform): Likewise.
53863         (test-xfail-XPG3/signal.h/conform): Likewise.
53864         (test-xfail-XPG3/stdio.h/conform): Likewise.
53865         (test-xfail-XPG3/stdlib.h/conform): Likewise.
53866         (test-xfail-XPG3/string.h/conform): Likewise.
53867         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
53868         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
53869         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
53870         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
53871         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
53872         (test-xfail-XPG3/sys/types.h/conform): Likewise.
53873         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
53874         (test-xfail-XPG3/termios.h/conform): Likewise.
53875         (test-xfail-XPG3/time.h/conform): Likewise.
53876         (test-xfail-XPG3/unistd.h/conform): Likewise.
53877         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
53878         (test-xfail-XPG4/fcntl.h/conform): Likewise.
53879         (test-xfail-XPG4/langinfo.h/conform): Likewise.
53880         (test-xfail-XPG4/netdb.h/conform): Likewise.
53881         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
53882         (test-xfail-XPG4/signal.h/conform): Likewise.
53883         (test-xfail-XPG4/stdio.h/conform): Likewise.
53884         (test-xfail-XPG4/stdlib.h/conform): Likewise.
53885         (test-xfail-XPG4/stropts.h/conform): Likewise.
53886         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
53887         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
53888         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
53889         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
53890         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
53891         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
53892         (test-xfail-XPG4/sys/time.h/conform): Likewise.
53893         (test-xfail-XPG4/sys/types.h/conform): Likewise.
53894         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
53895         (test-xfail-XPG4/termios.h/conform): Likewise.
53896         (test-xfail-XPG4/ucontext.h/conform): Likewise.
53897         (test-xfail-XPG4/unistd.h/conform): Likewise.
53898         (test-xfail-XPG4/utmpx.h/conform): Likewise.
53899         (test-xfail-POSIX/sched.h/conform): Likewise.
53900         (test-xfail-POSIX/signal.h/conform): Likewise.
53901         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53902         (test-xfail-POSIX/tar.h/conform): Likewise.
53903         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
53904         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
53905         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
53906         (test-xfail-UNIX98/netdb.h/conform): Likewise.
53907         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
53908         (test-xfail-UNIX98/sched.h/conform): Likewise.
53909         (test-xfail-UNIX98/signal.h/conform): Likewise.
53910         (test-xfail-UNIX98/stdio.h/conform): Likewise.
53911         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
53912         (test-xfail-UNIX98/stropts.h/conform): Likewise.
53913         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
53914         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
53915         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
53916         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
53917         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
53918         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
53919         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
53920         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
53921         (test-xfail-UNIX98/unistd.h/conform): Likewise.
53922         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
53923         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
53924         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
53925         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
53926         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
53927         (test-xfail-XOPEN2K/math.h/conform): Likewise.
53928         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
53929         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
53930         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
53931         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
53932         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
53933         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
53934         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
53935         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
53936         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
53937         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
53938         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
53939         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
53940         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
53941         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
53942         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
53943         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
53944         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
53945         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
53946         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
53947         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
53948         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
53949         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
53950         (test-xfail-POSIX2008/signal.h/conform): Likewise.
53951         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
53952         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
53953         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
53954         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
53955         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
53956         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
53957         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
53958         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
53959         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
53960         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
53961         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
53962         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
53963         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
53964         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
53965         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
53966         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
53967         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
53968         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
53969         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
53970         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
53971         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
53972         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
53973         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
53974         (conformtest-cc-flags): Likewise.
53975         ($(conformtest-header-tests): New target.
53976         * conform/check-header-lists.sh: New file.
53977         * conform/run-conformtest.sh: Remove.
53979         * conform/conformtest.pl: Allow ' and \ in values given for
53980         constants.
53981         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
53982         inclusion.
53983         [POSIX] (sys/types.h): Likewise.
53984         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
53985         inclusion.
53986         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
53987         inclusion.
53988         * conform/data/signal.h-data (SIGIO): Remove expectation.
53989         [XPG3] (SIGBUS): Do not expect.
53990         [POSIX || XPG3] (SIGPOLL): Likewise.
53991         [POSIX || XPG3] (SIGPROF): Likewise.
53992         [POSIX || XPG3] (SIGSYS): Likewise.
53993         [XPG3] (SIGTRAP): Likewise.
53994         [POSIX || XPG3] (SIGURG): Likewise.
53995         [POSIX || XPG3] (SIGVTALRM): Likewise.
53996         [POSIX || XPG3] (SIGXCPU): Likewise.
53997         [POSIX || XPG3] (SIGXFSZ): Likewise.
53998         [POSIX] (SA_SIGINFO): Expect.
53999         [XPG3] (siginfo_t): Do not expect type or contents.
54000         [POSIX] (si_pid): Do not expect element.
54001         [POSIX] (si_uid): Likewise.
54002         [POSIX] (si_addr): Likewise.
54003         [POSIX] (si_status): Likewise.
54004         [POSIX] (si_band): Likewise.
54005         [XPG4] (si_value): Likewise.
54006         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
54007         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
54008         [POSIX || XPG3] (ILL_ILLADR): Likewise.
54009         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
54010         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
54011         [POSIX || XPG3] (ILL_PRVREG): Likewise.
54012         [POSIX || XPG3] (ILL_COPROC): Likewise.
54013         [POSIX || XPG3] (ILL_BADSTK): Likewise.
54014         [POSIX || XPG3] (FPE_INTDIV): Likewise.
54015         [POSIX || XPG3] (FPE_INTOVF): Likewise.
54016         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
54017         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
54018         [POSIX || XPG3] (FPE_FLTUND): Likewise.
54019         [POSIX || XPG3] (FPE_FLTRES): Likewise.
54020         [POSIX || XPG3] (FPE_FLTINV): Likewise.
54021         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
54022         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
54023         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
54024         [POSIX || XPG3] (BUS_ADRALN): Likewise.
54025         [POSIX || XPG3] (BUS_ADRERR): Likewise.
54026         [POSIX || XPG3] (BUS_OBJERR): Likewise.
54027         [POSIX || XPG3] (CLD_EXITED): Likewise.
54028         [POSIX || XPG3] (CLD_KILLED): Likewise.
54029         [POSIX || XPG3] (CLD_DUMPED): Likewise.
54030         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
54031         [POSIX || XPG3] (CLD_STOPPED): Likewise.
54032         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
54033         [POSIX || XPG3] (POLL_IN): Likewise.
54034         [POSIX || XPG3] (POLL_OUT): Likewise.
54035         [POSIX || XPG3] (POLL_MSG): Likewise.
54036         [POSIX || XPG3] (POLL_ERR): Likewise.
54037         [POSIX || XPG3] (POLL_PRI): Likewise.
54038         [POSIX || XPG3] (POLL_HUP): Likewise.
54039         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
54040         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
54041         (SIG*): Do not allow.
54042         [XPG3] (si_*): Likewise.
54043         [XPG3] (SI_*): Likewise.
54044         [XPG3 || XPG4] (sigev_*): Likewise.
54045         [XPG3 || XPG4] (SIGEV_*): Likewise.
54046         [XPG3 || XPG4] (sival_*): Likewise.
54047         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
54048         [POSIX || XPG3] (BUS_*): Likewise.
54049         [POSIX || XPG3] (CLD_*): Likewise.
54050         [POSIX || XPG3] (FPE_*): Likewise.
54051         [POSIX || XPG3] (ILL_*): Likewise.
54052         [POSIX || XPG3] (POLL_*): Likewise.
54053         [POSIX || XPG3] (SEGV_*): Likewise.
54054         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
54055         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
54056         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
54057         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
54058         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
54059         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
54060         Specify type and value.
54061         (TVERSLEN): Likewise.
54062         (REGTYPE): Likewise.
54063         (AREGTYPE): Likewise.
54064         (LNKTYPE): Likewise.
54065         (SYMTYPE): Likewise.
54066         (CHRTYPE): Likewise.
54067         (BLKTYPE): Likewise.
54068         (DIRTYPE): Likewise.
54069         (FIFOTYPE): Likewise.
54070         (CONTTYPE): Likewise.
54071         (TSUID): Likewise.
54072         (TSGID): Likewise.
54073         (TSVTX): Likewise.
54074         (TUREAD): Likewise.
54075         (TUWRITE): Likewise.
54076         (TUEXEC): Likewise.
54077         (TGREAD): Likewise.
54078         (TGWRITE): Likewise.
54079         (TGEXEC): Likewise.
54080         (TOREAD): Likewise.
54081         (TOWRITE): Likewise.
54082         (TOEXEC): Likewise.
54083         [POSIX] (TSVTX): Expect constant.
54085 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
54087         * Makefile (tests): Change dependencies to ....
54088         (tests-special): ... additions to this variable.
54089         (tests): Depend on $(tests-special).
54090         * Makerules (check-abi-list): New variable.
54091         (check-abi): Depend on $(check-abi-list).
54092         [$(subdir) = elf] (tests-special): Add
54093         $(objpfx)check-abi-libc.out.
54094         [$(build-shared) = yes && subdir] (tests-special): Add
54095         $(check-abi-list).
54096         [$(build-shared) = yes && subdir] (tests): Do not depend on
54097         check-abi.
54098         * Rules (tests): Depend on $(tests-special).
54099         (xtests): Depend on $(xtests-special).
54100         * catgets/Makefile (tests): Change dependencies to ....
54101         (tests-special): ... additions to this variable.
54102         * conform/Makefile (tests): Change dependencies to ....
54103         (tests-special): ... additions to this variable.
54104         * elf/Makefile (tests): Change dependencies to ....
54105         (tests-special): ... additions to this variable.
54106         * grp/Makefile (tests): Change dependencies to ....
54107         (tests-special): ... additions to this variable.
54108         * iconv/Makefile (xtests): Change dependencies to ....
54109         (xtests-special): ... additions to this variable.
54110         * iconvdata/Makefile (tests): Change dependencies to ....
54111         (tests-special): ... additions to this variable.
54112         * intl/Makefile (tests): Change dependencies to ....
54113         (tests-special): ... additions to this variable.  Also add
54114         $(objpfx)tst-gettext.out.
54115         * io/Makefile (tests): Change dependencies to ....
54116         (tests-special): ... additions to this variable.
54117         * libio/Makefile (tests): Change dependencies to ....
54118         (tests-special): ... additions to this variable.
54119         * malloc/Makefile (tests): Change dependencies to ....
54120         (tests-special): ... additions to this variable.
54121         * misc/Makefile (tests): Change dependencies to ....
54122         (tests-special): ... additions to this variable.
54123         * nptl/Makefile (tests): Change dependencies to ....
54124         (tests-special): ... additions to this variable.
54125         * nptl_db/Makefile (tests): Change dependencies to ....
54126         (tests-special): ... additions to this variable.
54127         * posix/Makefile (tests): Change dependencies to ....
54128         (tests-special): ... additions to this variable.
54129         (xtests): Change dependencies to ....
54130         (xtests-special): ... additions to this variable.
54131         * resolv/Makefile (tests): Change dependencies to ....
54132         (tests-special): ... additions to this variable.
54133         (xtests): Change dependencies to ....
54134         (xtests-special): ... additions to this variable.
54135         * stdio-common/Makefile (tests): Change dependencies to ....
54136         (tests-special): ... additions to this variable.
54137         (do-tst-unbputc): Remove target.
54138         (do-tst-printf): Likewise.
54139         * stdlib/Makefile (tests): Change dependencies to ....
54140         (tests-special): ... additions to this variable.
54141         * string/Makefile (tests): Change dependencies to ....
54142         (tests-special): ... additions to this variable.
54143         * sysdeps/x86/Makefile (tests): Change dependencies to ....
54144         (tests-special): ... additions to this variable.
54146         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
54147         whole file.
54148         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
54149         whole file.
54150         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
54151         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
54153         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
54154         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
54155         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
54156         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
54157         * conform/data/libgen.h-data [XPG3]: Likewise.
54158         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
54159         * conform/data/ndbm.h-data [XPG3]: Likewise.
54160         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
54161         * conform/data/netdb.h-data [XPG3]: Likewise.
54162         * conform/data/netinet/in.h-data [XPG3]: Likewise.
54163         * conform/data/poll.h-data [XPG3]: Likewise.
54164         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
54165         * conform/data/strings.h-data [XPG3]: Likewise.
54166         * conform/data/stropts.h-data [XPG3]: Likewise.
54167         * conform/data/sys/mman.h-data [XPG3]: Likewise.
54168         * conform/data/sys/resource.h-data [XPG3]: Likewise.
54169         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
54170         Likewise.
54171         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
54172         * conform/data/sys/time.h-data [XPG3]: Likewise.
54173         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
54174         * conform/data/sys/uio.h-data [XPG3]: Likewise.
54175         * conform/data/sys/un.h-data [XPG3]: Likewise.
54176         * conform/data/syslog.h-data [XPG3]: Likewise.
54177         * conform/data/ucontext.h-data [XPG3]: Likewise.
54178         * conform/data/utmpx.h-data [XPG3]: Likewise.
54179         * conform/data/varargs.h-data [UNIX98]: Enable file.
54181         * manual/Makefile (INSTALL_INFO): Remove variable setting.
54183         * math/libm-test.inc (struct test_f_f_data): Move expected results
54184         into structure for each rounding mode.
54185         (struct test_ff_f_data): Likewise.
54186         (struct test_ff_f_data_nexttoward): Likewise.
54187         (struct test_fi_f_data): Likewise.
54188         (struct test_fl_f_data): Likewise.
54189         (struct test_if_f_data): Likewise.
54190         (struct test_fff_f_data): Likewise.
54191         (struct test_c_f_data): Likewise.
54192         (struct test_f_f1_data): Likewise.
54193         (struct test_fF_f1_data): Likewise.
54194         (struct test_ffI_f1_data): Likewise.
54195         (struct test_c_c_data): Likewise.
54196         (struct test_cc_c_data): Likewise.
54197         (struct test_f_i_data): Likewise.
54198         (struct test_ff_i_data): Likewise.
54199         (struct test_f_l_data): Likewise.
54200         (struct test_f_L_data): Likewise.
54201         (struct test_fFF_11_data): Likewise.
54202         (RM_): New macro.
54203         (RM_FE_DOWNWARD): Likewise.
54204         (RM_FE_TONEAREST): Likewise.
54205         (RM_FE_TOWARDZERO): Likewise.
54206         (RM_FE_UPWARD): Likewise.
54207         (RUN_TEST_LOOP_f_f): Update references to expected results.
54208         (RUN_TEST_LOOP_2_f): Likewise.
54209         (RUN_TEST_LOOP_fff_f): Likewise.
54210         (RUN_TEST_LOOP_c_f): Likewise.
54211         (RUN_TEST_LOOP_f_f1): Likewise.
54212         (RUN_TEST_LOOP_fF_f1): Likewise.
54213         (RUN_TEST_LOOP_fI_f1): Likewise.
54214         (RUN_TEST_LOOP_ffI_f1): Likewise.
54215         (RUN_TEST_LOOP_c_c): Likewise.
54216         (RUN_TEST_LOOP_cc_c): Likewise.
54217         (RUN_TEST_LOOP_f_i): Likewise.
54218         (RUN_TEST_LOOP_f_i_tg): Likewise.
54219         (RUN_TEST_LOOP_ff_i_tg): Likewise.
54220         (RUN_TEST_LOOP_f_b): Likewise.
54221         (RUN_TEST_LOOP_f_b_tg): Likewise.
54222         (RUN_TEST_LOOP_f_l): Likewise.
54223         (RUN_TEST_LOOP_f_L): Likewise.
54224         (RUN_TEST_LOOP_fFF_11): Likewise.
54225         * math/gen-libm-test.pl (parse_args): Output four copies of
54226         expected results for each test.
54228         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54229         (__ASSUME_UTIMES): Remove.
54230         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54231         (__ASSUME_UTIMES): Likewise.
54233         * math/gen-auto-libm-tests.c: Update comment on output format.
54234         (output_for_one_input_case): Generate before-rounding and
54235         after-rounding information as conditions on output flags not
54236         floating-point format.
54237         * math/auto-libm-test-out: Regenerated.
54238         * math/gen-libm-test.pl (cond_value): New function.
54239         (or_cond_value): Use cond_value.
54240         (generate_testfile): Handle conditional exceptions.
54242 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
54244         * math/libm-test.inc (max_valid_error): New variable.
54245         (init_max_error): Take new argument specifying whether function
54246         results are exactly determined.  Set max_valid_error and bound
54247         other variables for errors based on this argument.
54248         (set_max_error): Do not record results above max_valid_error.
54249         (check_float_internal): Only accept errors of up to 0.5ulps if
54250         also at most max_valid_error.
54251         (START): Take new argument EXACT and pass it to init_max_error.
54252         (acos_test): Update call to START.
54253         (acos_test_tonearest): Likewise.
54254         (acos_test_towardzero): Likewise.
54255         (acos_test_downward): Likewise.
54256         (acos_test_upward): Likewise.
54257         (acosh_test): Likewise.
54258         (asin_test): Likewise.
54259         (asin_test_tonearest): Likewise.
54260         (asin_test_towardzero): Likewise.
54261         (asin_test_downward): Likewise.
54262         (asin_test_upward): Likewise.
54263         (asinh_test): Likewise.
54264         (atan_test): Likewise.
54265         (atanh_test): Likewise.
54266         (atan2_test): Likewise.
54267         (cabs_test): Likewise.
54268         (cacos_test): Likewise.
54269         (cacosh_test): Likewise.
54270         (carg_test): Likewise.
54271         (casin_test): Likewise.
54272         (casinh_test): Likewise.
54273         (catan_test): Likewise.
54274         (catanh_test): Likewise.
54275         (cbrt_test): Likewise.
54276         (ccos_test): Likewise.
54277         (ccosh_test): Likewise.
54278         (ceil_test): Likewise.
54279         (cexp_test): Likewise.
54280         (cimag_test): Likewise.
54281         (clog_test): Likewise.
54282         (clog10_test): Likewise.
54283         (conj_test): Likewise.
54284         (copysign_test): Likewise.
54285         (cos_test): Likewise.
54286         (cos_test_tonearest): Likewise.
54287         (cos_test_towardzero): Likewise.
54288         (cos_test_downward): Likewise.
54289         (cos_test_upward): Likewise.
54290         (cosh_test): Likewise.
54291         (cosh_test_tonearest): Likewise.
54292         (cosh_test_towardzero): Likewise.
54293         (cosh_test_downward): Likewise.
54294         (cosh_test_upward): Likewise.
54295         (cpow_test): Likewise.
54296         (cproj_test): Likewise.
54297         (creal_test): Likewise.
54298         (csin_test): Likewise.
54299         (csinh_test): Likewise.
54300         (csqrt_test): Likewise.
54301         (ctan_test): Likewise.
54302         (ctan_test_tonearest): Likewise.
54303         (ctan_test_towardzero): Likewise.
54304         (ctan_test_downward): Likewise.
54305         (ctan_test_upward): Likewise.
54306         (ctanh_test): Likewise.
54307         (ctanh_test_tonearest): Likewise.
54308         (ctanh_test_towardzero): Likewise.
54309         (ctanh_test_downward): Likewise.
54310         (ctanh_test_upward): Likewise.
54311         (erf_test): Likewise.
54312         (erfc_test): Likewise.
54313         (exp_test): Likewise.
54314         (exp_test_tonearest): Likewise.
54315         (exp_test_towardzero): Likewise.
54316         (exp_test_downward): Likewise.
54317         (exp_test_upward): Likewise.
54318         (exp10_test): Likewise.
54319         (exp10_test_tonearest): Likewise.
54320         (exp10_test_towardzero): Likewise.
54321         (exp10_test_downward): Likewise.
54322         (exp10_test_upward): Likewise.
54323         (pow10_test): Likewise.
54324         (exp2_test): Likewise.
54325         (expm1_test): Likewise.
54326         (expm1_test_tonearest): Likewise.
54327         (expm1_test_towardzero): Likewise.
54328         (expm1_test_downward): Likewise.
54329         (expm1_test_upward): Likewise.
54330         (fabs_test): Likewise.
54331         (fdim_test): Likewise.
54332         (floor_test): Likewise.
54333         (fma_test): Likewise.
54334         (fma_test_towardzero): Likewise.
54335         (fma_test_downward): Likewise.
54336         (fma_test_upward): Likewise.
54337         (fmax_test): Likewise.
54338         (fmin_test): Likewise.
54339         (fmod_test): Likewise.
54340         (fpclassify_test): Likewise.
54341         (frexp_test): Likewise.
54342         (hypot_test): Likewise.
54343         (ilogb_test): Likewise.
54344         (isfinite_test): Likewise.
54345         (finite_test): Likewise.
54346         (isgreater_test): Likewise.
54347         (isgreaterequal_test): Likewise.
54348         (isinf_test): Likewise.
54349         (isless_test): Likewise.
54350         (islessequal_test): Likewise.
54351         (islessgreater_test): Likewise.
54352         (isnan_test): Likewise.
54353         (isnormal_test): Likewise.
54354         (issignaling_test): Likewise.
54355         (isunordered_test): Likewise.
54356         (j0_test): Likewise.
54357         (j1_test): Likewise.
54358         (jn_test): Likewise.
54359         (ldexp_test): Likewise.
54360         (lgamma_test): Likewise.
54361         (gamma_test): Likewise.
54362         (lrint_test): Likewise.
54363         (lrint_test_tonearest): Likewise.
54364         (lrint_test_towardzero): Likewise.
54365         (lrint_test_downward): Likewise.
54366         (lrint_test_upward): Likewise.
54367         (llrint_test): Likewise.
54368         (llrint_test_tonearest): Likewise.
54369         (llrint_test_towardzero): Likewise.
54370         (llrint_test_downward): Likewise.
54371         (llrint_test_upward): Likewise.
54372         (log_test): Likewise.
54373         (log10_test): Likewise.
54374         (log1p_test): Likewise.
54375         (log2_test): Likewise.
54376         (logb_test): Likewise.
54377         (logb_test_downward): Likewise.
54378         (lround_test): Likewise.
54379         (llround_test): Likewise.
54380         (modf_test): Likewise.
54381         (nearbyint_test): Likewise.
54382         (nextafter_test): Likewise.
54383         (nexttoward_test): Likewise.
54384         (pow_test): Likewise.
54385         (pow_test_tonearest): Likewise.
54386         (pow_test_towardzero): Likewise.
54387         (pow_test_downward): Likewise.
54388         (pow_test_upward): Likewise.
54389         (remainder_test): Likewise.
54390         (drem_test): Likewise.
54391         (remainder_test_tonearest): Likewise.
54392         (drem_test_tonearest): Likewise.
54393         (remainder_test_towardzero): Likewise.
54394         (drem_test_towardzero): Likewise.
54395         (remainder_test_downward): Likewise.
54396         (drem_test_downward): Likewise.
54397         (remainder_test_upward): Likewise.
54398         (drem_test_upward): Likewise.
54399         (remquo_test): Likewise.
54400         (rint_test): Likewise.
54401         (rint_test_tonearest): Likewise.
54402         (rint_test_towardzero): Likewise.
54403         (rint_test_downward): Likewise.
54404         (rint_test_upward): Likewise.
54405         (round_test): Likewise.
54406         (scalb_test): Likewise.
54407         (scalbn_test): Likewise.
54408         (scalbln_test): Likewise.
54409         (signbit_test): Likewise.
54410         (sin_test): Likewise.
54411         (sin_test_tonearest): Likewise.
54412         (sin_test_towardzero): Likewise.
54413         (sin_test_downward): Likewise.
54414         (sin_test_upward): Likewise.
54415         (sincos_test): Likewise.
54416         (sinh_test): Likewise.
54417         (sinh_test_tonearest): Likewise.
54418         (sinh_test_towardzero): Likewise.
54419         (sinh_test_downward): Likewise.
54420         (sinh_test_upward): Likewise.
54421         (sqrt_test): Likewise.
54422         (sqrt_test_tonearest): Likewise.
54423         (sqrt_test_towardzero): Likewise.
54424         (sqrt_test_downward): Likewise.
54425         (sqrt_test_upward): Likewise.
54426         (tan_test): Likewise.
54427         (tan_test_tonearest): Likewise.
54428         (tan_test_towardzero): Likewise.
54429         (tan_test_downward): Likewise.
54430         (tan_test_upward): Likewise.
54431         (tanh_test): Likewise.
54432         (tgamma_test): Likewise.
54433         (trunc_test): Likewise.
54434         (y0_test): Likewise.
54435         (y1_test): Likewise.
54436         (yn_test): Likewise.
54437         (significand_test): Likewise.
54439         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
54440         individual tests in comment.
54441         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
54442         (prev_max_error): New variable.
54443         (prev_real_max_error): Likewise.
54444         (prev_imag_max_error): Likewise.
54445         (compare_ulp_data): Don't refer to test names in comment.
54446         (find_test_ulps): Remove function.
54447         (find_function_ulps): Likewise.
54448         (find_complex_function_ulps): Likewise.
54449         (init_max_error): Take function name as argument.  Look up ulps
54450         for that function.
54451         (print_ulps): Remove function.
54452         (print_max_error): Use prev_max_error instead of calling
54453         find_function_ulps.
54454         (print_complex_max_error): Use prev_real_max_error and
54455         prev_imag_max_error instead of calling find_complex_function_ulps.
54456         (check_float_internal): Take max_ulp parameter instead of calling
54457         find_test_ulps.  Don't call print_ulps.
54458         (check_float): Update call to check_float_internal.
54459         (check_complex): Update calls to check_float_internal.
54460         (START): Pass argument to init_max_error.
54461         * math/gen-libm-test.pl (%results): Don't include "kind"
54462         information.
54463         (parse_ulps): Don't handle ulps of individual tests.
54464         (print_ulps_file): Likewise.
54465         (output_ulps): Likewise.
54466         * math/README.libm-test: Update.
54467         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
54468         individual tests.
54469         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
54470         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
54471         * sysdeps/arm/libm-test-ulps: Likewise.
54472         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
54473         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
54474         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
54475         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
54476         * sysdeps/microblaze/libm-test-ulps: Likewise.
54477         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
54478         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
54479         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54480         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
54481         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54482         * sysdeps/sh/libm-test-ulps: Likewise.
54483         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54484         * sysdeps/tile/libm-test-ulps: Likewise.
54485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54487 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
54489         * math/libm-test.inc (print_complex_max_error): Check separately
54490         whether real and imaginary errors are within allowed range and
54491         pass 0 to print_complex_function_ulps instead of value within
54492         allowed range.
54494 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54496         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
54497         formatting.
54498         (get_handles_fopen): Likewise.
54499         (do_write_test): Likewise.
54501         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
54503         * libio/fileops.c (do_ftell): Use cached offset when
54504         available.
54505         * libio/iofwide.c (do_ftell_wide): Likewise.
54506         * libio/iofdopen.c (_IO_new_fdopen): Don't use
54507         _IO_file_attach.
54508         * libio/wfileops.c (_IO_fwide): Don't cache offset.
54510         [BZ #16532]
54511         * libio/libioP.h (get_file_offset): New function.
54512         * libio/fileops.c (get_file_offset): Likewise.
54513         (do_ftell): Likewise.
54514         (_IO_new_file_seekoff): Split out ftell logic.
54515         * libio/wfileops.c (do_ftell_wide): Likewise.
54516         (_IO_wfile_seekoff): Split out ftell logic.
54517         * libio/tst-ftell-active-handler.c: New test case.
54518         * libio/Makefile (tests): Add it.
54520 2014-03-03  Roland McGrath  <roland@hack.frob.com>
54522         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
54523         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
54525 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54527         [BZ #16639]
54528         * nscd/connections.c (nscd_init): Call do_exit.
54529         (start_threads): Call do_exit and notify_parent.
54530         (begin_drop_privileges): Call do_exit.
54531         (finish_drop_privileges): Likewise.
54532         * nscd/selinux.c (preserve_capabilities): Likewise.
54533         (install_real_capabilities): Likewise.
54534         (nscd_selinux_enabled): Likewise.
54535         (avc_create_thread): Likewise.
54536         (avc_alloc_lock): Likewise.
54537         (nscd_avc_init): Likewise.
54538         * nscd/nscd.c (parent_fd): New static variable.
54539         (main): Create a pipe between parent and child processes.
54540         Skip closing parent_fd.
54541         (monitor_child): New function.
54542         (do_exit): Likewise.
54543         (notify_parent): Likewise.
54544         * nscd/nscd.h (notify_parent): Likewise.
54545         (do_exit): Likewise.
54547 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
54549         * malloc/malloc.c (__libc_calloc): Revert last change.
54551 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54555 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
54557         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
54558         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
54559         implementation.
54560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54561         (__libc_ifunc_impl_list): Likewise.
54562         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
54563         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
54564         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
54565         * string/strrchr.c: Define STRRCHR.
54567 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
54569         * benchtest/bench-strtok.c (simple_strtok): Delete.
54570         (strtok_string): Use as benchmark.
54571         * string/strtok (STRTOK): New macro.
54573 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
54575         * manual/threads.texi: Add header and standard comments to all
54576         functions.
54578         * elf/dl-lookup.c (check_match): New function.
54579         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
54580         (do_lookup_x): Remove nested function check_match. Use non-nested
54581         function check_match.
54583 2014-02-28  Roland McGrath  <roland@hack.frob.com>
54585         * csu/Makefile (generated, before-compile): Use += rather than =.
54586         * catgets/Makefile (generated, generated-dirs): Likewise.
54587         * debug/Makefile (generated): Likewise.
54588         * dlfcn/Makefile (generated): Likewise.
54589         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
54590         * iconvdata/Makefile (before-compile, generated): Likewise.
54591         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
54592         * libio/Makefile (generated): Likewise.
54593         * malloc/Makefile (generated): Likewise.
54594         * manual/Makefile (generated, generated-dirs): Likewise.
54595         * misc/Makefile (generated): Likewise.
54596         * posix/Makefile (generated): Likewise.
54597         * resolv/Makefile (generated): Likewise.
54598         * sunrpc/Makefile (generated, generated-dirs): Likewise.
54599         * timezone/Makefile (generated, generated-dirs): Likewise.
54601         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
54603 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54605         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
54606         power8 implementation.
54607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
54608         file: POWER8 llround ifunc implementation.
54609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
54610         (__lllround): Add POWER8 implementation.
54611         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
54612         POWER8 llround implementation.
54614         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
54615         power8 implementation.
54616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
54617         file: POWER8 llrint ifunc implementation.
54618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
54619         Add POWER8 implementation.
54620         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
54621         POWER8 llrint implementation.
54623         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
54624         power8 implementation.
54625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
54626         file: POWER8 finite ifunc implementation.
54627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
54628         Add POWER8 implementation.
54629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
54630         Likewise.
54631         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
54632         POWER8 finite implementation.
54633         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
54635         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
54636         power8 implementation.
54637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
54638         file: POWER8 isinf ifunc implementation.
54639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
54640         POWER8 implementation.
54641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
54642         Likewise.
54643         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
54644         isinf implementation.
54645         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
54647         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
54648         (INIT_ARCH): Add hwcap2 initialization.
54649         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
54650         power8 implementation.
54651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
54652         file: POWER8 isnan ifunc implementation.
54653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
54654         POWER8 implementation.
54655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
54656         Likewise.
54657         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
54658         isnan implementation.
54659         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
54661 2014-02-27  Joey Ye  <joey.ye@arm.com>
54663         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
54664         (_FP_NANFRAC_Q): Set to zero.
54666 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54668         [BZ #16623]
54669         * math/auto-libm-test-in: New test inputs.
54670         * math/auto-libm-test-out: Regenerate.
54671         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
54672         and DA.
54673         (__cos): Likewise.
54674         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54676 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
54678         * scripts/evaluate-test.sh: Take new argument indicating whether
54679         failure is expected.
54680         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
54681         indicating whether failure is expected.
54682         * conform/Makefile (test-xfail-run-conformtest): New variable.
54683         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
54684         level.
54685         * posix/Makefile (test-xfail-annexc): New variable.
54686         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
54688 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
54690         * argp/Makefile: Include Makeconfig immediately after defining
54691         subdir.
54692         * assert/Makefile: Likewise.
54693         * benchtests/Makefile: Likewise.
54694         * catgets/Makefile: Likewise.
54695         * conform/Makefile: Likewise.
54696         * crypt/Makefile: Likewise.
54697         * csu/Makefile: Likewise.
54698         (all): Remove target.
54699         * ctype/Makefile: Include Makeconfig immediately after defining
54700         subdir.
54701         * debug/Makefile: Likewise.
54702         * dirent/Makefile: Likewise.
54703         * dlfcn/Makefile: Likewise.
54704         * gmon/Makefile: Likewise.
54705         * gnulib/Makefile: Likewise.
54706         * grp/Makefile: Likewise.
54707         * gshadow/Makefile: Likewise.
54708         * hesiod/Makefile: Likewise.
54709         * hurd/Makefile: Likewise.
54710         (all): Remove target.
54711         * iconvdata/Makefile: Include Makeconfig immediately after
54712         defining subdir.
54713         * inet/Makefile: Likewise.
54714         * intl/Makefile: Likewise.
54715         * io/Makefile: Likewise.
54716         * libio/Makefile: Likewise.
54717         (all): Remove target.
54718         * locale/Makefile: Include Makeconfig immediately after defining
54719         subdir.
54720         * login/Makefile: Likewise.
54721         * mach/Makefile: Likewise.
54722         (all): Remove target.
54723         * malloc/Makefile: Include Makeconfig immediately after defining
54724         subdir.
54725         (all): Remove target.
54726         * manual/Makefile: Include Makeconfig immediately after defining
54727         subdir.
54728         * math/Makefile: Likewise.
54729         * misc/Makefile: Likewise.
54730         * nis/Makefile: Likewise.
54731         * nss/Makefile: Likewise.
54732         * po/Makefile: Likewise.
54733         (all): Remove target.
54734         * posix/Makefile: Include Makeconfig immediately after defining
54735         subdir.
54736         * pwd/Makefile: Likewise.
54737         * resolv/Makefile: Likewise.
54738         * resource/Makefile: Likewise.
54739         * rt/Makefile: Likewise.
54740         * setjmp/Makefile: Likewise.
54741         * shadow/Makefile: Likewise.
54742         * signal/Makefile: Likewise.
54743         * socket/Makefile: Likewise.
54744         * soft-fp/Makefile: Likewise.
54745         * stdio-common/Makefile: Likewise.
54746         * stdlib/Makefile: Likewise.
54747         * streams/Makefile: Likewise.
54748         * string/Makefile: Likewise.
54749         * sunrpc/Makefile: Likewise.
54750         (all): Remove target.
54751         * sysvipc/Makefile: Include Makeconfig immediately after defining
54752         subdir.
54753         * termios/Makefile: Likewise.
54754         * time/Makefile: Likewise.
54755         * timezone/Makefile: Likewise.
54756         (all): Remove target.
54757         * wcsmbs/Makefile: Include Makeconfig immediately after defining
54758         subdir.
54759         * wctype/Makefile: Likewise.
54761 2014-02-26  Steve Ellcey  <sellcey@mips.com>
54763         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
54764         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
54765         (libc_feholdexcept_setround_mips): Ditto.
54766         (libc_feholdsetround): New.
54767         (libc_feholdsetroundf): New.
54768         (libc_feholdsetroundl): New.
54769         (libc_feupdateenv_test_mips): New.
54770         (libc_feupdateenv_test): New.
54771         (libc_feupdateenv_testf): New.
54772         (libc_feupdateenv_testl): New.
54773         (libc_feresetround): New.
54774         (libc_feresetroundf): New.
54775         (libc_feresetroundl): New.
54776         (libc_fetestexcept_mips): New.
54777         (libc_fetestexcept): New.
54778         (libc_fetestexceptf): New.
54779         (libc_fetestexceptl): New.
54780         (HAVE_RM_CTX): New.
54781         (libc_feholdexcept_setround_mips_ctx): New.
54782         (libc_feholdexcept_setround_ctx): New.
54783         (libc_feholdexcept_setroundf_ctx): New.
54784         (libc_feholdexcept_setroundl_ctx): New.
54785         (libc_fesetenv_mips_ctx): New.
54786         (libc_fesetenv_ctx): New.
54787         (libc_fesetenv_ctxf): New.
54788         (libc_fesetenv_ctxl): New.
54789         (libc_feupdateenv_mips_ctx): New.
54790         (libc_feupdateenv_ctx): New.
54791         (libc_feupdateenvf_ctx): New.
54792         (libc_feupdateenvl_ctx): New.
54793         (libc_feholdsetround_mips_ctx): New.
54794         (libc_feholdsetround_ctx): New.
54795         (libc_feholdsetroundf_ctx): New.
54796         (libc_feholdsetroundl_ctx): New.
54797         (libc_feresetround_mips_ctx): New.
54798         (libc_feresetround_ctx): New.
54799         (libc_feresetroundf_ctx): New.
54800         (libc_feresetroundl_ctx): New.
54802 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
54804         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
54806         * manual/ipc.texi: New file.
54807         * manual/Makefile (chapters): Add ipc.
54808         * manual/job.texi: Add "Inter-Process Communication" to next.
54809         * manual/process.texi: Add "Inter-Process Communication" to prev.
54811 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54815 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
54817         * malloc/malloc.c (__libc_calloc): Simplify implementation.
54819         * manual/arith.texi: Fix spaces after sentences.
54820         * manual/charset.texi: Likewise.
54821         * manual/errno.texi: Likewise.
54822         * manual/install.texi: Likewise.
54823         * manual/llio.texi: Likewise.
54824         * manual/locale.texi: Likewise.
54825         * manual/maint.texi: Likewise.
54826         * manual/math.texi: Likewise.
54827         * manual/memory.texi: Likewise.
54828         * manual/message.texi: Likewise.
54829         * manual/probes.texi: Likewise.
54830         * manual/resource.texi: Likewise.
54831         * manual/signal.texi: Likewise.
54832         * manual/socket.texi: Likewise.
54833         * manual/stdio.texi: Likewise.
54834         * manual/string.texi: Likewise.
54835         * manual/time.texi: Likewise.
54836         * manual/users.texi: Likewise.
54838 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
54840         [BZ #16632]
54841         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
54842         _DEFAULT_SOURCE is defined.
54844 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
54845             Carlos O'Donell  <carlos@redhat.com>
54847         [BZ #16613]
54848         * elf/dl-tls.c (_dl_count_modids): New function.
54849         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
54850         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
54851         audit library and increment generation counter.
54852         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
54853         * elf/tst-audit9.c: New file.
54854         * elf/tst-auditmod9a.c: New file.
54855         * elf/tst-auditmod9b.c: New file.
54856         * elf/Makefile: Add rules to build and run tst-audit9.
54858 2014-02-25  Florian Weimer  <fweimer@redhat.com>
54860         [BZ #15347]
54861         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
54863 2014-02-25  Will Newton  <will.newton@linaro.org>
54865         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
54866         (__longjmp): Restore sp and lr before restoring callee
54867         saved registers.  Add longjmp and longjmp_target
54868         SystemTap probe point.
54869         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
54870         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
54871         Define to zero to match jmpbuf layout.
54872         * sysdeps/arm/setjmp.S: Include stap-probe.h.
54873         (__sigsetjmp): Save sp and lr before saving callee
54874         saved registers.  Add setjmp SystemTap probe point.
54876 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
54878         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54880 2014-02-24  Andreas Schwab  <schwab@suse.de>
54882         [BZ #15804]
54883         * elf/pldd.c (wait_for_ptrace_stop): New function.
54884         (main): Call it after attaching.
54886 2014-02-22  Roland McGrath  <roland@hack.frob.com>
54888         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
54889         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
54890         Versions files is now verboten.
54891         * hurd/Versions (libc: GLIBC_2.0):
54892         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
54893         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
54894         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
54895         * mach/Versions: Likewise.
54897         * csu/Versions: Remove unused %include.
54898         * resolv/Versions: Likewise.
54900 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
54902         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
54903         ($(objpfx)check-local-headers.out): Likewise.
54904         ($(objpfx)begin-end-check.out): Likewise.
54905         * Makerules (check-abi-%.out): Likewise.
54906         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
54907         ($(objpfx)test2.cat): Likewise.
54908         ($(objpfx)de/libc.cat): Likewise.
54909         ($(objpfx)test-gencat.out): Likewise.
54910         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
54911         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
54912         ($(objpfx)noload-mem): Likewise.
54913         ($(objpfx)tst-pathopt.out): Likewise.
54914         ($(objpfx)tst-rtld-load-self.out): Likewise.
54915         ($(objpfx)tst-array1-cmp.out): Likewise.
54916         ($(objpfx)tst-array1-static-cmp.out): Likewise.
54917         ($(objpfx)tst-array2-cmp.out): Likewise.
54918         ($(objpfx)tst-array3-cmp.out): Likewise.
54919         ($(objpfx)tst-array4-cmp.out): Likewise.
54920         ($(objpfx)tst-array5-cmp.out): Likewise.
54921         ($(objpfx)tst-array5-static-cmp.out): Likewise.
54922         ($(objpfx)check-textrel.out): Likewise.
54923         ($(objpfx)check-execstack.out): Likewise.
54924         ($(objpfx)check-localplt.out): Likewise.
54925         ($(objpfx)order2-cmp.out): Likewise.
54926         ($(objpfx)tst-leaks1-mem): Likewise.
54927         ($(objpfx)tst-leaks1-static-mem): Likewise.
54928         ($(objpfx)tst-initorder-cmp.out): Likewise.
54929         ($(objpfx)tst-initorder2-cmp.out): Likewise.
54930         ($(objpfx)tst-unused-dep.out): Likewise.
54931         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
54932         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
54933         * iconv/Makefile (test-iconvconfig): Likewise.
54934         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
54935         ($(objpfx)iconv-test.out): Likewise.
54936         ($(objpfx)tst-tables.out): Likewise.
54937         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
54938         ($(objpfx)tst-gettext.out): Likewise.
54939         ($(objpfx)tst-translit.out): Likewise.
54940         ($(objpfx)tst-gettext2.out): Likewise.
54941         ($(objpfx)tst-gettext4.out): Likewise.
54942         ($(objpfx)tst-gettext6.out): Likewise.
54943         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
54944         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
54945         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
54946         ($(objpfx)tst-fopenloc-mem.out): Likewise.
54947         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
54948         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
54949         * posix/Makefile ($(objpfx)globtest.out): Likewise.
54950         ($(objpfx)wordexp-tst.out): Likewise.
54951         ($(objpfx)annexc.out): Likewise.
54952         ($(objpfx)tst-fnmatch-mem): Likewise.
54953         ($(objpfx)bug-regex2-mem): Likewise.
54954         ($(objpfx)bug-regex14-mem): Likewise.
54955         ($(objpfx)bug-regex21-mem): Likewise.
54956         ($(objpfx)bug-regex31-mem): Likewise.
54957         ($(objpfx)tst-vfork3-mem): Likewise.
54958         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
54959         ($(objpfx)tst-pcre-mem): Likewise.
54960         ($(objpfx)tst-boost-mem): Likewise.
54961         ($(objpfx)tst-getconf.out): Likewise.
54962         ($(objpfx)bug-ga2-mem): Likewise.
54963         ($(objpfx)bug-glob2-mem): Likewise.
54964         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
54965         ($(objpfx)mtrace-tst-leaks2): Likewise.
54966         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
54967         ($(objpfx)tst-printf.out): Likewise.
54968         ($(objpfx)tst-setvbuf1.out): Likewise.
54969         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
54970         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
54971         ($(objpfx)tst-fmtmsg.out): Likewise.
54972         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
54973         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
54975         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
54976         * bits/sigaction.h [__USE_MISC]: Likewise.
54977         * bits/waitstatus.h: Update #endif comments.
54978         * ctype/ctype.h: Likewise.
54979         * dirent/dirent.h: Likewise.
54980         [__USE_MISC]: Remove redundant conditionals.
54981         * grp/grp.h: Update #endif comments.
54982         [__USE_GNU]: Remove redundant conditionals.
54983         [__USE_MISC]: Likewise.
54984         * inet/netinet/in.h [__USE_GNU]: Likewise.
54985         * io/sys/stat.h [__USE_MISC]: Likewise.
54986         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
54987         * libio/bits/stdio.h: Update #endif comments.
54988         [__USE_MISC]: Remove redundant conditionals.
54989         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
54990         * libio/stdio.h: Update #endif comments.
54991         [__USE_MISC]: Remove redundant conditionals.
54992         * math/bits/math-finite.h [__USE_MISC]: Likewise.
54993         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
54994         * math/math.h: Update #else and #endif comments.
54995         [__USE_MISC]: Remove redundant conditionals.
54996         * misc/sys/uio.h: Update #endif comments.
54997         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
54998         * posix/glob.h [__USE_MISC]: Likewise.
54999         * posix/sys/types.h: Update #endif comments.
55000         [__USE_MISC]: Remove redundant conditionals.
55001         * posix/sys/wait.h: Update #endif comments.
55002         [__USE_MISC]: Remove redundant conditionals.
55003         * posix/unistd.h: Update #endif comments.
55004         [__USE_MISC]: Remove redundant conditionals.
55005         * pwd/pwd.h [__USE_GNU]: Likewise.
55006         [__USE_MISC]: Likewise.
55007         * resolv/netdb.h [__USE_GNU]: Likewise.
55008         * signal/signal.h: Update #endif comments.
55009         [__USE_MISC]: Remove redundant conditionals.
55010         * stdlib/stdlib.h: Update #else and #endif comments.
55011         [__USE_MISC]: Remove redundant conditionals.
55012         [__USE_GNU]: Likewise.
55013         * string/bits/string2.h [__USE_MISC]: Likewise.
55014         * string/string.h: Update #endif comments.
55015         [__USE_MISC]: Remove redundant conditionals.
55016         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
55017         Likewise.
55018         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
55019         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
55020         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
55021         Likewise.
55022         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
55023         Likewise.
55024         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
55025         comments.
55026         [__USE_MISC]: Remove redundant conditionals.
55027         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
55028         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
55029         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
55030         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
55031         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
55032         Likewise.
55033         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
55034         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
55035         Likewise.
55036         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
55037         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
55038         Likewise.
55039         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
55040         Likewise.
55041         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
55042         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
55043         Likewise.
55044         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
55045         Likewise.
55046         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
55047         * sysdeps/x86/bits/string.h: Update #endif comments.
55048         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
55049         conditionals.
55050         * time/sys/time.h: Update #endif comments.
55051         * time/time.h: Likewise.
55052         [__USE_MISC]: Remove redundant conditionals.
55054 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
55056         [BZ #16600]
55057         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
55059 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
55061         * Versions.def (librt): Add GLIBC_2.17.
55063 2014-02-21  Adam Conrad  <adconrad@0c3.net>
55065         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
55066         synonym for _SYS_AUXV_H to allow direct inclusion.
55067         * sysdeps/sparc/bits/hwcap.h: Likewise.
55068         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
55069         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
55070         * sysdeps/sparc/sysdep.h: Likewise.
55072 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55074         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
55076 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55078         * benchtests/bench-strrchr.c: Print length instead of position.
55080 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
55082         [BZ #16611]
55083         * sysdeps/unix/sysv/linux/kernel-features.h
55084         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
55085         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
55086         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
55087         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
55088         Likewise.
55089         [__i386__ || __powerpc__ || __sh__ || __sparc__]
55090         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55091         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
55092         (__ASSUME_SENDMMSG): Define instead of using previous
55093         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
55094         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55095         (__ASSUME_SENDMMSG_SYSCALL): Define.
55096         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55097         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
55098         Likewise.
55099         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55100         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55101         Likewise.
55102         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55103         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55104         Likewise.
55105         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
55106         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
55107         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
55108         [__ASSUME_SENDMMSG]: Change conditionals to
55109         [__ASSUME_SENDMMSG_SOCKETCALL].
55110         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55111         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
55112         Define.
55113         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55114         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
55115         Likewise.
55116         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
55117         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
55118         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
55119         [!__ASSUME_SENDMMSG]: Change conditional to
55120         [!__ASSUME_SENDMMSG_SOCKETCALL].
55121         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55122         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55123         Define.
55125         [BZ #16610]
55126         * sysdeps/unix/sysv/linux/kernel-features.h
55127         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
55128         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
55129         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
55130         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
55131         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
55132         [__i386__ || __sparc__]
55133         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55134         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
55135         (__ASSUME_RECVMMSG): Define instead of using previous
55136         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
55137         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55138         (__ASSUME_RECVMMSG_SYSCALL): Define.
55139         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55140         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55141         Likewise.
55142         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55143         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55144         Likewise.
55145         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55146         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55147         Likewise.
55148         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
55149         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
55150         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
55151         [__ASSUME_RECVMMSG]: Change condition to
55152         [__ASSUME_RECVMMSG_SOCKETCALL].
55153         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55154         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55155         Define.
55156         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55157         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55158         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55159         Likewise.
55160         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
55161         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
55162         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
55163         [!__ASSUME_RECVMMSG]: Change condition to
55164         [!__ASSUME_RECVMMSG_SOCKETCALL].
55165         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55166         (__ASSUME_RECVMMSG_SYSCALL): Define.
55168         [BZ #16609]
55169         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
55170         __powerpc__ || __s390__ || __sh__ || __sparc__]
55171         (__ASSUME_SOCKETCALL): Define.
55172         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
55173         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
55174         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
55175         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
55176         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
55177         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
55178         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
55179         (__ASSUME_ACCEPT4): Define instead of using previous
55180         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
55181         __powerpc__ || __sparc__ || __s390__)] condition.
55182         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55183         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
55184         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
55185         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
55186         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
55187         [!__ASSUME_ACCEPT4]: Change condition to
55188         [!__ASSUME_ACCEPT4_SOCKETCALL].
55189         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55190         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
55191         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
55192         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55193         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
55194         __ASSUME_ACCEPT4_SYSCALL.
55195         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
55196         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
55197         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55198         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
55199         __ASSUME_ACCEPT4_SYSCALL.
55200         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
55201         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
55202         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
55203         [__ASSUME_ACCEPT4]: Change condition to
55204         [__ASSUME_ACCEPT4_SOCKETCALL].
55205         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
55206         (__ASSUME_SOCKETCALL): Define.
55207         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
55208         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55209         (__ASSUME_SOCKETCALL): Define.
55210         (__ASSUME_ACCEPT4): Remove.
55211         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
55212         Define.
55213         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55214         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
55215         Likewise.
55216         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55217         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
55219         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
55220         macro.
55221         (HWCAP_ARM_LPAE): Likewise.
55222         (HWCAP_ARM_EVTSTRM): Likewise.
55223         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
55224         Add vpfd32, lpae and evtstrm.
55225         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
55226         Increase to 22.
55228 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
55230         * math/auto-libm-test-in: Add tests of clog10.
55231         * math/auto-libm-test-out: Regenerated.
55232         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
55233         * sysdeps/i386/fpu/libm-test-ulps: Update.
55234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55236 2014-02-18  Andreas Schwab  <schwab@suse.de>
55238         [BZ #16574]
55239         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
55240         Store non-zero if the second buffer was newly allocated.
55241         (send_dg): Likewise.
55242         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
55243         to send_vc and send_dg.
55244         (res_nsend): Pass NULL for ansp2_malloced.
55245         * resolv/res_query.c (__libc_res_nquery): Add parameter
55246         answerp2_malloced and pass it down to __libc_res_nsend.
55247         (res_nquery): Pass additional NULL to __libc_res_nquery.
55248         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
55249         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
55250         second answer buffer if answerp2_malloced was set.
55251         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
55252         (__libc_res_nquerydomain): Add parameter
55253         answerp2_malloced and pass it down to __libc_res_nquery.
55254         (res_nquerydomain): Pass additional NULL to
55255         __libc_res_nquerydomain.
55256         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
55257         additional NULL to __libc_res_nsend and __libc_res_nquery.
55258         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
55259         additional NULL to __libc_res_nsearch.
55260         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
55261         parameter of __libc_res_nsearch to check for separately allocated
55262         second buffer.
55263         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
55264         __libc_res_nquery.
55265         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
55266         additional NULL to __libc_res_nquery.
55267         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
55268         __libc_res_nsearch.
55269         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
55270         * include/resolv.h: Update prototypes of __libc_res_nquery,
55271         __libc_res_nsearch, __libc_res_nsend.
55273 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
55275         * math/auto-libm-test-in: Add tests of fma.
55276         * math/auto-libm-test-out: Regenerated.
55277         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
55278         (fma_towardzero_test_data): Likewise.
55279         (fma_downward_test_data): Likewise.
55280         (fma_upward_test_data): Likewise.
55281         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
55282         mpc_mode.
55283         (rounding_modes): Add values for new field.
55284         (func_calc_method): Add value mpfr_fff_f.
55285         (func_calc_desc): Add mpfr_fff_f union field.
55286         (test_function): Add field exact_args.
55287         (FUNC): Add macro argument EXACT_ARGS.
55288         (FUNC_mpfr_f_f): Update call to FUNC.
55289         (FUNC_mpfr_f_f): Likewise.
55290         (FUNC_mpfr_ff_f): Likewise.
55291         (FUNC_mpfr_if_f): Likewise.
55292         (FUNC_mpc_c_f): Likewise.
55293         (FUNC_mpc_c_c): Likewise.
55294         (test_functions): Add fma.  Update calls to FUNC.
55295         (handle_input_arg): Add argument exact_args.
55296         (add_test): Update call to handle_input_arg.
55297         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
55298         (output_for_one_input_case): Update call to calc_generic_results.
55299         Recalculate exact zero results in each rounding mode.
55301         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
55302         non-negative before setting low bit.
55303         * math/auto-libm-test-in: Mark one asin test possibly having
55304         spurious underflow.
55305         * math/auto-libm-test-out: Regenerated.
55306         * sysdeps/i386/fpu/libm-test-ulps: Update.
55307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55309 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
55311         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
55312         * sysdeps/unix/sysv/linux/microblaze: Move directory from
55313         ports/sysdeps/unix/sysv/linux/microblaze.
55314         * README: Add missing listing for microblaze*-*-linux-gnu.
55316 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
55318         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
55319         duplicate code
55321 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
55323         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
55324         * sysdeps/unix/sysv/linux/ia64: Move directory from
55325         ports/sysdeps/unix/sysv/linux/ia64.
55326         * README: Update listing for ia64-*-linux-gnu.
55328 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
55329             Joseph Myers  <joseph@codesourcery.com>
55331         * Makeconfig (test-name): New variable.
55332         (evaluate-test): Likewise.
55333         * Makerules (do-test-clean): Remove .test-result files.
55334         (common-mostlyclean): Likewise.
55335         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
55336         * scripts/evaluate-test.sh: New file.
55338 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
55340         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
55341         separate $(objpfx)tst-fopenloc-cmp.out and
55342         $(objpfx)tst-fopenloc-mem.out targets.
55343         (tests): Update dependencies.
55344         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
55345         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
55346         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
55347         (tst-rxspencer-no-utf8-ARGS): New variable.
55348         (tst-rxspencer-no-utf8-ENV): Likewise.
55349         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
55350         instead of $(objpfx)tst-rxspencer-mem.
55351         ($(objpfx)tst-rxspencer-mem): Change target to
55352         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
55353         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
55354         * posix/tst-rxspencer-no-utf8.c: New file.
55356         * elf/Makefile ($(objpfx)order.out): Remove rule.
55357         [$(run-built-tests) = yes] (tests): Depend on
55358         $(objpfx)order-cmp.out.
55359         ($(objpfx)order-cmp.out): New rule.
55360         [$(run-built-tests) = yes] (tests): Depend on
55361         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
55362         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
55363         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
55364         $(objpfx)tst-array5-static-cmp.out.
55365         ($(objpfx)tst-array1.out): Remove rule.
55366         ($(objpfx)tst-array1-cmp.out): New rule.
55367         ($(objpfx)tst-array1-static.out): Remove rule.
55368         ($(objpfx)tst-array1-static-cmp.out): New rule.
55369         ($(objpfx)tst-array2.out): Remove rule.
55370         ($(objpfx)tst-array2-cmp.out): New rule.
55371         ($(objpfx)tst-array3.out): Remove rule.
55372         ($(objpfx)tst-array3-cmp.out): New rule.
55373         ($(objpfx)tst-array4.out): Remove rule.
55374         ($(objpfx)tst-array4-cmp.out): New rule.
55375         ($(objpfx)tst-array5.out): Remove rule.
55376         ($(objpfx)tst-array5-cmp.out): New rule.
55377         ($(objpfx)tst-array5-static.out): Remove rule.
55378         ($(objpfx)tst-array5-static-cmp.out): New rule.
55379         [$(run-built-tests) = yes] (tests): Depend on
55380         $(objpfx)order2-cmp.out.
55381         ($(objpfx)order2.out): Remove rule.
55382         ($(objpfx)order2-cmp.out): New rule.
55383         ($(objpfx)tst-initorder.out): Remove rule.
55384         [$(run-built-tests) = yes] (tests): Depend on
55385         $(objpfx)tst-initorder-cmp.out.
55386         ($(objpfx)tst-initorder-cmp.out): New rule.
55387         ($(objpfx)tst-initorder2.out): Remove rule.
55388         [$(run-built-tests) = yes] (tests): Depend on
55389         $(objpfx)tst-initorder2-cmp.out.
55390         ($(objpfx)tst-initorder2-cmp.out): New rule.
55391         [$(run-built-tests) = yes] (tests): Depend on
55392         $(objpfx)tst-unused-dep-cmp.out.
55393         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
55394         ($(objpfx)tst-unused-dep-cmp.out): New rule.
55395         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
55396         on $(objpfx)tst-setvbuf1-cmp.out.
55397         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
55398         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
55399         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
55400         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
55401         ($(objpfx)tst-svc.out): Remove rule.
55402         ($(objpfx)tst-svc-cmp.out): New rule.
55404 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
55406         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
55407         * ctype/ctype.h [__USE_MISC]: Likewise.
55408         * dirent/dirent.h [__USE_MISC]: Likewise.
55409         * grp/grp.h [__USE_MISC]: Likewise.
55410         * io/fcntl.h [__USE_MISC]: Likewise.
55411         * io/sys/stat.h [__USE_MISC]: Likewise.
55412         * libio/stdio.h [__USE_MISC]: Likewise.
55413         * posix/unistd.h [__USE_MISC]: Likewise.
55414         * pwd/pwd.h [__USE_MISC]: Likewise.
55415         * stdlib.h [__USE_MISC]: Likewise.
55416         * string/bits/string2.h [__USE_MISC]: Likewise.
55417         * string/string.h [__USE_MISC]: Likewise.
55418         * time/time.h [__USE_MISC]: Likewise.
55420 2014-02-13  Andreas Schwab  <schwab@suse.de>
55422         [BZ #16574]
55423         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
55424         second answer buffer if it was separately allocated.
55426 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
55428         * sysdeps/mips/math-tests.h: Include <features.h>.
55429         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55430         (ROUNDING_TESTS_long_double): Do not define.
55431         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55432         (EXCEPTION_TESTS_long_double): Likewise.
55433         * sysdeps/mips/mips64/libm-test-ulps: Update.
55435         * include/features.h (__USE_BSD): Remove macro definitions.
55436         (__USE_SVID): Likewise.
55437         (_BSD_SOURCE): Likewise.
55438         (_SVID_SOURCE): Likewise.
55439         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
55440         from definition of _DEFAULT_SOURCE.
55441         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
55442         [_DEFAULT_SOURCE].
55443         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
55444         * bits/mman.h [__USE_BSD]: Likewise.
55445         * bits/termios.h [__USE_BSD]: Likewise.
55446         * bits/waitstatus.h [__USE_BSD]: Likewise.
55447         * ctype/ctype.h [__USE_SVID]: Likewise.
55448         * dirent/dirent.h [__USE_BSD]: Likewise.
55449         * grp/grp.h [__USE_SVID]: Likewise.
55450         [__USE_BSD]: Likewise.
55451         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
55452         * io/fcntl.h [__USE_BSD]: Likewise.
55453         * io/ftw.h [__USE_BSD]: Likewise.
55454         * io/sys/stat.h [__USE_BSD]: Likewise.
55455         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
55456         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
55457         * libio/stdio.h [__USE_SVID]: Likewise.
55458         [__USE_BSD]: Likewise.
55459         * math/math.h [__USE_SVID]: Likewise.
55460         [__USE_BSD]: Likewise.
55461         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
55462         * misc/bits/syslog.h [__USE_BSD]: Likewise.
55463         * misc/search.h [__USE_SVID]: Likewise.
55464         * misc/sys/mman.h [__USE_BSD]: Likewise.
55465         * misc/sys/syslog.h [__USE_BSD]: Likewise.
55466         * misc/sys/uio.h [__USE_BSD]: Likewise.
55467         * posix/bits/unistd.h [__USE_BSD]: Likewise.
55468         * posix/glob.h [__USE_BSD]: Likewise.
55469         * posix/regex.h [__USE_BSD]: Likewise.
55470         * posix/sys/types.h [__USE_BSD]: Likewise.
55471         [__USE_SVID]: Likewise.
55472         * posix/sys/utsname.h [__USE_SVID]: Likewise.
55473         * posix/sys/wait.h [__USE_BSD]: Likewise.
55474         [__USE_SVID]: Likewise.
55475         * posix/unistd.h [__USE_BSD]: Likewise.
55476         [__USE_SVID]: Likewise.
55477         * pwd/pwd.h [__USE_SVID]: Likewise.
55478         * resolv/netdb.h [__USE_BSD]: Likewise.
55479         * setjmp/setjmp.h [__USE_BSD]: Likewise.
55480         * signal/signal.h [__USE_BSD]: Likewise.
55481         [__USE_SVID]: Likewise.
55482         * socket/sys/socket.h [__USE_BSD]: Likewise.
55483         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
55484         * stdlib/stdlib.h [__USE_BSD]: Likewise.
55485         [__USE_SVID]: Likewise.
55486         * string/bits/string2.h [__USE_BSD]: Likewise.
55487         [__USE_SVID]: Likewise.
55488         * string/bits/string3.h [__USE_BSD]: Likewise.
55489         * string/endian.h [__USE_BSD]: Likewise.
55490         * string/string.h [__USE_SVID]: Likewise.
55491         [__USE_BSD]: Likewise.
55492         * string/strings.h [__USE_BSD]: Likewise.
55493         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
55494         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
55495         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
55496         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
55497         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
55498         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
55499         Likewise.
55500         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
55501         Likewise.
55502         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
55503         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
55504         Likewise.
55505         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
55506         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
55507         Likewise.
55508         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
55509         Likewise.
55510         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
55511         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
55512         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
55513         Likewise.
55514         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
55515         Likewise.
55516         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
55517         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
55518         * termios/termios.h [__USE_BSD]: Likewise.
55519         * time/sys/time.h [__USE_BSD]: Likewise.
55520         * time/time.h [__USE_BSD]: Likewise.
55521         [__USE_SVID]: Likewise.
55523         * Makefile (subdir_targets): Remove subdir_lint.out.
55525         * stdio-common/Makefile (do-tst-unbputc): Remove target.
55526         (do-tst-printf): Likewise.
55527         (tests): Depend directly on $(objpfx)tst-unbputc.out and
55528         $(objpfx)tst-printf.out.
55530         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
55532         * Makerules (check-abi-%): Change target to
55533         $(objpfx)check-abi-%.out.
55534         (check-abi target): Update dependencies.
55535         (check-abi-pattern variable): Redirect output of diff to $@.
55536         (check-abi variable): Likewise.
55537         * elf/Makefile (check-abi): Update dependencies.
55539         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
55540         unused.
55541         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
55542         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
55543         subnormal range.
55544         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
55545         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
55546         value has largest subnormal exponent.
55547         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
55548         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
55549         * sysdeps/aarch64/soft-fp/sfp-machine.h
55550         (_FP_TININESS_AFTER_ROUNDING): New macro.
55551         * sysdeps/alpha/soft-fp/sfp-machine.h
55552         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55553         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55554         Likewise.
55555         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
55556         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55557         * sysdeps/mips/soft-fp/sfp-machine.h
55558         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55559         * sysdeps/powerpc/soft-fp/sfp-machine.h
55560         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55561         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55562         Likewise.
55563         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55564         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55565         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55566         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55567         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55568         Likewise.
55570 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
55572         [BZ #16545]
55573         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
55574         model 1.
55576 2014-02-12  Richard Henderson  <rth@redhat.com>
55578         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
55579         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
55580         * sysdeps/unix/sysv/linux/alpha: Move directory from
55581         ports/sysdeps/unix/sysv/linux/alpha.
55582         * README: Update listing for alpha-*-linux-gnu.
55584 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
55586         * include/features.h: Update comment documenting feature test
55587         macros.
55588         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
55589         _DEFAULT_SOURCE.
55590         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
55591         (_SVID_SOURCE): Likewise.
55592         (_DEFAULT_SOURCE): Update description of default features.
55593         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
55594         with _GNU_SOURCE.
55595         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
55596         (S_ISVTX): Likewise.
55597         * manual/math.texi (Mathematical Constants): Likewise.
55598         * manual/signal.texi (Interrupted Primitives): Likewise.
55599         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
55600         * math/test-matherr.c (_SVID_SOURCE): Do not define.
55601         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
55602         Don't refer to _SVID_SOURCE in warning text.
55604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55606         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
55607         already defined.
55608         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
55609         * sysdeps/mips/dl-lookup.c: Remove.
55610         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
55612 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
55614         [BZ #16447]
55615         * math/auto-libm-test-in: Add testcase for expl.
55616         * math/auto-libm-test-out: Regenerate.
55617         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
55618         calculation of unsafe.
55619         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
55621 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
55623         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
55624         * sysdeps/unix/sysv/linux/aarch64: Move directory from
55625         ports/sysdeps/unix/sysv/linux/aarch64.
55626         * README: Update listing for aarch64*-*-linux-gnu.
55628 2014-02-11  Will Newton  <will.newton@linaro.org>
55630         * manual/probes.texi (Mathematical Function Probes): Use
55631         "triggered" instead of "hit".
55633         * manual/probes.texi (Internal Probes): Add documentation
55634         of setjmp, longjmp and longjmp_target probes.
55636         * include/stap-probe.h: Add comment about probe argument
55637         format.
55639         * malloc/mtrace.c (attribute_hidden): Remove unused macro
55640         definition.  (tr_where, tr_freehook, tr_mallochook,
55641         tr_reallochook, tr_memalignhook): Use ANSI protoype.
55643 2014-02-11  David S. Miller  <davem@davemloft.net>
55645         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
55646         processing int_tests.
55648 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
55650         * sysdeps/mips: Move directory from ports/sysdeps/mips.
55651         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
55652         * sysdeps/unix/sysv/linux/mips: Move directory from
55653         ports/sysdeps/unix/sysv/linux/mips.
55654         * README: Update listing for mips-*-linux-gnu and
55655         mips64-*-linux-gnu.
55657 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
55659         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
55660         * sysdeps/unix/sysv/linux/m68k: Move directory from
55661         ports/sysdeps/unix/sysv/linux/m68k.
55662         * README: Update listing for m68k-*-linux-gnu.
55664 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
55666         * sysdeps/tile: Move directory from ports/sysdeps/tile.
55667         * sysdeps/unix/sysv/linux/generic: Move directory from
55668         ports/sysdeps/unix/sysv/linux/generic.
55669         * sysdeps/unix/sysv/linux/tile: Move directory from
55670         ports/sysdeps/unix/sysv/linux/tile.
55671         * README: Update listing for tile*-*-linux-gnu.
55673 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
55675         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
55676         __builtin_expect.
55677         * benchtests/bench-memmem.c (simple_memmem): Likewise.
55678         * catgets/open_catalog.c (__open_catalog): Likewise.
55679         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
55680         * debug/confstr_chk.c: Likewise.
55681         * debug/fread_chk.c (__fread_chk): Likewise.
55682         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
55683         * debug/getgroups_chk.c: Likewise.
55684         * debug/mbsnrtowcs_chk.c: Likewise.
55685         * debug/mbsrtowcs_chk.c: Likewise.
55686         * debug/mbstowcs_chk.c: Likewise.
55687         * debug/memcpy_chk.c: Likewise.
55688         * debug/memmove_chk.c: Likewise.
55689         * debug/mempcpy_chk.c: Likewise.
55690         * debug/memset_chk.c: Likewise.
55691         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
55692         * debug/strcat_chk.c (__strcat_chk): Likewise.
55693         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
55694         * debug/strncat_chk.c (__strncat_chk): Likewise.
55695         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
55696         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
55697         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
55698         * debug/wcpncpy_chk.c: Likewise.
55699         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
55700         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
55701         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
55702         * debug/wcsncpy_chk.c: Likewise.
55703         * debug/wcsnrtombs_chk.c: Likewise.
55704         * debug/wcsrtombs_chk.c: Likewise.
55705         * debug/wcstombs_chk.c: Likewise.
55706         * debug/wmemcpy_chk.c: Likewise.
55707         * debug/wmemmove_chk.c: Likewise.
55708         * debug/wmempcpy_chk.c: Likewise.
55709         * debug/wmemset_chk.c: Likewise.
55710         * dirent/scandirat.c (SCANDIRAT): Likewise.
55711         * dlfcn/dladdr1.c (dladdr1): Likewise.
55712         * dlfcn/dladdr.c (dladdr): Likewise.
55713         * dlfcn/dlclose.c (dlclose_doit): Likewise.
55714         * dlfcn/dlerror.c (__dlerror): Likewise.
55715         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
55716         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
55717         * dlfcn/dlopen.c (dlopen_doit): Likewise.
55718         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
55719         * dlfcn/dlsym.c (dlsym_doit): Likewise.
55720         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
55721         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
55722         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
55723         Likewise.
55724         * elf/dl-conflict.c: Likewise.
55725         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
55726         * elf/dl-dst.h: Likewise.
55727         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
55728         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
55729         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
55730         * elf/dl-init.c (call_init, _dl_init): Likewise.
55731         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
55732         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
55733         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
55734         Likewise.
55735         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
55736         Likewise.
55737         * elf/dl-minimal.c (__libc_memalign): Likewise.
55738         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
55739         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55740         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
55741         * elf/dl-sym.c (do_sym): Likewise.
55742         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
55743         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
55744         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
55745         * elf/dl-writev.h (_dl_writev): Likewise.
55746         * elf/ldconfig.c (search_dir): Likewise.
55747         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
55748         (dl_main): Likewise.
55749         * elf/setup-vdso.h (setup_vdso): Likewise.
55750         * grp/compat-initgroups.c (compat_call): Likewise.
55751         * grp/fgetgrent.c (fgetgrent): Likewise.
55752         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
55753         * grp/putgrent.c (putgrent): Likewise.
55754         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55755         Likewise.
55756         * hurd/hurdinit.c: Likewise.
55757         * iconvdata/8bit-gap.c (struct): Likewise.
55758         * iconvdata/ansi_x3.110.c : Likewise.
55759         * iconvdata/big5.c : Likewise.
55760         * iconvdata/big5hkscs.c : Likewise.
55761         * iconvdata/cp1255.c: Likewise.
55762         * iconvdata/cp1258.c : Likewise.
55763         * iconvdata/cp932.c : Likewise.
55764         * iconvdata/euc-cn.c: Likewise.
55765         * iconvdata/euc-jisx0213.c : Likewise.
55766         * iconvdata/euc-jp.c: Likewise.
55767         * iconvdata/euc-jp-ms.c : Likewise.
55768         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
55769         * iconvdata/gb18030.c : Likewise.
55770         * iconvdata/gbbig5.c (const): Likewise.
55771         * iconvdata/gbgbk.c: Likewise.
55772         * iconvdata/gbk.c : Likewise.
55773         * iconvdata/ibm1364.c : Likewise.
55774         * iconvdata/ibm930.c : Likewise.
55775         * iconvdata/ibm932.c: Likewise.
55776         * iconvdata/ibm933.c : Likewise.
55777         * iconvdata/ibm935.c : Likewise.
55778         * iconvdata/ibm937.c : Likewise.
55779         * iconvdata/ibm939.c : Likewise.
55780         * iconvdata/ibm943.c: Likewise.
55781         * iconvdata/iso_11548-1.c: Likewise.
55782         * iconvdata/iso-2022-cn.c : Likewise.
55783         * iconvdata/iso-2022-cn-ext.c : Likewise.
55784         * iconvdata/iso-2022-jp-3.c: Likewise.
55785         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
55786         * iconvdata/iso-2022-kr.c : Likewise.
55787         * iconvdata/iso646.c (gconv_end): Likewise.
55788         * iconvdata/iso_6937-2.c : Likewise.
55789         * iconvdata/iso_6937.c : Likewise.
55790         * iconvdata/iso8859-1.c: Likewise.
55791         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
55792         * iconvdata/shift_jisx0213.c : Likewise.
55793         * iconvdata/sjis.c : Likewise.
55794         * iconvdata/t.61.c : Likewise.
55795         * iconvdata/tcvn5712-1.c : Likewise.
55796         * iconvdata/tscii.c: Likewise.
55797         * iconvdata/uhc.c : Likewise.
55798         * iconvdata/unicode.c (gconv_end): Likewise.
55799         * iconvdata/utf-16.c (gconv_end): Likewise.
55800         * iconvdata/utf-32.c (gconv_end): Likewise.
55801         * iconvdata/utf-7.c (base64): Likewise.
55802         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
55803         * iconv/gconv_close.c (__gconv_close): Likewise.
55804         * iconv/gconv_open.c (__gconv_open): Likewise.
55805         * iconv/gconv_simple.c (internal_ucs4_loop_single)
55806         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
55807         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
55808         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
55809         (ucs4le_internal_loop_single): Likewise.
55810         * iconv/iconv.c (iconv): Likewise.
55811         * iconv/iconv_close.c: Likewise.
55812         * iconv/loop.c (SINGLE): Likewise.
55813         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
55814         * include/atomic.h: Likewise.
55815         * inet/inet6_option.c (option_alloc): Likewise.
55816         * intl/bindtextdom.c (set_binding_values): Likewise.
55817         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
55818         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
55819         * intl/localealias.c (read_alias_file): Likewise.
55820         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
55821         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
55822         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
55823         * libio/fmemopen.c (fmemopen): Likewise.
55824         * libio/iofgets.c (_IO_fgets): Likewise.
55825         * libio/iofgets_u.c (fgets_unlocked): Likewise.
55826         * libio/iofgetws.c (fgetws): Likewise.
55827         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
55828         * libio/iogetdelim.c (_IO_getdelim): Likewise.
55829         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
55830         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
55831         * locale/findlocale.c (_nl_find_locale): Likewise.
55832         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
55833         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
55834         Likewise.
55835         * locale/setlocale.c (setlocale): Likewise.
55836         * login/programs/pt_chown.c (main): Likewise.
55837         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
55838         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
55839         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
55840         (mmap, mmap64, mremap, munmap): Likewise.
55841         * math/e_exp2l.c: Likewise.
55842         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
55843         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
55844         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
55845         * math/s_catan.c (__catan): Likewise.
55846         * math/s_catanf.c (__catanf): Likewise.
55847         * math/s_catanh.c (__catanh): Likewise.
55848         * math/s_catanhf.c (__catanhf): Likewise.
55849         * math/s_catanhl.c (__catanhl): Likewise.
55850         * math/s_catanl.c (__catanl): Likewise.
55851         * math/s_ccosh.c (__ccosh): Likewise.
55852         * math/s_ccoshf.c (__ccoshf): Likewise.
55853         * math/s_ccoshl.c (__ccoshl): Likewise.
55854         * math/s_cexp.c (__cexp): Likewise.
55855         * math/s_cexpf.c (__cexpf): Likewise.
55856         * math/s_cexpl.c (__cexpl): Likewise.
55857         * math/s_clog10.c (__clog10): Likewise.
55858         * math/s_clog10f.c (__clog10f): Likewise.
55859         * math/s_clog10l.c (__clog10l): Likewise.
55860         * math/s_clog.c (__clog): Likewise.
55861         * math/s_clogf.c (__clogf): Likewise.
55862         * math/s_clogl.c (__clogl): Likewise.
55863         * math/s_csin.c (__csin): Likewise.
55864         * math/s_csinf.c (__csinf): Likewise.
55865         * math/s_csinh.c (__csinh): Likewise.
55866         * math/s_csinhf.c (__csinhf): Likewise.
55867         * math/s_csinhl.c (__csinhl): Likewise.
55868         * math/s_csinl.c (__csinl): Likewise.
55869         * math/s_csqrt.c (__csqrt): Likewise.
55870         * math/s_csqrtf.c (__csqrtf): Likewise.
55871         * math/s_csqrtl.c (__csqrtl): Likewise.
55872         * math/s_ctan.c (__ctan): Likewise.
55873         * math/s_ctanf.c (__ctanf): Likewise.
55874         * math/s_ctanh.c (__ctanh): Likewise.
55875         * math/s_ctanhf.c (__ctanhf): Likewise.
55876         * math/s_ctanhl.c (__ctanhl): Likewise.
55877         * math/s_ctanl.c (__ctanl): Likewise.
55878         * math/w_pow.c: Likewise.
55879         * math/w_powf.c: Likewise.
55880         * math/w_powl.c: Likewise.
55881         * math/w_scalb.c (sysv_scalb): Likewise.
55882         * math/w_scalbf.c (sysv_scalbf): Likewise.
55883         * math/w_scalbl.c (sysv_scalbl): Likewise.
55884         * misc/error.c (error_tail): Likewise.
55885         * misc/pselect.c (__pselect): Likewise.
55886         * nis/nis_callback.c (__nis_create_callback): Likewise.
55887         * nis/nis_call.c (__nisfind_server): Likewise.
55888         * nis/nis_creategroup.c (nis_creategroup): Likewise.
55889         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
55890         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
55891         * nis/nis_getservlist.c (nis_getservlist): Likewise.
55892         * nis/nis_lookup.c (nis_lookup): Likewise.
55893         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
55894         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
55895         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
55896         * nis/nis_xdr.c (xdr_endpoint): Likewise.
55897         * nis/nss_compat/compat-grp.c (getgrent_next_file)
55898         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
55899         * nis/nss_compat/compat-initgroups.c (add_group)
55900         (internal_getgrent_r): Likewise.
55901         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
55902         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
55903         * nis/nss_compat/compat-spwd.c (getspent_next_file)
55904         (internal_getspnam_r): Likewise.
55905         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
55906         (_nss_nis_getaliasbyname_r): Likewise.
55907         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
55908         (_nss_nis_getntohost_r): Likewise.
55909         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
55910         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
55911         (_nss_nis_getgrgid_r): Likewise.
55912         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
55913         (internal_nis_gethostent_r, internal_gethostbyname2_r)
55914         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
55915         (_nss_nis_gethostbyname4_r): Likewise.
55916         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
55917         (initgroups_netid): Likewise.
55918         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
55919         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
55920         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
55921         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
55922         (_nss_nis_getprotobynumber_r): Likewise.
55923         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
55924         (_nss_nis_getsecretkey): Likewise.
55925         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
55926         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
55927         (_nss_nis_getpwuid_r): Likewise.
55928         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
55929         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
55930         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
55931         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
55932         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
55933         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
55934         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
55935         Likewise.
55936         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
55937         (_nss_nisplus_getntohost_r): Likewise.
55938         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
55939         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
55940         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
55941         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
55942         Likewise.
55943         * nis/nss_nisplus/nisplus-initgroups.c
55944         (_nss_nisplus_initgroups_dyn): Likewise.
55945         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
55946         (_nss_nisplus_getnetbyaddr_r): Likewise.
55947         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
55948         (_nss_nisplus_getprotobynumber_r): Likewise.
55949         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
55950         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
55951         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
55952         Likewise.
55953         * nis/nss_nisplus/nisplus-service.c
55954         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
55955         (_nss_nisplus_getservbyport_r): Likewise.
55956         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
55957         (_nss_nisplus_getspnam_r): Likewise.
55958         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
55959         Likewise.
55960         * nscd/aicache.c (addhstaiX): Likewise.
55961         * nscd/cache.c (cache_search, prune_cache): Likewise.
55962         * nscd/connections.c (register_traced_file, send_ro_fd)
55963         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
55964         (main_loop_epoll): Likewise.
55965         * nscd/grpcache.c (addgrbyX): Likewise.
55966         * nscd/hstcache.c (addhstbyX): Likewise.
55967         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55968         * nscd/mem.c (gc, mempool_alloc): Likewise.
55969         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
55970         (addinnetgrX): Likewise.
55971         * nscd/nscd-client.h (__nscd_acquire_maplock)
55972         (__nscd_drop_map_ref): Likewise.
55973         * nscd/nscd_getai.c (__nscd_getai): Likewise.
55974         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
55975         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
55976         Likewise.
55977         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
55978         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55979         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
55980         (__nscd_get_map_ref): Likewise.
55981         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
55982         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
55983         Likewise.
55984         * nscd/pwdcache.c (addpwbyX): Likewise.
55985         * nscd/selinux.c (preserve_capabilities): Likewise.
55986         * nscd/servicescache.c (addservbyX): Likewise.
55987         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
55988         * posix/fnmatch.c (fnmatch): Likewise.
55989         * posix/getopt.c (_getopt_internal_r): Likewise.
55990         * posix/glob.c (glob, glob_in_dir): Likewise.
55991         * posix/wordexp.c (exec_comm_child): Likewise.
55992         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
55993         (getanswer_r, gaih_getanswer_slice): Likewise.
55994         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
55995         * resolv/res_init.c: Likewise.
55996         * resolv/res_mkquery.c (res_nmkquery): Likewise.
55997         * resolv/res_query.c (__libc_res_nquery): Likewise.
55998         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
55999         Likewise.
56000         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
56001         * stdio-common/perror.c (perror): Likewise.
56002         * stdio-common/printf_fp.c (___printf_fp): Likewise.
56003         * stdio-common/tmpnam.c (tmpnam): Likewise.
56004         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56005         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
56006         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
56007         Likewise.
56008         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
56009         * stdlib/putenv.c (putenv): Likewise.
56010         * stdlib/setenv.c (__add_to_environ): Likewise.
56011         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56012         * stdlib/strtol_l.c (INTERNAL): Likewise.
56013         * string/memmem.c (memmem): Likewise.
56014         * string/strerror.c (strerror): Likewise.
56015         * string/strnlen.c (__strnlen): Likewise.
56016         * string/test-memmem.c (simple_memmem): Likewise.
56017         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
56018         * sunrpc/pm_getport.c (__get_socket): Likewise.
56019         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
56020         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
56021         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
56022         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
56023         Likewise.
56024         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
56025         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
56026         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
56027         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
56028         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
56029         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
56030         Likewise.
56031         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
56032         Likewise.
56033         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
56034         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
56035         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56036         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
56037         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
56038         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
56039         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
56040         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
56041         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
56042         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
56043         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56044         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
56045         Likewise.
56046         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
56047         Likewise.
56048         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
56049         Likewise.
56050         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
56051         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56052         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
56053         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
56054         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
56055         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
56056         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56057         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
56058         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
56059         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
56060         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
56061         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56062         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
56063         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
56064         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56065         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
56066         Likewise.
56067         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
56068         Likewise.
56069         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
56070         Likewise.
56071         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
56072         Likewise.
56073         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56074         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56075         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
56076         Likewise.
56077         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
56078         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
56079         * sysdeps/posix/opendir.c (__opendirat): Likewise.
56080         * sysdeps/posix/sleep.c: Likewise.
56081         * sysdeps/posix/tempname.c: Likewise.
56082         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
56083         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56084         Likewise.
56085         * sysdeps/powerpc/powerpc32/dl-machine.h
56086         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
56087         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
56088         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56089         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
56090         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
56091         Likewise.
56092         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
56093         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
56094         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
56095         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
56096         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
56097         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
56098         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
56099         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
56100         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56101         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
56102         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
56103         (elf_machine_lazy_rel): Likewise.
56104         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56105         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
56106         (elf_machine_lazy_rel): Likewise.
56107         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
56108         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
56109         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
56110         * sysdeps/unix/grantpt.c (grantpt): Likewise.
56111         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
56112         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
56113         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
56114         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56115         Likewise.
56116         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
56117         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
56118         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
56119         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
56120         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56121         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56122         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
56123         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
56124         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
56125         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56126         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56127         Likewise.
56128         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
56129         (__posix_fallocate64_l64): Likewise.
56130         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
56131         (posix_fallocate): Likewise.
56132         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
56133         Likewise.
56134         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56135         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
56136         (getifaddrs_internal): Likewise.
56137         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
56138         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
56139         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
56140         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
56141         * sysdeps/unix/sysv/linux/posix_fallocate64.c
56142         (__posix_fallocate64_l64): Likewise.
56143         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
56144         Likewise.
56145         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
56146         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
56147         (__get_clockfreq): Likewise.
56148         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
56149         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
56150         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
56151         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56152         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56153         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
56154         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
56155         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
56156         Likewise.
56157         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
56158         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
56159         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
56160         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
56161         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56162         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
56163         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
56164         Likewise.
56165         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56166         (posix_fallocate): Likewise.
56167         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56168         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
56169         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
56170         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
56171         (elf_machine_rela, elf_machine_rela_relative)
56172         (elf_machine_lazy_rel): Likewise.
56173         * time/asctime.c (asctime_internal): Likewise.
56174         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
56175         * time/tzset.c (__tzset_parse_tz): Likewise.
56176         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
56177         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
56178         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
56179         * wcsmbs/wcsmbsload.h: Likewise.
56181         [BZ #15894]
56182         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
56184         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
56185         (arena_get2): Remove THREAD_STATS conditionals.
56186         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
56187         (__malloc_stats, int): Likewise.
56189 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
56191         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
56192         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
56194         * manual/setjmp.texi: Fix typos/grammar errors.
56196         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
56197         Only return early when n is <= 0.  Delete unused return statement.
56199         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
56200         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
56201         * debug/tst-longjmp_chk3.c: New file.
56203         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
56204         (test_main): Replace code with set_fortify_handler call.
56205         * debug/test-strcpy_chk.c: Likewise.
56206         * debug/tst-chk1.c: Likewise.
56207         * debug/tst-longjmp_chk.c: Likewise.
56208         * test-skeleton.c: Include fcntl.h & paths.h
56209         (set_fortify_handler): Define.
56211         * debug/tst-longjmp_chk.c: Add header comment and include
56212         ../test-skeleton.c.
56213         (do_test): Mark static.
56214         (TEST_FUNCTION): Define.
56216         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
56217         (IP_PMTUDISC_INTERFACE): Likewise.
56218         (IP_MULTICAST_IF): Likewise.
56219         (IP_MULTICAST_TTL): Likewise.
56220         (IP_MULTICAST_LOOP): Likewise.
56221         (IP_ADD_MEMBERSHIP): Likewise.
56222         (IP_DROP_MEMBERSHIP): Likewise.
56223         (IP_UNBLOCK_SOURCE): Likewise.
56224         (IP_BLOCK_SOURCE): Likewise.
56225         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
56226         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
56227         (IP_MSFILTER): Likewise.
56228         (MCAST_JOIN_GROUP): Likewise.
56229         (MCAST_BLOCK_SOURCE): Likewise.
56230         (MCAST_UNBLOCK_SOURCE): Likewise.
56231         (MCAST_LEAVE_GROUP): Likewise.
56232         (MCAST_JOIN_SOURCE_GROUP): Likewise.
56233         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
56234         (MCAST_MSFILTER): Likewise.
56235         (IP_MULTICAST_ALL): Likewise.
56236         (IP_UNICAST_IF): Likewise.
56238         * timezone/Makefile: Delete $(have-ksh) check.
56239         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
56240         * timezone/tzselect.ksh: Add +x mode bits.
56242         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
56243         (ANON_INODE_FS_MAGIC): Likewise.
56244         (BDEVFS_MAGIC): Likewise.
56245         (BINFMTFS_MAGIC): Likewise.
56246         (BTRFS_TEST_MAGIC): Likewise.
56247         (CRAMFS_MAGIC_WEND): Likewise.
56248         (DEBUGFS_MAGIC): Likewise.
56249         (ECRYPTFS_SUPER_MAGIC): Likewise.
56250         (EXT3_SUPER_MAGIC): Likewise.
56251         (EXT4_SUPER_MAGIC): Likewise.
56252         (FUTEXFS_SUPER_MAGIC): Likewise.
56253         (HOSTFS_SUPER_MAGIC): Likewise.
56254         (HUGETLBFS_MAGIC): Likewise.
56255         (MINIX3_SUPER_MAGIC): Likewise.
56256         (MTD_INODE_FS_MAGIC): Likewise.
56257         (NILFS_SUPER_MAGIC): Likewise.
56258         (OPENPROM_SUPER_MAGIC): Likewise.
56259         (PIPEFS_MAGIC): Likewise.
56260         (PSTOREFS_MAGIC): Likewise.
56261         (QNX6_SUPER_MAGIC): Likewise.
56262         (RAMFS_MAGIC): Likewise.
56263         (REISERFS_SUPER_MAGIC_STRING): Likewise.
56264         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
56265         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
56266         (SECURITYFS_MAGIC): Likewise.
56267         (SELINUX_MAGIC): Likewise.
56268         (SMACK_MAGIC): Likewise.
56269         (SOCKFS_MAGIC): Likewise.
56270         (SQUASHFS_MAGIC): Likewise.
56271         (STACK_END_MAGIC): Likewise.
56272         (TMPFS_MAGIC): Likewise.
56273         (USBDEVICE_SUPER_MAGIC): Likewise.
56274         (V9FS_MAGIC): Likewise.
56275         (XENFS_SUPER_MAGIC): Likewise.
56276         (CRAMFS_MAGIC): Fix typo in comment.
56277         (EXT2_SUPER_MAGIC): Update comment.
56278         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
56280 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
56282         * sysdeps/arm: Move directory from ports/sysdeps/arm.
56283         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
56284         * sysdeps/unix/sysv/linux/arm: Move directory from
56285         ports/sysdeps/unix/sysv/linux/arm.
56286         * README: Update listing for arm-*-linux-gnueabi.
56288         * README: Remove mention of am33.
56290 2014-02-07  Roland McGrath  <roland@hack.frob.com>
56292         * bits/sigset.h (__sigemptyset): Use a statement expression rather
56293         than the comma operator, to avoid "rhs of comma has no effect"
56294         compiler warnings.
56295         (__sigfillset, __sigandset, __sigorset): Likewise.
56296         * include/signal.h (__sigemptyset): Likewise.
56297         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
56299 2014-02-07  Allan McRae  <allan@archlinux.org>
56301         * version.h (RELEASE): Set to "development".
56302         (VERSION): Set to "2.19.90"
56303         * NEWS: Add 2.20 section.
56305 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
56307         [BZ #16529]
56308         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
56310 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56312         * manual/contrib.texi: Update entry for Carlos O'Donell,
56313         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
56315 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
56317         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
56319         * sysdeps/unix/sysv/linux/kernel-features.h
56320         [__LINUX_KERNEL_VERSION >= 0x020621]
56321         (__ASSUME_PROC_PID_TASK_COMM): Define.
56323 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56325         [BZ #16398]
56326         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
56327         conversion when destination buffer does not have enough space.
56328         * libio/tst-ftell-partial-wide.c: New test case.
56329         * libio/Makefile (tests): Add tst-ftell-partial-wide.
56331         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
56332         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
56333         Leonard and Allan McRae.
56335 2014-02-04  David S. Miller  <davem@davemloft.net>
56337         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
56338         32-bit.
56340 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
56343         New file
56344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
56345         New file
56346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
56347         New file.
56348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
56349         New file.
56350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
56351         New file.
56352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
56353         New file.
56354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
56355         New file.
56356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
56357         New file.
56358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
56359         New file.
56360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
56361         New file.
56362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
56363         New file.
56364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
56365         New file.
56366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
56367         New file.
56369 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56371         * nptl/shlib-versions: Change powerpc*le start to 2.17.
56372         * shlib-versions: Likewise.
56374 2014-02-04  Roland McGrath  <roland@hack.frob.com>
56375             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56377         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
56378         (abilist-pattern): New variable, set to %-le.abilist.
56380         * Makerules (abilist-pattern): New variable.
56381         (vpath): Use $(abilist-pattern) in place of %.abilist.
56382         (check-abi-% pattern rule): Likewise.
56383         (check-abi, update-abi): Likewise.
56385 2014-02-04  Eric Wong  <normalperson@yhbt.net>
56387         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56389 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
56391         * manual/startup.texi: Add next, previous, and top entries for
56392         the `Program Arguments' and `Environment Variables' nodes.
56394 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
56396         * manual/macros.texi: Add comments before MTASC-safety macros.
56398         * manual/users.texi: Document MTASC-safety properties.
56400         * manual/threads.texi (pthread_key_create, pthread_key_delete)
56401         (pthread_getspecific, pthread_setspecific): Format with
56402         @deftypefun, and add @safety note.
56403         * manual/signal.texi: Move comments that analyze the above
56404         functions to their home place.
56406 2014-02-03  Allan McRae  <allan@archlinux.org>
56408         * po/sl.po: Update Slovenian translation from translation project.
56410 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
56412         * manual/time.texi (timegm): Add missing blank after @c.
56413         Reported by Joseph Myers <joseph@codesourcery.com>.
56415 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
56417         * manual/check-safety.sh: New.
56418         * manual/Makefile ($(objpfx)stamp-summary): Run it.
56420         * manual/terminal.texi: Document MTASC-safety properties.
56422         * manual/filesys.texi: Document MTASC-safety properties.
56424         * manual/errno.texi: Document MTASC-safety properties.
56426         * manual/intro.texi: Document safety identifiers and
56427         conditionals.
56429         * manual/string.texi (wcstok): Fix prototype.
56430         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
56432         * manual/time.texi: Document MTASC-safety properties.
56434         * manual/string.texi: Document MTASC-safety properties.
56436         * manual/threads.texi: Document MTASC-safety properties.
56438         * manual/stdio.texi: Document MTASC-safety properties.
56440         * manual/syslog.texi: Document MTASC-safety properties.
56442         * manual/sysinfo.texi: Document MTASC-safety properties.
56444         * manual/startup.texi: Document MTASC-safety properties.
56446         * manual/socket.texi: Document MTASC-safety properties.
56448         * manual/signal.texi: Document MTASC-safety properties.
56450 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
56452         * manual/setjmp.texi: Document MTASC-safety properties.
56454         * manual/search.texi: Document MTASC-safety properties.
56456         * manual/resource.texi: Document MTASC-safety properties.
56458         * manual/process.texi: Document MTASC-safety properties.
56460         * manual/platform.texi: Document MTASC-safety properties.
56462         * manual/pipe.texi: Document MTASC-safety properties.
56464         * manual/pattern.texi: Document MTASC-safety properties.
56466         * manual/message.texi: Document MTASC-safety properties.
56468         [BZ #12751]
56469         * manual/memory.texi: Document MTASC-safety properties.
56471         * manual/math.texi: Document MTASC-safety properties.
56473         * manual/locale.texi: Document MTASC-safety properties.
56475         * manual/llio.texi: Document MTASC-safety properties.
56477         * manual/libdl.texi: New.
56479         * manual/lang.texi: Document MTASC-safety properties.
56481         * manual/job.texi: Document MTASC-safety properties.
56483         * manual/getopt.texi: Document MTASC-safety properties.
56485         * manual/ctype.texi: Document MTASC-safety properties.
56487 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
56489         [BZ #16046]
56490         * csu/libc-tls.c (static_map): Remove variable.
56491         (__libc_setup_tls): Use main executable's link map for TLS data.
56492         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
56493         casing for LM_ID_BASE and GL(dl_nns).
56494         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
56495         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
56496         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
56497         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
56498         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
56499         member.
56500         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
56501         l_phnum members.
56503 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
56505         * manual/debug.texi: Document MTASC-safety properties.
56507 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
56509         [BZ #16510]
56510         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
56511         of __x86_64__ when disabling x87 inline functions.
56513 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
56515         * manual/charset.texi: Document MTASC-safety properties.
56517         * manual/crypt.texi: Document MTASC-safety properties.
56519         * manual/conf.texi: Document MTASC-safety properties.
56521         * manual/arith.texi: Document MTASC-safety properties.
56523         * manual/argp.texi: Document MTASC-safety properties.
56525         * manual/macros.texi: Introduce macros to document multi
56526         thread, asynchronous signal and asynchronous cancellation
56527         safety properties.
56528         * manual/intro.texi: Introduce the properties themselves.
56530 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56532         * sysdeps/sh/sh4/Makefile: New file.
56534 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
56536         * math/gen-libm-test.pl ($srcdir): New variable.
56537         ($auto_input): Use it.
56539 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56541         [BZ #16506]
56542         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
56543         access beyond array bounds when parsing netgroups file.
56545         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
56546         the old buffer before realloc.
56548 2014-01-27  Allan McRae  <allan@archlinux.org>
56550         * po/fr.po: Update French translation from translation project.
56552 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56554         * sysdeps/sh/libm-test-ulps: Regenerate.
56556 2014-01-24  David S. Miller  <davem@davemloft.net>
56558         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
56560 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56562         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
56563         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
56565 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56567         [BZ #16474]
56568         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
56569         string pointers after reallocation.
56571 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56573         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
56574         __SH4A__ instead of __SH_FPU_ANY__.
56576 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56578         * sysdeps/sh/fpu_control.h: New file.
56579         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
56580         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
56581         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
56582         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
56583         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
56584         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
56585         * sysdeps/sh/sys/ucontext.h: Remove.
56586         * sysdeps/sh/sys: Remove directory.
56588 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56590         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
56591         s390/sys/ucontext.h.
56592         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
56593         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
56595 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
56597         [BZ #15605]
56598         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
56600 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56602         [BZ #16431]
56603         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56604         Adjust the vDSO correctly for internal calls.
56605         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
56607 2014-01-20  Allan McRae  <allan@archlinux.org>
56609         * po/ca.po: Update Catalan translation from translation project.
56611 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
56613         * sysdeps/s390/sotruss-lib.c: New file.
56615 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56617         [BZ #16430]
56618         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
56619         (__GI___gettimeofday): Alias for a different internal symbol to avoid
56620         local calls issues by not having a PLT stub required for IFUNC calls.
56621         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
56623 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
56625         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
56626         * math/test-fpucw-static.c: Likewise.
56628 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56630         [BZ #16453]
56631         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
56633 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56635         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
56636         implementation for powerpc.
56638 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
56640         [BZ #14782]
56641         * sysdeps/posix/system.c (__libc_system): Do not enable
56642         asynchronous cancellation.
56644 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56646         [BZ #16427]
56647         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
56648         handling only for numbers special also in the IEEE case.
56650 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56652         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56654 2014-01-11  Allan McRae  <allan@archlinux.org>
56656         * po/bg.po: Update Bulgarian translation from translation project.
56658         * po/de.po: Update German translation from translation project.
56660 2014-01-10  Roland McGrath  <roland@hack.frob.com>
56662         * sysdeps/generic/gcc-compat.h: New file.
56664 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56666         * benchtests/asin-inputs: Correct slow inputs.
56667         * benchtests/acos-inputs: Likewise.
56669 2014-01-10  Allan McRae  <allan@archlinux.org>
56671         * po:sv.po: Update Swedish translation from translation project.
56673         * po/vi.po: Update Vietnamese translation from translation project.
56675         * po/eo.po: Update Esperanto translation from translation project.
56677         * po/cs.po: Update Czech translation from translation project.
56679         * po/nl.po: Update Dutch translation from translation project.
56681         * po/pl.po: Update Polish translation from translation project.
56683         * po/ru.po: Update Russian translation from translation project.
56685         * po/uk.po: Update Ukrainian translation from translation project.
56687 2014-01-08  Brooks Moses  <bmoses@google.com>
56689         * elf/dl-load.c: Fix comment typo.
56691 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
56693         * po/header.pot: Rename to...
56694         * po/pot.header: ... this.
56695         * po/Makefile: Use pot.header.
56697 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
56698             Maxim Kuvyrkov  <maxim@kugelworks.com>
56700         [BZ #16394]
56701         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
56702         SRC and DEST against LEN.
56704 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56706         [BZ #16414]
56707         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
56708         implementation.
56709         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
56711 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56715 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
56717         [BZ #16408]
56718         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
56719         for large positive arguments.
56721 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
56723         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56725         * math/auto-libm-test-in: Mark various tests with
56726         xfail-rounding:ldbl-128ibm.
56727         * math/auto-libm-test-out: Regenerated.
56729         [BZ #16407]
56730         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
56731         Increase overflow threshold.
56733 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
56735         [BZ #14286]
56736         * stdio-common/vfprintf.c: Check for integer overflow.
56738 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56740         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
56741         the first argument and return value of __tls_get_addr_internal.
56743 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56745         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
56746         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
56748 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56750         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
56751         * sysdeps/s390/rtld-global-offsets.sym: New file.
56752         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
56753         GLIBC_2.19 symbol.
56754         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
56755         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
56756         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
56757         ... this.
56758         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
56759         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
56760         ... this.
56761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56762         Regenerate.
56763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56764         Regenerate.
56765         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
56766         halfs of GPRs for high_gprs contexts.
56767         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
56768         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
56769         field.
56770         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
56771         uc_flags field.
56772         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
56773         64 bit versions:
56774         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
56775         for high GPRs (uc_high_gprs) and for future extensions
56776         (__reserved).
56777         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
56778         for future extensions (__reserved).
56779         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
56780         64 bit versions:
56781         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
56782         SC_HIGHGPRS offset definition.
56783         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
56784         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
56786         * Versions.def: Add GLIBC_2.19 for libpthread.
56787         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
56788         siglongjmp for libpthread with GLIBC_2.19 symver.
56789         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
56790         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
56791         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
56792         * sysdeps/s390/__longjmp.c: New file.
56793         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
56794         * sysdeps/s390/longjmp.c: New file.
56795         * sysdeps/s390/setjmp.S: New file.
56796         * sysdeps/s390/sigjmp.S: New file.
56797         * sysdeps/s390/v1-longjmp.c: New file.
56798         * sysdeps/s390/v1-setjmp.h: New file.
56799         * sysdeps/s390/v1-sigjmp.c: New file.
56800         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
56801         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
56802         GLIBC_2.19 version.
56803         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
56804         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
56805         versioned symbols for ____longjmp_chk.
56806         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
56807         Likewise.
56808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56809         Regenerate.
56810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56811         Regenerate.
56812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56813         Regenerate.
56814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56815         Regenerate.
56816         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
56817         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
56818         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
56819         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
56820         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
56821         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
56822         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
56823         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
56824         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
56825         * sysdeps/s390/rtld-__longjmp.c: New file.
56826         * sysdeps/s390/rtld-setjmp.S: New file.
56828 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
56830         [BZ #16400]
56831         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56832         Return -__logl (x) for small positive arguments without evaluating
56833         a polynomial.
56835 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
56837         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
56838         Rename to ...
56839         (__ptrace_peeksiginfo_args): ... this.
56840         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56841         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56842         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56844 2014-01-06  Allan McRae  <allan@archlinux.org>
56846         * inet/netinet/in.h: Fix typo in comment.
56848 2014-01-05  Andreas Jaeger  <aj@suse.de>
56850         * sysdeps/i386/fpu/libm-test-ulps: Update.
56852 2014-01-05  Allan McRae  <allan@archlinux.org>
56854         * po/libc.pot: Regenerated.
56856         * malloc/memusagestat.c: Fix gettext call formatting.
56858 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
56860         * nscd/nscd.c: Improve usage() output.
56862 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
56864         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
56865         * sysdeps/unix/sysv/linux/configure: Regenerated.
56866         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
56867         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
56869 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
56871         [BZ #16390]
56872         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56873         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
56875 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56877         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
56878         extra tokens at end of #undef directive.
56879         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
56880         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
56881         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
56883 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
56885         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56887         * math/auto-libm-test-in: Mark various tests with
56888         xfail-rounding:ldbl-128ibm.
56889         * math/auto-libm-test-out: Regenerated.
56891 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
56893         [BZ #16386]
56894         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
56895         numbers with subnormal high part when calculating exponent.
56897         [BZ #16385]
56898         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
56899         fabs.
56901         [BZ #16384]
56902         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
56903         M_LN2l.
56904         (__ieee754_acoshl): Use __log1pl not __log1p.
56906 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
56908         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
56909         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
56910         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
56911         (grow_heap, heap_trim, _int_new_arena, get_free_list)
56912         (reused_arena, arena_get2): Convert to GNU style.
56913         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
56914         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
56915         (memalign_check, __malloc_set_state): Likewise.
56916         * malloc/mallocbug.c (main): Likewise.
56917         * malloc/malloc.c (__malloc_assert, malloc_init_state)
56918         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
56919         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
56920         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
56921         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
56922         (__posix_memalign, malloc_info): Likewise.
56923         * malloc/malloc.h: Likewise.
56924         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
56925         (mallochook, memalignhook, reallochook, mabort): Likewise.
56926         * malloc/mcheck.h: Likewise.
56927         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
56928         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
56929         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
56930         * malloc/morecore.c (__default_morecore): Likewise.
56931         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
56932         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
56933         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
56934         (print_and_abort): Likewise.
56935         * malloc/obstack.h: Likewise.
56936         * malloc/set-freeres.c (__libc_freeres): Likewise.
56937         * malloc/tst-mallocstate.c (main): Likewise.
56938         * malloc/tst-mtrace.c (main): Likewise.
56939         * malloc/tst-realloc.c (do_test): Likewise.
56941 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56943         [BZ #16366]
56944         * nscd/netgroupcache.c (do_notfound): New function.
56945         (addgetnetgrentX): Use it.
56947         [BZ # 16365]
56948         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
56949         NSS_STATUS_NOTFOUND.
56951 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
56953         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
56954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56956 2014-01-01  Allan McRae  <allan@archlinux.org>
56958         * scripts/update-copyrights: Update configure input file suffix.
56960         * NEWS: Update copyright year.
56961         * catgets/gencat.c: Likewise.
56962         * csu/version.c: Likewise.
56963         * debug/catchsegv.sh: Likewise.
56964         * debug/pcprofiledump.c: Likewise.
56965         * debug/xtrace.sh: Likewise.
56966         * elf/ldconfig.c: Likewise.
56967         * elf/ldd.bash.in: Likewise.
56968         * elf/pldd.c: Likewise.
56969         * elf/sotruss.ksh: Likewise.
56970         * elf/sprof.c: Likewise.
56971         * iconv/iconv_prog.c: Likewise.
56972         * iconv/iconvconfig.c: Likewise.
56973         * locale/programs/locale.c: Likewise.
56974         * locale/programs/localedef.c: Likewise.
56975         * login/programs/pt_chown.c: Likewise.
56976         * malloc/memusage.sh: Likewise.
56977         * malloc/memusagestat.c: Likewise.
56978         * malloc/mtrace.pl: Likewise.
56979         * manual/libc.texinfo: Likewise.
56980         * nscd/nscd.c: Likewise.
56981         * nss/getent.c: Likewise.
56982         * nss/makedb.c: Likewise.
56983         * posix/getconf.c: Likewise.
56984         * scripts/test-installation.pl: Likewise.
56986         * All files with FSF copyright notices: Update copyright dates
56987         using scripts/update-copyrights.
56988         * intl/plural.c: Regenerated.
56989         * locale/programs/charmap-kw.h: Likewise.
56990         * locale/programs/locfile-kw.h: Likewise.
56992 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
56994         * sysdeps/unix/sysv/linux/configure: Regenerated.
56995         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
56996         the linux/fanotify.h header.
56997         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
56998         HAVE_LINUX_FANOTIFY_H is defined.
57000 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57002         * benchtests/cos-inputs: New inputs.
57003         * benchtests/sin-inputs: Likewise.
57005         * benchtests/atan-inputs: New inputs. Fix name of multiple
57006         precision fallback inputs.
57008         * benchtests/atanh-inputs: New inputs.
57009         * benchtests/tanh-inputs: Likewise.
57011         * benchtests/acosh-inputs: New inputs.
57012         * benchtests/asinh-inputs: Likewise.
57014         * benchtests/cosh-inputs: New inputs.
57015         * benchtests/sinh-inputs: Likewise.
57017         * benchtests/acos-inputs: Add more inputs.
57018         * benchtests/asin-inputs: Likewise.
57020 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
57022         [BZ #16375]
57023         * manual/arith.texi: Fix spelling.
57024         * manual/charset.texi: Likewise.
57025         * manual/errno.texi: Likewise.
57026         * manual/filesys.texi: Likewise.
57027         * manual/lang.texi: Likewise.
57028         * manual/llio.texi: Likewise.
57029         * manual/locale.texi: Likewise.
57030         * manual/message.texi: Likewise.
57031         * manual/resource.texi: Likewise.
57032         * manual/search.texi: Likewise.
57033         * manual/setjmp.texi: Likewise.
57034         * manual/stdio.texi: Likewise.
57035         * manual/string.texi: Likewise.
57036         * manual/sysinfo.texi: Likewise.
57037         * manual/time.texi: Likewise.
57039 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
57041         * po/sl.po: New file.
57043 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
57045         * .gitignore: Add core/.gdbinit/.gdb_history.
57047 2013-12-27  Allan McRae  <allan@archlinux.org>
57049         [BZ #16369]
57050         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
57051         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
57053 2013-12-24  Brooks Moses  <bmoses@google.com>
57055         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
57056         all compilers that claim C++98 compliance, not just GCC.
57057         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
57058         Likewise.
57060 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
57062         * NEWS: Restore accidentally deleted bug-fix entries.
57064 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
57065             Ondřej Bílka  <neleai@seznam.cz>
57067         [BZ #15073]
57068         * malloc/malloc.c (_int_free): Perform sanity check only if we
57069         have_lock.
57071 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
57073         [BZ #12986]
57074         * manual/stdio.texi (String Input Conversions): Clarify that character
57075         classes are not supported.
57077 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57081 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
57083         [BZ #16337]
57084         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
57085         Calculate results for small negative arguments directly rather
57086         than using reflection formula with special underflow handling.
57088         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
57089         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
57090         sysdeps/unix/bsd/bsd4.4/syscalls.list.
57091         (fchflags): Likewise.
57092         (revoke): Likewise.
57093         (setlogin): Likewise.
57094         (sigaltstack): Likewise.
57095         (wait4): Likewise.
57096         (sigblock): Remove.
57097         (sigsetmask): Likewise.
57098         (wait3): Likewise.
57099         (waitpid): Likewise.
57100         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
57101         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
57102         file.
57103         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
57104         * sysdeps/unix/bsd/Makefile: ... here.
57105         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
57106         * sysdeps/unix/bsd/Versions: ... here.
57107         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
57108         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
57109         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
57110         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
57111         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
57112         * sysdeps/unix/bsd/sigblock.c: ... here.
57113         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
57114         * sysdeps/unix/bsd/sigsetmask.c: ... here.
57115         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
57116         * sysdeps/unix/bsd/sigvec.c: ... here.
57117         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
57118         * sysdeps/unix/bsd/tcdrain.c: ... here.
57119         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
57120         * sysdeps/unix/bsd/tcgetattr.c: ... here.
57121         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
57122         * sysdeps/unix/bsd/tcsetattr.c: ... here.
57123         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
57124         * sysdeps/unix/bsd/wait.c: ... here.
57125         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
57126         * sysdeps/unix/bsd/wait3.c: ... here.
57127         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
57128         * sysdeps/unix/bsd/waitpid.c: ... here.
57130 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
57132         [BZ #16356]
57133         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
57134         round-to-nearest for [!USE_AS_EXPM1L].
57135         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
57136         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
57137         more tests of exp and exp10.  Expect some exp10 tests to miss
57138         exceptions or fail in directed rounding modes.
57139         * math/auto-libm-test-out: Regenerated.
57140         * math/libm-test.inc (exp10_tonearest_test_data): New array.
57141         (exp10_test_tonearest): New function.
57142         (exp10_towardzero_test_data): New array.
57143         (exp10_test_towardzero): New function.
57144         (exp10_downward_test_data): New array.
57145         (exp10_test_downward): New function.
57146         (exp10_upward_test_data): New array.
57147         (exp10_test_upward): New function.
57148         (main): Call the new functions.
57149         * sysdeps/i386/fpu/libm-test-ulps: Update.
57150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57152 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
57154         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
57155         asinh, atan, atan2, atanh, cbrt, cos and cosh.
57156         * math/auto-libm-test-out: Regenerated.
57157         * math/libm-test.inc (acosh_test_data): Add more tests.
57158         (atanh_test_data): Likewise.
57159         (ceil_test_data): Likewise.
57160         (copysign_test_data): Likewise.
57161         * sysdeps/i386/fpu/libm-test-ulps: Update.
57162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57164         * timezone/checktab.awk: Update from tzcode 2013i.
57165         * timezone/private.h: Likewise.
57166         * timezone/scheck.c: Likewise.
57167         * timezone/tzfile.h: Likewise.
57168         * timezone/tzselect.ksh: Likewise.
57169         * timezone/zdump.c: Likewise.
57170         * timezone/zic.c: Likewise.
57172         * math/auto-libm-test-in: Add tests of cpow.
57173         * math/auto-libm-test-out: Regenerated.
57174         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57175         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57176         mpc_cc_c.
57177         (func_calc_desc): Add mpc_cc_c union field.
57178         (test_functions): Add cpow.
57179         (special_fill_2pi): New function.
57180         (special_real_inputs): Add 2pi.
57181         (calc_generic_results): Handle mpc_cc_c.
57182         * sysdeps/i386/fpu/libm-test-ulps: Update.
57183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57185         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
57186         csqrt, ctan and ctanh.
57187         * math/auto-libm-test-out: Regenerated.
57188         * math/libm-test.inc (TEST_COND_x86_64): New macro.
57189         (TEST_COND_x86): Likewise.
57190         (ccos_test_data): Use AUTO_TESTS_c_c.
57191         (ccosh_test_data): Likewise.
57192         (cexp_test_data): Likewise.
57193         (clog_test_data): Likewise.
57194         (csqrt_test_data): Likewise.
57195         (ctan_test_data): Likewise.
57196         (ctan_tonearest_test_data): Likewise.
57197         (ctan_towardzero_test_data): Likewise.
57198         (ctan_downward_test_data): Likewise.
57199         (ctan_upward_test_data): Likewise.
57200         (ctanh_test_data): Likewise.
57201         (ctanh_tonearest_test_data): Likewise.
57202         (ctanh_towardzero_test_data): Likewise.
57203         (ctanh_downward_test_data): Likewise.
57204         (ctanh_upward_test_data): Likewise.
57205         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57206         mpc_c_c.
57207         (func_calc_desc): Add mpc_c_c union field.
57208         (FUNC_mpc_c_c): New macro.
57209         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
57210         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
57211         ctanh.
57212         (special_fill_min_subnorm_p120): New function.
57213         (special_real_inputs): Add min_subnorm_p120.
57214         (calc_generic_results): Handle mpc_c_c.
57215         * sysdeps/i386/fpu/libm-test-ulps: Update.
57216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57218 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57220         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
57221         (do_sin_slow): New functions.
57222         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
57223         (cslow2, csloww1, csloww2): Use the new functions.
57225         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
57226         Use M to change sign of result instead of X.  Assume X is
57227         positive.
57228         (csloww1): Likewise.
57229         (__sin): Adjust.
57230         (__cos): Adjust.
57232         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
57233         arguments A and DA.
57234         (__sin): Adjust.
57235         (__cos): Likewise.
57237         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
57238         (__cos): Likewise.
57239         (sloww1): Don't adjust sign of DX.
57240         (csloww1): Likewise.
57241         (sloww2): Use X directly and don't adjust sign of DX.
57242         (csloww2): Likewise.
57244 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57246         * math/auto-libm-test-in: Add tests of cabs and carg.
57247         * math/auto-libm-test-out: Regenerated.
57248         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
57249         (carg_test_data): Likewise.
57250         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57251         mpc_c_f.
57252         (func_calc_desc): Add mpc_c_f union field.
57253         (test_functions): Add cabs and carg.
57254         (calc_generic_results): Handle mpc_c_f.
57256         * sysdeps/powerpc/powerpc32/libgcc-compat.S
57257         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
57258         as a macro and a compat symbol.
57259         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
57260         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
57261         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
57262         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
57263         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
57264         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
57265         not use .hidden.
57266         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
57267         Likewise.
57268         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
57269         Likewise.
57270         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
57271         Likewise.
57272         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
57273         Likewise.
57274         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
57275         Likewise.
57276         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
57277         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
57278         from GLIBC_2.3.2.
57280 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57284 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57286         * manual/texinfo.tex: Update to version 2013-11-26.10 with
57287         trailing whitespace removed.
57288         * scripts/config.guess: Update to version 2013-11-29.
57289         * scripts/config.sub: Update to version 2013-10-01.
57291         * math/auto-libm-test-in: Add tests of sincos.
57292         * math/auto-libm-test-out: Regenerated.
57293         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
57294         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57295         mpfr_f_11.
57296         (func_calc_desc): Add mpfr_f_11 union field.
57297         (test_functions): Add sincos.
57298         (calc_generic_results): Handle mpfr_f_11.
57299         * sysdeps/i386/fpu/libm-test-ulps: Update.
57300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57302 2013-12-19  Andreas Schwab  <schwab@suse.de>
57304         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
57305         CALL_MCOUNT.
57306         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57307         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
57308         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
57310 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57312         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
57313         * sysdeps/i386/fpu/libm-test-ulps: Update.
57314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57316         [BZ #16293]
57317         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
57318         round-to-nearest mode when using frndint.
57319         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
57320         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
57321         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
57322         Likewise.
57323         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
57324         sinh test to fail.
57325         * math/auto-libm-test-out: Regenerated.
57326         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
57327         (TEST_COND_x86): Likewise.
57328         (expm1_tonearest_test_data): New array.
57329         (expm1_test_tonearest): New function.
57330         (expm1_towardzero_test_data): New array.
57331         (expm1_test_towardzero): New function.
57332         (expm1_downward_test_data): New array.
57333         (expm1_test_downward): New function.
57334         (expm1_upward_test_data): New array.
57335         (expm1_test_upward): New function.
57336         (main): Run the new test functions.
57337         * sysdeps/i386/fpu/libm-test-ulps: Update.
57338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57340         * include/features.h: Update comment documenting feature test
57341         macros.  Mention _DEFAULT_SOURCE in comment.
57342         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
57343         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
57344         _BSD_SOURCE and _SVID_SOURCE.
57345         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
57346         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
57347         !_SVID_SOURCE]: Likewise.
57348         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57349         (__USE_POSIX_IMPLICITLY): Define.
57350         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57351         (_POSIX_SOURCE): Undefine and redefine.
57352         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57353         (_POSIX_C_SOURCE): Likewise.
57354         * manual/creature.texi (_DEFAULT_SOURCE): Document.
57355         (Feature Test Macros): Update documentation of default features.
57357 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57359         * benchtests/Makefile: Add bench-strtok.
57360         * benchtests/bench-strtok.c: New file: strtok benchtest.
57362 2013-12-19  Allan McRae  <allan@archlinux.org>
57364         * manual/install.texi: Suppress menu for plain text output.
57365         * INSTALL: Regenerated.
57367 2013-12-18  Brooks Moses  <bmoses@google.com>
57369         [BZ #15846]
57370         * misc/getauxval.c: Include errno.h.
57371         (__getauxval): Set errno to ENOENT if the requested type is not
57372         found.
57373         * misc/sys/auxv.h (getauxval): Document that it may set errno;
57374         don't declare with __attribute_const__.
57375         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
57376         * manual/startup.texi: Document that getauxval sets errno.
57378 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
57380         * math/auto-libm-test-in: Add tests of jn and yn.
57381         * math/auto-libm-test-out: Regenerated.
57382         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
57383         (yn_test_data): Likewise.
57384         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57385         mpfr_if_f.
57386         (func_calc_desc): Add mpfr_if_f union field.
57387         (FUNC_mpfr_if_f): New macro.
57388         (test_functions): Add jn and yn.
57389         (calc_generic_results): Assert type of second input for
57390         mpfr_ff_f.  Handle mpfr_if_f.
57391         (output_for_one_input_case): Disable all checking for arguments
57392         fitting floating-point types in case of an integer argument.
57393         * sysdeps/i386/fpu/libm-test-ulps: Update.
57394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
57397         Don't expect fegetround reference in libm.so.
57399 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57401         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
57402         $(config-cflags-nofma).
57404 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
57406         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
57407         * math/auto-libm-test-out: Regenerated.
57409         [BZ #16338]
57410         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
57411         to determine exponent and adjust argument to have exponent of -1.
57412         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
57413         log2.
57414         * math/auto-libm-test-out: Regenerated.
57415         * sysdeps/i386/fpu/libm-test-ulps: Update.
57416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57418 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
57420         * manual/probes.texi: Remove cases when per-thread arenas are
57421         disabled.
57423 2013-12-18  Andreas Schwab  <schwab@suse.de>
57425         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
57426         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
57427         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
57428         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
57429         * sysdeps/i386/i686/multiarch/Makefile: Update.
57430         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
57432 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57434         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
57435         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
57437 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
57439         [BZ #15968]
57440         Support TZ transition times < 00:00:00.
57441         This is needed for version-3 tz-format files; it supports time
57442         stamps past 2037 for America/Godthab (the only entry in the tz
57443         database for which this change is relevant).
57444         * manual/time.texi (TZ Variable): Document transition times
57445         from -167:59:59 through -00:00:01.
57446         * time/tzset.c (tz_rule): Time of day is now signed.
57447         (__tzset_parse_tz): Parse negative time of day.
57449         Document TZ transition times >= 25:00:00.
57450         * manual/time.texi (TZ Variable): Document transition times from
57451         25:00:00 through 167:59:59.  These are already supported, and this
57452         support will help with version-3 tz-format files.
57454         * manual/time.texi (TZ Variable): Modernize North America example
57455         to reflect current (i.e., 2007-and-later) daylight saving rules.
57457         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
57459 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57461         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
57462         * sysdeps/unix/bsd/bits/stat.h: Likewise.
57463         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
57464         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57465         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
57466         * sysdeps/unix/bsd/bsdstat.h: Likewise.
57467         * sysdeps/unix/bsd/clock.c: Likewise.
57468         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
57469         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
57470         * sysdeps/unix/bsd/init-posix.c: Likewise.
57471         * sysdeps/unix/bsd/poll.c: Likewise.
57472         * sysdeps/unix/bsd/ptsname.c: Likewise.
57473         * sysdeps/unix/bsd/seekdir.c: Likewise.
57474         * sysdeps/unix/bsd/setegid.c: Likewise.
57475         * sysdeps/unix/bsd/seteuid.c: Likewise.
57476         * sysdeps/unix/bsd/setgid.c: Likewise.
57477         * sysdeps/unix/bsd/setrgid.c: Likewise.
57478         * sysdeps/unix/bsd/setruid.c: Likewise.
57479         * sysdeps/unix/bsd/setsid.c: Likewise.
57480         * sysdeps/unix/bsd/setuid.c: Likewise.
57481         * sysdeps/unix/bsd/sigaction.c: Likewise.
57482         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
57483         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
57484         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
57485         * sysdeps/unix/bsd/telldir.c: Likewise.
57486         * sysdeps/unix/bsd/times.c: Likewise.
57487         * sysdeps/unix/bsd/usleep.c: Likewise.
57489         * misc/Makefile (install-lib): Remove libbsd-compat.a.
57490         ($(objpfx)libbsd-compat.a): Remove rule.
57492         * include/features.h (__FAVOR_BSD): Do not define.
57493         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
57494         features conflicting with POSIX.
57495         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
57496         (_BSD_SOURCE): Remove description of not being a subset of other
57497         feature test macros.
57498         * manual/job.texi (getpgrp): Do not document BSD version.
57499         (getpgid): Do not document by reference to BSD getpgrp.
57500         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
57501         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
57502         * signal/signal.h [__FAVOR_BSD]: Likewise.
57503         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
57504         instead of making contents conditional on [__FAVOR_BSD].
57505         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
57507 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57511 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57513         [BZ #16314]
57514         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
57515         values below 2**-450, not 2**-500.
57516         * math/auto-libm-test-in: Don't allow spurious underflow from
57517         hypot.
57518         * math/auto-libm-test-out: Regenerated.
57520         [BZ #16316]
57521         [BZ #16330]
57522         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
57523         values of ha and hb and sort them after adjusting subnormal
57524         arguments.
57525         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
57526         Likewise.
57527         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
57528         values of ea and eb and sort them after adjusting subnormal
57529         arguments.
57530         * math/auto-libm-test-in: Do not expect some hypot tests of
57531         subnormals to fail.  Add more hypot tests.
57532         * math/auto-libm-test-out: Regenerated.
57534 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57536         [BZ #13304]
57537         * sysdeps/sh/s_fma.c: New file.
57538         * sysdeps/sh/s_fmaf.c: New file.
57539         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
57540         version.
57541         * sysdeps/sh/Implies: Add sh/soft-fp.
57543 2013-12-16  Roland McGrath  <roland@hack.frob.com>
57545         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
57546         level of indirection to members `objname', `errstring', `malloced'.
57547         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
57548         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
57549         it as the __longjmp argument (just pass 1 instead).
57550         (_dl_catch_error): Initialize C with argument pointers and address of
57551         volatile local ERRCODE rather than copying values out of C at return.
57553 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
57555         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
57556         * math/auto-libm-test-out: Regenerated.
57557         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
57558         (hypot_test_data): Likewise.
57559         (pow_test_data): Likewise.
57560         (pow_tonearest_test_data): Likewise.
57561         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57562         mpfr_ff_f.
57563         (func_calc_desc): Add mpfr_ff_f union field.
57564         (FUNC_mpfr_ff_f): New macro.
57565         (test_functions): Add atan2, hypot and pow.
57566         (special_fill_min): New function.
57567         (special_fill_minus_min): Likewise.
57568         (special_fill_min_subnorm): Likewise.
57569         (special_fill_minus_min_subnorm): Likewise.
57570         (special_real_inputs): Add min, -min, min_subnorm and
57571         -min_subnorm.
57572         (calc_generic_results): Handle mpfr_ff_f.
57573         * sysdeps/i386/fpu/libm-test-ulps: Update.
57574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57576 2013-12-16  Will Newton  <will.newton@linaro.org>
57578         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
57579         (Aligned Memory Blocks): Add documentation for aligned_alloc
57580         and suggest it as an alternative to posix_memalign.
57581         (Hooks for Malloc): Document __memalign_hook is also called
57582         for aligned_alloc.  (Summary of Malloc): Add summary for
57583         aligned alloc.  Document __memalign_hook is also called
57584         for aligned_alloc.
57586 2013-12-16  Will Newton  <will.newton@linaro.org>
57588         * manual/memory.texi (Malloc Examples): Clarify default
57589         alignment documentation.  Suggest posix_memalign rather
57590         than memalign or valloc.
57591         (Aligned Memory Blocks): Remove suggestion to use memalign
57592         or valloc.  Remove obsolete comment about BSD.
57593         Document memalign errno values and mark the function obsolete.
57594         Document posix_memalign returned error codes.  Mark valloc
57595         as obsolete.  (Hooks for Malloc): __memalign_hook is also
57596         called for posix_memalign and valloc.
57597         (Summary of Malloc): Add posix_memalign to function summary.
57598         __memalign_hook is also called for posix_memalign and valloc.
57600 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57602         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
57603         TAYLOR_SIN.
57604         (__sin): Adjust.
57605         (__cos): Likewise.
57606         (sloww): Use mynumber union.  Expand ternary operator into
57607         if-else statements.
57608         (cslow): use mynumber union.
57610 2013-12-16  Allan McRae  <allan@archlinux.org>
57612         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
57613         * configure: Regenerated.
57615         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
57617         [BZ #14120]
57618         * configure.ac: Added --enable-maintainer-mode. Check for
57619         autoconf when enabled.
57620         * configure: Regenerated.
57622         * nscd/nscd.service: New file.
57623         * nscd/nscd.tmpfiles: New file.
57625 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
57627         [BZ #12100]
57628         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
57629         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
57630         * sysdeps/x86_64/multiarch/strstr.c: ... here.
57631         (strstr): Add __strstr_sse2_unaligned ifunc.
57632         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
57633         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
57634         (strcasestr): Remove __strcasestr_sse42 ifunc.
57635         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
57636         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
57637         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57639 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57641         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
57642         * sysdeps/sh/bits/fenv.h: ... here.
57643         * sysdeps/sh/sh4/fpu/bits: Remove directory.
57645 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57647         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
57649         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
57650         hypotf multiarch implementations.
57651         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
57652         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
57653         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
57654         multiarch hypot for PPC64.
57655         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
57656         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
57657         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
57658         multiarch hypotf for PPC64.
57660         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
57661         modff multiarch implementations.
57662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
57663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
57664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
57665         multiarch modf for PPC64.
57666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
57667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
57668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
57669         multiarch modff for PPC64.
57671         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
57672         and logl multiarch implementations.
57673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
57674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
57675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
57676         multiarch logb for PPC64.
57677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
57678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
57679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
57680         multiarch logb for PPC64.
57681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
57682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
57683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
57684         multiarch logb for PPC64.
57686         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
57687         isinff multiarch implementation.
57688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
57689         file.
57690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
57691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
57692         multiarch isinf for PPC64.
57693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
57694         file.
57695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
57696         multiarch isinff for PPC64.
57698         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
57699         finitef multiarch implementation.
57700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
57701         file.
57702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
57703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
57704         multiarch finite for PPC64.
57705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
57706         file.
57707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
57708         multiarch finitef for PPC64.
57710         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
57711         lrint multiarch implementation.
57712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
57713         file.
57714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
57715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
57716         multiarch llrint for PPC64.
57717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
57718         multiarch lrint for PPC64.
57720         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
57721         copysignf multiarch implementation.
57722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
57723         file.
57724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
57725         file.
57726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
57727         multiarch copysign for PPC64.
57728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
57729         multiarch copysignf for PPC64.
57731         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
57732         multiarch implementation.
57733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
57734         file.
57735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
57736         file.
57737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
57738         file.
57739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
57740         file.
57741         multiarch llround for PPC64.
57742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
57743         multiarch trunc for PPC64.
57744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
57745         multiarch truncf for PPC64.
57747         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
57748         multiarch implementation.
57749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
57750         file.
57751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
57752         file.
57753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
57754         file.
57755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
57756         file.
57757         multiarch llround for PPC64.
57758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
57759         multiarch round for PPC64.
57760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
57761         multiarch roundf for PPC64.
57763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
57764         multiarch implementation.
57765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
57766         file.
57767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
57768         file.
57769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
57770         file.
57771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
57772         file.
57773         multiarch llround for PPC64.
57774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
57775         multiarch floor for PPC64.
57776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
57777         multiarch floorf for PPC64.
57779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
57780         multiarch implementation.
57781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
57782         file.
57783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
57784         file.
57785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
57786         file.
57787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
57788         file.
57789         multiarch llround for PPC64.
57790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
57791         multiarch ceil for PPC64.
57792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
57793         multiarch ceilf for PPC64.
57795         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
57796         multiarch implementation.
57797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
57798         file.
57799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
57800         file.
57801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
57802         file.
57803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
57804         multiarch llround for PPC64.
57805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
57806         multiarch lround for PPC64.
57808         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
57809         multiarch implementation.
57810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
57811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
57812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
57813         file.
57814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
57815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
57816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
57817         multiarch isnan for PPC64.
57818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
57819         multiarch isnanf for PPC64.
57821         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
57822         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
57823         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
57824         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
57825         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
57826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
57828         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
57829         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57830         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57831         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57833         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
57834         multiarch implementations.
57835         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57836         (__libc_ifunc_impl_list): Likewise.
57837         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
57838         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
57839         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
57840         multiarch stpcpy for PPC64.
57842         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
57843         multiarch implementations.
57844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57845         (__libc_ifunc_impl_list): Likewise.
57846         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
57847         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
57848         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
57849         multiarch strcpy for PPC64.
57851         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
57852         redefine function name.
57853         (_wordcopy_fwd_dest_aligned): Likewise.
57854         (_wordcopy_bwd_aligned): Likewise.
57855         (_wordcopy_bwd_dest_aligned): Likewise.
57856         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
57857         multiarch implementations.
57858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57859         (__libc_ifunc_impl_list): Likewise.
57860         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
57861         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
57862         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
57863         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
57864         multiarch wcscpy for PPC64.
57866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
57867         multiarch implementations.
57868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57869         (__libc_ifunc_impl_list): Likewise.
57870         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
57871         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
57872         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
57873         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
57874         multiarch wcscpy for PPC64.
57876         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
57877         multiarch implementations.
57878         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57879         (__libc_ifunc_impl_list): Likewise.
57880         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
57881         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
57882         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
57883         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
57884         multiarch wcsrchr for PPC64.
57886         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
57887         multiarch implementations.
57888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57889         (__libc_ifunc_impl_list): Likewise.
57890         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
57891         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
57892         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
57893         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
57894         multiarch wcschr for PPC64.
57896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
57897         multiarch implementations.
57898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57899         (__libc_ifunc_impl_list): Likewise.
57900         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
57901         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
57902         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
57903         multiarch strchrnul for PPC64.
57905         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
57906         implementations.
57907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57908         (__libc_ifunc_impl_list): Likewise.
57909         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
57910         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
57911         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
57912         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
57913         strchr for PPC64.
57915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
57916         implementations.
57917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57918         (__libc_ifunc_impl_list): Likewise.
57919         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
57920         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
57921         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
57922         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
57923         strncmp for PPC64.
57925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
57926         multiarch implementations.
57927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57928         (__libc_ifunc_impl_list): Likewise.
57929         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
57930         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
57931         strncasecmp for PPC64.
57932         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
57933         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
57934         multiarch strncasecmp_l for PPC64.
57936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
57937         multiarch implementations.
57938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
57939         (__libc_ifunc_impl_list): Likewise.
57940         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
57941         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
57942         multiarch strcasecmp for PPC64.
57943         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
57944         file.
57945         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
57946         multiarch strcasecmp_l for PPC64.
57948         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
57949         implementations.
57950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57951         (__libc_ifunc_impl_list): Likewise.
57952         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
57953         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
57954         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
57955         strnlen for PPC64.
57957         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
57958         implementations.
57959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57960         (__libc_ifunc_impl_list): Likewise.
57961         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
57962         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
57963         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
57964         strlen for PPC64.
57966         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
57967         implementations.
57968         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57969         (__libc_ifunc_impl_list): Likewise.
57970         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
57971         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
57972         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
57973         rawmemrchr for PPC64.
57975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
57976         implementation.
57977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57978         (__libc_ifunc_impl_list): Likewise.
57979         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
57980         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
57981         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
57982         memrchr for PPC64.
57984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
57985         implementation.
57986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57987         (__libc_ifunc_impl_list): Likewise.
57988         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
57989         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
57990         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
57991         memchr for PPC64.
57993         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
57994         implementation.
57995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57996         (__libc_ifunc_impl_list): Likewise.
57997         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
57998         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
57999         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
58000         mempcpy for PPC64.
58002         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
58003         avoid cretion of __bzero symbol.
58004         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
58005         Likewise.
58006         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
58007         Likewise.
58008         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
58009         Likewise.
58010         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
58011         multiarch implementations.
58012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58013         (__libc_ifunc_impl_list): Likewise.
58014         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
58015         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
58016         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
58017         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
58018         bzero for PPC32.
58019         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
58020         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
58021         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
58022         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
58023         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
58024         memset for PPC64.
58025         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
58027         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
58028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
58029         implementations.
58030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58031         (__libc_ifunc_impl_list): Likewise.
58032         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
58033         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
58034         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
58035         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
58036         memcmp for PPC64.
58038         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
58039         multiarch for POWER/PPC64.
58040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
58041         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
58042         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
58043         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
58044         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
58045         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
58046         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
58047         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
58048         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
58049         memcpy for PPC64.
58051         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
58052         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
58053         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
58054         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
58055         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
58056         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
58057         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
58058         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
58059         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
58060         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
58061         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
58062         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
58063         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
58064         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
58065         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
58066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
58067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
58068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
58069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
58070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
58071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
58072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
58074 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58076         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
58078 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58080         * benchtests/Makefile (bench): Add exp2 and log2.
58081         (LDLIBS-bench-exp2): Add -lm.
58082         (LDLIBS-bench-log2): Likewise.
58083         * benchtests/exp2-inputs: New inputs file.
58084         * benchtests/log2-inputs: New inputs file.
58085         * benchtests/log-inputs: Add new inputs.
58086         * benchtests/tan-inputs: Likewise.
58088 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58090         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
58091         definition...
58092         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
58093         (csloww2): ... from here.
58095         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
58096         instead of structures.
58097         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
58098         (POLYNOMIAL): Likewise.
58099         (TAYLOR_SLOW): Likewise.
58100         (__sin): Likewise.
58101         (__cos): Likewise.
58102         (slow1): Likewise.
58103         (slow2): Likewise.
58104         (sloww): Likewise.
58105         (sloww1); Likewise.
58106         (sloww2): Likewise.
58107         (bsloww1): Likewise.
58108         (bsloww2): Likewise.
58109         (cslow2): Likewise.
58110         (csloww): Likewise.
58111         (csloww1): Likewise.
58112         (csloww2): Likewise.
58114 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
58116         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
58117         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
58118         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
58119         * malloc/hooks.c (realloc_check): Likewise.
58121         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
58122         * malloc/arena.c: Remove PER_THREAD conditional.
58123         [!PER_THREAD]: Remove code.
58124         (ptmalloc_unlock_all2): Likewise.
58125         (ptmalloc_init): Likewise.
58126         (_int_new_arena): Likewise.
58127         (arena_get2): Likewise.
58128         * malloc/hooks.c (__malloc_get_state): Likewise.
58129         (__malloc_set_state): Likewise.
58130         * malloc/malloc.c: Likewise.
58131         (struct malloc_state): Likewise.
58132         (struct malloc_par): Likewise.
58133         (__libc_realloc): Likewise.
58134         (__libc_mallopt): Likewise.
58136 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58138         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
58140 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
58142         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
58143         macro to a function.  Check for zero perturb_byte.
58144         (_int_malloc, _int_free): Remove zero perturb_byte checks.
58146         * malloc/malloc.c: (force_reg): Remove.
58147         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
58148         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
58149         force_reg by atomic_forced_read.
58150         * malloc/arena.c (ptmalloc_init): Likewise.
58151         * malloc/hooks.c (top_check): Likewise.
58153 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58157 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
58159         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58161 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
58163         * math/auto-libm-test-in: Add tests of lgamma.
58164         * math/auto-libm-test-out: Regenerated.
58165         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
58166         (M_LOG_2_SQRT_PIl): Likewise.
58167         (lgamma_test_data): Use AUTO_TESTS_f_f1.
58168         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58169         mpfr_f_f1.
58170         (func_calc_desc): Add mpfr_f_f1 union field.
58171         (ARGS1): New macro.
58172         (ARGS2): Likewise.
58173         (ARGS3): Likewise.
58174         (ARGS4): Likewise.
58175         (RET1): Likewise.
58176         (RET2): Likewise.
58177         (CALC): Likewise.
58178         (FUNC): Likewise.
58179         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
58180         (test_functions): Add lgamma.
58181         (calc_generic_results): Handle mpfr_f_f1.
58182         * sysdeps/i386/fpu/libm-test-ulps: Update.
58183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58185 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58187         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
58188         __mpn_add_n for PowerPC64/POWER7.
58189         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
58190         __mpn_sub_n for PowerPC64/POWER7.
58192         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
58193         __mpn_addmul_1 for PowerPC64.
58194         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
58195         __mpn_submul_1 for PowerPC64.
58196         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
58197         for PowerPC64.
58198         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
58199         for PowerPC64.
58201 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
58203         [BZ #15089]
58204         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
58206 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58208         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
58210         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
58211         add multiarch folders.
58212         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
58213         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
58214         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
58215         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
58216         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
58217         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
58218         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
58219         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
58220         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
58221         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
58222         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
58223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
58224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
58225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
58226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
58227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
58228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
58230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58231         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
58232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
58233         New file.
58234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
58235         New file.
58236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
58237         multiarch __ieee754_hypot for PowerPC32.
58238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
58239         New file.
58240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
58241         New file.
58242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
58243         multiarch __ieee754_hypotf for PowerPC32.
58245         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
58246         long_double_symbol only if __logbl is defined.
58247         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
58248         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
58249         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
58250         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
58251         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
58252         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
58253         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
58254         path for implementation.
58255         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
58256         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
58257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
58258         logb, and logbl multiarch implementations for PowerPC32.
58259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
58260         file.
58261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
58262         file.
58263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
58264         multiarch logb for PowerPC32.
58265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
58266         file.
58267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
58268         file.
58269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
58270         multiarch logbf for PowerPC32.
58271         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
58272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
58273         file.
58274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
58275         multiarch logbl implementation for PowerPC32.
58277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
58278         and modff multiarch implementations.
58279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
58280         New file.
58281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
58282         New file.
58283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
58284         multiarch modf for PowerPC32.
58285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
58286         New file.
58287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
58288         New file.
58289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
58290         multiarch modff for PowerPC32.
58292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
58293         and lrintf multiarch implementations.
58294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
58295         New file.
58296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
58297         New file.
58298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
58299         multiarch lrint for PowerPC32.
58300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
58301         file: multiarch lrintf for PowerPC32.
58303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
58304         and lroundf multiarch implementations.
58305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
58306         New file.
58307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
58308         New file.
58309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
58310         New file.
58311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
58312         multiarch lround for PowerPC32.
58313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
58314         file: multiarch lroundf for PowerPC32.
58316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58317         copysign and copysignf multiarch implementations.
58318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
58319         New file.
58320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
58321         New file.
58322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
58323         file: multiarch copysign for PowerPC32.
58324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
58325         file: multiarch copysignf for PowerPC32.
58327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
58328         and truncf multiarch implementations.
58329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
58330         New file.
58331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
58332         file.
58333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
58334         multiarch trunc for PowerPC32.
58335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
58336         New file.
58337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
58338         New file.
58339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
58340         multiarch truncf for PowerPC32.
58342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
58343         and roundf multiarch implementations.
58344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
58345         New file.
58346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
58347         file.
58348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
58349         multiarch round for PowerPC32.
58350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
58351         New file.
58352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
58353         New file.
58354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
58355         multiarch roundf for PowerPC32.
58357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
58358         and floorf multiarch implementations.
58359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
58360         New file.
58361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
58362         file.
58363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
58364         multiarch floor for PowerPC32.
58365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
58366         New file.
58367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
58368         New file.
58369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
58370         multiarch floorf for PowerPC32.
58372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
58373         and ceilf multiarch implementations.
58374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
58375         New file.
58376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
58377         file.
58378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
58379         multiarch ceil for PowerPC32.
58380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
58381         New file.
58382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
58383         file.
58384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
58385         multiarch ceilf for PowerPC32.
58387         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
58388         is defined.
58389         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
58390         FINITEF is defined.
58391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
58392         and finitef multiarch implementations.
58393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
58394         New file.
58395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
58396         file.
58397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
58398         multiarch finite for PowerPC32.
58399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
58400         New file.
58401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
58402         file: multiarch finitef for PowerPC32.
58404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
58405         and isinff multiarch implementations.
58406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
58407         file.
58408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
58409         file.
58410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
58411         multiarch isinf for PowerPC32.
58412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
58413         New file.
58414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
58415         multiarch isinff for PowerPC32.
58417         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
58418         alias when __isnan is defined.
58419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
58420         and isnanf multiarch implementations.
58421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
58422         file.
58423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
58424         file.
58425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
58426         file.
58427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
58428         file.
58429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
58430         multiarch isnan for PowerPC32.
58431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
58432         New file.
58433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
58434         New file.
58435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
58436         multiarch isnanf for PowerPC32.
58438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
58439         and sqrtf multiarch implementations.
58440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
58441         file.
58442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
58443         file.
58444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
58445         multiarch sqrt for PowerPC32.
58446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
58447         file.
58448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
58449         file.
58450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
58451         multiarch sqrtf for PowerPC32.
58453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
58454         and llroundf multiarch implementations.
58455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
58456         New file.
58457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
58458         New file.
58459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
58460         New file.
58461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
58462         file: multiarch llround for PowerPC32.
58463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
58464         file: multiarch llroundf for PowerPC32.
58466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
58467         multiarch PowerPC32 fpu implementations.
58468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
58469         New file.
58470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
58471         New file.
58472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
58473         multiarch llrint for PowerPC32.
58474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
58475         New file.
58476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
58477         New file.
58478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
58479         file.
58481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
58483         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
58484         file.
58485         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
58486         file.
58487         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
58488         file.
58489         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
58490         multiarch wordcopy for PPC32.
58491         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58492         wordcopy objects.
58493         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58494         (__libc_ifunc_impl_list): Likewise.
58495         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
58496         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
58497         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
58498         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
58499         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
58500         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
58502         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
58503         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
58504         file.
58505         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
58506         file.
58507         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
58508         file.
58509         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
58510         multiarch wcscpy for PPC32.
58511         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58512         multiarch objects.
58513         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58514         (__libc_ifunc_impl_list): Likewise.
58515         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58516         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58517         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
58518         sysdeps/powerpc/power6/wcscpy.c.
58520         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
58521         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
58522         file.
58523         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
58524         file.
58525         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
58526         file.
58527         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
58528         multiarch wcsrchr for PPC32.
58529         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58530         multiarch objects.
58531         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58532         (__libc_ifunc_impl_list): Likewise.
58533         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58534         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58535         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
58536         sysdeps/powerpc/power6/wcsrchr.c.
58538         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
58539         file.
58540         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
58541         file.
58542         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
58543         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
58544         multiarch wcschr for PPc32.
58545         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58546         multiarch objects.
58547         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58548         (__libc_ifunc_impl_list): Likewise.
58549         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
58550         * sysdeps/powerpc/power6/wcschr.c: ... to here.
58551         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
58552         sysdeps/powerpc/power6/wcschr.c.
58554         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
58555         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
58556         file.
58557         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
58558         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
58559         file: multiarch strchr for PPC32.
58560         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
58561         multiarch objects.
58562         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58563         (__libc_ifunc_impl_list): Likewise.
58565         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
58566         name.
58567         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
58568         file.
58569         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
58570         file.
58571         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
58572         multiarch strchrnul for PPC32.
58573         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
58574         multiarch objects.
58575         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58576         (__libc_ifunc_impl_list): Likewise.
58578         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
58579         file.
58580         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
58581         multiarch strncasecmp for PPC32.
58582         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
58583         file.
58584         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
58585         multiarch strncasecmp_l for PPC32.
58586         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
58587         strncasecmp multiarch objects.
58588         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58589         (__libc_ifunc_impl_list): Likewise.
58591         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
58592         file.
58593         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
58594         multiarch strncasecmp for PPC32.
58595         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
58596         New file.
58597         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
58598         multiarch strcasecmp_l for PPC32.
58599         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
58600         multiarch objects.
58601         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58602         (__libc_ifunc_impl_list): Likewise.
58604         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
58605         file.
58606         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
58607         file.
58608         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
58609         multiarch strncmp for PPC32.
58610         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
58611         multiarch objects.
58612         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58613         (__libc_ifunc_impl_list): Likewise.
58615         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
58616         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
58617         file.
58618         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
58619         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
58620         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
58621         multiarch objects.
58622         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58623         (__libc_ifunc_impl_list): Likewise.
58625         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
58626         file.
58627         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
58628         file.
58629         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
58630         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
58631         multiarch objects.
58632         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58633         (__libc_ifunc_impl_list): Likewise.
58635         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
58636         file.
58637         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
58638         file.
58639         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
58640         multiarch rawmemchr for PPC32.
58641         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
58642         multiarch objects.
58643         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58644         (__libc_ifunc_impl_list): Likewise.
58646         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
58647         file.
58648         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
58649         file.
58650         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
58651         file: memrchr multiarch for PPC32.
58652         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
58653         multiarch objects.
58654         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58655         (__libc_ifunc_impl_list): Likewise.
58657         * string/memchr.c (__memchr): Using macro to redefine symbol name.
58658         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
58659         file.
58660         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
58661         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
58662         multiarch memchr for PPC32.
58663         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
58664         multiarch objects.
58665         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58666         (__libc_ifunc_impl_list): Likewise.
58668         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
58669         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
58670         file.
58671         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
58672         file.
58673         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
58674         file: multiarch mempcpy for PPC32.
58675         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
58676         multiarch objects.
58677         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58678         (__libc_ifunc_impl_list): Likewise.
58680         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
58681         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
58682         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
58683         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
58684         multiarch bzero for PPC32.
58685         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
58686         file.
58687         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
58688         file.
58689         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
58690         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
58691         file: multiarch memset for PPC32.
58692         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
58693         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
58694         memset multiarch objects.
58695         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58696         (__libc_ifunc_impl_list): Likewise.
58698         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
58699         file.
58700         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
58701         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
58702         memcmp for PPC32.
58703         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
58704         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
58705         multiarch objects.
58706         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58707         (__libc_ifunc_impl_list): Likewise.
58709         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
58710         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
58711         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
58712         file.
58713         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
58714         file.
58715         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
58716         file.
58717         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
58718         multiarch memcpy for PPC32.
58719         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
58720         multiarch objects.
58721         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58722         (__libc_ifunc_impl_list): Likewise.
58724         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
58725         support multiarch for POWER/PPC32.
58726         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
58727         Likewise.
58728         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
58729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
58730         Implies file to make multiarch folder appers before the fpu and
58731         default folder for power4 configuration.
58733 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58735         * scripts/bench.pl: Append volatile keyword to type.
58737 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58739         * sysdeps/sh/sotruss-lib.c: New file.
58740         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
58742 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58746 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
58748         [BZ #6810]
58749         * math/w_tgamma.c: Include <errno.h>.
58750         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
58751         * math/w_tgammaf.c: Include <errno.h>.
58752         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
58753         * math/w_tgammal.c: Include <errno.h>.
58754         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
58755         * math/auto-libm-test-in: Do not allow missing errno on tgamma
58756         underflow.  Add more tgamma tests.
58757         * math/auto-libm-test-out: Regenerated.
58758         * sysdeps/i386/fpu/libm-test-ulps: Update.
58759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58761         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
58762         sin, sinh, tan, tanh, tgamma, y0 and y1.
58763         * math/auto-libm-test-out: Regenerated.
58764         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58765         (TEST_COND_x86): Likewise.
58766         (M_E2l): Remove macro.
58767         (M_E3l): Likewise.
58768         (M_2_SQRT_PIl): Likewise.
58769         (M_SQRT_PIl): Likewise.
58770         (M_1_DIV_El): Likewise.
58771         (log_test_data): Use AUTO_TESTS_f_f.
58772         (log10_test_data): Likewise.
58773         (log1p_test_data): Likewise.
58774         (log2_test_data): Likewise.
58775         (sin_test_data): Likewise.
58776         (sin_tonearest_test_data): Likewise.
58777         (sin_towardzero_test_data): Likewise.
58778         (sin_downward_test_data): Likewise.
58779         (sin_upward_test_data): Likewise.
58780         (sinh_test_data): Likewise.
58781         (sinh_tonearest_test_data): Likewise.
58782         (sinh_towardzero_test_data): Likewise.
58783         (sinh_downward_test_data): Likewise.
58784         (sinh_upward_test_data): Likewise.
58785         (tan_test_data): Likewise.
58786         (tan_tonearest_test_data): Likewise.
58787         (tan_towardzero_test_data): Likewise.
58788         (tan_downward_test_data): Likewise.
58789         (tan_upward_test_data): Likewise.
58790         (tanh_test_data): Likewise.
58791         (tgamma_test_data): Likewise.
58792         (y0_test_data): Likewise.
58793         (y1_test_data): Likewise.
58794         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
58795         (special_real_inputs): Add pi/4.
58796         * sysdeps/i386/fpu/libm-test-ulps: Update.
58797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58799 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58801         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
58802         "longjmp_target" static probes.
58803         (__longjmp): Rename to __longjmp_symbol.
58804         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58805         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
58806         on which longjmp to generate.
58807         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
58808         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
58809         probe.
58810         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58811         (__sigjmp_save): Rename to __sigjmp_save_symbol.
58812         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
58813         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
58814         and __sigjmp_save_symbol based on which sigsetjmp to generated.
58815         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
58817         __longjmp_symbol based on which __longjmp to generate.
58818         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
58819         probe.
58820         (setjmp): Rename to setjmp_symbol.
58821         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58822         (_setjmp): Rename to _setjmp_symbol.
58823         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58824         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
58825         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
58826         which setjmp to generate.
58827         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
58828         "longjmp_target" static probes.
58830 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58832         * benchtests/README: Add note about output arguments.
58833         * benchtests/bench-sincos.c: Remove file.
58834         * benchtests/sincos-inputs: New file.
58835         * scripts/bench.pl: Identify output arguments and define
58836         static variables for them.
58838         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
58840         [BZ #15941]
58841         * Makefile (INSTALL): Add install-plain.texi as the primary
58842         dependency.
58843         * manual/install-plain.texi: New file.
58844         * manual/install.texi: Include node directive only for
58845         non-plaintext output.
58847 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
58849         * stdlib/longlong.h: Update from GCC.
58851         [BZ #6807]
58852         [BZ #15901]
58853         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
58854         * math/w_j0f.c (y0f): Likewise.
58855         * math/w_j0l.c (__y0l): Likewise.
58856         * math/w_j1.c (y1): Likewise.
58857         * math/w_j1f.c (y1f): Likewise.
58858         * math/w_j1l.c (__y1l): Likewise.
58859         * math/w_jn.c (yn): Likewise.
58860         * math/w_jnf.c (ynf): Likewise.
58861         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
58862         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
58863         value for Bessel function domain errors outside _SVID_ mode.
58864         Adjust sign of return value for yn (negative integer, 0).
58865         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
58866         by zero in return for negative x and set sign appropriately for
58867         negative n.
58868         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
58869         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58870         * math/libm-test.inc (y0_test_data): Add more tests and adjust
58871         expectations in error cases.
58872         (y1_test_data): Likewise.
58873         (yn_test_data): Likewise.
58874         * sysdeps/i386/fpu/libm-test-ulps: Update.
58875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58877 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58879         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
58880         "64" to "64-v1".  Add "64-v2".
58881         (abi-64-options): Rename to ...
58882         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
58883         (abi-64-condition): Rename to ...
58884         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
58885         (abi-64-ld-soname): Rename to ...
58886         (abi-64-v1-ld-soname): ... this.
58887         (abi-64-v2-options): Define.
58888         (abi-64-v2-condition): Likewise.
58889         (abi-64-v2-ld-soname): Likewise.
58890         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
58891         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
58892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
58893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
58894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
58896 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58897             Alan Modra  <amodra@gmail.com>
58899         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
58900         New versions for use with the ELFv2 ABI.
58901         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
58902         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
58903         declaration.
58904         (struct La_ppc64v2_retval): Likewise.
58905         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
58906         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
58907         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
58908         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
58909         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
58910         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58911         Do not save or restore CR.
58912         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
58913         (_dl_profile_resolve): Do no save or restore CR.  Support extended
58914         return values for ELFv2 ABI.  Fix location of FPR return registers.
58915         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
58916         updated values for _CALL_ELF == 2.
58917         (La_regs, La_retval, int_retval): Likewise.
58919 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58921         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
58922         (FRAME_MIN_SIZE_PARM): Likewise.
58923         (FRAME_BACKCHAIN): Likewise.
58924         (FRAME_CR_SAVE): Likewise.
58925         (FRAME_LR_SAVE): Likewise.
58926         (FRAME_TOC_SAVE): Likewise.
58927         (FRAME_PARM_SAVE): Likewise.
58928         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
58929         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
58930         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58931         (call_mcount_parm_offset): New macro.
58932         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
58933         (PROF): Use symbolic stack frame offsets.
58934         (TAIL_CALL_SYSCALL_ERROR): Likewise.
58935         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
58936         Redefine in terms of FRAME_MIN_SIZE.
58937         (_dl_runtime_resolve): Use symbolic stack frame offsets.
58938         (_dl_profile_resolve): Likewise.  Update comment.
58939         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
58940         symbols stack frame offsets.
58941         (__sigsetjmp): Likewise.
58942         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
58943         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
58944         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
58945         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
58947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
58948         (FRAME_BACKCHAIN): Remove.
58949         (FRAME_CR_SAVE): Likewise.
58950         (FRAME_LR_SAVE): Likewise.
58951         (FRAME_COMPILER_DW): Likewise.
58952         (FRAME_LINKER_DW): Likewise.
58953         (FRAME_TOC_SAVE): Likewise.
58954         (FRAME_PARM_SAVE): Likewise.
58955         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
58956         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
58957         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
58959         (CHECK_SP): Use symbolic stack frame offsets.
58960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
58961         zone" instead of caller's parameter save area for temp storage.
58962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58963         Likewise.  Also, use symbolic stack frame offsets.
58964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
58965         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
58966         our own stack frame instead of the caller's.
58967         (__socket): Use symbolic stack frame offsets.
58969 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58970             Alan Modra  <amodra@gmail.com>
58972         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
58973         Define.
58974         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
58975         (PPC64_LOCAL_ENTRY_OFFSET): Define.
58976         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
58977         New function.
58978         (elf_machine_fixup_plt): Call it.
58979         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
58980         reloc arguments.
58981         (elf_machine_rela): Update call to elf_machine_plt_conflict.
58982         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58983         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
58984         r2 before calling target.
58986 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58987             Alan Modra  <amodra@gmail.com>
58989         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
58990         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
58991         versions of macros to support ELFv2 ABI.
58992         (LOCALENTRY): New macro.
58993         (ENTRY, EALIGN): Use it.
58994         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
58995         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
58996         fall through into ENTRY entry point.
58997         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
58998         Only define if _CALL_ELF != 2.
59000         (elf_machine_matches_host): Verify ABI version matches.
59001         (RTLD_START): Use LOCALENTRY.
59002         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
59003         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
59004         (PLT_ENTRY_WORDS): New macro.
59005         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
59006         (elf_machine_runtime_setup): Support ELFv2 ABI.
59007         (elf_machine_fixup_plt): Likewise.
59008         (elf_machine_plt_conflict): Likewise.
59009         (resolve_ifunc): Likewise.
59010         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
59011         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59012         Likewise.
59013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
59014         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
59015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59016         (makecontext): Support ELFv2 ABI.
59017         * elf/elf.h (EF_PPC64_ABI): Define.
59019 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59021         * sysdeps/powerpc/powerpc64/sysdep.h
59022         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
59023         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
59024         (ENTRY) [ASSEMBLER]: ... but instead here ...
59025         (EALIGN) [ASSEMBLER]: ... and here.
59026         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
59027         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
59028         (ENTRY_2) [!ASSEMBLER]: Use it.
59029         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
59030         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
59031         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59032         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
59033         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
59034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
59035         Use PPC64_LOAD_FUNCPTR.
59037         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
59039 2013-12-04  Alan Modra  <amodra@gmail.com>
59041         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
59042         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
59043         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
59044         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
59046         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
59047         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
59048         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
59049         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
59050         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
59051         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
59053 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59056         (__makecontext): Fix incorrect CFI when backtracing out of
59057         context created via makecontext.
59058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
59059         (__setcontext): Fix incorrect CFI during switch to new context.
59060         (__novec_setcontext): Likewise.
59062 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
59064         [BZ #4772]
59065         * time/strptime_l.c (__strptime_internal): Allow modifiers
59066         in strptime.
59067         * time/tst-strptime.c (day_tests): Add testcase.
59069 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59071         * scripts/bench.pl: Skip over blank lines.
59073 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
59075         [BZ #926]
59076         * manual/time.texi (Calendar Time): Clarify what timezone functions
59077         use.
59079 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59083 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
59085         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
59086         implementation.
59087         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
59088         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
59089         * debug/memset_chk.c (__memset_chk): Likewise.
59090         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
59091         * debug/strncpy_chk.c: Likewise.
59093 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
59095         [BZ #15268]
59096         [BZ #15425]
59097         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
59098         (__ieee754_exp): For possibly underflowing results, check size of
59099         result and force underflow exception if required.
59100         * math/auto-libm-test-in: Add more tests of exp.
59101         * math/auto-libm-test-out: Regenerated.
59102         * sysdeps/i386/fpu/libm-test-ulps: Update.
59103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59105         [BZ #16283]
59106         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
59107         * math/w_exp2f.c (__exp2f): Likewise.
59108         * math/w_exp2l.c (__exp2l): Likewise.
59109         * math/auto-libm-test-in: Do not allow missing errno on exp2
59110         underflow.
59111         * math/auto-libm-test-out: Regenerated.
59113 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
59115         [BZ #16274]
59116         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
59117         handle filename validation.
59118         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
59119         (do_open): Delete.
59121 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
59123         [BZ #6786]
59124         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
59125         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
59126         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
59127         <float.h>.
59128         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
59129         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
59130         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59131         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
59132         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59133         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
59134         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59135         * math/auto-libm-test-in: Don't allow missing errno from erfc.
59136         Add more erfc tests.
59137         * math/auto-libm-test-out: Regenerated.
59138         * sysdeps/i386/fpu/libm-test-ulps: Update.
59139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59141         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
59142         exp2, expm1, j0 and j1.
59143         * math/auto-libm-test-out: Regenerated.
59144         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
59145         (erfc_test_data): Likewise.
59146         (exp_test_data): Likewise.
59147         (exp_tonearest_test_data): Likewise.
59148         (exp_towardzero_test_data): Likewise.
59149         (exp_downward_test_data): Likewise.
59150         (exp_upward_test_data): Likewise.
59151         (exp10_test_data): Likewise.
59152         (exp2_test_data): Likewise.
59153         (expm1_test_data): Likewise.
59154         (j0_test_data): Likewise.
59155         (j1_test_data): Likewise.
59156         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
59157         (input_flag_type): Add flag_xfail_rounding.
59158         (input_flags): Add xfail-rounding.
59159         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
59160         (output_for_one_input_case): Handle flag_xfail_rounding.
59161         * sysdeps/i386/fpu/libm-test-ulps: Update.
59162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59164 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
59166         [BZ #16289]
59167         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
59168         division by 0.
59170 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59172         [BZ #16195]
59173         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
59174         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
59175         (STAP_PROBE0): New macro.
59176         (STAP_PROBE1): Likewise.
59177         (STAP_PROBE2): Likewise.
59178         (STAP_PROBE3): Likewise.
59179         (STAP_PROBE4): Likewise.
59181 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
59183         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
59185 2013-12-02  Steve Ellcey  <sellcey@mips.com>
59187         * benchtests/Makefile (bench): Add sqrt.
59188         (LDLIBS-bench-sqrt): New.
59189         * benchtests/sqrt-input: New.
59191 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
59193         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
59194         (GAIH_EAI): Likewise.
59195         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
59196         (gaih_inet): Likewise.
59197         (getaddrinfo): Don't use GAIH_EAI.
59199         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
59200         (struct gaih): Remove definition.
59202 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59204         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
59205         Use HERRNOP directly.
59207 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59211 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
59213         * math/gen-auto-libm-tests.c (test_functions): Add more
59214         single-argument functions.
59215         (special_fill_pi_2): New function.
59216         (special_fill_minus_pi_2): Likewise.
59217         (special_fill_pi_6): Likewise.
59218         (special_fill_minus_pi_6): Likewise.
59219         (special_fill_pi_3): Likewise.
59220         (special_fill_2pi_3): Likewise.
59221         (special_fill_e): Likewise.
59222         (special_fill_1_e): Likewise.
59223         (special_fill_e_minus_1): Likewise.
59224         (special_real_inputs): Add more special inputs.
59225         (output_for_one_input_case): Do not require ERANGE on underflow to
59226         zero if round-to-nearest result does not underflow to zero, unless
59227         exact results required.
59228         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
59229         atan, atanh, cbrt, cos and cosh.
59230         * math/auto-libm-test-out: Regenerated.
59231         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
59232         (acos_tonearest_test_data): Likewise.
59233         (acos_towardzero_test_data): Likewise.
59234         (acos_downward_test_data): Likewise.
59235         (acos_upward_test_data): Likewise.
59236         (acosh_test_data): Likewise.
59237         (asin_test_data): Likewise.
59238         (asin_tonearest_test_data): Likewise.
59239         (asin_towardzero_test_data): Likewise.
59240         (asin_upward_test_data): Likewise.
59241         (asinh_test_data): Likewise.
59242         (atan_test_data): Likewise.
59243         (atanh_test_data): Likewise.
59244         (cbrt_test_data): Likewise.
59245         (cos_test_data): Likewise.
59246         (cos_tonearest_test_data): Likewise.
59247         (cos_towardzero_test_data): Likewise.
59248         (cos_downward_test_data): Likewise.
59249         (cos_upward_test_data): Likewise.
59250         (cosh_test_data): Likewise.
59251         (cosh_tonearest_test_data): Likewise.
59252         (cosh_towardzero_test_data): Likewise.
59253         (cosh_downward_test_data): Likewise.
59254         (cosh_upward_test_data): Likewise.
59255         * sysdeps/i386/fpu/libm-test-ulps: Update.
59256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59258 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
59260         [BZ #6787]
59261         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
59262         * math/w_exp10f.c (__exp10f): Likewise.
59263         * math/w_exp10l.c (__exp10l): Likewise.
59264         * math/libm-test.inc (exp10_test_data): Add more tests and expect
59265         errno settings in existing tests.
59267         [BZ #14032]
59268         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
59269         precision control set to double precision.
59270         * sysdeps/i386/fpu/w_sqrt.c: New file.
59271         * math/auto-libm-test-in: Add more tests.
59272         * math/auto-libm-test-out: Update.
59274         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
59275         (sqrt_test_tonearest): New function.
59276         (sqrt_towardzero_test_data): New variable.
59277         (sqrt_test_towardzero): New function.
59278         (sqrt_downward_test_data): New variable.
59279         (sqrt_test_downward): New function.
59280         (sqrt_upward_test_data): New variable.
59281         (sqrt_test_upward): New function.
59282         (main): Call the new functions.
59284         * math/gen-auto-libm-tests.c: New file.
59285         * math/auto-libm-test-in: Likewise.
59286         * math/auto-libm-test-out: New generated file.
59287         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
59288         variables.
59289         (%beautify): Add generated representations of zero.
59290         (top level): Set $auto_input and call parse_auto_input.
59291         (beautify): Remove trailing "f" from hex float constants.
59292         (parse_args): Handle XFAIL_TEST.
59293         (convert_condition): New function.
59294         (or_value): Likewise.
59295         (or_cond_value): Likewise.
59296         (generate_testfile): Handle AUTO_TESTS_* lines.
59297         (parse_auto_input): New function.
59298         * math/libm-test.inc (XFAIL_TEST): New macro.
59299         (ERRNO_UNCHANGED): Update value.
59300         (ERRNO_EDOM): Likewise.
59301         (ERRNO_ERANGE): Likewise.
59302         (IGNORE_RESULT): Likewise.
59303         (TEST_COND_flt_32): New macro.
59304         (TEST_COND_dbl_64): Likewise.
59305         (TEST_COND_ldbl_96_intel): Likewise.
59306         (TEST_COND_ldbl_96_m68k): Likewise.
59307         (TEST_COND_ldbl_128): Likewise.
59308         (TEST_COND_ldbl_128ibm): Likewise.
59309         (TEST_COND_long32): Likewise.
59310         (TEST_COND_long64): Likewise.
59311         (TEST_COND_before_rounding): Likewise.
59312         (TEST_COND_after_rounding): Likewise.
59313         (enable_test): Handle XFAIL_TEST flag.
59314         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
59315         with finite results.
59316         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
59317         auto-libm-test-out.
59319 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59320             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59322         [BZ #16214]
59323         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
59324         __tls_get_addr_internal instead of __tls_get_offset in order to
59325         avoid GOT pointer dependency.  Make rtld export
59326         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
59327         __tls_get_addr since we are a __tls_get_offset platform.
59328         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
59329         GOT pointer being set up before.
59330         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
59332 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
59334         * manual/math.texi (Errors in Math Functions): Document accuracy
59335         goals.
59337         [BZ #15004]
59338         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
59339         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
59340         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59341         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59342         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59343         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59344         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59345         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59346         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59347         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59348         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59349         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59350         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59351         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59352         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59353         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59355         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
59356         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
59357         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
59358         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
59359         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
59360         Likewise.
59361         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
59362         Likewise.
59363         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
59364         Likewise.
59365         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
59366         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
59367         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
59368         atomic-feupdateenv and flt-rounds.
59369         * sysdeps/powerpc/nofpu/Versions (libc): Add
59370         __atomic_feholdexcept, __atomic_feclearexcept,
59371         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
59372         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
59373         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
59374         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
59375         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
59376         here.
59377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
59378         Update.
59380         * manual/arith.texi (FP Exceptions): Document that exceptions may
59381         not be raised when matherr is used.
59382         (Math Error Reporting): Document overflow in directed rounding
59383         modes.  Document that errno may not be set when finite values are
59384         returned on overflow.  Document intent to set errno on underflow
59385         only for underflow to zero.
59387         [BZ #16271]
59388         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
59389         round-to-nearest then adjust result for other rounding modes.
59390         * include/fenv.h (fegetround): Use libm_hidden_proto.
59391         * math/fegetround.c (fegetround): Use libm_hidden_def.
59392         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
59393         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
59394         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59395         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
59396         Likewise.
59397         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
59398         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59399         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
59400         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
59402 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59404         [BZ #16077]
59405         * nss/Versions (libnss_files): Add
59406         _nss_files_gethostbyname3_r.
59407         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
59408         New function.
59409         (HOST_DB_LOOKUP): Remove macro.
59410         (_nss_files_gethostbyname_r): Implement function without the
59411         HOST_DB_LOOKUP macro.
59412         (_nss_files_gethostbyname2_r): Likewise.
59414 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
59416         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
59418 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
59420         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
59421         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
59422         warning.
59424 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59426         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
59427         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
59428         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
59429         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
59430         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
59431         __fe_nomask_env_priv and attribute_hidden.
59432         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
59433         (libc_feupdateenv_test_ppc): Likewise.
59434         (libc_feresetround_ppc): Likewise.
59435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59436         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
59437         compat_symbol macro.
59438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59439         (__fe_nomask_env): Likewise.
59440         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
59442 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59444         * string/Makefile: Remove ifunc tests.
59445         * string/test-string.h: Define TEST_IFUNC.
59446         * string/test-bcopy-ifunc.c: Remove.
59447         * string/test-bzero-ifunc.c: Likewise.
59448         * string/test-memccpy-ifunc.c: Likewise.
59449         * string/test-memchr-ifunc.c: Likewise.
59450         * string/test-memcmp-ifunc.c: Likewise.
59451         * string/test-memcpy-ifunc.c: Likewise.
59452         * string/test-memmem-ifunc.c: Likewise.
59453         * string/test-memmove-ifunc.c: Likewise.
59454         * string/test-mempcpy-ifunc.c: Likewise.
59455         * string/test-memrchr-ifunc.c: Likewise.
59456         * string/test-memset-ifunc.c: Likewise.
59457         * string/test-rawmemchr-ifunc.c: Likewise.
59458         * string/test-stpcpy-ifunc.c: Likewise.
59459         * string/test-stpncpy-ifunc.c: Likewise.
59460         * string/test-strcasecmp-ifunc.c: Likewise.
59461         * string/test-strcasestr-ifunc.c: Likewise.
59462         * string/test-strcat-ifunc.c: Likewise.
59463         * string/test-strchr-ifunc.c: Likewise.
59464         * string/test-strchrnul-ifunc.c: Likewise.
59465         * string/test-strcmp-ifunc.c: Likewise.
59466         * string/test-strcpy-ifunc.c: Likewise.
59467         * string/test-strcspn-ifunc.c: Likewise.
59468         * string/test-strlen-ifunc.c: Likewise.
59469         * string/test-strncasecmp-ifunc.c: Likewise.
59470         * string/test-strncat-ifunc.c: Likewise.
59471         * string/test-strncmp-ifunc.c: Likewise.
59472         * string/test-strncpy-ifunc.c: Likewise.
59473         * string/test-strnlen-ifunc.c: Likewise.
59474         * string/test-strpbrk-ifunc.c: Likewise.
59475         * string/test-strrchr-ifunc.c: Likewise.
59476         * string/test-strspn-ifunc.c: Likewise.
59477         * string/test-strstr-ifunc.c: Likewise.
59479 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59481         * benchtests/Makefile: Remove ifunc tests.
59482         * benchtests/bench-string.h: Define TEST_IFUNC.
59483         * benchtests/bench-bcopy-ifunc.c: Remove.
59484         * benchtests/bench-bzero-ifunc.c: Likewise.
59485         * benchtests/bench-memccpy-ifunc.c: Likewise.
59486         * benchtests/bench-memchr-ifunc.c: Likewise.
59487         * benchtests/bench-memcmp-ifunc.c: Likewise.
59488         * benchtests/bench-memcpy-ifunc.c: Likewise.
59489         * benchtests/bench-memmem-ifunc.c: Likewise.
59490         * benchtests/bench-memmove-ifunc.c: Likewise.
59491         * benchtests/bench-mempcpy-ifunc.c: Likewise.
59492         * benchtests/bench-memrchr-ifunc.c: Likewise.
59493         * benchtests/bench-memset-ifunc.c: Likewise.
59494         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
59495         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
59496         * benchtests/bench-stpcpy-ifunc.c: Likewise.
59497         * benchtests/bench-stpncpy-ifunc.c: Likewise.
59498         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
59499         * benchtests/bench-strcasestr-ifunc.c: Likewise.
59500         * benchtests/bench-strcat-ifunc.c: Likewise.
59501         * benchtests/bench-strchr-ifunc.c: Likewise.
59502         * benchtests/bench-strchrnul-ifunc.c: Likewise.
59503         * benchtests/bench-strcmp-ifunc.c: Likewise.
59504         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
59505         * benchtests/bench-strcpy-ifunc.c: Likewise.
59506         * benchtests/bench-strcspn-ifunc.c: Likewise.
59507         * benchtests/bench-strlen-ifunc.c: Likewise.
59508         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
59509         * benchtests/bench-strncat-ifunc.c: Likewise.
59510         * benchtests/bench-strncmp-ifunc.c: Likewise.
59511         * benchtests/bench-strncpy-ifunc.c: Likewise.
59512         * benchtests/bench-strnlen-ifunc.c: Likewise.
59513         * benchtests/bench-strpbrk-ifunc.c: Likewise.
59514         * benchtests/bench-strrchr-ifunc.c: Likewise.
59515         * benchtests/bench-strsep-ifunc.c: Likewise.
59516         * benchtests/bench-strspn-ifunc.c: Likewise.
59517         * benchtests/bench-strstr-ifunc.c: Likewise.
59519 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59521         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
59523 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59525         * resolv/netdb.h: Use __glibc_reserved instead __unused.
59526         * rt/aio.h: Likewise.
59527         * sysdeps/gnu/bits/utmp.h: Likewise.
59528         * sysdeps/gnu/bits/utmpx.h: Likewise.
59529         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59530         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
59531         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
59532         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
59533         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
59534         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
59535         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
59536         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
59537         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
59538         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
59539         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
59540         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
59541         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
59542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
59543         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59544         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
59545         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
59546         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
59547         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
59548         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
59549         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
59550         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
59551         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
59552         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59553         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
59554         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59555         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
59556         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
59557         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
59558         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
59559         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
59560         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
59561         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
59562         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
59563         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
59564         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
59565         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
59566         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
59567         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
59568         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
59569         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
59570         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
59572 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
59574         [BZ #16245]
59575         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
59576         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
59578 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
59580         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
59581         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
59582         Likewise.
59584 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59586         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
59587         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
59588         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
59589         (__fesetround): Remove define.
59590         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
59591         rounding and exceptions handling.
59592         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
59593         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
59594         (__fe_nomask_env): Likewise.
59595         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
59596         __fegetround instead of fegetround.
59597         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
59598         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
59600 2013-11-21  Roland McGrath  <roland@hack.frob.com>
59602         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
59603         it's there.
59605         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
59607 2013-11-21  Meador Inge  <meadori@codesourcery.com>
59609         [BZ #11157]
59610         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
59611         (encrypt_r): Likewise.
59612         * malloc/obstack.h (obstack_free): Likewise.
59613         * posix/unistd.h (encrypt): Likewise.
59615 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
59617         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
59618         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
59619         DL_CALL_DT_FINI() that call the functions directly.
59620         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
59621         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
59622         * elf/dl-fini.c: Likewise.
59624 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
59626         * malloc/hooks.c (memalign_check): Add alignment rounding.
59627         * malloc/malloc.c (_mid_memalign): New function.
59628         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
59629         Implement by calling _mid_memalign.
59630         * manual/probes.texi (Memory Allocation Probes): Remove
59631         memory_valloc_retry and memory_pvalloc_retry.
59633 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59635         * locale/programs/locarchive.c (open_archive): Add const
59636         qualifier to ARCHIVEFNAME and copy default fname to
59637         DEFAULT_FNAME.
59639         [BZ #15601]
59640         * libio/tst-widetext.input: Rename Oriya to Odia.
59641         * locale/iso-639.def: Likewise.
59643         * manual/probes.texi (Mathematical Function Probes): Add
59644         documentation for sin, cos, asin and acos probes.
59645         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
59646         (__sin32): Add slowasin probe.
59647         (__cos32): Add slowacos probe.
59648         (__mpsin): Add slowsin probe.
59649         (__mpcos): Add slowcos probe.
59651 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
59653         [BZ #15483]
59654         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
59655         thread-local __sim_exceptions_thread and global
59656         __sim_exceptions_global.
59657         (__sim_disabled_exceptions): Change to thread-local
59658         __sim_disabled_exceptions_thread and global
59659         __sim_disabled_exceptions_global.
59660         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59661         and global __sim_round_mode_global.
59662         (__simulate_exceptions): Use thread-local floating-point state and
59663         set global state from it as needed.
59664         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
59665         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
59666         __sim_round_mode_thread.
59667         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
59668         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
59669         and global __sim_exceptions_global.
59670         (__sim_disabled_exceptions): Change to thread-local
59671         __sim_disabled_exceptions_thread and global
59672         __sim_disabled_exceptions_global.
59673         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59674         and global __sim_round_mode_global.
59675         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
59676         (SIM_SET_GLOBAL): Likewise.
59677         * sysdeps/powerpc/soft-fp/sfp-machine.h
59678         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
59679         __sim_round_mode_thread.
59680         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
59681         __sim_disabled_exceptions_thread.
59682         (__sim_exceptions): Change to __sim_exceptions_thread.
59683         (__sim_disabled_exceptions): Change to
59684         __sim_disabled_exceptions_thread.
59685         (__sim_round_mode): Change to __sim_round_mode_thread.
59686         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
59687         thread-local floating-point state and set global state from it as
59688         needed.
59689         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
59690         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
59691         (__sim_disabled_exceptions): Remove extern declaration.
59692         (feenableexcept): Use thread-local floating-point state and set
59693         global state from it as needed.
59694         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
59695         extern declaration.
59696         (__sim_disabled_exceptions): Likewise.
59697         (__sim_round_mode): Likewise.
59698         (__fegetenv): Use thread-local floating-point state.
59699         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
59700         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59701         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
59702         floating-point state and set global state from it as needed.
59703         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
59704         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
59705         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
59706         Likewise.
59707         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
59708         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
59709         Likewise.
59710         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
59711         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
59712         Use __sim_round_mode_thread.
59713         * math/test-fenv-tls.c: New file.
59714         * math/Makefile (tests): Add test-fenv-tls.
59715         ($(objpfx)test-fenv-tls): Depend on
59716         $(common-objpfx)nptl/libpthread.so.
59718 2013-11-19  Andreas Schwab  <schwab@suse.de>
59720         * locale/programs/locale.c (show_info): Decode wordarray elements.
59721         * locale/categories.def (LC_MONETARY): Add element for
59722         _NL_MONETARY_CRNCYSTR.
59723         * locale/C-monetary.c (conversion_rate): New variable.
59724         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
59725         element.
59727 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
59729         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
59730         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
59732 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59734         * elf/Makefile (tst-auxv): New test.
59735         * elf/tst-auxv.c: New
59736         * elf/rtld.c (dl_main): Adjust AT_EXECFN
59738 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
59740         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
59741         (hidden_proto): Caller changed.
59742         (hidden_tls_proto): New macro.
59743         (libc_hidden_tls_proto): Likewise.
59744         (rtld_hidden_tls_proto): Likewise.
59745         (libm_hidden_tls_proto): Likewise.
59746         (libresolv_hidden_tls_proto): Likewise.
59747         (librt_hidden_tls_proto): Likewise.
59748         (libdl_hidden_tls_proto): Likewise.
59749         (libnss_files_hidden_tls_proto): Likewise.
59750         (libnsl_hidden_tls_proto): Likewise.
59751         (libnss_nisplus_hidden_tls_proto): Likewise.
59752         (libutil_hidden_tls_proto): Likewise.
59754 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
59756         [BZ #10253]
59757         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
59758         (decompose_rpath): Defer expansion to fillin_rpath.
59759         (_dl_init_paths): Pass linkmap to fillin_rpath.
59761 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
59763         * benchtests/Makefile: Add strsep.
59764         * benchtests/bench-strsep.c: New file: strsep benchtest.
59765         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
59767 2013-11-18  Andreas Schwab  <schwab@suse.de>
59769         * locale/programs/locale.c (show_info) [case byte]: Check for
59770         '\377' instead of '\177'.
59771         * locale/C-monetary.c (not_available): Always use "\377".
59772         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
59773         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
59774         detect unavailable sign_posn locale elements.
59775         * locale/localeconv.c (__localeconv): For grouping and
59776         mon_grouping handle "\177" and "\377" like no grouping.
59777         (INT_ELEM): New macro.  Use it to set all numeric members.
59778         * locale/programs/ld-monetary.c (monetary_read)
59779         <tok_mon_grouping>: Normalize single -1 to the empty string.
59780         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
59781         Likewise.
59783 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
59785         [BZ #16055]
59786         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
59787         when we match (nil).
59788         * stdio-common/tst-sscanf.c (struct test): Add testcase.
59790 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
59792         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
59793         (NO_TEST_INLINE): Update value.
59794         (ERRNO_UNCHANGED): Likewise.
59795         (ERRNO_EDOM): Likewise.
59796         (ERRNO_ERANGE): Likewise.
59797         (IGNORE_RESULT): Likewise.
59798         (check_float_internal): Check signs of NaN results if
59799         TEST_NAN_SIGN used.
59800         (check_complex): Pass TEST_NAN_SIGN flag through to second
59801         check_float_internal call.
59802         (copysign_test_data): Add tests with quiet NaNs as second
59803         argument.  Use TEST_NAN_SIGN.
59804         (fabs_test_data): Add test of negative quiet NaN argument.  Use
59805         TEST_NAN_SIGN.
59806         (signbit_test_data): Add tests of quiet NaN argument.
59807         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
59809         * math/gen-libm-test.pl (show_exceptions): Take extra argument
59810         $ignore_result.
59811         (parse_args): Handle function results specified as IGNORE.
59812         * math/libm-test.inc (IGNORE_RESULT): New macro.
59813         (check_float_internal): Do not check numerical result if flag
59814         IGNORE_RESULT set.
59815         (check_complex): Pass through IGNORE_RESULT to second
59816         check_float_internal call.
59817         (check_int): Do not check numerical result if flag IGNORE_RESULT
59818         set.
59819         (check_long): Likewise.
59820         (check_bool): Likewise.
59821         (check_longlong): Likewise.
59822         (lrint_test_data): Add tests of infinite and NaN arguments.
59823         (lrint_tonearest_test_data): Likewise.
59824         (lrint_towardzero_test_data): Likewise.
59825         (lrint_downward_test_data): Likewise.
59826         (lrint_upward_test_data): Likewise.
59827         (llrint_test_data): Likewise.
59828         (llrint_tonearest_test_data): Likewise.
59829         (llrint_towardzero_test_data): Likewise.
59830         (llrint_downward_test_data): Likewise.
59831         (llrint_upward_test_data): Likewise.
59832         (lround_test_data): Likewise.
59833         (llround_test_data): Likewise.
59835         * math/libm-test.inc (NO_TEST_INLINE): New macro.
59836         (ERRNO_UNCHANGED): Update value.
59837         (ERRNO_EDOM): Likewise.
59838         (ERRNO_ERANGE): Likewise.
59839         (NO_TEST_INLINE_FLOAT): New macro.
59840         (NO_TEST_INLINE_DOUBLE): Likewise.
59841         (enable_test): New function.
59842         (RUN_TEST_f_f): Check enable_test before running test.
59843         (RUN_TEST_2_f): Likewise.
59844         (RUN_TEST_fff_f): Likewise.
59845         (RUN_TEST_c_f): Likewise.
59846         (RUN_TEST_f_f1): Likewise.
59847         (RUN_TEST_fF_f1): Likewise.
59848         (RUN_TEST_fI_f1): Likewise.
59849         (RUN_TEST_ffI_f1): Likewise.
59850         (RUN_TEST_c_c): Likewise.
59851         (RUN_TEST_cc_c): Likewise.
59852         (RUN_TEST_f_i): Likewise.
59853         (RUN_TEST_f_i_tg): Likewise.
59854         (RUN_TEST_ff_i_tg): Likewise.
59855         (RUN_TEST_f_b): Likewise.
59856         (RUN_TEST_f_b_tg): Likewise.
59857         (RUN_TEST_f_l): Likewise.
59858         (RUN_TEST_f_L): Likewise.
59859         (RUN_TEST_fFF_11): Likewise.
59860         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
59861         conditionals.
59862         (cosh_test_data): Likewise.
59863         (exp_test_data): Likewise.
59864         (expm1_test_data): Likewise.
59865         (hypot_test_data): Likewise.
59866         (pow_test_data): Likewise.
59867         (sinh_test_data): Likewise.
59868         (tanh_test_data): Likewise.
59869         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
59870         flags argument.
59872         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
59873         tests with quiet NaN input and output.
59874         (acosh_test_data): Likewise.
59875         (asin_test_data): Likewise.
59876         (asinh_test_data): Likewise.
59877         (atan_test_data): Likewise.
59878         (atanh_test_data): Likewise.
59879         (atan2_test_data): Likewise.
59880         (cbrt_test_data): Likewise.
59881         (cos_test_data): Likewise.
59882         (cosh_test_data): Likewise.
59883         (erf_test_data): Likewise.
59884         (erfc_test_data): Likewise.
59885         (exp_test_data): Likewise.
59886         (exp10_test_data): Likewise.
59887         (exp2_test_data): Likewise.
59888         (expm1_test_data): Likewise.
59889         (hypot_test_data): Likewise.
59890         (j0_test_data): Likewise.
59891         (j1_test_data): Likewise.
59892         (jn_test_data): Likewise.
59893         (lgamma_test_data): Likewise.
59894         (log_test_data): Likewise.
59895         (log10_test_data): Likewise.
59896         (log1p_test_data): Likewise.
59897         (log2_test_data): Likewise.
59898         (pow_test_data): Likewise.
59899         (scalb_test_data): Likewise.
59900         (sin_test_data): Likewise.
59901         (sincos_test_data): Likewise.
59902         (sinh_test_data): Likewise.
59903         (tan_test_data): Likewise.
59904         (tanh_test_data): Likewise.
59905         (tgamma_test_data): Likewise.
59906         (y0_test_data): Likewise.
59907         (y1_test_data): Likewise.
59908         (yn_test_data): Likewise.
59910         [BZ #16167]
59911         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
59912         argument being NaN and avoid computations with second argument in
59913         that case.
59914         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59915         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
59916         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59918 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
59920         * locale/iso-639.def: Add Chitwani Tharu (the).
59922 2013-11-14  Andreas Schwab  <schwab@suse.de>
59924         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
59925         word instead of empty string.
59927 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59930         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
59931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59932         (__fe_nomask_env): Likewise.
59934 2013-11-13  Steve Ellcey  <sellcey@mips.com>
59936         * benchtests/bench-timing.h: Include time.h.
59938 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
59940         [BZ #15997]
59941         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
59942         to 3.4.0 for x32.
59943         * sysdeps/unix/sysv/linux/configure: Regenerated.
59945 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
59947         [BZ #16151]
59948         * stdlib/strtod_l.c (round_and_return): Do not consider
59949         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
59950         exponent one less than half the least subnormal exponent.
59951         * stdlib/test-strtod-round-data: Add more tests.
59952         * stdlib/tst-strtod-round.c (tests): Regenerated.
59954 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59956         [BZ #14143]
59957         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
59958         (__fe_mask_env): Likewise.
59959         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
59960         libm_hidden_proto and add function prototype.
59961         (__fe_mask_env): Add function prototype.
59962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59963         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
59964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59965         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
59966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59967         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
59969 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59971         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
59972         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
59974 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59976         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
59977         of htab_find_slot().
59979 2013-11-11  David S. Miller  <davem@davemloft.net>
59981         [BZ #16150]
59982         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
59983         symbol in the non-vis3 case in static builds.
59984         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
59985         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
59986         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
59987         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
59989 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
59991         [BZ #387]
59992         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
59993         it is empty.
59995 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59997         * benchtests/Makefile: Add bench-strtod.
59998         * benchtests/bench-strtod.c: New file: strtod benchtest
60000 2013-11-11  Andreas Schwab  <schwab@suse.de>
60002         [BZ #16153]
60003         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
60004         terminating NUL in key length.
60006 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60008         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60009         Add artificial ODP entry for vDSO symbol for PPC64.
60010         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
60011         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
60013 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
60015         [BZ #15374]
60016         * nss/getent.c (services_keys): Recognize services starting with digit.
60018 2013-11-06  David S. Miller  <davem@davemloft.net>
60020         [BZ #15985]
60021         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
60022         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
60024 2013-11-06  Will Newton  <will.newton@linaro.org>
60026         * manual/memory.texi (Malloc Examples): Remove register
60027         keyword from examples.
60029 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
60031         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
60033 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
60035         [BZ #6981]
60036         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
60037         depending on [__GCC_IEC_559 > 0].
60038         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
60039         depending on [__GCC_IEC_559_COMPLEX > 0].
60041 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
60043         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
60044         to iso-639.def.
60046 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
60048         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
60050 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
60052         [BZ #16112]
60053         * malloc/malloc (malloc_info): Do not handle first bin as
60054         special case.
60056 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
60058         * locale/iso-639.def: Add Central Nahuatl (nhn).
60060 2013-11-01  Bruno Haible  <bruno@clisp.org>
60062         [BZ #7003]
60063         * manual/math.texi (BSD Random): Specify range upper bound as
60064         in POSIX.
60066 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
60068         * locale/iso-639.def: Add Meadow Mari (mhr).
60070 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
60072         [BZ #14752], [BZ #15763]
60073         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
60074         Validate name.
60075         * rt/tst_shm.c: Add test for escaping directory.
60077 2013-10-31  Andreas Schwab  <schwab@suse.de>
60079         [BZ #15917]
60080         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
60081         followed by 'x' as part of digit sequence.
60082         * stdio-common/tst-sscanf.c (double_tests2): New tests.
60084 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
60086         [BZ #16037]
60087         * configure.ac: allow GNU Make 4.0 and greater.
60088         * configure: Regenerated.
60090 2013-10-30  Will Newton  <will.newton@linaro.org>
60092         [BZ #16038]
60093         * malloc/hooks.c (memalign_check): Limit alignment to the
60094         maximum representable power of two.
60095         * malloc/malloc.c (__libc_memalign): Likewise.
60096         * malloc/tst-memalign.c (do_test): Add test for very
60097         large alignment values.
60098         * malloc/tst-posix_memalign.c (do_test): Likewise.
60100 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
60102         [BZ #11087]
60103         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
60104         (munmap_chunk): Likewise.
60105         (mremap_chunk): Likewise.
60107 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
60109         [BZ #15799]
60110         * stdlib/div.c (div): Remove obsolete code.
60111         * stdlib/ldiv.c (ldiv): Likewise.
60112         * stdlib/lldiv.c (lldiv): Likewise.
60114 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60116         [BZ #16071]
60117         * nss/nss_files/files-XXX.c (get_contents_ret): New
60118         enumerator.
60119         (get_contents): New function.
60120         (internal_getent): Use it.  Expand size of LINEBUFLEN.
60122 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
60124         * configure.in: Moved to ...
60125         * configure.ac: ... here. Change reference to configure.in
60126         to configure.ac.
60127         * sysdeps/arm/preconfigure.ac: ... here.
60128         configure.in to configure.ac.
60129         * sysdeps/gnu/configure.in: Moved to ...
60130         * sysdeps/gnu/configure.ac: ... here.
60131         * sysdeps/i386/configure.in: Moved to ...
60132         * sysdeps/i386/configure.ac: ... here.
60133         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
60134         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
60135         * sysdeps/mach/configure.in: Moved to ...
60136         * sysdeps/mach/configure.ac: ... here.
60137         * sysdeps/mach/hurd/configure.in: Moved to ...
60138         * sysdeps/mach/hurd/configure.ac: ... here.
60139         * sysdeps/powerpc/configure.in: Moved to ...
60140         * sysdeps/powerpc/configure.ac: ... here.
60141         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
60142         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
60143         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
60144         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
60145         * sysdeps/s390/s390-32/configure.in: Moved to ...
60146         * sysdeps/s390/s390-32/configure.ac: ... here.
60147         * sysdeps/s390/s390-64/configure.in: Moved to ...
60148         * sysdeps/s390/s390-64/configure.ac: ... here.
60149         * sysdeps/sh/configure.in: Moved to ...
60150         * sysdeps/sh/configure.ac: ... here.
60151         * sysdeps/sparc/configure.in: Moved to ...
60152         * sysdeps/sparc/configure.ac: ... here.
60153         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
60154         * sysdeps/unix/sysv/linux/configure.ac: ... here.
60155         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
60156         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
60157         * sysdeps/x86_64/configure.in: Moved to ...
60158         * sysdeps/x86_64/configure.ac: ... here.
60159         * sysdeps/x86_64/preconfigure.in: Moved to ...
60160         * sysdeps/x86_64/preconfigure.ac: ... here.
60161         * aclocal.m4: Change reference to configure.in to configure.ac.
60162         * config.h.in: Likewise.
60163         * manual/install.texi: Likewise.
60164         * manual/maint.texi: Likewise.
60165         * Makefile: Likewise.
60166         * malloc/Makefile: Likewise.
60167         * nscd/Makefile: Likewise.
60168         * Makeconfig: Change reference to configure.in and
60169         preconfigure.in to configure.ac and preconfigure.ac
60170         respectively.
60171         * INSTALL: Regenerated.
60172         * configure: Likewise.
60173         * sysdeps/gnu/configure: Likewise.
60174         * sysdeps/i386/configure: Likewise.
60175         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
60176         * sysdeps/mach/configure: Likewise.
60177         * sysdeps/mach/hurd/configure: Likewise.
60178         * sysdeps/powerpc/configure: Likewise.
60179         * sysdeps/powerpc/powerpc32/configure: Likewise.
60180         * sysdeps/powerpc/powerpc64/configure: Likewise.
60181         * sysdeps/s390/s390-32/configure: Likewise.
60182         * sysdeps/s390/s390-64/configure: Likewise.
60183         * sysdeps/sh/configure: Likewise.
60184         * sysdeps/sparc/configure: Likewise.
60185         * sysdeps/unix/sysv/linux/configure: Likewise.
60186         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
60187         * sysdeps/x86_64/configure: Likewise.
60188         * sysdeps/x86_64/preconfigure: Likewise.
60190 2013-10-29  Andreas Schwab  <schwab@suse.de>
60192         * stdio-common/Makefile (tst-swscanf-ENV): Define.
60194 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60196         * benchtests/pow-inputs: Add new inputs.
60198         * benchtests/exp-inputs: Add new inputs.
60200         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
60201         conditional check for return value.
60202         (__cos32): Likewise.
60204 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60206         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
60207         to provide a boost for large inputs with word alignment.
60208         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
60209         implementation based on optimized PPC64 strcpy.
60210         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
60211         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
60212         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
60213         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
60215 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60217         [BZ #2801]
60218         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
60220 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60222         [BZ #14876]
60223         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
60224         * time/tst-strptime.c (day_tests): Add testcase.
60226 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60228         [BZ #14029]
60229         * manual/pattern.texi: Acknowledge that fnmatch can fail.
60231 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
60233         [BZ #16074]
60234         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
60235         MAP_FAILED on error.
60237 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60239         [BZ #16072]
60240         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
60241         heap for large requests.
60243 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
60245         [BZ #9954]
60246         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
60247         result if the result has no associated interface.
60248         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
60249         interface for all 127.X.Y.Z addresses.
60251 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
60253         * locale/iso-639.def: Add Ligurian (lij)
60255 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
60257         [BZ #15825]
60258         * sunrpc/rpc_main.c: Document rpcgen -5.
60260 2013-10-19  Michael Stahl  <mstahl@redhat.com>
60262         * elf/rtld.c (do_preload): Print the reason why preloading failed.
60264 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
60266         [BZ #10278]
60267         * posix/glob.c: Match only directories when trailing slash is present.
60268         * posix/tst-gnuglob.c (my_opendir): Do not open files.
60269         (main): Add testcase.
60271 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
60273         [BZ #15670]
60274         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
60276 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
60278         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
60279         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
60280         AUTH_DES and cindex for FIPS 140-2.
60281         (DES Encryption): Add cindex FIPS 46-3.
60283         * locale/locarchive.h (struct locarhandle): Add fname.
60284         * locale/programs/localedef.c (main): Pass ARGV[remaining]
60285         if an optional argument was specified to --list-archive,
60286         otherwise NULL.
60287         * locale/programs/locarchive.c (show_archive_content): Take new
60288         argument fname and pass it via ah.fname to open_archive.
60289         * locale/programs/localedef.h: Update decl.
60290         (open_archive): If AH->fname is non-null, open that file
60291         rather than the default file name, and don't ignore ENOENT.
60292         (create_archive): Set AH.fname to NULL.
60293         (delete_locales_from_archive): Likewise.
60294         (add_locales_to_archive): Likewise.
60295         * locale/programs/locfile.c (write_all_categories): Likewise.
60297 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
60298             Aldy Hernandez  <aldyh@redhat.com>
60300         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
60301         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
60302         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
60303         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
60304         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
60305         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
60306         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
60307         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
60308         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
60309         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
60310         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
60311         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
60312         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
60313         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
60314         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
60315         Likewise.
60316         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
60317         Likewise.
60318         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
60319         Likewise.
60320         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
60321         Likewise.
60322         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
60323         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
60324         Likewise.
60325         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
60326         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
60327         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
60328         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
60329         Likewise.
60330         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
60331         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
60332         * sysdeps/powerpc/preconfigure: Likewise.
60333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
60334         Likewise.
60335         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
60336         Replace contents of file by #include of <fenv_libc.h>.
60337         * sysdeps/powerpc/soft-fp/sfp-machine.h
60338         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
60339         and <sys/prctl.h>.
60340         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
60341         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
60342         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
60343         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
60344         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
60345         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
60346         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
60347         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
60348         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
60349         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
60350         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
60351         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
60352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
60353         Allow copysignl PLT reference to be missing.
60355 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
60356             Joseph Myers  <joseph@codesourcery.com
60358         [BZ #15948]
60359         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
60360         single character.
60361         (add_to_tablewc): Assert sequence of wide characters is nonempty.
60363 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60365         * elf/tst-tls-dlinfo.c: Don't include tls.h.
60366         * elf/tst-tls1.c: Likewise.
60367         * elf/tst-tls10.h: Likewise.
60368         * elf/tst-tls14.c: Likewise.
60369         * elf/tst-tls2.c: Likewise.
60370         * elf/tst-tls3.c: Likewise.
60371         * elf/tst-tls4.c: Likewise.
60372         * elf/tst-tls5.c: Likewise.
60373         * elf/tst-tls6.c: Likewise.
60374         * elf/tst-tls7.c: Likewise.
60375         * elf/tst-tls8.c: Likewise.
60376         * elf/tst-tls9.c: Likewise.
60377         * elf/tst-tlsmod1.c: Likewise.
60378         * elf/tst-tlsmod13.c: Likewise.
60379         * elf/tst-tlsmod13a.c: Likewise.
60380         * elf/tst-tlsmod14a.c: Likewise.
60381         * elf/tst-tlsmod16a.c: Likewise.
60382         * elf/tst-tlsmod16b.c: Likewise.
60383         * elf/tst-tlsmod2.c: Likewise.
60384         * elf/tst-tlsmod3.c: Likewise.
60385         * elf/tst-tlsmod4.c: Likewise.
60386         * elf/tst-tlsmod5.c: Likewise.
60387         * elf/tst-tlsmod6.c: Likewise.
60389 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
60391         [BZ #12486]
60392         * malloc/malloc.c: remove checks for statistics.
60394 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
60396         [BZ #15277]
60397         * inet/inet_net.c (inet_network): Detect additional invalid strings.
60398         * inet/tst-network.c: Add testcase.
60400 2013-10-17  Andreas Schwab  <schwab@suse.de>
60402         [BZ #15218]
60403         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
60404         to determine canonical name.
60406 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
60408         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
60409         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
60410         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60411         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60412         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60413         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60414         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60415         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60416         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60417         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60418         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60419         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60420         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60421         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60422         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60423         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60424         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60425         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60426         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60427         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60428         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60429         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60430         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60431         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
60432         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
60433         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60434         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60435         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
60436         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60437         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
60438         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60439         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60440         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60441         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60442         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60443         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60444         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60445         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60446         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60447         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60448         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60449         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60450         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60451         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60452         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60453         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60454         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60455         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60456         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60457         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60458         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60459         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60460         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60461         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60462         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60463         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60464         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60465         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60467 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
60469         [BZ #16041]
60470         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
60471         make result into a quiet NaN.
60473 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
60475         * soft-fp/adddf3.c: Fix horizontal whitespace.
60476         * soft-fp/addsf3.c: Likewise.
60477         * soft-fp/addtf3.c: Likewise.
60478         * soft-fp/divdf3.c: Likewise.
60479         * soft-fp/divsf3.c: Likewise.
60480         * soft-fp/divtf3.c: Likewise.
60481         * soft-fp/double.h: Likewise.
60482         * soft-fp/eqdf2.c: Likewise.
60483         * soft-fp/eqsf2.c: Likewise.
60484         * soft-fp/eqtf2.c: Likewise.
60485         * soft-fp/extenddftf2.c: Likewise.
60486         * soft-fp/extended.h: Likewise.
60487         * soft-fp/extendsfdf2.c: Likewise.
60488         * soft-fp/extendsftf2.c: Likewise.
60489         * soft-fp/extendxftf2.c: Likewise.
60490         * soft-fp/fixdfdi.c: Likewise.
60491         * soft-fp/fixdfsi.c: Likewise.
60492         * soft-fp/fixdfti.c: Likewise.
60493         * soft-fp/fixsfdi.c: Likewise.
60494         * soft-fp/fixsfsi.c: Likewise.
60495         * soft-fp/fixsfti.c: Likewise.
60496         * soft-fp/fixtfdi.c: Likewise.
60497         * soft-fp/fixtfsi.c: Likewise.
60498         * soft-fp/fixtfti.c: Likewise.
60499         * soft-fp/fixunsdfdi.c: Likewise.
60500         * soft-fp/fixunsdfsi.c: Likewise.
60501         * soft-fp/fixunsdfti.c: Likewise.
60502         * soft-fp/fixunssfdi.c: Likewise.
60503         * soft-fp/fixunssfsi.c: Likewise.
60504         * soft-fp/fixunssfti.c: Likewise.
60505         * soft-fp/fixunstfdi.c: Likewise.
60506         * soft-fp/fixunstfsi.c: Likewise.
60507         * soft-fp/fixunstfti.c: Likewise.
60508         * soft-fp/floatdidf.c: Likewise.
60509         * soft-fp/floatdisf.c: Likewise.
60510         * soft-fp/floatditf.c: Likewise.
60511         * soft-fp/floatsidf.c: Likewise.
60512         * soft-fp/floatsisf.c: Likewise.
60513         * soft-fp/floatsitf.c: Likewise.
60514         * soft-fp/floattidf.c: Likewise.
60515         * soft-fp/floattisf.c: Likewise.
60516         * soft-fp/floattitf.c: Likewise.
60517         * soft-fp/floatundidf.c: Likewise.
60518         * soft-fp/floatundisf.c: Likewise.
60519         * soft-fp/floatunditf.c: Likewise.
60520         * soft-fp/floatunsidf.c: Likewise.
60521         * soft-fp/floatunsisf.c: Likewise.
60522         * soft-fp/floatunsitf.c: Likewise.
60523         * soft-fp/floatuntidf.c: Likewise.
60524         * soft-fp/floatuntisf.c: Likewise.
60525         * soft-fp/floatuntitf.c: Likewise.
60526         * soft-fp/fmadf4.c: Likewise.
60527         * soft-fp/fmasf4.c: Likewise.
60528         * soft-fp/fmatf4.c: Likewise.
60529         * soft-fp/gedf2.c: Likewise.
60530         * soft-fp/gesf2.c: Likewise.
60531         * soft-fp/getf2.c: Likewise.
60532         * soft-fp/ledf2.c: Likewise.
60533         * soft-fp/lesf2.c: Likewise.
60534         * soft-fp/letf2.c: Likewise.
60535         * soft-fp/muldf3.c: Likewise.
60536         * soft-fp/mulsf3.c: Likewise.
60537         * soft-fp/multf3.c: Likewise.
60538         * soft-fp/negdf2.c: Likewise.
60539         * soft-fp/negsf2.c: Likewise.
60540         * soft-fp/negtf2.c: Likewise.
60541         * soft-fp/op-1.h: Likewise.
60542         * soft-fp/op-2.h: Likewise.
60543         * soft-fp/op-4.h: Likewise.
60544         * soft-fp/op-8.h: Likewise.
60545         * soft-fp/op-common.h: Likewise.
60546         * soft-fp/quad.h: Likewise.
60547         * soft-fp/single.h: Likewise.
60548         * soft-fp/soft-fp.h: Likewise.
60549         * soft-fp/sqrtdf2.c: Likewise.
60550         * soft-fp/sqrtsf2.c: Likewise.
60551         * soft-fp/sqrttf2.c: Likewise.
60552         * soft-fp/subdf3.c: Likewise.
60553         * soft-fp/subsf3.c: Likewise.
60554         * soft-fp/subtf3.c: Likewise.
60555         * soft-fp/truncdfsf2.c: Likewise.
60556         * soft-fp/trunctfdf2.c: Likewise.
60557         * soft-fp/trunctfsf2.c: Likewise.
60558         * soft-fp/trunctfxf2.c: Likewise.
60559         * soft-fp/unorddf2.c: Likewise.
60560         * soft-fp/unordsf2.c: Likewise.
60561         * soft-fp/unordtf2.c: Likewise.
60563 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
60565         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
60566         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
60568 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
60570         * elf/dl-libc.c: Clear initfini list after freeing.
60572 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
60574         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
60575         * soft-fp/addsf3.c: Likewise.
60576         * soft-fp/addtf3.c: Likewise.
60577         * soft-fp/divdf3.c: Likewise.
60578         * soft-fp/divsf3.c: Likewise.
60579         * soft-fp/divtf3.c: Likewise.
60580         * soft-fp/double.h: Likewise.
60581         * soft-fp/eqdf2.c: Likewise.
60582         * soft-fp/eqsf2.c: Likewise.
60583         * soft-fp/eqtf2.c: Likewise.
60584         * soft-fp/extenddftf2.c: Likewise.
60585         * soft-fp/extended.h: Likewise.
60586         * soft-fp/extendsfdf2.c: Likewise.
60587         * soft-fp/extendsftf2.c: Likewise.
60588         * soft-fp/extendxftf2.c: Likewise.
60589         * soft-fp/fixdfdi.c: Likewise.
60590         * soft-fp/fixdfsi.c: Likewise.
60591         * soft-fp/fixdfti.c: Likewise.
60592         * soft-fp/fixsfdi.c: Likewise.
60593         * soft-fp/fixsfsi.c: Likewise.
60594         * soft-fp/fixsfti.c: Likewise.
60595         * soft-fp/fixtfdi.c: Likewise.
60596         * soft-fp/fixtfsi.c: Likewise.
60597         * soft-fp/fixtfti.c: Likewise.
60598         * soft-fp/fixunsdfdi.c: Likewise.
60599         * soft-fp/fixunsdfsi.c: Likewise.
60600         * soft-fp/fixunsdfti.c: Likewise.
60601         * soft-fp/fixunssfdi.c: Likewise.
60602         * soft-fp/fixunssfsi.c: Likewise.
60603         * soft-fp/fixunssfti.c: Likewise.
60604         * soft-fp/fixunstfdi.c: Likewise.
60605         * soft-fp/fixunstfsi.c: Likewise.
60606         * soft-fp/fixunstfti.c: Likewise.
60607         * soft-fp/floatdidf.c: Likewise.
60608         * soft-fp/floatdisf.c: Likewise.
60609         * soft-fp/floatditf.c: Likewise.
60610         * soft-fp/floatsidf.c: Likewise.
60611         * soft-fp/floatsisf.c: Likewise.
60612         * soft-fp/floatsitf.c: Likewise.
60613         * soft-fp/floattidf.c: Likewise.
60614         * soft-fp/floattisf.c: Likewise.
60615         * soft-fp/floattitf.c: Likewise.
60616         * soft-fp/floatundidf.c: Likewise.
60617         * soft-fp/floatundisf.c: Likewise.
60618         * soft-fp/floatunsidf.c: Likewise.
60619         * soft-fp/floatunsisf.c: Likewise.
60620         * soft-fp/floatuntidf.c: Likewise.
60621         * soft-fp/floatuntisf.c: Likewise.
60622         * soft-fp/floatuntitf.c: Likewise.
60623         * soft-fp/fmadf4.c: Likewise.
60624         * soft-fp/fmasf4.c: Likewise.
60625         * soft-fp/fmatf4.c: Likewise.
60626         * soft-fp/gedf2.c: Likewise.
60627         * soft-fp/gesf2.c: Likewise.
60628         * soft-fp/getf2.c: Likewise.
60629         * soft-fp/ledf2.c: Likewise.
60630         * soft-fp/lesf2.c: Likewise.
60631         * soft-fp/letf2.c: Likewise.
60632         * soft-fp/muldf3.c: Likewise.
60633         * soft-fp/mulsf3.c: Likewise.
60634         * soft-fp/multf3.c: Likewise.
60635         * soft-fp/negdf2.c: Likewise.
60636         * soft-fp/negsf2.c: Likewise.
60637         * soft-fp/negtf2.c: Likewise.
60638         * soft-fp/op-1.h: Likewise.
60639         * soft-fp/op-2.h: Likewise.
60640         * soft-fp/op-4.h: Likewise.
60641         * soft-fp/op-8.h: Likewise.
60642         * soft-fp/op-common.h: Likewise.
60643         * soft-fp/quad.h: Likewise.
60644         * soft-fp/single.h: Likewise.
60645         * soft-fp/soft-fp.h: Likewise.
60646         * soft-fp/sqrtdf2.c: Likewise.
60647         * soft-fp/sqrtsf2.c: Likewise.
60648         * soft-fp/sqrttf2.c: Likewise.
60649         * soft-fp/subdf3.c: Likewise.
60650         * soft-fp/subsf3.c: Likewise.
60651         * soft-fp/subtf3.c: Likewise.
60652         * soft-fp/truncdfsf2.c: Likewise.
60653         * soft-fp/trunctfdf2.c: Likewise.
60654         * soft-fp/trunctfsf2.c: Likewise.
60655         * soft-fp/trunctfxf2.c: Likewise.
60656         * soft-fp/unorddf2.c: Likewise.
60657         * soft-fp/unordsf2.c: Likewise.
60658         * soft-fp/unordtf2.c: Likewise.
60660 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
60662         [BZ #15672]
60663         * misc/error.c (error_tail): Fix possible buffer overflow.
60665 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
60667         [BZ #13028]
60668         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
60669         address.
60671 2013-10-14  P. J. McDermott  <pj@pehjota.net>
60673         [BZ #832]
60674         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
60675         testing pipefail option.
60677 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60679         * soft-fp/double.h: Indent preprocessor directives inside #if.
60680         * soft-fp/extended.h: Likewise.
60681         * soft-fp/op-2.h: Likewise.
60682         * soft-fp/op-4.h: Likewise.
60683         * soft-fp/op-common.h: Likewise.
60684         * soft-fp/quad.h: Likewise.
60685         * soft-fp/single.h: Likewise.
60686         * soft-fp/soft-fp.h: Likewise.
60688 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
60690         * iconv/iconv_prog.c: Fix typos.
60691         * stdio-common/psiginfo-data.h: Likewise.
60693 2013-10-12   Reuben Thomas <rrt@sc3d.org>
60695         [BZ #15764]
60696         * locale/setlocale.c: Fix typo.
60698 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60700         [BZ #16036]
60701         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
60702         signaling NaN arguments.
60703         * soft-fp/unordsf2.c (__unordsf2): Likewise.
60704         * soft-fp/unordtf2.c (__unordtf2): Likewise.
60706         [BZ #14910]
60707         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
60708         unordered operands.
60709         * soft-fp/gesf2.c (__gesf2): Likewise.
60710         * soft-fp/getf2.c (__getf2): Likewise.
60711         * soft-fp/ledf2.c (__ledf2): Likewise.
60712         * soft-fp/lesf2.c (__lesf2): Likewise.
60713         * soft-fp/letf2.c (__letf2): Likewise.
60715         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
60716         * soft-fp/eqsf2.c (__eqsf2): Likewise.
60717         * soft-fp/eqtf2.c (__eqtf2): Likewise.
60718         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
60719         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
60720         * soft-fp/fixdfti.c (__fixdfti): Likewise.
60721         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
60722         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
60723         * soft-fp/fixsfti.c (__fixsfti): Likewise.
60724         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
60725         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
60726         * soft-fp/fixtfti.c (__fixtfti): Likewise.
60727         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
60728         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
60729         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
60730         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
60731         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
60732         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
60733         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
60734         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
60735         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
60736         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
60737         * soft-fp/floatdisf.c (__floatdisf): Likewise.
60738         * soft-fp/floatsisf.c (__floatsisf): Likewise.
60739         * soft-fp/floattidf.c (__floattidf): Likewise.
60740         * soft-fp/floattisf.c (__floattisf): Likewise.
60741         * soft-fp/floattitf.c (__floattitf): Likewise.
60742         * soft-fp/floatundidf.c (__floatundidf): Likewise.
60743         * soft-fp/floatundisf.c (__floatundisf): Likewise.
60744         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
60745         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
60746         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
60747         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
60748         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
60749         * soft-fp/gesf2.c (__gesf2): Likewise.
60750         * soft-fp/getf2.c (__getf2): Likewise.
60751         * soft-fp/ledf2.c (__ledf2): Likewise.
60752         * soft-fp/lesf2.c (__lesf2): Likewise.
60753         * soft-fp/letf2.c (__letf2): Likewise.
60755         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
60756         Undefine and redefine.
60757         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
60758         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
60759         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
60760         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
60761         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60762         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
60763         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60764         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
60765         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60766         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
60767         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60768         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
60769         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60770         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
60771         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60773         [BZ #16032]
60774         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
60775         without decrementing exponent if mantissa >= that for the
60776         denominator, not >.
60777         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
60778         denominator, not >.  Decrement exponent in < case instead of
60779         incrementing in >= case.
60780         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
60781         without decrementing exponent if mantissa >= that for the
60782         denominator, not >.
60784         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
60785         computing saturated result for unsigned overflow.
60787 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60788             Jeff Law  <law@redhat.com>
60790         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
60791         (atan2Mp): Add systemtap probe marker.
60792         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
60793         (__ieee754_log): Add systemtap probe marker.
60794         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
60795         (atanMp): Add systemtap probe marker.
60796         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
60797         (tanMp): Add systemtap probe marker.
60798         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
60799         (__slowexp): Add systemtap probe marker.
60800         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
60801         (__slowpow): Add systemtap probe marker.
60802         * manual/probes.texi: Document probes.
60804 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
60806         [BZ #15362]
60807         * libio/fileops.c (_IO_new_file_write): Return count of bytes
60808         written.
60809         (_IO_new_file_xsputn): Don't return EOF if nothing has been
60810         written.
60811         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
60812         written to buffer but not flushed.
60813         * libio/iofwrite_u.c:  Likewise.
60814         * libio/iopadn.c:  Return bytes returned even if EOF was
60815         encountered.
60816         * libio/iowpadn.c:  Likewise.
60817         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
60818         if _IO_padn does not write the whole buffer.
60819         [!COMPILE_WPRINTF] (PAD): Likewise.
60821 2013-10-10  David S. Miller  <davem@davemloft.net>
60823         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
60824         directory block.
60826 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
60828         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
60829         instead of FSF address.
60830         * soft-fp/fixdfti.c: Likewise.
60831         * soft-fp/fixsfti.c: Likewise.
60832         * soft-fp/fixtfti.c: Likewise.
60833         * soft-fp/fixunsdfti.c: Likewise.
60834         * soft-fp/fixunssfti.c: Likewise.
60835         * soft-fp/fixunstfti.c: Likewise.
60836         * soft-fp/floattidf.c: Likewise.
60837         * soft-fp/floattisf.c: Likewise.
60838         * soft-fp/floattitf.c: Likewise.
60839         * soft-fp/floatuntidf.c: Likewise.
60840         * soft-fp/floatuntisf.c: Likewise.
60841         * soft-fp/floatuntitf.c: Likewise.
60842         * soft-fp/trunctfxf2.c: Likewise.
60844         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
60845         * soft-fp/fixdfti.c: Likewise.
60846         * soft-fp/fixsfti.c: Likewise.
60847         * soft-fp/fixtfti.c: Likewise.
60848         * soft-fp/fixunsdfti.c: Likewise.
60849         * soft-fp/fixunssfti.c: Likewise.
60850         * soft-fp/fixunstfti.c: Likewise.
60851         * soft-fp/floattidf.c: Likewise.
60852         * soft-fp/floattisf.c: Likewise.
60853         * soft-fp/floattitf.c: Likewise.
60854         * soft-fp/floatuntidf.c: Likewise.
60855         * soft-fp/floatuntisf.c: Likewise.
60856         * soft-fp/floatuntitf.c: Likewise.
60857         * soft-fp/trunctfxf2.c: Likewise.
60859 2013-10-10  David S. Miller  <davem@davemloft.net>
60861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60863 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
60865         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
60866         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
60867         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
60868         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
60869         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
60870         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
60871         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
60873         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
60874         for NaNs before doing comparisons on argument.
60875         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
60876         Likewise.
60878 2013-10-10  Will Newton  <will.newton@linaro.org>
60880         * malloc/hooks.c (memalign_check): Ensure the value of bytes
60881         passed to _int_memalign does not overflow.
60883 2013-10-10  Torvald Riegel  <triegel@redhat.com>
60885         * scripts/bench.pl: Add include-sources directive.
60886         * benchtests/README: Update documentation.
60888 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
60890         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
60891         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
60892         instead of FP_INIT_ROUNDMODE.
60893         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
60894         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
60896         [BZ #16034]
60897         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
60898         copy class of input value.
60899         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
60900         not handle exceptions.
60901         * soft-fp/negsf2.c (__negsf2): Likewise.
60902         * soft-fp/negtf2.c (__negtf2): Likewise.
60903         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
60905 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
60907         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
60908         semicolon.  From Linux kernel.
60910 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
60912         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
60914 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
60916         [BZ #156]
60917         * manual/socket.texi: Added statement about buffer
60918         for gethostbyname2_r.
60920 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
60922         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
60923         Use .p2align directive instead, throughout.
60924         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
60925         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
60926         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
60927         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60928         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60929         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
60930         * sysdeps/x86_64/strchr.S: Likewise.
60931         * sysdeps/x86_64/strrchr.S: Likewise.
60933 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60935         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
60937         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
60939         * sysdeps/generic/math_private.h (__mpsin1): Remove
60940         declaration.
60941         (__mpcos1): Likewise.
60942         (__mpsin): New argument __range_reduce.
60943         (__mpcos): Likewise.
60944         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60945         (slow): Use __mpsin and __mpcos.
60946         (slow1): Likewise.
60947         (slow2): Likewise.
60948         (sloww): Likewise.
60949         (sloww1): Likewise.
60950         (sloww2): Likewise.
60951         (bsloww): Likewise.
60952         (bsloww1): Likewise.
60953         (bsloww2): Likewise.
60954         (cslow2): Likewise.
60955         (csloww): Likewise.
60956         (csloww1): Likewise.
60957         (csloww2): Likewise.
60958         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
60959         range_reduce.  Merge in __mpsin1.
60960         (__mpcos): Likewise.
60961         (__mpsin1): Remove.
60962         (__mpcos1): Likewise.
60964 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
60966         * locale/loadlocale.c (_nl_intern_locale_data): Use
60967         LOCFILE_ALIGNED_P.
60968         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
60969         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
60970         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
60971         obstack data is appropriately aligned.
60972         (obstack_int32_grow_fast): Likewise.
60973         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
60974         * locale/programs/locfile.c (add_locale_uint32): Likewise.
60975         (add_locale_uint32_array): Likewise.
60977 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60979         * benchtests/Makefile: Remove ARGLIST and RET variables.
60980         ($(objpfx)bench-%.c): Pass only function name to the script.
60981         * benchtests/README: Update documentation.
60982         * benchtests/acos-inputs: Add new directives.
60983         * benchtests/acosh-inputs: Likewise.
60984         * benchtests/asin-inputs: Likewise.
60985         * benchtests/asinh-inputs: Likewise.
60986         * benchtests/atan-inputs: Likewise.
60987         * benchtests/atanh-inputs: Likewise.
60988         * benchtests/cos-inputs: Likewise.
60989         * benchtests/cosh-inputs: Likewise.
60990         * benchtests/exp-inputs: Likewise.
60991         * benchtests/log-inputs: Likewise.
60992         * benchtests/pow-inputs: Likewise.
60993         * benchtests/rint-inputs: Likewise.
60994         * benchtests/sin-inputs: Likewise.
60995         * benchtests/sinh-inputs: Likewise.
60996         * benchtests/tan-inputs: Likewise.
60997         * benchtests/tanh-inputs: Likewise.
60998         * scripts/bench.pl: Add support for new directives.
61000 2013-10-07  Alan Modra  <amodra@gmail.com>
61002         * README: Fix careless merge.
61004 2013-10-05  Alan Modra  <amodra@gmail.com>
61006         * NEWS: Mention powerpc64le support and bugs fixed.
61007         * README: Both big-endian and little-endian powerpc64 supported.
61009 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61011         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
61012         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
61013         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
61014         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
61016 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
61018         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
61019         match prototype.
61021 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
61023         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
61024         Move -mhard-float appending from
61025         ports/sysdeps/powerpc/powerpc32/Makefile.
61026         [$(with-fp) = yes] (ASFLAGS): Likewise.
61027         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
61028         * sysdeps/powerpc/nofpu: Move directory from
61029         ports/sysdeps/powerpc/nofpu.
61030         * sysdeps/powerpc/soft-fp: Move directory from
61031         ports/sysdeps/powerpc/soft-fp.
61032         * sysdeps/powerpc/powerpc32/405: Move directory from
61033         ports/sysdeps/powerpc/powerpc32/405.
61034         * sysdeps/powerpc/powerpc32/440: Move directory from
61035         ports/sysdeps/powerpc/powerpc32/440.
61036         * sysdeps/powerpc/powerpc32/464: Move directory from
61037         ports/sysdeps/powerpc/powerpc32/464.
61038         * sysdeps/powerpc/powerpc32/476: Move directory from
61039         ports/sysdeps/powerpc/powerpc32/476.
61040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
61041         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
61042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
61043         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
61044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
61045         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
61046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
61047         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
61048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
61049         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
61050         * README: Update for powerpc-*-linux-gnu software floating point
61051         support in libc.
61053         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
61054         case to powerpc/powerpc32*.
61055         * sysdeps/unix/sysv/linux/configure: Regenerated.
61057         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
61058         (_FPU_MASK_OM): Define as 0x04.
61059         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
61060         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
61061         0x00c10080.
61062         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
61063         0x0000003c.
61064         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
61066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
61067         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61068         getcontext_e500.
61069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
61070         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61071         setcontext_e500.
61072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
61073         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
61074         and setcontext_e500.
61076 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
61078         * locale/iso-3166.def: Update iso-1366.def and related occurrences
61080 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61082         * manual/threads.texi (Default Thread Attributes): Fix typo.
61084 2013-10-04  Will Newton  <will.newton@linaro.org>
61086         * malloc/Makefile: Add tst-memalign.
61087         * malloc/tst-memalign.c: New file.
61089         * malloc/tst-posix_memalign.c: Add comments.
61090         (do_test): Add comments and call free on all potentially
61091         allocated pointers. Add space after cast.
61093         * malloc/tst-pvalloc.c: Add comments.
61094         (do_test): Add comments and call free on all potentially
61095         allocated pointers. Remove duplicate check for NULL pointer.
61096         Add space after cast.
61098         * malloc/tst-valloc.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 2013-10-04  Alan Modra  <amodra@gmail.com>
61105         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
61106         Use stdint types in rather than __attribute__((mode())).
61107         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
61109 2013-10-04  Alan Modra  <amodra@gmail.com>
61111         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
61112         Correct handling of unaligned relocs for little-endian.
61113         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
61115 2013-10-04  Alan Modra  <amodra@gmail.com>
61117         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
61118         * configure: Regenerate.
61119         * nptl/shlib-versions: Powerpc*le starts at 2.18.
61120         * shlib-versions: Likewise.
61122 2013-10-04  Alan Modra  <amodra@gmail.com>
61124         * string/tester.c (test_memrchr): Increment reported test cycle.
61126 2013-10-04  Alan Modra  <amodra@gmail.com>
61128         * string/test-memcpy.c (do_one_test): When reporting errors, print
61129         string address and don't overrun end of string.
61131 2013-10-04  Alan Modra  <amodra@gmail.com>
61133         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
61134         insrdi.  Make better use of reg selection to speed exit slightly.
61135         Schedule entry path a little better.  Remove useless "are we done"
61136         checks on entry to main loop.  Handle wrapping around zero address.
61137         Correct main loop count.  Handle single left-over word from main
61138         loop inline rather than by using loop_small.  Remove extra word
61139         case in loop_small caused by wrong loop count.  Add little-endian
61140         support.
61141         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61142         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
61143         cache hint.
61144         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61145         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
61146         support.  Avoid rlwimi.
61147         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
61149 2013-10-04  Alan Modra  <amodra@gmail.com>
61151         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
61152         insrdi.  Formatting.
61153         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
61154         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
61155         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
61156         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
61157         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
61158         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
61160 2013-10-04  Alan Modra  <amodra@gmail.com>
61162         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
61163         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61164         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
61165         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
61166         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61167         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61168         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61169         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61170         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
61171         use of regs.  Use power7 mtocrf.  Tidy function tails.
61173 2013-10-04  Alan Modra  <amodra@gmail.com>
61175         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
61176         Formatting.  Consistently use rXXX register defines or rN defines.
61177         Use early exit labels that avoid restoring unused non-volatile regs.
61178         Make cr field use more consistent with rWORDn compares.  Rename
61179         regs used as shift registers for unaligned loop, using rN defines
61180         for short lifetime/multiple use regs.
61181         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61182         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
61183         addi 1,1,64 to pop stack frame.  Simplify return value code.
61184         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61186 2013-10-04  Alan Modra  <amodra@gmail.com>
61188         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
61189         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
61190         rather than rlwimi.
61191         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
61192         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
61193         little-endian support.  Correct typos.
61194         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
61195         rather than rlwimi.
61196         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
61197         in loop and entry code to keep "and." results.
61198         (strchr): Add little-endian support.  Comment.  Move cntlzd
61199         earlier in tail.
61200         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
61202 2013-10-04  Alan Modra  <amodra@gmail.com>
61204         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
61205         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
61206         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
61207         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
61209 2013-10-04  Alan Modra  <amodra@gmail.com>
61211         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
61212         (rTMP): Define as r11.
61213         (strcmp): Add little-endian support.  Optimise tail.
61214         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
61215         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61216         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61217         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61218         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61219         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61220         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61222 2013-10-04  Alan Modra  <amodra@gmail.com>
61224         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
61225         little-endian support.  Remove unnecessary "are we done" tests.
61226         Handle "s" wrapping around zero and extremely large "size".
61227         Correct main loop count.  Handle single left-over word from main
61228         loop inline rather than by using small_loop.  Correct comments.
61229         Delete "zero" tail, use "end_max" instead.
61230         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
61232 2013-10-04  Alan Modra  <amodra@gmail.com>
61234         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
61235         support.  Don't branch over align.
61236         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
61237         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
61238         support.  Rearrange tmp reg use to suit.  Comment.
61239         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
61241 2013-10-04  Alan Modra  <amodra@gmail.com>
61243         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
61245 2013-10-04  Alan Modra  <amodra@gmail.com>
61247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
61248         conditional form of branch and link when obtaining pc.
61249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
61251 2013-10-04  Alan Modra  <amodra@gmail.com>
61253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
61254         HIWORD/LOWORD.
61255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
61256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
61258 2013-10-04  Alan Modra  <amodra@gmail.com>
61260         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
61261         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
61262         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
61263         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
61264         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
61265         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
61266         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
61267         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
61268         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
61269         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
61271 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61272             Alistair Popple <alistair@ozlabs.au.ibm.com>
61273             Alan Modra <amodra@gmail.com>
61275         [BZ #15723]
61276         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
61277         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
61278         _dl_hwcap access for little-endian.
61279         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
61280         destroy vmx regs when saving unaligned.
61281         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
61282         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
61283         destroy vmx regs when saving unaligned.
61285 2013-10-04  Alan Modra  <amodra@gmail.com>
61287         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
61288         Don't use a union to pack hi/low value.
61290 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61292         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
61293         for little-endian.
61294         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
61295         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
61296         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61297         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
61298         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
61300 2013-10-04  Alan Modra  <amodra@gmail.com>
61302         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
61303         constants to usual value for .cst8 section, and remove redundant
61304         high address load.
61305         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
61306         constant for 0x1p52.  Load little-endian words of double from
61307         correct stack offsets.
61309 2013-10-04  Alan Modra  <amodra@gmail.com>
61311         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
61312         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
61313         words of double from correct stack offsets.
61314         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
61315         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
61316         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
61317         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61318         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
61319         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
61320         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
61321         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
61322         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
61323         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
61324         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
61325         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
61326         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
61327         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
61328         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
61329         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
61330         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
61332 2013-10-04  Alan Modra  <amodra@gmail.com>
61334         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
61335         64-bit int/double union.
61336         (_FPU_SETCW): Likewise.
61337         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
61338         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
61340 2013-10-04  Alan Modra  <amodra@gmail.com>
61342         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
61343         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
61345 2013-10-04  Alan Modra  <amodra@gmail.com>
61347         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
61348         use vector int constants.
61349         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
61351 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61353         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
61354         array with long long.
61355         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
61356         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
61357         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
61358         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
61359         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
61360         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
61361         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
61362         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
61363         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
61364         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
61365         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
61366         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
61367         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
61369 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61371         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
61372         (__signbit): Likewise.  Correct for little-endian.
61373         (__signbitl): Call __signbit.
61374         (lrint): Correct for little-endian.
61375         (lrintf): Call lrint.
61377 2013-10-04  Alan Modra  <amodra@gmail.com>
61379         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
61380         union 32-bit int array member with 64-bit int array.
61381         (t515, tm256): Double rather than long double.
61382         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
61384 2013-10-04  Alan Modra  <amodra@gmail.com>
61386         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
61387         Delete.
61388         (IEEE854_LONG_DOUBLE_BIAS): Delete.
61389         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
61390         version of math_ldbl.h.
61392 2013-10-04  Alan Modra  <amodra@gmail.com>
61394         [BZ #15734], [BZ #15735]
61395         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
61396         all uses of ieee875 long double macros and unions.  Simplify test
61397         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
61398         ldbl_extract_mantissa value for ix,iy exponents.  Properly
61399         normalize after ldbl_extract_mantissa, and don't add hidden bit
61400         already handled.  Don't treat low word of ieee854 mantissa like
61401         low word of IBM long double and mask off bit when testing for
61402         zero.
61403         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
61404         all uses of ieee875 long double macros and unions.  Simplify tests
61405         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
61406         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
61407         two1022, instead use their values.  Recognise that tests for large
61408         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
61409         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
61410         Rewrite all uses of ieee875 long double macros and unions.  Simplify
61411         test for 0.0L and nan.  Correct negation.
61412         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
61413         ieee875 long double macros and unions.  Correct output for large
61414         magnitude x.  Correct absolute value calculation.
61415         (__erfcl): Likewise.
61416         * math/libm-test.inc: Add tests for errors discovered in IBM long
61417         double versions of fmodl, remainderl, erfl and erfcl.
61419 2013-10-04  Alan Modra  <amodra@gmail.com>
61421         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
61422         all uses of ieee854 long double macros and unions.  Simplify tests
61423         for long doubles that are fully specified by the high double.
61424         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
61425         Likewise.
61426         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
61427         Remove dead code too.
61428         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
61429         (__ieee754_ynl): Likewise.
61430         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
61431         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
61432         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
61433         Remove dead code too.
61434         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
61435         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
61436         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
61437         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
61438         Simplify.
61439         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
61440         Simplify.
61441         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
61442         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
61443         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
61444         Comment on variable precision.
61445         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
61446         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61447         Likewise.
61448         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
61449         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61450         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61451         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
61452         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
61454 2013-10-04  Alan Modra  <amodra@gmail.com>
61456         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
61457         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
61458         all uses of ieee854 long double macros and unions.
61459         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
61460         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
61461         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
61462         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
61463         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
61464         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
61465         Likewise.
61466         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
61467         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61468         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
61469         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61470         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
61471         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
61472         Simplify sign and nan test too.
61473         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
61474         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
61475         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
61476         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
61477         Likewise.
61478         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
61479         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
61480         Likewise.
61481         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61482         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
61483         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
61484         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
61485         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
61486         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
61488 2013-10-04  Alan Modra  <amodra@gmail.com>
61490         * stdio-common/printf_size.c (__printf_size): Don't use
61491         union ieee854_long_double in fpnum union.
61492         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
61493         signbit macro to retrieve sign from long double.
61494         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
61495         retrieve sign from long double.
61496         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
61497         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
61498         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
61499         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61500         * math/test-misc.c (main): Don't use union ieee854_long_double.
61502 2013-10-04  Alan Modra  <amodra@gmail.com>
61504         [BZ #15680]
61505         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
61506         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
61507         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
61508         calculation.  Remove unnecessary test for denormal exponent.
61509         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
61510         Correct handling of denormals.  Avoid undefined shift behaviour.
61511         Correct normalisation of low mantissa when low double is denormal.
61512         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
61513         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
61514         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
61515         Correct normalisation of low mantissa.  Test for overflow of high
61516         mantissa and normalise.
61517         (ldbl_nearbyint): Use more readable constant for two52.
61518         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
61519         (__mpn_construct_long_double): Fix test for overflow of high
61520         mantissa and correct normalisation.  Avoid undefined shift.
61522 2013-10-04  Alan Modra  <amodra@gmail.com>
61524         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61525         (union ibm_extended_long_double): Define as an array of ieee754_double.
61526         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
61527         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
61528         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
61529         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61530         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61531         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
61532         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61533         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61534         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61535         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
61536         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61538 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
61540         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
61541         page size instead of calling getpagesize.
61543         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
61544         (LOCFILE_ALIGN_MASK): Likewise.
61545         (LOCFILE_ALIGN_UP): Likewise.
61546         (LOCFILE_ALIGNED_P): Likewise.
61547         * locale/programs/ld-collate.c (collate_output): Use the new
61548         macros instead of __alignof__ (int32_t).
61549         * locale/weight.h (findidx): Likewise.
61551 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
61553         [BZ #431]
61554         * manual/string.texi: Fix strncat and wcsncat.
61556 2013-10-03  Brooks Moses  <bmoses@google.com>
61558         [BZ #15915]
61559         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
61560         * Makerules: ...here, and adjust associated comments.
61562 2013-10-02  Will Newton  <will.newton@linaro.org>
61564         * malloc/Makefile: Add tst-pvalloc.
61565         * malloc/tst-pvalloc.c: New file.
61567 2013-10-02  Will Newton  <will.newton@linaro.org>
61569         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
61570         improve test coverage.
61572 2013-10-02  Will Newton  <will.newton@linaro.org>
61574         * malloc/Makefile: Add tst-posix_memalign.
61575         * malloc/tst-posix_memalign.c: New file.
61577 2013-10-01  Eric Blake  <eblake@redhat.com>
61579         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
61580         Use __THROWNL rather than __THROW on static functions.
61582 2013-09-30  Petr Machata  <pmachata@redhat.com>
61584         * elf/elf.h (R_AARCH64_ABS16): New macro.
61585         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
61586         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
61587         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
61588         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
61589         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
61590         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
61591         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
61592         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
61593         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
61594         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
61595         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
61596         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
61597         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
61598         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
61599         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
61600         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
61601         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
61602         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
61603         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
61604         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
61605         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
61606         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
61607         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
61608         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
61609         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
61610         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
61611         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
61612         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
61613         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
61614         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
61615         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
61616         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
61617         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
61618         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
61619         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
61620         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
61621         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
61622         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
61623         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
61624         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
61625         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
61626         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
61627         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
61628         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
61629         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
61630         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
61631         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
61632         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
61633         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
61634         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
61635         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
61636         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
61637         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
61638         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
61639         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
61640         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
61641         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
61642         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
61643         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
61644         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
61645         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
61646         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
61647         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
61648         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
61649         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
61650         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
61651         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
61652         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
61653         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
61654         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
61655         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
61656         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
61657         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
61658         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
61659         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
61660         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
61661         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
61662         (R_AARCH64_TLSDESC_LDR): Likewise.
61663         (R_AARCH64_TLSDESC_ADD): Likewise.
61664         (R_AARCH64_TLSDESC_CALL): Likewise.
61666 2013-09-30  Andreas Schwab  <schwab@suse.de>
61668         [BZ #15048]
61669         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
61670         the nss database lookup.
61671         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61674 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
61676         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
61678 2013-09-28  P. J. McDermott  <pj@pehjota.net>
61680         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
61681         ${Bash-specific parameter/pattern/string} parameter expansion.
61682         * sysdeps/unix/make-syscalls.sh: Likewise.
61684 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61686         * sysdeps/sh/stackguard-macros.h: New file.
61688 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
61690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
61691         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
61692         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
61693         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
61694         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61695         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
61697 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61699         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
61700         Fix thread ID register.
61702 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
61704         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
61705         [POSIX || UNIX98]: Require rather than permitting all symbols from
61706         <time.h>.
61707         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
61708         element of struct sched_param.
61709         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
61710         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
61711         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
61712         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
61713         constant.
61715 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
61717         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
61718         argument calculation.
61720 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61722         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
61723         Expect macro.
61724         [POSIX] (pthread_attr_t): Do not require type.
61725         [POSIX] (pthread_cond_t): Likewise.
61726         [POSIX] (pthread_condattr_t): Likewise.
61727         [POSIX] (pthread_key_t): Likewise.
61728         [POSIX] (pthread_mutex_t): Likewise.
61729         [POSIX] (pthread_mutexattr_t): Likewise.
61730         [POSIX] (pthread_once_t): Likewise.
61731         [POSIX] (pthread_t): Likewise.
61732         [POSIX-based standards] (pthread_atfork): Expect function.
61734 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61735             Richard Sandiford  <richard@codesourcery.com>
61737         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
61738         (swap_endianness_p): New extern variable.
61739         (set_big_endian): New inline function.
61740         (maybe_swap_uint32): Likewise.
61741         (maybe_swap_uint32_array): Likewise.
61742         (maybe_swap_uint32_obstack): Likewise.
61743         * locale/programs/locfile.c: Include <stdbool.h>.
61744         (swap_endianness_p): New variable.
61745         (add_locale_uint32): Call maybe_swap_uint32.
61746         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
61747         (write_locale_data): Call maybe_swap_uint32_array.
61748         * locale/programs/ld-collate.c (obstack_int32_grow): Call
61749         maybe_swap_uint32.
61750         (obstack_int32_grow_fast): Likewise.
61751         (output_weightwc): Call maybe_swap_uint32_obstack.
61752         (collate_output): Likewise.
61753         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
61754         (OPT_LITTLE_ENDIAN): Likewise.
61755         (options): Add --little-endian and --big-endian options.
61756         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
61757         * locale/programs/locarchive.c: Include "locfile.h".
61758         (GET): New macro.
61759         (SET): Likewise.
61760         (INC): Likewise.
61761         (create_archive): Use the new macros to access fields of
61762         structures directly mapped from or written to locale archives.
61763         (oldlocrecentcmp): Likewise.
61764         (enlarge_archive): Likewise.
61765         (insert_name): Likewise.
61766         (add_alias): Likewise.
61767         (add_locale): Likewise.
61768         (delete_locales_from_archive): Likewise.
61769         (show_archive_content): Likewise.
61770         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
61771         locale data.
61773 2013-09-24  Roland McGrath  <roland@hack.frob.com>
61775         * manual/freemanuals.texi: Updated from (newly) canonical copy at
61776         http://www.gnu.org/doc/freemanuals.texi.
61777         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
61779 2013-09-24  Will Newton  <will.newton@linaro.org>
61781         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
61782         macro.
61784 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
61786         * locale/hashval.h (compute_hashval): Interpret bytes of key as
61787         unsigned char.
61789 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
61791         * manual/threads.texi (POSIX Threads): Fix a typo.
61793 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61795         [BZ #14547]
61796         * string/tst-strcoll-overflow.c: New test case.
61797         * string/Makefile (xtests): Add tst-strcoll-overflow.
61798         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
61799         cache if string sizes may cause integer overflow.
61801         [BZ #14547]
61802         * string/strcoll_l.c (coll_seq): New members rule, idx,
61803         save_idx and back_us.
61804         (get_next_seq_nocache): New function.
61805         (do_compare_nocache): New function.
61806         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
61807         when malloc fails.
61809 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
61811         [BZ #15754]
61812         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
61813         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
61814         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
61816         [BZ #15754]
61817         * elf/Makefile (tests): Add tst-ptrguard1.
61818         (tests-static): Add tst-ptrguard1-static.
61819         (tst-ptrguard1-ARGS): Define.
61820         (tst-ptrguard1-static-ARGS): Define.
61821         * elf/tst-ptrguard1.c: New file.
61822         * elf/tst-ptrguard1-static.c: New file.
61823         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
61824         * sysdeps/i386/stackguard-macros.h: Likewise.
61825         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61826         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61827         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61828         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61829         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61830         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61832 2013-09-23  Hector Marco  <hecmargi@upv.es>
61833             Ismael Ripoll  <iripoll@disca.upv.es>
61834             Carlos O'Donell  <carlos@redhat.com>
61836         [BZ #15754]
61837         * sysdeps/generic/stackguard-macros.h: Define
61838         __pointer_chk_guard_local and POINTER_CHK_GUARD.
61839         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
61840         Define __pointer_chk_guard_local.
61841         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
61842         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
61844 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
61846         [BZ #15859]
61847         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
61849 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
61851         * include/string.h (__ffs): Declare as hidden.
61852         * string/ffs.c (__ffs): Define as hidden.
61853         * sysdeps/i386/ffs.c (__ffs): Likewise.
61854         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
61855         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
61856         * sysdeps/s390/ffs.c (__ffs): Likewise.
61857         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
61859 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
61861         * NEWS: Mention malloc probes.
61863         * malloc/arena.c (new_heap): New memory_heap_new probe.
61864         (grow_heap): New memory_heap_more probe.
61865         (shrink_heap): New memory_heap_less probe.
61866         (heap_trim): New memory_heap_free probe.
61867         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
61868         (systrim): New memory_sbrk_less probe.
61869         * manual/probes.texi: Document them.
61871         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
61872         * manual/probes.texi: Document it.
61874         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
61875         (__libc_realloc): Add memory_realloc_retry probe.
61876         (__libc_memalign): Add memory_memalign_retry probe.
61877         (__libc_valloc): Add memory_valloc_retry probe.
61878         (__libc_pvalloc): Add memory_pvalloc_retry probe.
61879         (__libc_calloc): Add memory_calloc_retry probe.
61880         * manual/probes.texi: Document them.
61882         * malloc/arena.c (get_free_list): Add probe
61883         memory_arena_reuse_free_list.
61884         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
61885         and memory_arena_reuse.
61886         (arena_get2) [!PER_THREAD]: Likewise.
61887         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
61888         memory_arena_reuse_realloc.
61889         * manual/probes.texi: Document them.
61891         * malloc/malloc.c (__libc_free): Add
61892         memory_mallopt_free_dyn_thresholds probe.
61893         (__libc_mallopt): Add multiple memory_mallopt probes.
61894         * manual/probes.texi: Document them.
61896         * malloc/malloc.c: Include stap-probe.h.
61897         (__libc_mallopt): Add memory_mallopt probe.
61898         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
61899         * manual/probes.texi: New.
61900         * manual/Makefile (chapters): Add probes.
61901         * manual/threads.texi: Set next node.
61903 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
61905         [BZ #15963, #13985]
61906         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
61907         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
61908         Add `Chinese' to `nan' entry name.
61910 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61912         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
61913         (POLYNOMIAL): Likewise.
61914         (TAYLOR_SINCOS): Likewise.
61915         (TAYLOR_SLOW): Likewise.
61916         (__sin): Use TAYLOR_SINCOS.
61917         (__cos): Likewise.
61918         (slow): Use TAYLOR_SLOW.
61919         (sloww): Likewise.
61920         (bsloww): Likewise.
61921         (csloww): Likewise.
61923 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61925         * stdlib/strtod_l.c: Fix buffer overrun.
61927 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61929         * benchtests/Makefile (bench): Add sincos.
61930         * benchtests/bench-sincos.c: New file.
61932         * math/libm-test.inc (cos_test_data): New test inputs.
61933         (sin_test_data): Likewise.
61935         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
61936         macro.
61937         (__sin): Use it.
61938         (__cos): Likewise.
61939         (slow1): Likewise.
61940         (slow2): Likewise.
61941         (sloww1): Likewise.
61942         (sloww2): Likewise.
61943         (bsloww1): Likewise.
61944         (bsloww2): Likewise.
61945         (cslow2): Likewise.
61946         (csloww1): Likewise.
61947         (csloww2): Likewise.
61949         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
61950         function.
61951         (__sin): Use it.
61952         (__cos): Likewise.
61954         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
61955         gotos.
61956         (__cos): Likewise.
61958 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
61960         * config.h.in (HAVE_MIPS_NAN2008): New macro.
61961         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
61962         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
61963         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
61964         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
61965         * elf/cache.c (print_entry): Handle the new cache flags.
61967 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
61968             Aldy Hernandez  <aldyh@redhat.com>
61970         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
61971         Change condition to [_SOFT_FLOAT].
61972         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
61973         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
61974         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
61975         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
61976         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
61977         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
61978         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
61979         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
61980         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
61981         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
61982         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
61983         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
61984         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
61985         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
61986         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
61987         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
61988         declaration.
61990 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
61992         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
61993         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61994         (__longjmp): Use LOAD_GP to load saved GPRs.
61995         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
61996         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61997         (__sigsetjmp): Use SAVE_GP to save GPRs.
61999         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
62000         Do not append -msoft-float.
62001         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
62003 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62005         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
62007 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
62009         [BZ #15966]
62010         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
62011         (_FPU_GETCW): Use initial "__" on variable and field names but not
62012         on macro parameter name.
62013         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
62014         parentheses around reference to macro parameter.
62016 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
62018         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
62019         prototype.
62020         (ctype_startup): Use uint32_t in cast and sizeof for
62021         ctype->charnames.
62023 2013-09-11  Jia Liu  <proljc@gmail.com>
62025         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
62026         __daddr_t_defined.
62027         [__FreeBSD__]: Likewise.
62029 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
62031         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
62032         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
62033         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
62034         (strchr): Remove __strchr_sse42 ifunc selection.
62035         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
62036         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
62038 2013-09-11  Will Newton  <will.newton@linaro.org>
62040         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
62041         parameter to RES. Remove hardcoded 1000 value.
62042         * benchtests/bench-skeleton.c (main): Pass RES parameter
62043         to TIMING_INIT and multiply result by 1000.
62045 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62049 2013-09-11  Andreas Schwab  <schwab@suse.de>
62051         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
62052         if not defined.
62053         (O_TMPFILE) [__USE_GNU]: Define.
62054         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
62055         Define.
62057 2013-09-11  Will Newton  <will.newton@linaro.org>
62059         [BZ #15857]
62060         * malloc/malloc.c (__libc_memalign): Check the value of bytes
62061         does not overflow.
62063 2013-09-11  Will Newton  <will.newton@linaro.org>
62065         [BZ #15856]
62066         * malloc/malloc.c (__libc_valloc): Check the value of bytes
62067         does not overflow.
62069 2013-09-11  Will Newton  <will.newton@linaro.org>
62071         [BZ #15855]
62072         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
62073         does not overflow.
62075 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
62077         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
62078         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62079         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62080         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62081         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62083 2013-09-10  Allan McRae  <allan@archlinux.org>
62085         [BZ #15748]
62086         * manual/arith.texi (Parsing of Floats): Clarify
62087         cross-reference.
62089         [BZ #15849]
62090         * manual/install.texi (Running make install): Mention
62091         --enable-pt-chown.
62092         * INSTALL: Regenerated.
62094 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
62096         * csu/init-first.c (_init): Remove the !SHARED condition around
62097         FPU control word initialization.
62098         * elf/dl-support.c (_dl_fpu_control): New variable.
62099         (_dl_aux_init) <AT_FPUCW>: Initialize it.
62100         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
62101         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
62102         * math/test-fpucw-static.c: New file.
62103         * math/test-fpucw-ieee.c: New file.
62104         * math/test-fpucw-ieee-static.c: New file.
62105         * math/Makefile (tests): Add `test-fpucw-ieee' and
62106         `$(tests-static)'.
62107         (tests-static): New variable.
62108         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
62109         dependency to...
62110         [($(build-shared),yes)]
62111         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
62112         ... this.
62113         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
62114         New dependency.
62116 2013-09-09  Allan McRae  <allan@archlinux.org>
62118         [BZ #15939]
62119         * manual/string.texi (Collation Functions): Fix typo in
62120         strcoll example.
62121         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
62123         [BZ #15893]
62124         * stdlib/isomac.c (get_null_defines): Fix memory leak.
62126         [BZ #15892]
62127         * libio/memstream.c (open_memstream): Fix memory leak.
62128         * libio/wmemstream.c (open_wmemstream): Likewise.
62130         [BZ #15895]
62131         * nscd/netgroupcache.c: Fix nesting of ifdefs.
62133 2013-09-09  Will Newton  <will.newton@linaro.org>
62135         * malloc/Makefile: Add tst-realloc to tests.
62136         * malloc/tst-realloc.c: New file.
62138 2013-09-09  Allan McRae  <allan@archlinux.org>
62140         [BZ #15844]
62141         * COPYING: Update from GNU website to fix FSF address.
62142         * COPYING.LIB: Likewise.
62144 2013-09-06  David S. Miller  <davem@davemloft.net>
62146         * po/zh_TW.po: Update Chinese (traditional) translation from
62147         translation project.
62149 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
62150             Joseph Myers  <joseph@codesourcery.com>
62152         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
62153         "localeinfo.h".
62154         (obstack_chunk_alloc): New macro.
62155         (obstack_chunk_free): Likewise.
62156         (record_offset): New function.
62157         (init_locale_data): Likewise.
62158         (align_locale_data): Likewise.
62159         (add_locale_empty): Likewise.
62160         (add_locale_raw_data): Likewise.
62161         (add_locale_raw_obstack): Likewise.
62162         (add_locale_string): Likewise.
62163         (add_locale_wstring): Likewise.
62164         (add_locale_uint32): Likewise.
62165         (add_locale_uint32_array): Likewise.
62166         (add_locale_char): Likewise.
62167         (start_locale_structure): Likewise.
62168         (end_locale_structure): Likewise.
62169         (start_locale_prelude): Likewise.
62170         (end_locale_prelude): Likewise.
62171         (write_locale_data): Take locale_file structure rather than an
62172         iovec.
62173         * locale/programs/locfile.h: Include "obstack.h".
62174         (struct locale_file): Change to store locale file contents instead
62175         of header.
62176         (init_locale_data): New prototype.
62177         (align_locale_data): Likewise.
62178         (add_locale_empty): Likewise.
62179         (add_locale_raw_data): Likewise.
62180         (add_locale_raw_obstack): Likewise.
62181         (add_locale_string): Likewise.
62182         (add_locale_wstring): Likewise.
62183         (add_locale_uint32): Likewise.
62184         (add_locale_uint32_array): Likewise.
62185         (add_locale_char): Likewise.
62186         (start_locale_structure): Likewise.
62187         (end_locale_structure): Likewise.
62188         (start_locale_prelude): Likewise.
62189         (end_locale_prelude): Likewise.
62190         (write_locale_data): Update prototype.
62191         * locale/programs/3level.h (struct TABLE): Remove result field.
62192         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
62193         Use new locale_file interface.
62194         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
62195         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
62196         * locale/programs/ld-address.c (address_output): Use new
62197         locale_file interface.
62198         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
62199         NO_ADD_LOCALE.
62200         (collate_finish): Don't call collseq_table_finalize.
62201         (collate_output): Use new locale_file interface.
62202         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
62203         in file.
62204         (NO_FINALIZE): Change to NO_ADD_LOCALE.
62205         (TABLE): Move defines earlier in file.
62206         (ELEMENT): Likewise.
62207         (DEFAULT): Likewise.
62208         (wctrans_table_add): Move macro and inline function earlier in
62209         file.
62210         (struct wctype_table): Move type earlier in file.
62211         (add_locale_wctype_table): New static prototype.
62212         (struct locale_ctype_t): Use logical types instead of struct iovec
62213         pointers for members.
62214         (ctype_output): Use new locale_file interface.
62215         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
62216         new locale_file interface.
62217         (allocate_arrays): Update for use of new locale_file interface.
62218         * locale/programs/ld-identification.c (identification_output): Use
62219         new locale_file interface.
62220         * locale/programs/ld-measurement.c (measurement_output): Likewise.
62221         * locale/programs/ld-messages.c (messages_output): Likewise.
62222         * locale/programs/ld-monetary.c (monetary_output): Likewise.
62223         * locale/programs/ld-name.c (name_output): Likewise.
62224         * locale/programs/ld-numeric.c (numeric_output): Likewise.
62225         * locale/programs/ld-paper.c (paper_output): Likewise.
62226         * locale/programs/ld-telephone.c (telephone_output): Likewise.
62227         * locale/programs/ld-time.c (time_output): Likewise.
62229 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62231         * benchtests/Makefile: Add memrchr benchmark.
62232         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
62233         benchmark as memrchr.
62234         * benchtests/bench-memrchr-ifunc.c: New file.
62235         * benchtests/bench-memrchr.c: New file.
62237 2013-09-06   Will Newton  <will.newton@linaro.org>
62239         * benchtests/Makefile (string-bench): Add memcpy.
62241 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
62242             Cong Wang  <amwang@redhat.com>
62244         [BZ #15850]
62245         * sysdeps/unix/sysv/linux/bits/in.h
62246         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
62247         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
62248         before __USE_KERNEL_IPV6_DEFS uses.
62249         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
62250         IPPROTO_BEETPH.
62251         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
62252         sockaddr_in6, or ipv6_mreq.
62254 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62256         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
62257         memory access for final bytes in some large inputs.
62258         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
62260 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62262         * string/test-memrchr.c: New file.
62263         * string/test-memrchr-ifunc.c: New file.
62264         * string/Makefile: Add new memrchr testcase.
62266 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
62268         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
62269         fanotify_init returns EPERM.
62271 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
62273         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
62274         errors.
62275         (top level): Treat second token from macro or constant entries for
62276         allowed headers as allowed.
62277         * include/complex.h: Condition internal declarations on
62278         [!_ISOMAC].
62279         * include/fenv.h: Condition include of <stdbool.h> and internal
62280         declarations on [!_ISOMAC].
62282 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
62284         [BZ #15923]
62285         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
62287 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
62289         * configure.in (--enable-versioning): Remove configure option.
62290         (libc_cv_asm_symver_directive): Remove configure test.
62291         (libc_cv_ld_version_script_option): Likewise.
62292         (VERSIONING): Remove variable and AC_SUBST.
62293         (DO_VERSIONING): Remove AC_DEFINE.
62294         * configure: Regenerated.
62295         * config.h.in (DO_VERSIONING): Remove macro.
62296         * Makerules [$(versioning) = yes]: Change conditionals to
62297         [$(build-shared) = yes].
62298         * config.make.in (versioning): Remove variable.
62299         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
62300         [$(build-shared) = yes].
62301         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
62302         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
62303         * elf/Makefile [$(versioning) = yes]: Change conditionals to
62304         [$(build-shared) = yes].
62305         * extra-lib.mk [$(versioning) = yes]: Likewise.
62306         * hurd/Makefile [$(versioning) = yes]: Likewise.
62307         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
62308         [SHARED].
62309         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
62310         [SHARED].
62311         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62312         [SHARED && !NO_HIDDEN].
62313         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
62314         [SHARED].
62315         [SHARED && DO_VERSIONING]: Likewise..
62316         * libio/Makefile [$(versioning) = yes]: Change conditionals to
62317         [$(build-shared) = yes].
62318         * manual/install.texi (--disable-versioning): Remove
62319         documentation.
62320         * INSTALL: Regenerated.
62321         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
62322         to [SHARED].
62323         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
62324         [$(build-shared) = yes].
62325         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
62326         * sysdeps/i386/i686/multiarch/strstr-c.c
62327         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62328         [SHARED && !NO_HIDDEN].
62329         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
62330         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
62331         * sysdeps/powerpc/powerpc32/dl-machine.c
62332         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
62333         * sysdeps/powerpc/powerpc32/sysdep.h
62334         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
62335         to [SHARED && PIC && !NO_HIDDEN].
62336         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
62337         conditional to [SHARED].
62339 2013-09-04   Will Newton  <will.newton@linaro.org>
62341         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
62342         * benchtests/bench-string.h: Include bench-timing.h instead
62343         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
62344         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
62345         call to HP_TIMING_DIFF_INIT.
62346         * benchtests/bench-memccpy.c: Use bench-timing.h macros
62347         instead of hp-timing.h macros.
62348         * benchtests/bench-memchr.c: Likewise.
62349         * benchtests/bench-memcmp.c: Likewise.
62350         * benchtests/bench-memcpy.c: Likewise.
62351         * benchtests/bench-memmem.c: Likewise.
62352         * benchtests/bench-memmove.c: Likewise.
62353         * benchtests/bench-memset.c: Likewise.
62354         * benchtests/bench-rawmemchr.c: Likewise.
62355         * benchtests/bench-strcasecmp.c: Likewise.
62356         * benchtests/bench-strcasestr.c: Likewise.
62357         * benchtests/bench-strcat.c: Likewise.
62358         * benchtests/bench-strchr.c: Likewise.
62359         * benchtests/bench-strcmp.c: Likewise.
62360         * benchtests/bench-strcpy.c: Likewise.
62361         * benchtests/bench-strcpy_chk.c: Likewise.
62362         * benchtests/bench-strlen.c: Likewise.
62363         * benchtests/bench-strncasecmp.c: Likewise.
62364         * benchtests/bench-strncat.c: Likewise.
62365         * benchtests/bench-strncmp.c: Likewise.
62366         * benchtests/bench-strncpy.c: Likewise.
62367         * benchtests/bench-strnlen.c: Likewise.
62368         * benchtests/bench-strpbrk.c: Likewise.
62369         * benchtests/bench-strrchr.c: Likewise.
62370         * benchtests/bench-strspn.c: Likewise.
62371         * benchtests/bench-strstr.c: Likewise.
62373 2013-09-04  Will Newton  <will.newton@linaro.org>
62375         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
62377 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
62379         [BZ #15427]
62380         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
62381         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
62382         * math/libm-test.inc (lgamma_test_data): Add more tests.
62383         * sysdeps/i386/fpu/libm-test-ulps: Update.
62384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62386 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
62388         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
62389         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62390         Add ifunc.
62391         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62392         Add strcmp-sse2-unaligned
62393         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
62395 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
62397         * Versions.def (libc): Add GLIBC_2.19.
62399 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
62401         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
62402         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
62404 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
62406         [BZ #14155]
62407         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
62408         intermediate calculations in recurrence.
62409         (__ieee754_ynf): Likewise.
62410         * math/libm-test.inc (jn_test_data): Do not allow spurious
62411         underflow exception.  Add more tests.
62412         (yn_test_data): Add more tests.
62413         * sysdeps/i386/fpu/libm-test-ulps: Update.
62414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62416 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
62418         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
62420 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
62422         * csu/init-first.c: Fix then/than typos.
62423         * locale/programs/ld-collate.c: Likewise.
62424         * locale/programs/linereader.h: Likewise.
62425         * manual/charset.texi: Likewise.
62426         * manual/filesys.texi: Likewise.
62427         * manual/stdio.texi: Likewise.
62428         * manual/string.texi: Likewise.
62429         * stdlib/fmtmsg.c: Likewise.
62430         * sysdeps/i386/stpncpy.S: Likewise.
62431         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62432         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62433         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62434         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62436 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
62438         * elf/dl-open.c: Fix typos.
62439         * iconvdata/gbbig5.c: Likewise.
62440         * iconvdata/iso-2022-jp.c: Likewise.
62441         * iconv/gconv_int.h: Likewise.
62442         * iconv/loop.c: Likewise.
62443         * nis/rpcsvc/nis.h: Likewise.
62444         * resolv/ns_name.c: Likewise.
62445         * stdio-common/vfscanf.c: Likewise.
62446         * streams/stropts.h: Likewise.
62447         * sunrpc/rpc_thread.c: Likewise.
62448         * sysdeps/i386/strpbrk.S: Likewise.
62449         * sysdeps/ieee754/k_standard.c: Likewise.
62450         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62451         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62452         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
62453         * sysdeps/mach/hurd/profil.c: Likewise.
62454         * sysdeps/s390/dl-procinfo.h: Likewise.
62455         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
62456         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
62457         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
62458         * sysdeps/x86_64/dl-trampoline.S: Likewise.
62459         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
62461 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
62463         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
62464         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
62466 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
62468         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
62469         aix specific files.
62470         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
62471         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
62472         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
62473         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
62474         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
62475         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
62476         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
62477         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
62479 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
62480             Roland McGrath  <roland@hack.frob.com>
62482         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
62483         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
62485 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62487         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
62488         __executable_start symbol instead of _start.
62490 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
62492         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
62493         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
62494         Move macros to...
62495         * sysdeps/gnu/ldsodefs.h: ... this new file.
62497         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
62498         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
62499         instead of ELFOSABI_LINUX.
62501         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
62502         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
62503         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
62504         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
62505         Likewise.
62506         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
62507         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
62508         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
62509         Likewise.
62510         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62511         (ibm_extended_long_double): Add ieee_nan member.
62512         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
62513         (do_test): New function.
62515         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
62516         TEST_TRUNC.
62517         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
62518         functions, renamed from truncdfsf_test, trunctfsf_test,
62519         trunctfdf_test.
62520         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
62521         functions.
62522         (do_test): Run all these.
62524 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
62526         * argp/argp-help.c: Fix typos.
62527         * argp/argp-parse.c: Likewise.
62528         * debug/backtracesyms.c: Likewise.
62529         * elf/elf.h: Likewise.
62530         * malloc/malloc.c: Likewise.
62531         * nis/nis_print.c: Likewise.
62532         * resolv/res_comp.c: Likewise.
62533         * stdlib/stdlib.h: Likewise.
62534         * sunrpc/clnt_tcp.c: Likewise.
62535         * sunrpc/clnt_udp.c: Likewise.
62536         * sunrpc/clnt_unix.c: Likewise.
62537         * sysdeps/unix/bsd/ptsname.c: Likewise.
62538         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
62539         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
62540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
62541         Likewise.
62542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
62543         Likewise.
62544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
62545         Likewise.
62546         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62548 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62550         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
62551         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62553 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
62555         [BZ #15897]
62556         * dlfcn/Makefile (tests): Add bug-dl-leaf.
62557         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
62558         ($(objpfx)bug-dl-leaf): New rule.
62559         ($(objpfx)bug-dl-leaf.so): Likewise.
62560         ($(objpfx)bug-dl-leaf.out): Likewise.
62561         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
62562         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
62563         * dlfcn/bug-dl-leaf.c: New test.
62564         * dlfcn/bug-dl-leaf-lib.c: Likewise.
62565         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
62566         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
62567         (dlclose): Likewise.
62568         (dlmopen): Likewise.
62570 2013-08-27  Roland McGrath  <roland@hack.frob.com>
62572         * include/netdb.h [!_ISOMAC]:
62573         Don't include <tls.h>.
62574         (h_errno, __libc_h_errno): Move declaration and macros out of
62575         [_LIBC_REENTRANT].
62577         * include/resolv.h [_RESOLV_H_]:
62578         Don't include <tls.h>.
62579         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
62580         * resolv/res_libc.c: Don't include <tls.h>.
62581         (_res): Use __attribute__ ((nocommon)) in place of
62582         __attribute__ ((section (".bss"))).
62584         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
62585         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
62587         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
62589         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
62590         only under [SIOCGIFCONF && SIOCGIFNETMASK].
62592         * resolv/res_mkquery.c: Include <sys/time.h>.
62594         * inet/ifreq.c: Moved to ...
62595         * sysdeps/unix/ifreq.c: ... here.
62596         * inet/ifreq.c: New file, true stub version.
62598         * socket/sa_len.c: New file.
62599         * socket/Makefile (aux): Add it.
62600         * sysdeps/unix/sysv/linux/Makefile
62601         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
62602         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
62603         and #include <socket/sa_len.c>.
62604         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
62605         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
62607         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
62608         * bits/socket.h: ... here.
62610         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
62611         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
62612         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
62614 2013-08-27  Andreas Schwab  <schwab@suse.de>
62616         [BZ #15736]
62617         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
62618         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
62619         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
62620         * string/test-strcasecmp.c (test_main): Run tests in several
62621         locales.
62622         * string/test-strncasecmp.c (test_main): Likewise.
62624         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
62625         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
62626         to __strcasecmp_nonascii and __strncasecmp_nonascii.
62627         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
62628         (__strncasecmp_ssse3) [PIC]: Likewise.
62630 2013-08-26  Roland McGrath  <roland@hack.frob.com>
62632         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
62634         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
62635         instead of explicitly declaring xdecrypt.
62636         * nis/nss_nis/nis-publickey.c: Likewise.
62638 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62640         [BZ #15890]
62641         * nscd/aicache.c: Include res_hconf.h.
62642         (addhstaiX): Initialize res_hconf.
62644 2013-08-26  Andreas Schwab  <schwab@suse.de>
62646         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
62647         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
62649 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62651         * nscd/aicache.c (addhstaiX): Fix indentation.
62653 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
62655         * configure.ac: Quote $build_pt_chown test.
62656         * configure: Regenerated.
62658 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
62660         [BZ #15532]
62661         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
62662         * math/s_cexpf.c (__cexpf): Likewise.
62663         * math/s_cexpl.c (__cexpl): Likewise.
62664         * math/libm-test.inc (cexp_test_data): Correct expected return
62665         value for NaN + i0.  Add another test.
62667 2013-08-22  David S. Miller  <davem@davemloft.net>
62669         * po/ca.po: Update Catalan translation from translation project.
62670         * po/uk.po: Add Ukrainian translations from translation project.
62672 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
62674         [BZ #15797]
62675         * math/s_fdim.c (__fdim): Check for infinite arguments if result
62676         is infinite, not alongside NaN test.
62677         * math/s_fdimf.c (__fdimf): Likewise.
62678         * math/s_fdiml.c (__fdiml): Likewise.
62679         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
62680         errno is unchanged.
62682 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
62684         * argp/argp-help.c: Fix typos.
62685         * crypt/speeds.c: Likewise.
62686         * csu/check_fds.c: Likewise.
62687         * elf/dl-load.c: Likewise.
62688         * elf/dl-open.c: Likewise.
62689         * elf/reldep3.c: Likewise.
62690         * elf/reldep.c: Likewise.
62691         * elf/sprof.c: Likewise.
62692         * iconv/iconv_charmap.c: Likewise.
62693         * iconv/skeleton.c: Likewise.
62694         * iconv/strtab.c: Likewise.
62695         * io/lockf64.c: Likewise.
62696         * libio/libioP.h: Likewise.
62697         * resolv/gai_notify.c: Likewise.
62698         * resolv/ns_name.c: Likewise.
62699         * resolv/ns_samedomain.c: Likewise.
62700         * resolv/res_send.c: Likewise.
62701         * stdlib/random.c: Likewise.
62702         * sunrpc/rpc/xdr.h: Likewise.
62703         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
62704         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62705         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62706         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62707         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62708         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62709         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62710         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62711         * sysdeps/mach/hurd/check_fds.c: Likewise.
62712         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62713         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62714         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62715         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62716         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62717         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62718         * sysdeps/pthread/aio_notify.c: Likewise.
62719         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
62720         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
62721         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
62722         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62723         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
62725 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62727         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
62728         version if bit_Slow_SSE4_2 is set.
62729         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62730         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62732 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62734         [BZ #15867]
62735         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
62736         trampoline stack frame information.
62737         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
62738         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
62739         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
62740         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
62741         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
62742         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62743         (_libc_vdso_platform_setup): Initialize the signal trampolines.
62744         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
62745         sa_flags value.
62746         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
62747         interrupting a syscall and set with option SA_SIGINFO.
62749 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62751         [BZ #15531]
62752         * math/s_cproj.c (__cproj): Only return an infinity if one part of
62753         argument is infinite.
62754         * math/s_cprojf.c (__cprojf): Likewise.
62755         * math/s_cprojl.c (__cprojl): Likewise.
62756         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
62757         * math/libm-test.inc (cproj_test_data): Add more tests.
62759         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
62761         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
62762         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
62763         size.  Use __ffs to determine corresponding shift.
62765 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62766             Roland McGrath  <roland@hack.frob.com>
62768         * Makefile (INSTALL): Remove trailing blank lines from output of
62769         makeinfo.
62771 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62773         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
62774         Align 32 bit compat elf_greg to 8 bytes.
62776 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
62778         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
62780 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62782         * string/strcoll_l.c (coll_seq): New structure.
62783         (get_next_seq_cached): New function.
62784         (get_next_seq): New function.
62785         (do_compare): New function.
62786         (STRCOLL): Use GNU style definition.  Simplify implementation
62787         by using get_next_seq, get_next_seq_cached and do_compare.
62789 2013-08-16  Florian Weimer  <fweimer@redhat.com>
62791         [BZ #14699]
62792         CVE-2013-4237
62793         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
62794         member.
62795         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
62796         member.
62797         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
62798         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
62799         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
62800         conditional.
62801         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
62802         GETDENTS_64BIT_ALIGNED.
62803         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62804         * manual/filesys.texi (Reading/Closing Directory): Document
62805         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
62806         strongly.
62807         * manual/conf.texi (Limits for Files): Add portability note to
62808         NAME_MAX, PATH_MAX.
62809         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
62811 2013-08-13  Andreas Schwab  <schwab@suse.de>
62813         [BZ #15749]
62814         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
62815         of fabs.
62816         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
62817         LDBL_MAX_EXP >= 16384]: Add tests for it.
62819 2013-08-12  David S. Miller  <davem@davemloft.net>
62821         * version.h (RELEASE): Set to "development".
62822         (VERSION): Set to "2.18.90".
62823         * NEWS: Add 2.19 section.
62825 2013-08-03  David S. Miller  <davem@davemloft.net>
62827         * po/ko.po: Update Korean translation from translation project.
62829 2013-08-01  David S. Miller  <davem@davemloft.net>
62831         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
62832         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
62833         Bilka.
62835 2013-07-30  David S. Miller  <davem@davemloft.net>
62837         * po/fr.po: Update French translation from translation project.
62839 2013-07-28  David S. Miller  <davem@davemloft.net>
62841         * po/cs.po: Update Czech translation from translation project.
62843         * po/sv.po: Update Swedish translation from translation project.
62845 2013-07-27  David S. Miller  <davem@davemloft.net>
62847         * po/eo.po: Update Esperanto translation from translation project.
62849         * po/vi.po: Update Vietnamese translation from translation project.
62851         * po/de.po: Update German translation from translation project.
62853 2013-07-26  David S. Miller  <davem@davemloft.net>
62855         * po/bg.po: Update Bulgarian translation from translation project.
62857         * po/nl.po: Update Dutch translation from translation project.
62858         * po/pl.po: Update Polish translation from translation project.
62859         * po/ru.po: Update Russian translation from translation project.
62861 2013-07-24  David S. Miller  <davem@davemloft.net>
62863         * po/libc.pot: Update.
62865 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62867         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
62868         variable page size.
62869         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
62870         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
62871         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
62873 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62875         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
62877 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62878             Andreas Schwab  <schwab@suse.de>
62879             Roland McGrath  <roland@hack.frob.com>
62880             Joseph Myers  <joseph@codesourcery.com>
62881             Carlos O'Donell  <carlos@redhat.com>
62883         [BZ #15755]
62884         * config.h.in: Define HAVE_PT_CHOWN.
62885         * config.make.in (build-pt-chown): New variable.
62886         * configure.in (--enable-pt_chown): New configure option.
62887         * configure: Regenerate.
62888         * login/Makefile: Include Makeconfig.  Build pt_chown only if
62889         build-pt-chown is enabled.
62890         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
62891         pt_chown to fix pty ownership.
62892         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
62893         CLOSE_ALL_FDS.
62894         * manual/install.texi (Configuring and compiling): Mention
62895         --enable-pt_chown. Add @findex for grantpt.
62896         * INSTALL: Regenerate.
62898 2013-07-20  David S. Miller  <davem@davemloft.net>
62900         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
62901         difference between 32-bit and 64-bit.
62903 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
62905         [BZ #15711]
62906         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
62907         Avoid system header dependency with -ffreestanding.
62908         ($(objpfx)bits/syscall%d): Likewise.
62910 2013-07-13  David S. Miller  <davem@davemloft.net>
62912         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
62913         underflows from atanl/atan2l due to bug 15319.
62914         (casinh_test_data): Likewise.
62916 2013-07-07  David S. Miller  <davem@davemloft.net>
62918         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
62920 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
62922         * sysdeps/i386/fpu/libm-test-ulps: Update.
62923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62925 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62927         * configure.in (--enable-lock-elision): Fix message text.
62928         * INSTALL: Regenerate.
62929         * configure: Regenerate.
62931 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62935 2013-07-03  Andreas Jaeger  <aj@suse.de>
62937         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
62938         define.
62939         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
62940         (ptrace_peeksiginfo_args): Add.
62941         (__ptrace_peeksiginfo_flags): Add.
62942         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62943         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62944         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62946 2013-07-03  Allan McRae  <allan@archlinux.org>
62948         * sysdeps/i386/fpu/libm-test-ulps: Update.
62950 2013-07-02  David S. Miller  <davem@davemloft.net>
62952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62954 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
62956         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62958 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
62960         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
62961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62963 2013-07-02  Andi Kleen <ak@linux.intel.com>
62965         * config.h.in (ENABLE_LOCK_ELISION): Add.
62966         * configure.in (--enable-lock-elision): Add option.
62967         * manual/install.texi: Document --enable lock elision.
62968         * configure: Regenerate
62969         * INSTALL: Regenerate.
62971 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
62973         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
62974         SSE4.2 strcasecmp for libc.a.
62975         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
62977 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
62979         [BZ #13304]
62980         * soft-fp/op-common.h (_FP_FMA): New macro.
62981         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
62982         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
62983         (_FP_MUL_MEAT_1_imm): ... here.
62984         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
62985         (_FP_MUL_MEAT_1_wide): ... here.
62986         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
62987         (_FP_MUL_MEAT_1_hard): ... here.
62988         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
62989         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
62990         (_FP_MUL_MEAT_2_wide): ... here.
62991         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
62992         (_FP_MUL_MEAT_2_wide_3mul): ... here.
62993         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
62994         (_FP_MUL_MEAT_2_gmp): ... here.
62995         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
62996         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
62997         (_FP_MUL_MEAT_4_wide): ... here.
62998         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
62999         (_FP_MUL_MEAT_4_gmp): ... here.
63000         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
63001         (_FP_WFRACBITS_DW_S): Likewise.
63002         (_FP_WFRACXBITS_DW_S): Likewise.
63003         (_FP_HIGHBIT_DW_S): Likewise.
63004         (FP_FMA_S): Likewise.
63005         (_FP_FRAC_HIGH_DW_S): Likewise.
63006         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
63007         (_FP_WFRACBITS_DW_D): Likewise.
63008         (_FP_WFRACXBITS_DW_D): Likewise.
63009         (_FP_HIGHBIT_DW_D): Likewise.
63010         (FP_FMA_D): Likewise.
63011         (_FP_FRAC_HIGH_DW_D): Likewise.
63012         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
63013         (_FP_WFRACBITS_DW_E): Likewise.
63014         (_FP_WFRACXBITS_DW_E): Likewise.
63015         (_FP_HIGHBIT_DW_E): Likewise.
63016         (FP_FMA_E): Likewise.
63017         (_FP_FRAC_HIGH_DW_E): Likewise.
63018         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
63019         (_FP_WFRACBITS_DW_Q): Likewise.
63020         (_FP_WFRACXBITS_DW_Q): Likewise.
63021         (_FP_HIGHBIT_DW_Q): Likewise.
63022         (FP_FMA_Q): Likewise.
63023         (_FP_FRAC_HIGH_DW_Q): Likewise.
63024         * soft-fp/fmasf4.c: New file.
63025         * soft-fp/fmadf4.c: Likewise.
63026         * soft-fp/fmatf4.c: Likewise.
63028 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63030         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63031         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
63032         Silvermont.
63033         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
63034         macro.
63035         (index_Slow_SSE4_2): Likewise.
63036         (index_Prefer_PMINUB_for_stringop): Likewise.
63037         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
63038         bit_Slow_SSE4_2 is set.
63039         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63040         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63042 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63044         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
63045         rtld_global._dl_hwcap2.
63046         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
63047         POWER8.
63048         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
63049         POWER8 feature descriptions defined in _dl_hwcap2.
63050         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
63051         string handling for POWER8 feature bits.
63052         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
63053         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
63054         _dl_powerpc_cap_flags.
63055         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
63056         * sysdeps/powerpc/rtld-global-offsets.sym
63057         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
63058         _dl_hwcap2 in the rtld_global_ro structure.
63060 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63062         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
63063         hardware capabilities in support of AT_HWCAP2.
63064         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
63065         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
63066         GLRO(dl_hwcap2).
63067         (_dl_show_auxv): Add support for calling _dl_procinfo to display
63068         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
63069         explicitly the unknown a_type display mechanism is used.
63070         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
63071         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
63072         struct member.
63073         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
63074         to macro prototype for AT_HWCAP2 support.
63075         * sysdeps/i386/dl-procinfo.h: Likewise.
63076         * sysdeps/s390/dl-procinfo.h: Likewise.
63077         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
63078         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
63079         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
63080         return -1 for unknown a_type display fallback.
63081         * sysdeps/sparc/dl-procinfo.h: Likewise.
63082         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
63083         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
63085 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
63087         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
63088         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
63090 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
63092         [BZ #12492]
63093         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
63094         mprotect making __stack_prot writable.
63096 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
63097             Joseph Myers  <joseph@codesourcery.com>
63099         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
63100         as being properly aligned.
63102 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
63104         * dlfcn/modstatic5.c: New file.
63105         * dlfcn/tststatic5.c: New file.
63106         * dlfcn/Makefile (tests): Add tststatic5.
63107         (tests-static): Likewise.
63108         (modules-names): Add modstatic5.
63109         (tststatic5-ENV): New variable.
63110         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
63112         [BZ #15022]
63113         * elf/dl-support.c (_dl_main_map): New variable.
63114         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
63115         (_dl_nns, _dl_load_adds): Set to 1.
63116         (_dl_initial_searchlist): Refer to _dl_main_map.
63117         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
63118         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
63119         call to _dl_get_origin.
63120         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
63121         around call_map.
63122         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
63123         * dlfcn/modstatic3.c: New file.
63124         * dlfcn/tststatic3.c: New file.
63125         * dlfcn/tststatic4.c: New file.
63126         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
63127         (tests-static): Likewise.
63128         (modules-names): Add modstatic3.
63129         (tststatic3-ENV, tststatic4-ENV): New variables.
63130         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
63131         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
63133 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
63135         * configure.in (CC): Require GCC version 4.4 or later.
63136         * configure: Regenerated.
63137         * manual/install.texi (Tools for Compilation): Update GCC version
63138         requirement.
63139         * INSTALL: Regenerated.
63141 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63143         [BZ #15674]
63144         * string/test-memcmp.c (check2): New.
63145         (main): Call check2.
63147         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
63149 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
63151         [BZ #15022]
63152         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
63153         over to...
63154         (dl_open_worker) [!SHARED]: ... here.
63156 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63158         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
63160 2013-06-25  Richard Henderson  <rth@redhat.com>
63162         * locale/programs/locarchive.c: Include <libc-internal.h>
63164 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
63166         * manual/texinfo.tex: Update to version 2013-06-21.17, with
63167         trailing whitespace removed.
63169 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
63171         [BZ #10283]
63172         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
63173         * locale/programs/locarchive.c: Include libc-mmap.h.
63174         (prepare_address_space): Take two new outputs (the mmap base and len).
63175         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
63176         values.
63177         (create_archive): Declare new mmap base and len values for
63178         prepare_address_space, and store the result in ah.
63179         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
63180         (enlarge_archive): If ah->mmap_base is not NULL, use that and
63181         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
63182         Declare new mmap base and len values for
63183         prepare_address_space, and store the result in new_ah.
63184         (open_archive): Declare new mmap base and len values for
63185         prepare_address_space, and store the result in ah.
63186         (close_archive): If ah->mmap_base is not NULL, use that and
63187         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
63188         * sysdeps/generic/libc-mmap.h: New file.
63190 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
63192         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
63193         (ALIGN_UP): Likewise.
63194         (PTR_ALIGN_DOWN): Likewise.
63195         (PTR_ALIGN_UP): Likewise.
63197 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63199         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
63200         entry mapped to PPC_PLATFORM_POWER8.
63201         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
63202         POWER8.
63203         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
63204         (_dl_string_platform): Add case for exporting platform position for
63205         POWER8.
63206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
63207         search path to sysdeps/powerpc/powerpc32/power8 directory.
63208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
63209         search path to sysdeps/powerpc/powerpc64/power8 directory.
63210         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
63211         power7 directories.
63212         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
63213         power7 directories.
63215 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
63217         * INSTALL: Regenerate.
63219         * nscd/connections.c (nscd_init): Fix comment.
63221 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
63223         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
63225         [BZ #15667]
63226         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
63227         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
63229 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
63231         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
63232         DL_DST_REQ_STATIC.
63233         (DL_DST_REQ_STATIC): Remove macro.
63235 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
63237         [BZ #7006]
63238         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
63239         with a shift of 0 bits.
63241 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
63243         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
63244         $(tststatic-ENV).
63246 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63248         [BZ #15655]
63249         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
63251 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63253         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
63254         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
63255         accepts -fno-tree-loop-distribute-patterns.
63256         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
63257         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
63258         recursive call.
63259         * string/memset.c (memset): Likewise.
63260         * string/test-memmove.c (simple_memmove): Disable loop transformation
63261         to library calls.
63262         * string/test-memset.c (simple_memset): Likewise.
63263         * benchtests/bench-memmove.c (simple_memmove): Likewise.
63264         * benchtests/bench-memset.c (simple_memset): Likewise.
63265         * configure: Regenerated.
63267 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
63269         * math/test-misc.c (main): Ignore fesetround failure when failures
63270         of subsequent rounding tests would be ignored.
63272         [BZ #15654]
63273         * math/fedisblxcpt.c (fedisableexcept): Return 0.
63274         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
63275         * math/fegetenv.c (__fegetenv): Return 0.
63276         * math/fegetexcept.c (fegetexcept): Return 0.
63277         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
63278         FE_TONEAREST.
63279         * math/feholdexcpt.c (feholdexcept): Return 0.
63280         * math/fesetenv.c (__fesetenv): Return 0.
63281         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
63282         argument FE_TONEAREST.
63283         * math/feupdateenv.c (__feupdateenv): Return 0.
63284         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
63286 2013-06-18  Roland McGrath  <roland@hack.frob.com>
63288         * elf/rtld-Rules (rtld-compile-command.S): New variable.
63289         (rtld-compile-command.s, rtld-compile-command.c): New variables.
63290         ($(objpfx)rtld-%.os rules): Use them.
63292 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63294         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
63295         fields.
63297 2013-06-17  Roland McGrath  <roland@hack.frob.com>
63299         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
63300         length of target pattern, then descending length of dependency pattern.
63301         * configure.in (AWK): Require gawk 3.1.2 or newer.
63302         * manual/install.texi (Tools for Compilation): Say that we do.
63303         * configure: Regenerated.
63305         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
63306         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
63307         * scripts/sysd-rules.awk: ... this new script.
63308         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
63309         than a glob-style pattern.
63311 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
63313         * math/test-misc.c (main): Do not treat incorrectly rounded
63314         conversions as failure unless ROUNDING_TESTS passes.
63316 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
63318         [BZ #15631]
63319         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
63320         restore exception state around main square root computation, then
63321         check for inexactness explicitly.
63323         * math/libm-test.inc (fma_test_data): Add another test.
63325 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63327         * manual/threads.texi (Non-POSIX Extensions): New document
63328         node.  Document pthread_getattr_default_np and
63329         pthread_setattr_default_np.
63331         * Versions.def (libpthread): Add GLIBC_2.18.
63332         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
63333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63334         Likewise.
63335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63336         Likewise.
63337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63338         Likewise.
63339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63340         Likewise.
63341         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
63342         Likewise.
63343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63344         Likewise.
63345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63346         Likewise.
63347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63348         Likewise.
63349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63350         Likewise.
63352 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63354         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63355         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
63357 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63358             H.J. Lu  <hjl.tools@gmail.com>
63360         [BZ #15627]
63361         * sysdeps/x86_64/rtld-memset.c: Remove file.
63362         * sysdeps/x86_64/rtld-memset.S: New file.
63364 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
63366         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
63367         (test_in_one_mode): Take arguments for whether the rounding mode
63368         is supported for each floating-point type.
63369         (do_test): Pass new arguments to test_in_one_mode using
63370         ROUNDING_TESTS.
63372 2013-06-13  Roland McGrath  <roland@hack.frob.com>
63374         * posix/tst-waitid.c (do_test): Distinguish different instances of
63375         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
63376         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
63377         before entering the kernel for waitpid.
63379 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63381         * NEWS: Fix note on clock function precision.  Text by Roland
63382         McGrath.
63384 2013-06-13  Roland McGrath  <roland@hack.frob.com>
63386         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
63387         it into place only when and if the sanity check passes.
63389 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
63391         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
63392         output for whether conversion result is exact.  Take argument
63393         indicating whether type is IBM long double.
63394         (round_for_all): Change need_exact field to ibm_ld.
63395         * stdlib/tst-strtod-round.c (struct exactness): New type.
63396         (struct test): Change bool ld_ok field to struct exactness exact.
63397         (TEST): Update all definitions for change to field.
63398         (tests): Regenerate array contents.
63399         (test_in_one_mode): Take pointer to new field instead of old ld_ok
63400         field value.  Check for IBM long double here.
63401         (do_test): Update calls to test_in_one_mode.
63403 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63405         [BZ #12515]
63406         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
63407         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
63409 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63411         [BZ #15605]
63412         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
63413         generated by the compiler on loop optimizations.
63414         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
63415         general definitions.
63417 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
63419         * math/bug-nextafter.c: Include <math-tests.h>.
63420         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63421         the relevant type.
63422         * math/bug-nexttoward.c: Include <math-tests.h>.
63423         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63424         the relevant type.
63425         * math/test-misc.c: Include <math-tests.h>.
63426         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63427         the relevant type.
63429 2013-06-12  Andreas Jaeger  <aj@suse.de>
63431         * po/ia.po: Update Interlingua translation from translation
63432         project.
63434 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
63436         * include/fenv.h: Include stdbool.h.
63437         (struct rm_ctx): New structure.
63438         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
63439         Define macro.
63440         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
63441         (SET_RESTORE_ROUNDF): Likewise.
63442         (SET_RESTORE_ROUNDL): Likewise.
63443         (SET_RESTORE_ROUND_NOEX): Likewise.
63444         (SET_RESTORE_ROUND_NOEXF): Likewise.
63445         (SET_RESTORE_ROUND_NOEXL): Likewise.
63446         (SET_RESTORE_ROUND_53BIT): Likewise.
63447         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
63448         (libc_feresetround_noexf_ctx): Likewise.
63449         (libc_feresetround_noexl_ctx): Likewise.
63450         (libc_feholdsetround_53bit_ctx): Likewise.
63451         (libc_feresetround_53bit_ctx): Likewise.
63452         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
63453         (libc_feholdexcept_setround_sse_ctx): New function.
63454         (libc_fesetenv_sse_ctx): Likewise.
63455         (libc_feupdateenv_sse_ctx): Likewise.
63456         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
63457         (libc_feholdexcept_setround_387_ctx): Likewise.
63458         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
63459         (libc_feholdsetround_387_prec_ctx): Likewise.
63460         (libc_feholdsetround_387_ctx): Likewise.
63461         (libc_feholdsetround_387_53bit_ctx): Likewise.
63462         (libc_feholdsetround_sse_ctx): Likewise.
63463         (libc_feresetround_sse_ctx): Likewise.
63464         (libc_feresetround_387_ctx): Likewise.
63465         (libc_feupdateenv_387_ctx): Likewise.
63466         (libc_feholdexcept_setroundf_ctx): Define macro.
63467         (libc_fesetenvf_ctx): Likewise.
63468         (libc_feupdateenvf_ctx): Likewise.
63469         (libc_feholdsetroundf_ctx): Likewise.
63470         (libc_feresetroundf_ctx): Likewise.
63471         (libc_feholdexcept_setround_ctx): Likewise.
63472         (libc_fesetenv_ctx): Likewise.
63473         (libc_feupdateenv_ctx): Likewise.
63474         (libc_feholdsetround_ctx): Likewise.
63475         (libc_feresetround_ctx): Likewise.
63476         (libc_feholdexcept_setroundl_ctx): Likewise.
63477         (libc_feupdateenvl_ctx): Likewise.
63478         (libc_feholdsetroundl_ctx): Likewise.
63479         (libc_feresetroundl_ctx): Likewise.
63480         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
63481         (libc_feresetround_53bit_ctx): Likewise.
63483 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63485         * locale/iso-639.def: Convert to UTF-8.
63487 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
63489         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
63490         (EXCEPTION_TESTS_double): Likewise.
63491         (EXCEPTION_TESTS_long_double): Likewise.
63492         (EXCEPTION_TESTS): Likewise.
63493         * math/libm-test.inc (test_exceptions): Only test exceptions if
63494         EXCEPTION_TESTS (FLOAT).
63496 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63498         * benchtests/Makefile (string-bench): Add strcpy_chk and
63499         stpcpy_chk.
63500         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
63501         * benchtests/bench-stpcpy_chk.c: New file.
63502         * benchtests/bench-strcpy_chk-ifunc.c: New file.
63503         * benchtests/bench-strcpy_chk.c: New file.
63504         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
63505         code.
63506         (do_test): Likewise.
63508 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63510         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
63511         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
63512         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
63513         with tabs where appropriate.
63514         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
63515         dl-procinfo.h.
63516         [PPC_PLATFORM_PPC440]: Likewise.
63517         [PPC_PLATFORM_PPC464]: Likewise.
63518         [PPC_PLATFORM_PPC476]: Likewise.
63519         (_dl_string_platform): Add support for detecting ppc405, ppc440,
63520         ppc464, and ppc476 platform strings merging from ports/
63521         dl-procinfo.h.
63523 2013-06-11  Andreas Schwab  <schwab@suse.de>
63525         [BZ #14991]
63526         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
63527         (from_ucs4_idx): Regenerate.
63528         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
63529         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
63530         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
63531         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
63532         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
63533         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
63534         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
63535         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
63536         from FROM_LOOP and TO_LOOP specific macros.
63537         (BODY): Handle combining characters.
63538         * iconvdata/BIG5HKSCS.irreversible: Update.
63539         * iconvdata/BIG5HKSCS.precomposed: New file.
63540         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
63541         characters.
63542         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
63544 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63546         * include/sys/time.h: Fix indentation and add copyright header.
63548         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
63549         (do_test): Likewise.
63550         * string/test-memchr.c (do_one_test): Likewise.
63551         (do_test): Likewise.
63552         * string/test-memcmp.c (do_one_test): Likewise.
63553         (do_test): Likewise.
63554         * string/test-memcpy.c (do_one_test): Likewise.
63555         (do_test): Likewise.
63556         * string/test-memmem.c (do_one_test): Likewise.
63557         (do_test): Likewise.
63558         (do_random_tests): Likewise.
63559         * string/test-memmove.c (do_one_test): Likewise.
63560         (do_test): Likewise.
63561         * string/test-memset.c (do_one_test): Likewise.
63562         (do_test): Likewise.
63563         * string/test-rawmemchr.c (do_one_test): Likewise.
63564         (do_test): Likewise.
63565         * string/test-strcasecmp.c (do_one_test): Likewise.
63566         (do_test): Likewise.
63567         * string/test-strcasestr.c (do_one_test): Likewise.
63568         (do_test): Likewise.
63569         * string/test-strcat.c (do_one_test): Likewise.
63570         (do_test): Likewise.
63571         * string/test-strchr.c (do_one_test): Likewise.
63572         (do_test): Likewise.
63573         * string/test-strcmp.c (do_one_test): Likewise.
63574         (do_test): Likewise.
63575         * string/test-strcpy.c (do_one_test): Likewise.
63576         (do_test): Likewise.
63577         * string/test-string.h: Likewise.
63578         (test_init): Likewise.
63579         * string/test-strlen.c (do_one_test): Likewise.
63580         (do_test): Likewise.
63581         * string/test-strncasecmp.c (do_one_test): Likewise.
63582         (do_test): Likewise.
63583         * string/test-strncat.c (do_one_test): Likewise.
63584         (do_test): Likewise.
63585         * string/test-strncmp.c (do_one_test): Likewise.
63586         (do_test_limit): Likewise.
63587         (do_test): Likewise.
63588         * string/test-strncpy.c (do_one_test): Likewise.
63589         (do_test): Likewise.
63590         * string/test-strnlen.c (do_one_test): Likewise.
63591         (do_test): Likewise.
63592         * string/test-strpbrk.c (do_one_test): Likewise.
63593         (do_test): Likewise.
63594         * string/test-strrchr.c (do_one_test): Likewise.
63595         (do_test): Likewise.
63596         * string/test-strspn.c (do_one_test): Likewise.
63597         (do_test): Likewise.
63598         * string/test-strstr.c (do_one_test): Likewise.
63599         (do_test): Likewise.
63601         * benchtests/Makefile (string-bench): Add string benchmarks.
63602         * benchtests/bench-bcopy-ifunc.c: New file.
63603         * benchtests/bench-bcopy.c: New file.
63604         * benchtests/bench-bzero-ifunc.c: New file.
63605         * benchtests/bench-bzero.c: New file.
63606         * benchtests/bench-memccpy-ifunc.c: New file.
63607         * benchtests/bench-memccpy.c: New file.
63608         * benchtests/bench-memchr-ifunc.c: New file.
63609         * benchtests/bench-memchr.c: New file.
63610         * benchtests/bench-memcmp-ifunc.c: New file.
63611         * benchtests/bench-memcmp.c: New file.
63612         * benchtests/bench-memmem-ifunc.c: New file.
63613         * benchtests/bench-memmem.c: New file.
63614         * benchtests/bench-memmove-ifunc.c: New file.
63615         * benchtests/bench-memmove.c: New file.
63616         * benchtests/bench-mempcpy-ifunc.c: New file.
63617         * benchtests/bench-mempcpy.c: New file.
63618         * benchtests/bench-memset-ifunc.c: New file.
63619         * benchtests/bench-memset.c: New file.
63620         * benchtests/bench-rawmemchr-ifunc.c: New file.
63621         * benchtests/bench-rawmemchr.c: New file.
63622         * benchtests/bench-stpcpy-ifunc.c: New file.
63623         * benchtests/bench-stpcpy.c: New file.
63624         * benchtests/bench-stpncpy-ifunc.c: New file.
63625         * benchtests/bench-stpncpy.c: New file.
63626         * benchtests/bench-strcasecmp-ifunc.c: New file.
63627         * benchtests/bench-strcasecmp.c: New file.
63628         * benchtests/bench-strcasestr-ifunc.c: New file.
63629         * benchtests/bench-strcasestr.c: New file.
63630         * benchtests/bench-strcat-ifunc.c: New file.
63631         * benchtests/bench-strcat.c: New file.
63632         * benchtests/bench-strchr-ifunc.c: New file.
63633         * benchtests/bench-strchr.c: New file.
63634         * benchtests/bench-strchrnul-ifunc.c: New file.
63635         * benchtests/bench-strchrnul.c: New file.
63636         * benchtests/bench-strcmp-ifunc.c: New file.
63637         * benchtests/bench-strcmp.c: New file.
63638         * benchtests/bench-strcpy-ifunc.c: New file.
63639         * benchtests/bench-strcpy.c: New file.
63640         * benchtests/bench-strcspn-ifunc.c: New file.
63641         * benchtests/bench-strcspn.c: New file.
63642         * benchtests/bench-strlen-ifunc.c: New file.
63643         * benchtests/bench-strlen.c: New file.
63644         * benchtests/bench-strncasecmp-ifunc.c: New file.
63645         * benchtests/bench-strncasecmp.c: New file.
63646         * benchtests/bench-strncat-ifunc.c: New file.
63647         * benchtests/bench-strncat.c: New file.
63648         * benchtests/bench-strncmp-ifunc.c: New file.
63649         * benchtests/bench-strncmp.c: New file.
63650         * benchtests/bench-strncpy-ifunc.c: New file.
63651         * benchtests/bench-strncpy.c: New file.
63652         * benchtests/bench-strnlen-ifunc.c: New file.
63653         * benchtests/bench-strnlen.c: New file.
63654         * benchtests/bench-strpbrk-ifunc.c: New file.
63655         * benchtests/bench-strpbrk.c: New file.
63656         * benchtests/bench-strrchr-ifunc.c: New file.
63657         * benchtests/bench-strrchr.c: New file.
63658         * benchtests/bench-strspn-ifunc.c: New file.
63659         * benchtests/bench-strspn.c: New file.
63660         * benchtests/bench-strstr-ifunc.c: New file.
63661         * benchtests/bench-strstr.c: New file.
63663         * benchtests/Makefile: Disable parallel execution of targets.
63664         (string-bench): Add memcpy.
63665         (benchset): New variable to store a list of benchmark sets.
63666         (bench-func): Renamed from bench.
63667         (bench-set): New target.
63668         (bench): Depend on bench-func and bench-set.
63669         * benchtests/README: Add section on benchmark sets.
63670         * benchtests/bench-memcpy-ifunc.c: New file.
63671         * benchtests/bench-memcpy.c: New file.
63672         * benchtests/bench-string.h: New file.
63674 2013-06-11  Andreas Schwab  <schwab@suse.de>
63676         [BZ #15577]
63677         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
63678         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
63679         values in the triple.
63680         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
63681         terminator in the group key.
63683 2013-06-11  Andreas Jaeger  <aj@suse.de>
63685         * po/zh_TW.po: Update Chinese (traditional) translation from
63686         translation project.
63688 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63690         * include/time.h (__clock_gettime): Add libc_hidden_proto.
63691         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
63692         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
63693         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63694         (clock_getcpuclockid): Likewise.
63695         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
63696         Add weak_alias and libc_hidden_def.
63697         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
63698         * rt/clock_gettime.c (clock_gettime): Rename to
63699         __clock_gettime.  Add weak_alias and libc_hidden_def.
63700         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
63701         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
63702         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
63703         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
63704         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
63705         Likewise.
63706         * rt/clock_settime.c (clock_settime): Rename to
63707         __clock_settime.  Add weak_alias and libc_hidden_def.
63708         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
63710 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
63712         * mach/err_boot.sub: Remove trailing whitespace.
63713         * mach/err_ipc.sub: Likewise.
63714         * mach/err_mach.sub: Likewise.
63716         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
63717         (ROUNDING_TESTS_double): Likewise.
63718         (ROUNDING_TESTS_long_double): Likewise.
63719         (ROUNDING_TESTS): Likewise.
63720         * math/libm-test.inc: Include <math-tests.h>.
63721         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
63722         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63723         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63724         (IF_ROUND_INIT_FE_UPWARD): Likewise.
63726 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63728         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
63729         of assigning.
63731 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
63733         * sysdeps/gnu/errlist.awk: Do not generate space at end of
63734         otherwise empty TRANS lines.
63735         * sysdeps/gnu/errlist.c: Regenerated.
63737         * catgets/gencat.c (error_print): Use (void) in function
63738         definition.
63739         * crypt/crypt_util.c (__init_des): Likewise.
63740         * crypt/speeds.c (Stop): Likewise.
63741         (main): Likewise.
63742         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
63743         * inet/ruserpass.c (token): Likewise.
63744         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
63745         * intl/localealias.c (extend_alias_table): Likewise.
63746         * intl/plural-exp.c (init_germanic_plural): Likewise.
63747         * libio/fcloseall.c (__fcloseall): Likewise.
63748         * libio/genops.c (_IO_flush_all): Likewise.
63749         (_IO_flush_all_linebuffered): Likewise.
63750         (_IO_cleanup): Likewise.
63751         (_IO_iter_begin): Likewise.
63752         (_IO_iter_end): Likewise.
63753         (_IO_list_lock): Likewise.
63754         (_IO_list_unlock): Likewise.
63755         (_IO_list_resetlock): Likewise.
63756         * libio/getchar.c (getchar): Likewise.
63757         * libio/getchar_u.c (getchar_unlocked): Likewise.
63758         * libio/getwchar.c (getwchar): Likewise.
63759         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
63760         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
63761         * login/getpt.c (__getpt): Likewise.
63762         * login/tst-utmp.c (main): Likewise.
63763         * malloc/hooks.c (__malloc_check_init): Likewise.
63764         * malloc/malloc.c (__malloc_stats): Likewise.
63765         * malloc/mtrace.c (tr_break): Likewise.
63766         (mtrace): Likewise.
63767         (muntrace): Likewise.
63768         * misc/fstab.c (endfsent): Likewise.
63769         * misc/getclktck.c (__getclktck): Likewise.
63770         * misc/getdtsz.c (__getdtablesize): Likewise.
63771         * misc/gethostid.c (gethostid): Likewise.
63772         * misc/getpagesize.c (__getpagesize): Likewise.
63773         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
63774         (__get_nprocs): Likewise.
63775         (__get_phys_pages): Likewise.
63776         (__get_avphys_pages): Likewise.
63777         * misc/getttyent.c (getttyent): Likewise.
63778         (setttyent): Likewise.
63779         (endttyent): Likewise.
63780         * misc/getusershell.c (getusershell): Likewise.
63781         (endusershell): Likewise.
63782         (setusershell): Likewise.
63783         (initshells): Likewise.
63784         * misc/hsearch.c (__hdestroy): Likewise.
63785         * misc/sync.c (sync): Likewise.
63786         * misc/syslog.c (closelog_internal): Likewise.
63787         (closelog): Likewise.
63788         * misc/ttyslot.c (ttyslot): Likewise.
63789         * misc/vhangup.c (vhangup): Likewise.
63790         * posix/fork.c (__fork): Likewise.
63791         * posix/getegid.c (__getegid): Likewise.
63792         * posix/geteuid.c (__geteuid): Likewise.
63793         * posix/getgid.c (__getgid): Likewise.
63794         * posix/getpid.c (__getpid): Likewise.
63795         * posix/getppid.c (__getppid): Likewise.
63796         * posix/getuid.c (__getuid): Likewise.
63797         * posix/pause.c (pause): Likewise.
63798         * posix/setpgrp.c (setpgrp): Likewise.
63799         * posix/setsid.c (__setsid): Likewise.
63800         * posix/test-vfork.c (noop): Likewise.
63801         * resolv/gethnamaddr.c (_endhtent): Likewise.
63802         (_gethtent): Likewise.
63803         (ht_endhostent): Likewise.
63804         (gethostent): Likewise.
63805         (dns_service): Likewise.
63806         * stdlib/drand48.c (drand48): Likewise.
63807         * stdlib/lrand48.c (lrand48): Likewise.
63808         * stdlib/mrand48.c (mrand48): Likewise.
63809         * stdlib/rand.c (rand): Likewise.
63810         * stdlib/random.c (__random): Likewise.
63811         * stdlib/setenv.c (clearenv): Likewise.
63812         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
63813         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
63814         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
63815         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
63816         (__get_nprocs): Likewise.
63817         (__get_phys_pages): Likewise.
63818         (__get_avphys_pages): Likewise.
63819         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
63820         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
63821         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
63822         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
63823         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
63824         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
63825         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
63826         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
63827         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
63828         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
63829         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
63830         * sysdeps/mach/hurd/sync.c (sync): Likewise.
63831         * sysdeps/posix/clock.c (clock): Likewise.
63832         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
63833         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
63834         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
63835         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
63836         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
63837         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
63838         (__get_nprocs_conf): Likewise.
63839         (__get_phys_pages): Likewise.
63840         (__get_avphys_pages): Likewise.
63841         * time/clock.c (clock): Likewise.
63842         * time/tzset.c (__tzname_max): Likewise.
63844 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
63846         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
63847         (__bswap_32): Do not use "register".
63848         * crypt/crypt.c (_ufc_doit_r): Likewise.
63849         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
63850         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
63851         * gmon/gmon.c (__monstartup): Likewise.
63852         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
63853         * hurd/hurdmalloc.c (more_memory): Likewise.
63854         (malloc): Likewise.
63855         (free): Likewise.
63856         (realloc): Likewise.
63857         (malloc_fork_prepare): Likewise.
63858         (malloc_fork_parent): Likewise.
63859         (malloc_fork_child): Likewise.
63860         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
63861         (_svcauth_des): Likewise.
63862         * inet/inet_lnaof.c (inet_lnaof): Likewise.
63863         * inet/inet_net.c (inet_network): Likewise.
63864         * inet/inet_netof.c (inet_netof): Likewise.
63865         * inet/rcmd.c (__validuser2_sa): Likewise.
63866         * io/fts.c (fts_open): Likewise.
63867         (fts_load): Likewise.
63868         (fts_close): Likewise.
63869         (fts_read): Likewise.
63870         (fts_children): Likewise.
63871         (fts_build): Likewise.
63872         (fts_stat): Likewise.
63873         (fts_sort): Likewise.
63874         (fts_alloc): Likewise.
63875         (fts_lfree): Likewise.
63876         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
63877         (_IO_file_xsgetn): Likewise.
63878         (_IO_file_xsgetn_mmap): Likewise.
63879         * libio/iofopncook.c (_IO_cookie_read): Likewise.
63880         (_IO_cookie_write): Likewise.
63881         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
63882         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
63883         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
63884         * malloc/obstack.c (_obstack_begin): Likewise.
63885         (_obstack_begin_1): Likewise.
63886         (_obstack_newchunk): Likewise.
63887         (_obstack_allocated_p): Likewise.
63888         (obstack_free): Likewise.
63889         (_obstack_memory_used): Likewise.
63890         * misc/getttyent.c (getttynam): Likewise.
63891         (getttyent): Likewise.
63892         (skip): Likewise.
63893         (value): Likewise.
63894         * misc/getusershell.c (initshells): Likewise.
63895         * misc/syslog.c (__vsyslog_chk): Likewise.
63896         * misc/ttyslot.c (ttyslot): Likewise.
63897         * nis/nis_hash.c (__nis_hash): Likewise.
63898         * posix/fnmatch_loop.c (FCT): Likewise.
63899         * posix/getconf.c (print_all): Likewise.
63900         (main): Likewise.
63901         * posix/getopt.c (exchange): Likewise.
63902         * posix/glob.c (globfree): Likewise.
63903         (prefix_array): Likewise.
63904         (__glob_pattern_type): Likewise.
63905         * resolv/arpa/nameser.h (NS_GET16): Likewise.
63906         (NS_GET32): Likewise.
63907         (NS_PUT16): Likewise.
63908         (NS_PUT32): Likewise.
63909         * resolv/gethnamaddr.c (getanswer): Likewise.
63910         (gethostbyname2): Likewise.
63911         (gethostbyaddr): Likewise.
63912         (_gethtent): Likewise.
63913         (_gethtbyname2): Likewise.
63914         (_gethtbyaddr): Likewise.
63915         * resolv/ns_print.c (dst_s_get_int16): Likewise.
63916         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
63917         * resolv/res_init.c (__res_vinit): Likewise.
63918         (net_mask): Likewise.
63919         * resolv/res_mkquery.c (outchar): Likewise.
63920         (PRINT): Likewise.
63921         * stdio-common/printf_fp.c (outchar): Likewise.
63922         (PRINT): Likewise.
63923         * stdio-common/printf_fphex.c (outchar): Likewise.
63924         (PRINT): Likewise.
63925         * stdio-common/printf_size.c (outchar): Likewise.
63926         (PRINT): Likewise.
63927         * stdio-common/test_rdwr.c (main): Likewise.
63928         * stdio-common/tfformat.c (matches): Likewise.
63929         * stdio-common/vfprintf.c (outchar): Likewise.
63930         (printf_unknown): Likewise.
63931         (buffered_vfprintf): Likewise.
63932         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
63933         * stdio-common/xbug.c (AppendToBuffer): Likewise.
63934         (ReadFile): Likewise.
63935         * stdlib/qsort.c (SWAP): Likewise.
63936         (_quicksort): Likewise.
63937         * stdlib/setenv.c (__add_to_environ): Likewise.
63938         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
63939         * stdlib/strtol_l.c (__strtol_l): Likewise.
63940         * stdlib/tst-strtod.c (main): Likewise.
63941         * stdlib/tst-strtol.c (main): Likewise.
63942         * stdlib/tst-strtoll.c (main): Likewise.
63943         * string/bits/string2.h (__strcmp_cc): Likewise.
63944         (__strcmp_cg): Likewise.
63945         (__strcspn_c1): Likewise.
63946         (__strcspn_c2): Likewise.
63947         (__strcspn_c3): Likewise.
63948         (__strspn_c1): Likewise.
63949         (__strspn_c2): Likewise.
63950         (__strspn_c3): Likewise.
63951         (__strsep_1c): Likewise.
63952         (__strsep_2c): Likewise.
63953         (__strsep_3c): Likewise.
63954         * string/memccpy.c (__memccpy): Likewise.
63955         * string/stpcpy.c (__stpcpy): Likewise.
63956         * string/strcmp.c (strcmp): Likewise.
63957         * string/strrchr.c (strrchr): Likewise.
63958         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
63959         Likewise.
63960         * sysdeps/mach/hurd/getcwd.c
63961         (_hurd_canonicalize_directory_name_internal): Likewise.
63962         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
63963         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
63964         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
63965         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
63966         Likewise, in both definitions.
63967         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
63968         definitions.
63969         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
63970         64] (__bswap_64): Likewise.
63971         * time/test_time.c (main): Likewise.
63972         * time/tzfile.c (__tzfile_read): Likewise.
63973         (__tzfile_compute): Likewise.
63974         * time/tzset.c (__tzset_parse_tz): Likewise.
63975         (tzset_internal): Likewise.
63976         (compute_change): Likewise.
63977         * wcsmbs/wcscat.c (__wcscat): Likewise.
63978         * wcsmbs/wcschr.c (wcschr): Likewise.
63979         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
63980         * wcsmbs/wcscspn.c (wcscspn): Likewise.
63981         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
63982         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
63983         * wcsmbs/wcsspn.c (wcsspn): Likewise.
63984         * wcsmbs/wcsstr.c (wcsstr): Likewise.
63985         * wcsmbs/wmemchr.c (wmemchr): Likewise.
63986         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63987         * wcsmbs/wmemset.c (wmemset): Likewise.
63989 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
63991         * scripts/config.guess: Update to version 2013-05-16.
63992         * scripts/config.sub: Update to version 2013-04-24.
63993         * scripts/install-sh: Update to version 2011-11-20.07.
63994         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
63995         * scripts/move-if-change: Update to version 2012-01-06 07:23.
63997 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
63999         * debug/fgetws_u_chk.c: Fix leading whitespaces.
64000         * elf/sln.c: Likewise.
64001         * hurd/hurd/ioctl.h: Likewise.
64002         * hurd/hurdmalloc.c: Likewise.
64003         * hurd/xattr.c: Likewise.
64004         * include/shlib-compat.h: Likewise.
64005         * inet/ruserpass.c: Likewise.
64006         * libio/iofgets_u.c: Likewise.
64007         * libio/iofgetws_u.c: Likewise.
64008         * locale/programs/ld-identification.c: Likewise.
64009         * locale/programs/ld-time.c: Likewise.
64010         * mach/msg-destroy.c: Likewise.
64011         * nss/nss_files/files-netgrp.c: Likewise.
64012         * resolv/res_data.c: Likewise.
64013         * soft-fp/op-1.h: Likewise.
64014         * soft-fp/op-2.h: Likewise.
64015         * soft-fp/op-4.h: Likewise.
64016         * soft-fp/op-common.h: Likewise.
64017         * stdio-common/printf_fphex.c: Likewise.
64018         * stdlib/strtod_l.c: Likewise.
64019         * sunrpc/rpc/clnt.h: Likewise.
64020         * sysdeps/generic/framestate.c: Likewise.
64021         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64022         * sysdeps/i386/bsd-setjmp.S: Likewise.
64023         * sysdeps/i386/__longjmp.S: Likewise.
64024         * sysdeps/i386/setjmp.S: Likewise.
64025         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64026         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64027         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64028         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64029         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64030         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64031         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64032         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64033         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64034         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64035         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64036         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64037         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64038         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64039         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64040         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64041         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64042         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
64043         * sysdeps/ieee754/support.c: Likewise.
64044         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64045         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
64046         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
64047         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
64048         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
64049         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
64050         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
64051         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
64052         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
64053         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
64054         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
64055         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
64056         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
64057         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
64058         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
64059         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
64060         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
64063 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
64065         * posix/transbug.c: Remove executable mode.
64067 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
64069         * crypt/speeds.c: Remove trailing whitespace.
64070         * dlfcn/default.c: Likewise.
64071         * elf/ifuncdep2.c: Likewise.
64072         * elf/ifuncmain1.c: Likewise.
64073         * elf/ifuncmain1vis.c: Likewise.
64074         * elf/testobj.h: Likewise.
64075         * elf/tst-stackguard1.c: Likewise.
64076         * gmon/sys/gmon.h: Likewise.
64077         * hurd/hurdmsg.c: Likewise.
64078         * hurd/new-fd.c: Likewise.
64079         * hurd/ports-get.c: Likewise.
64080         * iconvdata/ibm1008_420.c: Likewise.
64081         * inet/tst-getni1.c: Likewise.
64082         * inet/tst-getni2.c: Likewise.
64083         * libio/ioungetc.c: Likewise.
64084         * libio/wfiledoalloc.c: Likewise.
64085         * manual/libm-err-tab.pl: Likewise.
64086         * math/w_dremf.c: Likewise.
64087         * misc/ftruncate.c: Likewise.
64088         * posix/bug-glob2.c: Likewise.
64089         * posix/tst-pcre.c: Likewise.
64090         * posix/wait4.c: Likewise.
64091         * resolv/README: Likewise.
64092         * resolv/res_debug.h: Likewise.
64093         * resolv/tst-inet_ntop.c: Likewise.
64094         * setjmp/bug269-setjmp.c: Likewise.
64095         * soft-fp/extended.h: Likewise.
64096         * soft-fp/op-1.h: Likewise.
64097         * soft-fp/op-2.h: Likewise.
64098         * soft-fp/op-4.h: Likewise.
64099         * soft-fp/op-8.h: Likewise.
64100         * soft-fp/testit.c: Likewise.
64101         * stdio-common/bug16.c: Likewise.
64102         * stdlib/random.c: Likewise.
64103         * sunrpc/rpcsvc/rquota.x: Likewise.
64104         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
64105         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64106         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64107         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64108         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64109         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64110         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64111         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64112         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64113         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64114         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64115         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
64116         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64117         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
64118         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64119         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
64120         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64121         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64122         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
64123         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64124         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64125         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64126         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
64127         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
64128         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
64129         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
64130         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
64131         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64132         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64133         * sysdeps/ieee754/s_lib_version.c: Likewise.
64134         * sysdeps/mach/hurd/check_fds.c: Likewise.
64135         * sysdeps/mach/hurd/getsockname.c: Likewise.
64136         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
64137         * sysdeps/mach/hurd/recvfrom.c: Likewise.
64138         * sysdeps/powerpc/bits/link.h: Likewise.
64139         * sysdeps/powerpc/dl-procinfo.c: Likewise.
64140         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
64141         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
64142         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
64143         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
64144         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64145         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
64146         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
64147         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
64148         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64149         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
64150         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
64151         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
64152         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64153         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64154         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64155         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
64156         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
64157         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64158         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64159         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64160         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
64161         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64162         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
64163         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
64164         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
64165         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
64166         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64167         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64168         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
64169         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
64170         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
64171         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64172         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64173         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
64174         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
64175         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
64176         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
64177         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
64178         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
64179         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
64180         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
64181         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
64182         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
64183         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
64184         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
64185         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
64186         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
64187         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
64188         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
64189         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64190         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64191         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
64192         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
64193         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
64194         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
64195         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
64196         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64197         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
64198         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
64199         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
64200         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
64201         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
64202         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
64203         * sysdeps/powerpc/sysdep.h: Likewise.
64204         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64205         * sysdeps/s390/s390-64/sub_n.S: Likewise.
64206         * sysdeps/sh/dl-trampoline.S: Likewise.
64207         * sysdeps/sh/memset.S: Likewise.
64208         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
64209         * sysdeps/sh/strlen.S: Likewise.
64210         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
64211         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
64212         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
64213         * sysdeps/sparc/sparc32/rem.S: Likewise.
64214         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
64215         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
64216         * sysdeps/sparc/sparc32/strchr.S: Likewise.
64217         * sysdeps/sparc/sparc32/udiv.S: Likewise.
64218         * sysdeps/sparc/sparc32/urem.S: Likewise.
64219         * sysdeps/sparc/sparc64/add_n.S: Likewise.
64220         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64221         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
64222         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
64223         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
64224         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
64225         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
64226         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
64227         * sysdeps/unix/bsd/times.c: Likewise.
64228         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
64229         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
64230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
64231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
64232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
64233         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
64234         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
64235         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
64236         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
64237         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
64238         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
64239         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
64240         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
64241         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
64242         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
64243         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
64244         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
64245         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
64246         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
64247         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
64248         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
64249         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
64250         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
64251         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
64252         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
64253         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
64254         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
64255         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64256         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
64257         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
64258         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
64259         * sysdeps/x86_64/strcspn.S: Likewise.
64261 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64263         * locale/C-translit.h: Revert #include <stdint.h> because this is a
64264         generated file.  Regenerate properly from gen-translit.pl.
64265         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
64266         locale/C-translit.h.
64268 2013-06-05  Andreas Schwab  <schwab@suse.de>
64270         [BZ #15100]
64271         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
64272         week as 6 instead of -1.
64273         * time/tst-strptime.c (day_tests): Add test case.
64275 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64277         * sysdeps/generic/math_private.h
64278         (libc_feholdexcept_setround_53bit): Replace with
64279         libc_feholdsetround_53bit.
64280         (libc_feupdateenv_53bit): Replace with
64281         libc_feresetround_53bit.
64282         (SET_RESTORE_ROUND_53BIT): Adjust.
64284 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
64286         * string/test-strchrnul.c: Add copyright header.
64288         * posix/tst-getaddrinfo4.c: Increase test timeout.
64290 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
64292         [BZ #15536]
64293         * math/libm-test.inc (MAX_EXP): Remove
64294         (MIN_EXP): Define.
64295         (ulp): Use MIN_EXP - MANT_DIG.
64296         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
64298 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
64300         * po/be.po: Revert last change.
64301         * po/zh_CN.po: Likewise.
64302         * po/header.pot: Likewise.
64304 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
64306         * Makefile ($(common-objpfx)linkobj/libc.so): Define
64307         link-libc-deps to empty as target-specific variable.
64308         * Makerules (link-libc-args): New variable.
64309         (libc-for-link): Likewise.
64310         (link-libc-deps): Likewise.
64311         (lib%.so): Depend on $(link-libc-deps).  Link with
64312         $(link-libc-args).
64313         (build-module): Link with $(link-libc-args).
64314         (build-module-asneeded): Likewise.
64315         (build-module-helper-objlist): Filter out $(link-libc-deps) from
64316         list of objects.
64317         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
64318         target-specific variable.
64319         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
64320         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
64321         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
64322         libc.
64323         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
64324         libc and ld.so.
64325         ($(objpfx)libpcprofile.so): Likewise.
64326         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
64327         libc_nonshared.a.
64328         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
64329         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
64330         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
64331         $(link-libc-deps).
64332         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
64333         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
64334         * login/Makefile ($(objpfx)libutil.so): Likewise.
64335         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
64336         * math/Makefile ($(objpfx)libm.so): Likewise.
64337         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
64338         $(objpfx)libnsl.so): Define libc-for-link as target-specific
64339         variable instead of depending directly on libc.
64340         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
64341         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
64342         $(link-libc-deps).
64343         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
64344         libc.
64345         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
64346         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
64347         ($(objpfx)libanl.so): Likewise.
64348         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
64349         ld.so.
64350         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
64351         $(link-libc-deps).
64352         * sysdeps/i386/fpu/Makefile: Remove file.
64353         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
64354         ($(objpfx)libm.so): Remove dependency on ld.so.
64356 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
64358         [BZ # 15553]
64359         * nis/yp_xdr.c (XDRMAXNAME): Define.
64360         (XDRMAXRECORD): Define.
64361         (xdr_domainname): Use XDRMAXNAME.
64362         (xdr_mapname): Likewise.
64363         (xdr_peername): Likewise.
64364         (xdr_keydat): Use XDRMAXRECORD.
64365         (xdr_valdat): Likewise.
64367 2013-05-30  Jeff Law  <law@redhat.com>
64369         [BZ #14256]
64370         * manual/errno.texi (ESTALE): Update to account for more than
64371         just NFS file systems.
64372         * sysdeps/gnu/errlist.c: Regenerated.
64374 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64376         [BZ #15465]
64377         * elf/Makefile (tests): Add tst-null-argv.
64378         (modules-names):  Add tst-null-argv-lib.
64379         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
64380         (tst-null-argv-ENV): Set environment for tst-null-argv.
64381         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
64382         (RTLD_PROGNAME): New macro.
64383         * elf/tst-null-argv.c: New test case.
64384         * elf/tst-null-argv-lib.c: Library for test case.
64385         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
64386         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
64387         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
64388         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
64389         * elf/dl-init.c (call_init): Likewise.
64390         (_dl_init): Likewise.
64391         * elf/dl-load.c (print_search_path): Likewise.
64392         (_dl_map_object): Likewise.
64393         * elf/dl-lookup.c (do_lookup_x): Likewise.
64394         (add_dependency): Likewise.
64395         (_dl_lookup_symbol_x): Likewise.
64396         (_dl_debug_bindings): Likewise.
64397         * elf/dl-open.c (_dl_show_scope): Likewise.
64398         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
64399         * elf/dl-version.c (match_symbol): Likewise.
64400         (_dl_check_map_versions): Likewise.
64401         * elf/rtld.c (dl_main): Likewise.
64402         (print_unresolved): Use RTLD_PROGNAME.
64403         (print_missing_version): Likewise.
64404         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
64405         (elf_machine_rela): Likewise.
64406         * sysdeps/powerpc/powerpc32/dl-machine.c
64407         (__process_machine_rela): Likewise.
64408         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64409         Likewise.
64410         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64411         Likewise.
64412         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
64413         Likewise.
64414         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
64415         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
64416         Likewise.
64417         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
64418         Likewise.
64419         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64421 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
64423         * po/be.po: Add descriptive title.
64424         * po/zh_CN.po: Likewise.
64425         * po/header.pot: Likewise.
64427 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
64429         * locale/programs/locarchive.c (create_archive): Inlucde fname in
64430         error message.
64431         (enlarge_archive): Likewise.
64433 2013-05-28  Ben North  <ben@redfrontdoor.org>
64435         * manual/arith.texi (frexp): It is the magnitude of the return
64436         value which lies in [0.5, 1), not the return value itself.
64438 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64442 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
64444         * stdio-common/bug26.c (main): Correct fscanf template.
64446         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
64447         declare _dl_skip_args.
64449         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
64450         Don't declare.
64452         * manual/platform.texi: Add missing @end deftypefun.
64454 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
64456         [BZ #15529]
64457         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
64458         bit of mantissa of 2^16382.
64459         * math/libm-test.inc (hypot_test_data): Add more tests.
64461         * math/libm-test.inc: Add drem and pow10 to list of tested
64462         functions.
64463         (pow10_test): New function.
64464         (drem_test): Likewise.
64465         (drem_test_tonearest): Likewise.
64466         (drem_test_towardzero): Likewise.
64467         (drem_test_downward): Likewise.
64468         (drem_test_upward): Likewise.
64469         (main): Call the new functions.
64471         * math/libm-test.inc (finite_test_data): Remove.
64472         (finite_test): Run tests from isfinite_test_data.
64473         (gamma_test_data): Remove.
64474         (gamma_test): Run tests from lgamma_test_data.
64475         * sysdeps/i386/fpu/libm-test-ulps: Update.
64476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64478 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64480         * manual/platform.texi: Add PowerPC PPR function set documentation.
64481         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
64482         implementation.
64484 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
64486         * math/libm-test.inc (MAX_EXP): Define.
64487         (ULPDIFF): Define.
64488         (ulp): New function.
64489         (check_float_internal): Use ULPDIFF.
64490         (cpow_test): Disable failing test.
64491         (check_ulp): Test ulp() implementation.
64492         (main): Call check_ulp before starting tests.
64494 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
64496         * math/gen-libm-test.pl (generate_testfile): Do not handle
64497         START_DATA and END_DATA.
64498         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
64499         END_DATA.
64500         (acos_tonearest_test_data): Likewise.
64501         (acos_towardzero_test_data): Likewise.
64502         (acos_downward_test_data): Likewise.
64503         (acos_upward_test_data): Likewise.
64504         (acosh_test_data): Likewise.
64505         (asin_test_data): Likewise.
64506         (asin_tonearest_test_data): Likewise.
64507         (asin_towardzero_test_data): Likewise.
64508         (asin_downward_test_data): Likewise.
64509         (asin_upward_test_data): Likewise.
64510         (asinh_test_data): Likewise.
64511         (atan_test_data): Likewise.
64512         (atanh_test_data): Likewise.
64513         (atan2_test_data): Likewise.
64514         (cabs_test_data): Likewise.
64515         (cacos_test_data): Likewise.
64516         (cacosh_test_data): Likewise.
64517         (carg_test_data): Likewise.
64518         (casin_test_data): Likewise.
64519         (casinh_test_data): Likewise.
64520         (catan_test_data): Likewise.
64521         (catanh_test_data): Likewise.
64522         (cbrt_test_data): Likewise.
64523         (ccos_test_data): Likewise.
64524         (ccosh_test_data): Likewise.
64525         (ceil_test_data): Likewise.
64526         (cexp_test_data): Likewise.
64527         (cimag_test_data): Likewise.
64528         (clog_test_data): Likewise.
64529         (clog10_test_data): Likewise.
64530         (conj_test_data): Likewise.
64531         (copysign_test_data): Likewise.
64532         (cos_test_data): Likewise.
64533         (cos_tonearest_test_data): Likewise.
64534         (cos_towardzero_test_data): Likewise.
64535         (cos_downward_test_data): Likewise.
64536         (cos_upward_test_data): Likewise.
64537         (cosh_test_data): Likewise.
64538         (cosh_tonearest_test_data): Likewise.
64539         (cosh_towardzero_test_data): Likewise.
64540         (cosh_downward_test_data): Likewise.
64541         (cosh_upward_test_data): Likewise.
64542         (cpow_test_data): Likewise.
64543         (cproj_test_data): Likewise.
64544         (creal_test_data): Likewise.
64545         (csin_test_data): Likewise.
64546         (csinh_test_data): Likewise.
64547         (csqrt_test_data): Likewise.
64548         (ctan_test_data): Likewise.
64549         (ctan_tonearest_test_data): Likewise.
64550         (ctan_towardzero_test_data): Likewise.
64551         (ctan_downward_test_data): Likewise.
64552         (ctan_upward_test_data): Likewise.
64553         (ctanh_test_data): Likewise.
64554         (ctanh_tonearest_test_data): Likewise.
64555         (ctanh_towardzero_test_data): Likewise.
64556         (ctanh_downward_test_data): Likewise.
64557         (ctanh_upward_test_data): Likewise.
64558         (erf_test_data): Likewise.
64559         (erfc_test_data): Likewise.
64560         (exp_test_data): Likewise.
64561         (exp_tonearest_test_data): Likewise.
64562         (exp_towardzero_test_data): Likewise.
64563         (exp_downward_test_data): Likewise.
64564         (exp_upward_test_data): Likewise.
64565         (exp10_test_data): Likewise.
64566         (exp2_test_data): Likewise.
64567         (expm1_test_data): Likewise.
64568         (fabs_test_data): Likewise.
64569         (fdim_test_data): Likewise.
64570         (finite_test_data): Likewise.
64571         (floor_test_data): Likewise.
64572         (fma_test_data): Likewise.
64573         (fma_towardzero_test_data): Likewise.
64574         (fma_downward_test_data): Likewise.
64575         (fma_upward_test_data): Likewise.
64576         (fmax_test_data): Likewise.
64577         (fmin_test_data): Likewise.
64578         (fmod_test_data): Likewise.
64579         (fpclassify_test_data): Likewise.
64580         (frexp_test_data): Likewise.
64581         (gamma_test_data): Likewise.
64582         (hypot_test_data): Likewise.
64583         (ilogb_test_data): Likewise.
64584         (isfinite_test_data): Likewise.
64585         (isgreater_test_data): Likewise.
64586         (isgreaterequal_test_data): Likewise.
64587         (isinf_test_data): Likewise.
64588         (isless_test_data): Likewise.
64589         (islessequal_test_data): Likewise.
64590         (islessgreater_test_data): Likewise.
64591         (isnan_test_data): Likewise.
64592         (isnormal_test_data): Likewise.
64593         (issignaling_test_data): Likewise.
64594         (isunordered_test_data): Likewise.
64595         (j0_test_data): Likewise.
64596         (j1_test_data): Likewise.
64597         (jn_test_data): Likewise.
64598         (ldexp_test_data): Likewise.
64599         (lgamma_test_data): Likewise.
64600         (lrint_test_data): Likewise.
64601         (lrint_tonearest_test_data): Likewise.
64602         (lrint_towardzero_test_data): Likewise.
64603         (lrint_downward_test_data): Likewise.
64604         (lrint_upward_test_data): Likewise.
64605         (llrint_test_data): Likewise.
64606         (llrint_tonearest_test_data): Likewise.
64607         (llrint_towardzero_test_data): Likewise.
64608         (llrint_downward_test_data): Likewise.
64609         (llrint_upward_test_data): Likewise.
64610         (log_test_data): Likewise.
64611         (log10_test_data): Likewise.
64612         (log1p_test_data): Likewise.
64613         (log2_test_data): Likewise.
64614         (logb_test_data): Likewise.
64615         (logb_downward_test_data): Likewise.
64616         (lround_test_data): Likewise.
64617         (llround_test_data): Likewise.
64618         (modf_test_data): Likewise.
64619         (nearbyint_test_data): Likewise.
64620         (nextafter_test_data): Likewise.
64621         (nexttoward_test_data): Likewise.
64622         (pow_test_data): Likewise.
64623         (pow_tonearest_test_data): Likewise.
64624         (pow_towardzero_test_data): Likewise.
64625         (pow_downward_test_data): Likewise.
64626         (pow_upward_test_data): Likewise.
64627         (remainder_test_data): Likewise.
64628         (remainder_tonearest_test_data): Likewise.
64629         (remainder_towardzero_test_data): Likewise.
64630         (remainder_downward_test_data): Likewise.
64631         (remainder_upward_test_data): Likewise.
64632         (remquo_test_data): Likewise.
64633         (rint_test_data): Likewise.
64634         (rint_tonearest_test_data): Likewise.
64635         (rint_towardzero_test_data): Likewise.
64636         (rint_downward_test_data): Likewise.
64637         (rint_upward_test_data): Likewise.
64638         (round_test_data): Likewise.
64639         (scalb_test_data): Likewise.
64640         (scalbn_test_data): Likewise.
64641         (scalbln_test_data): Likewise.
64642         (signbit_test_data): Likewise.
64643         (sin_test_data): Likewise.
64644         (sin_tonearest_test_data): Likewise.
64645         (sin_towardzero_test_data): Likewise.
64646         (sin_downward_test_data): Likewise.
64647         (sin_upward_test_data): Likewise.
64648         (sincos_test_data): Likewise.
64649         (sinh_test_data): Likewise.
64650         (sinh_tonearest_test_data): Likewise.
64651         (sinh_towardzero_test_data): Likewise.
64652         (sinh_downward_test_data): Likewise.
64653         (sinh_upward_test_data): Likewise.
64654         (sqrt_test_data): Likewise.
64655         (tan_test_data): Likewise.
64656         (tan_tonearest_test_data): Likewise.
64657         (tan_towardzero_test_data): Likewise.
64658         (tan_downward_test_data): Likewise.
64659         (tan_upward_test_data): Likewise.
64660         (tanh_test_data): Likewise.
64661         (tgamma_test_data): Likewise.
64662         (trunc_test_data): Likewise.
64663         (y0_test_data): Likewise.
64664         (y1_test_data): Likewise.
64665         (yn_test_data): Likewise.
64666         (significand_test_data): Likewise.
64668         * math/gen-libm-test.pl (@functions): Remove variable.
64669         (generate_testfile): Don't handle START and END lines.
64670         * math/libm-test.inc (START): New macro.
64671         (END): Likewise.
64672         (END_COMPLEX): Likewise.
64673         (acos_test): Use END macro without arguments.
64674         (acos_test_tonearest): Likewise.
64675         (acos_test_towardzero): Likewise.
64676         (acos_test_downward): Likewise.
64677         (acos_test_upward): Likewise.
64678         (acosh_test): Likewise.
64679         (asin_test): Likewise.
64680         (asin_test_tonearest): Likewise.
64681         (asin_test_towardzero): Likewise.
64682         (asin_test_downward): Likewise.
64683         (asin_test_upward): Likewise.
64684         (asinh_test): Likewise.
64685         (atan_test): Likewise.
64686         (atanh_test): Likewise.
64687         (atan2_test): Likewise.
64688         (cabs_test): Likewise.
64689         (cacos_test): Use END_COMPLEX macro without arguments.
64690         (cacosh_test): Likewise.
64691         (carg_test): Use END macro without arguments.
64692         (casin_test): Use END_COMPLEX macro without arguments.
64693         (casinh_test): Likewise.
64694         (catan_test): Likewise.
64695         (catanh_test): Likewise.
64696         (cbrt_test): Use END macro without arguments.
64697         (ccos_test): Use END_COMPLEX macro without arguments.
64698         (ccosh_test): Likewise.
64699         (ceil_test): Use END macro without arguments.
64700         (cexp_test): Use END_COMPLEX macro without arguments.
64701         (cimag_test): Use END macro without arguments.
64702         (clog_test): Use END_COMPLEX macro without arguments.
64703         (clog10_test): Likewise.
64704         (conj_test): Likewise.
64705         (copysign_test): Use END macro without arguments.
64706         (cos_test): Likewise.
64707         (cos_test_tonearest): Likewise.
64708         (cos_test_towardzero): Likewise.
64709         (cos_test_downward): Likewise.
64710         (cos_test_upward): Likewise.
64711         (cosh_test): Likewise.
64712         (cosh_test_tonearest): Likewise.
64713         (cosh_test_towardzero): Likewise.
64714         (cosh_test_downward): Likewise.
64715         (cosh_test_upward): Likewise.
64716         (cpow_test): Use END_COMPLEX macro without arguments.
64717         (cproj_test): Likewise.
64718         (creal_test): Use END macro without arguments.
64719         (csin_test): Use END_COMPLEX macro without arguments.
64720         (csinh_test): Likewise.
64721         (csqrt_test): Likewise.
64722         (ctan_test): Likewise.
64723         (ctan_test_tonearest): Likewise.
64724         (ctan_test_towardzero): Likewise.
64725         (ctan_test_downward): Likewise.
64726         (ctan_test_upward): Likewise.
64727         (ctanh_test): Likewise.
64728         (ctanh_test_tonearest): Likewise.
64729         (ctanh_test_towardzero): Likewise.
64730         (ctanh_test_downward): Likewise.
64731         (ctanh_test_upward): Likewise.
64732         (erf_test): Use END macro without arguments.
64733         (erfc_test): Likewise.
64734         (exp_test): Likewise.
64735         (exp_test_tonearest): Likewise.
64736         (exp_test_towardzero): Likewise.
64737         (exp_test_downward): Likewise.
64738         (exp_test_upward): Likewise.
64739         (exp10_test): Likewise.
64740         (exp2_test): Likewise.
64741         (expm1_test): Likewise.
64742         (fabs_test): Likewise.
64743         (fdim_test): Likewise.
64744         (finite_test): Likewise.
64745         (floor_test): Likewise.
64746         (fma_test): Likewise.
64747         (fma_test_towardzero): Likewise.
64748         (fma_test_downward): Likewise.
64749         (fma_test_upward): Likewise.
64750         (fmax_test): Likewise.
64751         (fmin_test): Likewise.
64752         (fmod_test): Likewise.
64753         (fpclassify_test): Likewise.
64754         (frexp_test): Likewise.
64755         (gamma_test): Likewise.
64756         (hypot_test): Likewise.
64757         (ilogb_test): Likewise.
64758         (isfinite_test): Likewise.
64759         (isgreater_test): Likewise.
64760         (isgreaterequal_test): Likewise.
64761         (isinf_test): Likewise.
64762         (isless_test): Likewise.
64763         (islessequal_test): Likewise.
64764         (islessgreater_test): Likewise.
64765         (isnan_test): Likewise.
64766         (isnormal_test): Likewise.
64767         (issignaling_test): Likewise.
64768         (isunordered_test): Likewise.
64769         (j0_test): Likewise.
64770         (j1_test): Likewise.
64771         (jn_test): Likewise.
64772         (ldexp_test): Likewise.
64773         (lgamma_test): Likewise.
64774         (lrint_test): Likewise.
64775         (lrint_test_tonearest): Likewise.
64776         (lrint_test_towardzero): Likewise.
64777         (lrint_test_downward): Likewise.
64778         (lrint_test_upward): Likewise.
64779         (llrint_test): Likewise.
64780         (llrint_test_tonearest): Likewise.
64781         (llrint_test_towardzero): Likewise.
64782         (llrint_test_downward): Likewise.
64783         (llrint_test_upward): Likewise.
64784         (log_test): Likewise.
64785         (log10_test): Likewise.
64786         (log1p_test): Likewise.
64787         (log2_test): Likewise.
64788         (logb_test): Likewise.
64789         (logb_test_downward): Likewise.
64790         (lround_test): Likewise.
64791         (llround_test): Likewise.
64792         (modf_test): Likewise.
64793         (nearbyint_test): Likewise.
64794         (nextafter_test): Likewise.
64795         (nexttoward_test): Likewise.
64796         (pow_test): Likewise.
64797         (pow_test_tonearest): Likewise.
64798         (pow_test_towardzero): Likewise.
64799         (pow_test_downward): Likewise.
64800         (pow_test_upward): Likewise.
64801         (remainder_test): Likewise.
64802         (remainder_test_tonearest): Likewise.
64803         (remainder_test_towardzero): Likewise.
64804         (remainder_test_downward): Likewise.
64805         (remainder_test_upward): Likewise.
64806         (remquo_test): Likewise.
64807         (rint_test): Likewise.
64808         (rint_test_tonearest): Likewise.
64809         (rint_test_towardzero): Likewise.
64810         (rint_test_downward): Likewise.
64811         (rint_test_upward): Likewise.
64812         (round_test): Likewise.
64813         (scalb_test): Likewise.
64814         (scalbn_test): Likewise.
64815         (scalbln_test): Likewise.
64816         (signbit_test): Likewise.
64817         (sin_test): Likewise.
64818         (sin_test_tonearest): Likewise.
64819         (sin_test_towardzero): Likewise.
64820         (sin_test_downward): Likewise.
64821         (sin_test_upward): Likewise.
64822         (sincos_test): Likewise.
64823         (sinh_test): Likewise.
64824         (sinh_test_tonearest): Likewise.
64825         (sinh_test_towardzero): Likewise.
64826         (sinh_test_downward): Likewise.
64827         (sinh_test_upward): Likewise.
64828         (sqrt_test): Likewise.
64829         (tan_test): Likewise.
64830         (tan_test_tonearest): Likewise.
64831         (tan_test_towardzero): Likewise.
64832         (tan_test_downward): Likewise.
64833         (tan_test_upward): Likewise.
64834         (tanh_test): Likewise.
64835         (tgamma_test): Likewise.
64836         (trunc_test): Likewise.
64837         (y0_test): Likewise.
64838         (y1_test): Likewise.
64839         (yn_test): Likewise.
64840         (significand_test): Likewise.
64842 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
64844         [BZ #15381]
64845         * libio/genops.c (_IO_no_init): Initialize wide struct info.
64847 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
64849         [BZ #14894]
64850         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
64851         __ppc_mdoio and __ppc_mdoom.
64852         * manual/platform.texi: Document new functions __ppc_yield,
64853         __ppc_mdoio and __ppc_mdoom.
64855 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
64857         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
64858         (main): Mention "tls" pseudo-hwcap is legacy.
64859         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
64861 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
64863         * math/gen-libm-test.pl (parse_args): Output only string of
64864         arguments as text for test name, not full call or descriptions of
64865         tests for extra outputs.
64866         (generate_testfile): Do not pass function name to parse_args.
64867         Generate this_func variable from START.
64868         * math/libm-test.inc (struct test_f_f_data): Rename test_name
64869         field to arg_str.
64870         (struct test_ff_f_data): Likewise.
64871         (test_ff_f_data_nexttoward): Likewise.
64872         (struct test_fi_f_data): Likewise.
64873         (struct test_fl_f_data): Likewise.
64874         (struct test_if_f_data): Likewise.
64875         (struct test_fff_f_data): Likewise.
64876         (struct test_c_f_data): Likewise.
64877         (struct test_f_f1_data): Likewise.  Remove field extra_name.
64878         (struct test_fF_f1_data): Likewise.
64879         (struct test_ffI_f1_data): Likewise.
64880         (struct test_c_c_data): Rename test_name field to arg_str.
64881         (struct test_cc_c_data): Likewise.
64882         (struct test_f_i_data): Likewise.
64883         (struct test_ff_i_data): Likewise.
64884         (struct test_f_l_data): Likewise.
64885         (struct test_f_L_data): Likewise.
64886         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
64887         and extra2_name.
64888         (COMMON_TEST_SETUP): New macro.
64889         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
64890         (COMMON_TEST_CLEANUP): Likewise.
64891         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
64892         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
64893         macros.
64894         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
64895         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
64896         macros.
64897         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
64898         (RUN_TEST_fff_f): Take argument string.  Call new setup and
64899         cleanup macros.
64900         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
64901         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
64902         macros.
64903         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
64904         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
64905         macros.
64906         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
64907         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
64908         cleanup macros.
64909         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
64910         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
64911         cleanup macros.
64912         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
64913         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
64914         cleanup macros.
64915         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
64916         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
64917         macros.
64918         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
64919         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
64920         macros.
64921         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
64922         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
64923         macros.
64924         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
64925         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
64926         cleanup macros.
64927         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
64928         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
64929         cleanup macros.
64930         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
64931         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
64932         macros.
64933         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
64934         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
64935         cleanup macros.
64936         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
64937         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
64938         macros.
64939         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
64940         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
64941         macros.
64942         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
64943         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
64944         cleanup macros.
64945         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
64947 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
64949         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
64950         to _sifields.sigfault.
64951         (si_addr_lsb): Define new macro.
64952         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64953         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64954         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
64956 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
64958         [BZ #15441]
64959         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
64960         returns -1.
64961         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
64962         null return -1.
64963         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
64964         loading the domain.
64966 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
64968         * math/gen-libm-test.pl (parse_args): Do not include expected
64969         result in test name.
64970         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
64971         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64972         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64973         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64974         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64977 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64979         * benchtests/Makefile: Sort function entries.
64981         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
64982         tanh, asinh, acosh, atanh.
64983         * benchtests/acos-inputs: New file.
64984         * benchtests/acosh-inputs: New file.
64985         * benchtests/asin-inputs: New file.
64986         * benchtests/asinh-inputs: New file.
64987         * benchtests/atanh-inputs: New file.
64988         * benchtests/cosh-inputs: New file.
64989         * benchtests/log-inputs: New file.
64990         * benchtests/sinh-inputs: New file.
64991         * benchtests/tanh-inputs: New file.
64993 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
64995         [BZ #15339]
64996         * posix/tst-getaddrinfo4.c: New test.
64997         * posix/Makefile (tests): Add it.
64999 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65001         [BZ #15339]
65002         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
65003         when no services were used.
65004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
65005         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
65007 2013-05-21  Andreas Schwab  <schwab@suse.de>
65009         [BZ #15014]
65010         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
65011         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
65012         successful.
65013         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
65014         redundant variable declarations and reallocation of buffer when
65015         parsing as IPv6 address.  Always set NSS status when called from
65016         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
65017         buffer too small.  Correct computation of needed size.
65018         * nss/Makefile (tests): Add test-digits-dots.
65019         * nss/test-digits-dots.c: New test.
65021 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65023         * benchtests/Makefile: Remove instructions for adding
65024         benchmark tests.
65025         * benchtests/README: New file to explain how to execute and
65026         enhance the benchmark tests.
65028 2013-05-21  Andreas Schwab  <schwab@suse.de>
65030         [BZ #15493]
65031         * setjmp/Makefile (tests): Add tst-sigsetjmp.
65032         * setjmp/tst-sigsetjmp.c: New test.
65034 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65036         * sysdeps/x86_64/memset.S (memset): New implementation.
65037         (__bzero): Likewise.
65038         (__memset_tail): New function.
65040 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65042         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
65043         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
65044         __memcpy_sse2_unaligned ifunc selection.
65045         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65046         Add memcpy-sse2-unaligned.S.
65047         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65048         Add: __memcpy_sse2_unaligned.
65050 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
65052         [BZ #15490]
65053         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65054         math_force_eval before restoring floating-point envrionment.
65055         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
65056         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
65057         Likewise.
65058         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
65059         <math_private.h>.
65060         (__nearbyintl): Use math_force_eval before restoring
65061         floating-point environment.
65062         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
65064         * math/gen-libm-test.pl (special_functions): Remove.
65065         (parse_args): Don't handle TEST_extra.  Handle functions with no
65066         return value.
65067         * math/libm-test.inc (struct test_sincos_data): Replace with
65068         struct test_fFF_11_data.
65069         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
65070         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
65071         (sincos_test_data): Change element type to struct
65072         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
65073         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
65074         RUN_TEST_LOOP_sincos.
65075         * math/README.libm-test: Don't mention special handling of
65076         individual functions.
65077         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
65078         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65079         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65080         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65081         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65084         * math/gen-libm-test.pl (get_variable): Remove function.
65085         (parse_args): Don't show pointer parameters to call in test
65086         names.  Use "extra output N" in test names for extra outputs
65087         rather than naming variables.
65089 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
65091         [BZ #15488]
65092         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
65093         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
65094         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
65095         double tests.
65096         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
65097         disable.
65098         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
65099         check_long_double.
65101         * math/gen-libm-test.pl (@tests): Remove variable.
65102         ($count): Likewise.
65103         (new_test): Remove function.
65104         (show_exceptions): New function.
65105         (special_functions): Use show_exceptions instead of new_test.
65106         (parse_args): Likewise.
65107         (generate_testfile): Pass only function name in generated call to
65108         print_max_error or print_complex_max_error.
65109         (get_ulps): Do not handle complex tests specially.
65110         (output_test): Rename to ...
65111         (get_all_ulps_for_test): ... this.  Return a string rather than
65112         printing to a file.  Require ulps to be present.
65113         (output_ulps): Generate arrays rather than #defines.
65114         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
65115         (struct ulp_data): New type.
65116         (BUILD_COMPLEX_ULP): Remove macro.
65117         (compare_ulp_data): New function.
65118         (find_ulps): Likewise.
65119         (find_test_ulps): Likewise.
65120         (find_function_ulps): Likewise.
65121         (find_complex_function_ulps): Likewise.
65122         (print_max_error): Determine allowed ulps using
65123         find_function_ulps.
65124         (print_complex_max_error): Determine allowed ulps using
65125         find_complex_function_ulps.
65126         (check_float_internal): Determine max ulps using find_test_ulps.
65127         (check_float): Do not take max_ulp parameter.  Update call to
65128         check_float_internal.
65129         (check_complex): Likewise.
65130         (check_int): Do not take max_ulp parameter.
65131         (check_long): Likewise.
65132         (check_bool): Likewise.
65133         (check_longlong): Likewise.
65134         (struct test_f_f_data): Remove max_ulp field.
65135         (struct test_ff_f_data): Likewise.
65136         (struct test_ff_f_data_nexttoward): Likewise.
65137         (struct test_fi_f_data): Likewise.
65138         (struct test_fl_f_data): Likewise.
65139         (struct test_if_f_data): Likewise.
65140         (struct test_fff_f_data): Likewise.
65141         (struct test_c_f_data): Likewise.
65142         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
65143         (struct test_fF_f1_data): Likewise.
65144         (struct test_ffI_f1_data): Likewise.
65145         (struct test_c_c_data): Remove max_ulp field.
65146         (struct test_cc_c_data): Likewise.
65147         (struct test_f_i_data): Likewise.
65148         (struct test_ff_i_data): Likewise.
65149         (struct test_f_l_data): Likewise.
65150         (struct test_f_L_data): Likewise.
65151         (struct test_sincos_data): Likewise.
65152         (RUN_TEST_f_f): Do not handle ulps.
65153         (RUN_TEST_LOOP_f_f): Likewise.
65154         (RUN_TEST_2_f): Likewise.
65155         (RUN_TEST_LOOP_2_f): Likewise.
65156         (RUN_TEST_fff_f): Likewise.
65157         (RUN_TEST_LOOP_fff_f): Likewise.
65158         (RUN_TEST_c_f): Likewise.
65159         (RUN_TEST_LOOP_c_f): Likewise.
65160         (RUN_TEST_f_f1): Likewise.
65161         (RUN_TEST_LOOP_f_f1): Likewise.
65162         (RUN_TEST_fF_f1): Likewise.
65163         (RUN_TEST_LOOP_fF_f1): Likewise.
65164         (RUN_TEST_fI_f1): Likewise.
65165         (RUN_TEST_LOOP_fI_f1): Likewise.
65166         (RUN_TEST_ffI_f1): Likewise.
65167         (RUN_TEST_LOOP_ffI_f1): Likewise.
65168         (RUN_TEST_c_c): Likewise.
65169         (RUN_TEST_LOOP_c_c): Likewise.
65170         (RUN_TEST_cc_c): Likewise.
65171         (RUN_TEST_LOOP_cc_c): Likewise.
65172         (RUN_TEST_f_i): Likewise.
65173         (RUN_TEST_LOOP_f_i): Likewise.
65174         (RUN_TEST_f_i_tg): Likewise.
65175         (RUN_TEST_LOOP_f_i_tg): Likewise.
65176         (RUN_TEST_ff_i_tg): Likewise.
65177         (RUN_TEST_LOOP_ff_i_tg): Likewise.
65178         (RUN_TEST_f_b): Likewise.
65179         (RUN_TEST_LOOP_f_b): Likewise.
65180         (RUN_TEST_f_b_tg): Likewise.
65181         (RUN_TEST_LOOP_f_b_tg): Likewise.
65182         (RUN_TEST_f_l): Likewise.
65183         (RUN_TEST_LOOP_f_l): Likewise.
65184         (RUN_TEST_f_L): Likewise.
65185         (RUN_TEST_LOOP_f_L): Likewise.
65186         (RUN_TEST_sincos): Likewise.
65187         (RUN_TEST_LOOP_sincos): Likewise.
65189 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
65191         [BZ #15480]
65192         [BZ #15485]
65193         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
65194         main case of finite arguments, set rounding mode to FE_TONEAREST
65195         and discard exceptions.
65196         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
65197         exceptions.
65198         (remainder_tonearest_test_data): New variable.
65199         (remainder_test_tonearest): New function.
65200         (remainder_towardzero_test_data): New variable.
65201         (remainder_test_towardzero): New function.
65202         (remainder_downward_test_data): New variable.
65203         (remainder_test_downward): New function.
65204         (remainder_upward_test_data): New variable.
65205         (remainder_test_upward): New function.
65206         (main): Call the new test functions.
65208         * math/libm-test.inc (struct test_f_f1_data): Remove field
65209         extra_init.
65210         (struct test_fF_f1_data): Likewise.
65211         (struct test_ffI_f1_data): Likewise.
65212         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
65213         based on value of EXTRA_EXPECTED.
65214         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
65215         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
65216         EXTRA_VAR based on value of EXTRA_EXPECTED.
65217         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
65218         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
65219         EXTRA_VAR based on value of EXTRA_EXPECTED.
65220         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
65221         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
65222         EXTRA_VAR based on value of EXTRA_EXPECTED.
65223         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
65224         * math/gen-libm-test.pl (parse_args): Don't output initializers
65225         for extra output values.
65227         * math/libm-test.inc (check_int): Expect result to be exactly
65228         equal to expected value and do not handle ulps.
65229         (check_long): Likewise.
65230         (check_longlong): Likewise.
65232         * math/libm-test.inc (ceil_test_data): Test for "inexact"
65233         exceptions.
65234         (cimag_test_data): Likewise.
65235         (conj_test_data): Likewise.
65236         (copysign_test_data): Likewise.
65237         (cproj_test_data): Likewise.
65238         (creal_test_data): Likewise.
65239         (fabs_test_data): Likewise.
65240         (fdim_test_data): Likewise.
65241         (finite_test_data): Likewise.
65242         (floor_test_data): Likewise.
65243         (fmax_test_data): Likewise.
65244         (fmin_test_data): Likewise.
65245         (fmod_test_data): Likewise.
65246         (fpclassify_test_data): Likewise.
65247         (frexp_test_data): Likewise.
65248         (ilogb_test_data): Likewise.
65249         (isfinite_test_data): Likewise.
65250         (isgreater_test_data): Likewise.
65251         (isgreaterequal_test_data): Likewise.
65252         (isinf_test_data): Likewise.
65253         (isless_test_data): Likewise.
65254         (islessequal_test_data): Likewise.
65255         (islessgreater_test_data): Likewise.
65256         (isnan_test_data): Likewise.
65257         (isnormal_test_data): Likewise.
65258         (issignaling_test_data): Likewise.
65259         (isunordered_test_data): Likewise.
65260         (ldexp_test_data): Likewise.
65261         (lrint_test_data): Likewise.
65262         (lrint_test_data) [TEST_FLOAT]: Disable one test.
65263         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
65264         (lrint_tonearest_test_data): Test for "inexact" exceptions.
65265         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65266         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
65267         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65268         test input.
65269         (lrint_towardzero_test_data): Test for "inexact" exceptions.
65270         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65271         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
65272         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
65273         that test input.
65274         (lrint_downward_test_data): Test for "inexact" exceptions.
65275         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65276         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
65277         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65278         test input.
65279         (lrint_upward_test_data): Test for "inexact" exceptions.
65280         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
65281         test input.
65282         (llrint_test_data): Test for "inexact" exceptions.
65283         (llrint_test_data) [TEST_FLOAT]: Disable one test.
65284         (llrint_tonearest_test_data): Test for "inexact" exceptions.
65285         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65286         (llrint_towardzero_test_data): Test for "inexact" exceptions.
65287         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65288         (llrint_downward_test_data): Test for "inexact" exceptions.
65289         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65290         (llrint_upward_test_data): Test for "inexact" exceptions.
65291         (logb_test_data): Likewise.
65292         (logb_downward_test_data): Likewise.
65293         (nextafter_test_data): Likewise.
65294         (nexttoward_test_data): Likewise.
65295         (remainder_test_data): Likewise.
65296         (remquo_test_data): Likewise.
65297         (scalbn_test_data): Likewise.
65298         (scalbln_test_data): Likewise.
65299         (signbit_test_data): Likewise.
65300         (sqrt_test_data): Likewise.
65301         (significand_test_data): Likewise.
65303 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65305         [BZ #15424]
65306         * benchtests/bench-modf.c (struct args): Mark arg0 as
65307         volatile.
65308         * scripts/bench.pl: Mark members of struct args as volatile.
65310 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65312         [BZ # 15497]
65313         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
65314         negative infinity on POWER6 or lower.
65315         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
65317 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
65319         [BZ #15442]
65320         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
65321         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
65322         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
65323         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
65324         (_FP_SETQNAN): New macro.
65325         (_FP_SETQNAN_SEMIRAW): Likewise.
65326         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
65327         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
65328         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
65329         (FP_EXTEND): Use _FP_FRAC_SNANP.
65330         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
65331         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
65332         into account.
65333         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65334         New macro.
65335         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65336         Likewise.
65338 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65340         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
65341         with DIVIDE_BY_ZERO_EXCEPTION.
65342         (gamma_test_data): Likewise.
65343         (lgamma_test_data): Likewise.
65344         (log_test_data): Likewise.
65345         (log10_test_data): Likewise.
65346         (log2_test_data): Likewise.
65347         (tgamma_test_data): Likewise.
65349         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
65350         (acos_test_tonearest): Likewise.
65351         (acos_test_towardzero): Likewise.
65352         (acos_test_downward): Likewise.
65353         (acos_test_upward): Likewise.
65354         (acosh_test): Likewise.
65355         (asin_test): Likewise.
65356         (asin_test_tonearest): Likewise.
65357         (asin_test_towardzero): Likewise.
65358         (asin_test_downward): Likewise.
65359         (asin_test_upward): Likewise.
65360         (asinh_test): Likewise.
65361         (atan_test): Likewise.
65362         (atanh_test): Likewise.
65363         (atan2_test): Likewise.
65364         (cabs_test): Likewise.
65365         (cacos_test): Likewise.
65366         (cacosh_test): Likewise.
65367         (casin_test): Likewise.
65368         (casinh_test): Likewise.
65369         (catan_test): Likewise.
65370         (catanh_test): Likewise.
65371         (cbrt_test): Likewise.
65372         (ccos_test): Likewise.
65373         (ccosh_test): Likewise.
65374         (cexp_test): Likewise.
65375         (clog_test): Likewise.
65376         (clog10_test): Likewise.
65377         (cos_test): Likewise.
65378         (cos_test_tonearest): Likewise.
65379         (cos_test_towardzero): Likewise.
65380         (cos_test_downward): Likewise.
65381         (cos_test_upward): Likewise.
65382         (cosh_test): Likewise.
65383         (cosh_test_tonearest): Likewise.
65384         (cosh_test_towardzero): Likewise.
65385         (cosh_test_downward): Likewise.
65386         (cosh_test_upward): Likewise.
65387         (cpow_test): Likewise.
65388         (csin_test): Likewise.
65389         (csinh_test): Likewise.
65390         (csqrt_test): Likewise.
65391         (ctan_test): Likewise.
65392         (ctan_test_tonearest): Likewise.
65393         (ctan_test_towardzero): Likewise.
65394         (ctan_test_downward): Likewise.
65395         (ctan_test_upward): Likewise.
65396         (ctanh_test): Likewise.
65397         (ctanh_test_tonearest): Likewise.
65398         (ctanh_test_towardzero): Likewise.
65399         (ctanh_test_downward): Likewise.
65400         (ctanh_test_upward): Likewise.
65401         (erf_test): Likewise.
65402         (erfc_test): Likewise.
65403         (exp_test): Likewise.
65404         (exp_test_tonearest): Likewise.
65405         (exp_test_towardzero): Likewise.
65406         (exp_test_downward): Likewise.
65407         (exp_test_upward): Likewise.
65408         (exp10_test): Likewise.
65409         (exp2_test): Likewise.
65410         (expm1_test): Likewise.
65411         (fmod_test): Likewise.
65412         (gamma_test): Likewise.
65413         (hypot_test): Likewise.
65414         (j0_test): Likewise.
65415         (j1_test): Likewise.
65416         (jn_test): Likewise.
65417         (lgamma_test): Likewise.
65418         (log_test): Likewise.
65419         (log10_test): Likewise.
65420         (log1p_test): Likewise.
65421         (log2_test): Likewise.
65422         (logb_test_downward): Likewise.
65423         (pow_test): Likewise.
65424         (pow_test_tonearest): Likewise.
65425         (pow_test_towardzero): Likewise.
65426         (pow_test_downward): Likewise.
65427         (pow_test_upward): Likewise.
65428         (remainder_test): Likewise.
65429         (remquo_test): Likewise.
65430         (sin_test): Likewise.
65431         (sin_test_tonearest): Likewise.
65432         (sin_test_towardzero): Likewise.
65433         (sin_test_downward): Likewise.
65434         (sin_test_upward): Likewise.
65435         (sincos_test): Likewise.
65436         (sinh_test): Likewise.
65437         (sinh_test_tonearest): Likewise.
65438         (sinh_test_towardzero): Likewise.
65439         (sinh_test_downward): Likewise.
65440         (sinh_test_upward): Likewise.
65441         (sqrt_test): Likewise.
65442         (tan_test): Likewise.
65443         (tan_test_tonearest): Likewise.
65444         (tan_test_towardzero): Likewise.
65445         (tan_test_downward): Likewise.
65446         (tan_test_upward): Likewise.
65447         (tanh_test): Likewise.
65448         (tgamma_test): Likewise.
65449         (y0_test): Likewise.
65450         (y1_test): Likewise.
65451         (yn_test): Likewise.
65453         * math/gen-libm-test.pl (adjust_arg): Remove function.
65454         (special_function): Remove argument $in_func.  Only handle
65455         generating output for tables of tests, not inside functions.
65456         (parse_args): Likewise.
65457         (generate_testfile): Remove variable $in_func.  Update call to
65458         parse_args.
65459         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
65460         (MINUS_ZERO_INIT): Rename macro to minus_zero.
65461         (PLUS_INFTY_INIT): Rename macro to plus_infty.
65462         (MINUS_INFTY_INIT): Rename macro to minus_infty.
65463         (QNAN_VALUE_INIT): Rename macro to qnan_value.
65464         (MAX_VALUE_INIT): Rename macro to max_value.
65465         (MIN_VALUE_INIT): Rename macro to min_value.
65466         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
65467         (plus_zero): Remove variable.
65468         (minus_zero): Likewise.
65469         (plus_infty): Likewise.
65470         (minus_infty): Likewise.
65471         (qnan_value): Likewise.
65472         (max_value): Likewise.
65473         (min_value): Likewise.
65474         (min_subnorm_value): Likewise.
65476 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65478         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
65479         uint64_t or uint32_t usage.
65480         * crypt/sha256-block.c: Likewise.
65481         * crypt/sha256-crypt.c: Likewise.
65482         * crypt/sha256.c: Likewise.
65483         * crypt/sha512-block.c: Likewise.
65484         * crypt/sha512-crypt.c: Likewise.
65485         * crypt/sha512.c: Likewise.
65486         * debug/backtrace-tst.c: Likewise.
65487         * debug/pcprofiledump.c: Likewise.
65488         * elf/cache.c: Likewise.
65489         * elf/dl-cache.c: Likewise.
65490         * elf/dl-misc.c: Likewise.
65491         * elf/dl-profile.c: Likewise.
65492         * elf/dl-support.c: Likewise.
65493         * elf/ldconfig.c: Likewise.
65494         * elf/sprof.c: Likewise.
65495         * iconv/dummy-repertoire.c: Likewise.
65496         * iconv/iconv_charmap.c: Likewise.
65497         * iconv/skeleton.c: Likewise.
65498         * iconvdata/8bit-generic.c: Likewise.
65499         * iconvdata/cp737.h: Likewise.
65500         * iconvdata/cp775.h: Likewise.
65501         * iconvdata/ibm1008.h: Likewise.
65502         * iconvdata/ibm1025.h: Likewise.
65503         * iconvdata/ibm1046.h: Likewise.
65504         * iconvdata/ibm1097.h: Likewise.
65505         * iconvdata/ibm1112.h: Likewise.
65506         * iconvdata/ibm1122.h: Likewise.
65507         * iconvdata/ibm1123.h: Likewise.
65508         * iconvdata/ibm1124.h: Likewise.
65509         * iconvdata/ibm1129.h: Likewise.
65510         * iconvdata/ibm1130.h: Likewise.
65511         * iconvdata/ibm1132.h: Likewise.
65512         * iconvdata/ibm1133.h: Likewise.
65513         * iconvdata/ibm1137.h: Likewise.
65514         * iconvdata/ibm1140.h: Likewise.
65515         * iconvdata/ibm1141.h: Likewise.
65516         * iconvdata/ibm1142.h: Likewise.
65517         * iconvdata/ibm1143.h: Likewise.
65518         * iconvdata/ibm1144.h: Likewise.
65519         * iconvdata/ibm1145.h: Likewise.
65520         * iconvdata/ibm1146.h: Likewise.
65521         * iconvdata/ibm1147.h: Likewise.
65522         * iconvdata/ibm1148.h: Likewise.
65523         * iconvdata/ibm1149.h: Likewise.
65524         * iconvdata/ibm1153.h: Likewise.
65525         * iconvdata/ibm1154.h: Likewise.
65526         * iconvdata/ibm1155.h: Likewise.
65527         * iconvdata/ibm1156.h: Likewise.
65528         * iconvdata/ibm1157.h: Likewise.
65529         * iconvdata/ibm1158.h: Likewise.
65530         * iconvdata/ibm1160.h: Likewise.
65531         * iconvdata/ibm1161.h: Likewise.
65532         * iconvdata/ibm1162.h: Likewise.
65533         * iconvdata/ibm1163.h: Likewise.
65534         * iconvdata/ibm1164.h: Likewise.
65535         * iconvdata/ibm1166.h: Likewise.
65536         * iconvdata/ibm1167.h: Likewise.
65537         * iconvdata/ibm12712.h: Likewise.
65538         * iconvdata/ibm1390.h: Likewise.
65539         * iconvdata/ibm1399.h: Likewise.
65540         * iconvdata/ibm16804.h: Likewise.
65541         * iconvdata/ibm4517.h: Likewise.
65542         * iconvdata/ibm4899.h: Likewise.
65543         * iconvdata/ibm4909.h: Likewise.
65544         * iconvdata/ibm4971.h: Likewise.
65545         * iconvdata/ibm5347.h: Likewise.
65546         * iconvdata/ibm803.h: Likewise.
65547         * iconvdata/ibm856.h: Likewise.
65548         * iconvdata/ibm901.h: Likewise.
65549         * iconvdata/ibm902.h: Likewise.
65550         * iconvdata/ibm9030.h: Likewise.
65551         * iconvdata/ibm9066.h: Likewise.
65552         * iconvdata/ibm921.h: Likewise.
65553         * iconvdata/ibm922.h: Likewise.
65554         * iconvdata/ibm9448.h: Likewise.
65555         * iconvdata/isiri-3342.h: Likewise.
65556         * iconvdata/jis0201.h: Likewise.
65557         * include/link.h: Likewise.
65558         * include/netdb.h: Likewise.
65559         * inet/check_native.c: Likewise.
65560         * inet/check_pf.c: Likewise.
65561         * inet/getipv4sourcefilter.c: Likewise.
65562         * inet/getnameinfo.c: Likewise.
65563         * inet/getsourcefilter.c: Likewise.
65564         * inet/htonl.c: Likewise.
65565         * inet/setipv4sourcefilter.c: Likewise.
65566         * inet/setsourcefilter.c: Likewise.
65567         * inet/test-inet6_opt.c: Likewise.
65568         * inet/tst-network.c: Likewise.
65569         * locale/C-collate.c: Likewise.
65570         * locale/C-ctype.c: Likewise.
65571         * locale/C-time.c: Likewise.
65572         * locale/C-translit.h: Likewise.
65573         * locale/loadarchive.c: Likewise.
65574         * locale/programs/3level.h: Likewise.
65575         * locale/programs/charmap.c: Likewise.
65576         * locale/programs/charmap.h: Likewise.
65577         * locale/programs/ld-address.c: Likewise.
65578         * locale/programs/ld-collate.c: Likewise.
65579         * locale/programs/ld-ctype.c: Likewise.
65580         * locale/programs/ld-identification.c: Likewise.
65581         * locale/programs/ld-measurement.c: Likewise.
65582         * locale/programs/ld-messages.c: Likewise.
65583         * locale/programs/ld-monetary.c: Likewise.
65584         * locale/programs/ld-name.c: Likewise.
65585         * locale/programs/ld-numeric.c: Likewise.
65586         * locale/programs/ld-paper.c: Likewise.
65587         * locale/programs/ld-telephone.c: Likewise.
65588         * locale/programs/ld-time.c: Likewise.
65589         * locale/programs/linereader.c: Likewise.
65590         * locale/programs/locale.c: Likewise.
65591         * locale/programs/locarchive.c: Likewise.
65592         * locale/programs/locfile.h: Likewise.
65593         * locale/programs/repertoire.c: Likewise.
65594         * locale/programs/simple-hash.c: Likewise.
65595         * locale/programs/simple-hash.h: Likewise.
65596         * malloc/memusage.c: Likewise.
65597         * malloc/memusagestat.c: Likewise.
65598         * nis/nis_defaults.c: Likewise.
65599         * nis/nis_hash.c: Likewise.
65600         * nis/nis_print.c: Likewise.
65601         * nis/nis_xdr.c: Likewise.
65602         * nscd/connections.c: Likewise.
65603         * nscd/hstcache.c: Likewise.
65604         * nscd/nscd_gethst_r.c: Likewise.
65605         * nscd/nscd_getserv_r.c: Likewise.
65606         * nscd/nscd_helper.c: Likewise.
65607         * nscd/servicescache.c: Likewise.
65608         * nss/makedb.c: Likewise.
65609         * nss/nss_db/db-XXX.c: Likewise.
65610         * nss/nss_db/db-initgroups.c: Likewise.
65611         * nss/nss_db/db-netgrp.c: Likewise.
65612         * nss/nss_files/files-network.c: Likewise.
65613         * nss/nss_files/files-parse.c: Likewise.
65614         * posix/bug-regex5.c: Likewise.
65615         * posix/fnmatch_loop.c: Likewise.
65616         * posix/regcomp.c: Likewise.
65617         * posix/regexec.c: Likewise.
65618         * posix/tst-rfc3484-2.c: Likewise.
65619         * posix/tst-rfc3484-3.c: Likewise.
65620         * posix/tst-rfc3484.c: Likewise.
65621         * resolv/nss_dns/dns-canon.c: Likewise.
65622         * resolv/nss_dns/dns-network.c: Likewise.
65623         * resolv/res_init.c: Likewise.
65624         * resolv/res_mkquery.c: Likewise.
65625         * resolv/tst-aton.c: Likewise.
65626         * stdlib/cxa_atexit.c: Likewise.
65627         * stdlib/cxa_finalize.c: Likewise.
65628         * stdlib/gen-fpioconst.c: Likewise.
65629         * stdlib/strtol_l.c: Likewise.
65630         * string/tst-endian.c: Likewise.
65631         * sunrpc/auth_des.c: Likewise.
65632         * sunrpc/clnt_udp.c: Likewise.
65633         * sunrpc/rtime.c: Likewise.
65634         * sunrpc/svcauth_des.c: Likewise.
65635         * sunrpc/xdr.c: Likewise.
65636         * sunrpc/xdr_intXX_t.c: Likewise.
65637         * sunrpc/xdr_rec.c: Likewise.
65638         * sysdeps/generic/ldconfig.h: Likewise.
65639         * sysdeps/generic/ldsodefs.h: Likewise.
65640         * sysdeps/generic/memusage.h: Likewise.
65641         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65642         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
65643         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
65644         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65645         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65646         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65647         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65648         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65649         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65650         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65651         * sysdeps/posix/getaddrinfo.c: Likewise.
65652         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65653         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65654         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65655         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65656         * sysdeps/powerpc/test-gettimebase.c: Likewise.
65657         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
65658         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
65659         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
65660         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
65661         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
65662         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65663         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65664         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
65665         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
65666         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
65667         * sysdeps/x86_64/dl-tls.h: Likewise.
65668         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
65669         * time/alt_digit.c: Likewise.
65670         * time/era.c: Likewise.
65671         * wcsmbs/tst-c16c32-1.c: Likewise.
65673 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65675         * math/libm-test.inc (struct test_sincos_data): New type.
65676         (RUN_TEST_LOOP_sincos): New macro.
65677         (sincos_test_data): New variable.
65678         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
65680 2013-05-16  Richard Henderson  <rth@redhat.com>
65682         * math/atest-exp2.c (LIMB64): New macro.
65683         (CONSTSZ): New macro.
65684         (mp_exp1, mp_exp_m1, mp_log2): New variables.
65685         (hexdig): Move ...
65686         (print_mpn_fp): ... to function scope.
65687         (read_mpn_hex): Remove.
65688         (get_log2): Remove.
65689         (exp2_mpn): Use mp_log2.
65690         (main): Use mp_exp1.
65692 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65694         * math/libm-test.inc: Remove comment about not testing "inexact"
65695         exceptions.
65696         (INEXACT_EXCEPTION): New macro.
65697         (NO_INEXACT_EXCEPTION): Likewise.
65698         (INVALID_EXCEPTION_OK): Update value.
65699         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65700         (OVERFLOW_EXCEPTION_OK): Likewise.
65701         (UNDERFLOW_EXCEPTION_OK): Likewise.
65702         (IGNORE_ZERO_INF_SIGN): Likewise.
65703         (ERRNO_UNCHANGED): Likewise.
65704         (ERRNO_EDOM): Likewise.
65705         (ERRNO_ERANGE): Likewise.
65706         (test_exceptions): Handle testing "inexact" exceptions.
65707         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
65708         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
65709         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
65710         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
65711         INEXACT_EXCEPTION.
65712         (rint_towardzero_test_data): Likewise.
65713         (rint_downward_test_data): Likewise.
65714         (rint_upward_test_data): Likewise.
65716         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
65717         with OVERFLOW_EXCEPTION.
65718         (exp10_test_data): Likewise.
65719         (exp2_test_data): Likewise.
65720         (expm1_test_data): Likewise.
65721         (lgamma_test_data): Likewise.
65722         (pow_test_data): Likewise.
65723         (tgamma_test_data): Likewise.
65724         (yn_test_data): Remove duplicate test of overflow.
65726         * math/libm-test.inc (struct test_cc_c_data): New type.
65727         (RUN_TEST_LOOP_cc_c): New macro.
65728         (cpow_test_data): New variable.
65729         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
65731         * math/libm-test.inc (struct test_f_L_data): New type.
65732         (RUN_TEST_LOOP_f_L): New macro.
65733         (llrint_test_data): New variable.
65734         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
65735         (llrint_tonearest_test_data): New variable.
65736         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
65737         (llrint_towardzero_test_data): New variable.
65738         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
65739         (llrint_downward_test_data): New variable.
65740         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
65741         (llrint_upward_test_data): New variable.
65742         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
65743         (llround_test_data): New variable.
65744         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
65746 2013-05-13  Peter Collingbourne  <pcc@google.com>
65748         * math/atest-exp2.c (get_log2): Remove const attribute.
65750 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65752         * math/libm-test.inc (struct test_f_l_data): New type.
65753         (RUN_TEST_LOOP_f_l): New macro.
65754         (lrint_test_data): New variable.
65755         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
65756         (lrint_tonearest_test_data): New variable.
65757         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
65758         (lrint_towardzero_test_data): New variable.
65759         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
65760         (lrint_downward_test_data): New variable.
65761         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
65762         (lrint_upward_test_data): New variable.
65763         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
65764         (lround_test_data): New variable.
65765         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
65767 2013-05-15  Peter Collingbourne  <pcc@google.com>
65769         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
65770         (EXTRACT_WORDS64) Use where appropriate.
65771         (INSERT_WORDS64) Likewise.
65773         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
65774         constraints with x constraints.
65775         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
65777         * malloc/obstack.c (_obstack_compat): Add initializer.
65779 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
65781         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
65782         si_trapno and add si_addr_lsb to _sifields.sigfault.
65783         (si_trapno): Remove macro.
65784         (si_addr_lsb): Define new macro.
65785         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65787 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65789         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
65790         instead of TEST_f_l.
65791         (llrint_test_tonearest): Likewise.
65792         (llrint_test_towardzero): Likewise.
65793         (llrint_test_downward): Likewise.
65794         (llrint_test_upward): Likewise.
65795         (llround_test): Likewise.
65797         * math/libm-test.inc (struct test_f_i_data): Add comment.
65798         (RUN_TEST_LOOP_f_b): New macro.
65799         (RUN_TEST_LOOP_f_b_tg): Likewise.
65800         (finite_test_data): New variable.
65801         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
65802         (isfinite_test_data): New variable.
65803         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65804         (isinf_test_data): New variable.
65805         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65806         (isnan_test_data): New variable.
65807         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65808         (isnormal_test_data): New variable.
65809         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65810         (issignaling_test_data): New variable.
65811         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65812         (signbit_test_data): New variable.
65813         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65815         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
65816         with INVALID_EXCEPTION.
65817         (acosh_test_data): Likewise.
65818         (asin_test_data): Likewise.
65819         (atanh_test_data): Likewise.
65820         (fmod_test_data): Likewise.
65821         (log_test_data): Likewise.
65822         (log10_test_data): Likewise.
65823         (log2_test_data): Likewise.
65824         (pow_test_data): Likewise.
65825         (sqrt_test_data): Likewise.
65826         (y0_test_data): Likewise.
65827         (y1_test_data): Likewise.
65828         (yn_test_data): Likewise.
65830         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
65831         function contents.
65833         * math/libm-test.inc (struct test_ff_i_data): New type.
65834         (RUN_TEST_LOOP_ff_i_tg): New macro.
65835         (isgreater_test_data): New variable.
65836         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65837         (isgreaterequal_test_data): New variable.
65838         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65839         (isless_test_data): New variable.
65840         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65841         (islessequal_test_data): New variable.
65842         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65843         (islessgreater_test_data): New variable.
65844         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65845         (isunordered_test_data): New variable.
65846         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65848 2013-05-14  David S. Miller  <davem@davemloft.net>
65850         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65852 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
65854         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
65856         * math/libm-test.inc (struct test_fF_f1_data): Change type of
65857         extra_test to int.
65858         (struct test_f_i_data): Change type of max_ulp to int.
65860         * math/libm-test.inc (test_ffI_f1_data): New type.
65861         (RUN_TEST_LOOP_ffI_f1): New macro.
65862         (remquo_test_data): New variable.
65863         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
65865         * setjmp/tst-setjmp-fp.c: New file.
65866         * setjmp/Makefile (tests): Add tst-setjmp-fp.
65867         (link-libm): New variable.
65868         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
65870         * math/libm-test.inc (struct test_f_i_data): New type.
65871         (RUN_TEST_LOOP_f_i): New macro.
65872         (RUN_TEST_LOOP_f_i_tg): Likewise.
65873         (fpclassify_test_data): New variable.
65874         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
65875         (ilogb_test_data): New variable.
65876         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
65878         * math/libm-test.inc (scalbln_test): Correct function name in END
65879         call.
65881         * math/libm-test.inc (struct test_f_f1_data): Add comment.
65882         (RUN_TEST_LOOP_fI_f1): New macro.
65883         (frexp_test_data): New variable.
65884         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
65886         * math/libm-test.inc (struct test_fF_f1_data): New type.
65887         (RUN_TEST_LOOP_fF_f1): New macro.
65888         (modf_test_data): New variable.
65889         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
65891         * math/libm-test.inc (struct test_f_f1_data): New type.
65892         (RUN_TEST_LOOP_f_f1): New macro.
65893         (gamma_test_data): New variable.
65894         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65895         (lgamma_test_data): New variable.
65896         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65898 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
65900         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
65901         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
65902         (main): Comment "tls" pseudo-hwcap.
65904 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
65906         * math/libm-test.inc (struct test_fl_f_data): New type.
65907         (RUN_TEST_LOOP_fl_f): New variable.
65908         (scalbln_test_data): New variable.
65909         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
65911         * math/libm-test.inc (struct test_fi_f_data): New type.
65912         (RUN_TEST_LOOP_fi_f): New macro.
65913         (ldexp_test_data): New variable.
65914         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
65915         (scalbn_test_data): New variable.
65916         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
65918         * math/libm-test.inc (struct test_c_f_data): New type.
65919         (RUN_TEST_LOOP_c_f): New macro.
65920         (cabs_test_data): New variable.
65921         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
65922         (carg_test_data): New variable.
65923         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
65924         (cimag_test_data): New variable.
65925         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
65926         (creal_test_data): New variable.
65927         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
65929         * math/libm-test.inc (struct test_if_f_data): New type.
65930         (RUN_TEST_LOOP_if_f): New macro.
65931         (jn_test_data): New variable.
65932         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
65933         (yn_test_data): New variable.
65934         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
65936         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
65938 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65940         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
65941         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
65943 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65945         * benchtests/Makefile (CPPFLAGS-nonlib): Add
65946         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
65947         (bench-deps): Add bench-timing.h.
65948         * benchtests-bench-skeleton.c: Include bench-timing.h.
65949         (main): Use TIMING_* macros instead of clock_gettime.
65950         * benchtests/bench-timing.h: New file.
65952         [BZ #14582]
65953         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
65954         Renamed from _LIB_VERSION.
65955         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
65957 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
65959         * math/libm-test.inc (struct test_fff_f_data): New type.
65960         (RUN_TEST_LOOP_fff_f): New macro.
65961         (fma_test_data): New variable.
65962         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
65963         (fma_towardzero_test_data): New variable.
65964         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
65965         (fma_downward_test_data): New variable.
65966         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
65967         (fma_upward_test_data): New variable.
65968         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
65970         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
65971         (struct test_c_c_data): New type.
65972         (RUN_TEST_LOOP_c_c): New macro.
65973         (cacos_test_data): New variable.
65974         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
65975         (cacosh_test_data): New variable.
65976         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
65977         (casin_test_data): New variable.
65978         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
65979         (casinh_test_data): New variable.
65980         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
65981         (catan_test_data): New variable.
65982         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
65983         (catanh_test_data): New variable.
65984         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
65985         (ccos_test_data): New variable.
65986         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
65987         (ccosh_test_data): New variable.
65988         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
65989         (cexp_test_data): New variable.
65990         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
65991         (clog_test_data): New variable.
65992         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
65993         (clog10_test_data): New variable.
65994         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
65995         (conj_test_data): New variable.
65996         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
65997         (cproj_test_data): New variable.
65998         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
65999         (csin_test_data): New variable.
66000         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
66001         (csinh_test_data): New variable.
66002         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
66003         (csqrt_test_data): New variable.
66004         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
66005         (ctan_test_data): New variable.
66006         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
66007         (ctan_tonearest_test_data): New variable.
66008         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66009         (ctan_towardzero_test_data): New variable.
66010         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66011         (ctan_downward_test_data): New variable.
66012         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66013         (ctan_upward_test_data): New variable.
66014         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66015         (ctanh_test_data): New variable.
66016         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
66017         (ctanh_tonearest_test_data): New variable.
66018         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66019         (ctanh_towardzero_test_data): New variable.
66020         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66021         (ctanh_downward_test_data): New variable.
66022         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66023         (ctanh_upward_test_data): New variable.
66024         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66025         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
66026         of BUILD_COMPLEX.
66028         * math/libm-test.inc (struct test_ff_f_data): New type.
66029         (struct test_ff_f_data_nexttoward): Likewise.
66030         (RUN_TEST_LOOP_2_f): New macro.
66031         (RUN_TEST_LOOP_ff_f): Likewise.
66032         (atan2_test_data): New variable.
66033         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
66034         (copysign_test_data): New variable.
66035         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
66036         (fdim_test_data): New variable.
66037         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
66038         (fmax_test_data): New variable.
66039         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
66040         (fmin_test_data): New variable.
66041         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
66042         (fmod_test_data): New variable.
66043         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
66044         (hypot_test_data): New variable.
66045         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
66046         (nextafter_test_data): New variable.
66047         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
66048         (nexttoward_test_data): New variable.
66049         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
66050         (pow_test_data): New variable.
66051         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
66052         (pow_tonearest_test_data): New variable.
66053         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
66054         (pow_towardzero_test_data): New variable.
66055         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
66056         (pow_downward_test_data): New variable.
66057         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
66058         (pow_upward_test_data): New variable.
66059         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
66060         (remainder_test_data): New variable.
66061         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
66062         (scalb_test_data): New variable.
66063         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
66064         * sysdeps/i386/fpu/libm-test-ulps: Update.
66066 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
66068         * math/libm-test.inc (fma_test): Use max_value instead of local
66069         variable fltmax.
66070         (nextafter_test): Likewise.
66072         * math/libm-test.inc (acos_towardzero_test_data): New variable.
66073         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66074         (acos_downward_test_data): New variable.
66075         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66076         (acos_upward_test_data): New variable.
66077         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66078         (acosh_test_data): New variable.
66079         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
66080         (asin_test_data): New variable.
66081         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
66082         (asin_tonearest_test_data): New variable.
66083         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66084         (asin_towardzero_test_data): New variable.
66085         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66086         (asin_downward_test_data): New variable.
66087         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66088         (asin_upward_test_data): New variable.
66089         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66090         (asinh_test_data): New variable.
66091         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
66092         (atan_test_data): New variable.
66093         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
66094         (atanh_test_data): New variable.
66095         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
66096         (cbrt_test_data): New variable.
66097         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
66098         (ceil_test_data): New variable.
66099         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
66100         (cos_test_data): New variable.
66101         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
66102         (cos_tonearest_test_data): New variable.
66103         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66104         (cos_towardzero_test_data): New variable.
66105         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66106         (cos_downward_test_data): New variable.
66107         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66108         (cos_upward_test_data): New variable.
66109         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66110         (cosh_test_data): New variable.
66111         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
66112         (cosh_tonearest_test_data): New variable.
66113         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66114         (cosh_towardzero_test_data): New variable.
66115         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66116         (cosh_downward_test_data): New variable.
66117         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66118         (cosh_upward_test_data): New variable.
66119         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66120         (erf_test_data): New variable.
66121         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
66122         (erfc_test_data): New variable.
66123         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
66124         (exp_test_data): New variable.
66125         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
66126         (exp_tonearest_test_data): New variable.
66127         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66128         (exp_towardzero_test_data): New variable.
66129         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66130         (exp_downward_test_data): New variable.
66131         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66132         (exp_upward_test_data): New variable.
66133         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66134         (exp10_test_data): New variable.
66135         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
66136         (exp2_test_data): New variable.
66137         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
66138         (expm1_test_data): New variable.
66139         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
66140         (fabs_test_data): New variable.
66141         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
66142         (floor_test_data): New variable.
66143         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
66144         (j0_test_data): New variable.
66145         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
66146         (j1_test_data): New variable.
66147         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
66148         (log_test_data): New variable.
66149         (log_test): Run tests with RUN_TEST_LOOP_f_f.
66150         (log10_test_data): New variable.
66151         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
66152         (log1p_test_data): New variable.
66153         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
66154         (log2_test_data): New variable.
66155         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
66156         (logb_test_data): New variable.
66157         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
66158         (logb_downward_test_data): New variable.
66159         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66160         (nearbyint_test_data): New variable.
66161         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
66162         (rint_test_data): New variable.
66163         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
66164         (rint_tonearest_test_data): New variable.
66165         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66166         (rint_towardzero_test_data): New variable.
66167         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66168         (rint_downward_test_data): New variable.
66169         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66170         (rint_upward_test_data): New variable.
66171         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66172         (round_test_data): New variable.
66173         (round_test): Run tests with RUN_TEST_LOOP_f_f.
66174         (sin_test_data): New variable.
66175         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
66176         (sin_tonearest_test_data): New variable.
66177         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66178         (sin_towardzero_test_data): New variable.
66179         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66180         (sin_downward_test_data): New variable.
66181         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66182         (sin_upward_test_data): New variable.
66183         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66184         (sinh_test_data): New variable.
66185         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
66186         (sinh_tonearest_test_data): New variable.
66187         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66188         (sinh_towardzero_test_data): New variable.
66189         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66190         (sinh_downward_test_data): New variable.
66191         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66192         (sinh_upward_test_data): New variable.
66193         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66194         (sqrt_test_data): New variable.
66195         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
66196         (tan_test_data): New variable.
66197         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
66198         (tan_tonearest_test_data): New variable.
66199         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66200         (tan_towardzero_test_data): New variable.
66201         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66202         (tan_downward_test_data): New variable.
66203         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66204         (tan_upward_test_data): New variable.
66205         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66206         (tanh_test_data): New variable.
66207         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
66208         (tgamma_test_data): New variable.
66209         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
66210         (trunc_test_data): New variable.
66211         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
66212         (y0_test_data): New variable.
66213         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
66214         (y1_test_data): New variable.
66215         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
66216         (significand_test_data): New variable.
66217         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
66219 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
66221         [BZ #12387]
66222         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
66224 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66226         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
66228 2013-05-10  Andreas Jaeger  <aj@suse.de>
66230         [BZ #15448]
66231         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
66232         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
66234 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
66236         * math/gen-libm-test.pl (adjust_arg): New function.
66237         (special_functions): Handle generating output in both functions
66238         and arrays.
66239         (parse_args): Likewise.
66240         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
66241         $in_func argument to parse_args.
66242         * math/libm-test.inc (struct test_f_f_data): New type.
66243         (IF_ROUND_INIT_): New macro.
66244         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
66245         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
66246         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
66247         (IF_ROUND_INIT_FE_UPWARD): Likewise.
66248         (ROUND_RESTORE_): Likewise.
66249         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
66250         (ROUND_RESTORE_FE_TONEAREST): Likewise.
66251         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
66252         (ROUND_RESTORE_FE_UPWARD): Likewise.
66253         (RUN_TEST_LOOP_f_f): New macro.
66254         (acos_test_data): New variable.
66255         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
66256         (acos_tonearest_test_data): New variable.
66257         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66259 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66261         * benchtests/bench-skeleton.c (startup): Fix coding style.
66263 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
66265         [BZ #6809]
66266         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
66267         negative infinity argument.
66268         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
66269         negative infinity argument.
66270         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
66271         negative infinity argument.
66272         * math/libm-test.inc (tgamma_test): Expect errno to be set for
66273         domain errors.
66275 2013-05-10  Florian Weimer  <fweimer@redhat.com>
66277         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
66278         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
66279         * iconv/iconv_prog.c (main): Likewise.
66280         * locale/programs/charmap-dir.c (charmap_readdir)
66281         (fopen_uncompressed): Likewise.
66282         * locale/programs/locfile.c (siblings_uncached)
66283         (write_locale_data): Use lstat64 instead of lstat.
66284         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
66285         stat.
66287 2013-05-10  Andreas Jaeger  <aj@suse.de>
66289         [BZ #15395]
66290         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
66291         localization.
66292         Include <locale.h>.
66294 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
66296         * elf/dl-close.c (_dl_close_worker): Add comments.
66298 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
66300         [BZ #15359]
66301         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
66302         high part of pi/2.
66303         (__ieee754_rem_pio2l): Update comments.
66305         [BZ #15429]
66306         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
66307         high part of pi/2.
66308         (__ieee754_rem_pio2l): Update comments.
66310         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
66311         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
66313         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
66314         M_PI_4l.
66316         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
66317         (M_PI_34_LOG10El): Likewise.
66318         (M_PI2_LOG10El): Likewise.
66319         (M_PI4_LOG10El): Likewise.
66320         (M_PI_LOG10El): Likewise.
66322 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66326 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
66328         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
66329         (MINUS_ZERO_INIT): Likewise.
66330         (PLUS_INFTY_INIT): Likewise.
66331         (MINUS_INFTY_INIT): Likewise.
66332         (QNAN_VALUE_INIT): Likewise.
66333         (MAX_VALUE_INIT): Likewise.
66334         (MIN_VALUE_INIT): Likewise.
66335         (MIN_SUBNORM_VALUE_INIT): Likewise.
66336         (plus_zero): Initialize with PLUS_ZERO_INIT.
66337         (minus_zero): Initialize with MINUS_ZERO_INIT.
66338         (plus_infty): Initialize with PLUS_INFTY_INIT.
66339         (minus_infty): Initialize with MINUS_INFTY_INIT.
66340         (qnan_value): Initialize with QNAN_VALUE_INIT.
66341         (max_value): Initialize with MAX_VALUE_INIT.
66342         (min_value): Initialize with MIN_VALUE_INIT.
66343         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
66345         * math/libm-test.inc (RUN_TEST_if_f): New macro.
66346         (jn_test): Use TEST_if_f instead of TEST_ff_f.
66347         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
66348         (yn_test): Use TEST_if_f instead of TEST_ff_f.
66350         * math/libm-test.inc (RUN_TEST_f_f): New macro.
66351         (RUN_TEST_2_f): Likewise.
66352         (RUN_TEST_ff_f): Likewise.
66353         (RUN_TEST_fi_f): Likewise.
66354         (RUN_TEST_fl_f): Likewise.
66355         (RUN_TEST_fff_f): Likewise.
66356         (RUN_TEST_c_f): Likewise.
66357         (RUN_TEST_f_f1): Likewise.
66358         (RUN_TEST_fF_f1): Likewise.
66359         (RUN_TEST_fI_f1): Likewise.
66360         (RUN_TEST_ffI_f1): Likewise.
66361         (RUN_TEST_c_c): Likewise.
66362         (RUN_TEST_cc_c): Likewise.
66363         (RUN_TEST_f_i): Likewise.
66364         (RUN_TEST_f_i_tg): Likewise.
66365         (RUN_TEST_ff_i_tg): Likewise.
66366         (RUN_TEST_f_b): Likewise.
66367         (RUN_TEST_f_b_tg): Likewise.
66368         (RUN_TEST_f_l): Likewise.
66369         (RUN_TEST_f_L): Likewise.
66370         (RUN_TEST_sincos): Likewise.
66371         * math/gen-libm-test.pl (new_test): Take new argument to indicate
66372         whether to show exceptions.  Do not include ");\n" in return
66373         value.
66374         (special_functions): Output call to RUN_TEST_sincos instead of
66375         check_float calls.  Update calls to new_test.
66376         (parse_args): Output call to single RUN_TEST_* macro instead of
66377         check_* calls and other assignments.  Update calls to new_test.
66379         [BZ #2546]
66380         [BZ #2560]
66381         [BZ #5159]
66382         [BZ #15426]
66383         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
66384         input to result for tgamma overflow.
66385         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
66386         (gamma_coeff): New variable.
66387         (NCOEFF): New macro.
66388         (gamma_positive): New function.
66389         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
66390         underflow here.  Use gamma_positive instead of exp (lgamma) for
66391         other arguments.
66392         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
66393         (gamma_coeff): New variable.
66394         (NCOEFF): New macro.
66395         (gammaf_positive): New function.
66396         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
66397         underflow here.  Use gamma_positive instead of exp (lgamma) for
66398         other arguments.
66399         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
66400         (gamma_coeff): New variable.
66401         (NCOEFF): New macro.
66402         (gammal_positive): New function.
66403         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
66404         underflow here.  Use gamma_positive instead of exp (lgamma) for
66405         other arguments.
66406         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
66407         (gamma_coeff): New variable.
66408         (NCOEFF): New macro.
66409         (gammal_positive): New function.
66410         (__ieee754_gammal_r): Handle positive infinity, overflow and
66411         underflow here.  Handle NaN the same as positive infinity.  Remove
66412         check x < 0xffffffff for negative integers.  Use gamma_positive
66413         instead of exp (lgamma) for other arguments.
66414         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
66415         (gamma_coeff): New variable.
66416         (NCOEFF): New macro.
66417         (gammal_positive): New function.
66418         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
66419         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
66420         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
66421         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
66422         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
66423         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
66424         * sysdeps/generic/math_private.h (__gamma_productf): New
66425         prototype.
66426         (__gamma_product): Likewise.
66427         (__gamma_productl): Likewise.
66428         * math/Makefile (libm-calls): Add gamma_product.
66429         * math/libm-test.inc (tgamma_test): Add more tests.
66430         * sysdeps/i386/fpu/libm-test-ulps: Update.
66431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66433 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
66435         * benchtests/bench-skeleton.c (main): Preheat CPU.
66437 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
66439         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
66441 2013-05-07  Roland McGrath  <roland@hack.frob.com>
66443         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
66444         and _dl_skip_args_internal.
66446 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
66448         * manual/message.texi (Message Translation): Talk about users.
66449         Message to key mapping impacts design.
66451 2013-05-06  Roland McGrath  <roland@hack.frob.com>
66453         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
66455         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
66457         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
66458         * sysdeps/wordsize-64/glob64.c: ... here.
66460         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
66461         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
66462         New macros.
66464         * debug/getlogin_r_chk.c: Moved to ...
66465         * login/getlogin_r_chk.c: ... here.
66466         * debug/Makefile (routines): Move getlogin_r_chk to ...
66467         * login/Makefile (routines): ... here.
66468         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
66469         * login/Versions (libc: GLIBC_2.4): ... here.
66471         * io/poll.c (__poll): Renamed from poll.
66472         Add libc_hidden_def.
66473         (poll): Define as weak alias.
66475         * debug/ptsname_r_chk.c: Moved to ...
66476         * login/ptsname_r_chk.c: ... here.
66477         * debug/Makefile (routines): Move ptsname_r_chk to ...
66478         * login/Makefile (routines): ... here.
66479         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
66480         * login/Versions (libc: GLIBC_2.4): ... here.
66482         * posix/getlogin.c: Moved to ...
66483         * login/getlogin.c: ... here.
66484         * posix/getlogin_r.c: Moved to ...
66485         * login/getlogin_r.c: ... here.
66486         * posix/getlogin_r.c: Moved to ...
66487         * login/getlogin_r.c: ... here.
66488         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
66489         * login/Makefile (routines): ... here.
66490         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
66491         * login/Versions (libc: GLIBC_2.0): ... here.
66493         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
66494         (setrlimit): Define as weak alias.
66496         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
66497         Call __ names for open, ftruncate, and close.
66498         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
66499         (truncate): Define as weak alias.
66501 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
66503         * math/gen-libm-test.pl (parse_args): Initialize x before each
66504         test of frexp, modf and remquo.
66506         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
66507         test signgam value.
66509 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66511         [BZ #15418]
66512         [BZ #15419]
66513         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
66514         internal tests.
66515         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66517 2013-05-06  Roland McGrath  <roland@hack.frob.com>
66519         * elf/dl-writev.h: New file.
66520         * elf/dl-misc.c: Include it.
66521         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
66522         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
66524 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
66526         * math/libm-test.inc (noXFails): Remove variable.
66527         (noXPasses): Likewise.
66528         (BUILD_COMPLEX_INT): Remove macro.
66529         (print_screen): Remove xfail argument.
66530         (print_screen_max_error): Likewise.
66531         (update_stats): Likewise.
66532         (print_max_error): Likewise.  Update calls to other affected
66533         functions.
66534         (print_complex_max_error): Likewise.
66535         (test_single_exception): Update calls to print_screen.
66536         (test_single_errno): Likewise.
66537         (check_float_internal): Remove xfail argument.  Update calls to
66538         other affected functions.
66539         (check_float): Likewise.
66540         (check_complex): Likewise.
66541         (check_int): Likewise.
66542         (check_long): Likewise.
66543         (check_bool): Likewise.
66544         (check_longlong): Likewise.
66545         (main): Don't print noXFails and noXPasses.
66546         * math/gen-libm-test.pl (top level): Don't mention expected
66547         failure handling in comment.
66548         (new_test): Don't handle expected failures.
66549         (parse_args): Don't mention expected failure handling in comment.
66550         (generate_testfile): Don't handle expected failures.
66551         (parse_ulps): Likewise.
66552         (print_ulps_file): Likewise.
66553         (get_failure): Remove function.
66554         (output_test): Don't handle expected failures.
66555         * make/README.libm-test: Don't mention expected failure handling.
66557         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
66558         (minus_zero): Likewise.
66559         (plus_infty): Likewise.
66560         (minus_infty): Likewise.
66561         (qnan_value): Likewise.
66562         (max_value): Likewise.
66563         (min_value): Likewise.
66564         (min_subnorm_value): Likewise.
66565         (initialize): Do not initialize those variables dynamically.
66567 2013-05-03  Roland McGrath  <roland@hack.frob.com>
66569         * io/open.c (__open_2): Moved to ...
66570         * io/open_2.c: ... this new file.
66571         * io/open64.c (__open64_2): Moved to ...
66572         * io/open64_2.c: ... this new file.
66573         * io/openat.c (__openat_2): Moved to ...
66574         * io/openat_2.c: ... this new file.
66575         * io/openat64.c (__openat64_2): Moved to ...
66576         * io/openat64_2.c: ... this new file.
66577         * io/Makefile (routines): Add them.
66578         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
66579         * sysdeps/unix/sysv/linux/open_2.c: File removed.
66580         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
66581         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
66582         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
66583         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
66584         (__openat64): Add hidden_ver.
66585         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
66586         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
66588         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
66589         Separately conditionalize setting of GLRO(dl_sysinfo) so
66590         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
66591         as well, but the actual setting is only under [NEED_DL_SYSINFO].
66593 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66595         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
66596         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
66597         definition.
66598         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
66599         * sysdeps/unix/sysv/linux/powerpc/init-first.c
66600         (_libc_vdso_platform_setup): Add __vdso_time initialization.
66601         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
66602         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
66604 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
66606         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
66607         test signgam value.
66609         * math/libm-test.inc (hypot_test): Do not use
66610         IGNORE_ZERO_INF_SIGN.
66612 2013-05-03  Andreas Jaeger  <aj@suse.de>
66614         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
66615         Linux 3.9.
66616         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
66617         (PF_MAX): Adjust for VSOCK change.
66619 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66623 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
66625         [BZ #15264]
66626         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
66627         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
66628         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
66630 2013-05-02  David S. Miller  <davem@davemloft.net>
66632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66634 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
66636         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
66638 2013-05-01  Roland McGrath  <roland@hack.frob.com>
66640         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
66642 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
66644         [BZ #14952]
66645         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
66646         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66647         Use __attribute__ ((__gnu_inline__)).
66648         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66649         Don't use __attribute__ ((__gnu_inline__)).
66651 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
66653         [BZ #15423]
66654         * math/s_catan.c (__catan): Handle small real or imaginary part of
66655         input specially to avoid spurious underflow.
66656         * math/s_catanf.c (__catanf): Likewise.
66657         * math/s_catanh.c (__catanh): Likewise.
66658         * math/s_catanhf.c (__catanhf): Likewise.
66659         * math/s_catanhl.c (__catanhl): Likewise.
66660         * math/s_catanl.c (__catanl): Likewise.
66661         * math/libm-test.inc (catan_test): Add more tests.
66662         (catanh_test): Likewise.
66663         * sysdeps/i386/fpu/libm-test-ulps: Update.
66664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66666 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66670 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
66672         [BZ #15416]
66673         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
66674         accurately for denominator in atan2.
66675         * math/s_catanf.c (__catanf): Likewise.
66676         * math/s_catanh.c (__catanh): Likewise.
66677         * math/s_catanhf.c (__catanhf): Likewise.
66678         * math/s_catanhl.c (__catanhl): Likewise.
66679         * math/s_catanl.c (__catanl): Likewise.
66680         * math/libm-test.inc (catan_test): Add more tests.
66681         (catanh_test): Likewise.
66682         * sysdeps/i386/fpu/libm-test-ulps: Update.
66683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66685 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66687         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
66689         * benchtests/Makefile (bench): Remove slow benchmarks.
66690         * benchtests/atan-inputs: Add slow benchmark inputs.
66691         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
66692         (BENCH_FUNC): Accept variant offset.
66693         (VARIANT): Define.
66694         * benchtests/bench-skeleton.c (main): Run benchmark for each
66695         variant.
66696         * benchtests/cos-inputs: Add slow benchmark inputs.
66697         * benchtests/exp-inputs: Likewise.
66698         * benchtests/pow-inputs: Likewise.
66699         * benchtests/sin-inputs: Likewise.
66700         * benchtests/slowatan-inputs: Remove.
66701         * benchtests/slowatan.c: Remove.
66702         * benchtests/slowcos-inputs: Remove.
66703         * benchtests/slowcos.c: Remove.
66704         * benchtests/slowexp-inputs: Remove.
66705         * benchtests/slowexp.c: Remove.
66706         * benchtests/slowpow-inputs: Remove.
66707         * benchtests/slowpow.c: Remove.
66708         * benchtests/slowsin-inputs: Remove.
66709         * benchtests/slowsin.c: Remove.
66710         * benchtests/slowtan-inputs: Remove.
66711         * benchtests/slowtan.c: Remove.
66712         * benchtests/tan-inputs: Add slow benchmark inputs.
66713         * scripts/bench.pl: Parse comments and directives.
66715         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
66716         in CPPFLAGS.
66717         ($(objpfx)bench-%.c): Remove *-ITER.
66718         * benchtests/bench-modf.c: Remove definition of ITER.
66719         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
66720         (main): Loop for DURATION seconds instead of fixed number of
66721         iterations.
66722         * scripts/bench.pl: Don't expect iterations in parameters.
66724 2013-04-29  Roland McGrath  <roland@hack.frob.com>
66726         * io/fchdir.c (__fchdir): Renamed from fchdir.
66727         (fchdir): Define as weak alias.
66729 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66731         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
66732         (ERRNO_EDOM): Likewise.
66733         (ERRNO_ERANGE): Likewise.
66734         (noErrnoTests): New variable.
66735         (init_max_error): Set errno to 0.
66736         (test_single_errno): New function.
66737         (test_errno): Likewise.
66738         (check_float_internal): Call test_errno.  Set errno to 0.
66739         (check_complex): Refer to errno tests in comment.
66740         (check_int): Call test_errno.  Set errno to 0.
66741         (check_long): Likewise.
66742         (check_bool): Likewise.
66743         (check_longlong): Likewise.
66744         (cos_test): Use ERRNO_* flags for errno tests instead of
66745         check_int.
66746         (expm1_test): Likewise.
66747         (fmod_test): Likewise.
66748         (ilogb_test): Likewise.
66749         (lgamma_test): Likewise.
66750         (pow_test): Likewise.
66751         (remainder_test): Likewise.
66752         (sin_test): Likewise.
66753         (tan_test): Likewise.
66754         (yn_test): Likewise.
66755         (initialize): Set errno to 0.
66756         (main): Print number of errno tests.
66757         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
66759 2013-04-29  Andreas Jaeger  <aj@suse.de>
66761         [BZ #15084]
66762         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
66763         and RES_USEVC.
66765         [BZ #15085]
66766         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
66767         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
66768         unimplemented.
66770         [BZ #15380]
66771         * stdlib/random.c (__initstate): Return NULL if
66772         __initstate fails.
66774         [BZ #15086]
66775         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
66776         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
66777         RES_SNGLKUPREOP.
66779 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66783 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66785         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
66786         of individual tests.
66787         (casin_test): Likewise.
66788         (casinh_test): Likewise.
66790 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
66792         [BZ #15409]
66793         * math/s_catan.c (__catan): Handle arguments with large real or
66794         imaginary part separately without squaring.
66795         * math/s_catanf.c (__catanf): Likewise.
66796         * math/s_catanh.c (__catanh): Likewise.
66797         * math/s_catanhf.c (__catanhf): Likewise.
66798         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66799         and redefine.
66800         (__catanhl): Handle arguments with large real or imaginary part
66801         separately without squaring.
66802         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66803         and redefine.
66804         (__catanl): Handle arguments with large real or imaginary part
66805         separately without squaring.
66806         * math/libm-test.inc (catan_test): Add more tests.
66807         (catanh_test): Likewise.
66808         * sysdeps/i386/fpu/libm-test-ulps: Update.
66809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66811 2013-04-27  Andreas Jaeger  <aj@suse.de>
66813         [BZ #15007]
66814         * stdlib/stdlib.h: Update guards for qecvt.
66815         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
66816         <stdlib.h>.
66818 2013-04-27  Allan McRae  <allan@archlinux.org>
66820         * sysdeps/i386/fpu/libm-test-ulps: Update.
66822 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
66824         [BZ #15406]
66825         * math/s_catan.c: Include <float.h>.
66826         (__catan): Ensure underflow exception occurs for underflowed
66827         result.
66828         * math/s_catanf.c: Include <float.h>.
66829         (__catanf): Ensure underflow exception occurs for underflowed
66830         result.
66831         * math/s_catanh.c: Include <float.h>.
66832         (__catanh): Ensure underflow exception occurs for underflowed
66833         result.
66834         * math/s_catanhf.c: Include <float.h>.
66835         (__catanhf): Ensure underflow exception occurs for underflowed
66836         result.
66837         * math/s_catanhl.c: Include <float.h>.
66838         (__catanhl): Ensure underflow exception occurs for underflowed
66839         result.
66840         * math/s_catanl.c: Include <float.h>.
66841         (__catanl): Ensure underflow exception occurs for underflowed
66842         result.
66843         * math/libm-test.inc (catan_test): Add more tests.
66844         (catanh_test): Likewise.
66846         [BZ #15405]
66847         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
66848         underflowed result.
66849         * math/s_ccoshf.c (__ccoshf): Likewise.
66850         * math/s_ccoshl.c (__ccoshl): Likewise.
66851         * math/s_csin.c (__csin): Likewise.
66852         * math/s_csinf.c (__csinf): Likewise.
66853         * math/s_csinh.c (__csinh): Likewise.
66854         * math/s_csinhf.c (__csinhf): Likewise.
66855         * math/s_csinhl.c (__csinhl): Likewise.
66856         * math/s_csinl.c (__csinl): Likewise.
66857         * math/libm-test.inc (ccos_test): Add more tests.
66858         (ccosh_test): Likewise.
66859         (csin_test): Likewise.
66860         (csinh_test): Likewise.
66862 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66864         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
66865         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
66866         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
66867         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
66868         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
66869         powerpc/power5+/fpu folders.
66870         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
66873 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
66875         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66877 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
66879         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
66880         additions to variable.
66881         [$(config-machine) = x86_64] (modules-names): Likewise.
66882         ($(objpfx)tst-audit3): Remove dependency.
66883         ($(objpfx)tst-audit3.out): Likewise.
66884         ($(objpfx)tst-audit4): Likewise.
66885         ($(objpfx)tst-audit4.out): Likewise.
66886         ($(objpfx)tst-audit5): Likewise.
66887         ($(objpfx)tst-audit5.out): Likewise.
66888         ($(objpfx)tst-audit6): Likewise.
66889         ($(objpfx)tst-audit6.out): Likewise.
66890         ($(objpfx)tst-audit7): Likewise.
66891         ($(objpfx)tst-audit7.out): Likewise.
66892         (tst-audit3-ENV): Remove variable.
66893         (tst-audit4-ENV): Likewise.
66894         (tst-audit5-ENV): Likewise.
66895         (tst-audit6-ENV): Likewise.
66896         (tst-audit7-ENV): Likewise.
66897         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
66898         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
66899         addition to variable.
66900         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
66901         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
66902         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
66903         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
66904         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
66905         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
66906         tst-audit3, tst-audit4 and tst-audit5.
66907         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
66908         tst-audit6 and tst-audit7.
66909         [$(subdir) = elf] (modules-names): Add audit modules for those
66910         tests.
66911         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
66912         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
66913         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
66914         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
66915         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
66916         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
66917         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
66918         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
66919         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
66920         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
66921         [$(subdir) = elf] (tst-audit3-ENV): New variable.
66922         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
66923         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
66924         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
66925         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
66926         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
66927         Likewise.
66928         [$(subdir) = elf && $(config-cflags-avx) = yes]
66929         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
66930         [$(subdir) = elf && $(config-cflags-avx) = yes]
66931         (CFLAGS-tst-auditmod4a.c): Likewise.
66932         [$(subdir) = elf && $(config-cflags-avx) = yes]
66933         (CFLAGS-tst-auditmod4b.c): Likewise.
66934         [$(subdir) = elf && $(config-cflags-avx) = yes]
66935         (CFLAGS-tst-auditmod6b.c): Likewise.
66936         [$(subdir) = elf && $(config-cflags-avx) = yes]
66937         (CFLAGS-tst-auditmod6c.c): Likewise.
66938         [$(subdir) = elf && $(config-cflags-avx) = yes]
66939         (CFLAGS-tst-auditmod7b.c): Likewise.
66940         * elf/tst-audit3.c: Move to ...
66941         * sysdeps/x86_64/tst-audit3.c: ... here.
66942         * elf/tst-audit4.c: Move to ...
66943         * sysdeps/x86_64/tst-audit4.c: ... here.
66944         * elf/tst-audit5.c: Move to ...
66945         * sysdeps/x86_64/tst-audit5.c: ... here.
66946         * elf/tst-audit6.c: Move to ...
66947         * sysdeps/x86_64/tst-audit6.c: ... here.
66948         * elf/tst-audit7.c: Move to ...
66949         * sysdeps/x86_64/tst-audit7.c: ... here.
66950         * elf/tst-auditmod3a.c: Move to ...
66951         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
66952         * elf/tst-auditmod3b.c: Move to ...
66953         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
66954         * elf/tst-auditmod4a.c: Move to ...
66955         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
66956         * elf/tst-auditmod4b.c: Move to ...
66957         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
66958         * elf/tst-auditmod5a.c: Move to ...
66959         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
66960         * elf/tst-auditmod5b.c: Move to ...
66961         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
66962         * elf/tst-auditmod6a.c: Move to ...
66963         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
66964         * elf/tst-auditmod6b.c: Move to ...
66965         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
66966         * elf/tst-auditmod6c.c: Move to ...
66967         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
66968         * elf/tst-auditmod7a.c: Move to ...
66969         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
66970         * elf/tst-auditmod7b.c: Move to ...
66971         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
66973 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
66975         [BZ #15366]
66976         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
66977         define unconditionally.
66978         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
66979         define unconditionally.
66980         (INT8_C, INT16_C, etc.): Likewise.
66982 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
66984         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
66985         __ehdr_start with hidden visibility.
66987         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
66989 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
66991         * math/libm-test.inc (cos_test): Use accurate hex constants.
66992         (sincost_test): Likewise.
66994 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
66996         * math/libm-test.inc (catan_test): Add more tests.
66997         (catanh_test): Likewise.
66999         * math/s_catanf.c (__catanf): Use suffixed floating-point
67000         constants.
67001         * math/s_catanhf.c (__catanhf): Likewise.
67002         * math/s_catanhl.c (__catanhl): Likewise.
67003         * math/s_catanl.c (__catanl): Likewise.
67005         [BZ #15394]
67006         * math/s_catan.c (__catan): Calculate imaginary part of result
67007         with log1p not log unless computing log of number close to 0.
67008         * math/s_catanf.c (__catanf): Likewise.
67009         * math/s_catanl.c (__catanl): Likewise.
67010         * math/s_catanh.c (__catanh): Calculate real part of result with
67011         log1p not log unless computing log of number close to 0.
67012         * math/s_catanhf.c (__catanhf): Likewise.
67013         * math/s_catanhl.c (__catanhl): Likewise.
67014         * math/libm-test.inc (catan_test): Add more tests.
67015         (catanh_test): Likewise.
67016         * sysdeps/i386/fpu/libm-test-ulps: Update.
67017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67019 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
67021         * benchtests/Makefile: Mention files in which fast and slow
67022         paths of math functions are implemented.
67024 2013-04-23  Roland McGrath  <roland@hack.frob.com>
67026         * sysdeps/posix/timespec_get.c: New file.
67028 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67030         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
67031         POWER.
67032         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
67033         for POWER.
67034         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
67035         powerpc/power5/fpu folders.
67036         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
67037         * benchtests/Makefile: Add modf testcase.
67038         * benchtests/bench-modf.c: New file: Benchmark test for mo
67040 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
67042         [BZ #14888]
67043         * time/Makefile (tests): Add tst-strptime-whitespace.
67044         * time/strptime_l.c (get_number): Use ISSPACE.
67045         (__strptime_internal): Likewise.
67046         * time/tst-strptime-whitespace.c: New test case.
67048 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
67050         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
67051         member.
67052         (_nss_files_init): Set it here.
67054 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
67056         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
67057         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
67058         unsigned.
67060 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
67062         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
67064 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67066         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
67067         size just once.
67069 2013-04-21  David S. Miller  <davem@davemloft.net>
67071         * po/ru.po: Update Russion translation from translation project.
67073 2013-04-17  Adam Conrad  <adconrad@0c3.net>
67075         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
67076         and setfsgid.
67078 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
67080         * configure.in: Remove i386 configure warning. Remove i386 case.
67081         * configure: Regenerate.
67082         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
67083         Add example to error message.
67084         * sysdeps/i386/configure: Regenerate.
67086 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67088         * benchtests/Makefile (bench): Add cos, tan, slowcos and
67089         slowtan.
67090         * benchtests/cos-inputs: New file.
67091         * benchtests/slowcos-inputs: New file.
67092         * benchtests/slowcos.c: New file.
67093         * benchtests/slowtan-inputs: New file.
67094         * benchtests/slowtan.c: New file.
67095         * benchtests/tan-inputs: New file.
67097 2013-04-16  Roland McGrath  <roland@hack.frob.com>
67099         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
67100         considered kosher.
67102 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67104         * benchtests/Makefile: Include cppflags-iterator.mk to add
67105         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
67107         * Makefile.in (bench-clean): New target.
67108         * benchtests/Makefile (bench-clean): Likewise.
67110 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
67112         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
67114 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
67116         * stdio-common/tstdiomisc.c: Fix coding-style violation.
67118 2013-04-15  Andreas Schwab  <schwab@suse.de>
67120         * nscd/grpcache.c (cache_addgr): Properly check for short write.
67121         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67122         * nscd/pwdcache.c (cache_addpw): Likewise.
67123         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
67124         more than recsize.
67126 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67128         * benchtests/Makefile (bench): Write all output to
67129         bench-out.tmp together.
67131 2013-04-15  Andreas Schwab  <schwab@suse.de>
67133         * nscd/nscd.c (main): Don't fork again after closing files.
67135 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67137         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
67139         * benchtests/Rules (bench-deps): Collect dependencies into a
67140         single variable.  Add Makefile to dependencies.
67141         ($(objpfx)bench-%.c): Depend on bench-deps.
67143 2013-04-12  Roland McGrath  <roland@hack.frob.com>
67144             Xavier Roche  <roche+kml2@exalead.com>
67146         [BZ #15361]
67147         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
67148         just that it's a file descriptor.
67149         * manual/llio.texi (Synchronizing AIO Operations): Update description
67150         for EBADF error from aio_fsync.
67152 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
67154         * Rules (bench): Move target definition...
67155         * benchtests/Makefile: ... here.
67157 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
67159         * math/libm-test.inc (cos_test): Fix PI/2 test.
67160         (sincos_test): Likewise.
67161         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
67162         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
67164 2013-04-11  Andreas Schwab  <schwab@suse.de>
67166         [BZ #13988]
67167         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
67168         accept exponent character only when digits were seen.
67169         * stdio-common/Makefile (tests): Add bug26.
67170         * stdio-common/bug26.c: New file.
67172         [BZ #14293]
67173         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
67174         non-freeable.
67176 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67178         * Makeconfig (rtld-prefix): Define built linker prefix.
67179         * Rules (run-bench): Use it.
67180         * math/Makefile (run-regen-ulps): Likewise.
67182         * Rules (bench): Remove eval.
67184 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67185             Roland McGrath  <roland@hack.frob.com>
67186             Ondrej Bilka  <neleai@seznam.cz>
67188         [BZ #15346]
67189         * time/getdate.c: Include ctype.h and alloca.h.
67190         (__getdate_r): Trim leading and trailing spaces of input.
67191         * time/tst-getdate.c (tests): Add tests with leading and
67192         trailing spaces.
67194 2013-04-08  Roland McGrath  <roland@hack.frob.com>
67196         [BZ #14280]
67197         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
67198         when computing value.
67200 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67202         * math/README.libm-test (How can I generate "libm-test-ulps"?):
67203         Use testrun.sh to run libm tests.
67205         [BZ #15309]
67206         * elf/dl-open.c (dl_open_worker): memset all of seen array.
67208 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
67210         [BZ #15264]
67211         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
67213 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67215         * Makefile.in (regen-ulps): New target.
67216         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
67217         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
67218         [ifneq (no,$(PERL)] (regen-ulps): New target.
67219         [ifeq (no,$(PERL)] (regen-ulps): New target.
67220         * math/libm-test.inc (ulps_file_name): Define.
67221         (output_dir): New variable.
67222         (options): Add "output-dir" option.
67223         (parse_opt): Handle 'o' case.
67224         (main): If output_dir is non-NULL use it as a prefix
67225         otherwise use "".
67226         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
67228 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67230         [BZ #10060, #10062]
67231         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
67232         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
67233         fail configure if __sync_val_compare_and_swap is not inlined.
67234         * sysdeps/i386/configure: Regenerate.
67235         * configure.in: Build for i686 when configured for i386.
67236         * configure: Regenerate.
67237         * README: Remove i386 reference.
67239 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67241         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
67242         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67244 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
67246         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
67247         (lmsnanval): New variables.
67248         (F): Add conversion tests.
67249         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
67250         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
67252         * stdio-common/tstdiomisc.c (F): Properly collect individual
67253         tests' results.
67255         [BZ #14686, #15336]
67256         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
67257         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
67258         Instead, use input NaN values or generate a qNaN by arithmetic
67259         operation.  Also fix bugs to comply with the standard.
67260         * math/libm-test.inc (remainder_test): Add more tests.
67262         [BZ #15335, #15342]
67263         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
67264         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
67265         input NaN values or generate a qNaN by arithmetic operation.
67267         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
67268         unreachable code.
67270         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
67271         definitions.
67273 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
67275         [BZ #14478]
67276         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
67277         underflowed result.
67278         * math/s_cexpf.c (__cexpf): Likewise.
67279         * math/s_cexpl.c (__cexpl): Likewise.
67280         * math/libm-test.inc (cexp_test): Add more tests.
67282 2013-04-03  Andreas Schwab  <schwab@suse.de>
67284         [BZ #15330]
67285         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
67286         order arrays from heap if bigger than alloca cutoff.
67288 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
67290         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
67291         (SNAN_TESTS_double): Refer to GCC PR56831.
67292         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
67293         GCC PR56828.
67295 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
67297         * Rules (bench): Move bench.out after the run is complete.
67299         * Rules (bench): Echo currently running benchmark.
67301         * benchtests/Makefile (bench): Add atan and slowatan.
67302         * benchtests/atan-inputs: New file.
67303         * benchtests/slowatan-inputs: New file.
67304         * benchtests/slowatan.c: New file.
67306         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
67307         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
67308         its value.
67310         [BZ #15305]
67311         * sysdeps/unix/sysv/linux/kernel-features.h
67312         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
67313         __ASSUME_XFS_RESTRICTED_CHOWN.
67314         * sysdeps/unix/sysv/linux/pathconf.c
67315         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
67316         Save and restore errno.
67318 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
67320         [BZ #15327]
67321         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
67322         arguments using __kernel_casinh.
67323         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
67324         arguments using __kernel_casinhf.
67325         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
67326         arguments using __kernel_casinhl.
67327         * math/libm-test.inc (cacosh_test): Add more tests.
67328         * sysdeps/i386/fpu/libm-test-ulps: Update.
67329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67331 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
67333         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
67334         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
67336         * bench/Makefile (bench): Add sin and slowsin.
67337         * benchtests/sin-inputs: New file.
67338         * benchtests/slowsin-inputs: New file.
67339         * benchtests/slowsin.c: New file.
67341         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
67342         (bench): Add slowexp and slowpow.
67343         (exp-ITER): Increase iterations.
67344         (pow-ITER): Likewise.
67345         * benchtests/exp-inputs: Change input.
67346         * benchtests/pow-inputs: Likewise.
67347         * benchtests/slowexp-inputs: New file.
67348         * benchtests/slowexp.c: New file.
67349         * benchtests/slowpow-inputs: New file.
67350         * benchtests/slowpow.c: New file.
67352 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67354         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
67355         instructions.
67356         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67357         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
67358         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
67359         * benchtests/Makefile: Add rint benchtest.
67360         * benchtests/rint-inputs: Input for rint benchtest.
67362 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
67364         * Versions.def (libm): Add GLIBC_2.18.
67365         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
67366         hidden libm prototypes.
67367         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
67368         * math/Makefile (libm-calls): Add s_issignaling.
67369         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
67370         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
67371         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
67372         declaration.
67373         * math/math.h [__USE_GNU] (issignaling): New macro.
67374         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
67375         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
67376         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
67377         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
67378         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
67379         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
67380         * manual/arith.texi (issignaling): New section.
67381         * manual/libm-err-tab.pl (@all_functions): Update comment.
67382         * math/gen-libm-test.pl (parse_args): Apply special handling for
67383         issignaling.
67384         * math/libm-test.inc (print_float, issignaling_test): New
67385         functions.
67386         (check_float_internal): Add issignaling checks.
67387         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
67388         default definition.
67389         * sysdeps/powerpc/math-tests.h: New file.
67390         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
67391         tests.
67392         * math/test-snan.c (TEST_FUNC): Likewise.
67394 2013-03-30  David S. Miller  <davem@davemloft.net>
67396         * po/de.po: Update from translation team.
67398 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
67400         [BZ #10357]
67401         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67402         imaginary part less than 1.0 and real part less than 0.5
67403         specially.
67404         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67405         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67406         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
67407         (cacos_test): Add more tests.
67408         (casin_test): Likewise.
67409         (casinh_test): Likewise.
67410         * sysdeps/i386/fpu/libm-test-ulps: Update.
67411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67413 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67415         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
67416         ONE with its value.
67418         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
67419         (__pow_mp): Replace ONE and MONE with their values.
67420         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67421         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
67422         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67423         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
67424         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67425         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67427         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
67429         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
67430         (__pow_mp): Replace ZERO and MZERO with their values.
67431         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67432         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67433         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67434         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67435         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67436         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
67437         (__sqr): Likewise.
67439         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
67441         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
67443 2013-03-28  Roland McGrath  <roland@hack.frob.com>
67445         * include/stdlib.h [!SHARED] (__call_tls_dtors):
67446         Declare with __attribute__ ((weak)).
67447         * stdlib/exit.c (__libc_atexit) [!SHARED]:
67448         Call __call_tls_dtors only if it's not NULL.
67450 2013-03-28  Roland McGrath  <roland@hack.frob.com>
67452         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
67453         didn't do it already, then set _dl_phdr and _dl_phnum based on the
67454         magic __ehdr_start linker symbol if it's defined.
67455         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
67456         them up here if it was already done.
67458         * elf/dl-support.c (_dl_phdr): Make pointer to const.
67459         (_dl_aux_init): Use const in cast when setting it.
67460         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
67461         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
67462         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
67464         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
67465         Declare them here.
67466         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
67467         * csu/libc-tls.c: Nor here.
67468         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
67470         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
67471         (__libc_message): Never call vsyslog.
67473 2013-03-28  Alan Modra  <amodra@gmail.com>
67475         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
67476         Define as empty.
67477         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
67478         Likewise.
67480 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67482         [BZ #15214]
67483         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
67484         underflow.
67485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67487 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67489         [BZ #15304]
67490         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
67491         Don't add gid passed as argument.
67493         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
67495 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
67497         [BZ #15307]
67498         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67499         imaginary part between 1.0 and 1.5 and real part less than 0.5
67500         specially.
67501         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67502         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67503         * math/libm-test.inc (cacos_test): Add more tests.
67504         (casin_test): Likewise.
67505         (casinh_test): Likewise.
67506         * sysdeps/i386/fpu/libm-test-ulps: Update.
67507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67509 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67511         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
67512         constants.
67513         (norm): Likewise.
67514         (denorm): Likewise.
67515         (__dbl_mp): Likewise.
67516         (add_magnitudes): Likewise.
67517         (sub_magnitudes): Likewise.
67518         (__add): Likewise.
67519         (__sub): Likewise.
67520         (__mul): Likewise.
67521         (__sqr): Likewise.
67522         (__inv): Likewise.
67523         (__dvd): Likewise.
67525         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
67526         commented code.
67527         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
67528         (__dubcos): Likewise.
67529         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
67530         (__ieee754_acos): Likewise.
67531         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67532         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
67533         (__exp1): Likewise.
67534         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67535         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67536         (log1): Likewise.
67537         (my_log2): Likewise.
67538         (checkint): Likewise.
67539         * sysdeps/ieee754/dbl-64/e_remainder.c
67540         (__ieee754_remainder): Likewise.
67541         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67542         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
67543         (bsloww): Likewise.
67544         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67546         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67547         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
67548         MANTISSA_STORE_T to store computations on mantissa.  Use
67549         macros for rounding and division.
67550         (denorm): Likewise.
67551         (__dbl_mp): Likewise.
67552         (add_magnitudes): Likewise.
67553         (sub_magnitudes): Likewise.
67554         (__mul): Likewise.
67555         (__sqr): Likewise.
67556         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
67557         powers of two in terms of TWOPOW macro.
67558         (mp_no): Make type of mantissa as MANTISSA_T.
67559         [!RADIXI]: Define RADIXI.
67560         [!TWO52]: Define TWO52.
67561         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67563 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67565         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
67566         llroundl symbol when building for PPC32.
67568 2013-03-24  Mark H Weaver  <mhw@netris.org>
67570         * manual/arith.texi (Normalization Functions): Fix prototypes for
67571         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
67573 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67575         [BZ #13889]
67576         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
67577         high value to check if expl overflow.
67578         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
67579         to check for underflow and overflow.
67580         * math/libm-test.inc: Add exp test.
67582 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
67584         [BZ #11120]
67585         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
67586         with NOT_IN_libc.
67588 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67590         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
67591         symbol.
67593 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67595         * math/gen-libm-test.pl (parse_args, special_functions): Properly
67596         wrap blocks consisting of several statements.
67598         * sysdeps/generic/math-tests.h: New file.
67599         * sysdeps/i386/fpu/math-tests.h: Likewise.
67600         * math/test-snan.c: Include it.
67601         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
67603 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
67605         [BZ #15285]
67606         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
67607         (__ieee754_j0l): Do not improve calculations using cos of twice
67608         input for inputs above LDBL_MAX / 2.0L.
67609         (__ieee754_y0l): Likewise.
67610         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
67611         (__ieee754_j1l): Do not improve calculations using cos of twice
67612         input for inputs above LDBL_MAX / 2.0L.
67613         (__ieee754_y1l): Likewise.
67614         * math/libm-test.inc (j0_test): Add another test.
67615         (j1_test): Likewise.
67616         (y0_test): Likewise.
67617         (y1_test): Likewise.
67618         * sysdeps/i386/fpu/libm-test-ulps: Update.
67620 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67622         * Rules ($(objpfx)bench-%.c): Include code from a C source
67623         file.
67625 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
67627         [BZ #15287]
67628         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67629         imaginary part 1.0 and real part less than 0.5 specially.
67630         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67631         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67632         * math/libm-test.inc (cacos_test): Add more tests.
67633         (casin_test): Likewise.
67634         (casinh_test): Likewise.
67635         * sysdeps/i386/fpu/libm-test-ulps: Update.
67636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67638 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67640         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
67641         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
67643 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
67645         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
67646         * config.make.in (config-cflags-sse4): Remove variable.
67647         (config-cflags-avx): Likewise.
67648         (config-cflags-sse2avx): Likewise.
67649         (config-cflags-novzeroupper): Likewise.
67650         (config-asflags-i686): Likewise.
67651         (have-mfma4): Likewise.
67652         (have-as-vis3): Likewise.
67653         (MIG): Likewise.
67654         * configure.in (MIG): Do not AC_SUBST.
67655         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
67656         (libc_cv_cc_sse4): Do not AC_SUBST.
67657         (libc_cv_cc_avx): Likewise.
67658         (libc_cv_cc_sse2avx): Likewise.
67659         (libc_cv_cc_novzeroupper): Likewise.
67660         (libc_cv_cc_fma4): Likewise.
67661         (libc_cv_as_i686): Likewise.
67662         (libc_cv_sparc_as_vis3): Likewise.
67663         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
67664         LIBC_CONFIG_VAR.
67665         (config-asflags-i686): Likewise.
67666         (config-cflags-avx): Likewise.
67667         (config-cflags-sse2avx): Likewise.
67668         (have-mfma4): Likewise.
67669         (config-cflags-novzeroupper): Likewise.
67670         * sysdeps/mach/configure.in (MIG): Likewise.
67671         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
67672         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
67673         LIBC_CONFIG_VAR.
67674         (config-cflags-avx): Likewise.
67675         (config-cflags-sse2avx): Likewise.
67676         (have-mfma4): Likewise.
67677         (config-cflags-novzeroupper): Likewise.
67678         * configure: Regenerated.
67679         * sysdeps/i386/configure: Likewise.
67680         * sysdeps/mach/configure: Likewise.
67681         * sysdeps/sparc/configure: Likewise.
67682         * sysdeps/x86_64/configure: Likewise.
67684 2013-03-20  Roland McGrath  <roland@hack.frob.com>
67686         [BZ #14812]
67687         * locale/programs/localedef.c (options): Put N_ translation marker
67688         on argument names, not just descriptions.
67690 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67692         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
67694 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
67696         [BZ #14176]
67697         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
67699 2013-03-19  Roland McGrath  <roland@hack.frob.com>
67701         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
67702         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
67703         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
67704         [!BEFORE_ABORT] (before_abort): New function.
67705         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
67706         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
67707         (writev_for_fatal): New function.
67708         (WRITEV_FOR_FATAL): New macro; call that.
67709         (backtrace_and_maps): New function.
67710         (BEFORE_ABORT): New macro; call that.
67711         (struct str_list): Type removed.
67712         (__libc_message, __libc_fatal): Functions removed.
67713         Include <sysdeps/posix/libc_fatal.c> instead.
67715 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
67717         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
67718         constants.
67719         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
67720         double constants.
67722 2013-03-19  Andreas Schwab  <schwab@suse.de>
67724         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
67725         * sysdeps/gnu/configure: Regenerate.
67727         * configure.in: Substitute libc_cv_rtlddir.
67728         * configure: Regenerate.
67729         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
67730         * Makeconfig (rtlddir, inst_rtlddir): New variables.
67731         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
67732         * elf/Makefile (install-others, CFLAGS-interp.c)
67733         (ldso_install, common-ldd-rewrite): Likewise.
67734         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
67735         $(inst_slibdir)/$(rtld-installed-name).
67736         * scripts/rellns-sh: Add -p option.
67737         * Makerules (make-shlib-link): Use rellns-sh to get relative name
67738         for source.
67740 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67742         * manual/nptl.texi: Renamed to ...
67743         * manual/threads.texi: ... this.
67744         * manual/Makefile (chapters): Update.
67746 2013-03-18  Roland McGrath  <roland@hack.frob.com>
67748         [BZ #14812]
67749         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
67750         on argument names, not just descriptions.
67751         * malloc/memusagestat.c (options): Likewise.
67752         * nss/getent.c (options): Likewise.
67754 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
67756         [BZ #14812]
67757         * iconv/iconv_prog.c (options): Put N_ translation marker
67758         on argument names, not just descriptions.
67759         * iconv/iconvconfig.c (options): Likewise.
67761 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
67763         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
67764         implementation which is faster on all x86_64 architectures.
67765         Tested on AMD, Intel Nehalem, SNB, IVB.
67766         * sysdeps/x86_64/strnlen.S: Likewise.
67768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
67769         Remove all multiarch strlen and strnlen versions.
67770         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
67771         Remove strlen and strnlen related parts.
67773         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
67774         Inline strlen part.
67775         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
67777         * sysdeps/x86_64/multiarch/strlen.S: Remove.
67778         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
67779         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
67780         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
67781         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67782         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
67784 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
67786         * manual/memory.texi (Malloc Tunable Parameters):
67787         Sort parameters alphabetically. Add comments for missing entries.
67789 2013-03-17  David S. Miller  <davem@davemloft.net>
67791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67793 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
67795         [BZ #15283]
67796         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
67797         for arguments at most half maximum finite value.
67798         * math/libm-test.inc (j0_test): Add more tests.
67799         (j1_test): Likewise.
67800         (y0_test): Likewise.
67801         (y1_test): Likewise.
67802         * sysdeps/i386/fpu/libm-test-ulps: Update.
67803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67805         [BZ #14155]
67806         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
67807         1 / x and functions P and Q for arguments above 0x1p256L.
67808         (__ieee754_y0l): Likewise.
67809         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
67810         (__ieee754_y1l): Likewise.
67811         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
67812         (j1_test): Likewise.
67813         (y0_test): Likewise.
67814         (y1_test): Likewise.
67816 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
67818         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
67819         variable.
67821 2013-03-15  Roland McGrath  <roland@hack.frob.com>
67823         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
67824         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
67825         zero since it's initialized to EXEC_PAGESIZE.
67827         * sysdeps/unix/sysv/linux/ldsodefs.h
67828         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
67829         * sysdeps/generic/ldsodefs.h: ... here.
67831 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
67833         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
67835         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
67836         math/test-snan.c.
67837         * math/test-snan.c: Renamed from
67838         sysdeps/powerpc/fpu/test-powerpc-snan.c.
67839         * math/Makefile (tests): Add test-snan.
67840         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
67841         test-powerpc-snan.
67843         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
67844         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
67845         functions.
67846         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
67847         __builtin_nan family of functions.
67848         * math/libm-test.inc (initialize): Initialize qnan_value with
67849         __builtin_nan family of functions.
67850         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
67851         Remove variables.
67852         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
67853         Remove functions.
67854         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
67855         storage class.  Initialize qNaN_var and sNaN_var with
67856         __builtin_nan and __builtin_nans families of functions,
67857         respectively.
67859         * math/libm-test.inc (acosh_test): Also test with qNaN input.
67860         (sqrt_test): Remove duplicate test with qNaN input.
67861         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
67862         (round_test, signbit_test, significand_test): Note missing +/-Inf
67863         as well as qNaN tests.
67865         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
67866         qNaN_var.  Fix a few strings, too.
67867         * math/libm-test.inc (nan_value): Rename to qnan_value.
67868         * math/gen-libm-test.pl (%beautify): Adjust to that.
67869         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
67870         * math/test-misc.c (main): Likewise.
67871         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
67872         to __qnan_bytes, and __qnan_union, respectively.
67873         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
67874         Likewise.
67875         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
67876         and lqnanval, respectively.
67877         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
67878         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
67879         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
67880         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
67882         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
67883         * math/test-misc.c (main) [__x86_64__]: Enable test for long
67884         doubles.
67886         * math/test-misc.c (main): Fix copy'n'pastos.
67887         * misc/tst-efgcvt.c (special): Likewise.
67889         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
67890         Remove declarations.
67892 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67894         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
67895         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
67896         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
67897         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
67899 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67901         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
67902         macro to return vdso values correctly in IFUNC implementations.
67903         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
67904         Optimization by using IFUNC.
67906 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67907             Richard Henderson  <rth@redhat.com>
67908             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67910         * Makefile.in (bench): New target.
67911         * NEWS: Mention the benchmark framework.
67912         * Rules (bench): Likewise.
67913         (binaries-bench): Generate binaries for functions to
67914         benchmark.
67915         * benchtests/Makefile: New makefile for benchmark tests.
67916         * benchtests/bench-skeleton.c: New skeleton file for benchmark
67917         programs.
67918         * benchtests/exp-inputs: New input file for EXP function.
67919         * benchtests/pow-inputs: New input file for POW function.
67920         * scripts/bench.pl: New script to generate source files for
67921         benchmark programs.
67923 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67925         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67926         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
67927         computations on mantissa.  Use macros for rounding and
67928         division.
67929         (denorm): Likewise.
67930         (__dbl_mp): Likewise.
67931         (add_magnitudes): Likewise.
67932         (sub_magnitudes): Likewise.
67933         (__mul): Likewise.
67934         (__sqr): Likewise.
67935         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
67936         powers of two in terms of TWOPOW macro.
67937         (mp_no): Make type of mantissa as MANTISSA_T.
67938         [!RADIXI]: Define RADIXI.
67939         [!TWO52]: Define TWO52.
67940         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67942         * manual/nptl.texi (cindex): Modify threads to pthreads.
67944 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
67946         * sysdeps/x86_64/preconfigure: Regenerated.
67948 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
67950         [BZ #14155]
67951         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
67952         0x1p28 and above.
67953         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
67954         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
67955         0x1p28 and above.
67956         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
67957         * math/libm-test.inc (j0_test): Do not allow one spurious
67958         underflow exception.
67959         (y1_test): Likewise.
67961 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67963         * manual/Makefile (chapters): Add nptl.
67964         * manual/debug.texi (Debugging Support): Add link to Threads
67965         chapter.
67966         * manual/nptl.texi: New file.
67968         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
67970 2013-03-14  Petr Baudis  <pasky@ucw.cz>
67972         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
67973         for non-NULL pointer before the memory validity test. Pointed
67974         out by Holger Brunck <holger.brunck@keymile.com>.
67976 2013-03-13  Andreas Schwab  <schwab@suse.de>
67978         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
67979         instead of .os.
67981 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
67983         * timezone/zic.c: Update from tzcode 2013b.
67985 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
67987         * manual/install.texi (Configuring and compiling):
67988         Mention i686 and i586.
67989         * INSTALL: Regenerate.
67991 2013-03-12  Roland McGrath  <roland@hack.frob.com>
67993         * sysdeps/init_array/elf-init.c: New file.
67994         * csu/elf-init.c
67995         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
67996         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
67998         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
67999         __gmon_start__ as global, but as static with a .preinit_array pointer.
68000         * sysdeps/init_array/gmon-start.c: New file.  Use that.
68001         * sysdeps/init_array/crti.S: New file, empty except for comments.
68002         * sysdeps/init_array/crtn.S: Likewise.
68004 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
68006         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
68007         definining bcopy.
68008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68009         Remove Prefer_SSE_for_memop.
68010         * sysdeps/x86_64/multiarch/init-arch.h: Remove
68011         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
68012         HAS_PREFER_SSE_FOR_MEMOP.
68013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
68014         memset-x86-64.
68015         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
68016         Remove bzero, memset ifunc support.
68017         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
68018         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
68019         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68020         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68022 2013-03-11  Andreas Schwab  <schwab@suse.de>
68024         [BZ #15234]
68025         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
68026         by SHLIB_COMPAT.
68027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
68028         (GLIBC_2.16): Remove pthread_atfork.
68030 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
68032         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
68033         (ptestcases.h): Likewise.
68035 2013-03-08  Roland McGrath  <roland@hack.frob.com>
68037         * Makeconfig ($(common-objpfx)config.status): Depend on
68038         sysdeps/*/preconfigure{,.in} too.
68040 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
68042         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
68043         (__free_hook): Use void * instead of __malloc_ptr_t.
68044         (__malloc_hook): Likewise.
68045         (__realloc_hook): Likewise.
68046         (__memalign_hook): Likewise.
68047         (__after_morecore_hook): Likewise.
68048         * malloc/arena.c (save_malloc_hook): Likewise.
68049         (save_free_hook): Likewise.
68050         * malloc/hooks.c (malloc_hook_ini): Likewise.
68051         (realloc_hook_ini): Likewise.
68052         (memalign_hook_ini): Likewise.
68053         * malloc/malloc.c (malloc_hook_ini): Likewise.
68054         (realloc_hook_ini): Likewise.
68055         (memalign_hook_ini): Likewise.
68056         (__free_hook): Likewise.
68057         (__malloc_hook): Likewise.
68058         (__realloc_hook): Likewise.
68059         (__memalign_hook): Likewise.
68060         (__libc_malloc): Likewise.
68061         (__libc_free): Likewise.
68062         (__libc_realloc): Likewise.
68063         (__libc_memalign): Likewise.
68064         (__libc_valloc): Likewise.
68065         (__libc_pvalloc): Likewise.
68066         (__libc_calloc): Likewise.
68067         (__posix_memalign): Likewise.
68068         * malloc/morecore.c (__sbrk): Likewise.
68069         (__default_morecore): Likewise.
68071         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
68073         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
68074         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
68075         __malloc_ptrdiff_t.
68077         * malloc/malloc.h (__malloc_size_t): Remove macro.
68078         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
68079         __malloc_size_t.
68080         (old_memalign_hook): Likewise.
68081         (old_realloc_hook): Likewise.
68082         (struct hdr): Likewise.
68083         (flood): Likewise.
68084         (mallochook): Likewise.
68085         (memalignhook): Likewise.
68086         (reallochook): Likewise.
68087         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
68088         (tr_old_realloc_hook): Likewise.
68089         (tr_old_memalign_hook): Likewise.
68090         (tr_mallochook): Likewise.
68091         (tr_reallochook): Likewise.
68092         (tr_memalignhook): Likewise.
68094 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68096         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
68097         default_ldbl_pack and using as default implementation.
68098         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
68099         implementation.
68100         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
68101         redundant definition.
68102         (ldbl_insert_mantissa): Likewise.
68103         (ldbl_canonicalize): Likewise.
68104         (ldbl_nearbyint): Likewise.
68105         (ldbl_pack): Rename to ldbl_pack_ppc.
68106         (ldbl_unpack): Rename to ldbl_unpack_ppc.
68107         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
68108         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
68110 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
68112         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
68113         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
68114         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
68115         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
68116         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
68117         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
68118         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
68119         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
68121 2013-03-07  Andreas Jaeger  <aj@suse.de>
68123         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68124         bits/mman-linux.h.
68126 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
68128         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
68129         Include mpa.h and declare __MPEXP.
68130         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
68131         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
68132         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
68133         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
68134         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
68135         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
68136         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
68138         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
68139         (__slowpow): Use long double EXPL and LOGL functions to
68140         compute POW.
68141         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
68142         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
68143         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
68144         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
68145         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
68146         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
68148         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
68149         intermediate variable to calculate exponent.
68150         (__sqr): Likewise.
68151         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
68152         Likewise.
68153         (__sqr): Likewise.
68155         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
68156         [!NO__SQR]: Define __sqr.
68157         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
68158         and NO__SQR.  Remove all code except __mul and __sqr.  Include
68159         sysdeps/ieee754/dbl-64/mpa.c.
68160         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68162         [BZ #12723]
68163         * posix/Makefile (tests): Add tst-pathconf.
68164         * posix/tst-pathconf.c: New test case.
68165         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
68166         _PC_PIPE_BUF.
68167         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
68169 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
68171         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
68173 2013-03-06  Andreas Jaeger  <aj@suse.de>
68175         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
68176         definition via __MAP_ANONYMOUS.
68178         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
68179         it's not part of Linux headers.
68181         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
68182         (MAP_HUGE_MASK): Define.
68184         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68185         Define.
68186         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68187         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68188         Define.
68189         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68190         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68191         Define.
68192         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68193         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
68194         Define.
68195         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68197         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
68198         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
68199         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
68200         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
68201         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
68202         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
68204         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
68205         Handle f2fs.
68207         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68208         Handle f2fs and efivarfs.
68210         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
68211         f2fs.
68213         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
68214         (EFIVARFS_MAGIC): Add.
68215         (F2FS_LINK_MAX): Add.
68217 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68219         * stdio-common/vfprintf.c: Replace __builtin_expect with
68220         __glibc_unlikely.
68222 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
68224         [BZ #13550]
68225         * sysdeps/generic/bp-sym.h: Remove file.
68226         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
68227         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
68228         <bp-sym.h> and <bp-asm.h>.
68229         (__longjmp): Don't use BP_SYM.
68230         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
68231         and <bp-asm.h>.
68232         (memcpy): Don't use BP_SYM.
68233         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
68234         <bp-sym.h> and <bp-asm.h>.
68235         (memcpy): Don't use BP_SYM.
68236         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
68237         <bp-asm.h>.
68238         (memcpy): Don't use BP_SYM.
68239         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
68240         <bp-asm.h>.
68241         (memset): Don't use BP_SYM.
68242         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68243         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68244         (__bzero): Don't use BP_SYM.
68245         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68246         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68247         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
68248         <bp-sym.h> and <bp-asm.h>.
68249         (memcmp): Don't use BP_SYM.  Remove comment about bounded
68250         pointers.
68251         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
68252         <bp-sym.h> and <bp-asm.h>.
68253         (memcpy): Don't use BP_SYM.
68254         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
68255         <bp-sym.h> and <bp-asm.h>.
68256         (memset): Don't use BP_SYM.
68257         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68258         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68259         (__bzero): Don't use BP_SYM.
68260         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68261         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68262         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
68263         <bp-sym.h> and <bp-asm.h>.
68264         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68265         pointers.
68266         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
68267         <bp-sym.h> and <bp-asm.h>.
68268         (memcpy): Don't use BP_SYM.
68269         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
68270         <bp-sym.h> and <bp-asm.h>.
68271         (memset): Don't use BP_SYM.
68272         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68273         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68274         (__bzero): Don't use BP_SYM.
68275         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68276         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68277         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
68278         <bp-sym.h> and <bp-asm.h>.
68279         (__memchr): Don't use BP_SYM.
68280         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
68281         <bp-sym.h> and <bp-asm.h>.
68282         (memcmp): Don't use BP_SYM.  Remove comment about bounded
68283         pointers.
68284         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
68285         <bp-sym.h> and <bp-asm.h>.
68286         (memcpy): Don't use BP_SYM.
68287         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
68288         <bp-sym.h> and <bp-asm.h>.
68289         (__mempcpy): Don't use BP_SYM.
68290         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
68291         <bp-sym.h> and <bp-asm.h>.
68292         (__memrchr): Don't use BP_SYM.
68293         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
68294         <bp-sym.h> and <bp-asm.h>.
68295         (memset): Don't use BP_SYM.
68296         (__bzero): Likewise.
68297         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
68298         <bp-sym.h> and <bp-asm.h>.
68299         (__rawmemchr): Don't use BP_SYM.
68300         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
68301         <bp-sym.h> and <bp-asm.h>.
68302         (__STRCMP): Don't use BP_SYM.
68303         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
68304         <bp-sym.h> and <bp-asm.h>.
68305         (strchr): Don't use BP_SYM.
68306         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
68307         <bp-sym.h> and <bp-asm.h>.
68308         (__strchrnul): Don't use BP_SYM.
68309         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
68310         <bp-sym.h> and <bp-asm.h>.
68311         (strlen): Don't use BP_SYM.
68312         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
68313         <bp-sym.h> and <bp-asm.h>.
68314         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68315         pointers.
68316         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
68317         <bp-sym.h> and <bp-asm.h>.
68318         (__strnlen): Don't use BP_SYM.
68319         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
68320         <bp-sym.h> and <bp-asm.h>.
68321         (__GI__setjmp): Don't use BP_SYM.
68322         (_setjmp): Likewise.
68323         (__sigsetjmp): Likewise.
68324         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
68325         (L(start_addresses)): Don't use BP_SYM.
68326         (_start): Likewise.
68327         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
68328         <bp-asm.h>.
68329         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
68330         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
68331         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68332         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68333         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
68334         <bp-asm.h>.
68335         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
68336         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
68337         about bounded pointers.
68338         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68339         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68340         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
68341         <bp-asm.h>.
68342         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
68343         about bounded pointers.  Remove GKM FIXME comments.
68344         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68345         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
68346         <bp-asm.h>.
68347         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
68348         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
68349         Remove GKM FIXME comments.
68350         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68351         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68352         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
68353         <bp-asm.h>.
68354         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
68355         about bounded pointers.  Remove GKM FIXME comment.
68356         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
68357         and <bp-asm.h>.
68358         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68359         pointers.
68360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
68361         <bp-sym.h> and <bp-asm.h>.
68362         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
68364         <bp-sym.h> and <bp-asm.h>.
68365         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
68366         comment.
68368 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68370         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
68371         call free(NULL).
68373 2013-03-05  David S. Miller  <davem@davemloft.net>
68375         * po/es.po: Update from translation team.
68377 2013-03-05  Andreas Jaeger  <aj@suse.de>
68379         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
68380         <bits/mman-linux.h>.
68381         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68382         is fine.
68383         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
68384         <bits/mman-linux.h> to end of file.
68385         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68386         is fine.
68387         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
68388         <bits/mman-linux.h> to end of file.
68389         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68390         is fine.
68391         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
68392         <bits/mman-linux.h> to end of file.
68394         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
68395         (MCL_CURRENT, MCL_FUTURE): Define here.
68397 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68399         [BZ #15232]
68400         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
68401         attribute_hidden.
68402         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68404 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68406         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
68407         fourth parameter needed for rt_sigprocmask syscall.
68408         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
68409         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
68410         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
68411         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
68412         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
68413         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
68415 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
68417         [BZ #13550]
68418         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
68419         comment about bounded pointers.
68420         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
68421         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
68423 2013-03-04  Andreas Jaeger  <aj@suse.de>
68425         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
68426         common definitions.
68428         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
68429         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
68430         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
68431         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68432         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
68433         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68435 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68437         [BZ #15055]
68438         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
68439         __ieee754_sqrl instead of __sqrl.
68441 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
68443         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
68444         * sysdeps/powerpc/fpu_control.h: ... here.
68445         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
68446         * sysdeps/powerpc/bits/fenvinline.h: ... here.
68447         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
68448         * sysdeps/powerpc/bits/mathinline.h: ... here.
68450 2013-03-01  Roland McGrath  <roland@hack.frob.com>
68452         * elf/dl-hwcaps.c (_dl_important_hwcaps):
68453         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
68454         to just [NEED_DL_SYSINFO_DSO].
68455         * elf/dl-support.c: Likewise.
68456         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
68457         * elf/rtld.c (dl_main): Likewise.
68458         * elf/setup-vdso.h (setup_vdso): Likewise.
68459         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
68460         * sysdeps/unix/sysv/linux/dl-sysdep.c
68461         (_dl_discover_osversion): Likewise.
68463 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
68465         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
68466         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68468 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
68470         * NEWS: Mention libm performance improvements and non-x86 PI
68471         futex support.
68473         * csu/libc-start.c (__pthread_initialize_minimal): Change
68474         function arguments.
68475         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68477 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
68479         [BZ #13550]
68480         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
68481         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
68482         <bp-sym.h> and <bp-asm.h>.
68483         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68484         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
68485         and <bp-asm.h>.
68486         (memcpy): Don't use BP_SYM.
68487         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
68488         <bp-asm.h>.
68489         (__mpn_add_n): Don't use BP_SYM.
68490         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
68491         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
68492         and <bp-asm.h>.
68493         (__mpn_addmul_1): Don't use BP_SYM.
68494         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68495         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
68496         <bp-sym.h>.
68497         (_setjmp): Don't use BP_SYM.
68498         (__novmx_setjmp): Likewise.
68499         (__GI__setjmp): Likewise.
68500         (__vmx_setjmp): Likewise.
68501         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
68502         <bp-sym.h>.
68503         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
68504         (__bzero): Don't use BP_SYM.
68505         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68506         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68507         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
68508         <bp-sym.h> and <bp-asm.h>.
68509         (memcpy): Don't use BP_SYM.
68510         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
68511         <bp-sym.h> and <bp-asm.h>.
68512         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68513         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
68514         <bp-sym.h> and <bp-asm.h>.
68515         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68516         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
68517         <bp-asm.h>.
68518         (__mpn_lshift): Don't use BP_SYM.
68519         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68520         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
68521         <bp-asm.h>.
68522         (memset): Don't use BP_SYM.
68523         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68524         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68525         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
68526         <bp-asm.h>.
68527         (__mpn_mul_1): Don't use BP_SYM.
68528         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68529         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
68530         <bp-sym.h> and <bp-asm.h>.
68531         (memcmp): Don't use BP_SYM.
68532         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
68533         <bp-sym.h> and <bp-asm.h>.
68534         (memcpy): Don't use BP_SYM.
68535         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
68536         <bp-sym.h> and <bp-asm.h>.
68537         (memset): Don't use BP_SYM.
68538         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
68539         <bp-sym.h> and <bp-asm.h>.
68540         (strncmp): Don't use BP_SYM.
68541         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
68542         <bp-sym.h> and <bp-asm.h>.
68543         (memcpy): Don't use BP_SYM.
68544         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
68545         <bp-sym.h> and <bp-asm.h>.
68546         (memset): Don't use BP_SYM.
68547         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
68548         <bp-sym.h> and <bp-asm.h>.
68549         (__memchr): Don't use BP_SYM.
68550         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
68551         <bp-sym.h> and <bp-asm.h>.
68552         (memcmp): Don't use BP_SYM.
68553         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
68554         <bp-sym.h> and <bp-asm.h>.
68555         (memcpy): Don't use BP_SYM.
68556         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
68557         <bp-sym.h> and <bp-asm.h>.
68558         (__mempcpy): Don't use BP_SYM.
68559         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
68560         <bp-sym.h> and <bp-asm.h>.
68561         (__memrchr): Don't use BP_SYM.
68562         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
68563         <bp-sym.h> and <bp-asm.h>.
68564         (memset): Don't use BP_SYM.
68565         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
68566         <bp-sym.h> and <bp-asm.h>.
68567         (__rawmemchr): Don't use BP_SYM.
68568         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
68569         <bp-sym.h> and <bp-asm.h>.
68570         (__STRCMP): Don't use BP_SYM.
68571         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
68572         <bp-sym.h> and <bp-asm.h>.
68573         (strchr): Don't use BP_SYM.
68574         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
68575         <bp-sym.h> and <bp-asm.h>.
68576         (__strchrnul): Don't use BP_SYM.
68577         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
68578         <bp-sym.h> and <bp-asm.h>.
68579         (strlen): Don't use BP_SYM.
68580         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
68581         <bp-sym.h> and <bp-asm.h>.
68582         (strncmp): Don't use BP_SYM.
68583         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
68584         <bp-sym.h> and <bp-asm.h>.
68585         (__strnlen): Don't use BP_SYM.
68586         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
68587         <bp-asm.h>.
68588         (__mpn_rshift): Don't use BP_SYM.
68589         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68590         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
68591         <bp-sym.h> and <bp-asm.h>.
68592         (__sigsetjmp): Don't use BP_SYM.
68593         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
68594         (L(start_addresses)): Don't use BP_SYM.
68595         (_start): Likewise.
68596         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
68597         <bp-asm.h>.
68598         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
68599         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68600         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68601         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
68602         <bp-asm.h>.
68603         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
68604         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68605         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68606         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
68607         <bp-asm.h>.
68608         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
68609         comments.
68610         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68611         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
68612         <bp-asm.h>.
68613         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
68614         FIXME comments.
68615         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68616         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68617         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
68618         <bp-asm.h>.
68619         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
68620         comment.
68621         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
68622         and <bp-asm.h>.
68623         (strncmp): Don't use BP_SYM,
68624         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
68625         <bp-asm.h>.
68626         (__mpn_sub_n): Don't use BP_SYM.
68627         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68628         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
68629         and <bp-asm.h>.
68630         (__mpn_submul_1): Don't use BP_SYM.
68631         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
68633         <bp-sym.h> and <bp-asm.h>.
68634         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
68636         <bp-sym.h> and <bp-asm.h>.
68637         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
68638         comment.
68640 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68642         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
68643         Use ZK to minimize writes to Z.
68644         (sub_magnitudes): Simplify code a bit.
68645         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
68646         Use ZK to minimize writes to Z.
68647         (sub_magnitudes): Simplify code a bit.
68649 2013-02-27  Roland McGrath  <roland@hack.frob.com>
68651         * csu/gmon-start.c: Add special exception to license text.
68653 2013-02-27  Richard Henderson  <rth@redhat.com>
68655         * scripts/config.guess: Update from config.git.
68656         * scripts/config.sub: Likewise.
68658 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68660         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
68662         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
68664         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
68666         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
68668         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
68670 2013-02-26  Roland McGrath  <roland@hack.frob.com>
68672         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
68673         [$(build-shared = yes].
68675 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68677         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
68678         (__mul): Reduce iterations for calculating mantissa.
68680         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
68681         MPTWO.
68682         (__mpranred): Likewise.
68684         [BZ #15160]
68685         * malloc/memusagestat.c (main): Draw graphs for heap and stack
68686         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
68688 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
68690         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
68691         Define __attribute__.
68693 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68695         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
68696         unused.
68697         * posix/regex_internal.h (__attribute): Remove.
68698         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
68699         (re_string_context_at): Likewise.
68700         (bitset_not): Use __attribute__ and mark function as possibly
68701         unused.
68702         (bitset_merge): Likewise.
68703         (bitset_mask): Likewise.
68704         (re_string_char_size_at): Likewise.
68705         (re_string_wchar_at): Likewise.
68706         (re_string_elem_size_at): Likewise.
68708 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68710         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
68711         code.
68712         (cc32): Likewise.
68714         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
68715         (__acr): Likewise.
68716         (__cpy): Likewise.
68717         (norm): Likewise.
68718         (denorm): Likewise.
68719         (__dbl_mp): Likewise.
68720         (add_magnitudes): Likewise.
68721         (sub_magnitudes): Likewise.
68722         (__mul): Likewise.
68723         (__inv): Likewise.
68725         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
68726         style.
68728         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
68729         style.
68731         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
68732         code.
68734         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
68735         up changes with default code.
68736         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
68737         Likewise.
68739 2013-02-24  Allan McRae  <allan@archlinux.org>
68741         * manual/socket.texi (The Internet Namespace): Order menu items
68742         to match that in the file.
68744         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
68745         node listing of the info page menu.
68747 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
68749         [BZ #13550]
68750         * sysdeps/i386/bp-asm.h: Remove file.
68751         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68752         (PARMS): Do not use macros from bp-asm.h.
68753         (S1): Likewise.
68754         (S2): Likewise.
68755         (SIZE): Likewise.
68756         (__mpn_add_n): Do not use BP_SYM
68757         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
68758         "bp-asm.h".
68759         (PARMS): Do not use macros from bp-asm.h.
68760         (S1): Likewise.
68761         (SIZE): Likewise.
68762         (__mpn_addmul_1): Do not use BP_SYM
68763         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
68764         "bp-asm.h".
68765         (PARMS): Do not use macros from bp-asm.h.
68766         (SIGMSK): Likewise.
68767         (_setjmp): Likewise.  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/fpu/s_frexp.S: Do not include "bp-sym.h" and
68774         "bp-asm.h".
68775         (PARMS): Do not use macros from bp-asm.h.
68776         (__frexp): Do not use BP_SYM.
68777         (frexp): Likewise.
68778         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
68779         "bp-asm.h".
68780         (PARMS): Do not use macros from bp-asm.h.
68781         (__frexpf): Do not use BP_SYM.
68782         (frexpf): Likewise.
68783         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
68784         "bp-asm.h".
68785         (PARMS): Do not use macros from bp-asm.h.
68786         (__frexpl): Do not use BP_SYM.
68787         (frexpl): Likewise.
68788         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
68789         "bp-asm.h".
68790         (PARMS): Do not use macros from bp-asm.h.
68791         (__remquo): Do not use BP_SYM.
68792         (remquo): Likewise.
68793         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
68794         "bp-asm.h".
68795         (PARMS): Do not use macros from bp-asm.h.
68796         (__remquof): Do not use BP_SYM.
68797         (remquof): Likewise.
68798         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
68799         "bp-asm.h".
68800         (PARMS): Do not use macros from bp-asm.h.
68801         (__remquol): Do not use BP_SYM.
68802         (remquol): Likewise.
68803         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
68804         "bp-asm.h".
68805         (PARMS): Do not use macros from bp-asm.h.
68806         (DEST): Likewise.
68807         (SRC): Likewise.
68808         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
68809         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
68810         "bp-asm.h".
68811         (PARMS): Do not use macros from bp-asm.h.
68812         (strlen): Do not use BP_SYM.
68813         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
68814         "bp-asm.h".
68815         (PARMS): Do not use macros from bp-asm.h.
68816         (S1): Likewise.
68817         (S2): Likewise.
68818         (SIZE): Likewise.
68819         (__mpn_add_n): Do not use BP_SYM.
68820         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
68821         "bp-asm.h".
68822         (PARMS): Do not use macros from bp-asm.h.
68823         (S1): Likewise.
68824         (SIZE): Likewise.
68825         (__mpn_addmul_1): Do not use BP_SYM.
68826         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
68827         weak_alias.
68828         (bzero): Likewise.
68829         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
68830         "bp-asm.h".
68831         (PARMS): Do not use macros from bp-asm.h.
68832         (S): Likewise.
68833         (SIZE): Likewise.
68834         (__mpn_lshift): Do not use BP_SYM.
68835         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
68836         "bp-asm.h".
68837         (PARMS): Do not use macros from bp-asm.h.
68838         (DEST): Likewise.
68839         (SRC): Likewise.
68840         (LEN): Likewise.
68841         (memcpy): Likewise.  Do not use BP_SYM.
68842         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
68843         libc_hidden_def and weak_alias.
68844         (mempcpy): Do not use BP_SYM in weak_alias.
68845         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
68846         "bp-asm.h".
68847         (PARMS): Do not use macros from bp-asm.h.
68848         (DEST): Likewise.
68849         (LEN): Likewise.
68850         [!BZERO_P] (CHR): Likewise.
68851         (memset): Likewise.  Do not use BP_SYM.
68852         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
68853         "bp-asm.h".
68854         (PARMS): Do not use macros from bp-asm.h.
68855         (S1): Likewise.
68856         (SIZE): Likewise.
68857         (__mpn_mul_1): Do not use BP_SYM.
68858         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
68859         "bp-asm.h".
68860         (PARMS): Do not use macros from bp-asm.h.
68861         (S): Likewise.
68862         (SIZE): Likewise.
68863         (__mpn_rshift): Do not use BP_SYM.
68864         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
68865         "bp-asm.h".
68866         (PARMS): Do not use macros from bp-asm.h.
68867         (STR): Likewise.
68868         (CHR): Likewise.
68869         (strchr): Likewise.  Do not use BP_SYM.
68870         (index): Do not use BP_SYM in weak_alias.
68871         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
68872         "bp-asm.h".
68873         (PARMS): Do not use macros from bp-asm.h.
68874         (DEST): Likewise.
68875         (SRC): Likewise.
68876         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
68877         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
68878         "bp-asm.h".
68879         (PARMS): Do not use macros from bp-asm.h.
68880         (strlen): Do not use BP_SYM.
68881         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
68882         "bp-asm.h".
68883         (PARMS): Do not use macros from bp-asm.h.
68884         (S1): Likewise.
68885         (S2): Likewise.
68886         (SIZE): Likewise.
68887         (__mpn_sub_n): Do not use BP_SYM.
68888         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
68889         "bp-asm.h".
68890         (PARMS): Do not use macros from bp-asm.h.
68891         (S1): Likewise.
68892         (SIZE): Likewise.
68893         (__mpn_submul_1): Do not use BP_SYM.
68894         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
68895         "bp-asm.h".
68896         (PARMS): Do not use macros from bp-asm.h.
68897         (S1): Likewise.
68898         (S2): Likewise.
68899         (SIZE): Likewise.
68900         (__mpn_add_n): Do not use BP_SYM.
68901         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
68902         weak_alias.
68903         (bzero): Likewise.
68904         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
68905         "bp-asm.h".
68906         (PARMS): Do not use macros from bp-asm.h.
68907         (BLK2): Likewise.
68908         (LEN): Likewise.
68909         (memcmp): Do not use BP_SYM.
68910         (bcmp): Do not use BP_SYM in weak_alias.
68911         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
68912         "bp-asm.h".
68913         (PARMS): Do not use macros from bp-asm.h.
68914         (DEST): Likewise.
68915         (SRC): Likewise.
68916         (LEN): Likewise.
68917         (memcpy): Likewise.  Do not use BP_SYM.
68918         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
68919         "bp-asm.h".
68920         (PARMS): Do not use macros from bp-asm.h.
68921         (DEST): Likewise.
68922         (SRC): Likewise.
68923         (LEN): Likewise.
68924         (memmove): Likewise.  Do not use BP_SYM.
68925         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
68926         "bp-asm.h".
68927         (PARMS): Do not use macros from bp-asm.h.
68928         (DEST): Likewise.
68929         (SRC): Likewise.
68930         (LEN): Likewise.
68931         (__mempcpy): Likewise.  Do not use BP_SYM.
68932         (mempcpy): Do not use BP_SYM in weak_alias.
68933         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
68934         "bp-asm.h".
68935         (PARMS): Do not use macros from bp-asm.h.
68936         (DEST): Likewise.
68937         (LEN): Likewise.
68938         [!BZERO_P] (CHR): Likewise.
68939         (memset): Likewise.  Do not use BP_SYM.
68940         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
68941         "bp-asm.h".
68942         (PARMS): Do not use macros from bp-asm.h.
68943         (STR2): Likewise.
68944         (strcmp): Do not use BP_SYM.
68945         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
68946         "bp-asm.h".
68947         (PARMS): Do not use macros from bp-asm.h.
68948         (STR): Likewise.
68949         (DELIM): Likewise.
68950         [USE_AS_STRTOK_R] (SAVE): Likewise.
68951         (FUNCTION): Likewise.  Do not use BP_SYM.
68952         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
68953         aliases.
68954         (strtok_r): Likewise.
68955         (__GI___strtok_r): Likewise.
68956         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68957         (PARMS): Do not use macros from bp-asm.h.
68958         (S): Likewise.
68959         (SIZE): Likewise.
68960         (__mpn_lshift): Do not use BP_SYM.
68961         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68962         (PARMS): Do not use macros from bp-asm.h.
68963         (STR): Likewise.
68964         (CHR): Likewise.
68965         (__memchr): Do not use BP_SYM.
68966         (memchr): Do not use BP_SYM in weak_alias.
68967         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68968         (PARMS): Do not use macros from bp-asm.h.
68969         (BLK2): Likewise.
68970         (LEN): Likewise.
68971         (memcmp): Do not use BP_SYM.
68972         (bcmp): Do not use BP_SYM in weak_alias.
68973         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
68974         (PARMS): Do not use macros from bp-asm.h.
68975         (S1): Likewise.
68976         (SIZE): Likewise.
68977         (__mpn_mul_1): Do not use BP_SYM.
68978         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
68979         "bp-asm.h".
68980         (PARMS): Do not use macros from bp-asm.h.
68981         (STR): Likewise.
68982         (CHR): Likewise.
68983         (__rawmemchr): Do not use BP_SYM.
68984         (rawmemchr): Do not use BP_SYM in weak_alias.
68985         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68986         (PARMS): Do not use macros from bp-asm.h.
68987         (S): Likewise.
68988         (SIZE): Likewise.
68989         (__mpn_rshift): Do not use BP_SYM.
68990         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68991         (PARMS): Do not use macros from bp-asm.h.
68992         (SIGMSK): Likewise.
68993         (__sigsetjmp): Likewise.  Do not use BP_SYM.
68994         * sysdeps/i386/start.S: Do not include "bp-sym.h".
68995         (_start): Do not use BP_SYM.
68996         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
68997         (PARMS): Do not use macros from bp-asm.h.
68998         (DEST): Likewise.
68999         (SRC): Likewise.
69000         (__stpcpy): Likewise.  Do not use BP_SYM.
69001         (stpcpy): Do not use BP_SYM in weak_alias.
69002         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
69003         "bp-asm.h".
69004         (PARMS): Do not use macros from bp-asm.h.
69005         (DEST): Likewise.
69006         (SRC): Likewise.
69007         (LEN): Likewise.
69008         (__stpncpy): Likewise.  Do not use BP_SYM.
69009         (stpncpy): Do not use BP_SYM in weak_alias.
69010         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
69011         (PARMS): Do not use macros from bp-asm.h.
69012         (STR): Likewise.
69013         (CHR): Likewise.
69014         (strchr): Likewise.  Do not use BP_SYM.
69015         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
69016         "bp-asm.h".
69017         (PARMS): Do not use macros from bp-asm.h.
69018         (STR): Likewise.
69019         (CHR): Likewise.
69020         (__strchrnul): Likewise.  Do not use BP_SYM.
69021         (strchrnul): Do not use BP_SYM in weak_alias.
69022         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
69023         "bp-asm.h".
69024         (PARMS): Do not use macros from bp-asm.h.
69025         (STOP): Likewise.
69026         (strcspn): Do not use BP_SYM.
69027         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
69028         "bp-asm.h".
69029         (PARMS): Do not use macros from bp-asm.h.
69030         (STR): Likewise.
69031         (STOP): Likewise.
69032         (strpbrk): Likewise.  Do not use BP_SYM.
69033         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
69034         "bp-asm.h".
69035         (PARMS): Do not use macros from bp-asm.h.
69036         (STR): Likewise.
69037         (CHR): Likewise.
69038         (strrchr): Likewise.  Do not use BP_SYM.
69039         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
69040         (PARMS): Do not use macros from bp-asm.h.
69041         (SKIP): Likewise.
69042         (strspn): Do not use BP_SYM.
69043         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
69044         (PARMS): Do not use macros from bp-asm.h.
69045         (STR): Likewise.
69046         (DELIM): Likewise.
69047         (SAVE): Likewise.
69048         (FUNCTION): Likewise.  Do not use BP_SYM.
69049         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
69050         aliases.
69051         (strtok_r): Likewise.
69052         (__GI___strtok_r): Likewise.
69053         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
69054         (PARMS): Do not use macros from bp-asm.h.
69055         (S1): Likewise.
69056         (S2): Likewise.
69057         (SIZE): Likewise.
69058         (__mpn_sub_n): Do not use BP_SYM.
69059         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
69060         "bp-asm.h".
69061         (PARMS): Do not use macros from bp-asm.h.
69062         (S1): Likewise.
69063         (SIZE): Likewise.
69064         (__mpn_submul_1): Do not use BP_SYM.
69065         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
69066         <bp-sym.h>.
69067         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
69068         and <bp-asm.h>.
69069         (PARMS): Do not use macros from bp-asm.h.
69070         (FLAGS): Likewise.
69071         (PTID): Likewise.
69072         (TLS): Likewise.
69073         (CTID): Likewise.
69074         (__clone): Do not use BP_SYM.
69075         (clone): Do not use BP_SYM in weak_alias.
69076         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
69077         and <bp-asm.h>.
69078         (PARMS): Do not use macros from bp-asm.h.
69079         (LEN): Likewise.
69080         (__mmap64): Do not use BP_SYM.
69081         (mmap64): Do not use BP_SYM in weak_alias.
69082         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69083         <bp-sym.h> and <bp-asm.h>.
69084         (PARMS): Do not use macros from bp-asm.h.
69085         (__posix_fadvise64_l64): Do not use BP_SYM.
69086         * sysdeps/unix/sysv/linux/i386/semtimedop.S
69087         (PARMS): Do not use macros from bp-asm.h.
69088         (NSOPS): Likewise.
69089         (semtimedop): Do not use BP_SYM.
69090         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
69091         and <bp-asm.h>.
69093 2013-02-21  Allan McRae  <allan@archlinux.org>
69095         * manual/message.texi (Charset conversion in gettext):
69096         Move @end statement to beginning of line.
69098 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69100         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
69101         static.
69102         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
69103         Likewise.
69105         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
69106         (denorm): Likewise.
69107         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
69108         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
69110 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69112         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
69113         tail-call to the resolved function if pltexit isn't needed.
69115 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69117         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
69118         or Y being zero as being unlikely.
69119         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69120         Likewise.
69122 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
69124         * manual/nss.texi (System Databases and Name Service Switch):
69125         Remove frobnicate @pxref.
69127 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
69129         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
69130         __attribute__ ((unused)) to __attribute__ ((__unused__)).
69132 2013-02-20  Petr Machata  <pmachata@redhat.com>
69134         * elf/elf.h (R_ARM_TARGET1): New macro.
69135         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
69136         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
69137         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
69138         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
69139         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
69140         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
69141         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
69142         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
69143         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
69144         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
69145         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
69146         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
69147         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
69148         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
69149         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
69150         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
69151         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
69152         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
69153         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
69154         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
69155         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
69156         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
69157         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
69158         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
69159         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
69160         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
69161         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
69162         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
69163         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
69164         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
69165         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
69166         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
69167         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
69168         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
69169         (R_ARM_THM_GOT_BREL12): Likewise.
69170         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
69171         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
69172         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
69173         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
69174         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
69175         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
69176         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
69177         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
69178         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
69180 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
69182         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
69183         __attribute_used__ to __attribute__ ((unused)).
69185 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69187         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
69188         powerpc mpa.c.
69189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
69190         comment formatting.
69191         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
69193 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
69195         [BZ #13550]
69196         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
69197         Remove macro.
69198         (ENTER): Remove both macro definitions.
69199         (LEAVE): Likewise.
69200         (CHECK_BOUNDS_LOW): Likewise.
69201         (CHECK_BOUNDS_HIGH): Likewise.
69202         (CHECK_BOUNDS_BOTH): Likewise.
69203         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
69204         (RETURN_BOUNDED_POINTER): Likewise.
69205         (RETURN_NULL_BOUNDED_POINTER): Likewise.
69206         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
69207         (POP_ERRNO_LOCATION_RETURN): Likewise.
69208         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
69209         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69210         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
69211         macros.
69212         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69213         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
69214         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
69215         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
69216         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
69217         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
69218         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
69219         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
69220         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
69221         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
69222         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
69223         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
69224         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69225         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
69226         removed macros.
69227         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69228         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
69229         macros.
69230         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69231         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
69232         * sysdeps/i386/i586/memset.S (memset): Likewise.
69233         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
69234         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69235         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
69236         macros.
69237         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69238         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
69239         Change uses of L(2) to L(out).
69240         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
69241         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
69242         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
69243         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69244         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
69245         removed macros.
69246         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69247         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
69248         macros.
69249         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69250         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
69251         (RETURN): Do not use macro LEAVE.
69252         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
69253         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
69254         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
69255         * sysdeps/i386/i686/memset.S (memset): Likewise.
69256         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
69257         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
69258         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69259         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
69260         Likewise.
69261         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69262         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
69263         L(1_2) and L(1_3) into L(1).
69264         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69265         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
69266         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69267         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
69268         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69269         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
69270         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
69271         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69272         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
69273         macros.
69274         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
69275         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69276         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
69277         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
69278         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
69279         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69280         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
69281         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
69282         * sysdeps/i386/strcspn.S (strcspn): Likewise.
69283         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
69284         * sysdeps/i386/strrchr.S (strrchr): Likewise.
69285         * sysdeps/i386/strspn.S (strspn): Likewise.
69286         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
69287         conditional code.
69288         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69289         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
69290         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69291         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
69292         L(1_3) into L(1_1).
69293         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
69294         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69295         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
69296         macros.
69297         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69299 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
69301         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
69302         macro.
69304 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69306         * math/atest-exp.c (exp_mpn): Remove ROUND.
69307         * math/atest-exp2.c (exp_mpn): Likewise.
69308         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
69310         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
69311         * stdlib/tst-tls-atexit-lib.c: Likewise.
69312         * stdlib/tst-tls-atexit.c: Likewise.
69314 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69316         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
69317         and __attribute_alloc_size__.
69319 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69321         * include/programs/xmalloc.h: Change __attribute_alloc_size to
69322         __attribute_alloc_size__.
69323         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
69324         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
69326 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69328         * include/programs/xmalloc.h: New file.
69329         * catgets/gencat.c: Include it.
69330         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
69331         * elf/pldd.c: Likewise.
69332         * iconv/iconv_charmap.c: Likewise.
69333         * iconv/iconvconfig.c: Likewise.
69334         * iconv/strtab.c: Likewise.
69335         * locale/programs/locale.c: Likewise.
69336         * locale/programs/localedef.h: Likewise.
69337         * locale/programs/simple-hash.c: Likewise.
69338         * nscd/nscd.h: Likewise.
69339         * nss/makedb.c: Likewise.
69340         * sysdeps/generic/ldconfig.h: Likewise.
69342 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69344         * Versions.def: Add GLIBC_2.18.
69345         * include/link.h (struct link_map): New member l_tls_dtor_count.
69346         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
69347         (__call_tls_dtors): Likewise.
69348         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
69349         __cxa_thread_atexit_impl.
69350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69351         Likewise.
69352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69353         Likewise.
69354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
69355         Likewise.
69356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
69357         Likewise.
69358         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
69360         Likewise.
69361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
69362         Likewise.
69363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69365         Likewise.
69366         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
69367         (tests): Add test case tst-tls-atexit.
69368         (modules-names): Add shared library for tst-tls-atexit.
69369         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
69370         (GLIBC_PRIVATE): Add __call_tls_dtors.
69371         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
69372         for libstdc++.
69373         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
69374         * stdlib/tst-tls-atexit.c: New test case.
69375         * stdlib/tst-tls-atexit-lib.c: New test case.
69377         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
69379         * elf/Versions (ld): Add _dl_find_dso_for_object.
69380         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
69381         * elf/dl-open.c (_dl_find_dso_for_object): New function.
69382         (dl_open_worker): Use _dl_find_dso_for_object.
69383         * elf/dl-sym.c (do_sym): Likewise.
69384         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
69386 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69388         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
69389         Syntactic changes only.
69390         (_dl_runtime_profile): Do a tail-call to the resolved function.
69392 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
69394         [BZ #13550]
69395         * sysdeps/x86_64/bp-asm.h: Remove file.
69396         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
69397         <bp-sym.h> and <bp-asm.h>.
69398         (__clone): Do not use BP_SYM.
69399         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
69400         <bp-sym.h> and <bp-asm.h>.
69401         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69402         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
69403         "bp-asm.h".
69404         (_setjmp): Do not use BP_SYM.
69405         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
69406         "bp-asm.h".
69407         (setjmp): Do not use BP_SYM.
69408         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
69409         libc_hidden_def.
69410         (mempcpy): Do not use BP_SYM in weak_alias.
69411         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
69412         "bp-asm.h".
69413         (strchr): Do not use BP_SYM.
69414         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
69415         "bp-asm.h".
69416         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
69417         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
69418         (_start): Do not use BP_SYM.
69419         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
69420         "bp-asm.h".
69421         (strcat): Do not use BP_SYM.
69422         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
69423         "bp-asm.h".
69424         (STRCMP): Do not use BP_SYM.
69425         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
69426         "bp-asm.h".
69427         (STRCPY): Do not use BP_SYM.
69428         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
69429         "bp-asm.h".
69430         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
69431         "bp-asm.h".
69432         (FUNCTION): Do not use BP_SYM.
69433         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
69434         weak_alias.
69435         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
69437 2013-02-17  Andreas Jaeger  <aj@suse.de>
69439         * time/Versions: Sort entries.
69440         * string/Versions: Likewise.
69441         * resolv/Versions: Likewise.
69442         * posix/Versions: Likewise.
69443         * iconv/Versions: Likewise.
69444         * elf/Versions: Likewise.
69445         * wcsmbs/Versions: Likewise.
69447 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69449         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
69450         loop termination condition.
69452         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
69453         variable to calculate EZ.
69454         (__sqr): Likewise.
69456         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
69457         the lower precision input.
69459 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
69461         [BZ #13550]
69462         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
69463         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
69464         (run-via-rtld-prefix): Do not handle %-bp tests.
69465         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
69466         (all-object-suffixes): Remove .ob.
69467         (bppfx): Remove variable.
69468         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
69469         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
69470         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
69471         [$(build-bounded) = yes] (libtype.ob): Likewise.
69472         * Makerules (elide-routines.ob): Remove variable.
69473         (do-tests-clean): Do not handle *-bp.out.
69474         (common-mostlyclean): Do not handle *-bp and *-bp.out.
69475         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
69476         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
69477         (tests): Do not include $(tests-bp.out).
69478         (xtests): Do not include $(xtests-bp.out).
69479         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
69480         [$(build-bounded) = yes] ($(addprefix
69481         $(objpfx),$(binaries-bounded))): Remove rule.
69482         ($(objpfx)%-bp.out): Remove rule.
69483         * config.make.in (build-bounded): Remove variable.
69484         * crypt/Makefile [$(build-bounded) = yes]
69485         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
69486         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
69487         append to variable.
69488         [$(build-bounded) = yes] (install-lib): Likewise.
69489         [$(build-bounded) = yes] (generated): Likewise.
69490         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
69491         Remove rule.
69492         * intl/Makefile [$(build-bounded) = yes]
69493         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
69494         * math/Makefile [$(build-bounded) = yes]
69495         ($(tests:%=$(objpfx)%-bp): Likewise.
69496         * misc/Makefile [$(build-bounded) = yes]
69497         ($(objpfx)tst-tsearch-bp): Likewise.
69498         * nptl/Makeconfig (bounded-thread-library): Remove variable.
69499         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
69500         Remove dependency.
69501         * string/Makefile (o-objects.ob): Remove variable.
69502         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
69503         (CFLAGS-.ob): Remove variable.
69504         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
69505         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
69506         both definitions of variable.
69507         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
69508         (ASFLAGS-.ob): Remove variable.
69510 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
69512         [BZ #13550]
69513         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
69514         Remove __BOUNDED_POINTERS__ from condition.
69515         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
69516         * string/bits/string2.h [!__NO_STRING_INLINES &&
69517         !__BOUNDED_POINTERS__]: Likewise.
69518         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
69519         Likewise.
69520         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
69521         Remove conditional code.
69522         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
69523         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
69524         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
69525         condition.
69527         [BZ #13550]
69528         * csu/libc-start.c: Do not include <bp-sym.h>.
69529         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
69530         * elf/dl-open.c: Do not include <bp-sym.h>.
69531         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
69532         * math/fegetenv.c: Do not include <bp-sym.h>.
69533         (fegetenv): Do not use BP_SYM in versioned symbols.
69534         * nptl/sysdeps/pthread/bits/libc-lockP.h
69535         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
69536         <bp-sym.h>.
69537         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69538         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
69539         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69540         (__pthread_mutex_destroy): Likewise.
69541         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69542         (__pthread_mutex_lock): Likewise.
69543         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69544         (__pthread_mutex_trylock): Likewise.
69545         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69546         (__pthread_mutex_unlock): Likewise.
69547         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69548         (__pthread_mutexattr_init): Likewise.
69549         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69550         (__pthread_mutexattr_destroy): Likewise.
69551         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69552         (__pthread_mutexattr_settype): Likewise.
69553         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69554         (__pthread_rwlock_init): Likewise.
69555         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69556         (__pthread_rwlock_destroy): Likewise.
69557         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69558         (__pthread_rwlock_rdlock): Likewise.
69559         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69560         (__pthread_rwlock_tryrdlock): Likewise.
69561         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69562         (__pthread_rwlock_wrlock): Likewise.
69563         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69564         (__pthread_rwlock_trywrlock): Likewise.
69565         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69566         (__pthread_rwlock_unlock): Likewise.
69567         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69568         (__pthread_key_create): Likewise.
69569         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69570         (__pthread_setspecific): Likewise.
69571         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69572         (__pthread_getspecific): Likewise.
69573         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
69574         Likewise.
69575         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69576         (_pthread_cleanup_push_defer): Likewise.
69577         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69578         (_pthread_cleanup_pop_restore): Likewise.
69579         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69580         (pthread_setcancelstate): Likewise.
69581         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
69582         <bp-sym.h>.
69583         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
69584         (memchr): Do not use BP_SYM in weak_alias.
69585         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
69586         (fegetenv): Do not use BP_SYM in versioned symbols.
69587         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
69588         (fesetenv): Do not use BP_SYM in versioned symbols.
69589         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69590         (feupdateenv): Do not use BP_SYM in versioned symbols.
69591         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69592         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69593         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
69594         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
69595         (open64): Do not use BP_SYM in weak_alias.
69596         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
69597         (fegetenv): Do not use BP_SYM in versioned symbols.
69598         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
69599         (fesetenv): Do not use BP_SYM in versioned symbols.
69600         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69601         (feupdateenv): Do not use BP_SYM in versioned symbols.
69602         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
69603         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
69604         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
69605         (feraiseexcept): Do not use BP_SYM in versioned symbols.
69606         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69607         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69608         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
69609         <bp-sym.h>.
69610         (__libc_start_main): Do not use BP_SYM.
69612 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69614         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
69615         redundant return line.
69616         (norm): Likewise.
69617         (denorm): Likewise.
69618         (dbl_mp): Likewise.
69619         (sub_magnitudes): Likewise.
69620         (__add): Likewise.
69621         (__sub): Likewise.
69622         (__mul): Likewise.
69623         (__inv): Likewise.
69624         (__dvd): Likewise.
69625         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
69626         (norm): Likewise.
69627         (denorm): Likewise.
69628         (dbl_mp): Likewise.
69629         (sub_magnitudes): Likewise.
69630         (__add): Likewise.
69631         (__sub): Likewise.
69632         (__mul): Likewise.
69633         (__inv): Likewise.
69634         (__dvd): Likewise.
69636         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
69637         instead of __mul.
69638         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69639         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
69640         (cc32): Likewise.
69642         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
69643         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
69644         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
69645         of __mul for squares.
69646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
69647         function
69648         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
69649         Likewise.
69650         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
69651         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69653 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
69655         [BZ #13550]
69656         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
69657         code.
69658         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
69659         prototype or function definition.  Rename ubp_* variables and
69660         parameters.  Remove argv definitions conditional on
69661         [__BOUNDED_POINTERS__].
69662         * debug/backtrace.c (__backtrace): Do not use __unbounded.
69663         * elf/dl-runtime.c (_dl_fixup): Likewise.
69664         * include/set-hooks.h (RUN_HOOK): Likewise.
69665         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
69666         definition.
69667         * string/strcpy.c (strcpy): Do not use __unbounded.
69668         * sysdeps/generic/frame.h (struct layout): Likewise.
69669         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
69670         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
69671         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
69672         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
69673         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
69674         (__backtrace): Likewise.
69675         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
69676         use __ptrvalue.
69677         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
69678         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
69679         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
69680         Likewise.
69681         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
69682         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
69683         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
69684         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69685         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
69686         Do not use __unbounded.
69687         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
69688         Rename __unboundedrlimits parameter to rlimits in prototype.
69689         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
69690         Do not use __unbounded.
69691         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
69692         not use __ptrvalue.
69693         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69694         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
69695         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69696         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
69697         __ptrvalue or __unbounded.
69698         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
69699         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
69700         use __unbounded.
69701         (__new_msgctl): Do not use __ptrvalue.
69702         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
69703         __unbounded.
69704         (__libc_msgrcv): Do not use __ptrvalue.
69705         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
69706         startup_info): Do not use __unbounded.
69707         (__libc_start_main): Likewise.  Rename ubp_* variables and
69708         parameters.  Remove argv definitions conditional on
69709         [__BOUNDED_POINTERS__].
69710         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
69711         __ptrvalue.
69712         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
69713         use __unbounded.
69714         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
69715         or __ptrvalue.
69716         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
69717         use __unbounded.
69718         (__new_shmctl): Do not use __ptrvalue.
69719         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
69720         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
69721         Likewise.
69722         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
69723         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
69724         (__libc_sigaction): Likewise.
69725         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
69726         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
69727         Likewise.
69728         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69730 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
69732         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
69734         * string/mempcpy.c: Implement by calling memcpy.
69736 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
69738         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
69740         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
69741         evaluation.
69743         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
69744         values in the mantissa.
69746         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
69747         minimize writes to Z.
69748         (sub_magnitudes): Simplify code a bit.
69750 2013-02-12  Roland McGrath  <roland@hack.frob.com>
69752         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
69753         from the message.  The linker prefixes all warnings with that already.
69755 2013-02-12  Andreas Schwab  <schwab@suse.de>
69757         [BZ #15078]
69758         * posix/regexec.c (extend_buffers): Add parameter min_len.
69759         (check_matching): Pass minimum needed length.
69760         (clean_state_log_if_needed): Likewise.
69761         (get_subexp): Likewise.
69762         * posix/Makefile (tests): Add bug-regex34.
69763         (bug-regex34-ENV): Define.
69764         * posix/bug-regex34.c: New file.
69766         [BZ #11561]
69767         * posix/regcomp.c (parse_bracket_exp): When looking up collating
69768         elements compare against the byte sequence of it, not its name.
69769         * posix/Makefile (tests): Add bug-regex35.
69770         (bug-regex35-ENV): Define.
69771         * posix/bug-regex35.c: New file.
69773 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69775         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
69776         comment.
69777         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
69778         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
69779         (CHECK_EOL): Add undef.
69781 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
69783         * bits/stdlib-bsearch.h: New file.
69784         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
69785         * stdlib/stdlib.h: Likewise.
69787 2013-02-11  Roland McGrath  <roland@hack.frob.com>
69789         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
69790         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
69791         declaration.
69792         * manual/search.texi (Array Search Function): Add missing const in
69793         lfind prototype.
69794         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
69795         declaration to use rlim_t.
69796         (Basic Scheduling Functions): Remove erroneous const from
69797         sched_getparam prototype.  Remove erroneous * from
69798         sched_get_priority_max and sched_get_priority_min prototypes.
69799         (Resource Usage): Fix summary @comment on vtimes to refer to
69800         sys/vtimes.h rather than vtimes.h.
69801         Add missing *s in vtimes prototype.
69802         (Limits on Resources): Fix ulimit prototype to return long int.
69803         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
69804         prototypes to use long int rather than double.
69805         (BSD Random): Fix initstate and setstate to use char *, not void *.
69806         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
69807         prototype to make second argument 'struct aiocb64 *const[]'.
69808         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
69809         (Status of AIO Operations): Remove erroneous const in aio_return and
69810         aio_return64 prototypes.
69811         (Synchronizing I/O): Fix sync prototype to return void.
69812         * manual/startup.texi (Suboptions): Remove an erroneous const in
69813         getsubopt prototype.
69814         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
69815         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
69816         use size_t rather than int.
69817         (Scanning All Users): Likewise for getpwent_r.
69818         (Setting Groups): Add missing const to setgroups prototype.
69819         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
69820         * manual/socket.texi (Host Names): Fix gethostbyaddr and
69821         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
69822         'const void *' rather than 'const char *'.
69823         (Host Address Functions): Likewise for inet_ntop.
69824         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
69825         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
69826         ssize_t for return value.
69827         (Sending Data): Likewise for send, sendto, sendmsg.
69828         (Socket Option Functions): Add a missing const in setsockopt prototype.
69829         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
69830         use wchar_t for the argument.
69831         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
69832         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
69833         take no arguments.
69834         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
69835         double/float/long double for second argument.
69836         Fix return types of significand, significandf, significandl.
69837         * manual/filesys.texi (Setting Permissions): Use mode_t for second
69838         argument in fchmod prototype.
69839         (File Owner): Use uid_t and gid_t in fchown prototype.
69840         (File Times): Add const to utimes, futimes, and lutimes prototypes.
69841         (Making Special Files): Use mode_t and dev_t in mknod prototype.
69842         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
69843         use 'const struct dirent **' as argument types to CMP function pointer
69844         argument.
69845         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
69846         (File Times): Fix summary magic @comment for struct utimbuf and utime
69847         to refer to utime.h, not time.h.
69848         * manual/string.texi (Argz Functions): Add missing const in
69849         argz_extract and argz_next prototypes.
69850         (Finding Tokens in a String): Likewise for basename.
69851         (String/Array Comparison): Fix typo in wcscasecmp prototype.
69852         (Copying and Concatenation): Fix typo in wmemmove prototype.
69853         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
69854         (Signal Stack): Remove erroneous const in sigstack prototype.
69855         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
69856         prototype.
69857         (Simple Calendar Time): Likewise for stime.
69858         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
69859         prototype.
69860         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
69861         say sys/sysctl.h instead.
69862         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
69863         and vsyslog prototypes.
69865 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69867         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
69868         Remove.
69870 2013-02-11  Roland McGrath  <roland@hack.frob.com>
69872         * misc/sys/mman.h: Fix typo in mremap comment.
69874 2013-02-08  Roland McGrath  <roland@hack.frob.com>
69876         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
69877         the '\0' terminator.
69879 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
69881         [BZ #13550]
69882         * debug/segfault.c: Don't include <bp-checks.h>.
69883         * sysdeps/generic/bp-checks.h: Remove file.
69884         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
69885         (__GETDENTS): Don't use CHECK_N.
69886         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
69887         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
69888         (__getgroups): Don't use CHECK_N.
69889         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
69890         (setgroups): Don't use CHECK_N.
69891         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
69892         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
69893         (__libc_msgrcv): Don't use CHECK_N.
69894         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
69895         (__libc_msgsnd): Don't use CHECK_N.
69896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
69897         <bp-checks.h>.
69898         (__libc_pread): Don't use CHECK_N.
69899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
69900         include <bp-checks.h>.
69901         (__libc_pread64): Don't use CHECK_N.
69902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
69903         include <bp-checks.h>.
69904         (__libc_pwrite): Don't use CHECK_N.
69905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
69906         include <bp-checks.h>.
69907         (__libc_pwrite64): Don't use CHECK_N.
69908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
69909         <bp-checks.h>.
69910         (__libc_pread): Don't use CHECK_N.
69911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
69912         include <bp-checks.h>.
69913         (__libc_pread64): Don't use CHECK_N.
69914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
69915         include <bp-checks.h>.
69916         (__libc_pwrite): Don't use CHECK_N.
69917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
69918         include <bp-checks.h>.
69919         (__libc_pwrite64): Don't use CHECK_N.
69920         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
69921         (do_pread): Don't use CHECK_N.
69922         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
69923         (do_pread64): Don't use CHECK_N.
69924         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
69925         (do_pwrite): Don't use CHECK_N.
69926         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
69927         (do_pwrite64): Don't use CHECK_N.
69928         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
69929         (__libc_readv): Don't use CHECK_N.
69930         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
69931         (semop): Don't use CHECK_N.
69932         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
69933         <bp-checks.h>.
69934         (semtimedop): Don't use CHECK_N.
69935         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
69936         (__libc_pread): Don't use CHECK_N.
69937         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
69938         <bp-checks.h>.
69939         (__libc_pread64): Don't use CHECK_N.
69940         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
69941         <bp-checks.h>.
69942         (__libc_pwrite): Don't use CHECK_N.
69943         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
69944         <bp-checks.h>.
69945         (__libc_pwrite64): Don't use CHECK_N.
69946         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
69947         <bp-checks.h>.
69948         (__libc_msgrcv): Don't use CHECK_N.
69949         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
69950         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
69951         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
69952         (__libc_writev): Don't use CHECK_N.
69954 2013-02-08  Roland McGrath  <roland@hack.frob.com>
69956         * string/strcpy.c: Removed unused variable.
69958         * Makeconfig (+sysdep-includes): Define with := rather than =.
69959         Use an existing include/ subdir of each sysdeps dir before it.
69961 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69963         * nscd/connection.c (register_traced_file): Comment function.
69964         [HAVE_INOTIFY] (union __inev): Define.
69965         [HAVE_INOTIFY] (inotify_check_files): New function.
69966         [HAVE_INOTIFY] (clear_db_cache): Likewise.
69967         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
69968         clear_db_cache.
69969         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
69971 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69973         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
69974         loaded if not already and that a failure is permanent.
69976 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69978         [BZ #15006]
69979         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
69980         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
69982 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
69984         [BZ #13550]
69985         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
69986         (CHECK_1_NULL_OK): Likewise.
69987         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
69988         (__fxstat): Do not use CHECK_1.
69989         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
69990         <bp-checks.h>.
69991         (___fxstat64): Do not use CHECK_1.
69992         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
69993         <bp-checks.h>.
69994         (__fxstatat): Do not use CHECK_1.
69995         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
69996         <bp-checks.h>.
69997         (__fxstatat64): Do not use CHECK_1.
69998         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
69999         <bp-checks.h>.
70000         (__fxstat): Do not use CHECK_1.
70001         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
70002         <bp-checks.h>.
70003         (__fxstatat): Do not use CHECK_1.
70004         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70005         <bp-checks.h>.
70006         (__getresgid): Do not use CHECK_1.
70007         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70008         <bp-checks.h>.
70009         (__getresuid): Do not use CHECK_1.
70010         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
70011         <bp-checks.h>.
70012         (__lxstat): Do not use CHECK_1.
70013         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70014         <bp-checks.h>.
70015         (__old_msgctl): Do not use CHECK_1.
70016         (__new_msgctl): Likewise.
70017         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
70018         <bp-checks.h>.
70019         (__new_setrlimit): Do not use CHECK_1.
70020         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70021         <bp-checks.h>.
70022         (__old_shmctl): Do not use CHECK_1.
70023         (__new_shmctl): Likewise.
70024         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
70025         <bp-checks.h>.
70026         (__xstat): Do not use CHECK_1.
70027         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
70028         (__lxstat): Do not use CHECK_1.
70029         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
70030         <bp-checks.h>.
70031         (___lxstat64): Do not use CHECK_1.
70032         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
70033         (__old_msgctl): Do not use CHECK_1.
70034         (__new_msgctl): Likewise.
70035         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
70036         <bp-checks.h>.
70037         (__gettimeofday): Do not use CHECK_1.
70038         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
70039         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
70040         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
70041         <bp-checks.h>.
70042         (__gettimeofday): Do not use CHECK_1.
70043         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
70044         (__old_shmctl): Do not use CHECK_1_NULL_OK.
70045         (__new_shmctl): Do not use CHECK_1.
70046         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
70047         <bp-checks.h>.
70048         (do_sigtimedwait): Do not use CHECK_1.
70049         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
70050         <bp-checks.h>.
70051         (do_sigwaitinfo): Do not use CHECK_1.
70052         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
70053         <bp-checks.h>.
70054         (msgctl): Do not use CHECK_1.
70055         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
70056         <bp-checks.h>.
70057         (shmctl): Do not use CHECK_1.
70058         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
70059         (ustat): Do not use CHECK_1.
70060         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
70061         <bp-checks.h>.
70062         (__fxstat): Do not use CHECK_1.
70063         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
70064         <bp-checks.h>.
70065         (__fxstatat): Do not use CHECK_1.
70066         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
70067         <bp-checks.h>.
70068         (__lxstat): Do not use CHECK_1.
70069         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
70070         <bp-checks.h>.
70071         (__xstat): Do not use CHECK_1.
70072         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
70073         (__xstat): Do not use CHECK_1.
70074         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
70075         (___xstat64): Do not use CHECK_1.
70077         [BZ #13550]
70078         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
70079         definitions.
70080         (CHECK_BOUNDS_HIGH): Likewise.
70081         * string/strcpy.c: Do not include <bp-checks.h>.
70082         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
70084 2013-02-07  Roland McGrath  <roland@hack.frob.com>
70086         * nscd/nscd-client.h (__nscd_drop_map_ref):
70087         Add __attribute__ ((unused)).
70088         * nis/nss-nisplus.h (niserr2nss): Likewise.
70090         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
70091         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
70093         * csu/libc-tls.c (init_static_tls, init_slotinfo):
70094         Remove inline keyword.
70095         * include/rounding-mode.h (round_away): Likewise.
70096         * libio/wfileops.c (adjust_wide_data): Likewise.
70097         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
70098         (__m128i_strloadu_tolower): Likewise.
70099         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
70100         (__m128i_strloadu_tolower): Likewise.
70101         * time/mktime.c (ydhms_diff): Likewise.
70102         * locale/elem-hash.h (elem_hash): Likewise.
70103         * locale/setlocale.c (setdata): Likewise.
70104         * posix/regex_internal.h (re_string_char_size_at): Likewise.
70105         (re_string_wchar_at): Likewise.
70106         (bitset_not, bitset_merge, bitset_mask): Likewise.
70107         [!(__GNUC__ > 3)] (inline): Remove macro.
70108         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
70109         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
70110         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
70111         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
70112         * string/memcmp.c (memcmp_bytes): Likewise.
70113         * locale/programs/locarchive.c (compute_hashval): Likewise.
70114         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
70115         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
70116         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
70117         * nss/getent.c (print_rpc, print_protocols): Likewise.
70118         (print_passwd, print_group, print_aliases): Likewise.
70119         * nis/nss-nisplus.h (niserr2nss): Likewise.
70120         * nscd/connections.c (restart_p): Likewise.
70121         Change return type to bool.
70123 2013-02-05  Roland McGrath  <roland@hack.frob.com>
70125         * Makeconfig (all-Depend-files): Add existing
70126         $(sorted-subdirs:=/Depend) files.
70127         (all-subdirs): Remove nss.
70128         * sysdeps/unix/inet/Subdirs: Add it here instead.
70129         * hesiod/Depend: New file.
70131         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
70132         instead of calling alloca.
70134         * io/lseek.c (__lseek): Rename to __libc_lseek.
70135         Define __lseek as an alias.
70137         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
70139 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
70141         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
70142         else clause and remove check for non-standard endianness.
70144 2013-02-04  David S. Miller  <davem@davemloft.net>
70146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70148 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
70150         [BZ #13550]
70151         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
70152         (__ubp_memchr): Remove prototype.
70153         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
70154         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
70155         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
70156         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
70157         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
70158         Remove alias.
70159         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
70160         (__ubp_memchr): Likewise.
70161         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
70162         (__ubp_memchr): Likewise.
70163         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
70164         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
70165         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
70166         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
70167         CHECK_STRING.
70168         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
70169         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
70170         (__getcwd): Do not use CHECK_STRING.
70171         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
70172         <bp-checks.h>.
70173         (__real_chown): Do not use CHECK_STRING.
70174         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
70175         <bp-checks.h>.
70176         (fchownat): Do not use CHECK_STRING.
70177         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
70178         CHECK_STRING.
70179         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70180         <bp-checks.h>.
70181         (__lchown): Do not use CHECK_STRING.
70182         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
70183         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
70184         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
70185         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
70186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
70187         include <bp-checks.h>.
70188         (truncate64): Do not use CHECK_STRING.
70189         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70190         <bp-checks.h>.
70191         (__real_chown): Do not use CHECK_STRING.
70192         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70193         <bp-checks.h>.
70194         (__lchown): Do not use CHECK_STRING.
70195         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70196         <bp-checks.h>.
70197         (__chown): Do not use CHECK_STRING.
70198         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
70199         <bp-checks.h>.
70200         (truncate64): Do not use CHECK_STRING.
70201         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
70202         Likewise.
70203         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
70204         (__xmknod): Do not use CHECK_STRING.
70205         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
70206         <bp-checks.h>.
70207         (__xmknodat): Do not use CHECK_STRING.
70208         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
70209         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
70211 2013-02-04  Andreas Schwab  <schwab@suse.de>
70213         [BZ #14142]
70214         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
70215         * include/netdb.h: Likewise for h_errno.
70216         * elf/tst-stackguard1.c: Include <tls.h>.
70218 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
70220         * elf/link.h (struct link_map): Extend the l_addr comment.
70221         * include/link.h (struct link_map): Likewise.
70223 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
70225         [BZ #13550]
70226         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
70227         (BOUNDED_1): Remove macro.
70228         * debug/backtrace.c: Don't include <bp-checks.h>.
70229         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
70230         (__backtrace): Likewise.
70231         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
70232         <bp-checks.h>.
70233         (__backtrace): Don't use BOUNDED_1.
70234         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
70235         <bp-checks.h>.
70236         (__backtrace): Don't use BOUNDED_1.
70237         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
70238         (__backtrace): Don't use BOUNDED_1.
70239         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
70240         (shmat): Don't use BOUNDED_N.
70242 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
70244         [BZ #13550]
70245         * sysdeps/generic/bp-start.h: Remove file.
70246         * csu/libc-start.c: Don't include <bp-start.h>.
70247         (LIBC_START_MAIN): Set up __environ directly instead of using
70248         INIT_ARGV_and_ENVIRON.
70249         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
70250         <bp-start.h>.
70252         [BZ #13550]
70253         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
70254         definitions.
70255         (CHECK_FCNTL): Likewise.
70256         (CHECK_N_PAGES): Likewise.
70258         [BZ #13550]
70259         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
70260         definitions.
70261         (CHECK_SIGSET_NULL_OK): Likewise.
70262         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
70263         <bp-checks.h>.
70264         (sigpending): Don't use CHECK_SIGSET.
70265         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
70266         <bp-checks.h>.
70267         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70268         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
70269         <bp-checks.h>.
70270         (do_sigsuspend): Don't use CHECK_SIGSET.
70271         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
70272         use CHECK_SIGSET.
70273         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
70274         (do_sigwait): Don't use CHECK_SIGSET.
70275         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
70276         use CHECK_SIGSET.
70277         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
70278         include <bp-checks.h>.
70279         (sigpending): Don't use CHECK_SIGSET.
70280         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
70281         include <bp-checks.h>.
70282         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70283         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
70284         <bp-checks.h>.
70285         (sigpending): Don't use CHECK_SIGSET.
70286         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
70287         <bp-checks.h>.
70288         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70290         [BZ #13550]
70291         * sysdeps/generic/bp-semctl.h: Remove file.
70292         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
70293         <bp-checks.h> and <bp-semctl.h>.
70294         (__old_semctl): Don't use CHECK_SEMCTL.
70295         (__new_semctl): Likewise.
70296         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
70297         and <bp-semctl.h>.
70298         (__old_semctl): Don't use CHECK_SEMCTL.
70299         (__new_semctl): Likewise.
70300         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
70301         <bp-checks.h> and <bp-semctl.h>.
70302         (__old_semctl): Don't use CHECK_SEMCTL.
70303         (__new_semctl): Likewise.
70304         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
70305         <bp-checks.h> and <bp-semctl.h>.
70306         (semctl): Don't use CHECK_SEMCTL.
70308         [BZ #13550]
70309         * Makerules (elide-bp-thunks): Remove variable.
70310         (elide-routines.oS): Don't use $(elide-bp-thunks).
70311         (elide-routines.os): Likewise.
70312         (elide-routines.o): Likewise.
70313         (elide-routines.op): Likewise.
70314         (elide-routines.og): Likewise.
70315         (objects): Don't use $(bp-thunks).
70316         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
70317         include.
70318         (common-generated): Do not add s-proto-bp.d.
70319         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
70320         (int): Likewise.
70321         (typ): Likewise.
70322         Do not generate makefile rules for bounded-pointer thunks.
70323         * sysdeps/generic/bp-thunks.h: Remove file.
70324         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
70325         * sysdeps/unix/s-proto-bp.S: Likewise.
70327         [BZ #15062]
70328         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
70329         parts of result separately when argument is not close to line from
70330         -i to i and one part of argument is small.
70331         * math/k_casinhf.c (__kernel_casinhf): Likewise.
70332         * math/k_casinhl.c (__kernel_casinhl): Likewise.
70333         * math/libm-test.inc (cacos_test): Add more tests.
70334         (casin_test): Likewise.
70335         (casinh_test): Likewise.
70336         * sysdeps/i386/fpu/libm-test-ulps: Update.
70337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70339 2013-01-31  David S. Miller  <davem@davemloft.net>
70341         * po/de.po: Update from translation team.
70343 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
70345         * time/tzfile.c: Include stdint.h for SIZE_MAX.
70347 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
70349         * configure.in (_AC_PROG_CC_C89): New definition.
70350         * configure: Regenerate.
70352         * configure.in (AC_PROG_CPP): New definition.
70353         * configure: Regenerate.
70355 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
70357         * debug/tst-backtrace.h: New file.
70358         * debug/tst-backtrace2.c: Include tst-backtrace.h.
70359         (ret): Remove variable.
70360         (x): Likewise.
70361         (FAIL): Remove macro.
70362         (NO_INLINE): Likewise.
70363         (fn1): Use match function instead of strstr.
70364         * debug/tst-backtrace3.c: Include tst-backtrace.h.
70365         (ret): Remove variable.
70366         (x): Likewise.
70367         (FAIL): Remove macro.
70368         (NO_INLINE): Likewise.
70369         (fn): Use match function instead of strstr.
70370         * debug/tst-backtrace4.c: Include tst-backtrace.h.
70371         (ret): Remove variable.
70372         (x): Likewise.
70373         (FAIL): Remove macro.
70374         (NO_INLINE): Likewise.
70375         (handle_signal): Use match function instead of strstr.
70376         * debug/tst-backtrace5.c: Include tst-backtrace.h.
70377         (ret): Remove variable.
70378         (x): Likewise.
70379         (FAIL): Remove macro.
70380         (NO_INLINE): Likewise.
70381         (handle_signal): Use match function instead of strstr.
70383 2013-01-23  Roland McGrath  <roland@hack.frob.com>
70385         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
70387 2013-01-23  David S. Miller  <davem@davemloft.net>
70389         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
70390         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
70391         argument of CAS if possible.
70392         * sysdeps/sparc/sparc64/bits/atomic.h
70393         (__arch_compare_and_exchange_val_32_acq): Likewise.
70394         (__arch_compare_and_exchange_val_64_acq): Likewise.
70396 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
70398         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
70399         * sysdeps/posix/ulimit.c: ... this.
70400         Include <limits.h>.
70401         * sysdeps/unix/bsd/ulimit.c: Remove file.
70403 2013-01-23  Adam Conrad  <adconrad@0c3.net>
70405         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
70406         (LDFLAGS-tst-array5): Likewise.
70408 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
70410         [BZ #15036]
70411         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
70412         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
70413         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
70414         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
70416 2013-01-21  David S. Miller  <davem@davemloft.net>
70418         * sysdeps/sparc/backtrace.c: New file.
70419         * sysdeps/sparc/sparc32/backtrace.h: New file.
70420         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
70421         * sysdeps/sparc/sparc64/backtrace.h: New file.
70422         * sysdeps/sparc/sparc64/backtrace.c: Delete.
70423         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
70424         -funwind-tables.
70426 2013-01-21  Andreas Schwab  <schwab@suse.de>
70428         [BZ #15020]
70429         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
70430         closed its stdout.
70432 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
70434         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
70435         "mpa2.h".
70436         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70438 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
70439             Mark Mitchell  <mark@codesourcery.com>
70440             Tom de Vries  <tom@codesourcery.com>
70441             Paul Pluzhnikov  <ppluzhnikov@google.com>
70443         * debug/tst-backtrace2.c: New file.
70444         * debug/tst-backtrace3.c: Likewise.
70445         * debug/tst-backtrace4.c: Likewise.
70446         * debug/tst-backtrace5.c: Likewise.
70447         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
70448         (CFLAGS-tst-backtrace3.c): Likewise.
70449         (CFLAGS-tst-backtrace4.c): Likewise.
70450         (CFLAGS-tst-backtrace5.c): Likewise.
70451         (LDFLAGS-tst-backtrace2): Likewise.
70452         (LDFLAGS-tst-backtrace3): Likewise.
70453         (LDFLAGS-tst-backtrace4): Likewise.
70454         (LDFLAGS-tst-backtrace5): Likewise.
70455         (tests): Add new tests tst-backtrace2, tst-backtrace3,
70456         tst-backtrace4 and tst-backtrace5.
70458 2013-01-18  Anton Blanchard  <anton@samba.org>
70459             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
70461         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
70462         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
70463         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
70464         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
70465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
70466         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
70467         "+r" and remove output regs list as redundant.  Add explicit inline
70468         asm to specify register of return val to work around compiler codegen
70469         bug.  Remove (int) cast on return value.  Add return type parameter to
70470         use in macro so that this macro does not truncate return value for
70471         64-bit values.
70472         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
70473         pass to INTERNAL_VSYSCALL_NCS.
70474         (INLINE_VSYSCALL): Add 'long int' as return type to
70475         INTERNAL_VSYSCALL_NCS macro invocation.
70476         (INTERNAL_VSYSCALL): Add 'long int' as return type to
70477         INTERNAL_VSYSCALL_NCS macro invocation.
70478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70480 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70482         [BZ #14496]
70483         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
70484         Fix application of SIMD FP exception mask.
70486         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
70487         mp_no from a power of two.
70488         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
70489         __mpexp_twomm1.  Use __pow_mp.
70491         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
70492         multiplication.
70494 2013-01-17  David S. Miller  <davem@davemloft.net>
70496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70498 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
70500         [BZ #15023]
70501         * include/complex.h: Condition contents on [!_COMPLEX_H].
70502         (__kernel_casinhf): New prototype.
70503         (__kernel_casinh): Likewise.
70504         (__kernel_casinhl): Likewise.
70505         * math/Makefile (libm_calls): Add k_casinh.
70506         * math/k_casinh.c: New file.
70507         * math/k_casinhf.c: Likewise.
70508         * math/k_casinhl.c: Likewise.
70509         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
70510         finite nonzero arguments.
70511         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
70512         finite nonzero arguments.
70513         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
70514         finite nonzero arguments.
70515         * math/s_casinh.c: Do not include <float.h>.
70516         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
70517         * math/s_casinhf.c: Do not include <float.h>.
70518         (__casinhf): Move code for finite nonzero arguments to
70519         k_casinhf.c.
70520         * math/s_casinhl.c: Do not include <float.h>.
70521         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
70522         redefine.
70523         (__casinhl): Move code for finite nonzero arguments to
70524         k_casinhl.c.
70525         * math/libm-test.inc (cacos_test): Add more tests.
70526         * sysdeps/i386/fpu/libm-test-ulps: Update.
70527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70529 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
70531         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
70532         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
70533         [!HAVE_MREMAP]: Remove [defined linux] case.
70534         * malloc/arena.c: Do not include <malloc-sysdep.h>.
70536 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
70538         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
70540 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
70542         * elf/elf.h (R_386_SIZE32): New relocation.
70543         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
70544         R_386_SIZE32.
70545         (elf_machine_rela): Likewise.
70546         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
70547         R_X86_64_SIZE64 and R_X86_64_SIZE32.
70549 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
70551         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
70552         (FP_FAST_FMA): Do not define.
70553         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
70554         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
70555         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
70556         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
70557         !_SOFT_FLOAT]: Likewise.
70558         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
70559         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
70560         value.
70561         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
70562         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
70563         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
70564         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
70565         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
70566         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
70567         file.
70569 2013-01-16  Andreas Schwab  <schwab@suse.de>
70571         [BZ #14327]
70572         * include/stdlib.h (__mktemp): Add declaration.
70573         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
70574         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
70576 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70578         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
70579         definitions.
70580         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70581         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
70582         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
70583         definitions here.
70584         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
70585         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
70586         definitions.
70587         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
70588         and ONE.
70589         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
70590         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
70591         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
70592         definitions.
70593         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
70594         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
70595         definitions.
70596         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70598         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
70600 2013-01-15  David S. Miller  <davem@davemloft.net>
70602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70603         trunc{,f} to libm-sysdep_routes.
70604         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
70606         file.
70607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
70608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
70609         file.
70610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
70611         file.
70612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
70613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
70614         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
70615         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
70616         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
70617         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
70618         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
70619         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
70621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70622         nearbyint{,f} to libm-sysdep_routes.
70623         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
70625         New file.
70626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
70627         file.
70628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
70629         New file.
70630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
70631         file.
70632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
70633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
70634         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
70635         file.
70636         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
70637         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
70638         file.
70639         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
70640         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
70641         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
70643         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
70644         libc_feholdexcept and libc_fesetenv.
70646 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
70648         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
70650 2013-01-14  David S. Miller  <davem@davemloft.net>
70652         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
70653         (SPARC_ASM_VIS2_IFUNC): Likewise.
70654         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
70655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
70656         use of 'siam' instruction.
70657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
70658         Likewise.
70659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
70660         Likewise.
70661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
70662         Likewise.
70663         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
70664         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
70665         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
70666         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
70667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
70668         file.
70669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
70670         file.
70671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
70672         file.
70673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
70674         file.
70675         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
70676         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
70677         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
70678         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
70679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
70680         new VIS2 routines.
70681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70684         Likewise.
70685         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70686         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70687         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70688         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
70690         routines to libm-sysdep_routines.
70691         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70694         fdim/fdimf to libm-sysdep_routines.
70695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
70696         file.
70697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
70698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
70699         file.
70700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
70701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
70702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
70703         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
70704         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
70705         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
70706         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
70708 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
70710         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
70711         to optimize copies.
70713         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
70714         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70715         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70717         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
70718         local variable MPTWO.
70719         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70720         Likewise.
70722 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70724         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
70725         GLOB_NOESCAPE.
70727 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70729         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
70731 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70733         * manual/pattern.texi (glob_t): Document gl_flags.
70734         (glob64_t): Likewise.
70736 2013-01-11  David S. Miller  <davem@davemloft.net>
70738         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
70739         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
70740         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
70741         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
70742         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
70743         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
70744         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
70745         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
70746         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
70747         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
70748         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
70749         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
70750         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
70752         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70753         sparc V9 rather than using V8 code.
70754         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70755         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70757         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70758         Move to...
70759         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
70760         Here.
70762 2013-01-11  Roland McGrath  <roland@hack.frob.com>
70764         [BZ #14941]
70765         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
70766         not in the main loop.
70767         * configure: Regenerated.
70769 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
70771         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
70772         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
70773         to just #else.
70774         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
70775         [!__GLIBC_HAVE_LONG_LONG] case.
70776         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
70777         condition to just #else.
70778         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
70779         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
70780         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
70781         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
70782         unconditional.
70783         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
70784         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70785         #elif condition to just #else.
70786         * sysdeps/unix/sysv/linux/sys/sysmacros.h
70787         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
70788         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70789         #elif condition to just #else.
70791 2013-01-11  Steve Ellcey  <sellcey@mips.com>
70793         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
70794         (EF_MIPS_ARCH_64): Fix value.
70795         (EF_MIPS_ARCH_32R2): New.
70796         (EF_MIPS_ARCH_64R2): New.
70798 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
70800         * Makeconfig (+link-pie-before-libc): New.
70801         (+link-pie-after-libc): Likewise.
70802         (+link-pie-tests): Likewise.
70803         (+link-pie): Rewritten.
70804         (link-before-libc): Remove $(config-LDFLAGS).
70805         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
70806         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
70807         (config-LDFLAGS): Renamed to ...
70808         (rtld-LDFLAGS): This.
70809         (rtld-tests-LDFLAGS): New macro.
70810         (link-libc-rpath-link): Likewise.
70811         (link-libc-tests-rpath-link): Likewise.
70812         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
70813         (link-libc): Prepand $(link-libc-rpath-link).
70814         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
70815         (test-program-prefix): New macro.
70816         (test-via-rtld-prefix): Likewise.
70817         (test-program-cmd): Likewise.
70818         (host-test-program-cmd): Likewise.
70819         * Makefile ($(common-objpfx)testrun.sh): Replace
70820         $(run-program-prefix) with $(test-program-prefix).
70821         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
70822         $(rtld-LDFLAGS).
70823         ($(common-objpfx)shlib.lds): Likewise.
70824         (build-module-helper): Likewise.
70825         ($(common-objpfx)format.lds): Likewise.
70826         * Rules (binaries-pie-tests): New.
70827         (binaries-pie-notests): Likewise.
70828         (binaries-pie): Rewritten.
70829         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
70830         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
70831         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
70832         (make-test-out): Replace $(host-built-program-cmd) with
70833         $(host-test-program-cmd).
70834         * config.make.in (build-hardcoded-path-in-tests): New variable.
70835         * configure.in (--enable-hardcoded-path-in-tests): New configure
70836         option.
70837         (hardcoded_path_in_tests): New AC_SUBST.
70838         * configure: Regenerated.
70839         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
70840         $(built-program-cmd) with $(test-program-cmd).
70841         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
70842         (test_program_cmd): This.
70843         * elf/Makefile ($(objpfx)order.out): Run test with
70844         $(test-program-prefix).
70845         ($(objpfx)order2.out): Likewise.
70846         ($(objpfx)tst-initorder.out): Likewise.
70847         ($(objpfx)tst-initorder2.out): Likewise.
70848         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
70849         $(test-program-cmd).
70850         ($(objpfx)tst-array1-static.out): Likewise.
70851         ($(objpfx)tst-array2.out): Likewise.
70852         ($(objpfx)tst-array3.out): Likewise.
70853         ($(objpfx)tst-array4.out): Likewise.
70854         ($(objpfx)tst-array5.out): Likewise.
70855         ($(objpfx)tst-array5-static.out): Likewise.
70856         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
70857         $(test-program-cmd).
70858         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
70859         $(run-program-prefix) with $(test-program-prefix).
70860         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
70861         (test_program_prefix): This.
70862         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
70863         $(run-program-prefix) with $(test-program-prefix).
70864         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
70865         (test_program_prefix): This.
70866         * iconvdata/tst-tables.sh: Likewise.
70867         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
70868         $(run-program-prefix) with $(test-program-prefix).
70869         ($(objpfx)tst-translit.out): Likewise.
70870         ($(objpfx)tst-gettext2.out): Likewise.
70871         ($(objpfx)tst-gettext4.out): Likewise.
70872         ($(objpfx)tst-gettext6.out): Likewise.
70873         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
70874         (test_program_prefix): This.
70875         * intl/tst-gettext2.sh: Likewise.
70876         * intl/tst-gettext4.sh  Likewise.
70877         * intl/tst-gettext6.sh: Likewise.
70878         * intl/tst-translit.sh: Likewise.
70879         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
70880         with $(test-program-cmd).
70881         * libio/Makefile ($(objpfx)test-freopen.out): Replace
70882         $(run-program-prefix) with $(test-program-prefix).
70883         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
70884         (test_program_prefix): This.
70885         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
70886         $(run-program-prefix) with $(test-program-prefix).
70887         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
70888         (test_program_prefix): This.
70889         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
70890         * posix/Makefile ($(objpfx)globtest.out): Replace
70891         $(run-via-rtld-prefix) and $(test-wrapper) with
70892         $(test-program-prefix) and $(test-via-rtld-prefix).
70893         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
70894         $(test-program-prefix).
70895         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
70896         $(host-test-program-cmd).
70897         (tst-spawn-ARGS): Likewise.
70898         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
70899         $(test-program-prefix).
70900         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
70901         (test_via_rtld_prefix): This.
70902         (test_wrapper): Renamed to ...
70903         (test_program_prefix): This.
70904         (run_program_prefix): Replaced by test_program_prefix.
70905         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
70906         (test_program_prefix): This.
70907         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
70908         with $(host-test-program-cmd).
70909         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
70910         $(run-program-prefix) with $(test-program-prefix).
70911         ($(objpfx)tst-printf.out): Likewise.
70912         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
70913         $(test-program-cmd).
70914         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
70915         (test_program_prefix): This.
70916         * stdio-common/tst-unbputc.sh: Likewise.
70917         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
70918         $(run-program-prefix) with $(test-program-prefix).
70919         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
70920         (test_program_prefix): This.
70921         * string/Makefile ($(objpfx)tst-svc.out):  Replace
70922         $(built-program-cmd) with $(test-program-cmd).
70924 2013-01-11  Andreas Jaeger  <aj@suse.de>
70926         [BZ #15003]
70927         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
70928         value. Sync with Linux 3.7.
70930 2013-01-10  David S. Miller  <davem@davemloft.net>
70932         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
70933         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70934         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70936 2013-01-10  Roland McGrath  <roland@hack.frob.com>
70938         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
70939         never set.
70940         * configure: Regenerated.
70942 2013-01-10  David S. Miller  <davem@davemloft.net>
70944         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70945         sparc V9 rather than using V8 code.
70946         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70947         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70949 2013-01-10  Roland McGrath  <roland@hack.frob.com>
70951         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
70952         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
70953         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
70954         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
70955         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
70956         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
70957         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
70958         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
70959         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
70960         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
70961         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
70962         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
70963         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
70964         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
70965         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
70966         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
70967         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
70968         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
70969         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
70970         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
70971         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
70972         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
70973         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
70974         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
70975         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
70976         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
70977         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
70979 2013-01-10  David S. Miller  <davem@davemloft.net>
70981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70983 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
70985         * posix/Makefile (tests-static): New variable.
70986         (tests): Add $(tests-static).
70987         (tst-exec-static-ARGS): New variable.
70988         (tst-spawn-static-ARGS): Likewise.
70989         * posix/tst-exec-static.c: New file.
70990         * posix/tst-spawn-static.c: Likewise.
70991         * posix/tst-exec.c: Support run directly.
70992         * posix/tst-spawn.c: Likewise.
70994 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
70996         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
70997         long.
70998         * math/bits/mathcalls.h (llrint): Likewise.
70999         (llround): Likewise.
71000         * stdlib/stdlib.h (struct drand48_data): Likewise.
71001         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
71002         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
71003         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
71004         Likewise.
71005         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
71006         Likewise.
71007         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
71008         (elf_greg_t): Likewise.
71009         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
71010         (__jmp_buf): Likewise.
71011         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
71012         definitions.
71013         (llrint): Likewise, for all definitions.
71014         (llrintl): Likewise.
71016         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
71017         Remove [__GNUC__] condition.
71018         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
71019         condition to just [__USE_ISOC99].
71020         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
71022 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
71024         [BZ #14200]
71025         * sysdeps/unix/sysv/linux/x86/bits/environments.h
71026         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
71027         defined.
71028         (_POSIX_V6_ILP32_OFF32): Likewise.
71029         (_XBS5_ILP32_OFF32): Likewise.
71030         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
71031         (__ILP32_OFFBIG_LDFLAGS): Likewise.
71033 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71035         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
71037         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
71038         doubles __mpexp_twomm1.  Adjust usage.
71039         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
71040         Remove.
71042 2013-01-10  Andreas Schwab  <schwab@suse.de>
71044         [BZ #14964]
71045         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
71046         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
71048 2013-01-09  David S. Miller  <davem@davemloft.net>
71050         [BZ #15003]
71051         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
71052         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
71053         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
71054         (TCP_FASTOPEN): Define.
71055         (tcp_repair_opt): New structure.
71056         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
71057         enum values.
71058         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
71059         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
71060         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
71061         (tcp_cookie_transactions): New structure.
71063 2013-01-09  Anton Blanchard  <anton@samba.org>
71065         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
71066         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
71067         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
71068         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
71070 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
71072         * include/features.h (__USE_ANSI): Remove.
71074 2013-01-09  Roland McGrath  <roland@hack.frob.com>
71076         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
71078         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
71080 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
71082         * sysdeps/s390/fpu/libm-test-ulps: Update.
71084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71086         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
71087         (__acr): Likewise.
71088         (__cpy): Likewise.
71089         (norm): Likewise.
71090         (denorm): Likewise.
71091         (__mp_dbl): Likewise.
71092         (__dbl_mp): Likewise.
71093         (add_magnitudes): Likewise.
71094         (sub_magnitudes): Likewise.
71095         (__add): Likewise.
71096         (__sub): Likewise.
71097         (__mul): Likewise.
71098         (__inv): Likewise.
71099         (__dvd): Likewise.
71100         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
71101         (__acr): Likewise.
71102         (__cpy): Likewise.
71103         (norm): Likewise.
71104         (denorm): Likewise.
71105         (__mp_dbl): Likewise.
71106         (__dbl_mp): Likewise.
71107         (add_magnitudes): Likewise.
71108         (sub_magnitudes): Likewise.
71109         (__add): Likewise.
71110         (__sub): Likewise.
71111         (__mul): Likewise.
71112         (__inv): Likewise.
71113         (__dvd): Likewise.
71114         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
71115         (__acr): Likewise.
71116         (__cpy): Likewise.
71117         (norm): Likewise.
71118         (denorm): Likewise.
71119         (__mp_dbl): Likewise.
71120         (__dbl_mp): Likewise.
71121         (add_magnitudes): Likewise.
71122         (sub_magnitudes): Likewise.
71123         (__add): Likewise.
71124         (__sub): Likewise.
71125         (__mul): Likewise.
71126         (__inv): Likewise.
71127         (__dvd): Likewise.
71129 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
71131         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
71132         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
71133         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
71134         2 && __USE_EXTERN_INLINES]: Likewise.
71136 2013-01-08  Andreas Jaeger  <aj@suse.de>
71138         [BZ #14985]
71139         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
71140         Remove.
71141         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
71142         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
71144 2013-01-07  Anton Blanchard  <anton@samba.org>
71146         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
71147         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
71148         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
71149         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
71150         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
71151         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
71152         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
71153         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
71154         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71155         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71156         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71157         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71158         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
71159         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
71160         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
71161         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71162         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71163         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
71164         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
71165         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
71166         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
71167         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
71168         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71169         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
71170         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
71171         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
71172         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71173         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
71174         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
71175         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
71176         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
71177         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71178         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71179         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
71180         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
71181         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71182         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
71183         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71184         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
71185         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
71186         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
71187         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71188         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
71190 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
71192         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
71193         (__MALLOC_PMT): Likewise.
71194         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
71195         [__GNUC__], only on [_LIBC].
71196         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
71197         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
71198         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
71199         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
71200         forward declaration.
71201         (realloc_hook_ini): Likewise.
71202         (memalign_hook_ini): Likewise.
71203         (__libc_memalign): Do not use __MALLOC_PMT in variable
71204         declaration.
71205         (__libc_valloc): Likewise.
71206         (__libc_pvalloc): Likewise.
71207         (__libc_calloc): Likewise.
71208         (__posix_memalign): Likewise.
71210         [BZ #14996]
71211         * math/s_casinh.c: Include <float.h>.
71212         (__casinh): Do not do computation with squaring and square root
71213         for large arguments.
71214         * math/s_casinhf.c: Include <float.h>.
71215         (__casinhf): Do not do computation with squaring and square root
71216         for large arguments.
71217         * math/s_casinhl.c: Include <float.h>.
71218         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
71219         (__casinhl): Do not do computation with squaring and square root
71220         for large arguments.
71221         * math/libm-test.inc (casin_test): Add more tests.
71222         (casinh_test): Likewise.
71223         * sysdeps/i386/fpu/libm-test-ulps: Update.
71224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71226 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
71228         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
71229         (__x86_64_raw_data_cache_size): Likewise.
71230         (__x86_64_data_cache_size_half): Likewise.
71231         (__x86_64_raw_data_cache_size_half): Likewise.
71232         (__x86_64_shared_cache_size): Likewise.
71233         (__x86_64_raw_shared_cache_size): Likewise.
71234         (__x86_64_shared_cache_size_half): Likewise.
71235         (__x86_64_raw_shared_cache_size_half): Likewise.
71236         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
71237         to ...
71238         (__x86_data_cache_size): This.
71239         (__x86_64_raw_data_cache_size): Renamed to ...
71240         (__x86_raw_data_cache_size): This.
71241         (__x86_64_data_cache_size_half): Renamed to ...
71242         (__x86_data_cache_size_half): This.
71243         (__x86_64_raw_data_cache_size_half): Renamed to ...
71244         (__x86_raw_data_cache_size_half): This.
71245         (__x86_64_shared_cache_size): Renamed to ...
71246         (__x86_shared_cache_size): This.
71247         (__x86_64_raw_shared_cache_size): Renamed to ...
71248         (__x86_raw_shared_cache_size): This.
71249         (__x86_64_shared_cache_size_half): Renamed to ...
71250         (__x86_shared_cache_size_half): This.
71251         (__x86_64_raw_shared_cache_size_half): Renamed to ...
71252         (__x86_raw_shared_cache_size_half): This.
71253         * sysdeps/x86_64/memcpy.S: Updated.
71254         * sysdeps/x86_64/memset.S: Likewise.
71255         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
71256         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71257         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71259 2013-01-04  David S. Miller  <davem@davemloft.net>
71261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71263 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
71265         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
71266         1 to avoid redefinition warning.
71267         (__USE_GNU): Don't define.
71268         (init_signaling_nan): Protoize.
71270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71272 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71274         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
71275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
71276         (__cpymn): Likewise.
71277         (norm): Remove commented code.
71278         (denorm): Likewise.
71279         (__mp_dbl): Likewise.
71280         (__inv): Likewise.
71281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
71282         (__cpymn): Likewise.
71283         (norm): Remove commented code.
71284         (denorm): Likewise.
71285         (__mp_dbl): Likewise.
71286         (__inv): Likewise.
71288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
71289         mp_no value for 1.0 and 2.0.
71290         (norm): Use RADIXI instead of radixi.d.
71291         (denorm): Likewise.
71292         (__mul): Use 0.0 instead of zero.d.
71293         * sysdeps/powerpc/powerpc64/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.
71299 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
71301         [BZ #14994]
71302         * math/s_casinh.c (__casinh): Reduce finite argument to first
71303         quadrant then set signs of results at the end.
71304         * math/s_casinhf.c (__casinhf): Likewise.
71305         * math/s_casinhl.c (__casinhl): Likewise.
71306         * math/libm-test.inc (casin_test): Add more tests.
71307         (casinh_test): Likewise.
71308         * sysdeps/i386/fpu/libm-test-ulps: Update.
71309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71311 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71313         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
71315         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
71317         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
71318         declarations.
71319         (denorm): Likewise.
71320         (__mp_dbl): Likewise.
71321         (__inv): Likewise.
71323         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
71324         and adjust the header comment.
71326         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
71327         variable name from declaration.
71329 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
71331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71332         Initialize COMMON_CPUID_INDEX_7 element.
71333         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
71334         (CPUID_RTM): Likewise.
71335         (HAS_RTM): Likewise.
71336         (COMMON_CPUID_INDEX_7): New enum.
71338 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
71340         [BZ #14981]
71341         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
71342         size is zero, record memory as freed.
71344 2013-01-03  Andreas Jaeger  <aj@suse.de>
71346         * po/ia.po: Add new Interlingua translation.
71348 2012-01-03  Allan McRae  <allan@archlinux.org>
71350         * locale/programs/localedef.c: Fix description of '--posix' flag.
71352 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
71354         * NEWS: Update dates in second copyright notice.
71355         * README: Update copyright dates in example.
71356         * manual/libc.texinfo: Update copyright dates.
71357         * scripts/test-installation.pl: Update copyright date in --version
71358         output.
71360         * hurd/ctty-input.c: Fix copyright notice formatting.
71361         * hurd/ctty-output.c: Likewise.
71362         * hurd/dtable.c: Likewise.
71363         * hurd/hurd-raise.c: Likewise.
71364         * hurd/hurdprio.c: Likewise.
71365         * hurd/msgportdemux.c: Likewise.
71366         * misc/sys/file.h: Likewise.
71367         * misc/sys/ioctl.h: Likewise.
71368         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
71369         * sysdeps/mach/hurd/chdir.c: Likewise.
71370         * sysdeps/mach/hurd/fchdir.c: Likewise.
71371         * sysdeps/mach/hurd/rename.c: Likewise.
71372         * sysdeps/mach/hurd/rmdir.c: Likewise.
71373         * sysdeps/mach/hurd/seekdir.c: Likewise.
71374         * sysdeps/mach/hurd/setsid.c: Likewise.
71375         * sysdeps/posix/wait3.c: Likewise.
71377         * All files with FSF copyright notices: Update copyright dates
71378         using scripts/update-copyrights.
71379         * intl/plural.c: Regenerated.
71380         * locale/programs/charmap-kw.h: Likewise.
71381         * locale/programs/locfile-kw.h: Likewise.
71383 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
71385         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
71386         four values.
71388         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
71389         calculation loop and add branch prediction.
71391         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
71392         check access beyond bounds of m1np.
71394         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71395         MPTWO.
71396         (__inv): Remove local variable MPTWO to use the global
71397         constant.
71398         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
71399         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71400         variable MPTWO.
71401         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
71402         MP3HALFS static const.
71404 2013-01-01  David S. Miller  <davem@davemloft.net>
71406         * po/ca.po: Update from translation team.
71408 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
71410         * scripts/update-copyrights: New file.
71411         * Makeconfig: Reformat copyright notice.
71412         * ctype/ctype.h: Likewise.
71413         * debug/swprintf_chk.c: Likewise.
71414         * elf/dl-cache.c: Likewise.
71415         * elf/dl-debug.c: Likewise.
71416         * elf/dl-object.c: Likewise.
71417         * grp/initgroups.c: Likewise.
71418         * hurd/Makefile: Likewise.
71419         * hurd/hurd/signal.h: Likewise.
71420         * hurd/hurdfault.c: Likewise.
71421         * hurd/hurdioctl.c: Likewise.
71422         * hurd/hurdlookup.c: Likewise.
71423         * hurd/intr-msg.c: Likewise.
71424         * iconv/gconv_open.c: Likewise.
71425         * libio/swprintf.c: Likewise.
71426         * locale/lc-ctype.c: Likewise.
71427         * locale/nl_langinfo.c: Likewise.
71428         * mach/Machrules: Likewise.
71429         * mach/Makefile: Likewise.
71430         * malloc/obstack.h: Likewise.
71431         * manual/Makefile: Likewise.
71432         * manual/tsort.awk: Likewise.
71433         * misc/bits/stab.def: Likewise.
71434         * nis/nis_print_group_entry.c: Likewise.
71435         * nis/nis_table.c: Likewise.
71436         * nis/nss_compat/compat-pwd.c: Likewise.
71437         * nis/nss_compat/compat-spwd.c: Likewise.
71438         * po/Makefile: Likewise.
71439         * posix/fnmatch.c: Likewise.
71440         * posix/regex.h: Likewise.
71441         * resolv/Makefile: Likewise.
71442         * resolv/nss_dns/dns-network.c: Likewise.
71443         * resolv/res_hconf.c: Likewise.
71444         * scripts/gen-sorted.awk: Likewise.
71445         * soft-fp/soft-fp.h: Likewise.
71446         * stdio-common/printf.h: Likewise.
71447         * stdlib/monetary.h: Likewise.
71448         * stdlib/random.c: Likewise.
71449         * stdlib/random_r.c: Likewise.
71450         * sysdeps/generic/Makefile: Likewise.
71451         * sysdeps/gnu/Makefile: Likewise.
71452         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71453         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71454         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71455         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71456         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71457         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71458         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71459         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71460         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71461         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71462         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71463         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71464         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71465         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71466         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
71467         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71468         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71469         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71470         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71471         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71472         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71473         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71474         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71475         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
71476         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
71477         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71478         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
71479         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
71480         * sysdeps/mach/hurd/errnos.awk: Likewise.
71481         * sysdeps/mach/hurd/fork.c: Likewise.
71482         * sysdeps/mach/hurd/getcwd.c: Likewise.
71483         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
71484         * sysdeps/mach/hurd/mmap.c: Likewise.
71485         * sysdeps/mach/hurd/utimes.c: Likewise.
71486         * sysdeps/mach/hurd/xmknod.c: Likewise.
71487         * sysdeps/posix/profil.c: Likewise.
71488         * sysdeps/posix/readdir_r.c: Likewise.
71489         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71490         * sysdeps/powerpc/bits/setjmp.h: Likewise.
71491         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
71492         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
71493         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71494         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71495         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71496         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71498         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71499         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71500         * sysdeps/pthread/lio_listio.c: Likewise.
71501         * sysdeps/sparc/dl-procinfo.h: Likewise.
71502         * sysdeps/unix/i386/sysdep.S: Likewise.
71503         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
71504         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
71505         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
71506         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
71507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71508         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
71509         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
71510         * sysdeps/unix/sysv/linux/speed.c: Likewise.
71511         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
71512         * sysdeps/wordsize-32/divdi3.c: Likewise.
71513         * time/sys/time.h: Likewise.
71514         * wcsmbs/Makefile: Likewise.
71516 2013-01-01  David S. Miller  <davem@davemloft.net>
71518         * po/fr.po: Update from translation team.
71520         * catgets/gencat.c: Update copyright year.
71521         * csu/version.c: Likewise.
71522         * debug/catchsegv.sh: Likewise.
71523         * debug/pcprofiledump.c: Likewise.
71524         * debug/xtrace.sh: Likewise.
71525         * elf/ldconfig.c: Likewise.
71526         * elf/ldd.bash.in: Likewise.
71527         * elf/pldd.c: Likewise.
71528         * elf/sotruss.ksh: Likewise.
71529         * elf/sprof.c: Likewise.
71530         * iconv/iconv_prog.c: Likewise.
71531         * iconv/iconvconfig.c: Likewise.
71532         * locale/programs/locale.c: Likewise.
71533         * locale/programs/localedef.c: Likewise.
71534         * login/programs/pt_chown.c: Likewise.
71535         * malloc/memusage.sh: Likewise.
71536         * malloc/memusagestat.c: Likewise.
71537         * malloc/mtrace.pl: Likewise.
71538         * nscd/nscd.c: Likewise.
71539         * nss/getent.c: Likewise.
71540         * nss/makedb.c: Likewise.
71541         * posix/getconf.c: Likewise.
71543 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
71545         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
71546         numbers.
71548 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
71550         * math/bits/mathcalls.h (modf): Use __nonnull.
71552 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71554         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
71555         (split): Use macro CN instead of the bare value.
71556         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
71557         could be used.
71558         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
71559         instead of the bare value.
71560         (power1): Likewise.
71562 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71564         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
71565         __ATAN_TWOM.
71566         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71568         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
71569         their values.
71570         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71571         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
71572         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
71573         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71575 2012-12-28  Andreas Jaeger  <aj@suse.de>
71577         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
71578         values are from Linux 3.7.
71580         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
71581         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
71583 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71585         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
71586         TRUE case.
71588         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
71589         (norm): Likewise.
71590         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
71591         variables with preprocessor constants.
71592         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71593         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71594         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71596 2012-12-27  Bruno Haible  <bruno@clisp.org>
71598         [BZ #14317]
71599         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
71600         only if needed.
71602 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
71604         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
71605         and use variable directly.
71606         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
71608         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71609         MPONE.
71610         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
71611         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71612         variable MPONE.
71613         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
71614         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
71615         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
71616         include directive.  Remove local variable MPONE.
71617         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
71618         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
71619         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71621 2012-12-25  David S. Miller  <davem@davemloft.net>
71623         * version.h (RELEASE): Set to "development".
71624         (VERSION): Set to "2.17.90".
71625         * NEWS: Add 2.18 section.
71627 2012-12-21  David S. Miller  <davem@davemloft.net>
71629         * po/hr.po: Update from translation team.
71631 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71633         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
71635 2012-12-19  Steve Ellcey  <sellcey@mips.com>
71637         * NEWS:  Mention new memcpy for MIPS.
71639 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71641         * manual/contrib.texi (Contributors): Spelling correction.
71643 2012-12-15  David S. Miller  <davem@davemloft.net>
71645         * po/ru.po: Update from translation team.
71647 2012-12-13  David S. Miller  <davem@davemloft.net>
71649         * NEWS: Mention IFUNC testsuite enhancements.
71651         * po/pl.po: Update from translation team.
71652         * po/bg.po: Likewise.
71654         * manual/contrib.texi (Contributors): Update entries for Hongjiu
71655         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
71657 2012-12-11  David S. Miller  <davem@davemloft.net>
71659         * po/sv.po: Update from translation team.
71661         * po/vi.po: Update from translation team.
71663         * po/cs.po: Update from translation team.
71665         * po/de.po: Update from translation team.
71666         * po/eo.po: Likewise.
71667         * po/nl.po: Likewise.
71669 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
71671         [BZ #14246]
71672         * manual/argp.texi (Argp Helper Functions): Move node to follow
71673         Argp Parsing State.
71675         [BZ #14872]
71676         * manual/conf.texi (Limits on File System Capacity): Mention if
71677         terminating null is included in the max size.
71679 2012-12-10  Andreas Jaeger  <aj@suse.de>
71681         * po/cs.po: Update from translation team.
71683 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
71685         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
71686         void pointer and cast to uintptr_t.
71687         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
71688         path.
71689         * sysdeps/s390/s390-64/memcpy.S: Likewise.
71690         * sysdeps/s390/s390-64/memset.S: Likewise.
71692 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
71694         [BZ #14833]
71695         * menual/message.texi (Message Translation): Fix typos.
71696         (Helper programs for gettext): Likewise.
71698 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
71700         [BZ #14898]
71701         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
71702         Change to -1.
71704 2012-12-07  David S. Miller  <davem@davemloft.net>
71706         * po/libc.pot: Update.
71708 2012-12-07  Richard Henderson  <rth@redhat.com>
71710         [BZ #10114]
71711         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
71712         normal/normal case to before the switch.
71713         (_FP_DIV): Likewise.
71715 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
71716             Mike Frysinger  <vapier@gentoo.org>
71718         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
71719         check for __NR_fadvise64_64.
71721 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
71723         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
71724         0, not just to plain "0" as a statement.
71725         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
71726         with cw.
71728 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
71730         * NEWS: Use sourceware.org in Bugzilla URL.
71732 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
71735         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71737         * stdio-common/tst-put-error.c (do_test): Add newline to the
71738         padded test to ensure flush.
71740 2012-12-05  Jeff Law  <law@redhat.com>
71742         * sunrpc/etc.rpc (fedfs_admin): Add entry.
71744 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
71746         * README: Don't refer to ports add-on as distributed separately.
71747         Mention AArch64 in list of systems supported in the ports add-on.
71749         * LICENSES: Add more non-FSF copyright and license notices.
71751         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
71752         ((unused)).
71754         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
71756         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
71757         10000 as width of padded output.
71759 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71761         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
71763         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
71764         variable LX with __attribute__ ((unused)).
71765         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
71766         Likewise.
71767         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
71768         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71769         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
71770         with __attribute__ ((unused)).
71772 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
71774         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
71776 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71778         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
71779         (CFLAGS-nldbl-acos.c): New variable.
71780         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
71781         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
71782         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
71783         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
71784         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
71785         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
71786         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
71787         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
71788         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
71789         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
71790         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
71791         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
71792         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
71793         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
71794         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
71795         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
71796         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
71797         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
71798         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
71799         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
71800         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
71801         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
71802         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
71803         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
71804         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
71805         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
71806         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
71807         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
71808         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
71809         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
71810         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
71811         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
71812         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
71813         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
71814         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
71815         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
71816         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
71817         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
71818         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
71819         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
71820         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
71821         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
71822         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
71823         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
71824         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
71825         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
71826         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
71827         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
71828         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
71829         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
71830         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
71831         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
71832         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
71833         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
71834         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
71835         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
71836         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
71837         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
71838         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
71839         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
71840         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
71841         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
71842         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
71843         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
71844         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
71845         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
71846         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
71847         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
71848         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
71849         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
71850         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
71851         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
71852         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
71853         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
71854         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
71855         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
71856         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
71857         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
71858         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
71859         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
71860         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
71861         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
71862         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
71863         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
71864         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
71865         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
71866         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
71867         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
71868         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
71869         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
71870         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
71871         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
71872         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
71873         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
71874         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
71875         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
71876         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
71878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71879         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71881         [BZ #14914]
71882         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
71883         whole low double instead of just low 47 bits when splitting values
71884         into two parts.
71886 2012-12-03  Allan McRae  <allan@archlinux.org>
71888         * manual/stdio.texi (Predefined Printf Handlers): Remove
71889         @hsep and @vsep usage.
71891 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
71893         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
71894         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
71896 2012-12-03  Jeff Law  <law@redhat.com>
71898         * time/sys/time.h (settimeofday): Do not mark TV argument
71899         as __nonnull.
71901 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
71903         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
71904         when currently writing and seek to current position when not.
71905         * libio/Makefile (tests): Remove bug-fclose1.
71906         * libio/bug-fclose1.c: Delete.
71908 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
71910         * manual/arith.texi (feenableexcept): Fix typo.
71911         (fedisableexcept): Likewise.
71913 2012-11-30  Roland McGrath  <roland@hack.frob.com>
71915         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
71916         second, differently-typed declaration, rather than a cast.
71918 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
71920         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
71921         * include/rpc/svc.h: ... here.
71923 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
71925         [BZ #13013]
71926         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
71927         depending n and resplen2 to catch cases where answer
71928         equals answerp2.
71930 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
71932         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
71933         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
71935 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
71937         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
71939 2012-11-29  Roland McGrath  <roland@hack.frob.com>
71941         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
71943 2012-11-28  Jeff Law  <law@redhat.com>
71945         [BZ #13761]
71946         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
71947         dataset_temporary.  Track alloca usage into alloca_used.
71948         If dataset is large allocate and release it via malloc/free.
71950 2012-06-04  Florian Weimer  <fweimer@redhat.com>
71952         [BZ #14197]
71953         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
71955 2012-11-28  David S. Miller  <davem@davemloft.net>
71957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71959 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
71961         [BZ #14803]
71962         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
71963         of pi/2 rounded to nearest to 64 bits.
71964         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
71965         nearest to 64 bits.
71966         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
71967         bits.
71969 2012-11-28  Jeff Law <law@redhat.com>
71970             Martin Osvald <mosvald@redhat.com>
71972         [BZ #14889]
71973         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
71974         * sunrpc/svc.c: Include time.h.
71975         (__svc_accept_failed): New function.
71976         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
71977         any reason other than EINTR, call __svc_accept_failed.
71978         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
71979         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
71981 2012-11-28  Andreas Schwab  <schwab@suse.de>
71983         * scripts/abilist.awk: Also handle indirect functions in .opd
71984         section.
71986 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
71988         [BZ #13881]
71989         * sysdeps/x86/fpu/powl_helper.c: New file.
71990         * sysdeps/x86/fpu/Makefile: Likewise.
71991         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
71992         (p3): New object.
71993         (__ieee754_powl): Use __powl_helper for finite arguments except
71994         integer exponents below 8.
71995         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
71996         (p3): New object.
71997         (__ieee754_powl): Use __powl_helper for finite arguments except
71998         integer exponents below 8.
71999         * math/libm-test.inc (pow_test): Add more tests and enable some
72000         previously disabled tests.
72001         * sysdeps/i386/fpu/libm-test-ulps: Update.
72002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72004 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72005             Carlos O'Donell  <carlos_odonell@mentor.com>
72007         * nss/makedb.c (is_prime): Assert that input is odd and greater
72008         than 4.  Note that fact in a comment too.
72009         (next_prime): Add 4 to input.
72011 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
72013         [BZ #11741]
72014         * libio/Makefile (tests): Add test case tst-fwrite-error.
72015         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
72016         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
72017         * libio/tst-fwrite-error.c: New test case.
72019 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
72021         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
72022         before casting to void *.
72023         * include/libc-internal.h (__pointer_type): New macro.
72024         (__integer_if_pointer_type_sub): Likewise.
72025         (__integer_if_pointer_type): Likewise.
72026         (cast_to_integer): Likewise.
72027         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
72028         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
72029         before casting to atomic64_t.
72030         (atomic_exchange_acq): Likewise.
72031         (__arch_exchange_and_add_body): Likewise.
72032         (__arch_add_body): Likewise.
72033         (atomic_add_negative): Likewise.
72034         (atomic_add_zero): Likewise.
72036 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
72038         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
72039         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
72040         (add_fdes): Likewise.
72041         (linear_search_fdes): Likewise.
72042         (binary_search_unencoded_fdes): Likewise.
72044 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
72046         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
72048 2012-11-24  Adam Conrad  <adconrad@0c3.net>
72050         * configure.in: Autodetect C++ header directories.
72051         * configure: Regenerated.
72053 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
72055         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
72057 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
72059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72061 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
72063         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
72064         LDBL_MANT_DIG == 106]: Disable some tests.
72065         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72066         Likewise.
72067         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72068         Likewise.
72070         [BZ #14871]
72071         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
72072         input for small inputs.  Return +/- pi/2 for large inputs.
72073         * math/libm-test.inc (atan_test): Add more tests.
72075         * sysdeps/generic/unwind-dw2-fde-glibc.c
72076         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
72077         __attribute__ ((unused)).
72079         [BZ #14645]
72080         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
72081         x * y if x and y are nonzero and z is zero.
72083         [BZ #14811]
72084         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
72085         nonzero exponents with absolute value below 0x1p-117 to +/-
72086         0x1p-117.
72088         [BZ #14869]
72089         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
72090         up arguments below 2**-450, not just those below 2**-500.
72091         * math/libm-test.inc (hypot_test): Add another test.
72093         [BZ #14868]
72094         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
72095         Return a+b for ratio over 2**120, not 2**60.
72096         * math/libm-test.inc (hypot_test): Add another test.
72098         * math/libm-test.inc (clog_test): Use
72099         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
72100         (clog10_test): Likewise.
72102         [BZ #6778]
72103         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
72105 2012-11-22  Andreas Schwab  <schwab@suse.de>
72107         * sysdeps/i386/fpu/libm-test-ulps: Update.
72109 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
72111         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
72112         printf output with newline.
72114 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
72116         [BZ #14865]
72117         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
72118         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
72119         -z nodlopen, -z initfirst and -z execstack support.
72120         * configure: Regenerated.
72122         * elf/elf.h (DF_1_NODIRECT): New macro.
72123         (DF_1_IGNMULDEF): Likewise.
72124         (DF_1_NOKSYMS): Likewise.
72125         (DF_1_NOHDR): Likewise.
72126         (DF_1_EDITED): Likewise.
72127         (DF_1_NORELOC): Likewise.
72128         (DF_1_SYMINTPOSE): Likewise.
72129         (DF_1_GLOBAUDIT): Likewise.
72130         (DF_1_SINGLETON): Likewise.
72131         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
72132         DT_1_SUPPORTED_MASK bits.
72133         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
72135 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
72137         * sysdeps/unix/make-syscalls.sh: Document prefixes.
72139 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
72141         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
72142         macro.
72144         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
72145         (sendmmsg): Move declarations...
72146         * socket/sys/socket.h: ... here.
72147         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
72148         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
72149         include it from...
72150         * socket/recvmmsg.c: ... this new file.
72151         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
72152         (sendmmsg): Rename to __sendmmsg, create weak alias and make
72153         definition of __sendmmsg hidden.
72154         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
72155         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
72156         Move ENOSYS stub into and include it from...
72157         * socket/sendmmsg.c: ... this new file.
72158         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
72159         (sysdep_routines): Move recvmmsg and sendmmsg...
72160         * socket/Makefile (routines): ... here.
72161         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
72162         (GLIBC_PRIVATE): Add __sendmmsg.
72163         * include/sys/socket.h (__sendmmsg): Add declarations.
72164         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
72165         sendmmsg.
72167 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
72169         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
72170         variable I1 with __attribute__ ((unused)).
72171         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72173 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
72175         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
72176         DUMMY variables with __attribute__ ((unused)).
72178         * bits/byteswap.h: Include <bits/types.h>.
72179         (__bswap_64): Use __uint64_t instead of unsigned long long int.
72181 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
72183         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
72184         string_t.  Do not manually set errno.
72185         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
72186         length with __strnlen.  Make sure to both set errno and return it on
72187         failure.
72189 2012-11-19  David S. Miller  <davem@davemloft.net>
72191         With help from Joseph Myers.
72192         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
72193         very large arguments properly.
72194         * math/libm-test.inc (atan_test): New tests.
72195         (atan2_test): New tests.
72196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72197         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72199 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
72201         [BZ #14856]
72202         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
72203         Define to 3.
72205         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
72206         [POSIX] (EADDRNOTAVAIL): Likewise.
72207         [POSIX] (EAFNOSUPPORT): Likewise.
72208         [POSIX] (EALREADY): Likewise.
72209         [POSIX] (ECONNABORTED): Likewise.
72210         [POSIX] (ECONNREFUSED): Likewise.
72211         [POSIX] (ECONNRESET): Likewise.
72212         [POSIX] (EDESTADDRREQ): Likewise.
72213         [POSIX] (EDQUOT): Likewise.
72214         [POSIX] (EHOSTUNREACH): Likewise.
72215         [POSIX] (EIDRM): Likewise.
72216         [POSIX] (EISCONN): Likewise.
72217         [POSIX] (ELOOP): Likewise.
72218         [POSIX] (EMULTIHOP): Likewise.
72219         [POSIX] (ENETDOWN): Likewise.
72220         [POSIX] (ENETUNREACH): Likewise.
72221         [POSIX] (ENOBUFS): Likewise.
72222         [POSIX] (ENODATA): Likewise.
72223         [POSIX] (ENOLINK): Likewise.
72224         [POSIX] (ENOMSG): Likewise.
72225         [POSIX] (ENOPROTOOPT): Likewise.
72226         [POSIX] (ENOSR): Likewise.
72227         [POSIX] (ENOSTR): Likewise.
72228         [POSIX] (ENOTCONN): Likewise.
72229         [POSIX] (ENOTSOCK): Likewise.
72230         [POSIX] (EOPNOTSUPP): Likewise.
72231         [POSIX] (EOVERFLOW): Likewise.
72232         [POSIX] (EPROTO): Likewise.
72233         [POSIX] (EPROTONOSUPPORT): Likewise.
72234         [POSIX] (EPROTOTYPE): Likewise.
72235         [POSIX] (ESTALE): Likewise.
72236         [POSIX] (ETIME): Likewise.
72237         [POSIX] (ETXTBSY): Likewise.
72238         [POSIX] (EWOULDBLOCK): Likewise.
72239         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
72240         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
72241         [POSIX] (SEEK_CUR): Likewise.
72242         [POSIX] (SEEK_END): Likewise.
72243         [POSIX || UNIX98] (mode_t): Do not require.
72244         [POSIX] (off_t): Likewise.
72245         [POSIX] (pid_t): Likewise.
72246         [POSIX] (sys/stat.h): Do not allow header.
72247         [POSIX] (unistd.h): Likewise.
72248         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
72249         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
72250         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
72251         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
72252         require.
72253         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
72254         sigevent): Specify elements.
72255         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
72256         entry.
72257         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
72258         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
72260         * conform/data/cpio.h-data [POSIX]: Disable whole file.
72261         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
72262         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
72263         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
72264         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
72265         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
72266         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
72267         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
72268         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
72269         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
72270         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
72271         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
72272         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
72273         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
72274         Likewise.
72275         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
72276         Likewise.
72277         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
72278         Likewise.
72279         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
72280         Likewise.
72281         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
72282         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
72283         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
72284         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
72285         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
72286         Specify lower bound on value.
72287         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
72288         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
72289         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
72290         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
72291         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
72292         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
72293         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
72294         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
72295         value.
72296         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
72297         as optional.
72298         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
72299         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
72300         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
72301         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
72302         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
72303         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
72304         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
72305         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
72306         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
72307         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
72308         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
72309         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
72310         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
72311         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
72312         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
72313         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
72314         entry.
72315         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
72316         optional.
72317         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
72318         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
72319         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
72320         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
72321         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
72322         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
72323         Likewise.
72324         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
72325         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
72326         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
72327         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
72328         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
72329         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
72330         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
72331         as optional.
72332         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
72333         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
72334         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
72335         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
72336         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
72337         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
72338         specify as optional.
72339         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
72340         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
72341         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
72342         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
72343         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
72344         [XPG3] (NL_LANGMAX): Likewise.
72345         [POSIX || XPG3] (NL_MSGMAX): Likewise.
72346         [POSIX || XPG3] (NL_NMAX): Likewise.
72347         [POSIX || XPG3] (NL_SETMAX): Likewise.
72348         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
72349         [XPG3] (NZERO): Likewise.
72350         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
72351         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
72352         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
72353         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
72354         (REG_ERANGE): Expect.
72355         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
72356         optional-constant.
72357         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
72358         Use (void) in prototype.
72359         [POSIX] (*_t): Allow.
72360         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
72361         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
72362         (WRDE_BADVAL): Expect.
72364         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
72365         expect.
72366         [XPG3 || XPG4] (O_RSYNC): Likewise.
72367         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
72368         Likewise.
72369         [XPG3 || XPG4] (pthread_sigmask): Likewise.
72370         [XPG3 || XPG4] (sigqueue): Likewise.
72371         [XPG3 || XPG4] (sigtimedwait): Likewise.
72372         [XPG3 || XPG4] (sigwaitinfo): Likewise.
72373         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
72374         [XPG3 || XPG4] (vsnprintf): Likewise.
72375         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
72376         Likewise.
72377         [XPG3 || XPG4] (blksize_t): Likewise.
72378         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
72379         Likewise.
72380         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
72381         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
72382         [XPG3 || XPG4] (struct itimerspec): Likewise.
72383         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
72384         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
72385         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
72386         [XPG3 || XPG4] (clockid_t): Likewise.
72387         [XPG3 || XPG4] (timer_t): Likewise.
72388         [XPG3 || XPG4] (clock_getres): Likewise.
72389         [XPG3 || XPG4] (clock_gettime): Likewise.
72390         [XPG3 || XPG4] (clock_settime): Likewise.
72391         [XPG3 || XPG4] (nanosleep): Likewise.
72392         [XPG3 || XPG4] (timer_create): Likewise.
72393         [XPG3 || XPG4] (timer_delete): Likewise.
72394         [XPG3 || XPG4] (timer_gettime): Likewise.
72395         [XPG3 || XPG4] (timer_getoverrun): Likewise.
72396         [XPG3 || XPG4] (timer_settime): Likewise.
72397         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
72398         [XPG3 || XPG4] (getlogin_r): Likewise.
72399         [XPG3 || XPG4] (pread): Likewise.
72400         [XPG3 || XPG4] (pthread_atfork): Likewise.
72401         [XPG3 || XPG4] (pwrite): Likewise.
72403         [BZ #14835]
72404         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
72405         <bits/siginfo.h>.
72407 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
72409         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
72410         finalizing MALLSTREAM.
72412         * sysdeps/mach/hurd/syncfs.c: New file.
72414 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
72416         [BZ #14719]
72417         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
72418         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
72419         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
72420         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
72421         (_nss_dns_gethostbyname4_r): Likewise.
72422         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
72423         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
72425 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
72427         [BZ #13763]
72428         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
72430 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
72432         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
72433         * elf/cache.c (print_entry): Print ",AArch64" for
72434         FLAG_AARCH64_LIB64
72436         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
72437         * elf/cache.c (print_entry): Print ",hard-float" for
72438         FLAG_ARM_LIBHF.
72440 2012-11-18  David S. Miller  <davem@davemloft.net>
72442         With help from Joseph Myers.
72443         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
72444         cutoff to 2**-13.
72445         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
72446         cutoff to 2**-25.
72447         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
72448         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
72449         small.
72450         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
72451         * math/libm-test.inc (y0_test): New tests.
72452         (y1_test): New tests.
72453         * sysdeps/i386/fpu/libm-test-ulps: Update.
72454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72457 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
72459         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
72460         64-bit targets.
72461         * configure: Regenerated.
72463 2012-11-17  David S. Miller  <davem@davemloft.net>
72465         [BZ #14811]
72466         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
72467         nonzero exponents with absolute value below 0x1p-128 to +/-
72468         0x1p-128.
72470 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
72472         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
72474         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
72476         * posix/getconf-speclist.c: New file.
72477         * posix/posix-envs.def: Likewise.
72478         * posix/confstr.c (START_ENV_GROUP): New macro.
72479         (END_ENV_GROUP): Likewise.
72480         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72481         (KNOWN_PRESENT_ENV_STRING): Likewise.
72482         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72483         (UNKNOWN_ENVIRONMENT): Likewise.
72484         (confstr): Include posix-envs.def instead of handling
72485         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
72486         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
72487         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
72488         (END_ENV_GROUP): Likewise.
72489         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72490         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72491         (UNKNOWN_ENVIRONMENT): Likewise.
72492         (__sysconf): Include posix-envs.def instead of handling associated
72493         cases directly here.
72494         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
72495         preprocessing getconf-speclist.c rather than running getconf or
72496         generating empty file.
72498 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
72500         * scripts/check-local-headers.sh: Ignore 'mach' headers.
72502 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
72504         [BZ #14672]
72505         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
72507 2012-11-16  David S. Miller  <davem@davemloft.net>
72509         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
72510         smaller than LDBL_EPSILON/2.0L, just return xm1.
72512 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
72514         * elf/tst-array1.c (init): Set constructor priority to 1000.
72515         (fini): Set destructor priority to 1000.
72516         * elf/tst-array2dep.c: Likewise.
72518 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72520         [BZ #11741]
72521         * libio/fileops.c (_IO_new_file_write): Correctly return error.
72522         (_IO_new_file_xsputn): Also return EOF if none of the input
72523         data was written when overflow failed.
72524         * libio/iopadn.c (_IO_padn): Likewise.
72525         * libio/iowpadn.c (_IO_wpadn): Likewise.
72526         * stdio-common/tst-put-error.c: Add copyright notice.
72527         (do_test): Add case for printing padded string.
72528         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
72529         _IO_padn returned error.
72530         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
72531         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
72532         return EOF.
72534 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72536         * libio/libioP.h: Add comment note that the references to C++
72537         bits are now obsolete.
72539 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72541         * math/libm-test.inc (check_complex): Use asprintf.
72543 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
72545         * debug/pcprofiledump.c (print_version): Update copyright year.
72546         * malloc/memusagestat.c (print_version): Likewise.
72548 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
72550         [BZ #14831]
72551         * elf/Makefile (tests): Add tst-audit8.
72552         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
72553         ($(objpfx)tst-audit8.out): New target.
72554         (tst-audit8-ENV): New variable.
72555         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
72556         audit if l_reloc_result is NULL.
72557         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
72558         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
72559         * elf/tst-audit8.c: New file.
72561 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72563         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
72564         * misc/Makefile (CFLAGS-select.c): Define.
72565         * posix/Makefile (CFLAGS-pause.c): Define.
72567 2012-11-13  David S. Miller  <davem@davemloft.net>
72569         * crypt/Makefile: Move test targets after toplevel Rules
72570         inclusion.  Grab any necessary sysdep routines when linking.
72571         * crypt/md5.c (md5_process_block): Remove define, we will always
72572         name it __md5_process_block.
72573         (md5_finish_ctx): Update md5_process_block call.
72574         (md5_stream): Likewise.
72575         (md5_process_bytes): Likewise.
72576         (md5_process_block): Rename to __md5_process_block and move to ...
72577         * crypt/md5-block.c: ... here.
72578         * crypt/sha256.c (sha256_process_block): Move to ...
72579         * crypt/sha256-block.c: ... here.
72580         * crypt/sha512.c (sha512_process_block): Move to ...
72581         * crypt/sha512-block.c: ... here.
72582         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
72583         path.
72584         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
72585         * sysdeps/sparc/sparc64/multiarch/Makefile
72586         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
72587         crypt subdir.
72588         (localedef-aux): Add md5 crypto assembler when in locale subdir.
72589         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
72590         multiarch changes.
72591         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
72592         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
72593         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
72594         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
72595         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
72596         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
72597         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
72598         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
72599         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
72600         file.
72601         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
72602         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
72603         file.
72604         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
72606 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
72608         * timezone/tzselect.ksh: Update from tzcode git revision
72609         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
72610         * timezone/zdump.c: Likewise.
72611         * timezone/zic.c: Likewise.
72612         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
72613         in TZVERSION setting, not $(PKGVERSION).
72614         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
72615         REPORT_BUGS_TO settings.
72617         [BZ #14838]
72618         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
72619         macro.
72621 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72623         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
72624         detection to immediately after _FP_ROUND().
72625         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
72626         bits are 0.
72628 2012-11-11  David S. Miller  <davem@davemloft.net>
72630         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
72631         inttypes.h
72632         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
72633         __close rather than their public counterparts.
72635 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
72637         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
72638         file.
72639         [UNIX98] (sem_timedwait): Do not expect.
72640         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
72641         [XPG4 || UNIX98] (sockatmark): Do not expect.
72642         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
72643         (clock_getcpuclockid): Do not expect.
72644         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
72645         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
72646         Do not expect.
72647         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
72648         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
72649         [UNIX98] (vwscanf): Likewise.
72650         [UNIX98] (vswscanf): Likewise.
72652 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
72654         * timezone/version.h: Remove file.
72655         * timezone/README: Do not refer to version.h.
72656         * timezone/Makefile ($(objpfx)zic.o): New dependency on
72657         $(objpfx)version.h.
72658         ($(objpfx)zdump.o): Likewise.
72659         ($(objpfx)version.h): New target.
72661         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
72662         2012i.
72663         * timezone/README: Don't mention modification to tzselect.ksh.
72664         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
72665         work on unmodified tzselect.ksh.  Substitute version numbers in
72666         tzselect.ksh.
72668         * Makefile (format-me): Remove.
72669         (INSTALL): Adjust indentation.  Use commands directly instead of
72670         using $(format-me).
72672         * aclocal.m4 (ACX_PKGVERSION): New macro.
72673         (ACX_BUGURL): Likewise.
72674         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
72675         (PKGVERSION): New AC_DEFINE_UNQUOTED.
72676         (REPORT_BUGS_TO): Likewise.
72677         * configure: Regenerated.
72678         * config.h.in (PKGVERSION): New macro.
72679         (REPORT_BUGS_TO): Likewise.
72680         * config.make.in (PKGVERSION): New variable.
72681         (PKGVERSION_TEXI): Likewise.
72682         (REPORT_BUGS_TO): Likewise.
72683         (REPORT_BUGS_TEXI): Likewise.
72684         * Makefile (format-me): Use -I$(common-objpfx)manual.
72685         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
72686         ($(common-objpfx)manual/%): New target.
72687         (manual/%): Remove target.
72688         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
72689         (print_version): Use PKGVERSION.
72690         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
72691         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
72692         and REPORT_BUGS_TO.
72693         ($(objpfx)xtrace): Likewise.
72694         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
72695         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
72696         (print_version): Use PKGVERSION.
72697         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
72698         (do_version): Use PKGVERSION.
72699         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
72700         REPORT_BUGS_TO.
72701         (common-ldd-rewrite): Likewise.
72702         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
72703         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
72704         (print_version): Use PKGVERSION.
72705         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
72706         * elf/pldd.c (argp_program_bug_address): Remove variable.
72707         (more_help): New function.
72708         (argp): Use more_help.
72709         (print_version): Use PKGVERSION.
72710         * elf/sln.c (main): Use PKGVERSION.
72711         (usage): Use REPORT_BUGS_TO.
72712         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
72713         (top level): Use PKGVERSION.
72714         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
72715         (print_version): Use PKGVERSION.
72716         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
72717         (print_version): Use PKGVERSION.
72718         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
72719         (print_version): Use PKGVERSION.
72720         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
72721         (print_version): Use PKGVERSION.
72722         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
72723         (print_version): Use PKGVERSION.
72724         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
72725         (print_version): Use PKGVERSION.
72726         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
72727         and BUGURL.
72728         ($(objpfx)memusage): Likewise.
72729         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
72730         (do_version): Use PKGVERSION.
72731         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
72732         (print_version): Use PKGVERSION.
72733         * malloc/mtrace.pl ($PACKAGE): Remove variable.
72734         ($PKGVERSION): New variable.
72735         ($REPORT_BUGS_TO): Likewise.
72736         (usage): Use $REPORT_BUGS_TO.
72737         (top level): Use $PKGVERSION.
72738         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
72739         ($(objpfx)pkgvers.texi): New rule.
72740         ($(objpfx)stamp-pkgvers): Likewise.
72741         * manual/install.texi: Include pkgvers.texi.
72742         (--with-pkgversion): Document new configure option.
72743         (--with-bugurl): Likewise.
72744         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
72745         than necessarily for this particular distribution.  Use
72746         REPORT_BUGS_TO for where to report bugs.
72747         * INSTALL: Regenerated.
72748         * manual/libc.texinfo: Include pkgvers.texi.
72749         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
72750         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
72751         (print_version): Use PKGVERSION.
72752         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
72753         (print_version): Use PKGVERSION.
72754         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
72755         (print_version): Use PKGVERSION.
72756         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
72757         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
72758         macro.
72759         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
72760         (print_version): Use PKGVERSION.
72761         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
72762         (print_version): Use PKGVERSION.
72763         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
72764         and PKGVERSION.
72766         * timezone/checktab.awk: Update from tzcode 2012i.
72767         * timezone/ialloc.c: Likewise.
72768         * timezone/private.h: Likewise.
72769         * timezone/scheck.c: Likewise.
72770         * timezone/tzfile.h: Likewise.
72771         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
72772         (TZVERSION): Hardcode tzcode version number.
72773         * timezone/zdump.c: Update from tzcode 2012i.
72774         * timezone/zic.c: Likewise.
72775         * timezone/version.h: New file.
72776         * timezone/README: Describe version.h.  Update upstream location.
72778         [BZ #14824]
72779         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
72780         (mktemp): Enable declaration.
72781         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
72782         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
72783         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
72784         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
72785         Likewise.
72786         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
72787         Likewise.
72788         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
72789         Likewise.
72790         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
72791         Likewise.
72792         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
72793         Likewise.
72794         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
72795         Likewise.
72797         [BZ #14821]
72798         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
72799         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
72800         for copies of such integer values.
72801         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72802         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72804 2012-11-09  Andreas Jaeger  <aj@suse.de>
72806         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
72807         definitions and declarations that are provided by
72808         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72810 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72812         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
72813         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
72814         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
72815         definition.
72817 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72819         * elf/elf.h: Update comment before AArch64 relocations.
72821 2012-11-07  David S. Miller  <davem@davemloft.net>
72823         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
72824         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72825         (__start_context): Declare.
72826         (__makecontext_ret): Delete.
72827         (__makecontext): Hook up __start_context instead of
72828         __makecontext_ret.
72829         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
72830         (sysdep_routines): Add __start_context when in stdlib.
72832 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72834         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
72835         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
72836         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
72837         hardcoded "nm".
72838         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
72839         (READELF): New variable.  Use it instead of hardcoded "readelf".
72841 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72843         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
72844         * sysdeps/x86/Makefile: Here.
72845         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
72846         * sysdeps/x86/tst-xmmymm.sh: This.
72848 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72850         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
72851         expectations.
72852         [UNIX98] (pthread_barrier_t): Do not expect.
72853         [UNIX98] (pthread_barrierattr_t): Likewise.
72854         [UNIX98] (pthread_spinlock_t): Likewise.
72855         [UNIX98] (pthread_barrier_destroy): Likewise.
72856         [UNIX98] (pthread_barrier_init): Likewise.
72857         [UNIX98] (pthread_barrier_wait): Likewise.
72858         [UNIX98] (pthread_barrierattr_destroy): Likewise.
72859         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
72860         [UNIX98] (pthread_barrierattr_init): Likewise.
72861         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
72862         [UNIX98] (pthread_getcpuclockid): Likewise.
72863         [UNIX98] (pthread_mutex_timedlock): Likewise.
72864         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
72865         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
72866         [UNIX98] (pthread_sigmask): Likewise.
72867         [UNIX98] (pthread_spin_destroy): Likewise.
72868         [UNIX98] (pthread_spin_init): Likewise.
72869         [UNIX98] (pthread_spin_lock): Likewise.
72870         [UNIX98] (pthread_spin_trylock): Likewise.
72871         [UNIX98] (pthread_spin_unlock): Likewise.
72872         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
72873         Do not expect.
72874         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
72875         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
72876         [XPG3 || XPG4] (pthread_cond_t): Likewise.
72877         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
72878         [XPG3 || XPG4] (pthread_key_t): Likewise.
72879         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
72880         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
72881         [XPG3 || XPG4] (pthread_once_t): Likewise.
72882         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
72883         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
72884         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
72885         [XPG3 || XPG4] (pthread_t): Likewise.
72887         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
72888         not expect.
72889         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
72891         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
72892         Change function return type to int.
72894         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
72895         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
72896         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
72897         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
72898         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
72899         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
72900         [!POSIX] (posix_madvise): Likewise.
72901         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
72902         && !UNIX98].
72903         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
72904         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
72905         (mode_t): Likewise.
72906         (posix_mem_offset): Likewise.
72907         (posix_typed_mem_get_info): Likewise.
72908         (posix_typed_mem_open): Likewise.
72910         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
72911         Change condition to [XOPEN2K8].
72913         * conform/conformtest.pl: Preprocess allow-header data with -x c
72914         instead of from stdin.
72915         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
72916         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
72917         [C99-based standards] (cerfc): Likewise.
72918         [C99-based standards] (cexp2): Likewise.
72919         [C99-based standards] (cexpm1): Likewise.
72920         [C99-based standards] (clog10): Likewise.
72921         [C99-based standards] (clog1p): Likewise.
72922         [C99-based standards] (clog2): Likewise.
72923         [C99-based standards] (clgamma): Likewise.
72924         [C99-based standards] (ctgamma): Likewise.
72925         [C99-based standards] (cerff): Likewise.
72926         [C99-based standards] (cerfcf): Likewise.
72927         [C99-based standards] (cexp2f): Likewise.
72928         [C99-based standards] (cexpm1f): Likewise.
72929         [C99-based standards] (clog10f): Likewise.
72930         [C99-based standards] (clog1pf): Likewise.
72931         [C99-based standards] (clog2f): Likewise.
72932         [C99-based standards] (clgammaf): Likewise.
72933         [C99-based standards] (ctgammaf): Likewise.
72934         [C99-based standards] (cerfl): Likewise.
72935         [C99-based standards] (cerfcl): Likewise.
72936         [C99-based standards] (cexp2l): Likewise.
72937         [C99-based standards] (cexpm1l): Likewise.
72938         [C99-based standards] (clog10l): Likewise.
72939         [C99-based standards] (clog1pl): Likewise.
72940         [C99-based standards] (clog2l): Likewise.
72941         [C99-based standards] (clgammal): Likewise.
72942         [C99-based standards] (ctgammal): Likewise.
72943         * conform/data/inttypes.h-data [C99-based standards]: Include
72944         stdint.h-data.  Remove all expectations for stdint.h contents.
72945         [C99-based standards] (PRI*): Do not allow.
72946         [C99-based standards] (SCN*): Likewise.
72947         [C99-based standards] (*_t): Likewise.
72948         [C99-based-standards] (PRId8): Expect macro.
72949         [C99-based-standards] (PRIi8): Likewise.
72950         [C99-based-standards] (PRIo8): Likewise.
72951         [C99-based-standards] (PRIu8): Likewise.
72952         [C99-based-standards] (PRIx8): Likewise.
72953         [C99-based-standards] (PRIX8): Likewise.
72954         [C99-based-standards] (SCNd8): Likewise.
72955         [C99-based-standards] (SCNi8): Likewise.
72956         [C99-based-standards] (SCNo8): Likewise.
72957         [C99-based-standards] (SCNu8): Likewise.
72958         [C99-based-standards] (SCNx8): Likewise.
72959         [C99-based-standards] (PRIdLEAST8): Likewise.
72960         [C99-based-standards] (PRIiLEAST8): Likewise.
72961         [C99-based-standards] (PRIoLEAST8): Likewise.
72962         [C99-based-standards] (PRIuLEAST8): Likewise.
72963         [C99-based-standards] (PRIxLEAST8): Likewise.
72964         [C99-based-standards] (PRIXLEAST8): Likewise.
72965         [C99-based-standards] (SCNdLEAST8): Likewise.
72966         [C99-based-standards] (SCNiLEAST8): Likewise.
72967         [C99-based-standards] (SCNoLEAST8): Likewise.
72968         [C99-based-standards] (SCNuLEAST8): Likewise.
72969         [C99-based-standards] (SCNxLEAST8): Likewise.
72970         [C99-based-standards] (PRIdFAST8): Likewise.
72971         [C99-based-standards] (PRIiFAST8): Likewise.
72972         [C99-based-standards] (PRIoFAST8): Likewise.
72973         [C99-based-standards] (PRIuFAST8): Likewise.
72974         [C99-based-standards] (PRIxFAST8): Likewise.
72975         [C99-based-standards] (PRIXFAST8): Likewise.
72976         [C99-based-standards] (SCNdFAST8): Likewise.
72977         [C99-based-standards] (SCNiFAST8): Likewise.
72978         [C99-based-standards] (SCNoFAST8): Likewise.
72979         [C99-based-standards] (SCNuFAST8): Likewise.
72980         [C99-based-standards] (SCNxFAST8): Likewise.
72981         [C99-based-standards] (PRId16): Likewise.
72982         [C99-based-standards] (PRIi16): Likewise.
72983         [C99-based-standards] (PRIo16): Likewise.
72984         [C99-based-standards] (PRIu16): Likewise.
72985         [C99-based-standards] (PRIx16): Likewise.
72986         [C99-based-standards] (PRIX16): Likewise.
72987         [C99-based-standards] (SCNd16): Likewise.
72988         [C99-based-standards] (SCNi16): Likewise.
72989         [C99-based-standards] (SCNo16): Likewise.
72990         [C99-based-standards] (SCNu16): Likewise.
72991         [C99-based-standards] (SCNx16): Likewise.
72992         [C99-based-standards] (PRIdLEAST16): Likewise.
72993         [C99-based-standards] (PRIiLEAST16): Likewise.
72994         [C99-based-standards] (PRIoLEAST16): Likewise.
72995         [C99-based-standards] (PRIuLEAST16): Likewise.
72996         [C99-based-standards] (PRIxLEAST16): Likewise.
72997         [C99-based-standards] (PRIXLEAST16): Likewise.
72998         [C99-based-standards] (SCNdLEAST16): Likewise.
72999         [C99-based-standards] (SCNiLEAST16): Likewise.
73000         [C99-based-standards] (SCNoLEAST16): Likewise.
73001         [C99-based-standards] (SCNuLEAST16): Likewise.
73002         [C99-based-standards] (SCNxLEAST16): Likewise.
73003         [C99-based-standards] (PRIdFAST16): Likewise.
73004         [C99-based-standards] (PRIiFAST16): Likewise.
73005         [C99-based-standards] (PRIoFAST16): Likewise.
73006         [C99-based-standards] (PRIuFAST16): Likewise.
73007         [C99-based-standards] (PRIxFAST16): Likewise.
73008         [C99-based-standards] (PRIXFAST16): Likewise.
73009         [C99-based-standards] (SCNdFAST16): Likewise.
73010         [C99-based-standards] (SCNiFAST16): Likewise.
73011         [C99-based-standards] (SCNoFAST16): Likewise.
73012         [C99-based-standards] (SCNuFAST16): Likewise.
73013         [C99-based-standards] (SCNxFAST16): Likewise.
73014         [C99-based-standards] (PRId32): Likewise.
73015         [C99-based-standards] (PRIi32): Likewise.
73016         [C99-based-standards] (PRIo32): Likewise.
73017         [C99-based-standards] (PRIu32): Likewise.
73018         [C99-based-standards] (PRIx32): Likewise.
73019         [C99-based-standards] (PRIX32): Likewise.
73020         [C99-based-standards] (SCNd32): Likewise.
73021         [C99-based-standards] (SCNi32): Likewise.
73022         [C99-based-standards] (SCNo32): Likewise.
73023         [C99-based-standards] (SCNu32): Likewise.
73024         [C99-based-standards] (SCNx32): Likewise.
73025         [C99-based-standards] (PRIdLEAST32): Likewise.
73026         [C99-based-standards] (PRIiLEAST32): Likewise.
73027         [C99-based-standards] (PRIoLEAST32): Likewise.
73028         [C99-based-standards] (PRIuLEAST32): Likewise.
73029         [C99-based-standards] (PRIxLEAST32): Likewise.
73030         [C99-based-standards] (PRIXLEAST32): Likewise.
73031         [C99-based-standards] (SCNdLEAST32): Likewise.
73032         [C99-based-standards] (SCNiLEAST32): Likewise.
73033         [C99-based-standards] (SCNoLEAST32): Likewise.
73034         [C99-based-standards] (SCNuLEAST32): Likewise.
73035         [C99-based-standards] (SCNxLEAST32): Likewise.
73036         [C99-based-standards] (PRIdFAST32): Likewise.
73037         [C99-based-standards] (PRIiFAST32): Likewise.
73038         [C99-based-standards] (PRIoFAST32): Likewise.
73039         [C99-based-standards] (PRIuFAST32): Likewise.
73040         [C99-based-standards] (PRIxFAST32): Likewise.
73041         [C99-based-standards] (PRIXFAST32): Likewise.
73042         [C99-based-standards] (SCNdFAST32): Likewise.
73043         [C99-based-standards] (SCNiFAST32): Likewise.
73044         [C99-based-standards] (SCNoFAST32): Likewise.
73045         [C99-based-standards] (SCNuFAST32): Likewise.
73046         [C99-based-standards] (SCNxFAST32): Likewise.
73047         [C99-based-standards] (PRId64): Likewise.
73048         [C99-based-standards] (PRIi64): Likewise.
73049         [C99-based-standards] (PRIo64): Likewise.
73050         [C99-based-standards] (PRIu64): Likewise.
73051         [C99-based-standards] (PRIx64): Likewise.
73052         [C99-based-standards] (PRIX64): Likewise.
73053         [C99-based-standards] (SCNd64): Likewise.
73054         [C99-based-standards] (SCNi64): Likewise.
73055         [C99-based-standards] (SCNo64): Likewise.
73056         [C99-based-standards] (SCNu64): Likewise.
73057         [C99-based-standards] (SCNx64): Likewise.
73058         [C99-based-standards] (PRIdLEAST64): Likewise.
73059         [C99-based-standards] (PRIiLEAST64): Likewise.
73060         [C99-based-standards] (PRIoLEAST64): Likewise.
73061         [C99-based-standards] (PRIuLEAST64): Likewise.
73062         [C99-based-standards] (PRIxLEAST64): Likewise.
73063         [C99-based-standards] (PRIXLEAST64): Likewise.
73064         [C99-based-standards] (SCNdLEAST64): Likewise.
73065         [C99-based-standards] (SCNiLEAST64): Likewise.
73066         [C99-based-standards] (SCNoLEAST64): Likewise.
73067         [C99-based-standards] (SCNuLEAST64): Likewise.
73068         [C99-based-standards] (SCNxLEAST64): Likewise.
73069         [C99-based-standards] (PRIdFAST64): Likewise.
73070         [C99-based-standards] (PRIiFAST64): Likewise.
73071         [C99-based-standards] (PRIoFAST64): Likewise.
73072         [C99-based-standards] (PRIuFAST64): Likewise.
73073         [C99-based-standards] (PRIxFAST64): Likewise.
73074         [C99-based-standards] (PRIXFAST64): Likewise.
73075         [C99-based-standards] (SCNdFAST64): Likewise.
73076         [C99-based-standards] (SCNiFAST64): Likewise.
73077         [C99-based-standards] (SCNoFAST64): Likewise.
73078         [C99-based-standards] (SCNuFAST64): Likewise.
73079         [C99-based-standards] (SCNxFAST64): Likewise.
73080         [C99-based-standards] (PRIdMAX): Likewise.
73081         [C99-based-standards] (PRIiMAX): Likewise.
73082         [C99-based-standards] (PRIoMAX): Likewise.
73083         [C99-based-standards] (PRIuMAX): Likewise.
73084         [C99-based-standards] (PRIxMAX): Likewise.
73085         [C99-based-standards] (PRIXMAX): Likewise.
73086         [C99-based-standards] (SCNdMAX): Likewise.
73087         [C99-based-standards] (SCNiMAX): Likewise.
73088         [C99-based-standards] (SCNoMAX): Likewise.
73089         [C99-based-standards] (SCNuMAX): Likewise.
73090         [C99-based-standards] (SCNxMAX): Likewise.
73091         [C99-based-standards] (PRIdPTR): Likewise.
73092         [C99-based-standards] (PRIiPTR): Likewise.
73093         [C99-based-standards] (PRIoPTR): Likewise.
73094         [C99-based-standards] (PRIuPTR): Likewise.
73095         [C99-based-standards] (PRIxPTR): Likewise.
73096         [C99-based-standards] (PRIXPTR): Likewise.
73097         [C99-based-standards] (SCNdPTR): Likewise.
73098         [C99-based-standards] (SCNiPTR): Likewise.
73099         [C99-based-standards] (SCNoPTR): Likewise.
73100         [C99-based-standards] (SCNuPTR): Likewise.
73101         [C99-based-standards] (SCNxPTR): Likewise.
73102         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
73103         allow.
73104         * conform/data/stdint.h-data: Update comments to clarify
73105         requirements.
73106         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
73107         type.
73108         [C99-based standards] (INT8_MAX): Likewise.
73109         [C99-based standards] (INT16_MIN): Likewise.
73110         [C99-based standards] (INT16_MAX): Likewise.
73111         [C99-based standards] (INT32_MIN): Likewise.
73112         [C99-based standards] (INT32_MAX): Likewise.
73113         [C99-based standards] (INT64_MIN): Likewise.
73114         [C99-based standards] (INT64_MAX): Likewise.
73115         [C99-based standards] (UINT8_MAX): Likewise.
73116         [C99-based standards] (UINT16_MAX): Likewise.
73117         [C99-based standards] (UINT32_MAX): Likewise.
73118         [C99-based standards] (UINT64_MAX): Likewise.
73119         [C99-based standards] (INT_LEAST8_MIN): Likewise.
73120         [C99-based standards] (INT_LEAST8_MAX): Likewise.
73121         [C99-based standards] (INT_LEAST16_MIN): Likewise.
73122         [C99-based standards] (INT_LEAST16_MAX): Likewise.
73123         [C99-based standards] (INT_LEAST32_MIN): Likewise.
73124         [C99-based standards] (INT_LEAST32_MAX): Likewise.
73125         [C99-based standards] (INT_LEAST64_MIN): Likewise.
73126         [C99-based standards] (INT_LEAST64_MAX): Likewise.
73127         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
73128         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
73129         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
73130         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
73131         [C99-based standards] (INT_FAST8_MIN): Likewise.
73132         [C99-based standards] (INT_FAST8_MAX): Likewise.
73133         [C99-based standards] (INT_FAST16_MIN): Likewise.
73134         [C99-based standards] (INT_FAST16_MAX): Likewise.
73135         [C99-based standards] (INT_FAST32_MIN): Likewise.
73136         [C99-based standards] (INT_FAST32_MAX): Likewise.
73137         [C99-based standards] (INT_FAST64_MIN): Likewise.
73138         [C99-based standards] (INT_FAST64_MAX): Likewise.
73139         [C99-based standards] (UINT_FAST8_MAX): Likewise.
73140         [C99-based standards] (UINT_FAST16_MAX): Likewise.
73141         [C99-based standards] (UINT_FAST32_MAX): Likewise.
73142         [C99-based standards] (UINT_FAST64_MAX): Likewise.
73143         [C99-based standards] (INTPTR_MIN): Likewise.
73144         [C99-based standards] (INTPTR_MAX): Likewise.
73145         [C99-based standards] (UINTPTR_MAX): Likewise.
73146         [C99-based standards] (INTMAX_MIN): Likewise.
73147         [C99-based standards] (INTMAX_MAX): Likewise.
73148         [C99-based standards] (UINTMAX_MAX): Likewise.
73149         [C99-based standards] (PTRDIFF_MIN): Likewise.
73150         [C99-based standards] (PTRDIFF_MAX): Likewise.
73151         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
73152         [C99-based standards] (SIZE_MAX): Likewise.
73153         [C99-based standards] (WCHAR_MAX): Likewise.
73154         [C99-based standards] (WINT_MAX): Likewise.
73155         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
73156         constraint on value.
73157         [C99-based standards] (WCHAR_MIN): Likewise.
73158         [C99-based standards] (WINT_MIN): Likewise.
73159         [C99-based standards] (*_t): Allow.
73160         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
73161         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
73162         Include math.h-data and complex.h-data.  Remove all expectations
73163         of math.h and complex.h contents.
73164         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
73165         at end of line.
73166         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
73167         (struct tm): Expect tag.
73168         [C99-based-standards] (wcstof): Expect function.
73169         [C99-based-standards] (wcstold): Likewise.
73170         [C99-based-standards] (wcstoll): Likewise.
73171         [C99-based-standards] (wcstoull): Likewise.
73172         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
73173         macro-int-constant.  Specify type.
73174         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
73175         constraint on value.
73176         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
73177         Specify type.
73178         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
73179         Specify value.
73180         [ISO C standards]: Do not allow headers.
73181         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
73182         wcs[abcdefghijklmnopqrstuvwxyz]*.
73183         [ISO C standards] (*_t): Do not allow.
73184         * conform/data/wctype.h-data [C99-based standards] (iswblank):
73185         Expect function.
73186         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
73187         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
73188         Specify type.
73189         [ISO C standards]: Do not allow headers.
73190         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
73191         is[abcdefghijklmnopqrstuvwxyz]*.
73192         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
73193         to[abcdefghijklmnopqrstuvwxyz]*.
73194         [ISO C standards] (*_t): Do not allow.
73195         * conform/data/stdalign.h-data: New file.
73196         * conform/data/stdbool.h-data: Likewise.
73197         * conform/data/stdnoreturn.h-data: Likewise.
73199 2012-11-07  Roland McGrath  <roland@hack.frob.com>
73201         [BZ #14815]
73202         * manual/filesys.texi (Directory Entries): Typo fix.
73203         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
73205 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73207         * elf/elf.h (EM_AARCH64): New macro.
73208         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
73209         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
73210         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
73211         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
73212         (R_AARCH64_TLSDESC): Likewise.
73213         (NT_ARM_TLS): Likewise.
73214         (NT_ARM_HW_BREAK): Likewise.
73215         (NT_ARM_HW_WATCH): Likewise.
73217 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73219         [BZ #14811]
73220         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
73221         (__ieee754_powl): Saturate nonzero exponents with absolute value
73222         below 0x1p-79 to +/- 0x1p-79.
73223         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
73224         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
73225         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
73226         nonzero exponents with absolute value below 0x1p-32 to +/-
73227         0x1p-32.
73228         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
73229         (__ieee754_powl): Saturate nonzero exponents with absolute value
73230         below 0x1p-79 to +/- 0x1p-79.
73231         * math/libm-test.inc (pow_test): Add more tests.
73233 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73235         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
73236         _dl_s390_cap_flags with kernel. Increase string length.
73237         (_dl_s390_platforms): Add z196 and zEC12.
73239 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73241         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
73242         Change XOPEN21K to XOPEN2K.
73244 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
73246         * string/memmove.c: Use memcpy when possible.
73248 2012-11-06  Andreas Jaeger  <aj@suse.de>
73250         * po/eo.po: Update from translation team.
73252 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
73254         [BZ #14793]
73255         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
73256         exponent and small x and y exponents, scale x or y up.  Increase
73257         by 2 the exponent used in scaling up.
73258         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73259         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73260         * math/libm-test.inc (fma_test): Add more tests.
73261         (fma_test_towardzero): Likewise.
73262         (fma_test_downward): Likewise.
73263         (fma_test_upward): Likewise.
73265 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
73267         [BZ #14805]
73268         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
73269         fenv_t *.
73271         [BZ #14801]
73272         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
73273         namespace for names of struct fields.
73274         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
73275         fenv_t fields.
73276         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
73277         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
73279 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73281         [BZ #3665]
73282         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
73284 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
73286         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
73287         PTR_DEMANGLE.
73289         [BZ #5246]
73290         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
73291         PTR_DEMANGLE.
73293 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
73295         [BZ #14797]
73296         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
73297         definitely overflow as x * y not x * y + z.
73298         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73299         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73300         * math/libm-test.inc (fma_test): Add more tests.
73301         (fma_test_towardzero): Likewise.
73302         (fma_test_downward): Likewise.
73303         (fma_test_upward): Likewise.
73305 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
73307         [BZ #157]
73309         * include/stub-tag.h: Remove file.
73310         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
73311         '#include' of it.
73312         * manual/maint.texi (Porting): Don't reference it.
73313         * Makerules ($(objpfx)stubs): Likewise.
73314         * dirent/closedir.c: Don't include <stub-tag.h>.
73315         * dirent/dirfd.c: Likewise.
73316         * dirent/fdopendir.c: Likewise.
73317         * dirent/getdents.c: Likewise.
73318         * dirent/getdents64.c: Likewise.
73319         * dirent/opendir.c: Likewise.
73320         * dirent/readdir.c: Likewise.
73321         * dirent/readdir64.c: Likewise.
73322         * dirent/readdir64_r.c: Likewise.
73323         * dirent/readdir_r.c: Likewise.
73324         * dirent/rewinddir.c: Likewise.
73325         * dirent/seekdir.c: Likewise.
73326         * dirent/telldir.c: Likewise.
73327         * gmon/profil.c: Likewise.
73328         * grp/setgroups.c: Likewise.
73329         * inet/if_index.c: Likewise.
73330         * io/access.c: Likewise.
73331         * io/chdir.c: Likewise.
73332         * io/chmod.c: Likewise.
73333         * io/chown.c: Likewise.
73334         * io/close.c: Likewise.
73335         * io/dup.c: Likewise.
73336         * io/dup2.c: Likewise.
73337         * io/dup3.c: Likewise.
73338         * io/euidaccess.c: Likewise.
73339         * io/faccessat.c: Likewise.
73340         * io/fchdir.c: Likewise.
73341         * io/fchmod.c: Likewise.
73342         * io/fchmodat.c: Likewise.
73343         * io/fchown.c: Likewise.
73344         * io/fchownat.c: Likewise.
73345         * io/fcntl.c: Likewise.
73346         * io/flock.c: Likewise.
73347         * io/fstatfs.c: Likewise.
73348         * io/fstatfs64.c: Likewise.
73349         * io/fstatvfs.c: Likewise.
73350         * io/fstatvfs64.c: Likewise.
73351         * io/futimens.c: Likewise.
73352         * io/fxstat.c: Likewise.
73353         * io/fxstat64.c: Likewise.
73354         * io/fxstatat.c: Likewise.
73355         * io/fxstatat64.c: Likewise.
73356         * io/getcwd.c: Likewise.
73357         * io/isatty.c: Likewise.
73358         * io/lchmod.c: Likewise.
73359         * io/lchown.c: Likewise.
73360         * io/link.c: Likewise.
73361         * io/linkat.c: Likewise.
73362         * io/lseek.c: Likewise.
73363         * io/lseek64.c: Likewise.
73364         * io/lxstat64.c: Likewise.
73365         * io/mkdir.c: Likewise.
73366         * io/mkdirat.c: Likewise.
73367         * io/mkfifo.c: Likewise.
73368         * io/mkfifoat.c: Likewise.
73369         * io/open.c: Likewise.
73370         * io/open64.c: Likewise.
73371         * io/openat.c: Likewise.
73372         * io/openat64.c: Likewise.
73373         * io/pipe.c: Likewise.
73374         * io/pipe2.c: Likewise.
73375         * io/poll.c: Likewise.
73376         * io/posix_fadvise.c: Likewise.
73377         * io/posix_fadvise64.c: Likewise.
73378         * io/posix_fallocate.c: Likewise.
73379         * io/posix_fallocate64.c: Likewise.
73380         * io/read.c: Likewise.
73381         * io/readlink.c: Likewise.
73382         * io/readlinkat.c: Likewise.
73383         * io/rmdir.c: Likewise.
73384         * io/sendfile.c: Likewise.
73385         * io/sendfile64.c: Likewise.
73386         * io/statfs.c: Likewise.
73387         * io/statfs64.c: Likewise.
73388         * io/statvfs.c: Likewise.
73389         * io/statvfs64.c: Likewise.
73390         * io/symlink.c: Likewise.
73391         * io/symlinkat.c: Likewise.
73392         * io/ttyname.c: Likewise.
73393         * io/ttyname_r.c: Likewise.
73394         * io/umask.c: Likewise.
73395         * io/unlink.c: Likewise.
73396         * io/unlinkat.c: Likewise.
73397         * io/utime.c: Likewise.
73398         * io/utimensat.c: Likewise.
73399         * io/write.c: Likewise.
73400         * io/xmknod.c: Likewise.
73401         * io/xmknodat.c: Likewise.
73402         * io/xstat.c: Likewise.
73403         * io/xstat64.c: Likewise.
73404         * login/getpt.c: Likewise.
73405         * login/grantpt.c: Likewise.
73406         * login/unlockpt.c: Likewise.
73407         * math/e_acoshl.c: Likewise.
73408         * math/e_acosl.c: Likewise.
73409         * math/e_asinl.c: Likewise.
73410         * math/e_atan2l.c: Likewise.
73411         * math/e_atanhl.c: Likewise.
73412         * math/e_coshl.c: Likewise.
73413         * math/e_expl.c: Likewise.
73414         * math/e_fmodl.c: Likewise.
73415         * math/e_gammal_r.c: Likewise.
73416         * math/e_hypotl.c: Likewise.
73417         * math/e_j0l.c: Likewise.
73418         * math/e_j1l.c: Likewise.
73419         * math/e_jnl.c: Likewise.
73420         * math/e_lgammal_r.c: Likewise.
73421         * math/e_log10l.c: Likewise.
73422         * math/e_log2l.c: Likewise.
73423         * math/e_logl.c: Likewise.
73424         * math/e_powl.c: Likewise.
73425         * math/e_rem_pio2l.c: Likewise.
73426         * math/e_sinhl.c: Likewise.
73427         * math/e_sqrtl.c: Likewise.
73428         * math/fclrexcpt.c: Likewise.
73429         * math/fedisblxcpt.c: Likewise.
73430         * math/feenablxcpt.c: Likewise.
73431         * math/fegetenv.c: Likewise.
73432         * math/fegetexcept.c: Likewise.
73433         * math/fegetround.c: Likewise.
73434         * math/feholdexcpt.c: Likewise.
73435         * math/fesetenv.c: Likewise.
73436         * math/fesetround.c: Likewise.
73437         * math/feupdateenv.c: Likewise.
73438         * math/fgetexcptflg.c: Likewise.
73439         * math/fraiseexcpt.c: Likewise.
73440         * math/fsetexcptflg.c: Likewise.
73441         * math/ftestexcept.c: Likewise.
73442         * math/k_cosl.c: Likewise.
73443         * math/k_rem_pio2l.c: Likewise.
73444         * math/k_sinl.c: Likewise.
73445         * math/k_tanl.c: Likewise.
73446         * math/s_asinhl.c: Likewise.
73447         * math/s_atanl.c: Likewise.
73448         * math/s_cbrtl.c: Likewise.
73449         * math/s_erfl.c: Likewise.
73450         * math/s_expm1l.c: Likewise.
73451         * math/s_log1pl.c: Likewise.
73452         * math/s_tanhl.c: Likewise.
73453         * misc/acct.c: Likewise.
73454         * misc/brk.c: Likewise.
73455         * misc/chflags.c: Likewise.
73456         * misc/chroot.c: Likewise.
73457         * misc/fchflags.c: Likewise.
73458         * misc/fgetxattr.c: Likewise.
73459         * misc/flistxattr.c: Likewise.
73460         * misc/fremovexattr.c: Likewise.
73461         * misc/fsetxattr.c: Likewise.
73462         * misc/fsync.c: Likewise.
73463         * misc/ftruncate.c: Likewise.
73464         * misc/futimes.c: Likewise.
73465         * misc/futimesat.c: Likewise.
73466         * misc/getdomain.c: Likewise.
73467         * misc/getdtsz.c: Likewise.
73468         * misc/gethostid.c: Likewise.
73469         * misc/gethostname.c: Likewise.
73470         * misc/getloadavg.c: Likewise.
73471         * misc/getpagesize.c: Likewise.
73472         * misc/getsysstats.c: Likewise.
73473         * misc/getxattr.c: Likewise.
73474         * misc/gtty.c: Likewise.
73475         * misc/ioctl.c: Likewise.
73476         * misc/lgetxattr.c: Likewise.
73477         * misc/listxattr.c: Likewise.
73478         * misc/llistxattr.c: Likewise.
73479         * misc/lremovexattr.c: Likewise.
73480         * misc/lsetxattr.c: Likewise.
73481         * misc/lutimes.c: Likewise.
73482         * misc/madvise.c: Likewise.
73483         * misc/mincore.c: Likewise.
73484         * misc/mlock.c: Likewise.
73485         * misc/mlockall.c: Likewise.
73486         * misc/mmap.c: Likewise.
73487         * misc/mprotect.c: Likewise.
73488         * misc/msync.c: Likewise.
73489         * misc/munlock.c: Likewise.
73490         * misc/munlockall.c: Likewise.
73491         * misc/munmap.c: Likewise.
73492         * misc/preadv.c: Likewise.
73493         * misc/preadv64.c: Likewise.
73494         * misc/ptrace.c: Likewise.
73495         * misc/pwritev.c: Likewise.
73496         * misc/pwritev64.c: Likewise.
73497         * misc/readv.c: Likewise.
73498         * misc/reboot.c: Likewise.
73499         * misc/remap_file_pages.c: Likewise.
73500         * misc/removexattr.c: Likewise.
73501         * misc/revoke.c: Likewise.
73502         * misc/select.c: Likewise.
73503         * misc/setdomain.c: Likewise.
73504         * misc/setegid.c: Likewise.
73505         * misc/seteuid.c: Likewise.
73506         * misc/sethostid.c: Likewise.
73507         * misc/sethostname.c: Likewise.
73508         * misc/setregid.c: Likewise.
73509         * misc/setreuid.c: Likewise.
73510         * misc/setxattr.c: Likewise.
73511         * misc/sstk.c: Likewise.
73512         * misc/stty.c: Likewise.
73513         * misc/swapoff.c: Likewise.
73514         * misc/swapon.c: Likewise.
73515         * misc/sync.c: Likewise.
73516         * misc/syncfs.c: Likewise.
73517         * misc/syscall.c: Likewise.
73518         * misc/truncate.c: Likewise.
73519         * misc/ualarm.c: Likewise.
73520         * misc/usleep.c: Likewise.
73521         * misc/ustat.c: Likewise.
73522         * misc/utimes.c: Likewise.
73523         * misc/vhangup.c: Likewise.
73524         * misc/writev.c: Likewise.
73525         * posix/_exit.c: Likewise.
73526         * posix/alarm.c: Likewise.
73527         * posix/execve.c: Likewise.
73528         * posix/fexecve.c: Likewise.
73529         * posix/fork.c: Likewise.
73530         * posix/fpathconf.c: Likewise.
73531         * posix/getaddrinfo.c: Likewise.
73532         * posix/getegid.c: Likewise.
73533         * posix/geteuid.c: Likewise.
73534         * posix/getgid.c: Likewise.
73535         * posix/getgroups.c: Likewise.
73536         * posix/getlogin.c: Likewise.
73537         * posix/getlogin_r.c: Likewise.
73538         * posix/getpgid.c: Likewise.
73539         * posix/getpid.c: Likewise.
73540         * posix/getppid.c: Likewise.
73541         * posix/getresgid.c: Likewise.
73542         * posix/getresuid.c: Likewise.
73543         * posix/getsid.c: Likewise.
73544         * posix/getuid.c: Likewise.
73545         * posix/glob64.c: Likewise.
73546         * posix/nanosleep.c: Likewise.
73547         * posix/pathconf.c: Likewise.
73548         * posix/pause.c: Likewise.
73549         * posix/posix_madvise.c: Likewise.
73550         * posix/pread.c: Likewise.
73551         * posix/pread64.c: Likewise.
73552         * posix/pwrite.c: Likewise.
73553         * posix/pwrite64.c: Likewise.
73554         * posix/sched_getaffinity.c: Likewise.
73555         * posix/sched_getp.c: Likewise.
73556         * posix/sched_gets.c: Likewise.
73557         * posix/sched_primax.c: Likewise.
73558         * posix/sched_primin.c: Likewise.
73559         * posix/sched_rr_gi.c: Likewise.
73560         * posix/sched_setaffinity.c: Likewise.
73561         * posix/sched_setp.c: Likewise.
73562         * posix/sched_sets.c: Likewise.
73563         * posix/sched_yield.c: Likewise.
73564         * posix/setgid.c: Likewise.
73565         * posix/setlogin.c: Likewise.
73566         * posix/setpgid.c: Likewise.
73567         * posix/setresgid.c: Likewise.
73568         * posix/setresuid.c: Likewise.
73569         * posix/setsid.c: Likewise.
73570         * posix/setuid.c: Likewise.
73571         * posix/sleep.c: Likewise.
73572         * posix/spawni.c: Likewise.
73573         * posix/sysconf.c: Likewise.
73574         * posix/times.c: Likewise.
73575         * posix/wait.c: Likewise.
73576         * posix/wait3.c: Likewise.
73577         * posix/wait4.c: Likewise.
73578         * posix/waitpid.c: Likewise.
73579         * resolv/gai_sigqueue.c: Likewise.
73580         * resource/getpriority.c: Likewise.
73581         * resource/getrlimit.c: Likewise.
73582         * resource/getrusage.c: Likewise.
73583         * resource/nice.c: Likewise.
73584         * resource/setpriority.c: Likewise.
73585         * resource/setrlimit.c: Likewise.
73586         * resource/ulimit.c: Likewise.
73587         * rt/aio_cancel.c: Likewise.
73588         * rt/aio_fsync.c: Likewise.
73589         * rt/aio_read.c: Likewise.
73590         * rt/aio_sigqueue.c: Likewise.
73591         * rt/aio_suspend.c: Likewise.
73592         * rt/aio_write.c: Likewise.
73593         * rt/clock_getres.c: Likewise.
73594         * rt/clock_gettime.c: Likewise.
73595         * rt/clock_nanosleep.c: Likewise.
73596         * rt/clock_settime.c: Likewise.
73597         * rt/lio_listio.c: Likewise.
73598         * rt/mq_close.c: Likewise.
73599         * rt/mq_getattr.c: Likewise.
73600         * rt/mq_notify.c: Likewise.
73601         * rt/mq_open.c: Likewise.
73602         * rt/mq_receive.c: Likewise.
73603         * rt/mq_send.c: Likewise.
73604         * rt/mq_setattr.c: Likewise.
73605         * rt/mq_timedreceive.c: Likewise.
73606         * rt/mq_timedsend.c: Likewise.
73607         * rt/mq_unlink.c: Likewise.
73608         * rt/shm_open.c: Likewise.
73609         * rt/shm_unlink.c: Likewise.
73610         * rt/timer_create.c: Likewise.
73611         * rt/timer_delete.c: Likewise.
73612         * rt/timer_getoverr.c: Likewise.
73613         * rt/timer_gettime.c: Likewise.
73614         * rt/timer_settime.c: Likewise.
73615         * setjmp/__longjmp.c: Likewise.
73616         * setjmp/setjmp.c: Likewise.
73617         * signal/kill.c: Likewise.
73618         * signal/killpg.c: Likewise.
73619         * signal/raise.c: Likewise.
73620         * signal/sigaction.c: Likewise.
73621         * signal/sigaltstack.c: Likewise.
73622         * signal/sigblock.c: Likewise.
73623         * signal/sigignore.c: Likewise.
73624         * signal/sigintr.c: Likewise.
73625         * signal/signal.c: Likewise.
73626         * signal/sigpause.c: Likewise.
73627         * signal/sigpending.c: Likewise.
73628         * signal/sigqueue.c: Likewise.
73629         * signal/sigreturn.c: Likewise.
73630         * signal/sigset.c: Likewise.
73631         * signal/sigsetmask.c: Likewise.
73632         * signal/sigstack.c: Likewise.
73633         * signal/sigsuspend.c: Likewise.
73634         * signal/sigtimedwait.c: Likewise.
73635         * signal/sigvec.c: Likewise.
73636         * signal/sigwait.c: Likewise.
73637         * signal/sigwaitinfo.c: Likewise.
73638         * signal/sysv_signal.c: Likewise.
73639         * socket/accept.c: Likewise.
73640         * socket/accept4.c: Likewise.
73641         * socket/bind.c: Likewise.
73642         * socket/connect.c: Likewise.
73643         * socket/getpeername.c: Likewise.
73644         * socket/getsockname.c: Likewise.
73645         * socket/getsockopt.c: Likewise.
73646         * socket/isfdtype.c: Likewise.
73647         * socket/listen.c: Likewise.
73648         * socket/recv.c: Likewise.
73649         * socket/recvfrom.c: Likewise.
73650         * socket/recvmsg.c: Likewise.
73651         * socket/send.c: Likewise.
73652         * socket/sendmsg.c: Likewise.
73653         * socket/sendto.c: Likewise.
73654         * socket/setsockopt.c: Likewise.
73655         * socket/shutdown.c: Likewise.
73656         * socket/sockatmark.c: Likewise.
73657         * socket/socket.c: Likewise.
73658         * socket/socketpair.c: Likewise.
73659         * stdio-common/ctermid.c: Likewise.
73660         * stdio-common/cuserid.c: Likewise.
73661         * stdio-common/remove.c: Likewise.
73662         * stdio-common/rename.c: Likewise.
73663         * stdio-common/renameat.c: Likewise.
73664         * stdio-common/tempname.c: Likewise.
73665         * stdlib/getcontext.c: Likewise.
73666         * stdlib/makecontext.c: Likewise.
73667         * stdlib/setcontext.c: Likewise.
73668         * stdlib/swapcontext.c: Likewise.
73669         * stdlib/system.c: Likewise.
73670         * streams/fattach.c: Likewise.
73671         * streams/fdetach.c: Likewise.
73672         * streams/getmsg.c: Likewise.
73673         * streams/getpmsg.c: Likewise.
73674         * streams/putmsg.c: Likewise.
73675         * streams/putpmsg.c: Likewise.
73676         * sysdeps/unix/bsd/getpt.c: Likewise.
73677         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
73678         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
73679         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
73680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73681         Likewise.
73682         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
73683         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73684         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
73685         * sysvipc/msgctl.c: Likewise.
73686         * sysvipc/msgget.c: Likewise.
73687         * sysvipc/msgrcv.c: Likewise.
73688         * sysvipc/msgsnd.c: Likewise.
73689         * sysvipc/semctl.c: Likewise.
73690         * sysvipc/semget.c: Likewise.
73691         * sysvipc/semop.c: Likewise.
73692         * sysvipc/semtimedop.c: Likewise.
73693         * sysvipc/shmat.c: Likewise.
73694         * sysvipc/shmctl.c: Likewise.
73695         * sysvipc/shmdt.c: Likewise.
73696         * sysvipc/shmget.c: Likewise.
73697         * termios/tcdrain.c: Likewise.
73698         * termios/tcflow.c: Likewise.
73699         * termios/tcflush.c: Likewise.
73700         * termios/tcgetattr.c: Likewise.
73701         * termios/tcgetpgrp.c: Likewise.
73702         * termios/tcsendbrk.c: Likewise.
73703         * termios/tcsetattr.c: Likewise.
73704         * termios/tcsetpgrp.c: Likewise.
73705         * time/adjtime.c: Likewise.
73706         * time/clock.c: Likewise.
73707         * time/getitimer.c: Likewise.
73708         * time/gettimeofday.c: Likewise.
73709         * time/setitimer.c: Likewise.
73710         * time/settimeofday.c: Likewise.
73711         * time/stime.c: Likewise.
73712         * time/time.c: Likewise.
73714 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
73716         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
73717         /usr/old/bin.
73719         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
73720         instead of spaces.
73721         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
73723 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
73725         [BZ #14796]
73726         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
73727         FE_TONEAREST before applying Dekker multiplication and Knuth
73728         addition.  Clear inexact exceptions and check for exact zero
73729         results afterwards.
73730         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73731         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73732         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73733         * math/libm-test.inc (fma_test): Add more tests.
73734         (fma_test_towardzero): Likewise.
73735         (fma_test_downward): Likewise.
73736         (fma_test_upward): Likewise.
73737         * sysdeps/generic/math_private.h (default_libc_fesetround): New
73738         function.
73739         (libc_fesetround): New macro.
73740         (libc_fesetroundf): Likewise.
73741         (libc_fesetroundl): Likewise.
73742         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
73743         function.
73744         (libc_fesetround_387): Likewise.
73745         (libc_fesetroundf): New macro.
73746         (libc_fesetround): Likewise.
73747         (libc_fesetroundl): Likewise.
73748         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
73749         function.
73750         (libc_fesetroundf): New macro.
73751         (libc_fesetround): Likewise.
73752         (libc_fesetroundl): Likewise.
73753         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
73754         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
73755         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
73756         libm_hidden_ver.
73757         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
73758         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
73759         libm_hidden_def.
73760         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
73761         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
73762         libm_hidden_ver.
73763         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
73764         libm_hidden_def.
73766         [BZ #3439]
73767         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
73768         integer constant usable in #if and use that to give value to enum
73769         constant.
73770         (FE_DIVBYZERO): Likewise.
73771         (FE_UNDERFLOW): Likewise.
73772         (FE_OVERFLOW): Likewise.
73773         (FE_INVALID): Likewise.
73774         (FE_INVALID_SNAN): Likewise.
73775         (FE_INVALID_ISI): Likewise.
73776         (FE_INVALID_IDI): Likewise.
73777         (FE_INVALID_ZDZ): Likewise.
73778         (FE_INVALID_IMZ): Likewise.
73779         (FE_INVALID_COMPARE): Likewise.
73780         (FE_INVALID_SOFTWARE): Likewise.
73781         (FE_INVALID_SQRT): Likewise.
73782         (FE_INVALID_INTEGER_CONVERSION): Likewise.
73783         (FE_TONEAREST): Likewise.
73784         (FE_TOWARDZERO): Likewise.
73785         (FE_UPWARD): Likewise.
73786         (FE_DOWNWARD): Likewise.
73787         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
73788         (FE_DIVBYZERO): Likewise.
73789         (FE_OVERFLOW): Likewise.
73790         (FE_UNDERFLOW): Likewise.
73791         (FE_INEXACT): Likewise.
73792         (FE_TONEAREST): Likewise.
73793         (FE_DOWNWARD): Likewise.
73794         (FE_UPWARD): Likewise.
73795         (FE_TOWARDZERO): Likewise.
73796         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
73797         (FE_UNDERFLOW): Likewise.
73798         (FE_OVERFLOW): Likewise.
73799         (FE_DIVBYZERO): Likewise.
73800         (FE_INVALID): Likewise.
73801         (FE_TONEAREST): Likewise.
73802         (FE_TOWARDZERO): Likewise.
73803         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
73804         (FE_OVERFLOW): Likewise.
73805         (FE_UNDERFLOW): Likewise.
73806         (FE_DIVBYZERO): Likewise.
73807         (FE_INEXACT): Likewise.
73808         (FE_TONEAREST): Likewise.
73809         (FE_TOWARDZERO): Likewise.
73810         (FE_UPWARD): Likewise.
73811         (FE_DOWNWARD): Likewise.
73812         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
73813         (FE_DIVBYZERO): Likewise.
73814         (FE_OVERFLOW): Likewise.
73815         (FE_UNDERFLOW): Likewise.
73816         (FE_INEXACT): Likewise.
73817         (FE_TONEAREST): Likewise.
73818         (FE_DOWNWARD): Likewise.
73819         (FE_UPWARD): Likewise.
73820         (FE_TOWARDZERO): Likewise.
73822 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
73824         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
73826 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
73828         * scripts/cross-test-ssh.sh (command): Use newlines to separate
73829         commands.  Quote $PWD.
73830         (blacklist_exports): Don't use remove_newlines.  Replace "declare
73831         -x" by "export".
73832         (remove_newlines): Remove.
73834 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
73836         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
73837         * stdlib/stdlib.h (atof): Moved to ...
73838         * include/bits/stdlib-float.h: Here.  New file.
73839         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
73840         * stdlib/bits/stdlib-float.h: New file.
73841         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
73842         -mno-sse -mno-mmx.
73843         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
73844         <xmmintrin.h>.
73846 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
73848         * conform/conformtest.pl (@headers): Add fenv.h.
73849         * conform/data/fenv.h-data: New file.
73850         * include/fenv.h [_ISOMAC]: Disable all contents of file except
73851         include of <math/fenv.h>.
73853         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
73854         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
73855         && !UNIX98].  Enables tests for XOPEN2K8.
73856         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
73857         POSIX2008]: Likewise.
73859         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
73860         (struct rusage): Do not expect type or its members.
73862         [BZ #3439]
73863         * math/math.h (FP_NAN): Define macro to integer constant usable in
73864         #if and use that to give value to enum constant.
73865         (FP_INFINITE): Likewise.
73866         (FP_ZERO): Likewise.
73867         (FP_SUBNORMAL): Likewise.
73868         (FP_NORMAL): Likewise.
73870 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
73872         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
73873         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
73874         arguments.
73876 2012-11-02  Roland McGrath  <roland@hack.frob.com>
73878         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
73879         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
73880         autoconf-time if not.
73881         * configure.in: Remove AC_PREREQ.
73883 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73885         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
73886         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
73887         of the internal implementation.
73889 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
73891         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
73892         except include of <misc/sys/syslog.h>.
73894 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
73897         function returns with a NULL context exit with zero.
73899 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73901         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
73903 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
73905         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
73906         (run_program_cmd): This.
73907         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
73908         (tst_langinfo): New variable.  Use it.
73910 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
73912         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
73913         floating point opcodes.
73915 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73917         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
73918         variable.
73920         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
73922         * sysdeps/mach/hurd/powerpc: Remove directory.
73923         * sysdeps/mach/powerpc: Likewise.
73925 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73927         * scripts/check-local-headers.sh: Ignore c++ headers.
73929 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73931         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
73932         __libc_cleanup_region_start argument.
73934 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
73936         [BZ #14784]
73937         [BZ #14785]
73938         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
73939         x * y using scaling, not as x * y + z.
73940         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73941         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73942         * math/libm-test.inc (fma_test): Add more tests.
73943         (fma_test_towardzero): Likewise.
73944         (fma_test_downward): Likewise.
73945         (fma_test_upward): Likewise.
73947 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73949         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
73951 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
73953         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
73954         New variable.
73956 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
73958         * rt/tst-shm.c (worker): Correct checking for mmap failure.
73960 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
73962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73963         Fix sort order.
73964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73965         Likewise.
73967 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73970         Fix the order of the list for glibc 2.17.
73971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73972         Likewise.
73974 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
73976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73978 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
73980         [BZ #14610]
73981         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
73982         for low part of x being zero before using __atanl (y).
73983         * math/libm-test.inc (atan2_test): Add another test.
73985         * manual/install.texi (Configuring and compiling): Document
73986         general use of test-wrapper and test-wrapper-env.
73987         * INSTALL: Regenerated.
73989         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
73990         (__fma): Do not extract and scale down low bits on after-rounding
73991         systems when result rounded to normal precision would have normal
73992         exponent.
73993         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
73994         (__fmal): Do not extract and scale down low bits on after-rounding
73995         systems when result rounded to normal precision would have normal
73996         exponent.
73997         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
73998         (__fmal): Do not extract and scale down low bits on after-rounding
73999         systems when result rounded to normal precision would have normal
74000         exponent.
74001         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
74002         macro.
74003         (fma_test): Add more tests.
74004         (fma_test_towardzero): Likewise.
74005         (fma_test_downward): Likewise.
74006         (fma_test_upward): Likewise.
74008 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
74010         * sysdeps/i386/tininess.h: Renamed to ...
74011         * sysdeps/x86/tininess.h: This.
74012         * sysdeps/x86_64/tininess.h: Removed.
74014 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
74016         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
74017         input.  Use $(build-program-cmd).
74018         ($(objpfx)tst-array1-static.out): Likewise.
74019         ($(objpfx)tst-array2.out): Likewise.
74020         ($(objpfx)tst-array3.out): Likewise.
74021         ($(objpfx)tst-array4.out): Likewise.
74022         ($(objpfx)tst-array5.out): Likewise.
74023         ($(objpfx)tst-array5-static.out): Likewise.
74025 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
74027         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
74028         if defined.
74030         * nss/nsswitch.h (nss_interface_function): Provide new
74031         macro for use with NSS functions.
74032         * grp/initgroups.c: Use new macro.
74033         * nss/getXXbyYY.c: Likewise.
74034         * nss/getXXbyYY_r.c: Likewise.
74035         * nss/getXXent.c: Likewise.
74036         * nss/getXXent_r.c: Likewise.
74037         * sysdeps/posix/getaddrinfo.c: Likewise.
74039 2012-10-30  Andreas Jaeger  <aj@suse.de>
74041         * po/ru.po: Update Russion translation from translation project.
74043 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
74045         [BZ #14152]
74046         [BZ #14783]
74047         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
74048         result and shift together with sticky bit instead of replicating
74049         round-to-nearest rounding.
74050         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74051         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74052         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
74053         missing underflow exceptions.
74054         (fma_test_towardzero): Add more tests.
74055         (fma_test_downward): Likewise.
74056         (fma_test_upward): Likewise.
74058         [BZ #14047]
74059         * sysdeps/generic/tininess.h: New file.
74060         * sysdeps/i386/tininess.h: Likewise.
74061         * sysdeps/sh/tininess.h: Likewise.
74062         * sysdeps/x86_64/tininess.h: Likewise.
74063         * stdlib/tst-strtod-underflow.c: Likewise.
74064         * stdlib/tst-tininess.c: Likewise.
74065         * stdlib/strtod_l.c: Include <tininess.h>.
74066         (round_and_return): Do not set errno for exact underflow cases.
74067         Force an underflow exception when setting errno for underflow.
74068         Determine underflow based on rounding to normal precision if
74069         TININESS_AFTER_ROUNDING.
74070         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
74071         ERANGE for exact underflow cases.
74072         * stdlib/Makefile (tests): Add tst-tininess and
74073         tst-strtod-underflow.
74074         ($(objpfx)tst-tininess): Use $(link-libm).
74075         ($(objpfx)tst-strtod-underflow): Likewise.
74077 2012-10-30  Andreas Jaeger  <aj@suse.de>
74079         [BZ #14767]
74080         * elf/Makefile (tests): Remove conditional for have-initfini-array
74081         since this is now always required and the variable does not exist
74082         anymore.
74083         (tests-static): Likewise.
74084         (modules-names): Likewise.
74086         * po/eo.po: Add Esperanto translation from translation project.
74088         * elf/tst-array1.c (fini_array): Make writeable so that it can be
74089         merged with constructor/destructor.
74090         (init_array): Likewise.
74091         * elf/tst-array2dep.c (fini_array): Likewise.
74092         (init_array): Likewise.
74094 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
74096         * manual/message.texi: Delete @cartouche tags.
74098 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
74100         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
74101         EOPNOTSUPP.
74102         * sysdeps/mach/hurd/fsync.c: Likewise.
74104         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
74105         [_POSIX_REALTIME_SIGNALS]: Change condition to
74106         [_POSIX_REALTIME_SIGNALS > 0].
74108 2012-10-27  Andreas Jaeger  <aj@suse.de>
74110         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
74111         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
74112         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
74113         [__WORDSIZE != 64]: Likewise.
74115 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
74117         *  iconvdata/tst-table.sh: Remove ${SHELL}.
74118         *  iconvdata/tst-tables.sh: Likewise.
74120 2012-10-25  David S. Miller  <davem@davemloft.net>
74122         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74123         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
74124         of strtoull.
74126         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
74127         ifunc-impl-list.c
74128         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74129         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
74130         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
74131         file.
74133 2012-10-25  Roland McGrath  <roland@hack.frob.com>
74135         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74136         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
74137         __getdirentries.
74139 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
74140             Jim Blandy  <jimb@codesourcery.com>
74142         * scripts/cross-test-ssh.sh: New file.
74143         * manual/install.texi (Configuring and compiling): Document use of
74144         cross-test-ssh.sh.
74145         * INSTALL: Regenerated.
74147 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
74149         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
74150         EOPNOTSUPP.
74152 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
74154         * Makeconfig (run-program-prefix): Fix comment.
74156 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
74157             Jim Blandy  <jimb@codesourcery.com>
74159         * Makeconfig (test-wrapper): New variable,
74160         (test-wrapper-env): Likewise.
74161         [$(cross-compiling) = yes && $(test-wrapper) != ""]
74162         (run-built-tests): Define to yes.
74163         (run-program-prefix): Use $(test-wrapper).
74164         (built-program-cmd): Likewise.
74165         * Rules (make-test-out): Use $(test-wrapper-env) and
74166         $(host-built-program-cmd).
74167         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
74168         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
74169         tst-pathopt.sh.
74170         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
74171         $(test-wrapper-env) to tst-rtld-load-self.sh.
74172         ($(objpfx)order2.out): Use $(test-wrapper).
74173         ($(objpfx)tst-initorder.out): Likewise.
74174         ($(objpfx)tst-initorder2.out): Likewise.
74175         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
74176         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
74177         (test_wrapper_env): New variable.  Use it to run ld.so.
74178         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
74179         Use it to run ld.so.
74180         (test_wrapper_env): Likewise.
74181         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
74182         $(test-wrapper) to run-iconv-test.sh.
74183         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
74184         (ICONV): Use $test_wrapper.
74185         * posix/Makefile ($(objpfx)globtest.out): Pass
74186         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
74187         globtest.sh, not $(run-program-prefix).
74188         * posix/globtest.sh (run_via_rtld_prefix): New variable.
74189         (test_wrapper): Likewise.
74190         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
74191         set together with run_via_rtld_prefix.
74192         (run_program_prefix): Define in terms of test_wrapper and
74193         run_via_rtld_prefix.
74195 2012-10-24  Roland McGrath  <roland@hack.frob.com>
74197         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
74198         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
74199         Targets removed.
74201         [BZ #14743]
74202         * include/time.h: Remove librt_hidden_proto (clock_gettime).
74203         Declare __clock_getres, __clock_gettime, __clock_settime,
74204         __clock_nanosleep, and __clock_getcpuclockid.
74205         * rt/clock_gettime.c: Define __clock_gettime as an alias.
74206         Remove librt_hidden_def (clock_gettime).
74207         * sysdeps/unix/clock_gettime.c: Likewise.
74208         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
74209         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
74210         * rt/clock_getres.c: Define __clock_getres as an alias.
74211         * sysdeps/posix/clock_getres.c: Likewise.
74212         * rt/clock_settime.c: Define __clock_settime as an alias.
74213         * sysdeps/unix/clock_settime.c: Likewise.
74214         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
74215         * sysdeps/unix/clock_nanosleep.c: Likewise.
74216         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
74217         * rt/clock-compat.c: New file.
74218         * rt/Makefile (librt-routines): Add clock-compat and move
74219         $(clock-routines) to ...
74220         (routines): ... here, new variable.
74221         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
74222         Don't add get_clockfreq here.
74223         * rt/Versions (libc: GLIBC_2.17): New version set.
74224         Add clock_* symbols here.
74225         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
74226         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
74227         (GLIBC_2.17): Add clock_* symbols.
74228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
74229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
74230         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
74231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74232         Likewise.
74233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74234         Likewise.
74235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
74236         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
74237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
74238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
74239         * NEWS: Mention the move.
74241         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
74242         Use __open, __read, __close rather than their public counterparts.
74243         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74244         (__get_clockfreq_via_cpuinfo): Likewise.
74245         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
74246         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
74248         * config.h.in (HAVE_IFUNC): New #undef.
74249         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
74250         was successful.
74251         * configure: Regenerated.
74253 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
74255         * configure.in: Move READELF check to start of file.
74256         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
74257         libc_cv_asm_gnu_indirect_function in the process.
74258         * configure: Regenerated.
74260 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
74262         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
74263         send the output to /dev/null.
74264         (libc_cv_cc_with_libunwind): Likewise.
74265         (libc_cv_as_noexecstack): Likewise.
74266         * configure: Regenerate.
74268 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
74270         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
74272         * posix/globtest.sh (TMPDIR): Do not set.
74273         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
74274         (testout): Likewise.
74276 2012-10-24  Andreas Jaeger  <aj@suse.de>
74278         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
74279         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
74280         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
74281         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
74282         posix_fadvise64, posix_fallocate64.
74284         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
74285         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
74286         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
74287         Likewise.
74288         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
74289         Likewise.
74290         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
74292         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
74293         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
74294         <bits/fcntl-linux.h>.
74295         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
74297         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
74298         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
74299         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
74300         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
74301         [__WORDSIZE != 64]: Likewise.
74303 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
74305         * Makeconfig (run-built-tests): New variable.
74306         * Rules [$(cross-compiling) = yes]: Change condition to
74307         [$(run-built-tests) = no].
74308         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
74309         to [$(run-built-tests) = yes].
74310         * elf/Makefile [$(cross-compiling) = no]: Likewise.
74311         * grp/Makefile [$(cross-compiling) = no]: Likewise.
74312         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
74313         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
74314         * intl/Makefile [$(cross-compiling) = no]: Likewise.
74315         * io/Makefile [$(cross-compiling) = no]: Likewise.
74316         * libio/Makefile [$(cross-compiling) = no]: Likewise.
74317         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
74318         * misc/Makefile [$(cross-compiling) = no]: Likewise.
74319         * posix/Makefile [$(cross-compiling) = no]: Likewise.
74320         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
74321         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
74322         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
74323         * string/Makefile [$(cross-compiling) = no]: Likewise.
74325         * posix/Makefile ($(objpfx)globtest.out): Pass
74326         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
74327         $(rtld-installed-name).
74328         * posix/globtest.sh (elf_objpfx): Remove variable.
74329         (rtld_installed_name): Likewise.
74330         (library_path): Likewise.
74331         (run_program_prefix): New variable.  Use for running globtest
74332         binary.
74334 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
74335             Joseph Myers  <joseph@codesourcery.com>
74337         * Makeconfig (host-built-program-cmd): New variable.
74338         * elf/Makefile (tst-stackguard1-ARGS): Use
74339         $(host-built-program-cmd).
74340         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
74341         (tst-spawn-ARGS): Likewise.
74342         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
74344 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
74345             Jim Blandy  <jimb@codesourcery.com>
74347         * Makeconfig (run-via-rtld-prefix): New variable.
74348         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
74349         (built-program-cmd): Likewise.
74351 2012-10-22  Andreas Jaeger  <aj@suse.de>
74353         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
74354         __O_RSYNC if it exists, otherwise to O_SYNC.
74356 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
74357             Joseph Myers  <joseph@codesourcery.com>
74359         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
74360         /dev/null.
74361         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
74362         from /dev/null
74363         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
74364         /dev/null.
74366 2012-10-22  Andreas Jaeger  <aj@suse.de>
74368         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
74369         Define always.
74370         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
74372         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74373         bits/fcntl-linux.h.
74375         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
74376         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
74378         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
74379         to __O_LARGEFILE.
74380         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
74381         to __O_LARGEFILE.
74383 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
74384             Joseph Myers  <joseph@codesourcery.com>
74386         * config.make.in (NM): New variable.
74388 2012-10-21  Andreas Jaeger  <aj@suse.de>
74390         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
74391         definitions and declarations that are provided by
74392         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74394 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
74396         [BZ #14683]
74397         * elf/Makefile (tests-static): Add tst-leaks1-static.
74398         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
74399         ($(objpfx)tst-leaks1-static): New rule.
74400         ($(objpfx)tst-leaks1-static-mem): Likewise.
74401         (tst-leaks1-static-ENV): New macro.
74402         * elf/dl-open.c (dl_open_worker): Check the main application
74403         only if SHARED is defined.
74404         * elf/tst-leaks1-static.c: New file.
74406 2012-10-20  Andreas Jaeger  <aj@suse.de>
74408         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
74409         generic values for Linux.
74410         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
74411         and declarations that are provided by <bits/fcntl-linux.h> and
74412         include <bits/fcntl-linux.h>.
74413         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74414         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74416 2012-10-20  Roland McGrath  <roland@hack.frob.com>
74418         * io/fcntl.h: Move include of <bits/types.h> to the top and
74419         include it unconditionally.
74421 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
74423         * wcsmbs/Makefile (tests-ifunc): New variable.
74424         (tests): Add $(tests-ifunc).
74425         * wcsmbs/test-wcschr-ifunc.c: New file.
74426         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
74427         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
74428         * wcsmbs/test-wcslen-ifunc.c: Likewise.
74429         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
74430         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
74432         * string/Makefile (tests-ifunc): New variable.
74433         (tests): Add $(tests-ifunc).
74434         * string/test-memccpy.c (TEST_NAME): New macro.
74435         * string/test-memchr.c (TEST_NAME): Likewise.
74436         * string/test-memcmp.c (TEST_NAME): Likewise.
74437         * string/test-memcpy.c (TEST_NAME): Likewise.
74438         * string/test-memmem.c (TEST_NAME): Likewise.
74439         * string/test-memmove.c (TEST_NAME): Likewise.
74440         * string/test-memset.c (TEST_NAME): Likewise.
74441         * string/test-rawmemchr.c (TEST_NAME): Likewise.
74442         * string/test-stpcpy.c (TEST_NAME): Likewise.
74443         * string/test-stpncpy.c (TEST_NAME): Likewise.
74444         * string/test-strcasecmp.c (TEST_NAME): Likewise.
74445         * string/test-strcasestr.c (TEST_NAME): Likewise.
74446         * string/test-strcat.c (TEST_NAME): Likewise.
74447         * string/test-strchr.c (TEST_NAME): Likewise.
74448         * string/test-strcmp.c(TEST_NAME): Likewise.
74449         * string/test-strcpy.c (TEST_NAME): Likewise.
74450         * string/test-strcspn.c (TEST_NAME): Likewise.
74451         * string/test-strlen.c (TEST_NAME): Likewise.
74452         * string/test-strncasecmp.c (TEST_NAME): Likewise.
74453         * string/test-strncmp.c (TEST_NAME): Likewise.
74454         * string/test-strncpy.c (TEST_NAME): Likewise.
74455         * string/test-strnlen.c (TEST_NAME): Likewise.
74456         * string/test-strpbrk.c (TEST_NAME): Likewise.
74457         * string/test-strrchr.c (TEST_NAME): Likewise.
74458         * string/test-strspn.c (TEST_NAME): Likewise.
74459         * string/test-strstr.c (TEST_NAME): Likewise.
74460         * string/test-bcopy-ifunc.c: New file.
74461         * string/test-bzero-ifunc.c: Likewise.
74462         * string/test-memccpy-ifunc.c: Likewise.
74463         * string/test-memchr-ifunc.c: Likewise.
74464         * string/test-memcmp-ifunc.c: Likewise.
74465         * string/test-memcpy-ifunc.c: Likewise.
74466         * string/test-memmem-ifunc.c: Likewise.
74467         * string/test-memmove-ifunc.c: Likewise.
74468         * string/test-mempcpy-ifunc.c: Likewise.
74469         * string/test-memset-ifunc.c: Likewise.
74470         * string/test-rawmemchr-ifunc.c: Likewise.
74471         * string/test-stpcpy-ifunc.c: Likewise.
74472         * string/test-stpncpy-ifunc.c: Likewise.
74473         * string/test-strcasecmp-ifunc.c: Likewise.
74474         * string/test-strcasestr-ifunc.c: Likewise.
74475         * string/test-strcat-ifunc.c: Likewise.
74476         * string/test-strchr-ifunc.c: Likewise.
74477         * string/test-strchrnul-ifunc.c: Likewise.
74478         * string/test-strcmp-ifunc.c: Likewise.
74479         * string/test-strcpy-ifunc.c: Likewise.
74480         * string/test-strcspn-ifunc.c: Likewise.
74481         * string/test-strlen-ifunc.c: Likewise.
74482         * string/test-strncasecmp-ifunc.c: Likewise.
74483         * string/test-strncat-ifunc.c: Likewise.
74484         * string/test-strncmp-ifunc.c: Likewise.
74485         * string/test-strncpy-ifunc.c: Likewise.
74486         * string/test-strnlen-ifunc.c: Likewise.
74487         * string/test-strpbrk-ifunc.c: Likewise.
74488         * string/test-strrchr-ifunc.c: Likewise.
74489         * string/test-strspn-ifunc.c: Likewise.
74490         * string/test-strstr-ifunc.c: Likewise.
74492         * debug/Makefile (tests-ifunc): New variable.
74493         (tests): Add $(tests-ifunc).
74494         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
74495         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
74496         * debug/test-stpcpy_chk-ifunc.c: New file.
74497         * debug/test-strcpy_chk-ifunc.c: Likewise.
74499 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
74501         [BZ #13601]
74502         * elf/dl-load.c (open_verify): Retry read if the entire ELF
74503         header is not read in.
74505 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
74507         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
74508         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
74509         directly.  Pass built executable to script as
74510         $(built-program-cmd).
74511         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
74512         $testprogram without using LD_LIBRARY_PATH and $ldso.
74514         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
74515         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
74516         $(rtld-installed-name).
74517         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
74518         (rtld_installed_name): Likewise.
74519         (library_path): Likewise.
74520         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
74521         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
74522         $(run-program-prefix) to tst-tables.sh.
74523         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
74524         it to run tst-table-from and tst-table-to.
74525         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
74526         Pass it to tst-table.sh.
74527         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
74528         $(run-program-prefix) to tst-gettext.sh.
74529         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
74530         tst-translit.sh.
74531         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
74532         tst-gettext2.sh.
74533         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
74534         to run tst-gettext.
74535         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
74536         to run tst-gettext2.
74537         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
74538         to run tst-translit.
74539         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
74540         $(run-program-prefix) to tst-mtrace.sh.
74541         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
74542         to run tst-mtrace.
74543         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
74544         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
74545         $(rtld-installed-name).
74546         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
74547         (rtld_installed_name): Likewise.
74548         (run_program_prefix): New variable.  Use it to run wordexp-test.
74550         * Makeconfig (ARCH): Remove all definitions.
74551         (machine): Likewise.
74552         [ARCH]: Remove conditional code.
74553         [!objdir]: Give error.
74554         [!objdir] (objpfx): Remove.
74555         [!objdir] (common-objpfx): Likewise.
74556         [!objdir] (common-objdir): Likewise.
74557         * configure.in (config_makefile): Remove.  Hardcode Makefile in
74558         AC_CONFIG_FILES call.
74559         * configure: Regenerated.
74561         [BZ #13888]
74562         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
74563         or TMPDIR.
74564         (testout): Likewise.
74566         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
74567         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
74568         $(rtld-installed-name).
74569         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
74570         (rtld_installed_name): Likewise.
74571         (runit): Remove function.
74572         (run_getconf): New variable,  Use it for running getconf binary.
74574 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
74576         [BZ #14716]
74577         * string/test-memmem.c (check_result): New function.
74578         (do_one_test): Use it.
74579         (check1): New function.
74580         (test_main): Use it.
74582 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
74584         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
74586 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
74588         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
74589         (_G_LSEEK64): Likewise.
74590         (_G_MMAP64): Likewise.
74591         (_G_FSTAT64): Likewise.
74592         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
74593         (_G_LSEEK64): Likewise.
74594         (_G_MMAP64): Likewise.
74595         (_G_FSTAT64): Likewise.
74596         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
74597         unconditional.  Call __mmap64 directly.
74598         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
74599         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
74600         __lseek64 directly.
74601         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
74602         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
74603         __mmap64 directly.
74604         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
74605         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
74606         __lseek64 directly.
74607         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
74608         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
74609         __lseek64 directly.
74610         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
74611         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
74612         __lseek64 directly.
74613         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
74614         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
74615         __fxstat64 directly.
74616         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
74617         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
74618         unconditional.
74619         (freopen64) [!_G_OPEN64]: Remove conditional code.
74620         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
74621         unconditional.
74622         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
74623         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
74624         unconditional.
74625         (ftello64) [!_G_LSEEK64]: Remove conditional code.
74626         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
74627         unconditional.
74628         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74629         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
74630         unconditional.
74631         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
74632         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
74633         unconditional.
74634         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74635         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
74636         unconditional.
74637         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74638         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
74639         unconditional.
74640         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74642 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
74644         [BZ #12140]
74645         * manual/memory.texi (Malloc Tunable Parameters): Add note
74646         about free list pointers overwriting some perturb bytes.
74647         Wording suggested by Roland McGrath.
74649 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
74651         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
74652         (lgamma_test): Likewise.
74653         (tgamma_test): Likewise.
74655 2012-10-16  Florian Weimer  <fweimer@redhat.com>
74657         [BZ #14700]
74658         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
74659         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
74661 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
74663         * NEWS: Mention BZ #14716.
74664         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
74665         when removing AVAILABLE1_USES_J macro.
74667 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
74669         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
74670         (__bswap_64): __uint64_t for unsigned 64-bit int.
74672 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
74674         * include/string.h (memmem): Declare libc hidden alias.
74675         * string/memmem.c (memmem): Define libc hidden alias.
74676         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
74677         __read, __close instead of open, read, close.
74679 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
74681         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
74682         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
74683         global and hidden.
74684         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
74685         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
74686         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
74687         Likewise.
74688         (__rawmemchr_sse2): Likewise.
74689         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
74690         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
74691         (__strchr_sse2): Likewise.
74692         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
74693         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
74694         (__strcasecmp_sse2): Likewise.
74695         (__strncasecmp_sse2): Likewise.
74696         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
74697         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
74698         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
74699         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
74700         (__strrchr_sse2): Likewise.
74701         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
74702         ifunc-impl-list.c.
74703         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
74704         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
74705         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
74706         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74707         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
74708         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
74709         * sysdeps/x86_64/multiarch/memset.S: Likewise.
74710         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
74711         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
74712         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
74713         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
74714         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
74715         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
74716         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
74717         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
74718         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
74719         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
74720         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
74721         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
74722         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
74723         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
74724         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
74725         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
74726         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
74727         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
74728         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74729         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
74730         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74731         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
74732         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
74734         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
74735         global and hidden.
74736         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
74737         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
74738         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
74739         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
74740         Likewise.
74741         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
74742         Likewise.
74743         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
74744         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
74745         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
74746         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
74747         ifunc-impl-list.c.
74748         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74749         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74750         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74751         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74752         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74753         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74754         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74755         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74756         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74757         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74758         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74759         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74760         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74761         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
74762         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
74763         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74764         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
74765         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
74766         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74767         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74768         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74769         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74770         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74771         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74772         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74773         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
74774         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
74775         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
74776         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
74777         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74778         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
74779         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74780         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74781         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
74782         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74783         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74784         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74785         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74786         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74787         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74788         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
74790         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
74791         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
74792         * include/ifunc-impl-list.h: New file.
74793         * misc/ifunc-impl-list.c: Likewise.
74794         * misc/Makefile (routines): Add ifunc-impl-list.
74795         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
74796         * string/test-string.h: Include <ifunc-impl-list.h>.
74797         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
74798         TEST_NAME]: New variables.
74799         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
74800         are defined.
74801         (test_init): Call __libc_ifunc_impl_list to initialize
74802         func_list if TEST_IFUNC and TEST_NAME are defined.
74804         * string/Makefile (strop-tests): Add bcopy and bzero.
74805         * string/test-bcopy.c: New file.
74806         * string/test-bzero.c: Likewise.
74807         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
74808         defined.
74809         * string/test-memset.c: Support bzero test if TEST_BZERO is
74810         defined.
74811         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
74812         __libc_memmove.
74813         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
74814         __libc_memset.
74815         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
74816         of memset.
74818 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
74820         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
74821         * configure: Regenerated.
74823         * Makeconfig (+link-static-before-libc): Don't include
74824         $(link-static-libc).
74826         * libio/libio.h (_IO_pos_t): Remove.
74828 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74830         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
74831         McGrath.
74833 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74835         * crypt/crypt-entry.c: Include fips-private.h.
74836         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
74837         * crypt/md5c-test.c (main): Tolerate disabled MD5.
74838         * sysdeps/unix/sysv/linux/fips-private.h: New file.
74839         * sysdeps/generic/fips-private.h: New file, dummy fallback.
74841 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74843         * crypt/crypt-private.h: Include stdbool.h.
74844         (_ufc_setup_salt_r): Return bool.
74845         * crypt/crypt-entry.c: Include errno.h.
74846         (__crypt_r): Return NULL with EINVAL for bad salt.
74847         * crypt/crypt_util.c (bad_for_salt): New.
74848         (_ufc_setup_salt_r): Check that salt is long enough and within
74849         the specified alphabet.
74850         * crypt/badsalttest.c: New file.
74851         * crypt/Makefile (tests): Add it.
74852         ($(objpfx)badsalttest): New.
74854 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
74856         * NEWS: Add entry for BZ #14602.
74858 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
74860         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
74861         type-generic.
74862         * math/libm-test.inc: Update comment listing what functions and
74863         macros are tested.
74864         (isgreater_test): New function.
74865         (isgreaterequal_test): Likewise.
74866         (isless_test): Likewise.
74867         (islessequal_test): Likewise.
74868         (islessgreater_test): Likewise.
74869         (isunordered_test): Likewise.
74870         (main): Call the new functions.
74872 2012-10-09  Roland McGrath  <roland@hack.frob.com>
74874         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
74875         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
74876         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
74877         * sysdeps/i386/configure: Regenerated.
74878         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
74879         * sysdeps/mach/configure: Regenerated.
74880         * sysdeps/mach/hurd/configure: Regenerated.
74881         * sysdeps/powerpc/configure: Regenerated.
74882         * sysdeps/powerpc/powerpc32/configure: Regenerated.
74883         * sysdeps/powerpc/powerpc64/configure: Regenerated.
74884         * sysdeps/s390/s390-32/configure: Regenerated.
74885         * sysdeps/s390/s390-64/configure: Regenerated.
74886         * sysdeps/sh/configure: Regenerated.
74887         * sysdeps/sparc/configure: Regenerated.
74888         * sysdeps/unix/sysv/linux/configure: Regenerated.
74889         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
74890         * sysdeps/x86_64/configure: Regenerated.
74892         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
74893         defined.  Don't check if MAP is NULL.
74895 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
74897         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
74898         (_G_stat64): Likewise.
74899         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
74900         (_G_stat64): Likewise.
74901         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
74902         instead of struct _G_stat64.
74903         * libio/fileops.c (mmap_remap_check): Likewise.
74904         (decide_maybe_mmap): Likewise.
74905         (_IO_new_file_seekoff): Likewise.
74906         (_IO_file_stat): Likewise.
74907         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
74908         _G_off64_t.
74909         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
74910         instead of struct _G_stat64.
74911         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
74913 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
74915         [BZ #14602]
74916         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74917         Replace with ...
74918         (CHECK_EOL): New macro.
74919         (two_way_short_needle): Check beginning of haystack for EOL.  Use
74920         CHECK_EOL.
74921         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74922         Replace with CHECK_EOL.
74923         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74924         Replace with CHECK_EOL.
74926 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
74928         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
74929         type-generic.
74930         * math/libm-test.inc: Update comment listing what functions and
74931         macros are tested.
74932         (finite_test): New function.
74933         (isinf_test): Likewise.
74934         (isnan_test): Likewise.
74935         (fpclassify_test): Test subnormal input.
74936         (isfinite_test): Likewise.
74937         (isnormal_test): Likewise.
74938         (main): Call the new functions.
74940 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
74942         [BZ #14660]
74943         * Makerules (%.dynsym): Force C locale when running
74944         $(OBJDUMP) --dynamic-syms.
74946 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
74948         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
74949         <stdint.h>.
74951 2012-10-06  David S. Miller  <davem@davemloft.net>
74953         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
74954         upper 32-bits of the length value in %o2 since we use branch-on-register
74955         tests which consider the entire 64-bit register.
74957 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
74959         * string/test-strstr.c (check2): Add a test for page boundary.
74961 2012-10-05  David S. Miller  <davem@davemloft.net>
74963         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
74964         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
74965         file.
74966         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
74967         sysdep_routines.
74968         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
74969         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
74970         and bzero when HWCAP_SPARC_CRYPTO is present.
74972 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
74974         [BZ #14602]
74975         * string/test-strstr.c (check2): New function.
74976         (test_main): Call check2.
74978         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
74979         and bug-strchr1.
74980         * string/bug-strcasestr1.c (do_test): Moved to ...
74981         * string/test-strcasestr.c (check1): Here.  New function.
74982         (do_one_test): Break out result checking code into ...
74983         (check_result): This.  New function.
74984         (do_one_test): Call check_result.
74985         (test_main): Call check1.
74986         * string/bug-strchr1.c (do_test): Moved to ...
74987         * string/test-strchr.c (check1): Here.  New function.
74988         (do_one_test): Break out result checking code into ...
74989         (check_result): This.  New function.
74990         (do_one_test): Call check_result.
74991         (test_main): Call check1.
74992         * string/bug-strstr1.c (main): Moved to ...
74993         * string/test-strstr.c (check1): Here.  New function.
74994         (do_one_test): Break out result checking code into ...
74995         (check_result): This.  New function.
74996         (do_one_test): Call check_result.
74997         (test_main): Call check1.
74998         * string/bug-strcasestr1.c: Removed.
74999         * string/bug-strchr1.c: Likewise.
75000         * string/bug-strstr1.c: Likewise.
75002         * elf/Makefile (dl-routines): Add hwcaps.
75003         * elf/dl-support.c (_dl_important_hwcaps): Removed.
75004         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
75005         (_dl_important_hwcaps): Moved to ...
75006         * elf/dl-hwcaps.c: Here.  New file.
75007         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
75009         [BZ #14557]
75010         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
75011         if IS_IN_rtld isn't defined.
75013         * elf/dl-support.c (_dl_sysinfo_map): New.
75014         Include "get-dynamic-info.h" and "setup-vdso.h".
75015         (_dl_non_dynamic_init): Call setup_vdso.
75016         * elf/dynamic-link.h: Don't include <assert.h>.
75017         (elf_get_dynamic_info): Moved to ...
75018         * elf/get-dynamic-info.h: Here.  New file.
75019         * elf/dynamic-link.h: Include "get-dynamic-info.h".
75020         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
75021         * elf/setup-vdso.h: Here.  New file.
75022         * elf/rtld.c: Include "setup-vdso.h".
75023         (dl_main): Call setup_vdso.
75025 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
75027         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
75028         creal in comment listing functions tested.  List finite, isinf,
75029         isnan, isless, islessequal, isgreater, isgreaterequal,
75030         islessgreater, isunordered, lgamma_r and pow10 as functions and
75031         macros not tested.  Mention which functions not tested are aliases
75032         for other functions.  Fix typo.  Note that signs of NaNs are not
75033         tested.
75035         * scripts/config.guess: Update from config.git.
75036         * scripts/config.sub: Likewise.
75038 2012-10-04  Roland McGrath  <roland@hack.frob.com>
75040         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
75041         * misc/madvise.c (madvise): Renamed to __madvise.
75042         Make madvise a weak alias.
75043         * include/sys/mman.h: Declare __madvise.
75044         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
75045         * sysdeps/unix/syscalls.list
75046         (madvise): Make __madvise the strong name, and madvise a weak alias.
75047         * sysdeps/unix/sysv/linux/syscalls.list
75048         (madvise, mmap): Remove redundant entries.
75049         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
75050         * malloc/malloc.c (mtrim): Likewise.
75051         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
75053 2012-10-03  Roland McGrath  <roland@hack.frob.com>
75055         * sysdeps/mach/hurd/dl-cache.c: File removed.
75056         * config.h.in (USE_LDCONFIG): New #undef.
75057         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
75058         * configure: Regenerated.
75059         * elf/Makefile (dl-routines): Add dl-cache only under
75060         [$(use-ldconfig) = yes].
75061         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
75062         cache on [USE_LDCONFIG].
75063         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
75064         [USE_LDCONFIG].
75065         * elf/rtld.c (dl_main): Likewise.
75067 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
75069         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
75070         _SC_LEVEL4_CACHE_LINESIZE.
75072 2012-10-03  Roland McGrath  <roland@hack.frob.com>
75074         * sysdeps/unix/bsd/confstr.h: File removed.
75076 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
75078         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
75079         sys/sdt-config.h.
75081 2012-10-02  Roland McGrath  <roland@hack.frob.com>
75083         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
75084         Make 'mapoff' field ElfW(Off) rather than off_t.
75086 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
75088         * nscd/Makefile: Remove nscd-cflags and all its users.
75089         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
75090         (CFLAGS-nonlib): Add compiler flags for nscd modules.
75092         [BZ #10631]
75093         * malloc.c (malloc_printerr): Clarify error message.
75095 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
75097         [BZ #14648]
75098         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75099         Set bit_FMA_Usable if FMA is supported.
75100         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
75101         macro.
75102         (bit_FMA4_Usable): Updated.
75103         (index_FMA_Usable): New macro.
75104         (CPUID_FMA): Likewise.
75105         (HAS_FMA): Defined with bit_FMA_Usable.
75107 2012-10-01  Roland McGrath  <roland@hack.frob.com>
75109         * bits/types.h (__swblk_t): Type removed.
75110         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
75111         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
75112         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75113         (__SWBLK_T_TYPE): Likewise.
75114         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75115         (__SWBLK_T_TYPE): Likewise.
75116         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75117         (__SWBLK_T_TYPE): Likewise.
75118         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75119         (__SWBLK_T_TYPE): Likewise.
75121 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
75122             Honza Horak <hhorak@redhat.com>
75124         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
75125         (xdr_mapname): Use YPMAXMAP as maxsize.
75126         (xdr_peername): Use YPMAXPEER as maxsize.
75127         (xdr_keydat): Use YPAXRECORD as maxsize.
75128         (xdr_valdat): Use YPMAXRECORD as maxsize.
75130 2012-10-01  Roland McGrath  <roland@hack.frob.com>
75132         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
75134         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
75135         * csu/init-first.c: ... here.
75136         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
75137         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
75138         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
75139         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
75140         * sysdeps/i386/init-first.c: File removed.
75141         * sysdeps/sh/init-first.c: File removed.
75143 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
75145         [BZ #14645]
75146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
75147         if x * y might underflow to zero and z is zero.
75148         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75149         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75150         * math/libm-test.inc (min_subnorm_value): New variable.
75151         (fma_test): Add more tests.
75152         (fma_test_towardzero): Likewise.
75153         (fma_test_downward): Likewise.
75154         (fma_test_upward): Likewise.
75155         (initialize): Set min_subnorm_value.
75157 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
75159         [BZ #14638]
75160         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
75161         0 + 0.
75162         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
75163         mode for addition resulting in exact zero.
75164         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
75165         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
75166         exact 0 + 0.
75167         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75168         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75169         * math/libm-test.inc (fma_test): Add more tests.
75170         (fma_test_towardzero): New function.
75171         (fma_test_downward): Likewise.
75172         (fma_test_upward): Likewise.
75173         (main): Call the new functions.
75175 2012-09-28  David S. Miller  <davem@davemloft.net>
75177         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
75179 2012-09-28  Roland McGrath  <roland@hack.frob.com>
75181         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
75182         instead of SIGALRM.
75184         * sysdeps/gnu/_G_config.h: Moved to ...
75185         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
75186         * sysdeps/mach/hurd/_G_config.h: Moved to ...
75187         * sysdeps/generic/_G_config.h: ... here.
75189         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
75191         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
75193         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
75194         Conditionalize target on [libnss_test1.so-version].
75196         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
75198         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
75199         (elfobjdir): Move out of conditionals.
75201         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
75202         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
75203         (__nss_lookup_function): Conditionalize label remove_from_tree on
75204         [!DO_STATIC_NSS || SHARED], matching its only use.
75206 2012-09-28  David S. Miller  <davem@davemloft.net>
75208         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
75209         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
75210         file.
75211         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
75212         sysdep_routines.
75213         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
75214         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
75215         when HWCAP_SPARC_CRYPTO is present.
75217 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75219         * io/tst-mknodat.c: Create a FIFO instead of a socket.
75221 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
75223         [BZ #6530]
75224         * stdio-common/vfprintf.c (process_string_arg): Revert
75225         2000-07-22 change.
75227 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
75229         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
75230         for testcase.
75231         * stdio-common/tst-sprintf.c: Include <locale.h>
75232         (main): Test sprintf's handling of incomplete multibyte
75233         characters.
75235 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
75237         * elf/dl-runtime.c (VERSYMIDX): Removed.
75238         * elf/dl-version.c (VERSYMIDX): Likewise.
75239         * elf/do-rel.h (VERSYMIDX): Likewise.
75240         (VALIDX): Likewise.
75241         * elf/dynamic-link.h (VERSYMIDX): Likewise.
75242         * elf/rtld.c (VALIDX): Likewise.
75243         (ADDRIDX): Likewise.
75244         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
75245         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
75246         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
75247         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
75248         (VALIDX): Likewise.
75249         (ADDRIDX): Likewise.
75251 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75253         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
75255 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
75257         [BZ #11438]
75258         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
75259         to global scope.
75260         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
75261         addresses are in the same scope as 192.0.2/24.
75262         * posix/gai.conf: Document new scope table defaults.
75264 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
75266         [BZ #5298]
75267         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
75268         for ftell.  Compute offsets from write pointers instead.
75269         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
75271 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
75273         [BZ #14543]
75274         * libio/Makefile (tests): New test case tst-fseek.
75275         * libio/tst-fseek.c: New test case to verify that fseek/ftell
75276         combination works in wide mode.
75277         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
75278         state when the external buffer state changes.
75280 2012-09-27  David S. Miller  <davem@davemloft.net>
75282         [BZ #14376]
75283         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
75284         pass reloc->r_addend in as the 'high' argument to
75285         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
75287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75289 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75291         * rt/tst-aio2.c: Include <pthread.h>.
75292         * rt/tst-aio3.c: Likewise.
75294 2012-09-27  Steve Ellcey  <sellcey@mips.com>
75296         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
75298 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
75300         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
75301         contents on [SHARED].
75303 2012-09-26  Marek Polacek  <polacek@redhat.com>
75305         [BZ #14530]
75306         [BZ #13741]
75307         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
75308         for C++ and GCC <4.3 as well as for non GCC compilers.
75310 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
75312         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75314 2012-09-25  Roland McGrath  <roland@hack.frob.com>
75316         * Makefile.in (all, install): Declare with .PHONY.
75317         Reported by Michael Hope <michael.hope@linaro.org>.
75319 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75321         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
75322         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
75323         system header.
75324         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
75325         Likewise.
75326         (sydep_routines): Add the new and the internal functions.
75327         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
75328         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
75329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
75330         (GLIBC_2.17): Add the new function.
75331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
75332         (GLIBC_2.17): Likewise.
75333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
75334         (GLIBC_2.17): Likewise.
75335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
75336         (GLIBC_2.17): Likewise.
75337         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
75339 2012-09-25  Alan Modra  <amodra@gmail.com>
75341         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
75342         Add release barrier before setting once_control to say
75343         initialisation is done.  Add hints on lwarx.  Use macro in
75344         place of isync.
75345         (clear_once_control): Add release barrier.
75347 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
75349         [BZ #13629]
75350         * math/s_clog.c (__clog): Handle more values close to |z| = 1
75351         specially.
75352         * math/s_clog10.c (__clog10): Likewise.
75353         * math/s_clog10f.c (__clog10f): Likewise.
75354         * math/s_clog10l.c (__clog10l): Likewise.
75355         * math/s_clogf.c (__clogf): Likewise.
75356         * math/s_clogl.c (__clogl): Likewise.
75357         * math/Makefile (libm-calls): Add x2y2m1.
75358         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
75359         (__x2y2m1): Likewise.
75360         (__x2y2m1l): Likewise.
75361         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
75362         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
75363         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
75364         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
75365         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
75366         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
75367         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
75368         * sysdeps/i386/fpu/libm-test-ulps: Update.
75369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75371         [BZ #14621]
75372         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
75373         int as type of variable DEPTH.
75374         (glob): Use size_t instead of int as type of variables NEWCOUNT
75375         and OLD_PATHC.
75377 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75379         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75380         Add s_sincosf-sse2.
75381         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
75382         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
75383         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
75384         macros for using routine as __sincosf_ia32.
75385         Use macro for function declaration and weak_alias.
75386         * sysdeps/i386/fpu/libm-test-ulps: Update.
75388         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
75389         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75391         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
75392         subnormal argument.
75393         * math/s_cexpf.c (__cexpf): Likewise.
75394         * math/s_csinf.c (__csinf): Likewise.
75395         * math/s_csinhf.c (__csinhf): Likewise.
75396         * math/s_ctanf.c (__ctanf): Likewise.
75397         * math/s_ctanhf.c (__ctanhf): Likewise.
75398         * math/s_ccosh.c (__ccoshf): Likewise.
75399         * math/s_cexp.c (__cexpl): Likewise.
75400         * math/s_csin.c (__csin): Likewise.
75401         * math/s_csinh.c (__csinh): Likewise.
75402         * math/s_ctan.c (__ctan): Likewise.
75403         * math/s_ctanh.c (ctanh): Likewise.
75404         * math/s_ccoshl.c (__ccoshl): Likewise.
75405         * math/s_cexpl.c (__cexpl): Likewise.
75406         * math/s_csinl.c (__csinl): Likewise.
75407         * math/s_csinhl.c (__csinhl): Likewise.
75408         * math/s_ctanl.c (__ctanl): Likewise.
75409         * math/s_ctanhl.c (__ctanhl): Likewise.
75411 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
75413         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
75414         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
75415         (_IO_off_t): Define to __off_t, not _G_off_t.
75416         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
75417         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
75418         (_IO_wint_t): Define to wint_t, not _G_wint_t.
75419         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
75420         type of __dummy and __dummy2 fields.
75421         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
75422         (_G_ssize_t): Likewise.
75423         (_G_off_t): Likewise.
75424         (_G_pid_t): Likewise.
75425         (_G_uid_t): Likewise.
75426         (_G_wchar_t): Likewise.
75427         (_G_wint_t): Likewise.
75428         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
75429         (_G_ssize_t): Likewise.
75430         (_G_off_t): Likewise.
75431         (_G_pid_t): Likewise.
75432         (_G_uid_t): Likewise.
75433         (_G_wchar_t): Likewise.
75434         (_G_wint_t): Likewise.
75435         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
75436         (_G_ssize_t): Likewise.
75437         (_G_off_t): Likewise.
75438         (_G_pid_t): Likewise.
75439         (_G_uid_t): Likewise.
75440         (_G_wchar_t): Likewise.
75441         (_G_wint_t): Likewise.
75443 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75445         * malloc/arena.c: Include malloc-sysdep.h.
75446         (shrink_heap): Use check_may_shrink_heap to decide if madvise
75447         is sufficient to shrink the heap or an unmap is needed.
75448         * sysdeps/generic/malloc-sysdep.h: New file.  Define
75449         new function check_may_shrink_heap.
75450         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
75451         new function check_may_shrink_heap.
75453 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75455         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
75456         comments.
75458 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
75460         * catgets/test-gencat.sh: Add "set -e".
75461         * elf/tst-pathopt.sh: Likewise.
75462         * grp/tst_fgetgrent.sh: Likewise.
75463         * iconvdata/run-iconv-test.sh: Likewise.
75464         * intl/tst-gettext.sh: Likewise.
75465         * intl/tst-gettext2.sh: Likewise.
75466         * intl/tst-gettext4.sh: Likewise.
75467         * intl/tst-gettext6.sh: Likewise.
75468         * intl/tst-translit.sh: Likewise.
75469         * io/ftwtest-sh: Likewise.
75470         * libio/test-freopen.sh: Likewise.
75471         * malloc/tst-mtrace.sh: Likewise.
75472         * posix/globtest.sh: Likewise.
75473         * posix/tst-getconf.sh: Likewise.
75474         * posix/wordexp-tst.sh: Likewise.
75475         * stdio-common/tst-printf.sh: Likewise.
75476         * stdio-common/tst-unbputc.sh: Likewise.
75477         * stdlib/tst-fmtmsg.sh: Likewise.
75478         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75479         * catgets/Makefile: Do not specify -e option when running
75480         testsuite shell scripts.
75481         * elf/Makefile: Likewise.
75482         * grp/Makefile: Likewise.
75483         * iconvdata/Makefile: Likewise.
75484         * intl/Makefile: Likewise.
75485         * io/Makefile: Likewise.
75486         * libio/Makefile: Likewise.
75487         * malloc/Makefile: Likewise.
75488         * posix/Makefile: Likewise.
75489         * stdio-common/Makefile: Likewise.
75490         * stdlib/Makefile: Likewise.
75491         * sysdeps/x86_64/Makefile: Likewise.
75493         * io/ftwtest-sh: Add copyright header.
75494         * posix/globtest.sh: Likewise.
75495         * posix/tst-getconf.sh: Likewise.
75496         * posix/wordexp-tst.sh: Likewise.
75497         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75499 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
75501         [BZ #13679]
75502         * Makeconfig (+link): Defined as $(+link-static) if
75503         $(build-shared) isn't yes.
75504         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
75505         isn't yes.
75506         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
75508         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
75510         [BZ #14562]
75511         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
75512         new chunk size with MALLOC_ALIGN_MASK.
75514 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
75516         [BZ #5044]
75517         * stdio-common/printf_fphex.c: Include <stdbool.h> and
75518         <rounding-mode.h>.
75519         (__printf_fphex): Determine rounding using get_rounding_mode and
75520         round_away.
75521         * stdio-common/tst-printf-round.c (struct hex_test): New
75522         structure.
75523         (hex_tests): New variable.
75524         (test_hex_in_one_mode): New function.
75525         (do_test): Also run tests for hex float output.
75527 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
75529         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75530         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75531         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
75532         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75533         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75534         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
75535         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75536         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75538 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
75540         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
75541         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
75542         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
75543         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
75545 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
75547         [BZ #14579]
75548         * elf/rtld.c (dl_main): Limit the check for self loading to normal
75549         mode only.
75550         * elf/tst-rtld-load-self.sh: New test.
75551         * elf/Makefile: Run it.
75553 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
75555         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
75556         (tst-writev-ENV): Remove.
75557         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
75559 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
75561         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
75563 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
75565         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
75566         unconditional.
75567         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
75568         Likewise.
75569         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
75570         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
75571         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
75572         Likewise.
75574 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
75576         [BZ #14587]
75577         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
75578         * config.make.in (have-cpp-asm-debuginfo): Removed.
75579         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
75580         * configure: Regenerated.
75582 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
75584         [BZ #5044]
75585         * stdio-common/printf_fp.c: Include <stdbool.h> and
75586         <rounding-mode.h>.
75587         (___printf_fp): Determine rounding using get_rounding_mode and
75588         round_away.
75589         * stdio-common/tst-printf-round.c: New file.
75590         * stdio-common/Makefile (tests): Add tst-printf-round.
75591         (link-libm): New variable.
75592         ($(objpfx)tst-printf-round): Depend in $(link-libm).
75594 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
75596         [BZ #14576]
75597         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
75598         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
75599         Likewise.
75600         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
75601         Likewise.
75603 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
75605         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
75606         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75607         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75608         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75610 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
75612         [BZ #14518]
75613         * include/rounding-mode.h: New file.
75614         * sysdeps/generic/get-rounding-mode.h: Likewise.
75615         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
75616         * stdlib/strtod_l.c: Include <rounding-mode.h>.
75617         (MAX_VALUE): New macro.
75618         (MIN_VALUE): Likewise.
75619         (overflow_value): New function.
75620         (underflow_value): Likewise.
75621         (round_and_return): Use overflow_value and underflow_value to
75622         determine return values in overflow and underflow cases.  Use
75623         round_away to determine rounding depending on rounding mode.
75624         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
75625         determine return values in overflow and underflow cases.
75626         * stdlib/tst-strtod-round.c: Include <fenv.h>.
75627         (struct test_results): New structure.
75628         (struct test): Use struct test_results to store expected results
75629         for all rounding modes.
75630         (TEST): Include expected results for all rounding modes.
75631         (test_in_one_mode): New function.
75632         (do_test): Use test_in_one_mode to compute and check results.
75633         Check results for all rounding modes.
75634         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
75635         $(link-libm).
75637 2012-12-09  Allan McRae  <allan@archlinux.org>
75639         * sysdeps/i386/fpu/libm-test-ulps: Update
75641 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
75643         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
75644         (_G_int32_t): Likewise.
75645         (_G_uint16_t): Likewise.
75646         (_G_uint32_t): Likewise.
75647         (_G_HAVE_BOOL): Likewise.
75648         (_G_HAVE_ATEXIT): Likewise.
75649         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75650         (_G_HAVE_IO_FILE_OPEN): Likewise.
75651         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
75652         (_G_int32_t): Likewise.
75653         (_G_uint16_t): Likewise.
75654         (_G_uint32_t): Likewise.
75655         (_G_HAVE_BOOL): Likewise.
75656         (_G_HAVE_ATEXIT): Likewise.
75657         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75658         (_G_HAVE_IO_FILE_OPEN): Likewise.
75659         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
75660         (_G_int32_t): Likewise.
75661         (_G_uint16_t): Likewise.
75662         (_G_uint32_t): Likewise.
75663         (_G_HAVE_BOOL): Likewise.
75664         (_G_HAVE_ATEXIT): Likewise.
75665         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75666         (_G_HAVE_IO_FILE_OPEN): Likewise.
75668 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
75670         * csu/libc-tls.c: Update copyright years.
75672 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
75674         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
75675         [!_G_USING_THUNKS]: Remove conditional code.
75676         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
75677         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
75679         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
75680         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
75681         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75682         (_G_VTABLE_LABEL_PREFIX): Likewise.
75683         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75684         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75685         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75686         (_G_VTABLE_LABEL_PREFIX): Likewise.
75687         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75688         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75689         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75690         (_G_VTABLE_LABEL_PREFIX): Likewise.
75691         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75693 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
75695         * libio/Makefile: Include ../Makeconfig before tests.
75696         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
75697         only if $(build-shared) is yes.
75699         * iconv/gconv_db.c: Update copyright years.
75701 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75703         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
75704         unwind info if defined PIC. Fix special cases description.
75705         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
75707         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
75708         DP_HI_MASK entry.
75709         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
75711 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
75713         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
75715         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
75716         is NULL.
75718         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
75719         (LDLIBS-tst-chk4): This.
75720         (LDFLAGS-tst-chk5): Renamed to ...
75721         (LDLIBS-tst-chk5): This.
75722         (LDFLAGS-tst-chk6): Renamed to ...
75723         (LDLIBS-tst-chk6): This.
75724         (LDFLAGS-tst-lfschk4): Renamed to ...
75725         (LDLIBS-tst-lfschk4): This.
75726         (LDFLAGS-tst-lfschk5): Renamed to ...
75727         (LDLIBS-tst-lfschk5): This.
75728         (LDFLAGS-tst-lfschk6): Renamed to ...
75729         (LDLIBS-tst-lfschk6): This.
75731         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
75732         on $(common-objpfx)soversions.mk.
75734 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
75736         [BZ #10014]
75737         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
75738         example host name.
75740 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
75742         * malloc/arena.c (arena_get_retry): New function that gets
75743         another arena for the caller to try its request on.
75744         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
75745         current arena cannot fulfill the request.
75746         (__libc_memalign): Likewise.
75747         (__libc_memalign): Likewise.
75748         (__libc_pvalloc): Likewise.
75749         (__libc_calloc): Likewise.
75751 2012-09-05  John Tobey  <john.tobey@gmail.com>
75753         [BZ #13542]
75754         * manual/arith.texi (Operations on Complex): Fix description
75755         of carg branch cut.
75757 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75759         [BZ #10014]
75760         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
75761         host name.
75763         [BZ #10038]
75764         * manual/memory.texi (Memory): Make order of menu items match
75765         order of sections.
75767 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75769         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
75770         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
75771         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
75773 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75775         * csu/libc-tls.c (static_dtv): Renamed to ...
75776         (_dl_static_dtv): This.  Make it global.
75777         (_dl_initial_dtv): Removed.
75778         (__libc_setup_tls): Updated.
75779         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
75780         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
75781         DL_INITIAL_DTV.
75783 2012-09-06  Petr Machata  <pmachata@redhat.com>
75785         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
75786         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
75787         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
75788         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
75790 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75792         [BZ #14545]
75793         * csu/libc-tls.c (_dl_initial_dtv): New variable.
75794         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
75795         freeing dtv[-1].
75797 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75799         [BZ #14544]
75800         * Makeconfig (link-static-before-libc): Replace $(+prector)
75801         with $(+prectorT).
75802         (link-static-after-libc): Replace $(+postctor) with
75803         $(+postctorT).
75804         (link-bounded): Replace $(+prector)/$(+postctor) with
75805         $(+prectorT)/$(+postctorT).
75806         (+prectorT): New macro.
75807         (+postctorT): Likewise.
75809 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75811         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
75812         (round_str): Handle values above the maximum for IBM long double
75813         as inexact.
75814         * stdlib/tst-strtod-round.c (tests): Regenerated.
75816 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75818         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
75819         assembler flag.
75820         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
75821         zarch_nohighgprs around the zarch optimized routines.
75822         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
75823         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
75824         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
75825         for zarch.
75827 2012-09-05  David S. Miller  <davem@davemloft.net>
75829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75831         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
75832         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
75833         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
75834         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75835         entries.
75837 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75839         * malloc/arena.c: Fold copyright years.
75840         * malloc/mcheck.c, malloc/memusage.c: Likewise.
75842 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75844         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
75846 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75848         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
75850 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75852         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
75853         change internal state upon failure.
75855 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75857         * malloc/mcheck.c (mcheck_check_all): Fix typo.
75858         * malloc/memusage.c (mmap): Likewise.
75859         (mmap64, mremap): Likewise.  Adjust name in comment.
75861 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
75863         * libio/fileops.c: Fix typos in comments.
75864         * libio/oldfileops.c: Likewise.
75865         * libio/wfileops.c: Likewise.
75867 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
75869         [BZ #1349]
75870         * malloc/Makefile (tests): Add tst-malloc-usable test case.
75871         (tst-malloc-usable-ENV): Set environment for test case.
75872         * malloc/hooks.c (malloc_check_get_size): New function to get
75873         requested size.
75874         * malloc/malloc.c (musable): Use malloc_check_get_size.
75875         * malloc/tst-malloc-usable.c: New test case.
75877 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75879         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
75881 2012-09-05  Allan McRae  <allan@archlinux.org>
75883         [BZ #13966]
75884         * configure.in (CXX_SYSINCLUDES): Use compiler output to
75885         determine header location.
75886         * configure: Regenerated.
75888 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75890         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
75891         float format.
75892         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
75893         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
75894         format.
75895         (test): Regenerate.
75897 2012-09-04  David S. Miller  <davem@davemloft.net>
75899         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
75900         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
75901         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
75903 2012-09-04  Florian Weimer  <fweimer@redhat.com>
75905         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
75906         failures.
75908         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
75910 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
75912         [BZ #9914]
75913         * libio/iogetdelim.c: Include <limits.h>.
75914         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
75915         + len + 1 would overflow.
75917 2012-09-03  Andreas Jaeger  <aj@suse.de>
75919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75920         * sysdeps/i386/fpu/libm-test-ulps: Update.
75922 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75924         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75925         Add s_sinf-sse2, s_conf-sse2.
75927         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
75928         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
75929         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
75930         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
75932         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
75933         for using routine as __sinf_ia32.
75934         Use macro for function declaration and weak_alias.
75935         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
75936         for using routine as __cosf_ia32.
75937         Use macro for function declaration and weak_alias.
75939         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
75940         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
75942         * sysdeps/x86_64/fpu/s_sinf.S: New file.
75943         * sysdeps/x86_64/fpu/s_cosf.S: New file.
75944         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75946         * math/libm-test.inc (cos_test): Add more test cases.
75947         (sin_test): Likewise.
75948         (sincos_test): Likewise.
75950 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75952         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
75953         (IFUNC_RESOLVE): Make pointers to the specialized implementations
75954         hidden.
75955         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
75957 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
75959         [BZ #14538]
75960         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
75961         first element of the GOT.
75962         (elf_machine_load_address): Return the difference between
75963         the runtime address of _DYNAMIC and elf_machine_dynamic ().
75965 2012-09-01  Allan McRae  <allan@archlinux.org>
75967         [BZ #13412]
75968         * configure.in (AWK): Require gawk version 3.0 or later.
75969         * configure: Regenerated.
75971 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
75973         * sysdeps/unix/sysv/linux/kernel-features.h
75974         (__ASSUME_POSIX_CPU_TIMERS): Remove.
75975         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75976         [__NR_clock_getres]: Make code unconditional.
75977         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
75978         (clock_getcpuclockid): Remove code left unreachable by removal of
75979         conditionals.
75980         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
75981         code unconditional.
75982         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75983         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75984         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
75985         Make code unconditional.
75986         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75987         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75988         * sysdeps/unix/sysv/linux/clock_settime.c
75989         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
75990         conditional code.
75991         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
75992         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75994 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
75996         [BZ #14476]
75997         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
75998         scripts/test-installation.pl.
76000         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
76001         and $ld_so_version if it is set.
76003 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
76005         [BZ #14516]
76006         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
76007         failure if reading from procfs failed.
76008         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
76010 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
76012         * sysdeps/unix/sysv/linux/kernel-features.h
76013         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
76014         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76015         Remove conditional code.
76016         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76017         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
76018         Remove conditional code.
76019         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76020         * sysdeps/unix/sysv/linux/i386/fxstat.c
76021         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76022         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76023         * sysdeps/unix/sysv/linux/i386/fxstatat.c
76024         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76025         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76026         * sysdeps/unix/sysv/linux/i386/lxstat.c
76027         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76028         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76029         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
76030         Remove conditional code.
76031         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76032         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76033         Remove conditional code.
76034         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76035         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
76036         <kernel-features.h>.
76037         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
76038         Remove.
76039         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
76040         Remove conditional code.
76041         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76042         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
76043         Remove conditional.
76045 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
76047         [BZ #5400]
76048         * NEWS: Add fixed bug number.
76050 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
76052         [BZ #14519]
76053         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
76054         underflowing exponent in case of negative sign.
76055         * stdlib/tst-strtod-round-data: Add more tests.
76056         * stdlib/tst-strtod-round.c (tests): Regenerated.
76058         [BZ #3479]
76059         * stdlib/strtod_l.c (NDIG): Remove.
76060         (HEXNDIG): Likewise.
76061         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
76062         smallest representable value.
76063         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
76064         lie within an exact representation of 1/2 ulp of the result.
76065         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
76066         unconditionally.
76067         (TENS_P9_IDX): Define unconditionally.
76068         (TENS_P9_SIZE): Likewise.
76069         (TENS_P10_IDX): Likewise.
76070         (TENS_P10_SIZE): Likewise.
76071         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
76072         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
76073         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
76074         entries for 10^2^13 and 10^2^14.
76075         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
76076         (TENS_P13_IDX): Define.
76077         (TENS_P13_SIZE): Likewise.
76078         (TENS_P14_IDX): Likewise.
76079         (TENS_P14_SIZE): Likewise.
76080         (_fpioconst_pow10): Change array size to
76081         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
76082         unconditional.
76083         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
76084         1024]: Add entries for 10^2^13 and 10^2^14.
76085         [LAST_POW10 > _LAST_POW10]: Remove #error.
76086         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
76087         (_fpioconst_pow10): Change array size to
76088         FPIOCONST_POW10_ARRAY_SIZE.
76089         * stdlib/gen-fpioconst.c: New file.
76090         * stdlib/gen-tst-strtod-round.c: Likewise.
76091         * stdlib/tst-strtod-round-data: Likewise.
76092         * stdlib/tst-strtod-round.c: Likewise.
76093         * stdlib/Makefile (tests): Add tst-strtod-round.
76095         [BZ #14459]
76096         * stdlib/strtod_l.c: Include <stdint.h>.
76097         (NDEBUG): Do not define.
76098         (round_and_return): Change EXPONENT parameter to type intmax_t.
76099         Rearrange calculations to avoid internal overflow possibilities.
76100         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
76101         Rearrange calculations to avoid internal overflow possibilities.
76102         Assert that number fits inside MPNSIZE limbs.
76103         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
76104         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
76105         calculations and add assertions to avoid internal overflow
76106         possibilities.  Add casts to avoid signed/unsigned operations.
76107         * stdlib/tst-strtod-overflow.c: New file.
76108         * stdlib/Makefile (tests): Add tst-strtod-overflow.
76110 2012-08-25  Marek Polacek  <polacek@redhat.com>
76112         * time/time.h: Fix some typos in comments.
76114 2012-08-23  Roland McGrath  <roland@hack.frob.com>
76116         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
76117         * posix/tst-rfc3484-2.c: Likewise.
76118         * posix/tst-rfc3484-3.c: Likewise.
76120 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
76122         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
76123         (EF_ARM_ABI_FLOAT_HARD): Likewise.
76125 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
76127         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
76128         #include of fxstatat64.c.
76130 2012-08-22  Roland McGrath  <roland@hack.frob.com>
76132         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
76133         * shadow/getspent_r.c: Likewise.
76134         * shadow/getspnam.c: Likewise.
76135         * shadow/getspnam_r.c: Likewise.
76136         * gshadow/getsgent.c: Likewise.
76137         * gshadow/getsgent_r.c: Likewise.
76138         * gshadow/getsgnam.c: Likewise.
76139         * gshadow/getsgnam_r.c: Likewise.
76140         * inet/getnetbyad.c: Likewise.
76141         * inet/getnetbyad_r.c: Likewise.
76142         * inet/getnetbynm.c: Likewise.
76143         * inet/getnetbynm_r.c: Likewise.
76144         * inet/getnetent.c: Likewise.
76145         * inet/getnetent_r.c: Likewise.
76146         * inet/getproto.c: Likewise.
76147         * inet/getproto_r.c: Likewise.
76148         * inet/getprtent.c: Likewise.
76149         * inet/getprtent_r.c: Likewise.
76150         * inet/getprtname.c: Likewise.
76151         * inet/getprtname_r.c: Likewise.
76152         * inet/getrpcbyname.c: Likewise.
76153         * inet/getrpcbyname_r.c: Likewise.
76154         * inet/getrpcbynumber.c: Likewise.
76155         * inet/getrpcbynumber_r.c: Likewise.
76156         * inet/getrpcent.c: Likewise.
76157         * inet/getrpcent_r.c: Likewise.
76158         * inet/getaliasent.c: Likewise.
76159         * inet/getaliasent_r.c: Likewise.
76160         * inet/getaliasname.c: Likewise.
76161         * inet/getaliasname_r.c: Likewise.
76162         * nscd/getgrgid_r.c: Likewise.
76163         * nscd/getgrnam_r.c: Likewise.
76164         * nscd/gethstbyad_r.c: Likewise.
76165         * nscd/gethstbynm3_r.c: Likewise.
76166         * nscd/getpwnam_r.c: Likewise.
76167         * nscd/getpwuid_r.c: Likewise.
76168         * nscd/getsrvbynm_r.c: Likewise.
76169         * nscd/getsrvbypt_r.c: Likewise.
76170         * nscd/gai.c: Likewise.
76172         * configure.in (build_nscd): New substituted variable, set
76173         by --disable-build-nscd and defaults to $use_nscd.
76174         * configure: Regenerated.
76175         * config.make.in (build-nscd): New substituted variable.
76176         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
76177         Change conditional to require [$(build-nscd) = yes] as well.
76178         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
76180         [BZ #13696]
76181         * configure.in (use_nscd): New substituted variable, set by
76182         --disable-nscd.  If enabled, define USE_NSCD.
76183         * configure: Regenerated.
76184         * config.h.in: Add USE_NSCD.
76185         * config.make.in (use-nscd): New substituted variable.
76186         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
76187         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
76188         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
76189         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
76190         (CFLAGS-getgrnam_r.c): Likewise.
76191         (CFLAGS-initgroups.c): Likewise.
76192         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
76193         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
76194         Variables removed.
76195         * inet/getnetgrent_r.c
76196         (nscd_setnetgrent): New function, broken out of ...
76197         (setnetgrent): ... here.  Call it.
76198         (innetgr): Conditionalize nscd bits on [USE_NSCD].
76199         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
76200         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
76201         * nscd/Makefile (routines, aux): Move definitions after include of
76202         Makeconfig.  Conditionalize on [$(use-nscd) != no].
76203         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
76204         Conditionalize on [USE_NSCD].
76205         (is_nscd, nscd_init_cb): Likewise.
76206         (nss_load_library): Conditionalize init callback on [USE_NSCD].
76207         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
76208         * nss/nss_db/db-init.c: Likewise.
76209         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
76210         [USE_NSCD].
76211         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
76212         (make_request): Use it.
76213         (cache_valid_p): New function.
76214         (__check_pf): Use it.
76215         * NEWS: Add item for --disable-nscd.
76217 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
76219         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
76220         to support sed >= 4.2.1-20-ga9bf076.
76221         * configure: Regenerated.
76223 2012-08-22  Roland McGrath  <roland@hack.frob.com>
76225         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
76226         Conditionalize whole body on [IREL].
76228 2012-08-22  Jeff Law <law@redhat.com>
76230         [BZ #14505]
76231         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
76232         if the family is PF_UNSPEC.
76234 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
76236         * Makerules (lib-version): Rename from V.
76237         (install-lib-nosubdir): Change V to lib-version.
76239 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
76241         [BZ #14252]
76242         * powerpc32/power6/wcschr.c: New file.
76243         * powerpc32/power6/wcscpy.c: New file.
76244         * powerpc32/power6/wcsrchr.c: New file.
76245         * powerpc64/power6/wcschr.c: New file.
76246         * powerpc64/power6/wcscpy.c: New file.
76247         * powerpc64/power6/wcsrchr.c: New file.
76249 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
76251         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
76252         (two_way_short_needle): Use it.
76253         * string/strstr.c (AVAILABLE1_USES_J): Define.
76254         * string/strcasestr.c: Likewise.
76256         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
76257         array references.
76258         * string/strcasestr.c (TOLOWER): Make side-effect safe.
76260         [BZ #11607]
76261         * NEWS: Add an entry.
76262         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
76263         define their defaults.
76264         (two_way_short_needle): Detect end-of-string on-the-fly.
76265         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
76266         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
76267         * string/bug-strcasestr1.c: New test.
76268         * string/Makefile: Run it.
76270 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
76272         [BZ #11607]
76273         * string/str-two-way.h (two_way_short_needle): Optimize matching of
76274         the first character.
76276 2012-08-21  Roland McGrath  <roland@hack.frob.com>
76278         * csu/elf-init.c (__libc_csu_irel): Function removed.
76279         * csu/libc-start.c (apply_irel): New function.
76280         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
76282 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
76284         * sysdeps/unix/sysv/linux/kernel-features.h
76285         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
76286         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
76287         <kernel-features.h>.
76288         [__NR_fadvise64_64]: Make code unconditional.
76289         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
76290         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76291         !__NR_fadvise64_64)]: Likewise.
76292         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76293         !__NR_fadvise64_64))]: Likewise.
76294         [__NR_fadvise64]: Make code unconditional.
76295         [!__NR_fadvise64]: Remove conditional code.
76296         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
76297         <kernel-features.h>.
76298         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76299         unconditional.
76300         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76301         conditional code.
76302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
76303         not include <kernel-features.h>.
76304         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76305         unconditional.
76306         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76307         conditional code.
76308         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
76309         include <kernel-features.h>.
76310         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76311         unconditional.
76312         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76313         conditional code.
76315 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76317         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
76318         slight instruction rearrangements per scrollpipe analysis.
76319         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
76321 2012-08-20  Roland McGrath  <roland@hack.frob.com>
76323         * manual/syslog.texi (syslog; vsyslog, closelog):
76324         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
76325         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
76327         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
76328         DSOCAPS to match condition on defining it.
76330 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
76332         * sysdeps/unix/sysv/linux/kernel-features.h
76333         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
76334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
76335         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76336         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
76338         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76339         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
76341         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76342         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76344         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
76345         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
76347         * sysdeps/unix/sysv/linux/kernel-features.h
76348         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
76349         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
76350         unconditional.
76351         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76352         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
76353         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76354         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76355         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
76356         Make code unconditional.
76357         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76358         (__mmap64) [!__NR_mmap2]: Likewise.
76359         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
76360         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76361         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76362         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
76363         [__NR_mmap2]: Make code unconditional.
76364         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76365         (__mmap64) [!__NR_mmap2]: Likewise.
76367 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76369         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
76371 2012-08-18  Andreas Jaeger  <aj@suse.de>
76373         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
76375 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
76377         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
76378         * include/unistd.h (__have_sock_cloexec): Likewise.
76379         (__have_pipe2): Likewise.
76380         (__have_dup3): Likewise.
76382 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
76384         [BZ #9685]
76385         * include/unistd.h (__have_pipe2): Change define into an extern int.
76386         (__have_dup3): Likewise.
76387         * socket/have_sock_cloexec.c: Include fcntl.h.
76388         (__have_pipe2): New variable.
76389         (__have_dup3): Likewise.
76391 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
76393         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
76395 2012-08-17  Marek Polacek  <polacek@redhat.com>
76397         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
76398         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
76400 2012-08-17  Roland McGrath  <roland@hack.frob.com>
76402         * configure.in: Add AC_SUBST for sysheaders.
76403         * configure: Regenerated.
76404         * config.make.in (sysheaders): New substituted variable.
76406         * sysdeps/unix/mkfifo.c: Moved ...
76407         * sysdeps/posix/mkfifo.c: ... here.
76408         * sysdeps/unix/mkfifoat.c: Moved ...
76409         * sysdeps/posix/mkfifoat.c: ... here.
76411         * sysdeps/unix/utime.c: Moved ...
76412         * sysdeps/posix/utime.c: ... here.
76414         * sysdeps/unix/time.c: Moved ...
76415         * sysdeps/posix/time.c: ... here.
76416         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
76417         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
76419         * sysdeps/unix/nice.c: Moved ...
76420         * sysdeps/posix/nice.c: ... here.
76422         * sysdeps/unix/alarm.c: Moved ...
76423         * sysdeps/posix/alarm.c: ... here.
76425         * intl/Makefile ($(codeset_mo)): Depend on the input file.
76427 2012-08-17  Jeff Law <law@redhat.com>
76429         * intl/Makefile (codeset_mo): New variable.
76430         ($(codeset_mo)): New target.
76431         (tst-codeset.out): Depend on that.  Remove explicit rule.
76432         (tst-gettext3.out, tst-gettext5.out): Likewise.
76433         (LOCPATH-ENV, tst-codeset-ENV): New variables.
76434         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
76435         * intl/tst-codeset.sh: Remove.
76436         * intl/tst-gettext3.sh: Likewise.
76437         * intl/tst-gettext5.sh: Likewise.
76439 2012-08-17  Roland McGrath  <roland@hack.frob.com>
76441         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
76442         * sysdeps/unix/syscalls.list: ... here.
76444         * sysdeps/posix/getaddrinfo.c
76445         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
76446         (gaiconf_init, gaiconf_reload): Use them.
76447         [!_STATBUF_ST_NSEC]
76448         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
76449         Define using time_t rather than struct timespec.
76451         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
76452         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
76453         Macros removed.
76454         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
76455         [!NO_THREADS].
76456         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
76457         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
76458         Likewise.
76460         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
76461         __libc_cleanup_push argument.
76463         * bits/param.h: New file.
76464         * misc/sys/param.h: New file.
76465         * include/sys/param.h: New file.
76466         * misc/Makefile (headers): Add bits/param.h.
76467         * sysdeps/generic/sys/param.h: File removed.
76468         * sysdeps/unix/sysv/linux/bits/param.h: New file.
76469         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
76470         * sysdeps/mach/hurd/bits/param.h: New file.
76471         * sysdeps/mach/hurd/sys/param.h: File removed.
76473         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
76474         last change.
76476         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
76477         [_IO_MTSAFE_IO].
76478         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
76479         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
76480         New macros.
76482         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
76483         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
76484         rather than -D_IO_MTSAFE_IO conditionally.
76485         * stdio-common/Makefile (CPPFLAGS): Likewise.
76486         * wcsmbs/Makefile (CPPFLAGS): Likewise.
76487         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
76488         Use $(libio-mtsafe).
76489         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
76490         of -D_IO_MTSAFE_IO.
76491         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
76492         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
76493         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
76494         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
76495         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
76496         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
76497         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
76498         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
76499         (CFLAGS-fread_u_chk.c): Likewise.
76500         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
76501         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
76502         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
76503         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
76504         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
76505         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
76506         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
76507         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
76508         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
76510         * libio/Makefile: Test [$(libc-reentrant) = yes]
76511         instead of [$(filter %REENTRANT, $(defines)) nonempty].
76513         * Makeconfig
76514         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
76515         * sysdeps/pthread/configure: File removed.
76516         * sysdeps/pthread/Makeconfig: New file.
76517         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
76518         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
76520 2012-08-16  Gary Benson  <gbenson@redhat.com>
76522         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
76523         unmapping the first object in a namespace.
76525 2012-08-16  Roland McGrath  <roland@hack.frob.com>
76527         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
76528         (__internal_setnetgrent): ... this.  Add internal_function to
76529         definition.  Add libc_hidden_def.
76530         (setnetgrent): Update caller.
76531         (internal_endnetgrent): Renamed to ...
76532         (__internal_endnetgrent): ... this.  Add internal_function to
76533         definition.  Add libc_hidden_def.
76534         (endnetgrent): Update caller.
76535         (internal_getnetgrent_r): Renamed to ...
76536         (__internal_getnetgrent_r): ... this.  Add internal_function to
76537         definition.  Add libc_hidden_def.
76538         (__getnetgrent_r): Update caller.
76539         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
76541 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
76543         * stdlib/longlong.h: Update from GCC.
76545 2012-08-16  Roland McGrath  <roland@hack.frob.com>
76547         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
76548         on _QL, which is set by umul_ppmm but never used.
76549         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
76550         variables, which are set by GMP macros but never used.
76551         * stdio-common/_itowa.c (_itowa): Likewise.
76552         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
76553         * stdlib/mod_1.c (mpn_mod_1): Likewise.
76555 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
76557         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
76558         struct La_sh_regs is not constant.
76559         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
76560         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
76561         and struct La_sparc64_regs are not constant.
76563 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
76565         * sysdeps/unix/sysv/linux/kernel-features.h
76566         (__ASSUME_POSIX_TIMERS): Remove.
76567         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
76568         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76569         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
76570         Make code unconditional.
76571         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76572         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
76573         Make code unconditional.
76574         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76575         * sysdeps/unix/sysv/linux/clock_nanosleep.c
76576         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
76577         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76578         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
76579         Make code unconditional.
76580         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76581         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
76582         (__libc_missing_posix_timers): Remove.
76584 2012-08-15  Roland McGrath  <roland@hack.frob.com>
76586         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
76587         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
76589         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
76591         * elf/dl-sym.c: Include <stdlib.h>.
76593         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
76594         constants, which avoids warnings in 32-bit builds.
76596         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
76597         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
76599         * misc/lseek.c: File moved to ...
76600         * io/lseek.c: ... here.
76602         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
76604         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
76605         shifting LEN more than 31 bits at once.
76607 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76609         [BZ #14195]
76610         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
76611         segmentation fault for a case of two empty input strings.
76612         * string/test-strncasecmp.c (check1): Renamed to...
76613         (bz12205): ...this.
76614         (bz14195): Add new testcase for two empty input strings and N > 0.
76615         (test_main): Call new testcase, adapt for renamed function.
76617 2012-08-15  Andreas Jaeger  <aj@suse.de>
76619         [BZ #14090]
76620         * crypt/md5test2.c: New test, based on test supplied by Serge
76621         Belyshev <belyshev@depni.sinp.msu.ru>.
76622         * crypt/Makefile (xtests): Add md5test-giant..
76623         * crypt/Makefile ($(objpfx)md5test-giant): Add.
76625 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
76627         [BZ #14090]
76628         * crypt/md5.c (md5_process_block): Don't assume the buffer
76629         length is less than 2**32.
76630         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
76631         length is less than 2**64.
76633 2012-08-15  Roland McGrath  <roland@hack.frob.com>
76635         * string/str-two-way.h: Include <sys/param.h>.
76636         (MAX): Macro removed.
76638         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
76639         Move #define and #undef of memmove to just before and after
76640         including <string.h>.
76642         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
76643         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
76644         and after including <string.h>.  Move declarations of
76645         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
76646         to before #include "string/memmove.c".
76648         * include/dirent.h: Declare __getdirentries.
76650         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
76651         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
76653 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
76655         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
76656         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
76657         * sysdeps/i386/configure: Regenerated.
76658         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
76659         STABS_CURRENT_FILE, and STABS_FUN.
76660         (END): Remove call to STABS_FUN_END.
76661         (STABS_CURRENT_FILE1): Delete.
76662         (STABS_CURRENT_FILE): Likewise.
76663         (STABS_FUN): Likewise.
76664         (STABS_FUN_END): Likewise.
76665         (STABS_FUN2): Likewise.
76666         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
76667         * sysdeps/x86_64/configure: Regenerated.
76669 2012-08-14  Roland McGrath  <roland@hack.frob.com>
76671         * elf/dl-open.c: Include <atomic.h>.
76672         * elf/dl-lookup.c: Likewise.
76674 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
76676         * sysdeps/unix/sysv/linux/kernel-features.h
76677         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
76678         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
76679         unconditionally.
76680         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
76681         unconditionally.
76682         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
76683         condition on __ASSUME_CLONE_THREAD_FLAGS.
76685 2012-08-14  Andreas Jaeger  <aj@suse.de>
76687         * sysdeps/i386/fpu/libm-test-ulps: Update.
76689 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
76691         * include/atomic.h (atomic_exchange_and_add): Split into ...
76692         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
76693         New atomic macros.
76695 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
76697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76699 2012-08-13  Jeff Law <law@redhat.com>
76701         * manual/stdio.texi (snprintf): Clarify handling of the trailing
76702         null byte in the output string.
76704 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
76706         * sysdeps/unix/sysv/linux/kernel-features.h
76707         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
76708         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
76709         (__ASSUME_ARG_MAX_STACK_BASED): Define.
76710         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
76711         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
76712         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
76713         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
76715 2012-08-09  Jeff Law <law@redhat.com>
76717         [BZ #13939]
76718         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
76719         When avoid_arena is set, don't retry in the that arena.  Pick the
76720         next one, whatever it might be.
76721         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
76722         (arena_lock): Pass in new parameter to arena_get2.
76723         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
76724         arena_get2.
76725         (__libc_malloc): Unify retrying after main arena failure with
76726         __libc_memalign version.
76727         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
76729 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
76731         [BZ #14166]
76732         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
76733         to __redirect_strstr.
76734         (__strstr_sse42): Use typeof __redirect_strstr.
76735         (__strstr_ia32): Likewise.
76736         (__libc_strstr): New prototype.
76737         (strstr): Renamed to ...
76738         (__libc_strstr): This.
76739         (strstr): New strong alias of __libc_strstr.
76740         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76741         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
76742         __redirect_time.
76743         Include <time.h>.
76744         (__libc_time): New prototype.
76745         (time_ifunc): Replace time with __libc_time.
76746         (time): New strong alias and hidden definition of __libc_time.
76747         (__GI_time): Remove strong alias.
76748         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
76749         Include <stddef.h>.
76750         (memmove): Redefined to __redirect_memmove.
76751         (__memmove_sse2): Use typeof __redirect_memmove.
76752         (__memmove_ssse3): Likewise.
76753         (__memmove_ssse3_back): Likewise.
76754         (__libc_memmove): New prototype.
76755         (memmove): Renamed to ...
76756         (__libc_memmove): This.
76757         (memmove): New strong alias of __libc_memmove.
76759 2012-08-08  Mark Salter  <msalter@redhat.com>
76761         * elf/elf.h
76762         (R_MN10300_TLS_GD): Define.
76763         (R_MN10300_TLS_LD): Likewise.
76764         (R_MN10300_TLS_LDO): Likewise.
76765         (R_MN10300_TLS_GOTIE): Likewise.
76766         (R_MN10300_TLS_IE): Likewise.
76767         (R_MN10300_TLS_LE): Likewise.
76768         (R_MN10300_TLS_DTPMOD): Likewise.
76769         (R_MN10300_TLS_DTPOFF): Likewise.
76770         (R_MN10300_TLS_TPOFF): Likewise.
76771         (R_MN10300_SYM_DIFF): Likewise.
76772         (R_MN10300_ALIGN): Likewise.
76773         (R_MN10300_NUM): Update.
76775 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
76777         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
76778         Remove.
76780 2012-08-08  Roland McGrath  <roland@hack.frob.com>
76782         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
76784         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
76785         sysdeps/unix -> sysdeps/posix move.
76786         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
76788 2012-08-07      Allan McRae     <allan@archlinux.org>
76790         [BZ #14303]
76791         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
76792         (SUNOS_CPP): Likewise.
76793         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
76794         not found.
76795         (open_input): Call CPP using execvp.
76797 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
76799         * sysdeps/unix/sysv/linux/kernel-features.h
76800         (__ASSUME_PROT_GROWSUPDOWN): Remove.
76801         (__ASSUME_NO_CLONE_DETACHED): Likewise.
76802         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76803         (__ASSUME_WAITID_SYSCALL): Likewise.
76804         * sysdeps/unix/sysv/linux/dl-execstack.c
76805         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
76806         code unconditional.
76807         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
76808         conditional code.
76809         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
76810         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
76811         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
76812         code.
76813         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
76814         unconditional.
76815         [__ASSUME_WAITID_SYSCALL]: Likewise.
76816         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
76818 2012-08-07  Roland McGrath  <roland@hack.frob.com>
76820         * sysdeps/unix/closedir.c: Renamed to ...
76821         * sysdeps/posix/closedir.c: ... here.
76822         * sysdeps/unix/dirfd.c: Renamed to ...
76823         * sysdeps/posix/dirfd.c: ... here.
76824         * sysdeps/unix/dirstream.h: Renamed to ...
76825         * sysdeps/posix/dirstream.h: ... here.
76826         * sysdeps/unix/fdopendir.c: Renamed to ...
76827         * sysdeps/posix/fdopendir.c: ... here.
76828         * sysdeps/unix/opendir.c: Renamed to ...
76829         * sysdeps/posix/opendir.c: ... here.
76830         * sysdeps/unix/readdir.c: Renamed to ...
76831         * sysdeps/posix/readdir.c: ... here.
76832         * sysdeps/unix/readdir_r.c: Renamed to ...
76833         * sysdeps/posix/readdir_r.c: ... here.
76834         * sysdeps/unix/rewinddir.c: Renamed to ...
76835         * sysdeps/posix/rewinddir.c: ... here.
76836         * sysdeps/unix/seekdir.c: Renamed to ...
76837         * sysdeps/posix/seekdir.c: ... here.
76838         * sysdeps/unix/telldir.c: Renamed to ...
76839         * sysdeps/posix/telldir.c: ... here.
76840         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
76841         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
76842         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
76843         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
76845         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
76846         * bits/fcntl.h: ... here.
76848         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
76849         not 0.
76850         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
76851         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
76852         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
76853         (struct flock): Move l_start, l_len to the beginning.
76854         Use __pid_t for l_pid.
76855         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
76856         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
76857         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
76858         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
76859         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
76860         [__USE_LARGEFILE64] (struct flock64): New type.
76861         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
76863         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
76864         * bits/dirent.h: ... here.
76866         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
76867         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
76869 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
76871         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76872         Change from 2.6.0 to 2.6.16.
76873         * sysdeps/unix/sysv/linux/configure: Regenerated.
76874         * sysdeps/unix/sysv/linux/kernel-features.h
76875         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
76876         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
76877         version.
76878         (__ASSUME_UTIMES): Likewise.
76879         (__ASSUME_CLONE_STOPPED): Remove.
76880         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
76881         architectures, not kernel version.
76882         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
76883         (__ASSUME_NO_CLONE_DETACHED): Likewise.
76884         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76885         (__ASSUME_WAITID_SYSCALL): Likewise.
76886         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
76887         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
76888         * README: State 2.6.16 as minimum Linux kernel version.  Do not
76889         refer to older versions.
76891 2012-08-06  Roland McGrath  <roland@hack.frob.com>
76893         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
76894         Define alphasort64 as an alias.
76895         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
76896         Define versionsort64 as an alias.
76897         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
76898         Define scandir64 as an alias.
76899         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
76900         Define scandirat64 as an alias.
76901         * dirent/alphasort64.c (alphasort64):
76902         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
76903         * dirent/versionsort64.c: Likewise.
76904         * dirent/scandir64.c: Likewise.
76905         * dirent/scandirat64.c: Likewise.
76906         * sysdeps/wordsize-64/alphasort.c: File removed.
76907         * sysdeps/wordsize-64/alphasort64.c: File removed.
76908         * sysdeps/wordsize-64/scandir.c: File removed.
76909         * sysdeps/wordsize-64/scandir64.c: File removed.
76910         * sysdeps/wordsize-64/scandirat.c: File removed.
76911         * sysdeps/wordsize-64/scandirat64.c: File removed.
76912         * sysdeps/wordsize-64/versionsort.c: File removed.
76913         * sysdeps/wordsize-64/versionsort64.c: File removed.
76914         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
76915         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
76916         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
76917         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
76918         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
76919         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
76920         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
76921         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
76923         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
76924         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76925         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
76926         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76927         [defined __arch64__ || defined __sparcv9]
76928         (__INO_T_MATCHES_INO64_T): New macro.
76929         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76930         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
76931         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
76932         * sysdeps/unix/sysv/linux/bits/dirent.h
76933         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
76934         (_DIRENT_MATCHES_DIRENT64): New macro.
76936         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
76937         Define lockf64 as an alias.
76938         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
76939         Define fseeko64 as an alias.
76940         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
76941         Define ftello64 as an alias.
76942         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
76943         Define _IO_fgetpos64 and fgetpos64 as aliases.
76944         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
76945         Define _IO_fsetpos64 and fsetpos64 as aliases.
76946         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
76947         Conditionalize body on this.
76948         * libio/fseeko64.c: Likewise.
76949         * libio/ftello64.c: Likewise.
76950         * libio/iofgetpos64.c: Likewise.
76951         * libio/iofsetpos64.c: Likewise.
76952         * sysdeps/wordsize-64/lockf.c: File removed.
76953         * sysdeps/wordsize-64/lockf64.c: File removed.
76954         * sysdeps/wordsize-64/fseeko.c: File removed.
76955         * sysdeps/wordsize-64/fseeko64.c: File removed.
76956         * sysdeps/wordsize-64/ftello.c: File removed.
76957         * sysdeps/wordsize-64/ftello64.c: File removed.
76958         * sysdeps/wordsize-64/iofgetpos.c: File removed.
76959         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
76960         * sysdeps/wordsize-64/iofsetpos.c: File removed.
76961         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
76962         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
76963         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
76964         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
76965         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
76966         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
76967         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
76968         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
76969         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
76970         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
76971         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
76973         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76974         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76975         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
76976         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76977         [defined __arch64__ || defined __sparcv9]
76978         (__OFF_T_MATCHES_OFF64_T): New macro.
76979         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76980         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76981         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76982         (__OFF_T_MATCHES_OFF64_T): New macro.
76984 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
76986         * stdlib/secure-getenv.c (__secure_getenv): Replace
76987         GLIBC_2_16 with GLIBC_2_17.
76989 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
76991         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
76992         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76994 2012-08-03  David S. Miller  <davem@davemloft.net>
76996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76998 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
77000         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
77001         Remove.
77002         (__ASSUME_CORRECT_SI_PID): Likewise.
77003         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
77004         (__ASSUME_TMPFS_NAME): Likewise.
77005         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
77006         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
77007         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
77008         (HAVE_AUX_SECURE): Make definition unconditional.
77009         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
77010         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
77012 2012-08-03  Roland McGrath  <roland@hack.frob.com>
77014         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
77015         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
77016         * sysdeps/mach/hurd/eloop-threshold.h: New file.
77017         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77018         __eloop_threshold instead of SYMLOOP_MAX.
77020         * sysdeps/generic/eloop-threshold.h: New file.
77021         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
77022         of MAXSYMLINKS.
77023         * elf/chroot_canon.c (chroot_canon): Likewise.
77025 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
77027         [BZ #13717]
77028         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77029         Change to 2.6.0 everywhere.
77030         * sysdeps/unix/sysv/linux/configure: Regenerated.
77031         * sysdeps/unix/sysv/linux/kernel-features.h
77032         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
77033         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
77034         kernel versions.
77035         (__ASSUME_POSIX_TIMERS): Define unconditionally.
77036         (__ASSUME_FUTEX_REQUEUE): Remove.
77037         (__ASSUME_STATFS64): Define unconditionally.
77038         (__ASSUME_AT_SECURE): Likewise.
77039         (__ASSUME_CORRECT_SI_PID): Likewise.
77040         (__ASSUME_TGKILL): Define without depending on kernel version for
77041         i386.
77042         (__ASSUME_UTIMES): Likewise.
77043         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
77044         kernel version.
77045         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
77046         (__ASSUME_TMPFS_NAME): Likewise.
77047         * README: Update reference to Linux kernel versions.
77049 2012-08-02  Marek Polacek  <polacek@redhat.com>
77051         [BZ #14150]
77052         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
77053         libc_cv_asm_type_prefix with %.
77054         * configure: Regenerated.
77055         * include/libc-symbols.h: Remove comment about
77056         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77057         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
77058         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
77059         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
77060         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
77061         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77062         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
77063         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
77064         * elf/tst-unique2mod1.c: Likewise.
77065         * elf/tst-unique1mod2.c: Likewise.
77066         * elf/tst-unique1mod1.c: Likewise.
77067         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
77068         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
77069         Replace ASM_TYPE_DIRECTIVE with .type.
77070         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77071         * sysdeps/i386/sysdep.h: Likewise.
77072         * sysdeps/x86_64/sysdep.h: Likewise.
77073         * sysdeps/sh/sysdep.h: Likewise.
77074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77075         Do not define ASM_TYPE_DIRECTIVE.
77076         * sysdeps/powerpc/sysdep.h: Likewise.
77077         * sysdeps/powerpc/powerpc32/sysdep.h:
77078         Replace ASM_TYPE_DIRECTIVE with .type.
77079         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
77080         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
77081         * sysdeps/i386/fpu/e_powf.S: Likewise.
77082         * sysdeps/i386/fpu/e_expl.S: Likewise.
77083         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77084         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77085         * sysdeps/i386/fpu/e_pow.S: Likewise.
77086         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77087         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77088         * sysdeps/i386/fpu/s_expm1.S: Likewise.
77089         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77090         * sysdeps/i386/fpu/e_log2.S: Likewise.
77091         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77092         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77093         * sysdeps/i386/fpu/e_powl.S: Likewise.
77094         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77095         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77096         * sysdeps/i386/fpu/e_logl.S: Likewise.
77097         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77098         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77099         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77100         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77101         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77102         * sysdeps/i386/fpu/e_log.S: Likewise.
77103         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77104         * sysdeps/i386/fpu/e_logf.S: Likewise.
77105         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77106         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77107         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77108         * sysdeps/i386/fpu/e_log10.S: Likewise.
77109         * sysdeps/i386/fpu/s_frexp.S: Likewise.
77110         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77111         * sysdeps/i386/fpu/s_asinh.S: Likewise.
77112         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77113         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77114         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
77115         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77116         * sysdeps/i386/i686/strtok.S: Likewise.
77117         * sysdeps/i386/i386-mcount.S: Likewise.
77118         * sysdeps/i386/strtok.S: Likewise.
77119         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
77120         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77121         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77122         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77123         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
77124         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77125         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77126         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77127         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77128         * sysdeps/x86_64/_mcount.S: Likewise.
77129         * sysdeps/x86_64/strtok.S: Likewise.
77130         * sysdeps/sh/_mcount.S: Likewise.
77132 2012-08-01  Roland McGrath  <roland@hack.frob.com>
77134         * libio/iofopen.c: Include <fcntl.h>.
77135         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
77136         (_IO_fopen64, fopen64): Define as aliases.
77137         * libio/iofopen64.c: Include <fcntl.h>.
77138         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
77139         Conditionalize body on this.
77140         * sysdeps/wordsize-64/iofopen.c: File removed.
77141         * sysdeps/wordsize-64/iofopen64.c: File removed.
77143 2012-08-01  Marek Polacek  <polacek@redhat.com>
77145         * libc/Makeconfig: Use elf in place of binfmt-subdir.
77146         Use dlfcn directly instead of a variable.
77147         (binfmt-subdir): Do not define.
77148         (dlfcn): Likewise.
77150 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
77152         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
77153         Remove all definitions.
77154         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
77155         <kernel-features.h>.
77156         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
77157         (miss_F_GETOWN_EX): Remove all definitions.
77158         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
77159         macro definition.
77160         [!__ASSUME_FCNTL64]: Remove conditional code.
77161         [__ASSUME_FCNTL64]: Make code unconditional.
77162         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
77163         <kernel-features.h>.
77164         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
77165         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
77166         (lockf64) [__NR_fcntl64]: Make code unconditional.
77167         (lockf64) [__ASSUME_FCNTL64]: Likewise.
77169         * sysdeps/unix/sysv/linux/kernel-features.h
77170         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
77171         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
77172         Make code unconditional.
77173         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77174         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
77176         [__NR_vfork]: Make code unconditional.
77177         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77178         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
77180         [__NR_vfork]: Make code unconditional.
77181         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77182         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77184 2012-08-01  Roland McGrath  <roland@hack.frob.com>
77186         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
77187         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
77189         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77190         Define mkstemp64 as an alias.
77191         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77192         Define mkstemps64 as an alias.
77193         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77194         Define mkostemp64 as an alias.
77195         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77196         Define mkostemps64 as an alias.
77197         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
77198         Conditionalize body on this.
77199         * misc/mkostemp64.c: Likewise.
77200         * misc/mkostemps64.c: Likewise.
77201         * misc/mkstemps64.c: Likewise.
77202         * sysdeps/wordsize-64/mkstemp64.c: File removed.
77203         * sysdeps/wordsize-64/mkostemp64.c: File removed.
77204         * sysdeps/wordsize-64/mkostemp.c: File removed.
77205         * sysdeps/wordsize-64/mkstemp.c: File removed.
77206         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
77207         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
77208         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
77209         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
77211         [BZ #14138]
77212         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
77213         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
77214         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
77215         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
77217         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
77218         compat_symbol macros from <shlib-compat.h> rather than the underlying
77219         default_symbol_version and symbol_version macros, so that DEFAULT
77220         lines in shlib-versions are respected.
77221         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
77223 2012-08-01  Florian Weimer  <fweimer@redhat.com>
77225         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
77226         Declare with warn_unused_result.
77227         (setgid, setregid, setegid, setresgid): Likewise.
77228         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
77229         Likewise.
77230         * WUR-REPORT: Remove set*id functions.
77232 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
77234         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
77236 2012-07-31  Roland McGrath  <roland@hack.frob.com>
77238         [BZ #10191]
77239         * include/sys/socket.h (__libc_accept, __libc_accept4):
77240         Add attribute_hidden.
77241         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
77243         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
77244         use of PTR_MANGLE.
77245         * inet/getnetgrent_r.c (setup): Likewise.
77247         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
77249 2012-07-31  David S. Miller  <davem@davemloft.net>
77251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77253 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
77255         [BZ #13629]
77256         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
77257         value between 1.0 and 2.0 and smaller part has absolute value less
77258         than 1.0.
77259         * math/s_clog10.c (__clog10): Likewise.
77260         * math/s_clog10f.c (__clog10f): Likewise.
77261         * math/s_clog10l.c (__clog10l): Likewise.
77262         * math/s_clogf.c (__clogf): Likewise.
77263         * math/s_clogl.c (__clogl): Likewise.
77264         * math/libm-test.inc (clog_test): Add more tests.
77265         (clog10_test): Likewise.
77266         * sysdeps/i386/fpu/libm-test-ulps: Update.
77267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77269 2012-07-31  Florian Weimer  <fweimer@redhat.com>
77271         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
77272         Exit with zero in case no suitable GID is found, and write a
77273         message to standard error.
77275 2012-07-30  Roland McGrath  <roland@hack.frob.com>
77277         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
77278         rather than to 1.
77279         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
77280         (MAXPATHLEN): Removed.
77281         (NOGROUP, NODEV): New macros.
77282         (setbit, clrbit, isset, isclr): New macros.
77283         (howmany, roundup, powerof2): New macros.
77284         (DEV_BSIZE): New macro.
77286         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
77287         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
77289         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
77290         definition on [!__NO_LONG_DOUBLE_MATH].
77292         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
77293         PTR_MANGLE and PTR_DEMANGLE.
77295         * socket/accept4.c (accept4): Rename to __libc_accept4.
77296         Define accept4 as a weak alias.
77298         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
77299         on [_DIRENT_HAVE_D_TYPE].
77300         * io/ftw.c (ftw_dir): Likewise.
77302         * io/xmknod.c (__xmknod): Don't check PATH for being null.
77304         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
77306         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
77307         Use the BSD numbers rather than the arbitrary ones we had.
77308         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
77309         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
77310         (SIGXCPU, SIGXFSZ): New macros.
77311         (_NSIG): Now 32.
77313         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
77314         initializer on [_LIBC_REENTRANT].
77316         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
77317         definitions inside [_POSIX_MAPPED_FILES].
77319         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
77321         * dirent/opendir.c: Include <fcntl.h>.
77323         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
77324         (__libc_getspecific): Likewise.
77325         (__libc_key_create): Likewise.
77327         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
77328         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
77329         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
77330         (tmpfile64): Define as alias.
77331         * sysdeps/wordsize-64/tmpfile.c: File removed.
77332         * sysdeps/wordsize-64/tmpfile64.c: File removed.
77333         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
77334         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
77336         * stdio-common/vfscanf.c: Include <stdbool.h>.
77337         * nss/makedb.c: Likewise.
77338         * stdio-common/_i18n_number.h: Likewise.
77339         * argp/argp-help.c: Likewise.
77340         * posix/wordexp.c: Likewise.
77341         * sysdeps/posix/spawni.c: Likewise.
77342         * nss/nss_files/files-initgroups.c: Likewise.
77343         * stdio-common/reg-modifier.c: Include <stdlib.h>.
77344         * nss/nss_files/files-initgroups.c: Likewise.
77345         * nss/nss_db/db-netgrp.c: Likewise.
77346         * nss/nss_db/db-initgroups.c: Likewise.
77347         * io/fchmodat.c: Include <sys/stat.h>.
77349         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
77350         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
77352         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
77353         [HAVE_MMAP].
77355         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
77356         Add multiple inclusion protection.
77358 2012-07-27  David S. Miller  <davem@davemloft.net>
77360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77362 2012-07-27  Gary Benson  <gbenson@redhat.com>
77364         [BZ #14298]
77365         * elf/rtld.c: Include <stap-probe.h>.
77366         (dl_main): Added static probes "init_start" and "init_complete".
77367         * elf/dl-load.c: Include <stap-probe.h>.
77368         (lose): Take new parameter "nsid".
77369         Added static probe "map_failed".
77370         (_dl_map_object_from_fd): Pass namespace id to lose.
77371         Added static probe "map_start".
77372         (open_verify): Pass namespace id to lose.
77373         * elf/dl-open.c: Include <stap-probe.h>.
77374         (dl_open_worker) Added static probes "map_complete", "reloc_start"
77375         and "reloc_complete".
77376         * elf/dl-close.c: Include <stap-probe.h>.
77377         (_dl_close_worker): Added static probes "unmap_start" and
77378         "unmap_complete".
77379         * elf/rtld-debugger-interface.txt: New file documenting the above.
77381 2012-07-26  Roland McGrath  <roland@hack.frob.com>
77383         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
77384         rather than a string variable.
77385         * sunrpc/rpc_main.c (h_output): Likewise.
77386         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
77388 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
77390         * inet/check_native.c: New file.
77392 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
77394         [BZ #13629]
77395         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
77396         if larger part has absolute value 1.0.
77397         * math/s_clog10.c (__clog10): Likewise.
77398         * math/s_clog10f.c (__clog10f): Likewise.
77399         * math/s_clog10l.c (__clog10l): Likewise.
77400         * math/s_clogf.c (__clogf): Likewise.
77401         * math/s_clogl.c (__clogl): Likewise.
77402         * math/libm-test.inc (clog_test): Add more tests.
77403         (clog10_test): Likewise.
77404         * sysdeps/i386/fpu/libm-test-ulps: Update.
77405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77407         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
77408         (pltexit): Likewise.
77409         (La_regs): Likewise.
77410         (La_retval): Likewise.
77411         (int_retval): Likewise.
77412         Update #error for removed macros to refer only to definitions in
77413         tst-audit.h.
77414         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
77415         macro.
77416         (pltexit): Likewise.
77417         (La_regs): Likewise.
77418         (La_retval): Likewise.
77419         (int_retval): Likewise.
77420         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
77421         macro.
77422         (pltexit): Likewise.
77423         (La_regs): Likewise.
77424         (La_retval): Likewise.
77425         (int_retval): Likewise.
77426         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
77427         macro.
77428         (pltexit): Likewise.
77429         (La_regs): Likewise.
77430         (La_retval): Likewise.
77431         (int_retval): Likewise.
77432         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
77433         macro.
77434         (pltexit): Likewise.
77435         (La_regs): Likewise.
77436         (La_retval): Likewise.
77437         (int_retval): Likewise.
77438         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
77439         macro.
77440         (pltexit): Likewise.
77441         (La_regs): Likewise.
77442         (La_retval): Likewise.
77443         (int_retval): Likewise.
77444         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
77445         macro.
77446         (pltexit): Likewise.
77447         (La_regs): Likewise.
77448         (La_retval): Likewise.
77449         (int_retval): Likewise.
77450         * sysdeps/generic/tst-audit.h: Update comment to refer only to
77451         macro definitions in tst-audit.h.
77452         * sysdeps/i386/tst-audit.h: New file.
77453         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
77454         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
77455         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
77456         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
77457         * sysdeps/sh/tst-audit.h: Likewise.
77458         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
77459         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
77460         * sysdeps/x86_64/tst-audit.h: Likewise.
77462 2012-07-26  Andreas Jaeger  <aj@suse.de>
77464         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
77465         ptrace.
77467         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
77468         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
77469         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
77470         PTRACE_O_MASK.
77471         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
77472         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
77473         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
77475         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
77476         value.
77478         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
77479         _sigsys.
77480         (si_call_addr, si_syscall, si_arch): Define new macro.
77481         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
77482         _sigsys.
77483         (si_call_addr, si_syscall, si_arch): Define new marcro.
77484         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
77485         _sigsys.
77486         (si_call_addr, si_syscall, si_arch): Define new macro.
77487         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
77488         _sigsys.
77489         (si_call_addr, si_syscall, si_arch): Define new macro.
77491 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
77493         [BZ #13717]
77494         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77495         Change to 2.4.21 where previously 2.4.1.
77496         * sysdeps/unix/sysv/linux/configure: Regenerated.
77497         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
77498         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
77499         Linux kernel version.
77500         (__ASSUME_STD_AUXV): Remove.
77501         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
77502         kernel version.
77503         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
77504         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
77505         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
77506         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
77507         (__ASSUME_NETLINK_SUPPORT): Likewise.
77508         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
77509         (__no_netlink_support): Remove conditional definition.
77510         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
77511         Remove.
77512         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77513         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
77514         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
77515         (if_nameindex_ioctl): Remove.
77516         (if_nameindex_netlink): Do not handle __no_netlink_support.
77517         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77518         code.
77519         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
77520         Remove conditional code.
77521         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77522         code.
77523         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
77524         unconditional.
77525         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77526         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
77527         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
77528         Remove.
77529         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
77530         [!__ASSUME_STD_AUXV]: Remove conditional code.
77531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
77532         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
77533         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
77534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
77535         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
77536         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77537         code.
77538         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
77540         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
77541         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77542         conditional code.
77543         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
77545         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77546         code.
77547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
77548         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77549         conditional code.
77550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
77551         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77552         code unconditional.
77553         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77554         conditional code.
77555         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77556         unconditional.
77557         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77558         conditional code.
77559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77560         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77561         unconditional.
77562         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77563         conditional code.
77564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
77565         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77566         code unconditional.
77567         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77568         conditional code.
77569         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77570         unconditional.
77571         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77572         conditional code.
77573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
77574         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77575         code unconditional.
77576         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77577         conditional code.
77578         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77579         unconditional.
77580         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77581         conditional code.
77583 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
77585         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
77586         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
77587         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
77588         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
77589         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
77590         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
77591         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
77592         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
77593         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
77594         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
77595         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
77596         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
77597         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
77598         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
77599         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
77600         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
77601         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
77602         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
77603         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
77604         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
77605         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
77606         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
77607         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
77609 2012-07-25  Florian Weimer  <fweimer@redhat.com>
77611         * Versions.def: Add GLIBC_2.17.
77612         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
77613         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
77614         Introduce __libc_secure_getenv.
77615         * stdlib/Versions (2.17): Add secure_getenv
77616         (GLIBC_PRIVATE): Add __libc_secure_getenv.
77617         * stdlib/secure-getenv.c: Rename __secure_getenv to
77618         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
77619         symbol __secure_getenv for GLIBC_2.0.
77620         * stdlib/tst-secure-getenv.c: New.
77621         * stdlib/Makefile (tests): Add testcase.
77622         * manual/startup.texi (Environment Access): Document
77623         secure_getenv.
77624         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
77625         __libc_secure_getenv.
77626         * inet/ruserpass.c (ruserpass): Likewise.
77627         * malloc/mtrace.c (mtrace): Likewise.
77628         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
77629         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
77630         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
77631         * sysdeps/posix/tempname.c: Likewise.  Evaluate
77632         HAVE_SECURE_GETENV.
77633         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
77634         __secure_getenv to __libc_secure_getenv.
77635         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
77636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77637         Likewise.
77638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77639         Likewise.
77640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
77641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
77642         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
77643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
77644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
77645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
77646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
77648 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
77650         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
77651         (struct La_i86_retval): Likewise.
77652         (struct La_x86_64_regs): Likewise.
77653         (struct La_x86_64_retval): Likewise.
77654         (struct La_x32_regs): Likewise.
77655         (struct La_x32_retval): Likewise.
77656         (struct La_ppc32_regs): Likewise.
77657         (struct La_ppc32_retval): Likewise.
77658         (struct La_ppc64_regs): Likewise.
77659         (struct La_ppc64_retval): Likewise.
77660         (struct La_sh_regs): Likewise.
77661         (struct La_sh_retval): Likewise.
77662         (struct La_s390_32_regs): Likewise.
77663         (struct La_s390_32_retval): Likewise.
77664         (struct La_s390_64_regs): Likewise.
77665         (struct La_s390_64_retval): Likewise.
77666         (struct La_sparc32_regs): Likewise.
77667         (struct La_sparc32_retval): Likewise.
77668         (struct La_sparc64_regs): Likewise.
77669         (struct La_sparc64_retval): Likewise.
77670         (struct audit_ifaces): Remove architecture-specific pltenter and
77671         pltexit members.
77672         * sysdeps/i386/ldsodefs.h: New file.
77673         * sysdeps/powerpc/ldsodefs.h: Likewise.
77674         * sysdeps/s390/ldsodefs.h: Likewise.
77675         * sysdeps/sh/ldsodefs.h: Likewise.
77676         * sysdeps/sparc/ldsodefs.h: Likewise.
77677         * sysdeps/x86_64/ldsodefs.h: Likewise.
77679 2012-07-25  Marek Polacek  <polacek@redhat.com>
77681         [BZ #6808]
77682         * math/libm-test.inc (yn_test): Add another test.
77683         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
77684         to ERANGE when the result is +-Inf.
77685         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
77686         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
77687         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
77688         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
77690 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
77692         * conform/data/time.h-data (NULL): Use macro-constant.  Require
77693         equal to 0.
77694         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
77695         clock_t.
77696         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
77698 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
77700         * configure.in <sysdeps resolving>: Correct printing
77701         Implies_before.
77702         * configure: Regenerate.
77704 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
77706         * math/w_ilogb.c: Include <limits.h>.
77707         * math/w_ilogbl.c: Likewise.
77709 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77711         * manual/lang.texi (__va_copy): Document primarily as ISO C99
77712         va_copy.  Document allowing for unavailable va_copy only as
77713         pre-C99 compatibility.
77714         * manual/string.texi (Copying and Concatenation): Use va_copy
77715         instead of __va_copy in concat example.
77717 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
77719         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
77720         (__sendto): Use create_address_port.  Initialize APORT and deallocate
77721         it if not null.
77723         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
77724         with O_NOLINK passed to __file_name_lookup.
77726         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
77727         with O_NOLINK passed to __file_name_lookup.
77729         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
77730         negative N or less than NGIDS.
77732         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
77733         type to string_t.  Set ERANGE as errno and return it if NAME is not big
77734         enough.  Use memcpy instead of strncpy.
77736 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77738         * elf/Makefile (check-data): Remove.
77739         (localplt.data): New vpath directive.
77740         ($(objpfx)check-localplt.out): Use localplt.data from vpath
77741         instead of $(check-data).
77742         * scripts/data/localplt-generic.data: Move to ...
77743         * sysdeps/generic/localplt.data: ... here.
77744         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
77745         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
77746         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
77747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
77748         ... here.
77749         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
77750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
77751         ... here.
77752         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
77753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
77754         ... here.
77755         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
77756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
77757         ... here.
77758         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
77759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
77760         ... here.
77761         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
77762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
77763         ... here.
77765 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77767         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
77768         PPC32 and PPC64 files.
77769         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
77770         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
77772 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77774         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
77775         __makecontext_ret to ...
77776         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
77777         ... here and call exit if uc_link is NULL.  New file.
77778         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
77779         __makecontext_ret.S.
77780         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
77781         __makecontext_ret to ...
77782         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
77783         ... here and call exit if uc_link is NULL.  New file.
77784         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
77785         __makecontext_ret.S.
77787 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77789         * elf/elf.h (R_390_IRELATIVE): New definition.
77790         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
77791         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
77792         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
77793         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
77794         (elf_machine_lazy_rel): Likewise.
77795         * sysdeps/s390/dl-irel.h: New file.
77796         * sysdeps/s390/s390-64/memcpy.S: New asm code.
77797         * sysdeps/s390/s390-64/memset.S: New asm code.
77798         * sysdeps/s390/s390-64/memcmp.S: New asm code.
77799         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
77800         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
77801         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
77802         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
77803         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
77804         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
77805         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
77806         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
77807         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
77808         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
77809         * sysdeps/s390/s390-32/memcpy.S: New asm code.
77810         * sysdeps/s390/s390-32/memset.S: New asm code.
77811         * sysdeps/s390/s390-32/memcmp.S: New asm code.
77813 2012-07-17  Marek Polacek  <polacek@redhat.com>
77815         [BZ #14349]
77816         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
77817         * sysdeps/s390/s390-64/configure.in: Likewise.
77818         * sysdeps/sparc/configure.in: Likewise.
77819         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
77820         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
77821         * sysdeps/i386/configure.in: Likewise.
77822         * sysdeps/x86_64/configure.in: Likewise.
77823         * sysdeps/sh/configure.in: Likewise.
77824         * sysdeps/s390/s390-32/configure: Regenerated.
77825         * sysdeps/s390/s390-64/configure: Likewise.
77826         * sysdeps/x86_64/configure: Likewise.
77827         * sysdeps/sh/configure: Likewise.
77828         * sysdeps/powerpc/powerpc64/configure: Likewise.
77829         * sysdeps/powerpc/powerpc32/configure: Likewise.
77830         * sysdeps/sparc/configure: Likewise.
77831         * sysdeps/i386/configure: Likewise.
77833         * elf/dl-open.c: Comment fixes.
77835 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
77837         * Makefile [CXX] (check-data): Remove.
77838         [CXX] (c++-types.data): New vpath directive.
77839         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
77840         vpath.  Do not allow for C++ type data being missing.
77841         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
77842         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
77843         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
77844         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
77845         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
77846         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
77847         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
77848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
77849         ... here.
77850         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
77851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
77852         ... here.
77853         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
77854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
77855         ... here.
77856         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
77857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
77858         ... here.
77859         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
77860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
77861         ... here.
77862         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
77863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
77864         ... here.
77865         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
77866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
77867         ... here.
77868         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
77869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
77871         * elf/tls-macros.h (TLS_LE): Move architecture-specific
77872         definitions to architecture-specific files.
77873         (TLS_IE): Likewise.
77874         (TLS_LD): Likewise.
77875         (TLS_GD): Likewise.
77876         * sysdeps/i386/tls-macros.h: New file.
77877         * sysdeps/powerpc/tls-macros.h: Likewise.
77878         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
77879         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
77880         * sysdeps/sh/tls-macros.h: Likewise.
77881         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
77882         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
77883         * sysdeps/x86_64/tls-macros.h: Likewise.
77885 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
77887         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
77888         zero value for regular exit case.
77890         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
77891         (__start_context): Preserve zero value for regular exit case.
77893 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
77894             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77896         * manual/setjmp.texi (setcontext): Clarify normal process
77897         termination when uc_link is the null pointer.
77898         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
77899         exit call.
77901 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
77903         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
77904         preprocessor.  Test for each exception mask separately.
77906 2012-07-16  Andreas Jaeger  <aj@suse.de>
77908         * po/ru.po: Update from translation team.
77910 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
77912         * conform/data/string.h-data (NULL): Use macro-constant.  Require
77913         equal to 0.
77914         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77915         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77916         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
77917         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
77918         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77920 2012-07-13  Andreas Jaeger  <aj@suse.de>
77922         * po/fr.po: Update from translation team.
77924 2012-07-12  Marek Polacek  <polacek@redhat.com>
77926         [BZ #14173]
77927         * math/libm-test.inc (yn_test): Add test for BZ #14173.
77928         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
77929         loop condition.
77931 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
77933         [BZ #13717]
77934         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77935         Change to 2.4.1 where previously 2.4.0.
77936         * sysdeps/unix/sysv/linux/configure: Regenerated.
77937         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
77938         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
77939         version.
77940         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
77941         (__ASSUME_AT_CLKTCK): Remove.
77942         (__ASSUME_AT_PAGESIZE): Likewise.
77943         (__ASSUME_AT_XID): Likewise.
77944         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
77945         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
77946         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
77947         unconditionally.
77948         (HAVE_AUX_PAGESIZE): Likewise.
77949         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
77950         [__ASSUME_AT_CLKTCK]: Make code unconditional.
77951         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
77953 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
77955         [BZ #14307]
77956         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
77957         the temporary buffer used to invoke __gethostbyname2_r,
77958         __gethostbyaddr_r and gethostbyname4_r to make room for struct
77959         host_data / struct gaih_addrtuple.
77960         * resolv/nss_dns/dns-host.c (global scope): Move definition of
77961         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
77962         header file nss/nsswitch.h.
77963         * nss/nsswitch.h (global scope): Add definition of implementation
77964         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
77965         resolv/nss_dns/dns-host.c).
77967 2012-07-11  Andreas Jaeger  <aj@suse.de>
77969         * po/fr.po: Update from translation team.
77971         * po/sv.po: Update from translation team
77972         * po/fr.po: Another update from translation team.
77974 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77976         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
77977         for subnormals or multiply small sinh result by itself.
77978         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
77979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77981 2012-07-11  David S. Miller  <davem@davemloft.net>
77983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77985 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
77987         [BZ #14347]
77988         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
77989         (INTERNAL_MARK): Shift it here.
77991 2012-07-10  Marek Polacek  <polacek@redhat.com>
77993         [BZ #14151]
77994         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
77995         libc_cv_asm_global_directive with .globl.
77996         * configure: Regenerated.
77997         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
77998         with .globl.
77999         * sysdeps/i386/configure: Regenerated.
78000         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
78001         with .globl.
78002         * sysdeps/x86_64/configure: Regenerated.
78003         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
78004         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
78005         * elf/tst-unique2mod2.c: Likewise.
78006         * elf/tst-unique2mod1.c: Likewise.
78007         * elf/tst-unique1mod2.c: Likewise.
78008         * elf/tst-unique1mod1.c: Likewise.
78009         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78010         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78011         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78012         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78013         * sysdeps/mach/sysdep.h: Likewise.
78014         * sysdeps/i386/sysdep.h: Likewise.
78015         * sysdeps/i386/i386-mcount.S: Likewise.
78016         * sysdeps/x86_64/_mcount.S: Likewise.
78017         * sysdeps/x86_64/sysdep.h: Likewise.
78018         * sysdeps/sh/_mcount.S: Likewise.
78019         * sysdeps/sh/sysdep.h: Likewise.
78020         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
78021         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
78022         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
78023         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78024         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
78025         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
78026         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
78027         * locale/localeinfo.h: Likewise.
78028         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
78029         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
78031 2012-07-09  Roland McGrath  <roland@hack.frob.com>
78033         [BZ #14336]
78034         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
78035         system".
78036         * manual/message.texi (The Uniforum approach): Likewise.
78037         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
78038         (glibc iconv Implementation): Likewise.
78040 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
78042         [BZ #14337]
78043         * math/s_clog.c (__clog): Avoid scaling a value down where that
78044         could result in underflow.
78045         * math/s_clog10.c (__clog10): Likewise.
78046         * math/s_clog10f.c (__clog10f): Likewise.
78047         * math/s_clog10l.c (__clog10l): Likewise.
78048         * math/s_clogf.c (__clogf): Likewise.
78049         * math/s_clogl.c (__clogl): Likewise.
78050         * math/libm-test.inc (clog_test): Add more tests.
78051         (clog10_test): Likewise.
78052         * sysdeps/i386/fpu/libm-test-ulps: Update.
78053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78055 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
78057         [BZ #14283]
78058         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
78059         by 7 not 8 to examine high bit of fractional part.
78061         [BZ #14042]
78062         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
78063         for call to __mcount_internal.
78064         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
78065         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
78066         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
78068 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
78070         [BZ #14154]
78071         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
78072         approximation for values within 0x1p-13f of an odd multiple of
78073         pi/4.
78074         * math/libm-test.inc (tan_test): Do not allow spurious underflow
78075         exception.  Add more tests.
78076         * sysdeps/i386/fpu/libm-test-ulps: Update.
78078         [BZ #6778]
78079         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
78080         inputs and return -1 for them.  Do not check for +Inf in case not
78081         reachable for +Inf.
78082         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
78083         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
78084         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
78085         and return -1 for them.  Do not check for +Inf in case not
78086         reachable for +Inf.
78087         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
78088         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         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
78093         spurious underflow.
78094         * sysdeps/i386/fpu/libm-test-ulps: Update.
78095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78097 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
78099         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
78101 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
78103         [BZ #14157]
78104         [BZ #14331]
78105         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
78106         could result in spurious underflow.  Scale down values above
78107         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
78108         * math/s_csqrtf.c (__csqrtf): Likewise.
78109         * math/s_csqrtl.c (__csqrtl): Likewise.
78110         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
78111         spurious underflow.
78112         * sysdeps/i386/fpu/libm-test-ulps: Update.
78113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78115 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
78117         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
78118         xopen-msg.sed.
78119         * catgets/xopen-msg.awk: New file.
78120         * catgets/xopen-msg.sed: Removed.
78122         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
78123         po2text.sed.
78124         * intl/po2test.awk: New file.
78125         * intl/po2test.sed: Removed.
78127 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
78129         [BZ #14328]
78130         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
78131         or multiply small sinh result by itself.
78132         * math/s_ctanf.c (__ctanf): Likewise.
78133         * math/s_ctanh.c (__ctanh): Likewise.
78134         * math/s_ctanhf.c (__ctanhf): Likewise.
78135         * math/s_ctanhl.c (__ctanhl): Likewise.
78136         * math/s_ctanl.c (__ctanl): Likewise.
78137         * math/libm-test.inc (ctan_test_tonearest): New function.
78138         (ctan_test_towardzero): Likewise.
78139         (ctan_test_downward): Likewise.
78140         (ctan_test_upward): Likewise.
78141         (ctanh_test_tonearest): Likewise.
78142         (ctanh_test_towardzero): Likewise.
78143         (ctanh_test_downward): Likewise.
78144         (ctanh_test_upward): Likewise.
78145         (main): Call these new functions.
78146         * sysdeps/i386/fpu/libm-test-ulps: Update.
78147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78149 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
78151         * .gitignore: Delete /ports entry.
78153 2012-07-03  Andreas Jaeger  <aj@suse.de>
78155         * po/bg.po: Update from translation team.
78156         * po/cs.po: Likewise.
78157         * po/de.po: Likewise.
78158         * po/hr.po: Likewise.
78159         * po/nl.pl: Likewise.
78160         * po/pl.po: Likewise.
78161         * po/vi.po: Likewise.
78163 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
78165         * Makeconfig [!+link] (+link-before-libc): New variable.
78166         [!+link] (+link-after-libc): Likewise.
78167         [!+link] (+link-tests): Likewise.
78168         [!+link] (+link): Define in terms of $(+link-before-libc) and
78169         $(+link-after-libc).
78170         [!+link-static] (+link-static-before-libc): New variable.
78171         [!+link-static] (+link-static-after-libc): Likewise.
78172         [!+link-static] (+link-static-tests): Likewise.
78173         [!+link-static] (+link-static): Define in terms of
78174         $(+link-static-before-libc) and $(+link-static-after-libc).
78175         [build-shared] (link-libc-before-gnulib): New variable.
78176         [build-shared] (link-libc-tests): Likewise.
78177         [build-shared] (link-libc): Define in terms of
78178         $(link-libc-before-gnulib).
78179         [!build-shared] (link-libc-tests): New variable.
78180         (link-libc-static-tests): New variable.
78181         [!gnulib] (gnulib-arch): New variable.
78182         [!gnulib] (gnulib-tests): Likewise.
78183         [!gnulib] (static-gnulib-arch): Likewise.
78184         [!gnulib] (static-gnulib-tests): Likewise.
78185         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
78186         Define with "=" instead of ":=".
78187         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
78188         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
78189         * Rules (binaries-all-notests): New variable.
78190         (binaries-all-tests): Likewise.
78191         (binaries-static-notests): Likewise.
78192         (binaries-static-tests): Likewise.
78193         (binaries-all): Define using $(binaries-all-notests) and
78194         $(binaries-all-tests).
78195         (binaries-static): Define using $(binaries-static-notests) and
78196         $(binaries-static-tests).
78197         (binaries-shared-tests): New variable.
78198         (binaries-shared-notests): Likewise.
78199         (binaries-shared): Remove variable.
78200         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
78201         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
78202         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
78203         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
78204         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
78205         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
78206         * elf/Makefile (sln-modules): New variable.
78207         (extra-objs): Add $(sln-modules:=.o).
78208         (ldconfig-modules): Add static-stubs.
78209         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
78210         * elf/static-stubs.c: New file.
78212         [BZ #14283]
78213         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
78214         by 7 not 8 to examine high bit of fractional part.  Use volatile
78215         variables when splitting into final array of floats if
78216         __FLT_EVAL_METHOD__ != 0.
78217         * math/libm-test.inc (cos_test): Add another test.
78218         (sin_test): Likewise.
78219         * sysdeps/i386/fpu/libm-test-ulps: Update.
78221         [BZ #14273]
78222         * math/libm-test.inc (cosh_test): Add more tests.
78224         * version.h (RELEASE): Set to "development".
78225         (VERSION): Set to "2.16.90".
78227 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
78229         * NEWS: Update copyright. Remove last-updated date.
78230         Mention math library bug fixes and timezone data changes.
78231         * README: Mention GNU/Hurd, x32, and HPPA support status.
78233 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
78235         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
78237 2012-06-27  Andreas Jaeger  <aj@suse.de>
78239         * manual/contrib.texi (Contributors): Add Samuel Thibault.
78241 2012-06-25  Andreas Jaeger  <aj@suse.de>
78243         * sysdeps/s390/fpu/libm-test-ulps: Update.
78245 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
78246             Thomas Schwinge  <thomas@codesourcery.com>
78248         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
78249         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
78250         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
78251         fanotify_mark.
78253 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
78255         * sysdeps/mach/start.c: Remove file.
78256         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
78257         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
78258         * sysdeps/sh/init-first.c: Likewise.
78260         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
78261         registers for frame unwinding purposes, add CFI directives.
78262         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78263         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
78264         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
78265         Likewise.
78267         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
78268         __fortify_fail returning.
78269         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78271         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
78272         sysdeps/sh/____longjmp_chk.S.
78273         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
78274         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
78275         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
78276         (gen-as-const-headers): Append sigaltstack-offsets.sym.
78278         * sysdeps/sh/abort-instr.h: New file.
78279         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
78280         process in case exit returns.
78282         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
78283         initialize the GOT register before use.
78285         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
78286         calculation of ARGC > 4.
78288         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
78289         meaningful names to some local labels.
78291 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78292             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78294         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
78295         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
78296         (__arch_compare_and_exchange_val_16_acq): Likewise.
78297         (__arch_compare_and_exchange_val_32_acq): Likewise.
78298         (atomic_exchange_and_add): Fix gUSA sequence.
78299         (atomic_add): Likewise.
78300         (atomic_add_negative): Likewise.
78301         (atomic_add_zero): Likewise.
78302         (atomic_bit_test_set): Likewise.
78304 2012-06-22  Andreas Schwab  <schwab@redhat.com>
78306         [BZ #13579]
78307         * include/link.h (struct link_map): Add l_free_initfini.
78308         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
78309         l_initfini.
78310         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
78311         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
78312         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
78313         set.
78315 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
78317         * configure.in: Use AC_LANG_SOURCE.
78318         * configure: Regenerate.
78320 2012-06-22  Roland McGrath  <roland@hack.frob.com>
78322         * configure.in (libc_cv_localstatedir): New substituted variable.
78323         * configure: Regenerated.
78324         * config.make.in (localstatedir): New variable, substituted from
78325         libc_cv_localstatedir.
78326         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
78327         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
78328         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
78329         * sysdeps/gnu/configure: Regenerated.
78331 2012-06-21  Jeff Law  <law@redhat.com>
78333         [BZ #14277]
78334         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
78335         free.  Simplify list management for _LIBC case.
78337 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
78339         [BZ #14273]
78340         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
78341         Clear sign bit of 64-bit integer value before comparing against
78342         overflow value.
78344         * sysdeps/mach/configure: Regenerated.
78346 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
78348         [BZ #14278]
78349         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
78351 2012-06-21  Jeff Law  <law@redhat.com>
78353         [BZ #13882]
78354         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
78355         uint16_t for elements in the "seen" array to avoid char overflows.
78356         * elf/dl-fini.c (_dl_sort_fini): Likewise.
78357         * elf/dl-open.c (dl_open_worker): Likewise.
78359 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
78361         * scripts/list-sources.sh: Scan PORTS for translations.
78362         * po/libc.pot: Regenerated.
78364 2012-06-21  Andreas Jaeger  <aj@suse.de>
78366         [BZ #12194]
78367         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
78368         warning.
78369         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
78370         * bits/byteswap-16.h (__bswap_16): Likewise.
78371         * bits/byteswap.h (__bswap_constant_16): Likewise.
78373 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
78375         [BZ #14117]
78376         * sysdeps/i386/fpu_control.h: Removed.
78377         * sysdeps/x86_64/fpu_control.h: Moved to ...
78378         * sysdeps/x86/fpu_control.h: Here.
78380         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
78381         (_FPU_SETCW): Likewise.
78383 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
78385         [BZ #14117]
78386         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
78387         * sysdeps/x86/fpu/bits/mathinline.h: This.
78388         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
78390         [BZ #14050]
78391         [BZ #14117]
78392         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
78393         functions if __x86_64__ is defined.
78395 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
78397         * string/endian.h: Add !__ASSEMBLER__ condition for including
78398         conversion interfaces.
78400 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
78402         [BZ #14241]
78403         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
78404         of ABS(x) in calculating zero to negative powers other than odd
78405         integers.
78406         * math/libm-test.inc (pow_test): Add more tests.
78408 2012-06-15  Andreas Jaeger  <aj@suse.de>
78410         * manual/contrib.texi (Contributors): Update entry of Liubov
78411         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
78412         Machado Filho.
78414 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
78416         * string/string.h: Add __wur to GNU version of strerror_r.
78418 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
78420         [BZ #14229]
78421         * string/Makefile (tests): Add tst-strtok_r.
78422         * string/tst-strtok_r.c: New file.
78423         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
78424         RAX_LP/RDX_LP on SAVE_PTR.
78426 2012-06-14  Roland McGrath  <roland@hack.frob.com>
78428         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
78430 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
78432         * libm_test.inc (csqrt_test): Allow more spurious underflow
78433         exceptions.
78434         (j0_test): Likewise.
78435         (j1_test): Likewise.
78436         (y0_test): Likewise.
78437         (y1_test): Likewise.
78439 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
78441         * po/Makefile (libc.pot): Use UTF-8 charset.
78443 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
78445         [BZ #14210]
78446         Suppress sign-conversion warning from FD_SET.
78447         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
78448         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
78449         not unsigned long int.
78450         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
78452 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
78454         [BZ #14050]
78455         [BZ #14117]
78456         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
78457         __extern_always_inline instead of __extern_inline.
78458         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
78459         (__signbit): Likewise.
78460         (__signbitl): Support C++ namespace.
78461         (lrintf): New inline function.
78462         (lrint): Likewise.
78463         (llrintf): Likewise.
78464         (llrint): Likewise.
78465         (fmaxf): Likewise.
78466         (fmax): Likewise.
78467         (fminf): Likewise.
78468         (fmin): Likewise.
78469         (rint): Likewise.
78470         (rintf): Likewise.
78471         (ceil): Likewise.
78472         (ceilf): Likewise.
78473         (floor): Likewise.
78474         (floorf): Likewise.
78475         (nearbyint): Likewise.
78476         (nearbyintf): Likewise.
78478 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
78480         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
78481         non-default versions.
78483 2012-06-11  Roland McGrath  <roland@hack.frob.com>
78485         [BZ #14218]
78486         * manual/argp.texi (Argp): Reword argp_parse description slightly.
78488 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
78490         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
78491         (FE_UPWARD, FE_DOWNWARD): Don't define.
78492         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
78493         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
78495         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
78496         reading it.
78497         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
78498         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78500 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78502         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78503         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
78504         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
78505         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
78507 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
78509         [BZ #14117]
78510         * sysdeps/i386/fpu/bits/fenv.h: Removed.
78511         * sysdeps/i386/fpu/Implies: New file.
78512         * sysdeps/x86_64/fpu/Implies: Likewise.
78513         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
78514         * sysdeps/x86/fpu/bits/fenv.h: This.
78516         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
78517         __SSE_MATH__.
78519 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
78521         [BZ #14134]
78522         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
78523         character 0xffff that matches the last element of the
78524         conversion table.
78526 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78528         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
78529         fmodl commit.
78531 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78533         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
78534         values higher than 25.6283.
78536 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78538         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
78539         subnormal exponent extraction and add some __builtin_expect.
78540         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
78541         Fix for subnormal mantissa calculation.
78543 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
78545         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
78546         cpu2 is -1 and errno is not ENOSYS.
78548 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
78550         [BZ #14117]
78551         * sysdeps/i386/i486/bits/string.h: Renamed to ...
78552         * sysdeps/x86/bits/string.h: This.
78553         * sysdeps/x86_64/bits/string.h: Removed.
78555         * sysdeps/i386/i486/bits/string.h: Define inline functions only
78556         if not compiling for x86-64, but compiling for >= i486.
78558         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
78559         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
78561         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
78562         New macro from Linux kernel 3.4.0.
78563         (FP_XSTATE_MAGIC2): Likewise.
78564         (FP_XSTATE_MAGIC2_SIZE): Likewise.
78565         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
78566         (struct _fpx_sw_bytes): New struct.
78567         (struct _xsave_hdr): Likewise.
78568         (struct _ymmh_state): Likewise.
78569         (struct _xstate): Likewise.
78571         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
78572         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
78573         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
78574         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
78575         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
78576         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
78578         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
78579         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
78580         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
78581         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
78582         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
78583         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
78585 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78587         [BZ #13743]
78588         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
78589         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
78590         (sysdep_headers): Include sys/platform/ppc.h.
78591         * sysdeps/powerpc/test-gettimebase.c: Test for
78592         __ppc_get_timebase() to catch future ISA opcode/insn changes.
78593         * manual/Makefile (appendices): Include platform.texi.
78594         * manual/contrib.texi (Contributors): Update @node pointers.
78595         * manual/maint.texi (Maintenance): Likewise.
78596         (Platform): New node.
78597         * manual/platform.texi: New file.  Document the new features.
78599 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
78600             Jakub Jelinek  <jakub@redhat.com>
78602         [BZ #14188]
78603         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
78604         where __builtin_expect is unavailable.
78606 2012-06-03  David S. Miller  <davem@davemloft.net>
78608         * stdlib/longlong.h: Updated from GCC.
78610 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
78612         [BZ #14042]
78613         * sysdeps/powerpc/powerpc32/mcount.c: New file.
78614         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
78615         __mcount_internal.
78616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
78617         (GLIBC_2.16): Likewise.
78619 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78621         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
78623 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
78626         (default-abi): New variable.
78627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
78628         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
78629         variable.
78630         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
78631         Likewise.
78632         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
78633         Likewise.
78634         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
78635         Likewise.
78637         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
78638         definition.  Document in comment.
78640 2012-06-01  David S. Miller  <davem@davemloft.net>
78642         * stdlib/longlong.h: Updated from GCC.
78644 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78646         [BZ #14117]
78647         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
78648         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
78649         sys/debugreg.h sys/io.h here.
78650         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
78651         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
78652         sys/io.h.
78653         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
78654         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
78655         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
78656         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
78657         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
78658         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
78660         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
78661         Define only if __x86_64__ is defined.
78663 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78665         [BZ #14048]
78666         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
78667         Use int64_t for variable i.
78668         * math/libm-test.inc (fmod_test): Add more tests.
78670         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
78671         z computation is not scheduled after fetestexcept.
78672         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
78673         Use math_force_eval instead of asm to ensure calculation scheduled
78674         before exception test.
78675         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
78676         Ensure a1 + u.d computation is not scheduled after fetestexcept.
78678 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
78680         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
78681         computation is not scheduled after fetestexcept.
78683 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78685         [BZ #14117]
78686         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
78687         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
78689 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78691         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
78692         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78694 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78696         [BZ #14117]
78697         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
78698         <bits/wordsize.h>.
78699         (__WCHAR_MIN): Support __WORDSIZE == 64.
78700         (__WCHAR_MAX): Likewise.
78702         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
78703         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
78705         [BZ #14183]
78706         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
78707         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
78709         [BZ #14117]
78710         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
78711         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
78713         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
78714         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
78716         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
78717         Defined to 1 if __x86_64__ isn't defined.
78718         (_STAT_VER_LINUX_OLD): New.
78719         (st_atime): Remove duplicate.
78720         (st_mtime): Likewise.
78721         (st_ctime): Likewise.
78723 2012-05-31  David S. Miller  <davem@davemloft.net>
78725         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
78726         entries.
78728 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
78730         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
78731         gen-libm-test.pl.
78733         [BZ #14132]
78734         * elf/dl-reloc.c: Include <_itoa.h>.
78735         (_dl_reloc_bad_type): Remove use of INTUSE.
78736         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
78737         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
78738         * stdio-common/psiginfo.c (psiginfo): Likewise.
78739         * stdio-common/psignal.c (psignal): Likewise.
78740         * string/strsignal.c (strsignal): Likewise.
78741         * include/signal.h (_sys_siglist): Declare hidden proto.
78742         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
78743         INTVARDEF with libc_hidden_data_def.
78744         * stdio-common/itoa-udigits.c: Likewise.
78745         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
78746         (_itoa_lower_digits_internal): Remove declaration.
78747         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
78748         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
78749         (_sys_sigabbrev_internal): Remove aliases.
78750         (_sys_siglist): Define hidden alias.
78752 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
78754         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78755         bits/sysctl.h.
78757 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78759         [BZ #14117]
78760         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
78761         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
78763         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
78764         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
78765         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
78766         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
78767         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
78768         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
78770         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
78771         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
78772         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
78774         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
78775         with __addr.
78776         (insw): Likewise.
78777         (insl): Likewise.
78778         (outsb): Likewise.
78779         (outsw): Likewise.
78780         (outsl): Likewise.
78782         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
78783         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
78784         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
78786         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
78787         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
78788         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
78789         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
78790         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
78791         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
78793         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
78794         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
78796         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
78797         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
78799         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
78800         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
78801         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
78803         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
78804         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
78805         to ...
78806         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
78808         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
78809         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
78810         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
78812         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
78813         for x86-64.
78814         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
78816 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
78818         * math/math.h (M_El): Use two more decimal places.
78819         (M_LOG2El): Likewise.
78820         (M_LOG10El): Likewise.
78821         (M_LN2l): Likewise.
78822         (M_LN10l): Likewise.
78823         (M_PIl): Likewise.
78824         (M_PI_2l): Likewise.
78825         (M_PI_4l): Likewise.
78826         (M_1_PIl): Likewise.
78827         (M_2_PIl): Likewise.
78828         (M_2_SQRTPIl): Likewise.
78829         (M_SQRT2l): Likewise.
78830         (M_SQRT1_2l): Likewise.
78832 2012-05-31  David S. Miller  <davem@davemloft.net>
78834         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
78835         values between float registers.
78836         * sysdeps/sparc/sparc64/memset.S: Likewise.
78837         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78839 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
78841         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
78842         -D_FORTIFY_SOURCE=1.
78843         (CPPFLAGS-tst-longjmp_chk.c): Define.
78844         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
78845         (CPPFLAGS-tst-longjmp_chk2.c): Define.
78846         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
78847         CFLAGS-tst-wchar-h.c.
78849 2012-05-31  Marek Polacek  <polacek@redhat.com>
78851         [BZ #14132]
78852         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
78853         __endmntent_internal): Remove declaration.
78854         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
78855         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
78856         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
78858 2012-05-30  David S. Miller  <davem@davemloft.net>
78860         * sysdeps/sparc/sparc32/soft-fp/q_util.c
78861         (___Q_simulate_exceptions): Use real FP ops rather than writing
78862         into the %fsr.
78863         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
78864         Likewise.
78866 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78868         [BZ #14117]
78869         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
78870         * sysdeps/x86/bits/xtitypes.h: This.
78872         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
78873         * sysdeps/x86/bits/wordsize.h: This.
78875         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
78876         * sysdeps/x86/bits/huge_vall.h: This.
78878         * sysdeps/i386/bits/select.h: Removed.
78879         * sysdeps/x86_64/bits/select.h: Renamed to ...
78880         * sysdeps/x86/bits/select.h: This.
78882         * sysdeps/i386/bits/setjmp.h: Removed.
78883         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
78884         * sysdeps/x86/bits/setjmp.h: This.
78886         * sysdeps/i386/bits/mathdef.h: Removed.
78887         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
78888         * sysdeps/x86/bits/mathdef.h: This.
78890 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
78892         [BZ #14132]
78893         * include/sys/socket.h (__connect_internal)
78894         (__libc_sa_len_internal): Remove declaration.
78895         (__connect, __libc_sa_len): Declare hidden_proto.
78896         (SA_LEN): Remove use of INTUSE.
78897         * socket/connect.c: Add libc_hidden_def.
78898         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
78899         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
78900         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
78901         alias.
78902         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
78903         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
78904         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
78905         of adding _internal alias.
78907 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78909         [BZ #14117]
78910         * sysdeps/i386/bits/link.h: Removed.
78911         * sysdeps/i386/bits/linkmap.h: Likewise.
78912         * sysdeps/x86_64/bits/link.h: Renamed to ...
78913         * sysdeps/x86/bits/link.h: This.
78914         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
78915         * sysdeps/x86/bits/linkmap.h: This.
78917         * sysdeps/i386/bits/endian.h: Removed.
78918         * sysdeps/x86_64/bits/endian.h: Renamed to ...
78919         * sysdeps/x86/bits/endian.h: This.
78921         * sysdeps/i386/bits/byteswap.h: Removed.
78922         * sysdeps/i386/bits/byteswap-16.h: Likewise.
78923         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
78924         * sysdeps/x86/bits/byteswap.h: This.
78925         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
78926         * sysdeps/x86/bits/byteswap-16.h: This.
78927         * sysdeps/i386/Implies: Add x86.
78928         * sysdeps/x86_64/Implies: Likewise.
78930 2012-05-30  David S. Miller  <davem@davemloft.net>
78932         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
78933         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
78934         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
78935         (FP_TRAPPING_EXCEPTIONS): Define.
78936         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
78937         (FP_TRAPPING_EXCEPTIONS): Define.
78938         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
78939         subnormals only when inexact has been signalled or underflow
78940         exceptions are enabled.
78941         (_FP_PACK_CANONICAL): Likewise.
78943 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78945         [BZ #14183]
78946         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
78947         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
78949 2012-05-30  Richard Henderson  <rth@twiddle.net>
78951         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
78952         with #ifndef NOT_IN_libc.
78954         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
78955         marked to avoid plt entry.
78957 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78959         [BZ #14112]
78960         * Makeconfig (default-abi): New macro.
78961         (abi-includes): Likewise.
78962         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
78963         $(abi-$(default-abi)-lib-soname) for soname if defined.
78964         ($(common-objpfx)gnu/lib-names.stmp): Generate from
78965         abi-variants.
78966         * Makefile (installed-stubs): Likewise.
78967         * include/stubs-biarch.h: Removed.
78968         * scripts/lib-names.awk: Only handle one library at a time.
78969         * scripts/soversions.awk: Remove WORDSIZE support.
78970         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
78971         entries.
78972         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
78973         Removed.
78974         (syscall-list-default-condition): Likewise.
78975         (syscall-list-default-condition): Likewise.
78976         (syscall-list-includes): Likewise.
78977         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
78978         syscall-list-* with abi-*.  Handle undefined abi-variants.
78979         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
78980         * sysdeps/unix/sysv/linux/i386/Implies: New file.
78981         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
78982         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
78983         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
78984         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
78985         Removed.
78986         (syscall-list-32-options): Likewise.
78987         (syscall-list-32-condition): Likewise.
78988         (syscall-list-64-options): Likewise.
78989         (syscall-list-64-condition): Likewise.
78990         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
78991         macro.
78992         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
78993         Renamed to ...
78994         (abi-*): This.
78995         (abi-64-ld-soname): New macro.
78996         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
78997         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
78998         Renamed to ...
78999         (abi-*): This.
79000         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
79001         * sysdeps/x86_64/x32/shlib-versions: Likewise.
79003 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
79005         * sysdeps/unix/sysv/linux/kernel-features.h
79006         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
79007         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
79008         include <kernel-features.h>.
79009         [!__NR_ftruncate64]: Remove conditional code.
79010         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79011         [__NR_ftruncate64]: Make code unconditional.
79012         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79013         * sysdeps/unix/sysv/linux/truncate64.c: Do not
79014         include <kernel-features.h>.
79015         [!__NR_ftruncate64]: Remove conditional code.
79016         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79017         [__NR_ftruncate64]: Make code unconditional.
79018         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
79020         include <kernel-features.h>.
79021         [!__NR_ftruncate64]: Remove conditional code.
79022         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79023         [__NR_ftruncate64]: Make code unconditional.
79024         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
79026         include <kernel-features.h>.
79027         [!__NR_ftruncate64]: Remove conditional code.
79028         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79029         [__NR_ftruncate64]: Make code unconditional.
79030         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79032         * configure.in (libc_cv_fpie): Weaken to a compile test using
79033         LIBC_TRY_CC_OPTION.
79034         * configure: Regenerated.
79036 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
79039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
79040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
79041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
79042         Refreshed.
79043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
79044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
79045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
79046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
79047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
79048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
79049         Refreshed.
79051 2012-05-27  David S. Miller  <davem@davemloft.net>
79053         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
79054         (___Q_zero): New.
79055         (__Q_simulate_exceptions): Return void.  Change to simulate
79056         exceptions by writing into the %fsr.
79057         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
79058         (__Qp_handle_exceptions): Likewise.
79059         (numbers): Delete.
79060         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
79061         __Qp_handle_exceptions.
79062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
79063         __Qp_handle_exceptions.
79064         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79065         as unused and give dummy FP_RND_NEAREST initializer.
79066         (FP_INHIBIT_RESULTS): Define.
79067         (___Q_simulate_exceptions): Update declaration.
79068         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
79069         formatting.
79070         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79071         as unused and give dummy FP_RND_NEAREST initializer.
79072         (__Qp_handle_exceptions): Update declaration.
79073         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
79074         formatting.
79076 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
79078         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
79079         the temporary FPU control word.
79080         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
79081         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
79082         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
79083         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79084         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
79085         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
79086         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
79087         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79088         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
79089         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
79090         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79092 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79094         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
79095         fields.
79097 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
79099         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
79100         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
79101         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
79102         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
79103         Likewise.
79104         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
79105         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
79106         Likewise.
79108 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
79110         * po/h.po: Update from translation team.
79112 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
79114         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
79116         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
79117         handling of denormals.
79118         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79119         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
79120         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79121         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79122         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79123         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
79124         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
79125         Likewise.
79127 2012-05-26  Marek Polacek  <polacek@redhat.com>
79129         [BZ #14152]
79130         * math/libm-test.inc (fma_test): Don't always expect underflow
79131         exception.
79133 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
79135         [BZ #12416]
79136         * elf/tst-execstack.c: Include stackinfo.h.
79137         (do_test): Adjust test case to ensure that pthread_getattr_np
79138         behaviour remains the same after marking stack executable.
79140 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
79142         * sysdeps/unix/sysv/linux/kernel-features.h
79143         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
79144         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
79145         kernel-features.h.
79146         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
79147         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
79148         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
79149         kernel-features.h.
79150         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
79151         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
79153 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
79155         * configure.in: Define the default includes to being none.
79156         * configure: Regenerated.
79158 2012-05-25  Roland McGrath  <roland@hack.frob.com>
79160         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
79161         * sysdeps/x86_64/setjmp.S: Likewise.
79162         * sysdeps/i386/bsd-setjmp.S: Likewise.
79163         * sysdeps/i386/bsd-_setjmp.S: Likewise.
79164         * sysdeps/i386/setjmp.S: Likewise.
79165         * sysdeps/i386/__longjmp.S: Likewise.
79166         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79167         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
79169         * include/stap-probe.h: New file.
79170         * configure.in: Handle --enable-systemtap.
79171         * configure: Regenerated.
79172         * config.h.in (USE_STAP_PROBE): New #undef.
79173         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
79174         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
79175         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
79177 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
79179         [BZ #13717]
79180         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
79181         to 2.4.0 where earlier.
79182         * sysdeps/unix/sysv/linux/configure: Regenerated.
79183         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
79184         <kernel-features.h>.
79185         [__ASSUME_32BITUIDS]: Make code unconditional.
79186         [!__ASSUME_32BITUIDS]: Remove conditional code.
79187         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
79188         <kernel-features.h>.
79189         [__ASSUME_32BITUIDS]: Make code unconditional.
79190         [!__ASSUME_32BITUIDS]: Remove conditional code.
79191         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
79192         [__ASSUME_32BITUIDS]: Make code unconditional.
79193         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
79194         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
79195         <kernel-features.h>.
79196         [__ASSUME_32BITUIDS]: Make code unconditional.
79197         [!__ASSUME_32BITUIDS]: Remove conditional code.
79198         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
79199         <kernel-features.h>.
79200         [__ASSUME_32BITUIDS]: Make code unconditional.
79201         [!__ASSUME_32BITUIDS]: Remove conditional code.
79202         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
79203         <kernel-features.h>.
79204         [__ASSUME_32BITUIDS]: Make code unconditional.
79205         [!__ASSUME_32BITUIDS]: Remove conditional code.
79206         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
79207         <kernel-features.h>.
79208         [__ASSUME_32BITUIDS]: Make code unconditional.
79209         [!__ASSUME_32BITUIDS]: Remove conditional code.
79210         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
79211         <kernel-features.h>.
79212         [__ASSUME_32BITUIDS]: Make code unconditional.
79213         [!__ASSUME_32BITUIDS]: Remove conditional code.
79214         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
79215         <kernel-features.h>.
79216         [__ASSUME_32BITUIDS]: Make code unconditional.
79217         [!__ASSUME_32BITUIDS]: Remove conditional code.
79218         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
79219         <kernel-features.h>.
79220         [__ASSUME_32BITUIDS]: Make code unconditional.
79221         [!__ASSUME_32BITUIDS]: Remove conditional code.
79222         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
79223         <kernel-features.h>.
79224         [__ASSUME_32BITUIDS]: Make code unconditional.
79225         [!__ASSUME_32BITUIDS]: Remove conditional code.
79226         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
79227         <kernel-features.h>.
79228         [__ASSUME_32BITUIDS]: Make code unconditional.
79229         [!__ASSUME_32BITUIDS]: Remove conditional code.
79230         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
79231         <kernel-features.h>.
79232         [__ASSUME_32BITUIDS]: Make code unconditional.
79233         [!__ASSUME_32BITUIDS]: Remove conditional code.
79234         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
79235         <kernel-features.h>.
79236         [__NR_setresgid] (__setresgid): Do not declare.
79237         [__ASSUME_32BITUIDS]: Make code unconditional.
79238         [!__ASSUME_32BITUIDS]: Remove conditional code.
79239         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
79240         <kernel-features.h>.
79241         [__NR_setresuid] (__setresuid): Do not declare.
79242         [__ASSUME_32BITUIDS]: Make code unconditional.
79243         [!__ASSUME_32BITUIDS]: Remove conditional code.
79244         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
79245         <kernel-features.h>.
79246         [__ASSUME_32BITUIDS]: Make code unconditional.
79247         [!__ASSUME_32BITUIDS]: Remove conditional code.
79248         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
79249         <kernel-features.h>.
79250         [__ASSUME_32BITUIDS]: Make code unconditional.
79251         [!__ASSUME_32BITUIDS]: Remove conditional code.
79252         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
79253         <kernel-features.h>.
79254         [__ASSUME_32BITUIDS]: Make code unconditional.
79255         [!__ASSUME_32BITUIDS]: Remove conditional code.
79256         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
79257         <kernel-features.h>.
79258         [__ASSUME_32BITUIDS]: Make code unconditional.
79259         [!__ASSUME_32BITUIDS]: Remove conditional code.
79260         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
79261         <kernel-features.h>.
79262         [__ASSUME_32BITUIDS]: Make code unconditional.
79263         [!__ASSUME_32BITUIDS]: Remove conditional code.
79264         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
79265         <kernel-features.h>.
79266         [__ASSUME_32BITUIDS]: Make code unconditional.
79267         [!__ASSUME_32BITUIDS]: Remove conditional code.
79268         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
79269         <kernel-features.h>.
79270         [__ASSUME_32BITUIDS]: Make code unconditional.
79271         [!__ASSUME_32BITUIDS]: Remove conditional code.
79272         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
79273         <kernel-features.h>.
79274         [__ASSUME_32BITUIDS]: Make code unconditional.
79275         [!__ASSUME_32BITUIDS]: Remove conditional code.
79276         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
79277         <kernel-features.h>.
79278         [__ASSUME_32BITUIDS]: Make code unconditional.
79279         [!__ASSUME_32BITUIDS]: Remove conditional code.
79280         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
79281         <kernel-features.h>.
79282         [__ASSUME_32BITUIDS]: Make code unconditional.
79283         [!__ASSUME_32BITUIDS]: Remove conditional code.
79284         * sysdeps/unix/sysv/linux/kernel-features.h
79285         (__ASSUME_SETRESUID_SYSCALL): Remove.
79286         (__ASSUME_SETRESGID_SYSCALL): Likewise.
79287         (__ASSUME_32BITUIDS): Likewise.
79288         (__ASSUME_LDT_WORKS): Likewise.
79289         (__ASSUME_O_DIRECTORY): Likewise.
79290         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
79291         architecture but not kernel version.
79292         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
79293         (__ASSUME_MMAP2_SYSCALL): Likewise.
79294         (__ASSUME_STAT64_SYSCALL): Likewise.
79295         (__ASSUME_IPC64): Likewise.
79296         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
79297         <kernel-features.h>.
79298         [__ASSUME_32BITUIDS]: Make code unconditional.
79299         [!__ASSUME_32BITUIDS]: Remove conditional code.
79300         * sysdeps/unix/sysv/linux/opendir.c: Do not include
79301         <kernel-features.h>.
79302         [__ASSUME_O_DIRECTORY]: Make code unconditional.
79303         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
79304         132096]: Remove conditional code.
79305         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
79306         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
79307         <kernel-features.h>.
79308         [__ASSUME_32BITUIDS]: Make code unconditional.
79309         [!__ASSUME_32BITUIDS]: Remove conditional code.
79310         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
79311         <kernel-features.h>.
79312         [__ASSUME_32BITUIDS]: Make code unconditional.
79313         [!__ASSUME_32BITUIDS]: Remove conditional code.
79314         * sysdeps/unix/sysv/linux/setegid.c: Do not include
79315         <kernel-features.h>.
79316         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
79317         unconditional.
79318         (__setresgid): Do not declare.
79319         [__ASSUME_32BITUIDS]: Make code unconditional.
79320         [!__ASSUME_32BITUIDS]: Remove conditional code.
79321         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
79322         <kernel-features.h>.
79323         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
79324         unconditional.
79325         (__setresuid): Do not declare.
79326         [__ASSUME_32BITUIDS]: Make code unconditional.
79327         [!__ASSUME_32BITUIDS]: Remove conditional code.
79328         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
79329         <kernel-features.h>.
79330         [__ASSUME_32BITUIDS]: Make code unconditional.
79331         [!__ASSUME_32BITUIDS]: Remove conditional code.
79332         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
79333         <kernel-features.h>.
79334         [__ASSUME_32BITUIDS]: Make code unconditional.
79335         [!__ASSUME_32BITUIDS]: Remove conditional code.
79337 2012-05-25  Richard Henderson  <rth@twiddle.net>
79339         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
79340         dl_hwcap to ifunc resolver.
79341         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
79342         elf_ifunc_invoke.
79343         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
79344         dl_hwcap to ifunc resolver.
79345         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
79347 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79349         [BZ #14153]
79350         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
79351         for |x| <= 2**-26, not 2**-57.
79352         * math/libm-test.inc (acos_test): Do not allow spurious underflow
79353         exception.
79355 2012-05-24  Jeff Law  <law@redhat.com>
79357         * stdio-common/Makefile (tests): Add bug25.
79358         * stdio-common/bug25.c: New test.
79360 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
79362         [BZ #13576]
79363         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
79364         multiple of MALLOC_ALIGNMENT in size.
79365         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
79367 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79369         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
79370         Require >= 256.
79371         (FILENAME_MAX): Use macro-int-constant.
79372         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
79373         (_IOFBF): Use macro-int-constant.
79374         (_IOLBF): Likewise.
79375         (_IONBF): Likewise.
79376         (SEEK_CUR): Likewise.
79377         (SEEK_END): Likewise.
79378         (SEEK_SET): Likewise.
79379         (TMP_MAX): Likewise.
79380         (EOF): Use macro-int-constant.  Require < 0.
79381         (NULL): Use macro-constant.  Require == 0.
79382         (stdin): Require type to be FILE *.
79383         (stdout): Likewise.
79384         (stderr): Likewise.
79385         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
79386         macro-int-constant.
79387         (EXIT_SUCCESS): Likewise.
79388         (NULL): Use macro-constant.  Require == 0.
79389         (RAND_MAX): Use macro-int-constant.
79390         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
79391         [C99-based standards] (strtof): Require function.
79392         [C99-based standards] (strtold): Likewise.
79393         [C99-based standards] (strtoll): Likewise.
79394         [C99-based standards] (strtoull): Likewise.
79395         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79396         [ISO || ISO99 || ISO11] (limits.h): Likewise.
79397         [ISO || ISO99 || ISO11] (math.h): Likewise.
79398         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
79399         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79400         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79402 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
79404         [BZ #14132]
79405         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
79406         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
79407         * intl/dgettext.c (DCGETTEXT): Likewise.
79408         * intl/gettext.c (DCGETTEXT): Likewise.
79409         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
79410         * posix/regex_internal.h (gettext): Likewise.
79411         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
79412         Remove declaration.
79413         * include/argz.h (__argz_count_internal)
79414         (__argz_stringify_internal): Remove declaration.
79415         (__argz_count, __argz_stringify): Declare hidden proto.
79416         * intl/dcgettext.c: Remove use of INTDEF.
79417         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
79418         * string/argz-stringify.c: Likewise.
79419         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79420         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79421         Declare hidden proto.
79422         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79423         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79424         Declare hidden proto.
79425         * include/stdio.h (__asprintf_internal): Don't declare.
79426         (__asprintf): Don't define as macro.  Declare hidden proto.
79427         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
79428         (__fsetlocking): Declare hidden proto.
79429         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
79430         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
79431         hidden proto.
79432         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
79433         (_IO_setlinebuf): Remove use of INTUSE.
79434         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
79435         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
79436         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
79437         Remove declaration.
79438         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
79439         (_IO_do_flush): Remove use of INTUSE.
79440         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
79441         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
79442         (_IO_adjust_column, _IO_least_wmarker)
79443         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
79444         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
79445         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
79446         (_IO_default_doallocate, _IO_wdefault_doallocate)
79447         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
79448         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
79449         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
79450         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
79451         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
79452         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
79453         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
79454         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
79455         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
79456         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
79457         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
79458         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
79459         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
79460         proto.
79461         (_IO_flush_all_internal, _IO_adjust_column_internal)
79462         (_IO_default_uflow_internal, _IO_default_finish_internal)
79463         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
79464         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
79465         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
79466         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
79467         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
79468         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
79469         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
79470         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
79471         (_IO_file_close_internal, _IO_file_close_it_internal)
79472         (_IO_file_underflow_internal, _IO_file_overflow_internal)
79473         (_IO_file_init_internal, _IO_file_attach_internal)
79474         (_IO_file_fopen_internal, _IO_file_read_internal)
79475         (_IO_file_sync_internal, _IO_file_seek_internal)
79476         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
79477         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
79478         (_IO_str_underflow_internal, _IO_str_overflow_internal)
79479         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
79480         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
79481         (_IO_list_all_internal, _IO_link_in_internal)
79482         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
79483         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
79484         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
79485         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
79486         (_IO_do_write_internal, _IO_padn_internal)
79487         (_IO_getline_info_internal, _IO_getline_internal)
79488         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
79489         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
79490         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
79491         (_IO_vfscanf_internal, _IO_vfprintf_internal)
79492         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
79493         (_IO_init_internal, _IO_un_link_internal): Don't declare.
79494         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
79495         with libc_hidden_ver, remove use of INTUSE.
79496         * libio/genops.c: Likewise.
79497         * libio/freopen.c: Likewise.
79498         * libio/freopen64.c: Likewise.
79499         * libio/iofclose.c: Likewise.
79500         * libio/iofdopen.c: Likewise.
79501         * libio/iofflush.c: Likewise.
79502         * libio/iofflush_u.c: Likewise.
79503         * libio/iofgets.c: Likewise.
79504         * libio/iofgets_u.c: Likewise.
79505         * libio/iofopen.c: Likewise.
79506         * libio/iofopncook.c: Likewise.
79507         * libio/iofread.c: Likewise.
79508         * libio/iofread_u.c: Likewise.
79509         * libio/ioftell.c: Likewise.
79510         * libio/iofwrite.c: Likewise.
79511         * libio/iogetline.c: Likewise.
79512         * libio/iogets.c: Likewise.
79513         * libio/iogetwline.c: Likewise.
79514         * libio/iopadn.c: Likewise.
79515         * libio/iopopen.c: Likewise.
79516         * libio/ioseekoff.c: Likewise.
79517         * libio/ioseekpos.c: Likewise.
79518         * libio/iosetbuffer.c: Likewise.
79519         * libio/iosetvbuf.c: Likewise.
79520         * libio/ioungetc.c: Likewise.
79521         * libio/ioungetwc.c: Likewise.
79522         * libio/iovdprintf.c: Likewise.
79523         * libio/iovsprintf.c: Likewise.
79524         * libio/iovsscanf.c: Likewise.
79525         * libio/memstream.c: Likewise.
79526         * libio/obprintf.c: Likewise.
79527         * libio/oldfileops.c: Likewise.
79528         * libio/oldiofclose.c: Likewise.
79529         * libio/oldiofdopen.c: Likewise.
79530         * libio/oldiofopen.c: Likewise.
79531         * libio/oldiopopen.c: Likewise.
79532         * libio/oldstdfiles.c: Likewise.
79533         * libio/putc.c: Likewise.
79534         * libio/setbuf.c: Likewise.
79535         * libio/setlinebuf.c: Likewise.
79536         * libio/stdfiles.c: Likewise.
79537         * libio/strops.c: Likewise.
79538         * libio/vasprintf.c: Likewise.
79539         * libio/vscanf.c: Likewise.
79540         * libio/vsnprintf.c: Likewise.
79541         * libio/vswprintf.c: Likewise.
79542         * libio/wfiledoalloc.c: Likewise.
79543         * libio/wfileops.c: Likewise.
79544         * libio/wgenops.c: Likewise.
79545         * libio/wmemstream.c: Likewise.
79546         * libio/wstrops.c: Likewise.
79547         * libio/__fpurge.c: Likewise.
79548         * libio/__fsetlocking.c: Likewise.
79549         * assert/assert.c: Likewise.
79550         * debug/fgets_chk.c: Likewise.
79551         * debug/fgets_u_chk.c: Likewise.
79552         * debug/fread_chk.c: Likewise.
79553         * debug/fread_u_chk.c: Likewise.
79554         * debug/gets_chk.c: Likewise.
79555         * debug/obprintf_chk.c: Likewise.
79556         * debug/vasprintf_chk.c: Likewise.
79557         * debug/vdprintf_chk.c: Likewise.
79558         * debug/vsnprintf_chk.c: Likewise.
79559         * debug/vsprintf_chk.c: Likewise.
79560         * malloc/mtrace.c: Likewise.
79561         * misc/error.c: Likewise.
79562         * misc/syslog.c: Likewise.
79563         * stdio-common/asprintf.c: Likewise.
79564         * stdio-common/fxprintf.c: Likewise.
79565         * stdio-common/getw.c: Likewise.
79566         * stdio-common/isoc99_fscanf.c: Likewise.
79567         * stdio-common/isoc99_scanf.c: Likewise.
79568         * stdio-common/isoc99_vfscanf.c: Likewise.
79569         * stdio-common/isoc99_vscanf.c: Likewise.
79570         * stdio-common/isoc99_vsscanf.c: Likewise.
79571         * stdio-common/printf-prs.c: Likewise.
79572         * stdio-common/printf_fp.c: Likewise.
79573         * stdio-common/printf_fphex.c: Likewise.
79574         * stdio-common/printf_size.c: Likewise.
79575         * stdio-common/putw.c: Likewise.
79576         * stdio-common/scanf.c: Likewise.
79577         * stdio-common/sprintf.c: Likewise.
79578         * stdio-common/tmpfile.c: Likewise.
79579         * stdio-common/vfprintf.c: Likewise.
79580         * stdio-common/vfscanf.c: Likewise.
79581         * stdlib/strfmon_l.c: Likewise.
79582         * sunrpc/openchild.c: Likewise.
79583         * sunrpc/xdr_stdio.c: Likewise.
79584         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
79585         * sysdeps/mach/hurd/tmpfile.c: Likewise.
79587 2012-05-24  Roland McGrath  <roland@hack.frob.com>
79589         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
79591         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
79592         in the third column, to generate for the shared library an IFUNC
79593         that uses _dl_vdso_vsym.
79594         * Makerules (COMPILE.c, compile-stdin.c): New variables.
79595         * Makeconfig (object-suffixes-noshared): New variable.
79597         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
79598         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
79599         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
79600         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
79602         [BZ #14132]
79603         * include/sys/time.h (__gettimeofday): Remove macro.
79604         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
79605         * time/gettimeofday.c (__gettimeofday): Remove #undef.
79606         Remove INTDEF.
79607         (__gettimeofday): Add libc_hidden_def.
79608         (gettimeofday): Add libc_hidden_weak.
79609         * sysdeps/mach/gettimeofday.c: Likewise.
79610         * sysdeps/posix/gettimeofday.c: Likewise.
79611         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
79612         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
79613         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
79614         (__gettimeofday_internal): Remove strong_alias.
79615         (__gettimeofday): Add libc_hidden_def.
79616         (gettimeofday): Add libc_hidden_weak.
79617         * sysdeps/unix/syscalls.list (gettimeofday):
79618         Remove __gettimeofday_internal alias.
79620 2012-05-24  Daniel Jacobowitz  <drow@false.org>
79621             H.J. Lu  <hongjiu.lu@intel.com>
79623         [BZ #12495]
79624         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
79625         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
79626         (largebin_index_32_big): New.
79627         (largebin_index): Use it for 16-byte alignment.
79628         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
79629         correction with front_misalign.
79631 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
79633         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
79634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
79635         Likewise.
79636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
79637         Likewise.
79638         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
79639         Likewise.
79640         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
79641         Likewise.
79642         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
79643         Likewise.
79644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
79645         Likewise.
79646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
79647         Likewise.
79648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
79649         Likewise.
79650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
79651         Likewise.
79652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
79653         Likewise.
79654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
79655         Likewise.
79656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
79657         Likewise.
79659         * scripts/data/c++-types-x32-linux-gnu.data: New file.
79660         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
79662 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79664         [BZ #10846]
79665         [BZ #14036]
79666         * math/libm-test.inc (exp_test): Add test from bug 14036.
79667         (pow_test): Add test from bug 10846.
79669         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
79670         and other flags.
79671         (special_function): Do not include flags in test name.
79672         (parse_args): Likewise.
79673         * sysdeps/i386/fpu/libm-test-ulps: Update.
79674         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79675         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
79676         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
79677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79679         * math/gen-libm-test.pl (%beautify): Add entries for underflow
79680         exceptions.
79681         * math/libm-test.inc ("Philosophy"): Update comment about
79682         exception testing.
79683         (UNDERFLOW_EXCEPTION): New macro.
79684         (UNDERFLOW_EXCEPTION_OK): Likewise.
79685         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
79686         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
79687         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
79688         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
79689         (INVALID_EXCEPTION_OK): Update value.
79690         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79691         (OVERFLOW_EXCEPTION_OK): Likewise.
79692         (IGNORE_ZERO_INF_SIGN): Likewise.
79693         (test_exceptions): Handle underflow exceptions.
79694         (acos_test): Update for underflow exception expectations.
79695         (cexp_test): Likewise.
79696         (clog_test): Likewise.
79697         (clog10_test): Likewise.
79698         (csqrt_test): Likewise.
79699         (ctan_test): Likewise.
79700         (ctanh_test): Likewise.
79701         (exp_test): Likewise.
79702         (exp10_test): Likewise.
79703         (exp2_test): Likewise.
79704         (expm1_test): Likewise.
79705         (fma_test): Likewise.
79706         (j0_test): Likewise.
79707         (jn_test): Likewise.
79708         (nexttoward_test): Likewise.
79709         (pow_test): Likewise.
79710         (scalbn_test): Likewise.
79711         (scalbln_test): Likewise.
79712         (tan_test): Likewise.
79713         (y1_test): Likewise.
79714         * sysdeps/i386/fpu/libm-test-ulps: Update.
79715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79717 2012-05-23  David S. Miller  <davem@davemloft.net>
79719         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79720         (__libc_sigaction): Remove unused local variables.
79722 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79724         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
79726 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
79728         mktime: avoid signed integer overflow
79729         * time/mktime.c (__mktime_internal): Do not mishandle the case
79730         where diff == INT_MIN.
79732         mktime: simplify computation of average
79733         * time/mktime.c (ranged_convert): Use new time_t_avg function
79734         instead of rolling our own (probably-slower) code.
79736         mktime: do not assume signed right shift propagates sign bit
79737         * time/mktime.c (isdst_differ): New static function.
79738         (__mktime_internal): No need to normalize tm_isdst now.
79739         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
79740         tm_isdst values.
79742         mktime: merge another wrapv change from gnulib
79743         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
79744         from some compilers.
79746         mktime: remove incorrect attempt at unusual arithmetics
79747         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
79748         The code didn't really work on such machines anyway.
79749         (TYPE_MINIMUM): Assume two's complement.
79750         (twos_complement_arithmetic): Verify that long_int and time_t
79751         are two's complement (or unsigned, in the latter case).
79753         mktime: check signed shifts on long_int and time_t, too
79754         * time/mktime.c (SHR): Check that shifts work as desired
79755         on the types long_int and time_t too, as SHR is used on
79756         such types.
79758         mktime: do not assume 'long' is wide enough
79759         * time/mktime.c (verify): Move decl up.
79760         (long_int): New type.
79761         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
79762         to remove assumption in the code that 'long' is wide enough to
79763         store year values.  This assumption is not true on x32 and on
79764         some non-glibc platforms.
79766         mktime: merge wrapv change from gnulib
79767         * time/mktime.c (WRAPV): New macro.
79768         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
79769         (guess_time_tm, __mktime_internal): Do not assume that signed
79770         integer overflow wraps around; modern compilers generate code
79771         where this assumption is no longer valid.
79773 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79775         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79776         Replace "jmp L(pseudo_end)" with "ret".
79777         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
79778         Likewise.
79780 2012-05-23  Andreas Jaeger  <aj@suse.de>
79782         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
79783         * sysdeps/unix/sysv/linux/poll.c: Remove file.
79785 2012-05-23  Andreas Jaeger  <aj@suse.de>
79786             Maximilian Attems  <max@stro.at>
79788         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
79789         New macros.
79791 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79793         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
79794         code so that pseudo_end is just ret and the stack pointer is
79795         correct also for static library in error case.
79797 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
79799         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
79800         move to syscalls.list.
79801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
79802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
79803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
79804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
79806         * manual/install.texi (Running make install): Do not mention Linux
79807         kernel version for which pt_chown is not needed.
79808         (Linux): Do not mention problems with nscd with 2.0 kernels.
79809         * INSTALL: Regenerated.
79811 2012-05-23  Andreas Jaeger  <aj@suse.de>
79813         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
79814         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
79815         macro.
79816         * sysdeps/unix/sysv/linux/s390/bits/mman.h
79817         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79818         * sysdeps/unix/sysv/linux/sh/bits/mman.h
79819         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79820         * sysdeps/unix/sysv/linux/i386/bits/mman.h
79821         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79822         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
79823         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79824         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
79825         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79826         * sysdeps/unix/sysv/linux/bits/in.h
79827         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
79829 2012-05-22  Roland McGrath  <roland@hack.frob.com>
79831         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
79832         (PREPARE_VERSION): Just use assert instead, it will be elided
79833         under [NDEBUG] anyway.
79835 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79837         * sysdeps/unix/sysv/linux/Makefile: Include
79838         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
79839         (sysdep_routines): Remove sysctl.
79840         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
79841         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
79842         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
79843         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
79844         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
79846 2012-05-22  Andreas Jaeger  <aj@suse.de>
79848         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
79849         that pseudo_end is just ret and the stack pointer is correct also
79850         for static library in error case.
79852 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
79854         [BZ #14122]
79855         * nss/nsswitch.c (defconfig_entries): New variable.
79856         (__nss_database_lookup): Don't leak defconfig entries.
79857         (nss_parse_service_list): Don't leak on error paths.
79858         (free_database_entries): New function.
79859         (free_defconfig): New function.
79860         (free_mem): Move common code to free_database_entries.
79862 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79864         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
79865         Add arch_prctl.
79866         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
79868         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
79869         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
79870         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
79871         New macro.
79872         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
79873         (INTERNAL_SYSCALL_TYPES): Likewise.
79874         (LOAD_ARGS_TYPES_[1-6]): Likewise.
79875         (LOAD_REGS_TYPES_[1-6]): Likewise.
79876         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
79877         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
79879 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79881         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
79882         copysignl for GLIBC_2_0.
79883         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
79884         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
79885         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
79886         logbl for GLIBC_2_0.
79887         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
79888         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
79890 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79892         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
79893         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79895         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79896         Use "neg %eax".
79898         * time/mktime.c: Update copyright years.
79900 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
79902         mktime: merge comment-quoting-style change from gnulib
79903         * time/mktime.c: Quote 'like this' in comments.
79904         The GNU coding standards suggest that we no longer quote `like this',
79905         as "`" and "'" are typically rendered asymmetrically nowadays.
79906         The typical gnulib style is to quote 'like this' when quoting
79907         code, and "like this" when quoting English.
79909         * time/mktime.c (compile-command): Add "-I.".
79911         mktime: merge mktime-internal.h change from gnulib
79912         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
79914         mktime: merge time_r change from gnulib
79915         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
79917         mktime: merge DEBUG change from gnulib
79918         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
79919         case system <time.h> has a #define.
79921         mktime: merge <sys/types.h> change from gnulib
79922         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
79923         since <time.t> is now guaranteed to define time_t.
79925         mktime: merge HAVE_CONFIG_H change from gnulib
79926         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
79928 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79930         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79931         Use "neg %eax".
79933         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
79934         __rlim_t cast.
79935         (struct rusage): Use anonymous union to pad each field to
79936         __syscall_slong_t.
79938 2012-05-21  David S. Miller  <davem@davemloft.net>
79940         * Makefules (o-iterator): Remove .s cases.
79941         (compile-command.s): Delete.
79942         (COMPILE.s): Delete.
79943         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
79945 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
79947         * configure.in (libc_cv_predef_stack_protector): Only consider
79948         "foobar" and "__stack_chk_fail" lines in libc_undefs.
79949         * configure: Regenerated.
79951 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79953         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79954         New macro.  Use R*LP on int and pointer.
79955         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
79956         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
79957         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
79958         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
79960         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
79961         [__WORDSIZE_TIME64_COMPAT32] instead of
79962         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
79963         (struct utmp): Likewise.
79964         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
79965         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
79966         Renamed to ...
79967         (__WORDSIZE_TIME64_COMPAT32): This.
79968         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
79969         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
79970         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
79971         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
79972         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
79973         (__WORDSIZE_TIME64_COMPAT32): New macro.
79975 2012-05-21  Andreas Jaeger  <aj@suse.de>
79977         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
79978         only if [SHARED]. Add prototype for __wcschr_ia32.
79980 2012-05-21  Roland McGrath  <roland@hack.frob.com>
79982         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
79983         of %rbp unmolested in the jmp_buf while mangling the low bits.
79984         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
79985         unmolested high bits of %rbp while demangling the low bits.
79986         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79988 2012-05-21  Andreas Jaeger  <aj@suse.de>
79990         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
79991         * sunrpc/svc_simple.c: Use it for registerrpc.
79992         * sunrpc/xcrypt.c: Use it for passwd2des.
79994         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
79996 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79998         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
79999         Don't define if [__SYSCALL_WORDSIZE != 32].
80000         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
80001         New macro.
80003 2012-05-21  Bruno Haible  <bruno@clisp.org>
80004             Andreas Jaeger  <aj@suse.de>
80006         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
80007         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
80008         inptr and inend for must_buffer_ch.
80009         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
80010         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
80011         * stdio-common/Makefile (tests): Remove bug15.
80012         (bug15-ENV): Remove macro.
80013         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
80014         anymore.
80016 2012-05-19  Andreas Jaeger  <aj@suse.de>
80017             Roland McGrath  <roland@hack.frob.com>
80019         * manual/contrib.texi: Completely rewritten. It contains now an
80020         alphabetical list of contributors and their contributions.
80022 2012-05-21  Richard Henderson  <rth@twiddle.net>
80024         * misc/getauxval.c (__getauxval): Use unsigned long int.
80025         * misc/sys/auxv.h: Include <sys/cdefs.h>.
80026         (getauxval): Use unsigned long int.
80028 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80030         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80032 2012-05-21  Roland McGrath  <roland@hack.frob.com>
80034         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
80035         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
80036         __alignof__ (long double).
80038 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80042 2012-05-20  Richard Henderson  <rth@twiddle.net>
80044         * misc/getauxval.c: New file.
80045         * misc/sys/auxv.h: New file.
80046         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
80047         (routines): Add getauxval.
80048         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
80049         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
80050         * elf/dl-sysdep.c (_dl_auxv): Remove.
80051         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
80052         * elf/dl-support.c (_dl_auxv): New variable.
80053         (_dl_aux_init): Initialize it.
80054         * manual/startup.texi (Auxiliary Vector): New node.
80055         * sysdeps/generic/bits/hwcap.h: New file.
80056         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
80057         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
80058         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
80059         * sysdeps/sparc/sysdep.h: ... here.  Include it.
80060         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
80061         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
80062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
80063         Update.
80064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
80065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
80066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
80067         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
80068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
80071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
80073 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80077 2012-05-19  David S. Miller  <davem@davemloft.net>
80079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80081 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
80083         [BZ #14123]
80084         * math/s_ccosh.c: Include <float.h>
80085         (__ccosh): Avoid internal overflow calculating sinh and cosh
80086         values before multiplying by sin and cos values.
80087         * math/s_ccoshf.c: Likewise.
80088         * math/s_ccoshl.c: Likewise.
80089         * math/s_csin.c: Likewise.
80090         * math/s_csinf.c: Likewise.
80091         * math/s_csinl.c: Likewise.
80092         * math/s_csinh.c: Likewise.
80093         * math/s_csinhf.c: Likewise.
80094         * math/s_csinhl.c: Likewise.
80095         * math/libm-test.inc (ccos_test): Add more tests.
80096         (ccosh_test): Likewise.
80097         (csin_test): Likewise.
80098         (csinh_test): Likewise.
80099         * sysdeps/i386/fpu/libm-test-ulps: Update.
80100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80102 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
80104         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
80105         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
80107         * sysdeps/x86_64/x32/_itoa.h: Add comment.
80109 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
80111         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
80112         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
80113         * sysdeps/powerpc/soft-fp/Versions: Likewise.
80114         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
80115         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
80116         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
80117         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
80118         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
80119         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
80120         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
80121         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
80122         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
80123         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
80124         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
80125         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
80126         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
80127         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
80128         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
80129         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
80130         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
80131         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
80132         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
80133         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
80134         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
80135         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
80136         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
80137         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
80138         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
80139         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
80140         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
80141         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
80143 2012-05-18  Andreas Jaeger  <aj@suse.de>
80145         * csu/.gitignore: Delete.
80147 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80149         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
80150         (timex): Use __syscall_slong_t.
80152 2012-05-18  Andreas Jaeger  <aj@suse.de>
80153             Carlos O'Donell  <carlos_odonell@mentor.com>
80155         * manual/install.texi (Configuring and compiling): Update
80156         description about files modified in the source directory.
80157         * INSTALL: Regenerated.
80159 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80161         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
80162         value.  Use "or" to set return value to -1.
80163         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
80164         negate return value.
80166 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80168         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
80169         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
80170         failure if the compiler has Graphite support disabled.
80171         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
80172         Likewise.
80173         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
80174         (CFLAGS-memmove.c): Likewise.
80175         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
80176         Likewise.
80178 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80180         * sysdeps/x86_64/x32/_itoa.h: New file.
80182         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
80183         getdents system call only if kernel and user dirents have the
80184         same d_ino and d_off.
80186         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
80187         LLONG_MAX != LONG_MAX.
80188         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80189         (_fitoa_word): Likewise.
80191         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
80192         years.
80193         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
80194         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
80195         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
80197         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
80198         include <bits/wordsize.h>.  Check __x86_64__ instead of
80199         __WORDSIZE.
80200         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
80201         if __x86_64__ is defined.  Use anonymous union on fpstate.
80203         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
80204         anonymous union.
80206 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
80208         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
80209         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
80210         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
80211         Refer to _rtld_local_ro instead of _rtld_global_ro.
80212         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
80213         Likewise.
80214         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
80215         Likewise.
80216         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
80217         Likewise.
80218         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
80219         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
80220         of _rtld_global, and rtld_progname instead of _dl_argv[0].
80222         [BZ #10882]
80223         * sysdeps/powerpc/powerpc32/dl-machine.c
80224         (__elf_machine_runtime_setup) [PROF]: Don't reference
80225         _dl_prof_resolve.
80227 2012-05-18  Andreas Jaeger  <aj@suse.de>
80229         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
80230         function only available for GCCs before 3.4 since GCC 3.4
80231         introduced a builtin.
80232         (lrint): Likewise.
80233         (llrintf): Likewise.
80234         (llrint): Likewise.
80235         (fmaxf): Likewise.
80236         (fmax): Likewise.
80237         (fminf): Likewise.
80238         (fmin): Likewise.
80239         (rint): Likewise.
80240         (rintf): Likewise.
80241         (nearbyint): Likewise.
80242         (nearbyintf): Likewise.
80243         (ceil): Likewise.
80244         (ceilf): Likewise.
80245         (floor): Likewise.
80246         (floorf): Likewise.
80248 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80250         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
80251         on both fields and cast pointer to __syscall_ulong_t.
80253         * bits/types.h (__fsword_t): New type.
80254         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
80255         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
80256         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80257         (__FSWORD_T_TYPE): Likewise.
80258         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80259         (__FSWORD_T_TYPE): Likewise.
80260         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80261         (__FSWORD_T_TYPE): Likewise.
80262         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
80263         (__FSWORD_T_TYPE): Likewise.
80264         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
80265         __SWORD_TYPE with __fsword_t.
80266         (statfs64): Likewise.
80268 2012-05-17  David S. Miller  <davem@davemloft.net>
80270         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
80272 2012-05-17  Andreas Jaeger  <aj@suse.de>
80274         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
80275         warning.
80277 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80279         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
80281 2012-05-17  Andreas Jaeger  <aj@suse.de>
80283         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
80284         when it is used.
80286 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
80288         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
80290 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80292         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
80293         * sysdeps/x86_64/tst-mallocalign1.c: New file.
80295 2012-05-17  Andreas Jaeger  <aj@suse.de>
80296             Carlos O'Donell  <carlos_odonell@mentor.com>
80298         [BZ #14059]
80299         * sysdeps/x86_64/multiarch/init-arch.h
80300         (bit_YMM_Usable): Rename to...
80301         (bit_AVX_Usable): ... this.
80302         (bit_FMA4_Usable): New macro.
80303         (bit_XMM_state): New macro.
80304         (bit_YMM_state): New macro.
80305         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
80306         [__ASSEMBLER__] (index_AVX_Usable): ... this.
80307         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
80308         (CPUID_OSXSAVE): New macro.
80309         (CPUID_AVX): New macro.
80310         (CPUID_FMA4): New macro.
80311         (index_YMM_Usable): Rename to...
80312         (index_AVX_Usable): ... this.
80313         (HAS_AVX): Use HAS_ARCH_FEATURE.
80314         (HAS_FMA4): Likewise.
80315         (HAS_YMM_USABLE): Remove.
80316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80317         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
80318         are present.
80319         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
80320         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
80321         * sysdeps/x86_64/multiarch/Makefile: Likewise.
80322         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
80323         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
80325 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
80327         * math/libm-test.c: Support platforms without multiple rounding modes.
80328         * math/bug-nextafter.c: Support platforms without FP exceptions.
80329         * math/bug-nexttoward.c: Likewise.
80330         * math/test-fenv.c: Likewise.
80331         * math/test-misc.c: Likewise.
80332         * stdlib/bug-getcontext.c: Likewise.
80334 2012-05-17  Andreas Jaeger  <aj@suse.de>
80336         * manual/examples/search.c (critter_cmp): Change signature to
80337         avoid warnings.
80338         * manual/string.texi (Collation Functions): Likewise.
80340 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80342         * bits/types.h: Fold copyright years.
80343         * bits/typesizes.h: Likewise.
80344         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
80345         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
80346         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
80347         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
80348         * time/time.h: Likewise.
80350 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
80352         [BZ #208]
80353         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
80354         in instead of returning them.  Return void.
80355         (__libc_mallinfo): Accumulate over all arenas.
80356         (__malloc_stats): Adjust for change in int_mallinfo interface.
80358 2012-05-16  Roland McGrath  <roland@hack.frob.com>
80360         [BZ #10375]
80361         * configure.in (NM): Add AC_CHECK_TOOL for it.
80362         (libc_extra_cflags): New substituted variable.
80363         Check for -fstack-protector being used implicitly.
80364         * configure: Regenerated.
80365         * config.make.in (config-extra-cflags): New variable,
80366         gets @libc_extra_cflags@.
80367         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
80369         [BZ #10375]
80370         * configure.in: Check for _FORTIFY_SOURCE being predefined.
80371         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
80372         * configure: Regenerated.
80373         * config.make.in (CPPUNDEFS): New substituted variable.
80374         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
80375         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
80376         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
80378 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80380         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
80381         (mq_attr): Use __syscall_slong_t.
80383 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80385         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
80386         Check __x86_64__ instead of __WORDSIZE.
80387         (_STAT_VER_LINUX): Likewise.
80388         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
80389         __syscall_ulong_t and __syscall_slong_t.
80390         (stat64): Likewise.
80392 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80394         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
80396 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80398         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
80400 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80402         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
80403         __syscall_ulong_t.
80405         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
80406         include <bits/wordsize.h>.  Check __x86_64__ instead of
80407         __WORDSIZE.
80408         (greg_t): Use "__extension__ long long int" if __x86_64__ is
80409         defined.
80410         (mcontext_t): Replace "unsigned long" with "unsigned long long".
80412         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
80413         include <bits/wordsize.h>.  Check __x86_64__ instead of
80414         __WORDSIZE.
80415         (user_regs_struct): Use "__extension__ unsigned long long"
80416         instead of "unsigned long" if __x86_64__ is defined.
80417         (user): Likewise.  Pad after pointer field if __ILP32__ is
80418         defined.
80420 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
80422         * configure.in (makeinfo): Require version 4.5 or later.  Allow
80423         versions 5 to 9.
80424         * configure: Regenerated.
80425         * manual/install.texi (texinfo): Increase version requirement to
80426         4.5 or later.
80427         * INSTALL: Regenerated.
80429         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
80431 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80433         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
80435         * sysdeps/x86_64/x32/ffs.c: New file.
80437         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
80438         __syscall_ulong_t.
80439         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
80440         defined.  Use __syscall_ulong_t.
80441         (shminfo): Use __syscall_ulong_t.
80442         (shm_info): Likewise.
80444         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
80445         __syscall_ulong_t.
80447         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
80448         <bits/wordsize.h>.
80449         (msgqnum_t): Use __syscall_ulong_t.
80450         (msglen_t): Likewise.
80451         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
80452         __syscall_ulong_t.
80454         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
80455         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80457         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
80459         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
80460         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
80462         * sysvipc/sys/msg.h (msgbuf): Replace long int with
80463         __syscall_slong_t.
80465         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
80466         include <bits/wordsize.h>.  Check __x86_64__ instead of
80467         __WORDSIZE.
80469         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
80470         "unsigned long long int" if __x86_64__ is defined.
80471         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
80473         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
80474         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80475         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
80477         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
80478         <stdint.h>.
80479         (GET_PC): Cast to uintptr_t first.
80480         (GET_FRAME): Likewise.
80481         (GET_STACK): Likewise.
80483         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
80484         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
80485         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
80486         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
80487         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
80488         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
80489         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
80490         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
80491         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
80492         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
80493         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
80494         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
80495         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
80496         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
80497         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
80498         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
80499         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
80500         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
80501         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
80502         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
80503         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
80504         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
80505         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
80506         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
80507         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
80508         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
80509         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
80510         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
80511         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
80513 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
80515         * Makerules (+depfiles): Also collect depfiles from .oS in
80516         $(extra-objs).
80517         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
80518         .oS, $(libnldbl-routines)).
80520         * Makerules (native-compile-mkdep-flags): Define.
80521         * sunrpc/Makefile (extra-objs): Add $(addprefix
80522         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
80523         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
80524         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
80525         calling $(make-target-directory).
80527 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80529         * bits/types.h (__snseconds_t): Removed.
80530         * time/time.h (struct timespec): Replace __snseconds_t with
80531         __syscall_slong_t.
80532         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
80533         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
80534         Likewise.
80535         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80536         (__SNSECONDS_T_TYPE): Likewise.
80537         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80538         (__SNSECONDS_T_TYPE): Likewise.
80539         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80540         (__SNSECONDS_T_TYPE): Likewise.
80542 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80544         * sysdeps/mach/hurd/bits/typesizes.h
80545         (__SYSCALL_SLONG_TYPE): New macro.
80546         (__SYSCALL_ULONG_TYPE): Likewise.
80548 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80550         * bits/types.h (__syscall_slong_t): New type.
80551         (__syscall_ulong_t): Likewise.
80553         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
80554         (__SYSCALL_ULONG_TYPE): Likewise.
80555         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80556         (__SYSCALL_SLONG_TYPE): Likewise.
80557         (__SYSCALL_ULONG_TYPE): Likewise.
80558         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80559         (__SYSCALL_SLONG_TYPE): Likewise.
80560         (__SYSCALL_ULONG_TYPE): Likewise.
80561         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80562         (__SYSCALL_SLONG_TYPE): Likewise.
80563         (__SYSCALL_ULONG_TYPE): Likewise.
80565 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80567         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
80568         Add sigaltstack-offsets.sym.
80569         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
80570         <sigaltstack-offsets.h>.
80571         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
80572         longjmp_msg pointer.
80573         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
80574         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
80575         signal stack.
80576         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
80578 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80580         * elf/stackguard-macros.h: Remove file.
80581         * sysdeps/generic/stackguard-macros.h: New file.
80582         * sysdeps/i386/stackguard-macros.h: Likewise.
80583         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
80584         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
80585         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
80586         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
80587         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
80588         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
80589         * sysdeps/x86_64/stackguard-macros.h: Likewise.
80590         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
80591         <elf/stackguard-macros.h>.
80593         [BZ #14109]
80594         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
80595         __aligned__ in attribute.
80596         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
80597         (gregset_t): Likewise.
80599 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80601         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
80602         * sysdeps/x86_64/64/Implies-after: Here.  New file.
80603         * sysdeps/x86_64/x32/Implies-after: New file.
80605 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80607         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
80608         and access return value for _dl_profile_fixup.  Use R10_LP to
80609         load frame size.
80611 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80613         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
80615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80617         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
80618         * sysdeps/x86_64/x32/sysdep.h: New file.
80620 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80622         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
80623         * sysdeps/x86_64/setjmp.S: Likewise.
80625 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80627         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
80628         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
80629         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
80630         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
80631         remove unused global constant.
80633 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
80635         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
80636         include of <not-cancel.h>.
80638 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80640         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
80642 2012-05-15  Jeff Law  <law@redhat.com>
80643             Andreas Jaeger  <aj@suse.de>
80645         [BZ #13594]
80646         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
80647         out from...
80648         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
80649         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
80650         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
80651         code changing __hst_map_handle.map.
80653 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80655         * configure.in (sysnames): Look for Implies-before and Implies-after
80656         files.
80657         * configure: Regenerated.
80659 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80661         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
80662         8-byte data alignment with LP_SIZE alignment.
80664 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80666         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
80667         into R10_LP.
80669 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80671         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
80673 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80675         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
80676         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
80677         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
80678         Likewise.
80679         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
80681 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80683         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
80684         (stackinfo_sub_sp): Likewise.
80686 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80688         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
80689         RAX_LP.
80691 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80693         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
80694         into R*_LP.
80696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80698         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
80699         sizes into R*_LP.
80701 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80703         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
80705 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80707         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
80708         into R11_LP and load __x86_64_shared_cache_size_half into
80709         R8_LP.
80711 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80713         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
80714         R8_LP.
80716 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80718         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
80719         logb for POWER7.
80720         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
80721         logbf for POWER7.
80722         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
80723         logbl for POWER7.
80724         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
80725         powerpc32/power7/fpu/s_logb.c via #include.
80726         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
80727         powerpc32/power7/fpu/s_logbf.c via #include.
80728         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
80729         powerpc32/power7/fpu/s_logbl.c via #include.
80731 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80733         * README.libm: Remove file.
80735 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80737         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
80738         count for x32.  Use R*_LP and omit operand-size suffix.
80740 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80742         * shlib-versions: Move x86_64-.*-linux.* entries to ...
80743         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
80744         * sysdeps/x86_64/x32/shlib-versions: New file.
80746 2012-05-14  Roland McGrath  <roland@hack.frob.com>
80748         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
80749         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
80750         Use _dl_fatal_printf instead.
80752 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80754         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
80755         set if not set by the user.  Do not allow for being unset.
80756         * sysdeps/unix/sysv/linux/configure: Regenerated.
80758 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80760         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
80761         the `q' suffix from lea and replace .quad with ASM_ADDR.
80763 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80765         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
80766         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
80767         instead of $17.
80768         (PTR_DEMANGLE): Likewise.
80770 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80772         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
80773         (LP_OP): Likewise.
80774         (ASM_ADDR): Likewise.
80775         (RAX_LP): Likewise.
80776         (RBP_LP): Likewise.
80777         (RBX_LP): Likewise.
80778         (RCX_LP): Likewise.
80779         (RDI_LP): Likewise.
80780         (RSI_LP): Likewise.
80781         (RSP_LP): Likewise.
80782         (R8_LP): Likewise.
80783         (R9_LP): Likewise.
80784         (R10_LP): Likewise.
80785         (R10_LP): Likewise.
80786         (R11_LP): Likewise.
80787         (R12_LP): Likewise.
80788         (R13_LP): Likewise.
80789         (R14_LP): Likewise.
80790         (R15_LP): Likewise.
80792 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80794         * sysdeps/x86_64/x32/dl-machine.h: New file.
80796 2012-05-14  Andreas Jaeger  <aj@suse.de>
80798         * manual/Makefile (subdir): Remove export of subdir.
80799         (all): Remove target.
80800         (.PHONY): Remove all from list.
80801         (mkinstalldirs): Remove.
80802         (.PHONY): Remove installdirs from list.
80803         ($(inst_infodir)/libc.info): Use make-target-directory.
80804         (installdirs): Remove.
80805         (subdir_%): Remove.
80806         (glibc-targets): Remove.
80807         (lib): Remove.
80808         (stubs): Remove.
80809         ($(objpfx)stubs ../po/manual.pot): Remove.
80810         ($(objpfx)stamp%): Remove.
80811         (make-target-directory): Remove.
80812         (subdir_install): Remove.
80813         (routines): Remove.
80814         (aux): Remove.
80815         (sources): Remove.
80816         (objects): Remove.
80817         (headers): Remove.
80819         [BZ #13750]
80820         * manual/.gitignore: Remove, it's not needed anymore.
80821         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
80822         all files in it.
80823         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
80824         directory.
80825         (texis): Renamed to $(objpfx)texis.
80826         (texis-path): New, contains path to generated files.
80827         (chapters.%): Use texis-path for complete path, add extra argument
80828         libc-texinfo.sh.
80829         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
80830         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
80831         (summary,texi, stamp-summary): Use complete path of
80832         files. Generate files in build dir.
80833         (dir-add.texi): Build in build dir.
80834         (libm-err.texi,stamp-libm-err): Likewise.
80835         (version.texi, stamp-version): Likewise.
80836         (.%c.texi): Likewise.
80837         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
80838         (mostlyclean): Remove target.
80839         (realclean): Remove target.
80840         (generated): Add new variable with contents from mostlyclean and
80841         realclean, remove entries duplicated in common-mostlyclean, add
80842         stamp-libm-err and stamp-version.
80843         (generated-dirs): Add libc directory.
80844         ($(inst_infodir)/libc.info): Install files from build dir.
80846         * manual/install.texi (Configuring and compiling): Adjust since
80847         the info files are not part of the tar ball anymore.
80849 2012-05-14  Andreas Jaeger  <aj@suse.de>
80851         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
80852         variable.
80854 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80856         [BZ #13717]
80857         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80858         to 2.2.0 where earlier.
80859         * sysdeps/unix/sysv/linux/configure: Regenerated.
80860         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
80861         Remove conditional code.
80862         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
80863         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
80864         Remove conditional code.
80865         [!__NR_lchown]: Likewise.
80866         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80867         [__NR_lchown]: Likewise.
80868         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
80869         comment referencing __ASSUME_LCHOWN_SYSCALL.
80870         * sysdeps/unix/sysv/linux/i386/sigaction.c
80871         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80872         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80873         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
80874         Remove conditional code.
80875         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
80876         (__protocol_available): Remove #if 0 code.
80877         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
80878         conditional code.
80879         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
80880         * sysdeps/unix/sysv/linux/kernel-features.h
80881         (__ASSUME_GETCWD_SYSCALL): Don't define.
80882         (__ASSUME_REALTIME_SIGNALS): Likewise.
80883         (__ASSUME_PREAD_SYSCALL): Likewise.
80884         (__ASSUME_PWRITE_SYSCALL): Likewise.
80885         (__ASSUME_POLL_SYSCALL): Likewise.
80886         (__ASSUME_LCHOWN_SYSCALL): Likewise.
80887         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
80888         non-SPARC.
80889         (__ASSUME_SIOCGIFNAME): Don't define.
80890         (__ASSUME_MSG_NOSIGNAL): Likewise.
80891         (__ASSUME_SENDFILE): Define unconditionally.
80892         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
80893         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
80894         conditional code.
80895         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
80896         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
80897         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80898         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80899         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
80900         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80901         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
80903         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80904         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
80906         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80907         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
80909         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80910         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
80912         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80913         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
80915         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80916         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
80918         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80919         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
80921         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80922         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
80924         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80925         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80926         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
80927         Remove conditional code.
80928         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80929         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80930         Remove conditional code.
80931         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80932         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
80933         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
80934         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80935         Remove conditional code.
80936         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80937         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
80938         Remove conditional code.
80939         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80940         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
80941         Remove conditional code.
80942         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80943         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80944         Remove conditional code.
80945         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80946         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80947         Remove conditional code.
80948         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80949         * sysdeps/unix/sysv/linux/sh/pwrite64.c
80950         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80951         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80952         * sysdeps/unix/sysv/linux/sigaction.c
80953         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80954         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80955         * sysdeps/unix/sysv/linux/sigpending.c
80956         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80957         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80958         * sysdeps/unix/sysv/linux/sigprocmask.c
80959         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80960         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80961         * sysdeps/unix/sysv/linux/sigsuspend.c
80962         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80963         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80964         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80965         (__libc_missing_rt_sigs): Remove.
80966         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
80967         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
80968         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
80969         Remove conditional code.
80970         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
80971         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
80972         return 1.
80973         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
80974         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
80975         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
80976         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
80978 2012-05-14  Andreas Jaeger  <aj@suse.de>
80980         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
80981         it's not used in glibc.
80982         (__coshm1): Likewise.
80983         (__acosh1p): Likewise.
80984         (__sgn): Likewise.
80986         * manual/string.texi (Copying and Concatenation): Add missing
80987         variable in concat example.
80988         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
80990 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80992         [BZ #14103]
80993         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
80994         __builtin_clzl with __builtin_clzll.
80996 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80998         [BZ #14104]
80999         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
81000         libc_freeres_ptr.
81002 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81004         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
81005         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
81006         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
81007         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
81009 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
81011         * NEWS: Update ia64 info.
81013 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
81015         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
81016         used as bcopy.
81018 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
81020         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
81021         * sysdeps/unix/syscalls.list (dup3): Likewise.
81022         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
81023         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
81025 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81027         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
81028         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
81030 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81032         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
81033         thread pointer.
81034         (TLS_IE): Use mov/add instead of movq/addq to load thread
81035         pointer.
81036         (TLS_GD_PREFIX): New.
81037         (TLS_GD): Use it.
81039 2012-05-11  David S. Miller  <davem@davemloft.net>
81041         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
81042         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
81043         (_FPU_SETCW): Likewise.
81045 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81047         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
81048         is 32-byte aligned.
81050 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
81052         [BZ #11837]
81053         * iconvdata/gb18030.c: Update tables.
81054         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
81055         characters specially.
81056         (BODY for TO_LOOP): Add encoding of missing ranges.
81058 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
81060         [BZ #13673]
81061         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
81062         * sysdeps/mach/hurd/dup3.c: Likewise.
81063         * sysdeps/mach/hurd/readlinkat.c: Likewise.
81064         * sysdeps/powerpc/memmove.c:: Likewise.
81066 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81068         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
81069         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
81071 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81073         * elf/elf.h (R_X86_64_RELATIVE64): New.
81074         (R_X86_64_NUM): Updated.
81075         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
81076         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
81077         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
81078         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
81079         tst-quad1pie tst-quad2pie
81080         (modules-names): Add tst-quadmod1 tst-quadmod2.
81081         ($(objpfx)tst-quad1): New dependency.
81082         ($(objpfx)tst-quad2): Likewise.
81083         ($(objpfx)tst-quad1pie): Likewise.
81084         ($(objpfx)tst-quad2pie): Likewise.
81085         * sysdeps/x86_64/tst-quad1.c: New file.
81086         * sysdeps/x86_64/tst-quad1pie.c: New file.
81087         * sysdeps/x86_64/tst-quad2.c: Likewise.
81088         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
81089         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
81090         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
81091         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
81092         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
81094 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81096         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
81097         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
81098         * streams/stropts.h (t_scalar_t): Define type.
81100         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
81101         (_PATH_PRESERVE): Set to "/var/lib".
81102         (_PATH_RWHODIR): Set to "/var/spool/rwho".
81104         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
81105         instead of int.
81107         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
81108         if __dir_mkfile succeeded.
81110         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
81111         checking for _hurd_dtablesize.  Unlock it right after having
81112         finished _hurd_dtable allocation.
81114 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81116         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
81117         * sysdeps/mach/hurd/configure: Regenerated.
81118         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
81119         special-casing to...
81120         * sysdeps/gnu/configure.in: ... this new file.
81121         * sysdeps/unix/sysv/linux/configure: Regenerated.
81122         * sysdeps/gnu/configure: New generated file.
81124         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
81125         for Linux: use nsec instead of usec, as well as:
81126         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
81127         members of type struct timespec.
81128         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
81129         New macros.
81130         (struct stat64): Likewise.
81131         (_STATBUF_ST_NSEC): New macro.
81132         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
81134         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
81135         __strtoul_internal rather than strtoul.
81137 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81139         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
81140         and reject them.
81142 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81144         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
81145         which preserves existing values.
81146         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
81148 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81150         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
81151         TIMEOUT values.  Return EINVAL for NFDS values either negative or
81152         greater than FD_SETSIZE.
81154 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81156         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
81157         allocated, call __vm_protect to finish enabling the existing space, and
81158         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
81159         allocate the remainder.
81161 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81163         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
81164         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
81166 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81168         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
81169         sysdeps/mach/hurd/readlink.c.
81171         * posix/tst-sysconf.c (posix_options): Only use
81172         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
81173         _POSIX_SYNCHRONIZED_IO when they are defined
81174         * sysdeps/mach/hurd/bits/posix_opt.h:
81175         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
81176         (_XOPEN_REALTIME): Undefine macro.
81177         (_XOPEN_REALTIME_THREADS): Undefine macro.
81178         (_XOPEN_SHM): Undefine macro.
81179         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
81180         macro to -1.
81181         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
81182         macro to -1.
81183         (_POSIX_ASYNC_IO): Undefine macro.
81184         (_POSIX_PRIORITIZED_IO): Undefine macro.
81185         (_POSIX_SPIN_LOCKS): Define macro to -1.
81187         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
81188         SA_NODEFER, SA_RESETHAND.
81189         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
81190         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
81191         F_DUPFD_CLOEXEC.
81193 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81195         * elf/Makefile (pldd-modules): Define unconditionally.
81197 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81199         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
81201 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81203         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
81204         Return ENOENT when name is empty.
81205         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
81207 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81209         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
81211         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
81213 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81215         Fix mlock in all cases except non-readable pages.
81216         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
81217         instead of VM_PROT_ALL as parameter to __vm_wire function.
81219         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
81220         (__mkdir): When path is `/', just fail with EEXIST.
81221         * sysdeps/mach/hurd/mkdirat.c: Likewise.
81223 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81225         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
81226         <sys/uio.h> (for writev).
81227         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
81228         and <sys/param.h> (for MIN).
81230 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81232         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
81233         REQUESTED_TIME.  Properly set the remaining time and return EINTR
81234         if interrupted.
81236 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81238         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
81239         Depend on against $(link-rpcuserlibs).
81241 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81243         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
81244         (__libc_stack_end): Do not use attribute_relro.
81245         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
81246         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
81247         to libthread-provided value.
81248         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
81249         attribute_relro.
81251 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81253         [BZ #3748]
81254         * bits/libc-lock.h (__libc_once_get): New macro.
81255         * sysdeps/mach/bits/libc-lock.h: Likewise.
81256         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
81257         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
81258         instead of using implementation details.
81260         * libio/fileops.c: Unconditionally include <kernel-features.h>.
81261         * libio/freopen.c: Likewise.
81262         * libio/freopen64.c: Likewise.
81263         * misc/syslog.c: Likewise.
81264         * nscd/connections.c: Likewise.
81265         * nscd/netgroupcache.c: Likewise.
81266         * sysdeps/posix/getcwd.c: Likewise.
81268 2012-05-10  Roland McGrath  <roland@hack.frob.com>
81270         * math/w_ilogbf.c: Add #include <limits.h>.
81272 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81274         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
81275         path instead of returning without unlocking.
81277         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
81278         immediate-write ioctls.
81279         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
81281 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81283         * sysdeps/mach/hurd/i386/init-first.c (init): Use
81284         __builtin_frame_address instead of making assumptions about the
81285         location of the return address relative to DATA.  Force early load of
81286         the return address.
81287         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
81288         __builtin_frame_address.
81290         dup3 for GNU Hurd.
81291         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
81292         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
81293         implement dup3 and do some further code clean-ups.
81294         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
81295         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
81297 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81299         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
81301         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
81302         HURD_CRITICAL_END around holding _hurd_dtable_lock.
81303         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
81304         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
81305         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
81306         d->port.lock.
81308         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
81309         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
81310         when handler == SIG_ERR, not when handler != SIG_ERR.
81312 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81314         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
81315         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
81316         definitions.
81318         accept4 for GNU Hurd.
81319         * include/sys/socket.h (__libc_accept4): New prototype.
81320         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
81321         to implement __libc_accept4.
81322         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
81323         __libc_accept4.
81324         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
81326         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
81327         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
81328         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
81329         signal-defines.sym.
81331 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81333         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
81335 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81337         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
81338         assertion on O_CLOEXEC flag.
81339         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
81340         * hurd/intern-fd.c: Likewise.
81341         * hurd/port2fd.c: Likewise.
81343 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81345         [BZ #3906]
81346         * bits/in.h (IPV6_PKTINFO): Define new macro.
81347         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
81349 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81351         [BZ #13954]
81352         [BZ #13955]
81353         [BZ #13956]
81354         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
81355         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
81356         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
81357         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
81358         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
81359         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
81360         * math/libm-test.inc (logb_test) : Additional logb tests.
81362 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
81363             Andreas Jaeger  <aj@suse.de>
81365         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
81366         * configure: Regenerated.
81367         * config.h.in (LINK_OBSOLETE_RPC): New macro.
81368         * config.make.in (link-obsolete-rpc): New substituted variable.
81369         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
81370         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
81371         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81372         (shared-only-routines): Don't set it under [link-obsolete-rpc],
81373         so that libc.a contains the symbols.
81374         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81375         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
81376         * sunrpc/auth_none.c: Likewise.
81377         * sunrpc/auth_unix.c: Likewise.
81378         * sunrpc/authdes_prot.c: Likewise.
81379         * sunrpc/authuxprot.c: Likewise.
81380         * sunrpc/clnt_gen.c: Likewise.
81381         * sunrpc/clnt_perr.c: Likewise.
81382         * sunrpc/clnt_raw.c: Likewise.
81383         * sunrpc/clnt_simp.c: Likewise.
81384         * sunrpc/clnt_tcp.c: Likewise.
81385         * sunrpc/clnt_udp.c: Likewise.
81386         * sunrpc/clnt_unix.c: Likewise.
81387         * sunrpc/des_crypt.c: Likewise.
81388         * sunrpc/des_soft.c: Likewise.
81389         * sunrpc/get_myaddr.c: Likewise.
81390         * sunrpc/key_call.c: Likewise.
81391         * sunrpc/key_prot.c: Likewise.
81392         * sunrpc/netname.c: Likewise.
81393         * sunrpc/pm_getmaps.c: Likewise.
81394         * sunrpc/pm_getport.c: Likewise.
81395         * sunrpc/pmap_clnt.c: Likewise.
81396         * sunrpc/pmap_prot.c: Likewise.
81397         * sunrpc/pmap_prot2.c: Likewise.
81398         * sunrpc/pmap_rmt.c: Likewise.
81399         * sunrpc/publickey.c: Likewise.
81400         * sunrpc/rpc_cmsg.c: Likewise.
81401         * sunrpc/rpc_common.c: Likewise.
81402         * sunrpc/rpc_dtable.c: Likewise.
81403         * sunrpc/rpc_prot.c: Likewise.
81404         * sunrpc/rpc_thread.c: Likewise.
81405         * sunrpc/rtime.c: Likewise.
81406         * sunrpc/svc.c: Likewise.
81407         * sunrpc/svc_auth.c: Likewise.
81408         * sunrpc/svc_raw.c: Likewise.
81409         * sunrpc/svc_run.c: Likewise.
81410         * sunrpc/svc_tcp.c: Likewise.
81411         * sunrpc/svc_udp.c: Likewise.
81412         * sunrpc/svc_unix.c: Likewise.
81413         * sunrpc/svcauth_des.c: Likewise.
81414         * sunrpc/xcrypt.c: Likewise.
81415         * sunrpc/xdr.c: Likewise.
81416         * sunrpc/xdr_array.c: Likewise.
81417         * sunrpc/xdr_float.c: Likewise.
81418         * sunrpc/xdr_intXX_t.c: Likewise.
81419         * sunrpc/xdr_mem.c: Likewise.
81420         * sunrpc/xdr_rec.c: Likewise.
81421         * sunrpc/xdr_ref.c: Likewise.
81422         * sunrpc/xdr_sizeof.c: Likewise.
81423         * sunrpc/xdr_stdio.c: Likewise.
81425 2012-05-10  Roland McGrath  <roland@hack.frob.com>
81427         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
81428         change.  Update copyright years.
81430 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
81432         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
81434 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
81435             Joseph Myers  <joseph@codesourcery.com>
81436             Paul Pluzhnikov  <ppluzhnikov@google.com>
81438         [BZ #14012]
81439         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
81440         requiring rpcgen.
81441         [cross-compiling] (extra-libs): Likewise.
81442         [cross-compiling] (extra-libs-others): Likewise.
81443         [cross-compiling] (librpcsvc-routines): Likewise.
81444         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
81445         [cross-compiling] (omit-deps): Likewise.
81446         (sunrpc-CPPFLAGS): New variable.
81447         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
81448         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
81449         (cross-rpcgen-objs): New variable.
81450         (extra-objs): Append $(cross-rpcgen-objs).
81451         ($(cross-rpcgen-objs)): New rule.
81452         ($(objpfx)cross-rpcgen): Likewise.
81453         (rpcgen-cmd): Define to use $(built-program-file).  Expand
81454         comment.
81455         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
81456         ($(objpfx)x%.stmp): Likewise.
81457         * sunrpc/proto.h [IS_IN_build] (_): Define.
81458         [IS_IN_build] (_libc_intl_domainname): Likewise.
81460 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81462         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
81463         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
81464         and R_X86_64_TPOFF64.
81466 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
81468         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
81469         sysdeps/unix/sysv/syscalls.list.
81470         (stime): Likewise.
81471         (utime): Likewise.
81472         * sysdeps/unix/sysv/syscalls.list: Remove file.
81474 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
81476         [BZ #3440]
81477         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
81478         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
81479         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
81480         (__LC_IDENTIFICATION): Make these macros useful in #if
81481         expressions, as required by C99.
81483 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
81485         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
81486         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
81487         after this.
81489 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
81491         * stdlib/longlong.h: Updated from GCC.
81493 2012-05-09  Andreas Jaeger  <aj@suse.de>
81495         * nscd/nscd.c (run_modes): Make named enum, reorder so that
81496         default is first entry.
81497         (run_mode): Set type.
81498         (main): Remove informal message about syslog.
81499         (options): Fix typo.
81501         [BZ #14053]
81502         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
81503         to asm.
81504         (lrint): Likewise.
81505         (llrintf): Likewise.
81506         (llrint): Likewise.
81507         (rint): Likewise.
81508         (rintf): Likewise.
81509         (nearbyint): Likewise.
81510         (nearbyintf): Likewise.
81512 2012-05-09  Andreas Jaeger  <aj@suse.de>
81513             Pedro Alves  <palves@redhat.com>
81515         * nscd/nscd.c (run_mode): Use enum.
81516         (main): Cleanup coding style issue.
81518 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
81519             Andreas Jaeger  <aj@suse.de>
81521         * nscd/nscd.c (go_background): Replaced with...
81522         (run_mode): ... this.
81523         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
81524         (options): Add -F --foreground.
81525         (main): Implement it.
81526         (parse_opt): Parse it.
81528 2012-05-09  Andreas Jaeger  <aj@suse.de>
81530         [BZ #14083]
81531         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
81532         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
81533         -Wconversion warning.
81534         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
81535         Likewise.
81537 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
81539         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
81540         == 0.
81541         (LC_ALL): Use macro-int-constant.
81542         (LC_COLLATE): Likewise.
81543         (LC_CTYPE): Likewise.
81544         (LC_MESSAGES): Likewise.
81545         (LC_MONETARY): Likewise.
81546         (LC_NUMERIC): Likewise.
81547         (LC_TIME): Likewise.
81548         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
81549         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81550         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81551         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
81552         Specify type.
81553         [C99-based standards] (float_t): Expect type.
81554         [C99-based standards] (double_t): Expect type.
81555         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
81556         type.
81557         [C99-based standards] (HUGE_VALL): Likewise.
81558         [C99-based standards] (INFINITY): Likewise.
81559         [C99-based standards] (NAN): Likewise.
81560         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
81561         [C99-based standards] (FP_NAN): Likewise.
81562         [C99-based standards] (FP_NORMAL): Likewise.
81563         [C99-based standards] (FP_SUBNORMAL): Likewise.
81564         [C99-based standards] (FP_ZERO): Likewise.
81565         [C99-based standards] (FP_FAST_FMA): Use
81566         optional-macro-int-constant.  Specify type.  Require == 1.
81567         [C99-based standards] (FP_FAST_FMAF): Likewise.
81568         [C99-based standards] (FP_FAST_FMAL): Likewise.
81569         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
81570         [C99-based standards] (FP_ILOGBNAN): Likewise.
81571         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
81572         Specify type.
81573         [C99-based standards] (MATH_ERREXCEPT): Likewise.
81574         [C99-based standards] (math_errhandling): Specify type.
81575         [ISO99 || ISO11] (signgam): Do not allow.
81576         [non-C99-based standards] (copysignf): Do not allow.
81577         [non-C99-based standards] (exp2f): Likewise.
81578         [non-C99-based standards] (log2f): Likewise.
81579         [non-C99-based standards] (modff): Allow.
81580         [non-C99-based standards] (erff): Do not allow.
81581         [non-C99-based standards] (erfcf): Likewise.
81582         [non-C99-based standards] (gammaf): Likewise.
81583         [non-C99-based standards] (hypotf): Likewise.
81584         [non-C99-based standards] (j0f): Likewise.
81585         [non-C99-based standards] (j1f): Likewise.
81586         [non-C99-based standards] (jnf): Likewise.
81587         [non-C99-based standards] (lgammaf): Likewise.
81588         [non-C99-based standards] (tgammaf): Likewise.
81589         [non-C99-based standards] (y0f): Likewise.
81590         [non-C99-based standards] (y1f): Likewise.
81591         [non-C99-based standards] (ynf): Likewise.
81592         [non-C99-based standards] (isnanf): Likewise.
81593         [non-C99-based standards] (acoshf): Likewise.
81594         [non-C99-based standards] (asinhf): Likewise.
81595         [non-C99-based standards] (atanhf): Likewise.
81596         [non-C99-based standards] (cbrtf): Likewise.
81597         [non-C99-based standards] (expm1f): Likewise.
81598         [non-C99-based standards] (ilogbf): Likewise.
81599         [non-C99-based standards] (log1pf): Likewise.
81600         [non-C99-based standards] (logbf): Likewise.
81601         [non-C99-based standards] (nextafterf): Likewise.
81602         [non-C99-based standards] (remainderf): Likewise.
81603         [non-C99-based standards] (rintf): Likewise.
81604         [non-C99-based standards] (scalbf): Likewise.
81605         [non-C99-based standards] (copysignl): Likewise.
81606         [non-C99-based standards] (exp2l): Likewise.
81607         [non-C99-based standards] (log2l): Likewise.
81608         [non-C99-based standards] (modfl): Allow.
81609         [non-C99-based standards] (erfl): Do not allow.
81610         [non-C99-based standards] (erfcl): Likewise.
81611         [non-C99-based standards] (gammal): Likewise.
81612         [non-C99-based standards] (hypotl): Likewise.
81613         [non-C99-based standards] (j0l): Likewise.
81614         [non-C99-based standards] (j1l): Likewise.
81615         [non-C99-based standards] (jnl): Likewise.
81616         [non-C99-based standards] (lgammal): Likewise.
81617         [non-C99-based standards] (tgammal): Likewise.
81618         [non-C99-based standards] (y0l): Likewise.
81619         [non-C99-based standards] (y1l): Likewise.
81620         [non-C99-based standards] (ynl): Likewise.
81621         [non-C99-based standards] (isnanl): Likewise.
81622         [non-C99-based standards] (acoshl): Likewise.
81623         [non-C99-based standards] (asinhl): Likewise.
81624         [non-C99-based standards] (atanhl): Likewise.
81625         [non-C99-based standards] (cbrtl): Likewise.
81626         [non-C99-based standards] (expm1l): Likewise.
81627         [non-C99-based standards] (ilogbl): Likewise.
81628         [non-C99-based standards] (log1pl): Likewise.
81629         [non-C99-based standards] (logbl): Likewise.
81630         [non-C99-based standards] (nextafterl): Likewise.
81631         [non-C99-based standards] (remainderl): Likewise.
81632         [non-C99-based standards] (rintl): Likewise.
81633         [non-C99-based standards] (scalbl): Likewise.
81634         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81635         [non-C99-based standards] (FP_*): Do not allow.
81636         [C99-based standards] (FP_*): Change to
81637         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81638         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81639         allow.
81640         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
81641         (SIG_ERR): Likewise.
81642         [X/Open-based standards] (SIG_HOLD): Likewise.
81643         (SIG_IGN): Likewise.
81644         (SIGABRT): Use macro-int-constant.  Specify type.  Require
81645         positive value.
81646         (SIGFPE): Likewise.
81647         (SIGILL): Likewise.
81648         (SIGINT): Likewise.
81649         (SIGSEGV): Likewise.
81650         (SIGTER): Likewise.
81651         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
81652         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
81653         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
81654         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
81655         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
81656         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
81657         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
81658         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
81659         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
81660         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
81661         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
81662         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
81663         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
81664         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
81665         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
81666         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
81667         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
81668         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
81669         [X/Open-based standards] (SIGTRAP): Likewise.
81670         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
81671         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
81672         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
81673         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
81674         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81675         allow.
81677 2012-05-08  Ian Wienand  <ianw@vmware.com>
81679         [BZ #14080]
81680         * time/tzset.c (__tzset_parse_tz): Update default rules for
81681         daylight time changes in the Energy Policy Act of 2005.
81683 2012-05-09  Andreas Jaeger  <aj@suse.de>
81685         [BZ #13983]
81686         * elf/ldconfig.c (parse_conf): Change string to make clear that
81687         ldconfig only issued a warning if ld.so.conf does not exist.
81689 2012-05-08  David S. Miller  <davem@davemloft.net>
81691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
81692         movxtod instead of popping the value on the stack.
81694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81696 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
81698         * config.h.in: Add HAVE_ARM_PCS_VFP.
81700 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
81702         [BZ #13979]
81703         * include/features.h: Warn if user requests __FORTIFY_SOURCE
81704         checking but the checks are disabled for any reason.
81706 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
81708         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
81709         and ELF64_R_TYPE with ELFW(R_TYPE).
81711 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
81713         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
81714         (ulimit): Likewise.
81716         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
81717         (settimeofday): Likewise.
81719 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
81721         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
81722         a struct th_u2 inside the union, and move tu_block/tu_code into
81723         a new th_u3 union of tu_block/tu_code inside of that.  Move
81724         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
81725         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
81726         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
81727         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
81728         (th_stuff): Change to th_u1.tu_stuff.
81729         (th_data): Define.
81730         (th_msg): Change to th_u1.th_u2.tu_data.
81732 2012-05-07  David S. Miller  <davem@davemloft.net>
81734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81736         [BZ #14074]
81737         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
81738         (SETUP_PIC_REG): Use it.
81739         (SETUP_PIC_REG_LEAF): Use it.
81741 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
81743         [BZ #13885]
81744         [BZ #13923]
81745         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81746         USE_AS_EXPM1L.
81747         (EXPL_FINITE): Likewise.
81748         (FLDLOG): Likewise.
81749         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81750         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81751         e_expl.S.
81752         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81753         USE_AS_EXPM1L.
81754         (EXPL_FINITE): Likewise.
81755         (FLDLOG): Likewise.
81756         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81757         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81758         e_expl.S.
81759         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
81760         test of -max_value argument for long double.
81761         * sysdeps/i386/fpu/libm-test-ulps: Update.
81762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81764 2012-05-06  David S. Miller  <davem@davemloft.net>
81766         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
81767         quad soft-float symbols whose references which are compiler
81768         generated.
81769         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81771 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
81773         [BZ #13884]
81774         [BZ #13914]
81775         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81776         USE_AS_EXP10L.
81777         (EXPL_FINITE): Likewise.
81778         (FLDLOG): Likewise.
81779         (c0): Likewise.
81780         (c1): Likewise.
81781         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81782         Adjust comments for base varying.
81783         (__expl_finite): Change alias to EXPL_FINITE.
81784         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
81785         e_expl.S.
81786         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
81787         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
81788         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
81789         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
81790         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81791         USE_AS_EXP10L.
81792         (EXPL_FINITE): Likewise.
81793         (FLDLOG): Likewise.
81794         (c0): Likewise.
81795         (c1): Likewise.
81796         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81797         Adjust comments for base varying.
81798         (__expl_finite): Change alias to EXPL_FINITE.
81799         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
81800         tests for bugs.
81801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81803         [BZ #14064]
81804         * math/libm-test.inc (check_float_internal): Correct ulp
81805         calculation for subnormal expected results.
81807 2012-05-06  Andreas Jaeger  <aj@suse.de>
81809         * Makeconfig (+math-flags): New, set to -frounding-math.
81810         (+cflags): Add +math-flags so that all of glibc gets compiled with
81811         it.
81813         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
81815 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
81817         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
81818         Disable one test.
81820         [BZ #13787]
81821         [BZ #13922]
81822         [BZ #14036]
81823         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
81824         (__ieee754_expl): Allow for and saturate large arguments.
81825         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
81826         (u_threshold): Likewise.
81827         (__exp): Call __ieee754_exp before checking for overflow and
81828         underflow.
81829         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
81830         (u_threshold): Likewise.
81831         (__expf): Call __ieee754_expf before checking for overflow and
81832         underflow.
81833         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
81834         (u_threshold): Likewise.
81835         (__expl): Call __ieee754_expl before checking for overflow and
81836         underflow.
81837         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
81838         (__ieee754_expl): Allow for and saturate large arguments.
81839         * math/libm-test.inc (exp_test): Add another test.  Do not allow
81840         missing overflow exception on overflow.
81841         (expm1_test): Do not allow missing overflow exception on overflow.
81843         * sysdeps/i386/fpu/e_expl.c: Move to ...
81844         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
81845         rather than using inline asm.
81846         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
81847         * sysdeps/x86_64/fpu/e_expl.S: Copy from
81848         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
81850         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
81851         (nice): Likewise.
81852         (poll): Likewise.
81853         (signal): Likewise.
81854         (time): Likewise.
81855         (times): Likewise.
81857 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81859         * sysdeps/unix/syscalls.list (adjtime): Add entry from
81860         sysdeps/unix/common/syscalls.list.
81861         (fchmod): Likewise.
81862         (fchown): Likewise.
81863         (ftruncate): Likewise.
81864         (getrusage): Likewise.
81865         (gettimeofday): Likewise.
81866         (setpgid): Likewise.
81867         (setregid): Likewise.
81868         (setreuid): Likewise.
81869         (sigaction): Likewise.
81870         (truncate): Likewise.
81871         (vhangup): Likewise.
81872         * sysdeps/unix/common/syscalls.list: Remove file.
81873         * sysdeps/unix/bsd/Implies: Don't include unix/common.
81874         * sysdeps/unix/sysv/linux/Implies: Likewise.
81876 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
81878         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
81879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
81880         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
81881         Moved to ...
81882         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
81883         Here.
81884         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
81885         to ...
81886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
81887         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
81888         to ...
81889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
81890         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
81891         to ...
81892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
81893         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
81894         to ...
81895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
81896         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
81897         to ...
81898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
81899         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
81900         to ...
81901         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
81902         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
81903         to ...
81904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
81905         Here.
81906         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
81907         to ...
81908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
81909         Here.
81910         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
81911         to ...
81912         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
81913         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
81914         Moved to ...
81915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
81916         Here.
81917         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
81918         to ...
81919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
81921 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81923         * sysdeps/unix/common/bits/dirent.h: Remove file.
81924         * sysdeps/unix/common/bits/fcntl.h: Likewise.
81926         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
81927         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
81928         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
81929         * sysdeps/unix/bsd/isatty.c: Likewise.
81930         * sysdeps/unix/bsd/tcdrain.c: Likewise.
81931         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
81932         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
81934 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81936         [BZ #13563]
81937         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
81938         long double comparison inaccuracies.
81939         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
81940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81942 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
81944         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
81945         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
81947 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81949         [BZ #14049]
81950         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
81951         nonzero digits before rounding a hex value.
81952         * stdlib/tst-strtod.c (tests): Add another test.
81954 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81956         * sysdeps/s390/fpu/libm-test-ulps: Update.
81958 2012-05-03  Andreas Jaeger  <aj@suse.de>
81960         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
81961         does not get optimized out.
81962         (malloc_opt_barrier): New.
81964 2012-05-03  Andreas Jaeger  <aj@suse.de>
81965             Roland McGrath  <roland@hack.frob.com>
81967         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
81968         intermediate file deletion.
81969         (generated): Add .symlist files.
81971 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
81973         [BZ #13775]
81974         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
81975         Redirect under this condition.
81976         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81977         [__USE_GNU] (__dprintf_chk): Not under this condition.
81978         [__USE_GNU] (__vdprintf_chk): Likewise.
81979         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
81980         under this condition.
81981         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81982         [__USE_XOPEN2K8] (dprintf): Define under this condition.
81983         [__USE_XOPEN2K8] (vdprintf): Likewise.
81984         [__USE_GNU] (__dprintf_chk): Not under this condition.
81985         [__USE_GNU] (__vdprintf_chk): Likewise.
81986         [__USE_GNU] (dprintf): Likewise.
81987         [__USE_GNU] (vdprintf): Likewise.
81989 2012-05-03  Roland McGrath  <roland@hack.frob.com>
81991         * elf/Makefile (common-generated): Set this instead of generated for
81992         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
81993         $(all-built-dso)-derived lists.
81995 2012-05-03  Andreas Jaeger  <aj@suse.de>
81997         * sysdeps/i386/fpu/libm-test-ulps: Update.
81999         * FAQ: Removed.
82000         * FAQ.in: Likewise.
82001         * scripts/gen-FAQ.pl: Likewise.
82002         * manual/install.texi (Installation): Point to online location of
82003         FAQ.
82004         * Makefile (files-for-dist): Remove FAQ.
82005         (FAQ): Remove.
82007 2012-05-02  Allan McRae  <allan@archlinux.org>
82009         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
82010         (LDFLAGS-reldepmod5.so): Likewise.
82011         (LDFLAGS-reldep6mod1.so): Likewise.
82012         (LDFLAGS-reldep6mod4.so): Likewise.
82013         (LDFLAGS-reldep8mod3.so): Likewise.
82014         (LDFLAGS-unload4mod1.so): Likewise.
82015         (LDFLAGS-unload4mod2.so): Likewise.
82016         (LDFLAGS-tst-initorder): Likewise.
82017         (LDFLAGS-tst-initordera2.so): Likewise.
82018         (LDFLAGS-tst-initordera3.so): Likewise.
82019         (LDFLAGS-tst-initordera4.so): Likewise.
82020         (LDFLAGS-tst-initorderb2.so): Likewise.
82021         (LDFLAGS-noload): Likewise.
82022         (LDFLAGS-next): Likewise.
82023         (LDFLAGS-order2mod1.so): Likewise.
82024         (LDFLAGS-order2mod2.so): Likewise.
82025         (LDFLAGS-tst-initorder2): Likewise.
82026         (LDFLAGS-tst-initorder2a.so): Likewise.
82027         (LDFLAGS-tst-initorder2b.so): Likewise.
82028         (LDFLAGS-tst-initorder2c.so): Likewise.
82029         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
82031 2012-05-02  David S. Miller  <davem@davemloft.net>
82033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82035 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
82037         [BZ #14055]
82038         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
82040 2012-05-02  Andreas Jaeger  <aj@suse.de>
82042         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
82043         since we manipulate rounding mode.
82044         (CPPFLAGS-test-idouble.c): Likewise.
82045         (CPPFLAGS-test-ifloat.c): Likewise.
82046         (CFLAGS-test-ldouble.c): Likewise.
82047         (CFLAGS-test-double.c): Likewise.
82048         (CFLAGS-test-float.c): Likewise.
82049         (CFLAGS-test-misc.c): Likewise.
82050         (CFLAGS-test-test-fenv.c): Likewise.
82052 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82054         [BZ #2550]
82055         [BZ #2570]
82056         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
82057         comparisons to determine direction to adjust input.
82059 2012-05-01  Roland McGrath  <roland@hack.frob.com>
82061         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
82062         output to the target.
82064         * scripts/localplt.awk: New file.
82065         * elf/Makefile ($(objpfx)check-localplt): Target removed.
82066         (check-localplt-CFLAGS): Variable removed.
82067         ($(all-built-dso:=.jmprel)): New static pattern rule.
82068         (generated): Add those targets.
82069         (localplt-built-dso): New variable.
82070         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
82072         * elf/check-localplt.c: File removed.
82074         * scripts/check-execstack.awk: New file.
82075         * elf/Makefile ($(objpfx)check-execstack): Target removed.
82076         (check-execstack-CFLAGS): Variable removed.
82077         ($(objpfx)check-execstack.h): Target removed.
82078         ($(objpfx)execstack-default): New target.
82079         (generated): Add that instead of check-execstack.h.
82080         ($(all-built-dso:=.phdr)): New static pattern rule.
82081         (generated): Add those targets.
82082         * elf/check-execstack.c: File removed.
82084         * scripts/check-textrel.awk: New file.
82085         * elf/Makefile ($(objpfx)check-textrel): Target removed.
82086         (check-textrel-CFLAGS): Variable removed.
82087         (all-built-dso): Use := to define.o
82088         ($(all-built-dso:=.dyn)): New static pattern rule.
82089         (generated): Add those targets.
82090         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
82091         * config.make.in (READELF): New substituted variable.
82092         * elf/check-textrel.c: File removed.
82094 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
82096         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82097         allow.
82098         * conform/data/ctype.h-data [C99-based standards] (isblank):
82099         Expect function.
82100         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
82101         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
82102         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82103         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
82104         Specify type.  Require positive value.
82105         (EILSEQ): Likewise.
82106         (ERANGE): Likewise.
82107         [ISO || POSIX] (EILSEQ): Do not expect.
82108         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
82109         Specify type.  Require positive value.
82110         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
82111         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
82112         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
82113         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
82114         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
82115         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
82116         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
82117         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
82118         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
82119         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
82120         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
82121         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
82122         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
82123         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
82124         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
82125         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
82126         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
82127         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
82128         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
82129         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
82130         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
82131         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
82132         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
82133         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
82134         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
82135         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
82136         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
82137         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
82138         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
82139         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
82140         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
82141         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
82142         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
82143         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
82144         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
82145         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
82146         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
82147         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
82148         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
82149         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
82150         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
82151         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
82152         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
82153         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
82154         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
82155         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
82156         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
82157         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
82158         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
82159         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
82160         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
82161         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
82162         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
82163         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
82164         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
82165         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
82166         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
82167         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
82168         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
82169         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
82170         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
82171         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
82172         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
82173         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
82174         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
82175         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
82176         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
82177         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
82178         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
82179         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
82180         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
82181         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
82182         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
82183         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
82184         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
82185         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
82186         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
82187         Require >= 2.
82188         (FLT_ROUNDS): Expect as macro, not constant.
82189         (FLT_MANT_DIG): Use macro-int-constant.
82190         (DBL_MANT_DIG): Likewise.
82191         (LDBL_MANT_DIG): Likewise.
82192         (FLT_DIG): Likewise.
82193         (DBL_DIG): Likewise.
82194         (LDBL_DIG): Likewise.
82195         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
82196         (DBL_MIN_EXP): Likewise.
82197         (LDBL_MIN_EXP): Likewise.
82198         (FLT_MAX_EXP): Use macro-int-constant.
82199         (DBL_MAX_EXP): Likewise.
82200         (LDBL_MAX_EXP): Likewise.
82201         (FLT_MAX_10_EXP): Likewise.
82202         (DBL_MAX_10_EXP): Likewise.
82203         (LDBL_MAX_10_EXP): Likewise.
82204         (FLT_MAX): Use macro-constant.
82205         (DBL_MAX): Likewise.
82206         (LDBL_MAX): Likewise.
82207         (FLT_EPSILON): Use macro-constant.  Give upper bound.
82208         (DBL_EPSILON): Likewise.
82209         (LDBL_EPSILON): Likewise.
82210         (FLT_MIN): Likewise.
82211         (DBL_MIN): Likewise.
82212         (LDBL_MIN): Likewise.
82213         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
82214         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
82215         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
82216         [ISO11] (FLT_HAS_SUBNORM): Likewise.
82217         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
82218         [ISO11] (DBL_DECIMAL_DIG): Likewise.
82219         [ISO11] (FLT_DECIMAL_DIG): Likewise.
82220         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
82221         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
82222         [ISO11] (FLT_TRUE_MIN): Likewise.
82223         [ISO11] (LDBL_TRUE_MIN): Likewise.
82224         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82225         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
82226         (SCHAR_MIN): Use macro-int-constant.  Specify type.
82227         (SCHAR_MAX): Likewise.
82228         (UCHAR_MAX): Likewise.
82229         (CHAR_MIN): Likewise.
82230         (CHAR_MAX): Likewise.
82231         (MB_LEN_MAX): Use macro-int-constant.
82232         (SHRT_MIN): Use macro-int-constant.  Specify type.
82233         (SHRT_MAX): Likewise.
82234         (USHRT_MAX): Likewise.
82235         (INT_MAX): Likewise.
82236         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
82237         bound negative.
82238         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82239         bound with "U".
82240         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82241         bound with "L".
82242         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
82243         bound negative.  Suffix upper bound with "L".
82244         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82245         bound with "UL".
82246         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
82247         Specify type.
82248         [C99-based standards] (LLONG_MAX): Likewise.
82249         [C99-based standards] (ULLONG_MAX): Likewise.
82250         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
82251         == 0.
82252         [ISO11] (max_align_t): Require type.
82253         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82255         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
82256         from $CFLAGS, without defining away __attribute__ calls.
82257         (checknamespace): Use $CFLAGS_namespace.
82259         * conform/conformtest.pl (@keywords): Only include C99 keywords
82260         for standards based on C99 or C11.
82262         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
82263         Disable tests.
82264         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
82265         UNIX98]: Likewise.
82267         * conform/conformtest.pl: Handle "macro-int-constant" and test for
82268         usability of symbols in #if.
82270         * conform/conformtest.pl: If macro or constant types start
82271         "promoted:", expect the symbol to be of the following type
82272         promoted by the integer promotions.
82274         * conform/conformtest.pl: Parse all "constant" and "macro" lines
82275         in one place.  Also handle "macro-constant".
82277         * conform/conformtest.pl: Only accept expected macro values with
82278         "==".  Parse all "macro" lines in one place.
82279         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
82281         * conform/conformtest.pl: Handle braced types on "constant" lines
82282         instead of handling "typed-constant".
82283         * conform/data/signal.h-data: Use "constant" instead of
82284         "typed-constant".
82286         * conform/conformtest.pl: Handle "optional-" at start of lines in
82287         one place rather than duplicating several cases.  Handle each
82288         format of "macro" line with initial "optional-".
82290         * conform/conformtest.pl: Only accept expected constant or
82291         optional-constant values with "==".  Parse all "constant" lines in
82292         one place.  Parse all "optional-constant" lines in one place.
82293         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
82294         * conform/data/fmtmsg.h-data: Likewise.
82295         * conform/data/netinet/in.h-data: Likewise.
82296         * conform/data/tar.h-data: Likewise.
82297         * conform/data/limits.h-data: Use "==" form on "constant" and
82298         "optional-constant" lines.
82300         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
82301         Use -std=c99 for XOPEN2K.
82302         (@knownproblems): Remove.
82303         (newtoken): Don't check %isknown.
82305         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
82306         Do not expect macro.
82307         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
82308         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
82309         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
82310         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
82311         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
82312         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
82313         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
82314         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
82315         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
82316         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
82317         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
82318         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
82319         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
82320         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
82321         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
82322         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
82323         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
82324         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
82325         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
82326         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
82327         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
82328         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
82329         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
82330         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
82331         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
82332         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
82333         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
82334         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
82335         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
82336         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
82337         [XPG3] (acosh): Likewise.
82338         [XPG3] (asinh): Likewise.
82339         [XPG3] (atanh): Likewise.
82340         [XPG3] (cbrt): Likewise.
82341         [XPG3] (expm1): Likewise.
82342         [XPG3] (ilogb): Likewise.
82343         [XPG3] (log1p): Likewise.
82344         [XPG3] (logb): Likewise.
82345         [XPG3] (nextafter): Likewise.
82346         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
82347         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
82348         [XPG3] (remainder): Likewise.
82349         [XPG3] (rint): Likewise.
82350         [XPG3 || XPG4 || UNIX98] (round): Likewise.
82351         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
82352         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
82353         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
82354         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
82355         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
82356         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
82357         [UNIX98 || XOPEN2K] (scalb): Expect.
82358         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
82359         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
82360         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
82361         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
82362         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
82363         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
82364         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
82365         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
82366         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
82367         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
82368         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
82369         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
82370         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
82371         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
82372         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
82373         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
82374         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
82375         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
82376         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
82377         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
82378         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
82379         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
82380         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
82381         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
82382         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
82383         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
82384         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
82385         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
82386         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
82387         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
82388         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
82389         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
82390         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
82391         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
82392         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
82393         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
82394         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
82395         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
82396         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
82397         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
82398         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
82399         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
82400         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
82401         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
82402         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
82403         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
82404         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
82405         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
82406         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
82407         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
82408         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
82409         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
82410         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
82411         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
82412         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
82413         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
82414         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
82415         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
82416         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
82417         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
82418         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
82419         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
82420         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
82421         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
82422         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
82423         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
82424         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
82425         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
82426         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
82427         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
82428         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
82429         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
82430         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
82431         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
82432         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
82433         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
82434         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
82435         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
82436         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
82437         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
82438         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
82439         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
82440         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
82441         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
82442         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
82443         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
82444         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
82445         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
82446         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
82447         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
82448         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
82449         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
82450         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
82451         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
82452         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
82453         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
82454         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
82455         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
82456         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
82457         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
82458         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
82459         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
82460         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
82461         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
82462         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
82463         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
82464         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
82465         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
82466         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
82467         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
82468         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
82469         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
82470         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
82471         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
82472         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
82473         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
82474         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
82475         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
82476         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
82477         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
82478         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
82479         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
82480         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
82481         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
82482         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
82483         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
82484         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
82485         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
82486         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
82487         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
82488         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
82489         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
82490         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
82491         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
82492         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
82493         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
82494         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
82496         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
82497         _XOPEN_SOURCE_EXTENDED for XPG4.
82499         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
82501         * Makeconfig (localtime): Remove variable.
82502         (inst_localtime-file): Likewise.
82504 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
82506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
82507         Update.
82508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
82509         Update.
82510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
82511         Update.
82512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
82513         Update.
82514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
82515         Update.
82516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
82517         Update.
82518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
82519         Update.
82520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
82521         Update.
82522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82523         Update.
82525 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
82527         [BZ #2550]
82528         [BZ #2570]
82529         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
82530         comparisons to determine direction to adjust input.
82531         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
82532         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
82533         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
82534         Likewise.
82535         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
82536         Likewise.
82537         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
82538         Likewise.
82539         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
82540         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
82541         Likewise.
82542         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
82543         Likewise.
82544         * math/libm-test.inc (nexttoward_test): Add more tests.
82546 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
82548         [BZ #14040]
82549         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
82550         in version GLIBC_2.1, not GLIBC_2.0.
82551         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
82552         Likewise.
82554 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
82556         [BZ #13942]
82557         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
82558         (1 - x) * (1 + x).
82559         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82560         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
82561         * math/libm-test.inc (acos_test): Add more tests.
82562         (asin_test): Likewise.
82563         * sysdeps/i386/fpu/libm-test-ulps: Update.
82564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82566         [BZ #14034]
82567         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
82568         of square root.
82569         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
82570         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82571         * math/libm-test.inc (acos_test_tonearest): New function.
82572         (acos_test_towardzero): Likewise.
82573         (acos_test_downward): Likewise.
82574         (acos_test_upward): Likewise.
82575         (asin_test_tonearest): Likewise.
82576         (asin_test_towardzero): Likewise.
82577         (asin_test_downward): Likewise.
82578         (asin_test_upward): Likewise.
82579         (main): Call the new functions.
82580         * sysdeps/i386/fpu/libm-test-ulps: Update.
82581         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82583         [BZ #13884]
82584         [BZ #13924]
82585         * math/e_exp10.c: Include <float.h>.
82586         (__ieee754_exp10): Handle underflow here rather than multiplying
82587         large negative argument by M_LN10.
82588         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
82589         of __ieee754_expf.
82590         * math/e_exp10l.c: Include <float.h>.
82591         (__ieee754_exp10l): Handle underflow here rather than multiplying
82592         large negative argument by M_LN10l.
82593         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
82594         spurious overflow exception on underflow.
82596 2012-04-29  Marek Polacek  <polacek@redhat.com>
82598         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
82599         (__fortify_function): New macro.
82600         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
82601         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
82602         __extern_always_inline.
82603         * libio/bits/stdio2.h: Likewise.
82604         * libio/bits/stdio.h: Likewise.
82605         * string/string.h: Likewise.
82606         * string/bits/string3.h: Likewise.
82607         * include/stdio.h: Likewise.
82608         * stdlib/bits/stdlib.h: Likewise.
82609         * stdlib/stdlib.h: Likewise.
82610         * rt/bits/mqueue2.h: Likewise.
82611         * rt/mqueue.h: Likewise.
82612         * posix/bits/unistd.h: Likewise.
82613         * posix/unistd.h: Likewise.
82614         * io/bits/poll2.h: Likewise.
82615         * io/bits/fcntl2.h: Likewise.
82616         * io/fcntl.h: Likewise.
82617         * io/sys/poll.h: Likewise.
82618         * misc/bits/syslog.h: Likewise.
82619         * misc/bits/syslog-ldbl.h: Likewise.
82620         * misc/sys/syslog.h: Likewise.
82621         * socket/bits/socket2.h: Likewise.
82622         * socket/sys/socket.h: Likewise.
82623         * debug/tst-chk1.c: Likewise.
82624         * wcsmbs/bits/wchar2.h: Likewise.
82625         * wcsmbs/bits/wchar-ldbl.h: Likewise.
82626         * wcsmbs/wchar.h: Likewise.
82628 2012-04-29  Andreas Jaeger  <aj@suse.de>
82630         * Makerules (tests): Remove enable-check-abi protection.
82631         (check-abi-warn): Remove.
82632         (check-abi-%): Remove check-abi-warn usage.
82634         * configure.in: Remove check-abi configure option.
82635         * configure: Regenerated.
82636         * config.make.in (enable-check-abi): Remove.
82638 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
82640         [BZ #14033]
82641         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
82642         double functions to double *_finite functions.
82644         [BZ #13941]
82645         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
82646         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
82647         LDBL_MIN_EXP.
82648         * stdio-common/Makefile (tests): Add tst-sprintf3.
82649         * stdio-common/tst-sprintf3.c: New file.
82651         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
82652         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
82654 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
82656         * conform/conformtest.pl: Remove duplicate typed-constant
82657         handling.
82659 2012-04-28  David S. Miller  <davem@davemloft.net>
82661         * Makerules (%.abilist): Add vpath on sysdep_dirs.
82662         (check-abi-%): Remove AWK script prerequisite and explicit
82663         abilist directory.
82664         (check-abi): Rewrite to just diff the symlist with the abilist.
82665         (config-tls, config-abi-config): Delete, no longer used.
82666         (update-abi-%): Remove AWK script and explicit abilist directory.
82667         (update-abi): Rewrite to simply compare and conditionally copy the
82668         symlist and the sysdep abilist file.  Remove update-abi-config
82669         checks.
82670         * abilist/ld.abilist: Remove.
82671         * abilist/libBrokenLocale.abilist: Remove.
82672         * abilist/libanl.abilist: Remove.
82673         * abilist/libcrypt.abilist: Remove.
82674         * abilist/libdl.abilist: Remove.
82675         * abilist/librt.abilist: Remove.
82676         * abilist/libthread_db.abilist: Remove.
82677         * abilist/libutil.abilist: Remove.
82678         * scripts/extract-abilist.awk: Remove.
82679         * scripts/merge-abilist.awk: Remove.
82680         * sysdeps/generic/libcidn.abilist: New file.
82681         * sysdeps/generic/libnss_compat.abilist: New file.
82682         * sysdeps/generic/libnss_db.abilist: New file.
82683         * sysdeps/generic/libnss_dns.abilist: New file.
82684         * sysdeps/generic/libnss_files.abilist: New file.
82685         * sysdeps/generic/libnss_hesiod.abilist: New file.
82686         * sysdeps/generic/libnss_nis.abilist: New file.
82687         * sysdeps/generic/libnss_nisplus.abilist: New file.
82688         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
82689         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
82690         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
82691         file.
82692         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
82693         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
82694         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
82695         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
82696         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
82697         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
82698         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
82699         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
82700         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
82701         file.
82702         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
82703         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
82704         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
82705         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
82706         file.
82707         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
82708         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
82709         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
82710         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
82711         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
82712         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
82713         file.
82714         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
82715         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
82716         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
82717         file.
82718         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
82719         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
82720         New file.
82721         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
82722         New file.
82723         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
82724         New file.
82725         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
82726         New file.
82727         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
82728         New file.
82729         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
82730         New file.
82731         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
82732         New file.
82733         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
82734         New file.
82735         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
82736         New file.
82737         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
82738         New file.
82739         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
82740         New file.
82741         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
82742         New file.
82743         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
82744         New file.
82745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
82746         file.
82747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
82748         New file.
82749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
82750         New file.
82751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
82752         file.
82753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
82754         New file.
82755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
82756         New file.
82757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
82758         file.
82759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
82760         New file.
82761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82762         New file.
82763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
82764         New file.
82765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
82766         New file.
82767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
82768         New file.
82769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
82770         New file.
82771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
82772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
82773         file.
82774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
82775         New file.
82776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
82777         file.
82778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
82779         file.
82780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
82781         file.
82782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
82783         file.
82784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
82785         file.
82786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
82787         New file.
82788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
82789         file.
82790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
82791         file.
82792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
82793         New file.
82794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
82795         file.
82796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
82797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
82798         file.
82799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
82800         New file.
82801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
82802         file.
82803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
82804         file.
82805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
82806         file.
82807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
82808         file.
82809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
82810         file.
82811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
82812         New file.
82813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
82814         file.
82815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
82816         file.
82817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
82818         New file.
82819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
82820         file.
82821         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
82822         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
82823         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
82824         file.
82825         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
82826         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
82827         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
82828         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
82829         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
82830         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
82831         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
82832         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
82833         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
82834         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
82835         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
82836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
82837         file.
82838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
82839         New file.
82840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
82841         file.
82842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
82843         file.
82844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
82845         file.
82846         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
82847         file.
82848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
82849         file.
82850         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
82851         New file.
82852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
82853         New file.
82854         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
82855         file.
82856         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
82857         New file.
82858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
82859         file.
82860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
82861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
82862         file.
82863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
82864         New file.
82865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
82866         file.
82867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
82868         file.
82869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
82870         file.
82871         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
82872         file.
82873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
82874         file.
82875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
82876         New file.
82877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
82878         New file.
82879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
82880         file.
82881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
82882         New file.
82883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
82884         file.
82886 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
82888         * conform/conformtest.pl: Fix typo in handling typed-constant from
82889         allow-header.
82891 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
82893         * README: Cut down references to pre-2.6 Linux kernels and
82894         Linuxthreads.  Update lists of configurations in libc and ports
82895         and sort alphabetically.  Say "or newer" with Linux kernel version
82896         requirements.
82898         * config.h.in [IS_IN_build]: Allow compiling without optimization.
82900 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
82902         [BZ #887]
82903         * math/libm-test.inc (logb_test_downward): New test to expose
82904         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
82905         rounding mode.
82907 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
82909         [BZ #14027]
82910         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
82911         to be done.
82912         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
82913         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
82915 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
82917         * sysdeps/unix/i386/brk.S: Remove file.
82918         * sysdeps/unix/i386/dl-brk.S: Likewise.
82919         * sysdeps/unix/i386/pipe.S: Likewise.
82920         * sysdeps/unix/i386/sigreturn.S: Likewise.
82921         * sysdeps/unix/i386/syscall.S: Likewise.
82922         * sysdeps/unix/i386/vfork.S: Likewise.
82923         * sysdeps/unix/i386/wait.S: Likewise.
82925         * sysdeps/unix/common/tcsendbrk.c: Move to ...
82926         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
82928         * configure.in (arm*-none*): Do not allow without
82929         --enable-hacker-mode.
82930         (netbsd*): Remove case setting base_os.
82931         (386bsd*): Likewise.
82932         (freebsd*): Likewise.
82933         (bsdi*): Likewise.
82934         (osf*): Likewise.
82935         (sunos*): Likewise.
82936         (ultrix*): Likewise.
82937         (newsos*): Likewise.
82938         (dynix*): Likewise.
82939         (*bsd*): Likewise.
82940         (sysv*): Likewise.
82941         (isc*): Likewise.
82942         (esix*): Likewise.
82943         (sco*): Likewise.
82944         (minix*): Likewise.
82945         (irix4*): Likewise.
82946         (irix6*): Likewise.
82947         (solaris[2-9]*): Likewise.
82948         (none): Likewise.
82949         * configure: Regenerated.
82951 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82953         [BZ #11521]
82954         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
82955         overflow or cancellation in calculating denominator.
82956         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
82957         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
82958         down expression to avoid unexpected rounding in newer GCCs.
82959         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
82961 2012-04-26  David S. Miller  <davem@davemloft.net>
82963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
82964         long-double compat symbols.
82965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
82969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
82971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
82972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
82973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
82974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
82975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
82976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
82977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82979 2012-04-25  David S. Miller  <davem@davemloft.net>
82981         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
82982         HWCAP_* values only after the memory barriers have been defined.
82983         (atomic_full_barrier): Define.
82984         (atomic_read_barrier): Define.
82985         (atomic_write_barrier): Define.
82987 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
82989         * shlib-versions: Add libgcc_s version information.
82990         * sysdeps/generic/libgcc_s.h: Remove.
82991         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
82992         libgcc_s.h.
82993         * sysdeps/gnu/unwind-resume.c: Likewise.
82994         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
82996 2012-04-25  David S. Miller  <davem@davemloft.net>
82998         * sysdeps/unix/sparc/brk.S: Delete.
82999         * sysdeps/unix/sparc/dl-brk.S: Delete.
83000         * sysdeps/unix/sparc/pipe.S: Delete.
83001         * sysdeps/unix/sparc/sysdep.S: Delete.
83002         * sysdeps/unix/sparc/sysdep.h: Delete.
83003         * sysdeps/unix/sparc/vfork.S: Delete.
83004         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
83005         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
83006         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
83007         (ret_ERRVAL, r0, r1, MOVE): Define.
83008         (JUMPTARGET): Remove.
83009         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
83010         sysdeps/unix/sparc/sysdep.h
83011         (ENTRY, END): Remove.
83012         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83014 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
83016         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
83017         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
83018         -DIS_IN_build.
83020         * timezone/README: Update upstream location and email address for
83021         tzcode and tzdata.
83022         * timezone/zdump.c: Update from tzcode 2012b.
83023         * timezone/zic.c: Likewise.
83025         * configure.in (libc_cv_as_needed): Remove test.
83026         * configure: Regenerated.
83027         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
83028         conditional definition.
83029         [$(have-as-needed) != yes] (no-as-needed): Likewise.
83030         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
83031         * config.make.in (have-as-needed): Remove variable.
83033 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
83034             Paul Pluzhnikov  <ppluzhnikov@google.com>
83036         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
83037         strings correctly.
83039 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
83041         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
83042         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
83043         * sysdeps/sh/strlen.S: Likewise.
83045 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83047         * sysdeps/unix/fork.S: Remove file.
83048         * sysdeps/unix/i386/fork.S: Likewise.
83049         * sysdeps/unix/sparc/fork.S: Likewise.
83051         * sysdeps/unix/system.c: Remove file.
83052         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
83054         * sysdeps/unix/getegid.S: Remove file.
83055         * sysdeps/unix/geteuid.S: Likewise.
83057 2012-04-24  Roland McGrath  <roland@hack.frob.com>
83059         * scripts/check-localplt.awk: New file.
83060         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
83061         of diff.
83062         * scripts/data/localplt-generic.data: Add a comment.
83064         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
83065         NODE when __dir_mkfile failed.
83066         * sysdeps/mach/hurd/symlinkat.c: Likewise.
83067         Reported by Ludovic Courtès <ludo@gnu.org>.
83069 2012-04-24  Andreas Jaeger  <aj@suse.de>
83071         * Makerules (common-clean): Also remove gen-as-const-headers
83072         files.
83074 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83076         * Makerules (native-compile): Do not change working directory for
83077         build.  Use $(OUTPUT_OPTION) in command.
83078         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
83080 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83082         [BZ #13886]
83083         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
83084         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
83085         * math/libm-test.inc (floor_test): Add more tests.
83086         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
83088 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83090         * sysdeps/unix/getdents.c: Remove file.
83091         * sysdeps/unix/sysv/getdents.c: Likewise.
83092         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
83094         * sysdeps/unix/syscalls.list (madvise): Add syscall from
83095         sysdeps/unix/mman/syscalls.list.
83096         (mmap): Likewise.
83097         (mprotect): Likewise.
83098         (msync): Likewise.
83099         (munmap): Likewise.
83100         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
83101         * sysdeps/unix/mman/syscalls.list: Remove.
83102         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
83104         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
83105         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
83106         * configure: Regenerated.
83107         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
83108         $(libgcc_s_suffix).
83109         * config.make.in (libgcc_s_suffix): Remove variable.
83111 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
83113         * sysdeps/unix/sysv/gethostname.c: Move to ...
83114         * sysdeps/posix/gethostname.c: ... here.
83116         * sysdeps/unix/execve.S: Remove file.
83118         * sysdeps/unix/_exit.S: Remove file.
83120 2012-04-23  Andreas Jaeger  <aj@suse.de>
83122         [BZ #13739]
83123         * manual/Makefile: Remove make dist support, there's no
83124         need for a stand-alone documentation tar ball.
83125         (TEXI2DVI): Define always, it's not in Makeconfig.
83126         (dist): Removed.
83127         (tar-it): Removed.
83128         (edition): Removed.
83129         (glibc-doc-$(edition).tar): Removed
83130         (%.Z): Removed.
83131         (%.gz): Removed.
83132         (%.uu): Removed.
83133         (ETAGS): Remove, it's in Makeconfig.
83134         (move-if-change): Remove, it's in Makeconfig.
83136 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
83138         [BZ #13970]
83139         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
83140         (strtod, strtof, strtold, strtol, strtoul, strtoq)
83141         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
83142         (strtod_l, strtof_l, strtold_l): Remove __wur.
83143         It is not necessarily an error to ignore strtol's return value.
83144         One can reliably look at the stored endptr to decide whether
83145         the number had valid syntax.
83147 2012-04-21  Andreas Jaeger  <aj@suse.de>
83149         [BZ #13739]
83150         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
83152 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
83154         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
83155         * sysdeps/unix/sysv/Versions: Remove file.
83157 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
83159         [BZ #13927]
83160         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83162 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
83164         [BZ #7064]
83165         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
83166         version from __vm86.
83168 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
83170         * sysdeps/unix/common/lxstat.c: Remove file.
83171         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
83173         * sysdeps/unix/sysv/Makefile: Remove file.
83175         * sysdeps/unix/sysv/direct.h: Remove file.
83177         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
83178         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
83179         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
83180         * sysdeps/unix/sysv/bits/signum.h: Likewise.
83181         * sysdeps/unix/sysv/bits/stat.h: Likewise.
83182         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
83183         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
83185         * sysdeps/unix/sysv/setrlimit.c: Remove file.
83187         * sysdeps/unix/xmknod.c: Remove file.
83188         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
83190         * sysdeps/unix/sysv/settimeofday.c: Remove file.
83192         * sysdeps/unix/sysv/i386/time.S: Remove file.
83194         * sysdeps/unix/fxstat.c: Remove file.
83195         * sysdeps/unix/xstat.c: Likewise.
83196         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
83198         * sysdeps/unix/sysv/sigaction.c: Remove file.
83200         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
83201         (sysdep_headers): Remove variable.
83202         [termio.h not in sysdep_headers] (generated): Likewise.
83203         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
83204         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
83205         * sysdeps/unix/sysv/tcdrain.c: Likewise.
83206         * sysdeps/unix/sysv/tcflow.c: Likewise.
83207         * sysdeps/unix/sysv/tcflush.c: Likewise.
83208         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
83209         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
83210         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
83211         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
83212         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
83214         * sysdeps/unix/siglist.c: Remove file.
83216         * sysdeps/unix/getppid.S: Remove file.
83218         * sysdeps/unix/mkdir.c: Remove file.
83219         * sysdeps/unix/rmdir.c: Likewise.
83221 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
83223         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
83224         ERR_MAX value.
83225         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
83226         errlist-compat value.
83228 2012-04-18  David S. Miller  <davem@davemloft.net>
83230         * sysdeps/generic/memcopy.h (reg_char): Delete.
83231         * debug/strcat_chk.c: Use char, not reg_char.
83232         * debug/strcpy_chk.c: Likewise.
83233         * debug/strncat_chk.c: Likewise.
83234         * debug/strncpy_chk.c: Likewise.
83235         * string/memchr.c: Likewise.
83236         * string/memrchr.c: Likewise.
83237         * string/rawmemchr.c: Likewise.
83238         * string/strcat.c: Likewise.
83239         * string/strchr.c: Likewise.
83240         * string/strchrnul.c: Likewise.
83241         * string/strcmp.c: Likewise.
83242         * string/strcpy.c: Likewise.
83243         * string/strncat.c: Likewise.
83244         * string/strncmp.c: Likewise.
83245         * string/strncpy.c: Likewise.
83247 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83249         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
83250         __builtin_memcopy is called when src and dest ranges are known to not
83251         overlap.
83253 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83255         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
83256         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
83257         fwd_align_merge macro call.
83258         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
83259         bwd_align_merge macro call.
83260         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83262 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83264         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
83265         bwd_align_merge macros.
83266         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
83267         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
83268         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83270 2012-04-18  David S. Miller  <davem@davemloft.net>
83272         * sysdeps/sparc/sparc64/memcopy.h: Delete.
83274 2012-04-18  Andreas Jaeger  <aj@suse.de>
83276         [BZ #6794]
83277         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
83278         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
83279         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83281         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
83282         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
83283         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83285         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
83286         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
83287         Adjust for changed ldbl-128 files.
83289         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
83290         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
83291         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83293 2012-04-17  David S. Miller  <davem@davemloft.net>
83295         * sysdeps/sparc/sparc32/memcopy.h: Delete.
83297 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
83299         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
83300         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
83301         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
83302         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
83303         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
83304         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
83306 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83308         [BZ #6794]
83309         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
83310         * math/libm-test.inc: Add ilogb errno and exception tests.
83311         * math/w_ilogb.c: New file: ilogb wrapper.
83312         * math/w_ilogbf.c: New file: ilogbf wrapper.
83313         * math/w_ilogbl.c: New file: ilogbl wrapper.
83314         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
83315         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
83316         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
83317         exception being thrown with 0.0 as argument.
83318         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
83319         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
83320         exception being thrown with 0.0 as argument.
83321         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
83322         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83323         exception being thrown with 0.0 as argument.
83324         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
83325         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83326         exception being thrown with 0.0 as argument.
83327         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
83328         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
83329         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
83330         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
83331         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
83332         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
83333         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
83334         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
83335         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
83337 2012-04-17  Petr Baudis  <pasky@ucw.cz>
83339         * include/sys/uio.h: Change __vector to __iovec to avoid clash
83340         with altivec.
83342 2012-04-16  Marek Polacek  <polacek@redhat.com>
83344         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
83346 2012-04-16  Marek Polacek  <polacek@redhat.com>
83348         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
83349         operands of fdivp instruction.
83351 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
83353         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
83354         * elf/tst-auditmod3b.c: Likewise.
83355         * elf/tst-auditmod4b.c: Likewise.
83356         * elf/tst-auditmod5b.c: Likewise.
83357         * elf/tst-auditmod6b.c: Likewise.
83358         * elf/tst-auditmod6c.c: Likewise.
83359         * elf/tst-auditmod7b.c: Likewise.
83360         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
83361         * sysdeps/x86_64/preconfigure.in: Likewise.
83362         * sysdeps/x86_64/preconfigure: Regenerated.
83364 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
83366         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
83367         __ILP32__.
83369 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
83371         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83372         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
83374 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
83376         [BZ #13973]
83377         * locale/iso-639.def: Fix gl language name. Spotted by
83378         Yaron Shahrabani.
83380 2012-04-12  Roland McGrath  <roland@hack.frob.com>
83382         [BZ #2074]
83383         * libio/libio.h (__io_write_fn): Update comment.
83385 2012-04-12  Petr Baudis  <pasky@ucw.cz>
83387         [BZ #2074]
83388         * stdio.texi (Hook Functions): The user provided writer function
83389         is not allowed to return -1.
83391 2012-04-11  David S. Miller  <davem@davemloft.net>
83393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83395 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
83397         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
83398         Add a leading slash to rtkaio.
83400 2012-04-11  Jim Meyering  <meyering@redhat.com>
83402         [BZ #11959]
83403         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
83404         It is not necessarily an error to ignore fwrite's return
83405         value.  One can reliably use ferror to test for errors after
83406         the fact.
83408 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
83410         * bits/types.h (__snseconds_t): New type.
83411         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
83413         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
83414         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
83415         (__SNSECONDS_T_TYPE): Likewise.
83416         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
83417         (__SNSECONDS_T_TYPE): Likewise.
83418         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
83419         (__SNSECONDS_T_TYPE): Likewise.
83421 2012-04-10  Andreas Jaeger  <aj@suse.de>
83423         [BZ #2636]
83424         * manual/time.texi (Processor Time): Return type of times is
83425         elapsed real time since an arbitrary point in the past.
83426         (CPU Time): Move CLK_TCK from here...
83427         (Processor Time): ...to here.  Correct description.
83428         * manual/conf.texi (Constants for Sysconf): Correct description of
83429         _SC_CLK_TCK.
83431 2012-04-10  David S. Miller  <davem@davemloft.net>
83433         [BZ #13967]
83434         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
83435         where the is a gap between DT_REL(A) and DT_JMPREL.
83437 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
83439         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
83440         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83441         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83443 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
83445         * elf/dl-support.c (_dl_inhibit_cache): New variable.
83446         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
83447         (dl_main): Handle --inhibit-cache.
83448         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
83449         _dl_inhibit_cache.
83450         * elf/dl-load.c (_dl_map_object): Use it.
83451         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
83453 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
83455         [BZ #13872]
83456         * sysdeps/i386/fpu/e_powl.S (p78): New object.
83457         (__ieee754_powl): Saturate large exponents rather than testing for
83458         overflow of y*log2(x).
83459         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83460         * math/libm-test.inc (pow_test): Do not permit spurious overflow
83461         exceptions.
83463         [BZ #11521]
83464         * math/s_ctan.c: Include <float.h>.
83465         (__ctan): Avoid internal overflow or cancellation in calculating
83466         denominator.
83467         * math/s_ctanf.c: Likewise.
83468         * math/s_ctanl.c: Likewise.
83469         * math/s_ctanh.c: Likewise.
83470         * math/s_ctanhf.c: Likewise.
83471         * math/s_ctanhl.c: Likewise.
83472         * math/libm-test.inc (ctan_test): Add more tests.
83473         (ctanh_test): Likewise.
83474         * sysdeps/i386/fpu/libm-test-ulps: Update.
83475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83477 2012-04-09  Andreas Jaeger  <aj@suse.de>
83479         [BZ #6894]
83480         * manual/filesys.texi (Directory Entries): Mention that d_namlen
83481         is an optional BSD extension.
83483         [BZ #10254]
83484         * manual/stdio.texi (Opening Streams): Document additional fopen
83485         parameters.
83487 2012-04-09  Roland McGrath  <roland@hack.frob.com>
83489         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
83490         %eax without telling the compiler.
83492 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
83494         [BZ # 13963]
83495         * manual/install.texi: Use sourceware.org.
83497 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
83499         [BZ #13873]
83500         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
83501         (__ieee754_pow): Generate overflow and underflow using huge*huge
83502         and tiny*tiny rather than just returning constant infinity or zero
83503         for large exponents.
83504         * math/libm-test.inc (pow_test): Require overflow exceptions for
83505         applicable cases of large exponents.
83507         [BZ #706]
83508         * sysdeps/i386/fpu/e_pow.S (p10): New object.
83509         (__ieee754_pow): Use iterative multiplication algorithm only for
83510         integer exponents with absolute value below 1024.  Check for odd
83511         integer exponents when using algorithm for real exponents.
83512         * math/libm-test.inc (pow_test): Add more tests.
83513         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83515 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
83517         [BZ #13705]
83518         * math/libm-test.inc (exp_test): Do not allow overflow exception
83519         on underflow test.
83521 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
83523         [BZ #13705]
83524         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
83525         instead of __kernel_standard_f.
83527 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
83529         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
83530         * sysdeps/x86_64/memset_chk.S: Likewise.
83532 2012-04-08  Andreas Jaeger  <aj@suse.de>
83534         [BZ #10153]
83535         * manual/startup.texi (Environment Access): Describe return value
83536         for putenv and setenv.
83538         [BZ #6895]
83539         * manual/filesys.texi (Directory Entries): Add description for
83540         DT_LNK.
83542         [BZ #6890]
83543         * manual/filesys.texi (Directory Entries): Clarify that it's file
83544         system not operating system in the description of DT_UNKNOWN.
83546         [BZ #6578]
83547         * manual/syslog.texi (closelog): Fix reference, it's openlog.
83549 2012-04-08  Stephen Compall  <s11@member.fsf.org>
83551         [BZ #6649]
83552         * manual/llio.texi (Opening and Closing Files): Add cross
83553         reference to explain mode argument.
83555 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
83557         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
83558         * sysdeps/x86_64/memset_chk.S: Likewise.
83560 2012-04-07  David S. Miller  <davem@davemloft.net>
83562         * elf/elf.h (R_SPARC_WDISP10): Define.
83563         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
83564         R_SPARC_SIZE32.
83565         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
83566         R_SPARC_SIZE64 and R_SPARC_H34.
83568 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
83570         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
83571         conditions and remove no longer applicable assertion.
83573 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
83575         * bits/byteswap.h: Include <features.h>.
83576         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83577         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83579 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
83581         * bits/byteswap.h (__bswap_16): Removed.
83582         Include <bits/byteswap-16.h> to get __bswap_16.
83583         * sysdeps/i386/bits/byteswap.h: Likewise.
83584         * sysdeps/s390/bits/byteswap.h: Likewise.
83585         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83586         * bits/byteswap-16.h: New file.
83587         * sysdeps/i386/bits/byteswap-16.h: Likewise.
83588         * sysdeps/s390/bits/byteswap-16.h: Likewise.
83589         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
83590         * string/Makefile (headers): Add bits/byteswap-16.h.
83592 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
83594         [BZ #13895]
83595         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
83596         extra indirection.
83597         * nss/Makefile (tests-static, tests): Add tst-nss-static.
83598         * nss/tst-nss-static.c: New.
83600 2012-04-06  Robert Millan  <rmh@gnu.org>
83602         [BZ #6486]
83603         * manual/llio.texi (File Position Primitive): lseek
83604         refers to WHENCE when it really means OFFSET.
83606 2012-04-06  Andreas Jaeger  <aj@suse.de>
83608         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
83609         strncmp declarations.
83611         * abilist/libc.abilist: Add __poll and __ppoll.
83613 2012-04-05  David S. Miller  <davem@davemloft.net>
83615         * scripts/check-local-headers.sh: Accept a host triplet in the
83616         path matched by the exclude regexp.
83618         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
83619         definition.
83620         * sysdeps/powerpc/powerpc32/dl-machine.h
83621         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
83622         * sysdeps/s390/s390-32/dl-machine.h
83623         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83624         * sysdeps/sparc/sparc32/dl-machine.h
83625         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83626         * sysdeps/sparc/sparc64/dl-machine.h
83627         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83629         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
83630         lazy binding.
83631         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
83632         undefined symbol errors.
83634         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
83635         DT_NEEDED entries.
83637 2012-04-05  Michael Matz  <matz@suse.de>
83639         [BZ #13592]
83640         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
83642 2012-04-05  Andreas Jaeger  <aj@suse.de>
83644         [BZ #13908]
83645         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
83646         comment.
83648 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83650         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
83651         which ROUND is no valid rounding mode.
83653 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83655         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
83656         read again.
83657         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
83659 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83661         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
83662         an exception using FPU order intentionally.
83664 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83666         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
83667         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
83668         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
83669         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
83671 2012-04-05  Simon Josefsson  <simon@josefsson.org>
83673         [BZ #12340]
83674         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
83675         EINVAL when BUFLEN is too smal.
83677 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
83679         [BZ #13553]
83680         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
83681         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
83683 2012-04-03  Andreas Jaeger  <aj@suse.de>
83685         [BZ #13938]
83686         * manual/setjmp.texi (System V contexts): Fix sentence.
83688         [BZ #13926]
83689         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
83690         New macro for this case.
83691         [!__GNUC__] (__bswap_64): New inline function for this case.
83692         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83693         * bits/byteswap.h: Likewise.
83694         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
83695         ull, guard with __GLIBC_HAVE_LONG_LONG.
83697         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
83698         __GLIBC_HAVE_LONG_LONG.
83700         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
83701         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
83703 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
83705         [BZ #13691]
83706         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
83707         inptr and inend, rather than using last_ch.
83709 2012-04-02  David S. Miller  <davem@davemloft.net>
83711         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
83712         * stdio-common/printf-parse.h (read_int): Change return type to
83713         'int', return -1 on INT_MAX overflow.
83714         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
83715         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
83716         overflows INT_MAX.  Check for overflow of in-format-string precision
83717         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
83718         SIZE_MAX not INT_MAX for integer overflow test.
83719         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
83720         skip the construct in the format string but do not record anything.
83721         * stdio-common/bug22.c: Adjust to test both width/prevision
83722         INT_MAX overflow as well as total length INT_MAX overflow.  Check
83723         explicitly for proper errno values.
83725 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
83727         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
83728         CHAR_MAX.
83729         * string/test-strcmp.c [! WIDE]: Likewise.
83730         * time/tst-mktime2.c: Likewise for INT_MAX.
83731         * string/test-string.h: #include <sys/param.h> for MIN.
83733         * csu/init-first.c (__libc_init_first): Call __ctype_init.
83734         * sysdeps/i386/init-first.c (init): Likewise.
83735         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
83736         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
83737         * sysdeps/sh/init-first.c (init): Likewise.
83739 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
83741         * po/ru.po: Update from translation team.
83742         * po/vi.po: Likewise.
83744 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
83746         * resolv/nss_dns/dns-host.c: Merge copyright years.
83748 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83750         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83751         Optimize memcpy with prefetch if
83752         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
83753         src, dst pointers have unequal 16 byte alignments.
83755 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
83757         [BZ #13928]
83758         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
83759         from a CNAME entry and return the minimum ttl for the query.
83760         (gaih_getanswer_slice): Likewise.
83762 2012-03-30  Jeff Law  <law@redhat.com>
83764         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
83765         due to long keys.
83766         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
83767         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
83769         * resolv/nss_dns/dns-host.c: Update copyright year.
83771 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
83773         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
83774         requests to save a system call.  Fix check that all bytes are sent.
83776         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
83777         comments for sendmmsg.
83779 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
83781         [BZ #13691]
83782         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
83783         with only 1 character between 0x0041 and 0x01b0.
83784         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
83785         * wcsmbs/tst-mbsnrtowcs.c: New file.
83787 2012-03-29  David S. Miller  <davem@davemloft.net>
83789         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
83790         small copies by hand.
83792 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
83794         [BZ #13761]
83795         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
83796         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
83797         group memberships.
83799 2012-03-28  David S. Miller  <davem@davemloft.net>
83801         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
83802         that branches into memcpy.
83803         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
83804         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
83805         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
83806         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
83807         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
83808         bits.
83809         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
83810         implementation too.
83811         * sysdeps/sparc/mempcpy.S: New file.
83813         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
83814         the IFUNC routine in the libc case.
83815         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
83817         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
83818         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
83819         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
83820         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
83821         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
83822         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
83823         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
83824         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
83826         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
83827         loop to 256 bytes instead of 64 bytes and fix test signedness.
83829         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
83830         * sysdeps/sparc/sparc32/Makefile: rather than here...
83831         * sysdeps/sparc/sparc64/Makefile: and here.
83833 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
83835         * malloc/mallocbug.c: Avoid warnings about unused variables.
83837 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
83839         [BZ #13760]
83840         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
83841         in the right place. Discard and retry query if response is
83842         larger than input buffer size.
83844 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
83846         [BZ #369]
83847         [BZ #2678]
83848         [BZ #3866]
83849         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
83850         x for large integer exponent.
83851         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
83852         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
83853         sign of result as needed afterwards.
83854         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
83855         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
83856         result for underflowing pow the same as for overflow.
83857         (__kernel_standard_l): Handle powl overflow and underflow here
83858         rather than calling __kernel_standard.
83859         * math/libm-test.inc (pow_test): Add more tests.
83861         [BZ #3868]
83862         [BZ #13879]
83863         [BZ #13910]
83864         [BZ #13911]
83865         [BZ #13912]
83866         [BZ #13913]
83867         [BZ #13915]
83868         [BZ #13916]
83869         [BZ #13917]
83870         [BZ #13918]
83871         [BZ #13919]
83872         [BZ #13920]
83873         [BZ #13921]
83874         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
83875         * sysdeps/ieee754/k_standard.c: Include <float.h>.
83876         (__kernel_standard_l): New function.
83877         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
83878         __kernel_standard.
83879         * math/w_acosl.c (__acosl): Likewise.
83880         * math/w_asinl.c (__asinl): Likewise.
83881         * math/w_atan2l.c (__atan2l): Likewise.
83882         * math/w_atanhl.c (__atanhl): Likewise.
83883         * math/w_coshl.c (__coshl): Likewise.
83884         * math/w_exp10l.c (__exp10l): Likewise.
83885         * math/w_exp2l.c (__exp2l): Likewise.
83886         * math/w_fmodl.c (__fmodl): Likewise.
83887         * math/w_hypotl.c (__hypotl): Likewise.
83888         * math/w_j0l.c (__j0l, __y0l): Likewise.
83889         * math/w_j1l.c (__j1l, __y1l): Likewise.
83890         * math/w_jnl.c (__jnl, __ynl): Likewise.
83891         * math/w_lgammal.c (__lgammal): Likewise.
83892         * math/w_log10l.c (__log10l): Likewise.
83893         * math/w_log2l.c (__log2l): Likewise.
83894         * math/w_logl.c (__logl): Likewise.
83895         * math/w_powl.c (__powl): Likewise.
83896         * math/w_remainderl.c (__remainderl): Likewise.
83897         * math/w_scalbl.c (sysv_scalbl): Likewise.
83898         * math/w_sinhl.c (__sinhl): Likewise.
83899         * math/w_sqrtl.c (__sqrtl): Likewise.
83900         * math/w_tgammal.c (__tgammal): Likewise.
83901         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
83902         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
83903         * math/libm-test.inc (acos_test): Add more tests.
83904         (acosh_test): Likewise.
83905         (asin_test): Likewise.
83906         (atanh_test): Likewise.
83907         (exp_test): Likewise.
83908         (exp10_test): Likewise.
83909         (exp2_test): Likewise.
83910         (expm1_test): Likewise.
83911         (lgamma_test): Likewise.
83912         (log_test): Likewise.
83913         (log10_test): Likewise.
83914         (log1p_test): Likewise.
83915         (log2_test): Likewise.
83916         (pow_test): Do not allow some spurious overflow exceptions.
83917         (sqrt_test): Add more tests.
83918         (tgamma_test): Likewise.
83919         (y0_test): Likewise.
83920         (y1_test): Likewise.
83921         (yn_test): Likewise.
83923 2012-03-27  Anton Blanchard  <anton@samba.org>
83925         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
83926         MAP_HUGETLB.
83927         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83928         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83929         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83931 2012-03-27  David S. Miller  <davem@davemloft.net>
83933         * conform/Makefile: Run run-conformtest.sh using $(BASH).
83935         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
83936         have-as-vis3 check.
83938 2012-03-27  Andreas Jaeger  <aj@suse.de>
83940         * sysdeps/x86_64/elf/configure.in: Moved to ...
83941         * sysdeps/x86_64/configure.in: ... here.
83942         * sysdeps/x86_64/elf/start.S: Moved to ...
83943         * sysdeps/x86_64/start.S: ... here.
83944         * sysdeps/x86_64/elf/configure: Delete.
83946         * sysdeps/x86_64/configure.in: Merge contents from
83947         sysdeps/i386/configure.in (without i686 check).
83949         * sysdeps/i386/elf/Versions: Merge into ...
83950         * sysdeps/i386/Versions: ... this.
83951         * sysdeps/i386/elf/Versions: Delete file.
83952         * sysdeps/i386/elf/start.S: Moved to ...
83953         * sysdeps/i386/start.S: ...here.
83954         * sysdeps/i386/elf/configure.in: Merge into...
83955         * sysdeps/i386/configure.in: ...here.
83956         * sysdeps/i386/elf/configure.in: Delete file.
83957         * sysdeps/i386/elf/configure: Delete file.
83959         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
83960         * debug/backtracesyms.c: ... here.
83961         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
83962         * debug/backtracesymsfd.c: ... here.
83963         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
83964         * sysdeps/generic/ifunc-sel.h: ... here.
83966         * sysdeps/unix/i386/start.c: Delete file.
83967         * sysdeps/unix/sparc/start.c: Delete file.
83968         * sysdeps/unix/start.c: Delete file.
83970         * sysdeps/sh/elf/configure.in: Moved to ...
83971         * sysdeps/sh/configure.in: ... here.
83972         * sysdeps/sh/elf/start.S: Moved to ...
83973         * sysdeps/sh/start.S: ... here.
83974         * sysdeps/sh/elf/configure: Delete file.
83976         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
83977         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
83978         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
83979         * sysdeps/powerpc/powerpc64/entry.h: ... here.
83980         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
83981         * sysdeps/powerpc/powerpc64/start.S: here.
83982         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
83983         * sysdeps/powerpc/powerpc64/Makefile: ... this.
83984         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
83985         * sysdeps/powerpc/powerpc64/configure.in: ... this.
83986         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
83988         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
83989         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
83990         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
83991         * sysdeps/powerpc/powerpc32/start.S: ... here.
83992         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
83993         * sysdeps/powerpc/powerpc32/configure.in: ... this.
83994         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
83996         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
83997         * sysdeps/powerpc/ifunc-sel.h: ... here.
83998         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
83999         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
84001         * sysdeps/sparc/elf/configure.in: Moved to ...
84002         * sysdeps/sparc/configure.in: ... here.
84003         * sysdeps/sparc/elf/configure: Delete file.
84004         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
84005         * sysdeps/sparc/sparc32/start.S: ... here.
84006         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
84007         * sysdeps/sparc/sparc64/start.S: ... here.
84008         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
84009         * sysdeps/sparc/sparc32/Makefile: ... this.
84010         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
84011         * sysdeps/sparc/sparc64/Makefile: ... this.
84013         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
84014         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
84015         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
84016         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
84017         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
84018         * sysdeps/s390/s390-32/setjmp.S: ... here.
84019         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
84020         * sysdeps/s390/s390-32/configure.in: ... here.
84021         * sysdeps/s390/s390-32/elf/configure: Delete file.
84022         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
84023         * sysdeps/s390/s390-32/start.S: ... here.
84025         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
84026         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
84027         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
84028         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
84029         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
84030         * sysdeps/s390/s390-64/setjmp.S: ... here.
84031         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
84032         * sysdeps/s390/s390-64/configure.in: ... here
84033         * sysdeps/s390/s390-64/elf/configure: Delete file.
84034         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
84035         * sysdeps/s390/s390-64/start.S: ... here.
84036         * sysdeps/s390/s390-64/elf/configure: Delete.
84038         * configure.in: Remove support for elf directories in sysdeps.
84040         * configure: Regenerated.
84041         * sysdeps/i386/configure: Regenerated.
84042         * sysdeps/powerpc/powerpc32/configure: Regenerated.
84043         * sysdeps/powerpc/powerpc64/configure: Regenerated.
84044         * sysdeps/s390/s390-32/configure: Regenerated.
84045         * sysdeps/s390/s390-64/configure: Regenerated.
84046         * sysdeps/sh/configure: Regenerated.
84047         * sysdeps/sparc/configure: Regenerated.
84048         * sysdeps/x86_64/configure: Regenerated.
84050 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
84052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84054         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
84055         denormal result into account.
84057 2012-03-25  Roland McGrath  <roland@hack.frob.com>
84059         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
84060         Reported by Allan McRae <allan@archlinux.org>.
84062 2012-03-23  Jeff Law  <law@redhat.com>
84064         * nss/getnssent.c (__nss_getent): Fix typo.
84066 2012-03-23  David S. Miller  <davem@davemloft.net>
84068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84070 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
84072         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
84073         to pad to uint64_t for each field.
84074         (dl_tls_index): Replace unsigned long with uint64_t.
84076 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
84077         Paul Pluzhnikov  <ppluzhnikov@google.com>
84079         [BZ #6528]
84080         * grp/Makefile (otherlibs): Don't set it.
84081         * inet/Makefile (otherlibs): Likewise.
84082         * login/Makefile (otherlibs): Likewise.
84083         * nscd/Makefile (otherlibs): Likewise.
84084         * posix/Makefile (otherlibs): Likewise.
84085         * pwd/Makefile (otherlibs): Likewise.
84086         * rt/Makefile (otherlibs): Likewise.
84087         * sunrpc/Makefile (otherlibs): Likewise.
84088         * nss/Makefile (otherlibs): Likewise.
84089         Add libnss_files to routines and static-only-routines.
84090         ($(objpfx)getent): Remove rule.
84091         * resolv/Makefile: Add libnss_dns and libresolv to routines and
84092         static-only-routines.
84094 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
84096         [BZ #13892]
84097         * math/s_cexp.c: Include <float.h>.
84098         (__cexp): Handle exp result overflowing not necessarily
84099         overflowing both real and imaginary parts of result.
84100         * math/s_cexpf.c: Likewise.
84101         * math/s_cexpl.c: Likewise.
84102         * math/libm-test.inc (cexp_test): Add more tests.
84103         * sysdeps/i386/fpu/libm-test-ulps: Update.
84104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84106 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84108         * include/link.h (ELFW): New macro.
84109         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
84110         Replace ELF64_R_TYPE with ELFW(R_TYPE).
84112 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84114         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
84115         with uint64_t.
84117 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84119         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
84120         declaration.
84121         (struct La_x32_retval): Likewise.
84123 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84125         * sysdeps/x86_64/preconfigure.in: New file.
84126         * sysdeps/x86_64/preconfigure: New generated file.
84128 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
84130         [BZ #13824]
84131         * math/e_exp2l.c: Include <float.h>.
84132         (__ieee754_exp2l): Handle overflow and underflow cases
84133         separately.  Only pass fractional part of argument to
84134         __ieee754_expl.
84135         * math/libm-test.inc (exp2_test): Add more tests.
84137         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
84138         negating x to take absolute value.
84139         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
84140         Likewise.
84141         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
84142         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
84143         Likewise.
84144         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
84145         computing low part if x was negated.
84146         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
84148 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84150         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
84151         la_x32_gnu_pltexit.
84152         (pltexit): Cast int_retval to ptrdiff_t.
84153         * elf/tst-auditmod3b.c: Likewise.
84154         * elf/tst-auditmod4b.c: Likewise.
84155         * elf/tst-auditmod5b.c: Likewise.
84156         * elf/tst-auditmod6b.c: Likewise.
84157         * elf/tst-auditmod6c.c: Likewise.
84158         * elf/tst-auditmod7b.c: Likewise.
84160         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
84161         and x32_gnu_pltexit.
84163         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
84164         __ELF_NATIVE_CLASS.
84165         (La_x32_regs): New macro.
84166         (La_x32_retval): Likewise.
84167         (la_x32_gnu_pltenter): New function prototype.
84168         (la_x32_gnu_pltexit): Likewise.
84170 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
84172         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
84173         exponent.
84175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84177         * configure.in (libc_cv_cc_nofma): Check for option to disable
84178         generation of FMA instructions.
84179         * configure: Regenerate.
84180         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
84181         * sysdeps/ieee754/dbl-64/Makefile: New file.
84182         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
84183         Remove brandred-fma4.
84184         (CFLAGS-brandred-fma4.c): Remove.
84185         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
84186         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
84187         define.
84188         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
84189         define.
84191 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84193         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
84194         LLONG_MAX != LONG_MAX.
84195         (_itoa_word): Use _ITOA_WORD_TYPE on value.
84196         (_fitoa_word): Likewise.
84197         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
84198         LLONG_MAX != LONG_MAX.
84199         * stdio-common/_itowa.h: Include <_itoa.h>.
84200         (_itowa_word): Use _ITOA_WORD_TYPE on value.
84201         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
84202         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
84203         only if not defined.
84204         (_ITOA_WORD_TYPE): Likewise.
84205         (_itoa_word): Use _ITOA_WORD_TYPE on value.
84206         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
84208 2012-03-21  David S. Miller  <davem@davemloft.net>
84210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84212 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84214         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
84215         of x86_64 when setting libc_cv_slibdir, libdir and
84216         libc_cv_localedir.
84217         * sysdeps/unix/sysv/linux/configure: Regenerated.
84219 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84221         * manual/lang.texi (Old Varargs): Remove section.
84222         (How Variadic): Update menu.
84223         (va_start): Do not mention varargs.h.
84225 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
84226             Joseph Myers  <joseph@codesourcery.com>
84228         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
84229         link test.
84230         * configure: Regenerated.
84232 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
84234         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
84235         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
84236         conformtest.pl
84238 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84240         * NOTES: Remove.
84241         * Makefile (files-for-dist): Remove NOTES.
84242         (NOTES): Remove rule.
84243         * README: Don't refer to NOTES.
84244         * manual/creature.texi: Don't include macros.texi.
84245         * manual/intro.texi (creature.texi): Remove comment referring to
84246         NOTES.
84248         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
84249         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
84250         * configure: Regenerated.
84251         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
84252         LIBC_TRY_CC_OPTION.
84253         (libc_cv_as_i686): Likewise.
84254         (libc_cv_cc_avx): Likewise.
84255         (libc_cv_cc_sse2avx): Likewise.
84256         (libc_cv_cc_fma4): Likewise.
84257         (libc_cv_cc_novzeroupper): Likewise.
84258         * sysdeps/i386/configure: Regenerated.
84260         [BZ #13883]
84261         * sysdeps/i386/fpu/s_cexp.S: Remove.
84262         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
84263         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
84264         * math/libm-test.inc (cexp_test): Add more tests.
84265         * sysdeps/i386/fpu/libm-test-ulps: Update.
84266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84268 2012-03-21  Allan McRae  <allan@archlinux.org>
84270         * timezone/Makefile: Do not install iso3166.tab and zone.tab
84272 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84274         [BZ #13871]
84275         * math/w_exp2.c: Do not include <float.h>.
84276         (o_threshold, u_threshold): Remove.
84277         (__exp2): Calculate result before checking finiteness and calling
84278         __kernel_standard.
84279         * math/w_exp2f.c: Likewise.
84280         * math/w_exp2l.c: Likewise.
84281         * math/libm-test.inc (exp2_test): Require overflow exception for
84282         1e6 input.
84284         [BZ #3866]
84285         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
84286         range of signed 64-bit integers before using fistpll.  Remove
84287         checks for whether integers fit in mantissa bits.
84288         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
84289         the range of signed 32-bit integers before using fistpl.  Remove
84290         checks for whether integers fit in mantissa bits.
84291         * sysdeps/i386/fpu/e_powl.S (p64): New object.
84292         (__ieee754_powl): Test for y outside the range of signed 64-bit
84293         integers before using fistpll.  Reduce 64-bit values to 63-bit
84294         ones as needed.
84295         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
84296         divide-by-zero is raised for zero to large negative powers.
84297         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
84298         (__ieee754_powl): Test for y outside the range of signed 64-bit
84299         integers before using fistpll.  Reduce 64-bit values to 63-bit
84300         ones as needed.
84301         * math/libm-test.inc (pow_test): Add more tests.
84303 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84305         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
84306         <stdio-common/_itoa.h>.
84307         * debug/segfault.c: Likewise.
84308         * elf/dl-cache.c: Likewise.
84309         * elf/dl-minimal.c: Likewise.
84310         * elf/dl-misc.c: Likewise.
84311         * elf/dl-sysdep.c: Likewise.
84312         * elf/dl-version.c: Likewise.
84313         * elf/rtld.c: Likewise.
84314         * hurd/hurdsock.c: Likewise.
84315         * hurd/lookup-retry.c: Likewise.
84316         * malloc/malloc.c: Likewise.
84317         * malloc/mtrace.c: Likewise.
84318         * nscd/nscd_getgr_r.c: Likewise.
84319         * nscd/nscd_getpw_r.c: Likewise.
84320         * nscd/nscd_getserv_r.c: Likewise.
84321         * posix/getopt_init.c: Likewise.
84322         * posix/wordexp.c: Likewise.
84323         * stdio-common/_itoa.c: Likewise.
84324         * stdio-common/printf_fphex.c: Likewise.
84325         * stdio-common/vfprintf.c: Likewise.
84326         * string/_strerror.c: Likewise.
84327         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
84328         * sysdeps/i386/i686/hp-timing.h: Likewise.
84329         * sysdeps/mach/_strerror.c: Likewise.
84330         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
84331         * sysdeps/mach/hurd/sethostid.c: Likewise.
84332         * sysdeps/mach/hurd/xmknodat.c: Likewise.
84333         * sysdeps/mach/xpg-strerror.c: Likewise.
84334         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
84335         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
84336         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
84337         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
84338         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
84339         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
84340         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
84341         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
84342         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
84343         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
84344         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
84345         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
84346         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
84347         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
84348         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
84349         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
84350         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
84351         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
84352         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
84353         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
84354         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
84356         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
84358         * stdio-common/_itoa.h: Moved to ...
84359         * sysdeps/generic/_itoa.h: Here.
84361         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
84363         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
84364         instead of "_itoa.h" and "_itowa.h".
84365         * stdio-common/vfprintf.: Likewise.
84367 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84369         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
84370         <bits/wordsize.h>.
84371         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
84372         (__signbit): Likewise.
84373         (llrintf): Likewise.
84374         (llrint): Likewise.
84376 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84378         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
84379         __WORDSIZE != 64.
84381 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
84383         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
84384         OVERFLOW_EXCEPTION_OK.
84385         * math/libm-test.inc ("Philosophy"): Update comment about
84386         exception testing.
84387         (OVERFLOW_EXCEPTION): Define.
84388         (OVERFLOW_EXCEPTION_OK): Likewise.
84389         (INVALID_EXCEPTION_OK): Renumber.
84390         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
84391         (IGNORE_ZERO_INF_SIGN): Likewise.
84392         (test_exceptions): Handle FE_OVERFLOW.
84393         (exp10_test): Expect overflow exceptions.
84394         (exp2_test): Likewise.
84395         (expm1_test): Likewise.
84396         (nextafter_test): Likewise.
84397         (pow_test): Likewise.
84398         (scalbn_test): Likewise.
84399         (scalbln_test): Likewise.
84401 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84403         * sysdeps/x86_64/bits/atomic.h
84404         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
84405         64bit integer.
84406         (atomic_exchange_acq): Likewise.
84407         (__arch_exchange_and_add_body): Likewise.
84408         (__arch_add_body): Likewise.
84409         (atomic_add_negative): Likewise.
84410         (atomic_add_zero): Likewise.
84412 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84414         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
84415         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
84417 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84419         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
84420         Check __x86_64__ instead of __WORDSIZE.
84422 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84424         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
84426 2012-03-19  David S. Miller  <davem@davemloft.net>
84428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84430         * sysdeps/sparc/fpu/fenv_private.h: New file.
84431         * sysdeps/sparc/fpu/math_private.h: Use it.
84432         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
84433         Remove.
84434         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
84435         (libc_feholdexcept_setroundl): Remove.
84436         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
84437         Remove.
84438         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
84439         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
84441 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84443         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
84444         int64_t instead of long int.
84445         (INSERT_WORDS64): Likewise.
84447 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84449         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
84450         _Unwind_GetCFA return to _Unwind_Ptr first.
84452 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
84454         [BZ #13629]
84455         * math/s_clog.c: Include <float.h>.
84456         (__clog): Scale large or subnormal inputs.
84457         * math/s_clogf.c: Likewise.
84458         * math/s_clogl.c: Likewise.
84459         * math/s_clog10.c: Include <float.h>.
84460         (M_LOG10_2): Define.
84461         (__clog10): Scale large or subnormal inputs.
84462         * math/s_clog10f.c: Likewise.
84463         * math/s_clog10l.c: Likewise.
84464         * math/libm-test.inc (clog_test): Add more tests.
84465         (clog10_test): Likewise.
84466         * sysdeps/i386/fpu/libm-test-ulps: Update.
84467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84469         [BZ #11451]
84470         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
84471         x and y.
84472         * math/libm-test.inc (atan2_test): Add another test.
84474         * Makerules (common-objdir-compile): Remove.
84475         * sysdeps/unix/Makefile (config-generated): Do not add
84476         $(unix-generated) to variable.
84477         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
84478         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
84479         Remove rule.
84480         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
84481         Likewise.
84482         [generic bits/local_lim.h] (before-compile): Do not append to
84483         variable.
84484         [generic bits/local_lim.h] (common-generated): Likewise.
84485         [generic sys/param.h] (before-compile): Do not append to variable.
84486         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
84487         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
84488         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
84489         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
84490         include.
84491         [generic sys/param.h] (sys/param.h-includes): Remove variable.
84492         [generic sys/param.h] (sys/param.h-includes): Remove rule.
84493         [generic sys/param.h] ($(addprefix
84494         $(common-objpfx),$(sys/param.h-includes))): Likewise.
84495         [generic sys/param.h] (common-generated): Do not append to
84496         variable.
84497         [generic sys/param.h] (sysdep_headers): Likewise.
84498         [generic bits/errno.h] (before-compile): Do not append to
84499         variable.
84500         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
84501         rule.
84502         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
84503         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
84504         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
84505         [generic bits/errno.h] (common-generated): Do not append to
84506         variable.
84507         [generic bits/ioctls.h] (before-compile): Do not append to
84508         variable.
84509         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
84510         rule.
84511         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
84512         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
84513         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
84514         rule.
84515         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
84516         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
84517         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
84518         [generic bits/ioctls.h] (common-generated): Do not append to
84519         variable.
84520         [generic sys/syscall.h] (syscall.h): Remove variable.
84521         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
84522         rule.
84523         [generic sys/syscall.h] (before-compile): Do not append to
84524         variable.
84525         [generic sys/syscall.h] (common-generated): Likewise.
84526         * sysdeps/unix/errnos-tmpl.c: Remove file.
84527         * sysdeps/unix/errnos.awk: Likewise.
84528         * sysdeps/unix/ioctls-tmpl.c: Likewise.
84529         * sysdeps/unix/ioctls.awk: Likewise.
84530         * sysdeps/unix/mk-local_lim.c: Likewise.
84531         * sysdeps/unix/snarf-ioctls: Likewise.
84533 2012-03-19  Richard Henderson  <rth@twiddle.net>
84535         * sysdeps/i386/fpu/fenv_private.h: New file.
84536         * sysdeps/i386/fpu/math_private.h: Use it.
84537         (math_opt_barrier, math_force_eval): Remove.
84538         (libc_feholdexcept_setround_53bit): Remove.
84539         (libc_feupdateenv_53bit): Remove.
84540         * sysdeps/x86_64/fpu/math_private.h: Likewise.
84541         (math_opt_barrier, math_force_eval): Remove.
84542         (libc_feholdexcept): Remove.
84543         (libc_feholdexcept_setround): Remove.
84544         (libc_fetestexcept, libc_fesetenv): Remove.
84545         (libc_feupdateenv_test): Remove.
84546         (libc_feupdateenv, libc_feholdsetround): Remove.
84547         (libc_feresetround): Remove.
84549         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
84550         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
84552         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
84553         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
84554         (libc_feupdateenv_testl): New.
84555         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
84556         (libc_feupdateenv_testf): New.
84557         (libc_feupdateenv): Use libc_feupdateenv_test.
84558         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
84559         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
84561         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
84562         (libc_feholdsetroundf, libc_feholdsetroundl): New.
84563         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
84564         (libc_feresetround_noex): New.
84565         (libc_feresetround_noexf): New.
84566         (libc_feresetround_noexl): New.
84567         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
84568         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
84569         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
84570         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
84571         SET_RESTORE_ROUND.
84572         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
84573         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
84574         (__cos): Likewise.
84575         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
84576         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
84577         SET_RESTORE_ROUND_NOEX.
84578         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
84579         SET_RESTORE_ROUND_NOEXF.
84580         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
84581         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
84582         (libc_feholdsetroundf): New.
84583         (libc_feresetround, libc_feresetroundf): New.
84585         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
84586         (libc_feholdexcept_setround_53bit): Convert from macro to function.
84587         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
84589         * sysdeps/generic/math_private.h: Include <fenv.h>.
84590         (default_libc_feholdexcept): New.
84591         (default_libc_feholdexcept_setround): New.
84592         (default_libc_fesetenv, default_libc_feupdateenv): New.
84593         (libc_feholdexcept): Only define if undefined.
84594         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
84595         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
84596         (libc_feholdexcept_setroundl): Likewise.
84597         (libc_feholdexcept_setround_53bit): Likewise.
84598         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
84599         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
84600         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
84601         (libc_feupdateenv_53bit): Likewise.
84602         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
84603         (libc_feholdexcept): Convert from macro to inline function.
84604         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
84605         (libc_fesetenv, libc_feupdateenv): Likewise.
84607         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
84608         not previously defined.
84609         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
84610         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
84611         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
84612         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
84613         * sysdeps/ieee754/flt-32/math_private.h: New file.
84614         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
84615         math_private.h below SET_FLOAT_WORD.
84616         (__isnan, __isinf_ns, __finite): Remove.
84617         (__isnanf, __isinf_nsf, __finitef): Remove.
84619 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
84621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84623 2012-03-17  David S. Miller  <davem@davemloft.net>
84625         [BZ #6471]
84626         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
84627         for 2.16.
84629 2012-03-16  David S. Miller  <davem@davemloft.net>
84631         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
84632         warnings.
84634         [BZ #6471]
84635         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
84636         properly.
84637         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
84638         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
84639         sysdep_routines when subdir is sysvipc.
84640         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
84641         __getshmlba helper.
84643         * sysdeps/sparc/fpu/libm-test/ulps: Update.
84645 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84647         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
84648         [__LP64__].
84650 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84652         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
84653         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
84654         (__lround): Renamed to ...
84655         (__llround): This.  Replace long int with long long int.
84656         Define lround functions as aliases of llround functions.
84657         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
84659 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84661         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
84662         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
84663         adresses to uintptr_t.  Replace "long int" and "unsigned long
84664         int" with "greg_t" on va_arg.
84666 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84668         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
84669         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
84671         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
84672         Move e_machine check before EI_CLASS check.  Handle x32
84673         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
84674         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
84675         SKIP_EM_IA_64 and include
84676         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
84678         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
84679         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
84680         (add_system_dir): New macro.
84682         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
84683         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
84685 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84687         [BZ #2551]
84688         [BZ #2552]
84689         [BZ #2553]
84690         [BZ #2554]
84691         [BZ #2562]
84692         [BZ #2563]
84693         [BZ #2565]
84694         [BZ #2566]
84695         [BZ #2576]
84696         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
84697         (y0): Likewise.
84698         * math/w_j0f.c (j0f): Likewise.
84699         (y0f): Likewise.
84700         * math/w_j0l.c (__j0l): Likewise.
84701         (__y0l): Likewise.
84702         * math/w_j1.c (j1): Likewise.
84703         (y1): Likewise.
84704         * math/w_j1f.c (j1f): Likewise.
84705         (y1f): Likewise.
84706         * math/w_j1l.c (__j1l): Likewise.
84707         (__y1l): Likewise.
84708         * math/w_jn.c (jn): Likewise.
84709         (yn): Likewise.
84710         * math/w_jnf.c (jnf): Likewise.
84711         (ynf): Likewise.
84712         * math/w_jnl.c (__jnl): Likewise.
84713         (__ynl): Likewise.
84714         * math/libm-test.inc (j0_test): Add more tests.
84715         (j1_test): Likewise.
84716         (jn_test): Likewise.  Add trailing semicolon to existing test.
84717         (y0_test): Likewise.
84718         (y1_test): Likewise.
84719         * sysdeps/i386/fpu/libm-test-ulps: Update.
84720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84722         [BZ #13851]
84723         [BZ #13854]
84724         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
84725         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
84726         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
84727         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
84728         (__tanl): Set errno for infinite argument.
84729         * sysdeps/i386/fpu/mptan.c: Remove.
84730         * sysdeps/i386/fpu/s_tan.S: Likewise.
84731         * sysdeps/i386/fpu/s_tanl.S: Likewise.
84732         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
84733         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
84734         * math/libm-test.inc (tan_test): Add more tests and enable more
84735         tests for double and long double.
84736         * sysdeps/i386/fpu/libm-test-ulps: Update.
84737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84739 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
84741         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
84742         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
84744 2012-03-16  Roland McGrath  <roland@hack.frob.com>
84746         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
84747         * configure.in: Use it for both main tree and add-ons.
84748         * configure: Regenerated.
84750 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84752         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
84754 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84756         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
84757         in comment.
84759         [BZ #13851]
84760         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
84761         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
84762         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
84763         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
84764         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
84765         infinite argument.
84766         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
84767         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
84768         != 0 for prec == 2.
84769         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
84770         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
84771         * sysdeps/i386/fpu/s_cosl.S: Likewise.
84772         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
84773         * sysdeps/i386/fpu/s_sinl.S: Likewise.
84774         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
84775         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
84776         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
84777         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
84778         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
84779         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
84780         * math/libm-test.inc (cos_test): Add more tests and enable more
84781         tests for long double.
84782         (sin_test): Likewise.
84783         (sincos_test): Likewise.
84784         * sysdeps/i386/fpu/libm-test-ulps: Update.
84785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84787 2012-03-16  David S. Miller  <davem@davemloft.net>
84789         * sysdeps/sparc/fpu/math_private.h: New file.
84791 2012-03-15  David S. Miller  <davem@davemloft.net>
84793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
84794         file.
84795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
84796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
84797         file.
84798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
84799         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
84800         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
84801         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
84802         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
84803         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
84804         sysdep routines.
84805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84807         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
84808         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
84810         * sysdeps/sparc/sparc-ifunc.h: New file.
84811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
84812         sparc-ifunc.h
84813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
84814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
84815         Likewise.
84816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
84817         Likewise.
84818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
84819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
84820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
84822         Likewise.
84823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
84825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
84827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
84828         Likewise.
84829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
84830         Likewise.
84831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
84833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
84834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
84835         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
84836         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
84837         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
84838         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
84839         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
84840         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
84841         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
84842         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
84843         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
84844         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
84845         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
84846         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
84847         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
84848         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
84849         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
84850         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
84851         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
84852         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
84853         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
84854         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
84856 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
84858         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
84859         scaling.
84860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84862 2012-03-15  Andreas Jaeger  <aj@suse.de>
84864         [BZ #13852]
84865         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
84866         ieee754/flt-32 implementation for sin, cos and sincos.
84867         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
84868         * sysdeps/i386/fpu/s_cosf.S: Likewise.
84869         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
84870         * sysdeps/i386/fpu/s_sinf.S: Likewise.
84871         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
84872         ieee754/flt-32 implementation for tan.
84874         * math/libm-test.inc (cos_test): Enable some large input tests for
84875         float as well
84876         (sin_test): Likewise.
84877         (sincos_test): Likewise.
84878         (tan_test): Add tests for large input.
84880         * sysdeps/i386/fpu/libm-test-ulps: Update.
84882 2012-03-15  Andreas Jaeger  <aj@suse.de>
84884         [BZ #13658]
84885         * math/libm-test.inc (cos_test): Add more test cases.
84886         (sin_test): Likewise.
84887         (sincos_test): Likewise.
84889 2012-03-15  Andreas Jaeger  <aj@suse.de>
84891         [BZ #13837]
84892         * math/libm-test.inc (cos_test): Add a test case for large input
84893         value.
84894         (sin_test): Likewise.
84895         (sincos_test): Likewise.
84897 2012-03-15  Andreas Jaeger  <aj@suse.de>
84898             Joseph Myers  <joseph@codesourcery.com>
84900         [BZ #13658]
84901         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
84902         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
84903         * sysdeps/i386/fpu/branred.c: Likewise.
84904         * sysdeps/i386/fpu/dosincos.c: Likewise.
84905         * sysdeps/i386/fpu/mpa.c: Likewise.
84906         * sysdeps/i386/fpu/s_cos.S: Likewise.
84907         * sysdeps/i386/fpu/s_sin.S: Likewise.
84908         * sysdeps/i386/fpu/s_sincos.S: Likewise.
84909         * sysdeps/i386/fpu/sincos32.c: Likewise.
84911         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
84912         Define.
84913         (libc_feupdateenv_53bit): Define.
84914         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
84915         Define.
84916         (libc_feupdateenv_53bit): Define.
84918         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
84919         53 bit (without extend i386 double precision).
84921         * math/libm-test.inc (sincos_test): Add tests for large input.
84922         (sin): Likewise.
84923         (cos): Likewise.
84925         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
84927 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
84929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84931 2012-03-15  David S. Miller  <davem@davemloft.net>
84933         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
84934         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
84935         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
84936         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
84937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
84938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
84939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
84940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
84941         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
84942         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
84943         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
84944         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
84945         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
84946         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
84947         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
84948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
84949         file.
84950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
84951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
84952         file.
84953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
84954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
84955         file.
84956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
84957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
84958         file.
84959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
84960         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
84961         fmin/fmax sysdep routines.
84962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84964 2012-03-14  David S. Miller  <davem@davemloft.net>
84966         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
84967         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
84968         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
84969         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
84970         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
84971         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
84972         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
84973         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
84974         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
84975         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
84976         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
84977         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
84978         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
84979         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
84980         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
84981         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
84982         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
84983         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
84984         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
84985         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
84986         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
84987         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
84988         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
84989         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
84990         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
84991         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
84992         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
84993         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
84994         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
84995         routines.
84996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
84997         file.
84998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
84999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
85000         file.
85001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
85002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
85003         file.
85004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
85005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
85006         file.
85007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
85008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
85009         file.
85010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
85011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
85012         file.
85013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
85014         file.
85015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
85016         file.
85017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
85018         file.
85019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
85020         New file.
85021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
85022         file.
85023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
85024         file.
85025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
85026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
85027         file.
85028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
85029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
85030         file.
85031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
85032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
85033         file.
85034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
85035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
85036         VIS3 routines.
85038         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
85039         New file.
85041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85043         * sysdeps/sparc/configure.in: New file.
85044         * sysdeps/sparc/configure: Generate.
85045         * configure.in (libc_cv_sparc_as_vis3): Substitute.
85046         * configure: Regenerate.
85047         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
85048         * config.make.in (have-as-vis3): New.
85049         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
85050         available use -Av9d instead of -Av9a.
85051         * sysdeps/sparc/sparc64/Makefile: Likewise.
85052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
85053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
85054         New file.
85055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
85056         file.
85057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
85058         New file.
85059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
85060         file.
85061         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
85062         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
85063         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
85064         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
85065         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
85067         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
85068         fzeros/fnegs to load 0x80000000 into a float register instead of
85069         using the stack.
85070         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
85072 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
85074         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85075         bits/syscall.h.
85076         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
85077         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
85078         ($(inst_includedir)/bits/syscall.h): Remove rule.
85079         ($(objpfx)bits/syscall.d): Include instead of
85080         $(objpfx)syscall-list.d.
85081         (generated): Change syscall-list.h and syscall-list.d to
85082         bits/syscall.h and bits/syscall.d.
85084 2012-03-14  Roland McGrath  <roland@hack.frob.com>
85086         [BZ #13846]
85087         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
85089 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
85091         [BZ #13841]
85092         * math/s_csqrt.c: Include <float.h>.
85093         (__csqrt): Scale large or subnormal inputs.
85094         * math/s_csqrtf.c: Likewise.
85095         * math/s_csqrtl.c: Likewise.
85096         * math/libm-test.inc (csqrt_test): Add more tests.
85097         * sysdeps/i386/fpu/libm-test-ulps: Update.
85098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85100         [BZ #13840]
85101         * math/libm-test.inc (hypot_test): Add more tests.
85103 2012-03-13  David S. Miller  <davem@davemloft.net>
85105         [BZ #13840]
85106         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
85107         double-precision for the calculation instead of scaling.
85109 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
85111         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
85112         manipulate bits before adding and subtracting TWO52[sx].
85113         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
85114         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
85115         Likewise.
85116         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
85118 2012-03-13  David S. Miller  <davem@davemloft.net>
85120         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
85121         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
85122         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
85123         rtld-global-offsets.h
85124         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85126         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
85127         large parameters.
85129         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
85131         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
85132         'err' in the ifdef scope in which it is actually used.
85134         * nss/nss_db/db-init.c: Include string.h
85136 2012-03-12  David S. Miller  <davem@davemloft.net>
85138         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
85139         masking out of the most significant byte of random value used.
85140         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85141         Fix coding style in previous change.
85143         * sysdeps/unix/sysv/linux/kernel-features.h
85144         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
85145         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
85146         expression.
85147         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
85148         later.
85150 2012-03-11  David S. Miller  <davem@davemloft.net>
85152         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
85153         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
85154         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
85155         for 'resultvar' otherwise things get truncated on 64-bit.
85157         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85158         Fix masking out of the most significant byte of random value used.
85160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85162 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
85164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85166 2012-03-09  David S. Miller  <davem@davemloft.net>
85168         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
85169         variables with appropriate CPP guards.
85170         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
85171         from the frame pointer, not the stack pointer.  Correct layout
85172         comments.  Fix test on resulting framesize and the management of
85173         the outregs buffer for pltexit.  Preserve floating point return
85174         values across _dl_call_pltexit call.
85175         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
85176         framesize and the management of the outregs buffer for pltexit.
85177         Preserve floating point return values across _dl_call_pltexit
85178         call.
85179         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
85180         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
85181         (la_sparc64_gnu_pltexit): New functions.
85182         (print_exit): Fix format string for return register value.
85184 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
85186         * sunrpc/Makefile (others): Add rpcgen.
85187         ($(objpfx)rpcgen): Remove special build rule and dependency on
85188         libc.
85189         * sunrpc/rpcgen.c: New file.
85191 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
85193         [BZ #13673]
85194         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
85195         * stdio-common/bug-vfprintf-nargs.c: Likewise.
85196         * sysdeps/i386/crti.S: Likewise.
85197         * sysdeps/i386/crtn.S: Likewise.
85198         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
85199         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
85200         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
85201         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
85202         * sysdeps/sh/crti.S: Likewise.
85203         * sysdeps/sh/crtn.S: Likewise.
85204         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
85206         [BZ #13673]
85207         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
85208         with URL.
85209         * locale/programs/locfile-kw.gperf: Likewise.
85210         * locale/programs/charmap-kw.h: Regenerated.
85211         * locale/programs/locfile-kw.h: Likewise.
85213         [BZ #13673]
85214         * intl/plural.y: Replace FSF snail mail address with URL.
85215         * intl/plural.c: Regenerated.
85217 2012-03-09  Richard Henderson  <rth@twiddle.net>
85219         * include/math_private.h: Remove file.
85220         * math/math_private.h: Move file ...
85221         * sysdeps/generic/math_private.h: ... here.
85223         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
85224         * sysdeps/powerpc/fpu/math_private.h: Likewise.
85225         * sysdeps/x86_64/fpu/math_private.h: Likewise.
85227         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
85228         and <math_private.h>.
85229         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85230         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85231         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85232         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85233         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85234         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
85235         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
85236         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85237         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85238         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85239         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85240         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85241         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85242         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85243         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85244         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85245         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85246         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85247         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85248         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85249         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85250         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85251         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85252         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85253         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
85254         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85255         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85256         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85257         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85258         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85259         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85260         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85261         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
85262         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
85263         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85264         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85265         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
85266         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85267         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85268         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85269         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
85270         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85271         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85272         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
85273         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
85274         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85275         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
85276         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
85277         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
85278         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85279         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
85280         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
85281         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
85282         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85283         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
85284         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85285         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85286         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
85287         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
85288         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
85289         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
85290         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
85291         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85292         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85293         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
85294         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
85295         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
85296         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
85297         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
85298         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
85299         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
85300         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85301         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
85302         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85303         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
85304         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
85305         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
85306         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85307         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
85308         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
85309         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
85310         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
85311         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
85312         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85313         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
85314         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
85315         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
85316         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
85317         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85318         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85319         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85320         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85321         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85322         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85323         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85324         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85325         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85326         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85327         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85328         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85329         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85330         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85331         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85332         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85333         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85334         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85335         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85336         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85337         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85338         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85339         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85340         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85341         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85342         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85343         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
85344         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85345         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85346         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85347         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85348         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
85349         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85350         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85351         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85352         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
85353         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85354         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85355         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85356         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
85357         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85358         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
85359         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
85360         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
85361         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85362         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
85363         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
85364         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
85365         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
85366         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85367         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
85368         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
85369         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85370         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
85371         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
85372         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
85373         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
85374         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85375         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85376         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85377         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
85378         * sysdeps/ieee754/k_standard.c: Likewise.
85379         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85380         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85381         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85382         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85383         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85384         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85385         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85386         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85387         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85388         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85389         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85390         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85391         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85392         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85393         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85394         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85395         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
85396         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85397         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85398         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
85399         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
85400         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
85401         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85402         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85403         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
85404         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
85405         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85406         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85407         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85408         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85409         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
85410         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85411         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85412         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85413         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
85414         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85415         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85416         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
85417         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
85418         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85419         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
85420         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
85421         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
85422         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85423         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
85424         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
85425         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85426         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85427         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85428         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85429         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85430         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
85431         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85432         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
85433         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
85434         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
85435         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
85436         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
85437         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
85438         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
85439         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
85440         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
85441         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
85442         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85443         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85444         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85445         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85446         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85447         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85448         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85449         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85450         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85451         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85452         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85453         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85454         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85455         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
85456         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85457         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85458         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
85459         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
85460         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
85461         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
85462         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
85463         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
85464         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
85465         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
85466         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
85467         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
85468         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
85469         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
85470         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
85471         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
85472         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
85473         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
85474         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
85475         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
85476         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
85477         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
85478         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
85479         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
85480         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
85481         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
85482         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
85483         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
85484         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
85485         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
85486         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
85487         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
85488         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
85489         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
85490         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
85491         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85492         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85493         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85494         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85495         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85496         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85497         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85498         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85499         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85500         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85501         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85502         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85503         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85504         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
85505         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
85506         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
85507         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
85508         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
85509         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
85510         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
85511         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
85512         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
85513         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
85514         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
85515         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
85516         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
85517         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
85518         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
85519         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
85520         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
85521         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
85522         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
85523         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
85524         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
85525         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
85526         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
85527         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
85528         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
85529         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
85530         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
85531         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
85532         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
85533         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
85534         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
85535         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
85536         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
85537         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
85538         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
85539         * sysdeps/ieee754/s_lib_version.c: Likewise.
85540         * sysdeps/ieee754/s_matherr.c: Likewise.
85541         * sysdeps/ieee754/s_signgam.c: Likewise.
85542         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85543         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85544         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
85545         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
85546         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
85547         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
85548         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
85549         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
85550         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
85551         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
85552         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
85553         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
85554         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
85555         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
85556         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
85557         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
85558         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
85559         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
85560         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
85561         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
85562         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
85564 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
85566         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
85567         * sunrpc/rpc_main.c: Likewise.
85568         * sunrpc/rpc_svcout.c: Likewise.
85570 2012-03-09  David S. Miller  <davem@davemloft.net>
85572         * include/math_private.h: New file.
85574 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
85576         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
85577         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
85578         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
85579         from <bits/socket_type.h>.
85580         (enum __socket_type): Don't define here.
85581         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
85582         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85583         bits/socket_type.h.
85585         [BZ #13566]
85586         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
85587         checking __USE_GNU.
85589         * Makerules ($(inst_includedir)/%.h): New rule.
85590         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
85591         (install-others): Remove variable setting.
85592         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
85594 2012-03-08  Richard Henderson  <rth@twiddle.net>
85596         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
85597         from macro to inline function; merge with the
85598         !__LIBC_INTERNAL_MATH_INLINES version.
85599         (__ieee754_sqrtf): Likewise.
85601         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
85602         to inline function.
85603         (__rintf, __floor, __floorf): Likewise.
85605         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
85606         macro to inline function.
85607         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
85609         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
85610         not <math/math_private.h>.
85612 2012-03-08  David S. Miller  <davem@davemloft.net>
85614         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
85615         copyright year.
85616         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
85618 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
85620         * resolv/gai_misc.c (handle_requests): Fix struct timespec
85621         normalization.
85622         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
85623         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
85625 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
85627         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
85628         be defined individually, they must be defined as a block.  Define
85629         S for printing a string instead of hidint the different by using a
85630         macro for adding the 'l'.
85631         * stdio-common/tst-fphex-wide.c: Adjust.
85633 2012-03-07  Marek Polacek  <polacek@redhat.com>
85635         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
85637 2012-03-08  Marek Polacek  <polacek@redhat.com>
85639         [BZ #13806]
85640         * stdio-common/Makefile (tests): Add tst-fphex-wide.
85641         * stdio-common/tst-fphex.c: Define a few macros to make the
85642         test reusable.  Use them.
85643         * stdio-common/tst-fphex-wide.c: New file.
85645 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
85647         [BZ #6911]
85648         * manual/macros.texi (gnusystems): New macro.
85649         (nongnusystems): Likewise.
85650         (gnulinuxhurdsystems): Likewise.
85651         (gnuhurdsystems): Likewise..
85652         (gnulinuxsystems): Likewise.
85653         * manual/charset.texi: Use new macros or @theglibc{} to refer to
85654         variants of the GNU system, not "GNU system".
85655         * manual/conf.texi: Likewise.
85656         * manual/errno.texi: Likewise.  Update example of errno macro
85657         expansion.
85658         * manual/filesys.texi: Likewise.
85659         (getumask): Document as specific to GNU/Hurd.
85660         * manual/install.texi: Likewise.  Reword some references to
85661         GNU/Linux.
85662         * manual/intro.texi: Likewise.
85663         * manual/io.texi: Likewise.
85664         (File Name Portability): Detail which constraints are inapplicable
85665         to all GNU systems and which are only inapplicable to GNU/Hurd.
85666         * manual/job.texi: Likewise.
85667         * manual/llio.texi: Likewise.
85668         (O_NOCTTY): Document as present on GNU/Linux.
85669         * manual/maint.texi: Likewise.
85670         * manual/memory.texi: Likewise.
85671         * manual/pattern.texi: Likewise.
85672         * manual/pipe.texi: Likewise.
85673         * manual/process.texi: Likewise.
85674         * manual/resource.texi: Likewise.
85675         (RUSAGE_CHILDREN): Remove statement about specifying a particular
85676         child on GNU/Hurd.
85677         * manual/setjmp.texi: Likewise.
85678         * manual/signal.texi: Likewise.
85679         * manual/startup.texi: Likewise.
85680         * manual/stdio.texi: Likewise.
85681         * manual/terminal.texi: Likewise.
85682         (ONLCR): Document as POSIX.
85683         (OXTABS): Document availability on GNU/Linux as XTABS.
85684         (ONOEOT): Document availability separately from other bits.
85685         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
85686         * manual/time.texi: Likewise.
85687         * manual/users.texi: Likewise.
85688         * INSTALL: Regenerated.
85689         * sysdeps/gnu/errlist.c: Regenerated.
85691         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
85692         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
85693         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
85694         puts.
85695         * configure: Regenerated.
85697 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
85699         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
85700         default includes instead of AC_HEADER_CHECK.
85701         * sysdeps/i386/configure: Regenerated.
85703         [BZ #10716]
85704         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
85705         * math/s_cacoshf.c (__cacoshf): Likewise.
85706         * math/s_cacoshl.c (__cacoshl): Likewise.
85707         * math/s_casinh.c (__casinh): Set signs of result from argument.
85708         * math/s_casinhf.c (__casinhf): Likewise.
85709         * math/s_casinhl.c (__casinhl): Likewise.
85710         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
85711         (casinh_test): Add more tests.
85712         * sysdeps/i386/fpu/libm-test-ulps: Update.
85713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85715 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
85717         * po/zh_TW.po: Update from translation team.
85719         * login/Makefile (distribute): Remove variable.
85720         * catgets/Makefile: Likewise.
85721         * mach/Makefile: Likewise.
85722         * malloc/Makefile: Likewise.
85723         * misc/Makefile: Likewise.
85724         * iconv/Makefile: Likewise.
85725         * nscd/Makefile: Likewise.
85726         * hurd/Makefile: Likewise.
85727         * manual/Makefile: Likewise.
85728         * locale/Makefile: Likewise.
85729         * intl/Makefile: Likewise.
85730         * conform/Makefile: Likewise.
85731         * nss/Makefile: Likewise.
85732         * time/Makefile: Likewise.
85733         * soft-fp/Makefile: Likewise.
85734         * dirent/Makefile: Likewise.
85735         * gmon/Makefile: Likewise.
85736         * po/Makefile: Likewise.
85737         * rt/Makefile: Likewise.
85738         * socket/Makefile: Likewise.
85739         * math/Makefile: Likewise.
85740         * signal/Makefile: Likewise.
85741         * debug/Makefile: Likewise.
85742         * elf/Makefile: Likewise.
85743         * timezone/Makefile: Likewise.
85744         * stdlib/Makefile: Likewise.
85745         * iconvdata/Makefile: Likewise.
85746         * sunrpc/Makefile: Likewise.
85747         * io/Makefile: Likewise.
85748         * argp/Makefile: Likewise.
85749         * inet/Makefile: Likewise.
85750         * hesiod/Makefile: Likewise.
85751         * grp/Makefile: Likewise.
85752         * csu/Makefile: Likewise.
85753         * wctype/Makefile: Likewise.
85754         * crypt/Makefile: Likewise.
85755         * libio/Makefile: Likewise.
85756         * string/Makefile: Likewise.
85757         * nis/Makefile: Likewise.
85758         * resolv/Makefile: Likewise.
85759         * stdio-common/Makefile: Likewise.
85760         * wcsmbs/Makefile: Likewise.
85761         * dlfcn/Makefile: Likewise.
85762         * posix/Makefile: Likewise.
85764         [BZ #6959]
85765         * timezone/Makefile: Don't install timezone files, just the programs
85766         and scripts.
85768 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
85770         * nss/databases.def: Add missing gshadow entry.
85772         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
85774 2012-03-06  Marek Polacek  <polacek@redhat.com>
85776         [BZ #13726]
85777         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
85778         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
85779         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
85780         * stdio-common/tst-long-dbl-fphex.c: New file.
85782 2012-03-06  David S. Miller  <davem@davemloft.net>
85784         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85785         (set_obp_int): New function.
85786         (get_obp_int): New function.
85787         (__get_clockfreq_via_dev_openprom): Likewise.
85788         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
85789         Avoid unused variable warnings on 'val' and use builtin_expect.
85790         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
85791         __builtin_expect.
85792         (INLINE_CLONE_SYSCALL): Likewise.
85794 2012-03-05  David S. Miller  <davem@davemloft.net>
85796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85798 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
85800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85802         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
85803         only for |x| >= 40.
85804         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85806 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
85808         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
85809         Replace gettimeofday with __vdso_gettimeofday.
85811         * sysdeps/unix/sysv/linux/x86_64/init-first.c
85812         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
85813         __vdso_clock_gettime and __vdso_getcpu.
85815         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
85816         time with __vdso_time.
85818 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85820         * manual/lang.texi (size_t): Note types to which size_t may be
85821         equivalent with the GNU C Library, but do not describe when
85822         differences between them are significant.
85824 2012-03-05  Andreas Jaeger  <aj@suse.de>
85826         * sysdeps/i386/fpu/libm-test-ulps: Update.
85828 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85830         [BZ #3976]
85831         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
85832         (__ieee754_pow): Save and restore rounding mode and use
85833         round-to-nearest for main computations.
85834         * math/libm-test.inc (pow_test_tonearest): New function.
85835         (pow_test_towardzero): Likewise.
85836         (pow_test_downward): Likewise.
85837         (pow_test_upward): Likewise.
85838         (main): Call the new functions.
85839         * sysdeps/i386/fpu/libm-test-ulps: Update.
85840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85842         [BZ #3976]
85843         * math/libm-test.inc (cosh_test_tonearest): New function.
85844         (cosh_test_towardzero): Likewise.
85845         (cosh_test_downward): Likewise.
85846         (cosh_test_upward): Likewise.
85847         (sinh_test_tonearest): Likewise.
85848         (sinh_test_towardzero): Likewise.
85849         (sinh_test_downward): Likewise.
85850         (sinh_test_upward): Likewise.
85851         (main): Call the new functions.
85852         * sysdeps/i386/fpu/libm-test-ulps: Update.
85853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85855 2012-03-05  Tom de Vries  <tom@codesourcery.com>
85857         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
85858         default stack guard is set in last bytes.
85859         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
85861 2012-03-05  Kees Cook  <keescook@chromium.org>
85863         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
85865         [BZ #13656]
85866         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
85867         possibly allocate from heap instead of stack.
85868         * stdio-common/bug-vfprintf-nargs.c: New file.
85869         * stdio-common/Makefile (tests): Add nargs overflow test.
85871 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
85873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85875 2012-03-03  Marek Polacek  <polacek@redhat.com>
85877         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
85878         * math/math_private.h: Likewise.
85879         * stdlib/tst-strtod.c: Likewise.
85880         * sysdeps/i386/i486/bits/atomic.h: Likewise.
85881         * sysdeps/x86_64/bits/atomic.h: Likewise.
85883 2012-03-02  David S. Miller  <davem@davemloft.net>
85885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
85886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
85887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
85888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
85889         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
85890         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
85891         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
85892         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
85894 2012-03-02  Roland McGrath  <roland@hack.frob.com>
85896         [BZ #13792]
85897         * manual/examples/README: New file, says the example source files
85898         can be used under GPL>=2.
85899         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
85900         line containing just "*/".
85901         * manual/examples/add.c: Add copyright header (GPL>=2).
85902         * manual/examples/argp-ex1.c: Likewise.
85903         * manual/examples/argp-ex2.c: Likewise.
85904         * manual/examples/argp-ex3.c: Likewise.
85905         * manual/examples/argp-ex4.c: Likewise.
85906         * manual/examples/atexit.c: Likewise.
85907         * manual/examples/db.c: Likewise.
85908         * manual/examples/dir.c: Likewise.
85909         * manual/examples/dir2.c: Likewise.
85910         * manual/examples/execinfo.c: Likewise.
85911         * manual/examples/filecli.c: Likewise.
85912         * manual/examples/filesrv.c: Likewise.
85913         * manual/examples/fmtmsgexpl.c: Likewise.
85914         * manual/examples/genpass.c: Likewise.
85915         * manual/examples/inetcli.c: Likewise.
85916         * manual/examples/inetsrv.c: Likewise.
85917         * manual/examples/isockad.c: Likewise.
85918         * manual/examples/longopt.c: Likewise.
85919         * manual/examples/memopen.c: Likewise.
85920         * manual/examples/memstrm.c: Likewise.
85921         * manual/examples/mkfsock.c: Likewise.
85922         * manual/examples/mkisock.c: Likewise.
85923         * manual/examples/mygetpass.c: Likewise.
85924         * manual/examples/pipe.c: Likewise.
85925         * manual/examples/popen.c: Likewise.
85926         * manual/examples/rprintf.c: Likewise.
85927         * manual/examples/search.c: Likewise.
85928         * manual/examples/select.c: Likewise.
85929         * manual/examples/setjmp.c: Likewise.
85930         * manual/examples/sigh1.c: Likewise.
85931         * manual/examples/sigusr.c: Likewise.
85932         * manual/examples/stpcpy.c: Likewise.
85933         * manual/examples/strdupa.c: Likewise.
85934         * manual/examples/strftim.c: Likewise.
85935         * manual/examples/strncat.c: Likewise.
85936         * manual/examples/subopt.c: Likewise.
85937         * manual/examples/swapcontext.c: Likewise.
85938         * manual/examples/termios.c: Likewise.
85939         * manual/examples/testopt.c: Likewise.
85940         * manual/examples/testpass.c: Likewise.
85941         * manual/examples/timeval_subtract.c: Likewise.
85943         [BZ #13792]
85944         * manual/time.texi (Elapsed Time): Move timeval_subtract example
85945         function to ...
85946         * manual/timeval_subtract.c.texi: ... here, new file.
85948 2012-03-02  David S. Miller  <davem@davemloft.net>
85950         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
85952 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
85954         [BZ #3976]
85955         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
85956         (__sin): Save and restore rounding mode and use round-to-nearest
85957         for all computations.
85958         (__cos): Save and restore rounding mode and use round-to-nearest
85959         for all computations.
85960         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
85961         <fenv.h>.
85962         (tan): Save and restore rounding mode and use round-to-nearest for
85963         all computations.
85964         * math/libm-test.inc (cos_test_tonearest): New function.
85965         (cos_test_towardzero): Likewise.
85966         (cos_test_downward): Likewise.
85967         (cos_test_upward): Likewise.
85968         (sin_test_tonearest): Likewise.
85969         (sin_test_towardzero): Likewise.
85970         (sin_test_downward): Likewise.
85971         (sin_test_upward): Likewise.
85972         (tan_test_tonearest): Likewise.
85973         (tan_test_towardzero): Likewise.
85974         (tan_test_downward): Likewise.
85975         (tan_test_upward): Likewise.
85976         (main): Call the new functions.
85977         * sysdeps/i386/fpu/libm-test-ulps: Update.
85978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85980         [BZ #10135]
85981         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
85982         small n, then large n, before computing and testing k+n.
85983         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
85984         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
85985         Likewise.
85986         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
85987         Likewise.
85988         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
85989         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
85990         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
85991         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
85992         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
85993         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
85994         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
85995         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
85996         * math/libm-test.inc (scalbn_test): Add more tests.
85997         (scalbln_test): Likewise.
85999         * manual/filesys.texi (mode_t): Describe constraints on size and
86000         signedness, not exact equivalence to a particular type.
86001         (ino_t): Likewise.
86002         (ino64_t): Likewise.
86003         (dev_t): Likewise.
86004         (nlink_t): Likewise.
86005         (blkcnt_t): Likewise.
86006         (blkcnt64_t): Likewise.
86007         * manual/llio.texi (off_t): Likewise.
86009         [BZ #3976]
86010         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
86011         (__ieee754_exp): Save and restore rounding mode and use
86012         round-to-nearest for all computations.
86013         * math/libm-test.inc (exp_test_tonearest): New function.
86014         (exp_test_towardzero): Likewise.
86015         (exp_test_downward): Likewise.
86016         (exp_test_upward): Likewise.
86017         (main): Call the new functions.
86018         * sysdeps/i386/fpu/libm-test-ulps: Update.
86019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86021 2012-03-01  Chris Demetriou  <cgd@google.com>
86023         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
86024         have predictable order.
86026 2012-03-01  David S. Miller  <davem@davemloft.net>
86028         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
86030         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
86031         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
86032         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
86033         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
86035         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
86036         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
86037         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
86038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
86039         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
86040         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
86041         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
86042         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
86043         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
86045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86047         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
86048         * sysdeps/sparc/fpu/libm-test-ulps: to here.
86049         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
86051         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
86052         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86053         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86054         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
86055         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
86056         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
86057         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
86058         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86059         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86060         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
86061         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
86062         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86063         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86064         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86065         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86066         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86067         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
86068         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
86069         * sysdeps/sparc/elf/configure: Regenerated.
86071 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
86073         * configure.in (AS, LD): Require binutils 2.20 or later.
86074         * configure: Regenerated.
86075         * manual/install.texi (Tools for Compilation): Give binutils 2.20
86076         as required minimum version.
86077         * INSTALL: Regenerated.
86079         [BZ #2541]
86080         [BZ #4108]
86081         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
86082         before squaring exponent.
86083         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
86084         bottom long double and 27 bits of top long double before squaring
86085         exponent.
86086         * math/libm-test.inc (erfc_test): Add more tests.
86087         * sysdeps/i386/fpu/libm-test-ulps: Update.
86088         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86091 2012-03-01  Kai Tietz  <ktietz@redhat.com>
86093         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
86094         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
86095         containing bit-fields.
86096         * soft-fp/extended.h (_FP_UNION_E): Likewise.
86097         * soft-fp/single.h (_FP_UNION_S): Likewise.
86098         * soft-fp/double.h (_FP_UNION_D): Likewise.
86100 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
86102         [BZ #13786]
86103         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
86104         not include ../strcmp.S.
86105         [USE_AS_STRNCASECMP_L]: Likewise.
86106         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
86107         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
86108         * sysdeps/i386/i686/multiarch/strncase_l-c.c
86109         (__strncasecmp_l_ia32): Define as alias to
86110         __strncasecmp_l_nonascii.
86112         [BZ #5794]
86113         * math/libm-test.inc (expm1_test): Add test for bug 5794.
86114         * sysdeps/i386/fpu/libm-test-ulps: Update.
86115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86117         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
86118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86120 2012-02-29  Jeff Law  <law@redhat.com>
86122         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
86123         out of bounds read.
86125 2012-02-29  Marek Polacek  <polacek@redhat.com>
86127         [BZ #13706]
86128         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
86129         * elf/Makefile: Add rules to run tst-unused-dep.out.
86131 2012-02-28  David S. Miller  <davem@davemloft.net>
86133         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
86134         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
86135         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
86136         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
86137         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
86138         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
86140 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
86142         * math/libm-test.inc (llround_test): Move one test from
86143         lround_test.  Use TEST_f_L in moved test.
86144         (lround_test): Move misplaced test to llround_test.  Add testcase
86145         from bug 2561.
86147 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
86149         * sysdeps/x86_64/fpu/e_expf.S: New file.
86150         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
86152 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
86154         [BZ #13637]
86155         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
86156         of remain_len that may cause incomplete multi-byte character and
86157         false match.
86158         * posix/bug-regex33.c: New file.
86159         * posix/Makefile (tests): Add bug-regex33.
86161 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
86163         * manual/macros.texi: New file.
86164         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
86165         * manual/libc.texinfo: Include macros.texi.
86166         * manual/creatute.texi: Likewise.
86167         * manual/install.texi: Likewise.
86168         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
86169         @glibcadj{} in references to the GNU C Library.
86170         * manual/charset.texi: Likewise.
86171         * manual/conf.texi: Likewise.
86172         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
86173         when not using those macros.
86174         * manual/creature.texi: Likewise.
86175         * manual/crypt.texi: Likewise.
86176         * manual/errno.texi: Likewise.
86177         * manual/filesys.texi: Likewise.
86178         * manual/header.texi: Likewise.
86179         * manual/install.texi: Likewise.
86180         * manual/intro.texi: Likewise.
86181         * manual/io.texi: Likewise.
86182         * manual/job.texi: Likewise.
86183         * manual/lang.texi: Likewise.
86184         * manual/libc.texiinfo: Likewise.
86185         * manual/llio.texi: Likewise.
86186         * manual/locale.texi: Likewise.
86187         * manual/maint.texi: Likewise.
86188         * manual/math.texi: Likewise.
86189         * manual/memory.texi: Likewise.
86190         * manual/message.texi: Likewise.
86191         * manual/nss.texi: Likewise.
86192         * manual/pattern.texi: Likewise.
86193         * manual/process.texi: Likewise.
86194         * manual/resource.texi: Likewise.
86195         * manual/search.texi: Likewise.
86196         * manual/setjmp.texi: Likewise.
86197         * manual/signal.texi: Likewise.
86198         * manual/socket.texi: Likewise.
86199         * manual/startup.texi: Likewise.
86200         * manual/stdio.texi: Likewise.
86201         * manual/string.texi: Likewise.
86202         * manual/sysinfo.texi: Likewise.
86203         * manual/syslog.texi: Likewise.
86204         * manual/terminal.texi: Likewise.
86205         * manual/time.texi: Likewise.
86206         * manual/users.texi: Likewise.
86207         * INSTALL: Regenerated.
86208         * NOTES: Regenerated.
86209         * sysdeps/gnu/errlist.c: Regenerated.
86211 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
86213         * include/dirent.h: Include <dirstream.h> before
86214         <dirent/dirent.h>.
86216 2012-02-28  David S. Miller  <davem@davemloft.net>
86218         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
86219         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
86220         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
86221         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
86223 2012-02-27  David S. Miller  <davem@davemloft.net>
86225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
86226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
86227         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
86228         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
86230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
86231         frame pointer instead of stack pointer relative arg slot.
86232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86233         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86234         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86236 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
86238         [BZ #3992]
86239         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
86241 2012-02-27  David S. Miller  <davem@davemloft.net>
86243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
86244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
86246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
86247         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86248         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86249         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
86250         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
86252 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
86254         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
86255         later.  Allow versions 5-9.
86256         * configure: Regenerated.
86257         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
86258         required minimum version and 4.6 as recommended version.  Do not
86259         mention bugs in GCC 2.7 and 2.8.
86260         * INSTALL: Regenerated.
86262 2012-02-27  David S. Miller  <davem@davemloft.net>
86264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
86265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
86266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
86267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
86268         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
86269         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
86270         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
86271         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
86273         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
86274         manipulate bits before adding and subtracting TWO112[sx].
86275         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
86277 2012-02-27  Roland McGrath  <roland@hack.frob.com>
86279         [BZ #13775]
86280         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
86281         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
86282         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
86283         being in POSIX, because they are in 1003.1-2008.
86285         * rt/tst-aio.c: Include <fcntl.h>.
86286         * rt/tst-aio7.c: Likewise.
86287         * rt/tst-aio64.c: Likewise.
86289         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
86291 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
86293         * manual/install.texi (--with-headers): Describe headers as
86294         interface headers, not private headers.
86295         (Specific advice for GNU/Linux systems): Describe use of headers
86296         from "make headers_install", not private headers from older
86297         kernels.
86298         * INSTALL: Regenerated.
86299         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
86300         Change to 2.6.19.
86301         * sysdeps/unix/sysv/linux/configure: Regenerated.
86303         * manual/llio.texi (fclean): Remove documentation.
86305         * manual/Makefile (libc-texi-generated): New variable.  Include
86306         version.texi.
86307         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
86308         $(libc-texi-generated), not duplicated list of files.
86309         (version.texi, stamp-version): New rules.
86310         (realclean): Remove $(libc-texi-generated), not individual files
86311         from that list.  Do not remove dir-add.texinfo.
86312         * manual/libc.texinfo: Comment out uses of edition numbers and
86313         references to printed manual.  Remove last-updated dates.
86314         (EDITION): Comment out.
86315         (ISBN): Likewise.
86316         (VERSION, UPDATED): Remove.
86317         (version.texi): Include.
86319 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
86321         * sysdeps/posix/spawni.c: Include <signal.h>.
86322         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
86323         * sysdeps/pthread/aio_fsync.c: Likewise.
86325 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
86327         * conform/Makefile (tests): Run only when not cross-compiling and
86328         when fast-check is not defined.
86330         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
86331         * conform/data/limits.h-data: Fixes for POSIX2008.
86332         * conform/run-conformtest.sh: Run all tests.
86333         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
86334         headers.
86335         * include/bits/dlfcn.h: Likewise.
86336         * include/langinfo.h: Likewise.
86337         * include/monetary.h: Likewise.
86338         * include/sys/poll.h: Likewise.
86340         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
86341         for __USE_GNU.
86342         * posix/spawn.h: Define __need_sigset_t.
86343         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
86344         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
86345         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
86346         to get sigevent_t only.
86347         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
86348         only for __USE_GNU.
86349         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86350         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86351         process_vm_writev only for __USE_GNU.
86352         * termios/termios.h: Declare tcgetsid also for POSIX2008.
86354         * conform/Makefile: For now ignore errors from run-conformtest.
86355         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
86356         POSIX to avoid namespace pollution.  Don't prepend headers.
86357         * conform/data/aio.h-data: Fixes for POSIX testing.
86358         * conform/data/fcntl.h-data: Likewise.
86359         * conform/data/glob.h-data: Likewise.
86360         * conform/data/grp.h-data: Likewise.
86361         * conform/data/pthread.h-data: Likewise.
86362         * conform/data/pwd.h-data: Likewise.
86363         * conform/data/signal.h-data: Likewise.
86364         * conform/data/spawn.h-data: Likewise.
86365         * conform/data/stdio.h-data: Likewise.
86366         * conform/data/stdlib.h-data: Likewise.
86367         * conform/data/stropts.h-data: Likewise.
86368         * conform/data/sys/mman.h-data: Likewise.
86369         * conform/data/sys/stat.h-data: Likewise.
86370         * conform/data/sys/types.h-data: Likewise.
86371         * conform/data/sys/wait.h-data: Likewise.
86372         * conform/data/time.h-data: Likewise.
86373         * conform/data/unistd.h-data: Likewise.
86374         * conform/data/utime.h-data: Likewise.
86376         * io/sys/stat.h: fchmod was always in POSIX.
86377         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
86378         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
86379         * rt/aio.h: Define __need_timespec before including <time.h>.
86380         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
86381         struct.  Add forward declaration of pthread_attr_t and use it in
86382         sigevent.
86383         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86384         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86385         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
86386         always remove CLK_TCK definition.
86388 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
86390         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
86392 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
86394         * conform/run-conformtest.sh: New file.
86395         * conform/Makefile: Run run-conformtest for tests.
86396         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
86397         support.
86399         * conform/data/uchar.h-data: New file.
86400         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
86401         * conform/data/arpa/inet.h-data: Likewise.
86402         * conform/data/assert.h-data: Likewise.
86403         * conform/data/complex.h-data: Likewise.
86404         * conform/data/cpio.h-data: Likewise.
86405         * conform/data/ctype.h-data: Likewise.
86406         * conform/data/dirent.h-data: Likewise.
86407         * conform/data/dlfcn.h-data: Likewise.
86408         * conform/data/errno.h-data: Likewise.
86409         * conform/data/fcntl.h-data: Likewise.
86410         * conform/data/float.h-data: Likewise.
86411         * conform/data/fmtmsg.h-data: Likewise.
86412         * conform/data/fnmatch.h-data: Likewise.
86413         * conform/data/ftw.h-data: Likewise.
86414         * conform/data/glob.h-data: Likewise.
86415         * conform/data/grp.h-data: Likewise.
86416         * conform/data/iconv.h-data: Likewise.
86417         * conform/data/inttypes.h-data: Likewise.
86418         * conform/data/langinfo.h-data: Likewise.
86419         * conform/data/libgen.h-data: Likewise.
86420         * conform/data/limits.h-data: Likewise.
86421         * conform/data/locale.h-data: Likewise.
86422         * conform/data/math.h-data: Likewise.
86423         * conform/data/monetary.h-data: Likewise.
86424         * conform/data/mqueue.h-data: Likewise.
86425         * conform/data/ndbm.h-data: Likewise.
86426         * conform/data/net/if.h-data: Likewise.
86427         * conform/data/netdb.h-data: Likewise.
86428         * conform/data/netinet/in.h-data: Likewise.
86429         * conform/data/nl_types.h-data: Likewise.
86430         * conform/data/poll.h-data: Likewise.
86431         * conform/data/pthread.h-data: Likewise.
86432         * conform/data/pwd.h-data: Likewise.
86433         * conform/data/regex.h-data: Likewise.
86434         * conform/data/sched.h-data: Likewise.
86435         * conform/data/search.h-data: Likewise.
86436         * conform/data/semaphore.h-data: Likewise.
86437         * conform/data/setjmp.h-data: Likewise.
86438         * conform/data/signal.h-data: Likewise.
86439         * conform/data/spawn.h-data: Likewise.
86440         * conform/data/stdarg.h-data: Likewise.
86441         * conform/data/stdio.h-data: Likewise.
86442         * conform/data/stdlib.h-data: Likewise.
86443         * conform/data/string.h-data: Likewise.
86444         * conform/data/strings.h-data: Likewise.
86445         * conform/data/stropts.h-data: Likewise.
86446         * conform/data/sys/ipc.h-data: Likewise.
86447         * conform/data/sys/mman.h-data: Likewise.
86448         * conform/data/sys/msg.h-data: Likewise.
86449         * conform/data/sys/resource.h-data: Likewise.
86450         * conform/data/sys/select.h-data: Likewise.
86451         * conform/data/sys/sem.h-data: Likewise.
86452         * conform/data/sys/shm.h-data: Likewise.
86453         * conform/data/sys/socket.h-data: Likewise.
86454         * conform/data/sys/stat.h-data: Likewise.
86455         * conform/data/sys/statvfs.h-data: Likewise.
86456         * conform/data/sys/time.h-data: Likewise.
86457         * conform/data/sys/timeb.h-data: Likewise.
86458         * conform/data/sys/times.h-data: Likewise.
86459         * conform/data/sys/types.h-data: Likewise.
86460         * conform/data/sys/uio.h-data: Likewise.
86461         * conform/data/sys/un.h-data: Likewise.
86462         * conform/data/sys/utsname.h-data: Likewise.
86463         * conform/data/sys/wait.h-data: Likewise.
86464         * conform/data/syslog.h-data: Likewise.
86465         * conform/data/tar.h-data: Likewise.
86466         * conform/data/termios.h-data: Likewise.
86467         * conform/data/utime.h-data: Likewise.
86468         * conform/data/utmpx.h-data: Likewise.
86469         * conform/data/varargs.h-data: Likewise.
86470         * conform/data/wchar.h-data: Likewise.
86471         * conform/data/wctype.h-data: Likewise.
86472         * conform/data/wordexp.h-data: Likewise.
86474         * include/stropts.h: New file.
86475         * include/uchar.h: New file.
86476         * include/aio.h: Changes to allow conformtest.pl to use the headers.
86477         * include/assert.h: Likewise.
86478         * include/ctype.h: Likewise.
86479         * include/dirent.h: Likewise.
86480         * include/dlfcn.h: Likewise.
86481         * include/fcntl.h: Likewise.
86482         * include/fnmatch.h: Likewise.
86483         * include/glob.h: Likewise.
86484         * include/grp.h: Likewise.
86485         * include/libio.h: Likewise.
86486         * include/locale.h: Likewise.
86487         * include/math.h: Likewise.
86488         * include/net/if.h: Likewise.
86489         * include/netdb.h: Likewise.
86490         * include/netinet/in.h: Likewise.
86491         * include/pthread.h: Likewise.
86492         * include/pwd.h: Likewise.
86493         * include/regex.h: Likewise.
86494         * include/sched.h: Likewise.
86495         * include/search.h: Likewise.
86496         * include/setjmp.h: Likewise.
86497         * include/signal.h: Likewise.
86498         * include/stdio.h: Likewise.
86499         * include/stdlib.h: Likewise.
86500         * include/string.h: Likewise.
86501         * include/sys/cdefs.h: Likewise.
86502         * include/sys/mman.h: Likewise.
86503         * include/sys/msg.h: Likewise.
86504         * include/sys/resource.h: Likewise.
86505         * include/sys/select.h: Likewise.
86506         * include/sys/socket.h: Likewise.
86507         * include/sys/stat.h: Likewise.
86508         * include/sys/statvfs.h: Likewise.
86509         * include/sys/time.h: Likewise.
86510         * include/sys/times.h: Likewise.
86511         * include/sys/uio.h: Likewise.
86512         * include/sys/utsname.h: Likewise.
86513         * include/sys/wait.h: Likewise.
86514         * include/termios.h: Likewise.
86515         * include/time.h: Likewise.
86516         * include/ulimit.h: Likewise.
86517         * include/unistd.h: Likewise.
86518         * include/utime.h: Likewise.
86519         * include/wchar.h: Likewise.
86520         * include/wctype.h: Likewise.
86521         * include/wordexp.h: Likewise.
86523         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
86525         * time/time.h: TIME_UTC must be a macro.
86526         Make timespec_get available for ISO C11 only as well.
86528 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
86530         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
86531         Reported by Peng Haitao <penght@cn.fujitsu.com>.
86533 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86535         * configure.in: Use -o not -a in test for unsupported multi-arch.
86537 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86539         * manual/texinfo.tex: Update to version 2012-01-19.16.
86541 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86543         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
86545 2012-02-24  Roland McGrath  <roland@hack.frob.com>
86547         [BZ #13738]
86548         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
86549         * manual/fdl-1.3.texi: New file.
86550         * manual/fdl-1.1.texi: File removed.
86552         [BZ #13738]
86553         * manual/libc.texinfo (FDL_VERSION): New @set.
86554         Use it for mention of FDL in cover text.
86555         (Documentation License): Use it in @include file name.
86557 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86558             Roland McGrath  <roland@hack.frob.com>
86560         [BZ #5461]
86561         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
86562         (not LONG_LONG_MAX and LONG_LONG_MIN.
86563         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
86564         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
86565         name.
86566         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
86568 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86570         [BZ #2547]
86571         [BZ #11365]
86572         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
86573         manipulate bits before adding and subtracting TWO23[sx].
86574         * math/libm-test.inc (nearbyint_test): Add more tests.
86576 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86578         [BZ #2548]
86579         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
86580         bits before adding and subtracting TWO23[sx].
86581         * math/libm-test.inc (rint_test): Add more tests.
86582         (rint_test_tonearest): Likewise.
86583         (rint_test_towardzero): Likewise.
86584         (rint_test_downward): Likewise.
86585         (rint_test_upward: Likewise.
86587 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86589         [BZ #10110]
86590         * include/stdc-predef.h: New file.  Extracted from features.h.
86591         * include/features.h: Include stdc-predef.h.
86592         * Makefile (headers): Add stdc-predef.h.
86593         * CONFORMANCE (Compiler limitations): Update.
86595 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86597         * manual/libc.texinfo (VERSION, UPDATED): Revert.
86599 2012-02-21  David S. Miller  <davem@davemloft.net>
86601         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
86602         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86604 2012-02-20  David S. Miller  <davem@davemloft.net>
86606         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
86607         using a normal save/restore sequence, rather than allocating a
86608         dummy stack frame just to store a frame pointer and restore.
86609         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86611 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86613         * manual/install.texi: Fix stray word in line-wrapped comment.
86615 2012-02-20  David S. Miller  <davem@davemloft.net>
86617         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
86618         both binutils and gcc support GOTDATA.
86620         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
86621         "rd %pc" in the PIC register setup sequences.
86623         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
86624         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
86625         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86626         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
86627         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86628         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
86629         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86630         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86631         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
86632         (SYSCALL_ERROR_HANDLER): Likewise.
86633         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86634         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86635         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
86636         (SYSCALL_ERROR_HANDLER): Likewise.
86638         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
86639         (HAVE_GCC_GOTDATA): New.
86640         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
86641         relocation support in both binutils and gcc.
86642         * sysdeps/sparc/elf/configure: Regenerate.
86644         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
86645         * sysdeps/sparc/sparc32/elf/configure: Delete.
86646         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
86647         * sysdeps/sparc/sparc64/elf/configure: Delete.
86648         * sysdeps/sparc/elf/configure.in: New file.
86649         * sysdeps/sparc/elf/configure: Generate.
86651         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
86652         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
86653         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86654         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
86655         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
86657 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86659         * manual/install.texi: Do not mention specific glibc version
86660         numbers.
86661         * manual/libc.texinfo (VERSION, UPDATED): Update.
86662         (@copying): Use @copyright{} and range of years.
86664 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86666         [BZ #13695]
86667         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
86668         [crti.S not in sysdirs] (generated): Do not append.
86669         [crti.S not in sysdirs] (omit-deps): Likewise.
86670         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
86671         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
86672         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
86673         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
86674         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
86675         Likewise.
86676         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
86677         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
86678         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
86679         * csu/defs.awk: Remove file.
86680         * sysdeps/generic/initfini.c: Likewise.
86681         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
86682         variable.
86683         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
86684         Likewise.
86686 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86688         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
86689         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
86690         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
86691         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
86692         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86693         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
86694         <bits/epoll.h>.
86695         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
86696         (__EPOLL_PACKED): Define to empty if not defined by
86697         <bits/epoll.h>.
86698         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
86699         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86700         bits/epoll.h.
86702 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86704         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
86705         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
86706         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
86707         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
86708         <bits/timerfd.h>.
86709         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
86710         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86711         bits/timerfd.h.
86713 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86715         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
86716         in C locale.
86717         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86718         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
86719         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
86720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86722 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
86724         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86725         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86727 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
86729         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
86730         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
86731         defined.
86732         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
86733         Likewise.
86734         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
86735         entry for 2.16.
86737 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
86739         * math/w_acos.c: Use non-signaling floating-point comparisons.
86740         * math/w_acosf.c: Likewise.
86741         * math/w_acosh.c: Likewise.
86742         * math/w_acoshf.c: Likewise.
86743         * math/w_acoshl.c: Likewise.
86744         * math/w_acosl.c: Likewise.
86745         * math/w_asin.c: Likewise.
86746         * math/w_asinf.c: Likewise.
86747         * math/w_asinl.c: Likewise.
86748         * math/w_atanh.c: Likewise.
86749         * math/w_atanhf.c: Likewise.
86750         * math/w_atanhl.c: Likewise.
86751         * math/w_exp2.c: Likewise.
86752         * math/w_exp2f.c: Likewise.
86753         * math/w_exp2l.c: Likewise.
86754         * math/w_j0.c: Likewise.
86755         * math/w_j0f.c: Likewise.
86756         * math/w_j0l.c: Likewise.
86757         * math/w_j1.c: Likewise.
86758         * math/w_j1f.c: Likewise.
86759         * math/w_j1l.c: Likewise.
86760         * math/w_jn.c: Likewise.
86761         * math/w_jnf.c: Likewise.
86762         * math/w_log.c: Likewise.
86763         * math/w_log10.c: Likewise.
86764         * math/w_log10f.c: Likewise.
86765         * math/w_log10l.c: Likewise.
86766         * math/w_log2.c: Likewise.
86767         * math/w_log2f.c: Likewise.
86768         * math/w_log2l.c: Likewise.
86769         * math/w_logf.c: Likewise.
86770         * math/w_logl.c: Likewise.
86771         * math/w_sqrt.c: Likewise.
86772         * math/w_sqrtf.c: Likewise.
86773         * math/w_sqrtl.c: Likewise.
86774         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86775         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
86776         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86777         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86778         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86780 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86782         [BZ #9739]
86783         * manual/string.texi (strnlen): Use correct parameter name in
86784         equivalent expression.
86786 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86788         [BZ #11174]
86789         * manual/users.texi (seteuid): Consistently use neweuid for
86790         argument name.
86792 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86794         [BZ #13704]
86795         * manual/nss.texi (Services in the NSS configuration): Correct
86796         list of services in example configuration file.
86798 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
86800         [BZ #11322]
86801         * manual/arith.texi: Remove statements about negative zero
86802         behaving identically to zero.
86804 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86806         [BZ #5993]
86807         * manual/install.texi: Do not document upgrading from libc5.
86809 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86811         [BZ #4596]
86812         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
86814 2012-02-18  David S. Miller  <davem@davemloft.net>
86816         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
86817         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
86818         %o7 across the call.
86819         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
86820         instead.
86821         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
86822         SETUP_PIC_REG_LEAF.
86823         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86824         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
86825         * sysdeps/sparc/crtn.S: Likewise.
86827 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
86829         * aout/Makefile: Remove.
86831 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
86833         [BZ #13058]
86834         * manual/examples/argp-ex1.c (main): Format definition in GNU
86835         style.
86836         * manual/examples/argp-ex2.c (main): Likewise.
86837         * manual/examples/argp-ex3.c (main): Likewise.
86838         * manual/examples/argp-ex4.c (main): Likewise.
86839         * manual/examples/longopt.c (main): Use new-style prototype
86840         definition.
86841         * manual/examples/strncat.c (main): Specify return type and use
86842         (void) for arguments.
86843         * manual/examples/subopt.c (main): Use char **argv argument.
86845 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86847         [BZ #5077]
86848         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
86849         rounding modes.
86851 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
86853         [BZ #6907]
86854         * manual/string.texi (strchr): Change when strchrnul is
86855         recommended.
86857 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
86859         [BZ #174]
86860         * manual/locale.texi (setlocale): Document LOCPATH.
86862 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86864         [BZ #10210]
86865         * manual/process.texi (execle): Move @dots{} before last argument.
86867 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
86869         [BZ #12047]
86870         * manual/charset.texi (Generic Charset Conversion): Fix typo
86871         (LC_TYPE -> LC_CTYPE).
86873 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
86875         [BZ #5805]
86876         * manual/arith.texi (scalbn): Use @var{} on parameter names.
86877         (scalbnf): Likewise.
86878         (scalbnl): Likewise.
86879         (scalbln): Likewise.
86880         (scalblnf): Likewise.
86881         (scalblnl): Likewise.
86882         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
86883         (vwarnx): Likewise.
86884         (verr): Likewise.
86885         (verrx): Likewise.
86886         * manual/filesys.texi (telldir): Use braces around return type.
86887         * manual/llio.texi (mmap): Add space after comma.
86888         (mmap64): Likewise.
86889         * manual/math.texi (jn): Use @var{} on parameter names.
86890         (jnf): Likewise.
86891         (jnl): Likewise.
86892         (yn): Likewise.
86893         (ynf): Likewise.
86894         (ynl): Likewise.
86895         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
86896         line.
86897         * manual/resource.texi (ulimit): Use @dots{} instead of literal
86898         "...".
86899         (sched_get_priority_min): Remove semicolon on @deftypefun line.
86900         (sched_get_priority_max): Likewise.
86901         * manual/signal.texi (sigvec): Add space after comma.
86902         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
86903         names.
86904         (if_indextoname): Likewise.
86905         (if_freenameindex): Likewise.
86906         (sendto): Use ',' instead of '.' in prototype.
86907         * manual/startup.texi (syscall): Use @dots{} instead of literal
86908         "...".
86909         * manual/stdio.texi (__fpending): Separate initial words of
86910         paragraph from @deftypefun line.
86911         * manual/syslog.texi (syslog): Use @dots{} instead of literal
86912         "...".
86913         (vsyslog): Use @var{} on parameter names.
86914         * manual/terminal.texi (stty): Use @var{} on parameter names.
86915         * manual/users.texi (getutmp): Use @var{} on parameter names.
86916         (getutmpx): Likewise.
86918 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86920         [BZ #6884]
86921         * manual/stdio.texi (fopen): Fix typos in description of
86922         ",ccs=STRING".
86924 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
86926         [BZ #4026]
86927         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
86928         get clock_id definition.
86930 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
86932         [BZ #4822]
86933         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
86934         (madvise): Cast every argument to void on its own.
86936 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86938         [BZ #9902]
86939         * manual/startup.texi (Exit Status): Fix typo.
86941 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86943         [BZ #10140]
86944         * manual/examples/argp-ex1.c: Include <stdlib.h>.
86945         * manual/examples/argp-ex2.c: Likewise.
86946         * manual/examples/argp-ex3.c: Likewise.
86948 2012-02-16  Richard Henderson  <rth@redhat.com>
86950         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
86951         * sysdeps/s390/s390-32/initfini.c: Remove.
86952         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
86953         * sysdeps/s390/s390-64/initfini.c: Remove.
86955 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
86957         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
86958         compiler output for sysdeps/generic/initfini.c.
86959         * sysdeps/sh/elf/initfini.c: Remove file.
86961 2012-02-16  David S. Miller  <davem@davemloft.net>
86963         [BZ #11494]
86964         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
86966         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
86967         * sysdeps/sparc/crti.S: New file.
86968         * sysdeps/sparc/crtn.S: New file.
86969         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
86970         * sysdeps/sparc/sparc64/Makefile: Likewise.
86972 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
86974         [BZ #3335]
86975         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
86977 2012-02-15  Roland McGrath  <roland@hack.frob.com>
86979         [BZ #4822]
86980         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
86982         * mach/devstream.c (cookie_io_functions_t): Macro removed.
86983         (write, read, close): Likewise.
86984         Patch by Aurelien Jarno <aurelien@aurel32.net>.
86986 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
86988         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
86989         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
86990         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
86991         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
86992         <bits/signalfd.h>.
86993         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
86994         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86995         bits/signalfd.h.
86997 2012-02-14  Marek Polacek  <polacek@redhat.com>
86999         * sysdeps/x86_64/crti.S: New file.
87000         * sysdeps/x86_64/crtn.S: New file.
87001         * sysdeps/x86_64/elf/initfini.c: Remove file.
87003 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
87005         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
87006         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
87007         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
87008         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
87009         <bits/inotify.h>.
87010         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
87011         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87012         bits/inotify.h.
87014 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
87016         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
87017         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
87018         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
87019         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
87020         <bits/eventfd.h>.
87021         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
87022         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87023         bits/eventfd.h.
87025 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
87027         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
87028         __feraiseexcept instead of feraiseexcept.
87030         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
87031         nanosleep invocations.
87032         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
87033         strings, and add error checking for a nanosleep invocations.
87035 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
87037         Replace FSF snail mail address with URLs, as per GNU coding standards.
87038         Most of the snail mail addresses were wrong anyway, and omitting
87039         them makes the source code easier to maintain.  Almost all of the
87040         changes are to license notices and to locale LC_IDENTIFICATION
87041         addresses, except for this one:
87042         * manual/libc.texinfo: In "Published by", give the FSF's URL,
87043         not its snail mail address.
87045 2012-02-09  Richard Henderson  <rth@twiddle.net>
87047         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
87048         of kernel-features.h.
87050         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
87052 2012-02-08  Marek Polacek  <polacek@redhat.com>
87054         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
87055         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
87056         * sysdeps/gnu/_G_config.h: Likewise.
87057         * sysdeps/generic/_G_config.h: Likewise.
87059 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
87061         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
87062         tests.
87063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87065         * sysdeps/powerpc/powerpc32/crti.S: New file.
87066         * sysdeps/powerpc/powerpc32/crtn.S: New file.
87067         * sysdeps/powerpc/powerpc64/crti.S: New file.
87068         * sysdeps/powerpc/powerpc64/crtn.S: New file.
87070         * Makeconfig (have-initfini): Don't set.
87071         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
87072         * configure.in (nopic_initfini): Don't substitute.
87073         * config.h.in (HAVE_INITFINI): Don't #undef.
87074         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
87075         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
87077 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
87079         Support crti.S and crtn.S provided directly by architectures.
87080         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
87081         [crti.S in sysdirs] (omit-deps): Likewise.
87082         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
87083         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
87084         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
87085         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
87086         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
87087         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
87088         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
87089         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
87090         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
87091         compiler output for sysdeps/generic/initfini.c.
87092         * sysdeps/i386/elf/Makefile: Remove file.
87093         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
87095 2012-02-07  Marek Polacek  <polacek@redhat.com>
87097         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
87098         * sysdeps/gnu/_G_config.h: Likewise.
87099         * sysdeps/mach/hurd/_G_config.h: Likewise.
87101 2012-02-07  Marek Polacek  <polacek@redhat.com>
87103         * math/Makefile (tests): Add tst-CMPLX2.
87104         * math/tst-CMPLX2.c: New file.
87106 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
87108         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87110         * math/libm-test.inc (jn_test): Add missing L suffix.
87112 2012-02-06  Marek Polacek  <polacek@redhat.com>
87114         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
87115         * sysdeps/i386/fpu/e_powf.S: Likewise.
87116         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
87117         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
87118         * sysdeps/i386/fpu/e_acosh.S: Likewise.
87119         * sysdeps/i386/fpu/e_pow.S: Likewise.
87120         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
87121         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87122         * sysdeps/i386/fpu/s_expm1.S: Likewise.
87123         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
87124         * sysdeps/i386/fpu/e_log2.S: Likewise.
87125         * sysdeps/i386/fpu/e_log2l.S: Likewise.
87126         * sysdeps/i386/fpu/e_scalb.S: Likewise.
87127         * sysdeps/i386/fpu/e_powl.S: Likewise.
87128         * sysdeps/i386/fpu/s_log1p.S: Likewise.
87129         * sysdeps/i386/fpu/e_log10f.S: Likewise.
87130         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
87131         * sysdeps/i386/fpu/e_logl.S: Likewise.
87132         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
87133         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
87134         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
87135         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
87136         * sysdeps/i386/fpu/e_log2f.S: Likewise.
87137         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
87138         * sysdeps/i386/fpu/e_log.S: Likewise.
87139         * sysdeps/i386/fpu/s_cexp.S: Likewise.
87140         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
87141         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
87142         * sysdeps/i386/fpu/e_logf.S: Likewise.
87143         * sysdeps/i386/fpu/e_log10l.S: Likewise.
87144         * sysdeps/i386/fpu/e_atanh.S: Likewise.
87145         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
87146         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
87147         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
87148         * sysdeps/i386/fpu/e_log10.S: Likewise.
87149         * sysdeps/i386/fpu/s_frexp.S: Likewise.
87150         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
87151         * sysdeps/i386/fpu/s_asinh.S: Likewise.
87152         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
87153         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
87154         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
87155         * sysdeps/i386/asm-syntax.h: Likewise.
87156         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
87157         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
87158         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
87159         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
87160         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
87161         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
87162         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
87163         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
87164         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
87165         * sysdeps/powerpc/sysdep.h: Likewise.
87166         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
87167         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
87169 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
87171         [BZ #411]
87172         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
87174 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
87176         * sysdeps/i386/sysdep.h: Include <features.h>.
87177         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
87178         version.
87180 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
87182         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
87183         Define.
87184         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
87185         LOAD_PIC_REG_STR.
87187 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87189         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
87190         (SETUP_PIC_REG): Use GET_PC_THUNK.
87191         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
87192         macro.
87194 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87196         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
87197         for non-PIC compilation.
87198         (SETUP_PIC_REG): Add .p2align directive.
87199         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
87200         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
87201         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
87202         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
87203         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
87204         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
87205         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
87206         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
87207         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
87208         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
87209         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
87210         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
87211         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
87212         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
87213         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
87214         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
87215         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
87216         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
87217         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
87218         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
87219         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
87220         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
87221         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
87222         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
87223         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
87224         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
87225         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
87226         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
87227         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
87228         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
87229         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
87230         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
87231         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
87232         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
87233         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
87234         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
87235         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
87236         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
87237         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
87238         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
87239         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
87241 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87243         * math/tst-CMPLX.c: Include <stdio.h>.
87245 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
87247         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
87248         float.
87249         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87250         * sysdeps/sparc/bits/mathdef.h: Likewise.
87252 2012-01-31  Marek Polacek  <polacek@redhat.com>
87254         * libio/libio.h: Don't define _PARAMS.
87255         * locale/programs/config.h: Don't define PARAMS.
87256         * stdlib/strtol_l.c: Likewise.
87257         (__strtol_l): Remove PARAMS from the prototype.
87259 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
87261         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
87262         names.  Just use the correct names.  Remove unnecessary wrapper
87263         functions.
87264         * malloc/arena.c: Likewise.
87265         * malloc/hooks.c: Likewise.
87267         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
87268         ARENA_TEST says not to.  Simplify test for creation of a new arena.
87269         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
87271 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
87273         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
87274         into tail calls.
87275         (update_get_addr): New function.
87276         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
87277         GET_ADDR_MODULE parameter.
87279 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
87281         * crypt/cert.c: Remove __STDC__ conditionals.
87282         * crypt/crypt-entry.c: Likewise.
87283         * crypt/crypt_util.c: Likewise.
87284         * libio/filedoalloc.c: Likewise.
87285         * libio/fileops.c: Likewise.
87286         * libio/genops.c: Likewise.
87287         * libio/iofclose.c: Likewise.
87288         * libio/iofdopen.c: Likewise.
87289         * libio/iofopen.c: Likewise.
87290         * libio/iofopen64.c: Likewise.
87291         * libio/iogetdelim.c: Likewise.
87292         * libio/iopopen.c: Likewise.
87293         * libio/obprintf.c: Likewise.
87294         * libio/oldfileops.c: Likewise.
87295         * libio/oldiofclose.c: Likewise.
87296         * libio/oldiofdopen.c: Likewise.
87297         * libio/oldiofopen.c: Likewise.
87298         * libio/oldiopopen.c: Likewise.
87299         * libio/wfiledoalloc.c: Likewise.
87300         * libio/wgenops.c: Likewise.
87301         * locale/programs/xmalloc.c: Likewise.
87302         * misc/syslog.c: Likewise.
87303         * stdio-common/xbug.c: Likewise.
87304         * string/memchr.c: Likewise.
87305         * string/memcmp.c: Likewise.
87306         * string/memrchr.c: Likewise.
87307         * string/rawmemchr.c: Likewise.
87308         * sysdeps/posix/getcwd.c: Likewise.
87309         * time/strftime_l.c: Likewise.
87311 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
87313         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
87314         * config.make.in (config-cflags-sse2avx): Define.
87315         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
87316         Fix typo.
87318 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
87320         * scripts/config.guess: Update from upstream config git repository.
87321         * scripts/config.sub: Likewise.
87323 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
87325         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
87326         (EM_NUM): Update.
87327         (R_TILEPRO_*, R_TILEGX_*): New macros.
87329         * scripts/firstversions.awk: Fix bug in version range handling.
87331         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
87333         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
87335         * include/sys/epoll.h: New file.
87336         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
87337         libc_hidden_def.
87339 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
87341         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
87342         Avoid unnecessary __WORDSIZE == 64 test.
87343         (fmaxf): Use VEX format if possible.
87344         (fmax): Likewise.
87345         (fminf): Likewise.
87346         (fmin): Likewise.
87348         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
87349         * math/math_private.h: Remove libc_fegetround* and
87350         libc_fesetround*.
87351         * sysdeps/i386/configure.in: Check for -msse2avx.
87352         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
87353         also if SSE2AVX is defined.
87354         Remove libc_fegetround* and libc_fesetround*.
87355         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
87356         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
87357         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
87358         of HAS_YMM_USABLE.
87359         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87360         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87361         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87362         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87363         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87365         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
87367 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87369         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
87370         size is not set.
87371         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87373 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
87375         [BZ #13618]
87376         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
87377         relocation.
87378         * Makeconfig (libm): Define.
87379         * elf/Makefile: Add rules to build and run tst-relsort1.
87380         * elf/tst-relsort1.c: New file.
87381         * elf/tst-relsort1mod1.c: New file.
87382         * elf/tst-relsort1mod2.c: New file.
87384 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
87386         * math/s_ldexp.c: Remove __STDC__ conditionals.
87387         * math/s_ldexpf.c: Likewise.
87388         * math/s_ldexpl.c: Likewise.
87389         * math/s_nextafter.c: Likewise.
87390         * math/s_nexttowardf.c: Likewise.
87391         * math/s_significand.c: Likewise.
87392         * math/s_significandf.c: Likewise.
87393         * math/s_significandl.c: Likewise.
87394         * math/w_jnl.c: Likewise.
87395         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
87396         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
87397         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
87398         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
87399         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
87400         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
87401         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
87402         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
87403         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
87404         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
87405         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
87406         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87407         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
87408         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
87409         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
87410         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
87411         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
87412         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
87413         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
87414         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87415         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87416         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
87417         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
87418         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
87419         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
87420         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
87421         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
87422         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
87423         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
87424         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
87425         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
87426         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
87427         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
87428         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
87429         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
87430         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
87431         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
87432         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
87433         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
87434         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
87435         * sysdeps/ieee754/k_standard.c: Likewise.
87436         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87437         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87438         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87439         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87440         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87441         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87442         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87443         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87444         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87445         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87446         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87447         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87448         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87449         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87450         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87451         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87452         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87453         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87454         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87455         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87456         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87457         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87458         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87459         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87460         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87461         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87462         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87463         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87464         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87465         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87466         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87467         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
87468         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87469         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87470         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87471         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87472         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
87473         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87474         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87475         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
87476         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
87477         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87478         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
87479         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
87480         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87481         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
87482         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
87483         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87484         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87485         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
87486         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
87487         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87488         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87489         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87490         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87491         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87492         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
87493         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87494         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87495         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87496         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87497         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87498         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87499         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87500         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87501         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87502         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87503         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87504         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87505         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87506         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87507         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87508         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87509         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87510         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87511         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87512         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87513         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87514         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87515         * sysdeps/ieee754/s_matherr.c: Likewise.
87516         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87517         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87518         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87519         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87521 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
87523         * crypt/md5.h: Remove __STDC__ conditionals.
87524         * libio/libioP.h: Likewise.
87525         * locale/programs/config.h: Likewise.
87526         * sysdeps/generic/sysdep.h: Likewise.
87527         * sysdeps/i386/asm-syntax.h: Likewise.
87528         * sysdeps/s390/asm-syntax.h: Likewise.
87529         * sysdeps/unix/sysdep.h: Likewise.
87530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
87531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
87533 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
87535         * libio/libio.h: Remove __STDC__ conditionals.
87536         * malloc/obstack.h: Likewise.
87537         * math/complex.h: Likewise.
87538         * math/math.h: Likewise.
87539         * sysdeps/generic/_G_config.h: Likewise.
87540         * sysdeps/gnu/_G_config.h: Likewise.
87541         * sysdeps/mach/hurd/_G_config.h: Likewise.
87542         * sysdeps/powerpc/bits/mathdef.h: Likewise.
87543         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87544         * sysdeps/sparc/bits/mathdef.h: Likewise.
87546 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
87548         [BZ #13583]
87549         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
87550         Clean up HAS_* macros.
87551         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
87552         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
87553         possible.
87554         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
87555         HAS_AVX.
87556         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87557         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87558         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87559         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87560         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87562 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
87564         * elf/tst-unique3.cc (gets): Remove declaration.
87565         * elf/tst-unique3lib.cc (gets): Likewise.
87566         * elf/tst-unique3lib2.cc (gets): Likewise.
87567         * elf/tst-unique4.cc (gets): Likewise.
87569 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
87571         * include/stdio.h: Add C++ protection.  Add gets declarations and
87572         definitions.
87573         * debug/tst-chk1.c: Don't declare gets here.
87574         * stdio-common/tst-gets.c: Likewise.
87576 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
87578         * posix/glob: Remove directory.
87580 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
87582         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
87584 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
87586         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
87587         of the non-standard EPFNOSUPPORT.
87589 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87591         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
87592         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
87593         ANYWHERE set to 1 only on KERN_NO_SPACE error.
87595 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
87597         * wcsmbs/uchar.h: Test __STDC_VERSION__.
87599 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
87601         * nscd/aicache.c (addhstaiX): Do not cache negative results of
87602         transient errors.
87603         * nscd/grpcache.c (cache_addgr): Likewise.
87604         * nscd/hstcache.c (cache_addhst): Likewise.
87605         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87606         * nscd/pwdcache.c (cache_addpw): Likewise.
87607         * nscd/servicescache.c (cache_addserv): Likewise.
87609 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
87611         * malloc/malloc.c: Various cleanups.
87612         * malloc/hooks.c: Likewise.
87614         * stdlib/Makefile (tests): Add bug-fmtmsg1.
87615         * stdlib/bug-fmtmsg1.c: New file.
87617         * stdlib/fmtmsg.c (init): Add missing unlock.
87618         Patch by Peng Haitao <penght@cn.fujitsu.com>.
87620 2012-01-12  Marek Polacek  <polacek@redhat.com>
87622         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
87623         and _GNU_SOURCE.
87625 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
87627         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
87628         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
87629         macro to ensure uniqueness of label name.
87630         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
87631         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
87633 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
87635         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
87637         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
87638         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87639         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87640         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
87642 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
87644         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
87646         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
87647         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87648         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87650         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
87652         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
87653         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87654         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87655         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
87657         * math/bits/math-finite.h: Add ldexp support.
87659 2012-01-10  Marek Polacek  <polacek@redhat.com>
87661         * locale/programs/localedef.h (show_archive_content): Add noreturn
87662         attribute.
87664 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
87666         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
87668 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87670         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
87672         * io/Makefile (headers): Add bits/poll2.h.
87674 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
87676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
87677         typo #include statement.
87679 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87681         * include/sys/cdefs.h: Define __attribute_alloc_size.
87682         * catgets/gencat.c: Add alloc_size attribute and apply consistently
87683         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
87684         * elf/pldd.c: Likewise.
87685         * iconv/iconv_charmap.c: Likewise.
87686         * iconv/iconvconfig.c: Likewise.
87687         * iconv/strtab.c: Likewise.
87688         * locale/programs/locale.c: Likewise.
87689         * locale/programs/localedef.h: Likewise.
87690         * locale/programs/simple-hash.c: Likewise.
87691         * nscd/nscd.h: Likewise.
87692         * nss/makedb.c: Likewise.
87693         * sysdeps/generic/ldconfig.h: Likewise.
87694         * locale/programs/localedef.c: Remove xmalloc prototype.
87695         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
87697 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87699         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
87700         appropriate.
87702 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87704         * math/Makefile (tests): Add tst-CMPLX.
87705         * math/tst-CMPLX.c: New file.
87707         * math/complex.h (CMPLXL): Fix typo.
87709         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
87710         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
87711         GLIBC_2.16.
87712         * debug/tst-chk1.c: Add poll and ppoll tests.
87713         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
87714         * include/sys/poll.h: Add hidden proto for ppoll.
87715         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
87716         * sysdeps/mach/hurd/ppoll.c: Likewise.
87717         * io/ppoll.c: Likewise.
87718         * debug/poll_chk.c: New file.
87719         * debug/ppoll_chk.c: New file.
87720         * include/bits/poll2.h: New file.
87721         * io/bits/poll2.h: New file.
87723         [BZ #1350]
87724         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
87726         * configure.in: static is always set to yes.  Remove.
87727         * config.make.in: Don't set build-static.
87728         * Makeconfig: Remove use of build-static.
87729         * dlfcn/Makefile: Likewise.
87730         * elf/Makefile: Likewise.
87731         * math/Makefile: Likewise.
87732         * misc/Makefile: Likewise.
87733         * nptl/Makefile: Likewise.
87734         * sysdeps/mach/hurd/Makefile: Likewise.
87736         * configure.in: PWD_P is not used anymore.
87737         * config.make.in: Remove PWD_P entry.
87739         * configure.in: Remove last remnants of RANLIB.
87740         No need to check for signed size_t anymore.
87741         Don't set libc_commonpagesize and libc_relro_required here for Alpha
87742         and IA-64.
87743         Remove __builtin_expect test because we require at least gcc 3.4.
87744         * aclocal.m4: Likewise.
87746         * wcsmbs/mbrtoc16.c: Implement using towc function.
87747         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
87748         * wcsmbs/wcsmbsload.c: Likewise.
87749         * iconv/gconv_simple.c: Likewise.
87750         * iconv/gconv_int.h: Likewise.
87751         * iconv/gconv_builtin.h: Likewise.
87752         * iconv/iconv_prog.c: Remove CHAR16 handling.
87754         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
87756         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
87758         * configure.in: Remove --with-elf and --enable-bounded options.
87759         Dont set base_machine for ia64.  More non-ELF conditions removed.
87760         Remove testing and setting of leading underscore information.
87761         * config.make.in (build-bounded): Set to no.
87762         * config.h.in: Remove NO_UNDERSCORES entry.
87763         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
87764         them.
87765         * csu/start.c: Remove !NO_UNDERSCORE code.
87766         * locale/localeinfo.h: Likewise.
87767         * sysdeps/generic/machine-gmon.h: Likewise.
87768         * sysdeps/generic/sysdep.h: Likewise.
87769         * sysdeps/i386/sysdep.h: Likewise.
87770         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87771         * sysdeps/mach/sysdep.h: Likewise.
87772         * sysdeps/s390/s390-32/sysdep.h: Likewise.
87773         * sysdeps/s390/s390-64/sysdep.h: Likewise.
87774         * sysdeps/sh/sysdep.h: Likewise.
87775         * sysdeps/sparc/sparc32/alloca.S: Likewise.
87776         * sysdeps/unix/i386/sysdep.S: Likewise.
87777         * sysdeps/unix/sparc/start.c: Likewise.
87778         * sysdeps/unix/sparc/sysdep.S: Likewise.
87779         * sysdeps/unix/sparc/sysdep.h: Likewise.
87780         * sysdeps/unix/start.c: Likewise.
87781         * sysdeps/unix/x86_64/sysdep.S: Likewise.
87782         * sysdeps/x86_64/sysdep.h: Likewise.
87784 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
87786         [BZ #13553]
87787         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
87788         for non-gcc.
87789         * argp/argp-fmtstream.h: Use const instead __const.
87790         * argp/argp.h: Likewise.
87791         * assert/assert.h: Likewise.
87792         * bits/fenv.h: Likewise.
87793         * bits/sched.h: Likewise.
87794         * bits/sigset.h: Likewise.
87795         * bits/sigthread.h: Likewise.
87796         * catgets/nl_types.h: Likewise.
87797         * conform/data/pthread.h-data: Likewise.
87798         * crypt/crypt-private.h: Likewise.
87799         * crypt/crypt.h: Likewise.
87800         * crypt/crypt_util.c: Likewise.
87801         * ctype/ctype.h: Likewise.
87802         * debug/execinfo.h: Likewise.
87803         * debug/mbsnrtowcs_chk.c: Likewise.
87804         * debug/mbsrtowcs_chk.c: Likewise.
87805         * debug/wcsnrtombs_chk.c: Likewise.
87806         * debug/wcsrtombs_chk.c: Likewise.
87807         * debug/wcstombs_chk.c: Likewise.
87808         * dirent/dirent.h: Likewise.
87809         * dlfcn/dlfcn.h: Likewise.
87810         * elf/neededtest4.c: Likewise.
87811         * grp/grp.h: Likewise.
87812         * gshadow/gshadow.h: Likewise.
87813         * iconv/gconv.h: Likewise.
87814         * iconv/gconv_int.h: Likewise.
87815         * iconv/gconv_simple.c: Likewise.
87816         * iconv/iconv.h: Likewise.
87817         * iconv/loop.c: Likewise.
87818         * iconv/skeleton.c: Likewise.
87819         * include/aio.h: Likewise.
87820         * include/aliases.h: Likewise.
87821         * include/argz.h: Likewise.
87822         * include/arpa/inet.h: Likewise.
87823         * include/assert.h: Likewise.
87824         * include/dirent.h: Likewise.
87825         * include/dlfcn.h: Likewise.
87826         * include/execinfo.h: Likewise.
87827         * include/fcntl.h: Likewise.
87828         * include/fenv.h: Likewise.
87829         * include/glob.h: Likewise.
87830         * include/grp.h: Likewise.
87831         * include/libintl.h: Likewise.
87832         * include/mntent.h: Likewise.
87833         * include/netdb.h: Likewise.
87834         * include/pwd.h: Likewise.
87835         * include/rpc/netdb.h: Likewise.
87836         * include/sched.h: Likewise.
87837         * include/search.h: Likewise.
87838         * include/shadow.h: Likewise.
87839         * include/signal.h: Likewise.
87840         * include/stdio.h: Likewise.
87841         * include/stdlib.h: Likewise.
87842         * include/string.h: Likewise.
87843         * include/sys/socket.h: Likewise.
87844         * include/sys/stat.h: Likewise.
87845         * include/sys/statfs.h: Likewise.
87846         * include/sys/statvfs.h: Likewise.
87847         * include/sys/syslog.h: Likewise.
87848         * include/sys/time.h: Likewise.
87849         * include/sys/uio.h: Likewise.
87850         * include/time.h: Likewise.
87851         * include/unistd.h: Likewise.
87852         * include/utmp.h: Likewise.
87853         * include/wchar.h: Likewise.
87854         * include/wctype.h: Likewise.
87855         * inet/aliases.h: Likewise.
87856         * inet/arpa/inet.h: Likewise.
87857         * inet/netinet/ether.h: Likewise.
87858         * inet/netinet/in.h: Likewise.
87859         * intl/libintl.h: Likewise.
87860         * io/bits/fcntl2.h: Likewise.
87861         * io/fcntl.h: Likewise.
87862         * io/ftw.h: Likewise.
87863         * io/sys/poll.h: Likewise.
87864         * io/sys/stat.h: Likewise.
87865         * io/sys/statfs.h: Likewise.
87866         * io/sys/statvfs.h: Likewise.
87867         * io/utime.h: Likewise.
87868         * libio/bits/stdio.h: Likewise.
87869         * libio/bits/stdio2.h: Likewise.
87870         * libio/libio.h: Likewise.
87871         * libio/libioP.h: Likewise.
87872         * libio/stdio.h: Likewise.
87873         * locale/lc-ctype.c: Likewise.
87874         * locale/locale.h: Likewise.
87875         * login/utmp.h: Likewise.
87876         * malloc/arena.c: Likewise.
87877         * malloc/malloc.c: Likewise.
87878         * malloc/malloc.h: Likewise.
87879         * malloc/mcheck.c: Likewise.
87880         * malloc/mtrace.c: Likewise.
87881         * math/bits/mathcalls.h: Likewise.
87882         * math/fenv.h: Likewise.
87883         * math/math_private.h: Likewise.
87884         * misc/bits/error.h: Likewise.
87885         * misc/bits/syslog.h: Likewise.
87886         * misc/err.h: Likewise.
87887         * misc/error.h: Likewise.
87888         * misc/fstab.h: Likewise.
87889         * misc/mntent.h: Likewise.
87890         * misc/regexp.h: Likewise.
87891         * misc/search.h: Likewise.
87892         * misc/sgtty.h: Likewise.
87893         * misc/sys/mman.h: Likewise.
87894         * misc/sys/syslog.h: Likewise.
87895         * misc/sys/uio.h: Likewise.
87896         * misc/sys/xattr.h: Likewise.
87897         * misc/ttyent.h: Likewise.
87898         * nis/rpcsvc/ypclnt.h: Likewise.
87899         * nss/nss.h: Likewise.
87900         * posix/bits/unistd.h: Likewise.
87901         * posix/fnmatch.h: Likewise.
87902         * posix/glob.h: Likewise.
87903         * posix/sched.h: Likewise.
87904         * posix/spawn.h: Likewise.
87905         * posix/sys/wait.h: Likewise.
87906         * posix/unistd.h: Likewise.
87907         * posix/wordexp.h: Likewise.
87908         * pwd/pwd.h: Likewise.
87909         * resolv/netdb.h: Likewise.
87910         * resource/sys/resource.h: Likewise.
87911         * rt/aio.h: Likewise.
87912         * rt/bits/mqueue2.h: Likewise.
87913         * rt/mqueue.h: Likewise.
87914         * shadow/shadow.h: Likewise.
87915         * signal/signal.h: Likewise.
87916         * socket/send.c: Likewise.
87917         * socket/sendto.c: Likewise.
87918         * socket/sys/socket.h: Likewise.
87919         * stdio-common/printf.h: Likewise.
87920         * stdlib/bits/stdlib.h: Likewise.
87921         * stdlib/fmtmsg.h: Likewise.
87922         * stdlib/monetary.h: Likewise.
87923         * stdlib/stdlib.h: Likewise.
87924         * stdlib/ucontext.h: Likewise.
87925         * streams/stropts.h: Likewise.
87926         * string/argz.h: Likewise.
87927         * string/bits/string2.h: Likewise.
87928         * string/string.h: Likewise.
87929         * string/strings.h: Likewise.
87930         * sunrpc/rpc/auth.h: Likewise.
87931         * sunrpc/rpc/auth_des.h: Likewise.
87932         * sunrpc/rpc/clnt.h: Likewise.
87933         * sunrpc/rpc/netdb.h: Likewise.
87934         * sunrpc/rpc/pmap_clnt.h: Likewise.
87935         * sunrpc/rpc/xdr.h: Likewise.
87936         * sysdeps/generic/inttypes.h: Likewise.
87937         * sysdeps/generic/net/if.h: Likewise.
87938         * sysdeps/generic/sys/swap.h: Likewise.
87939         * sysdeps/gnu/net/if.h: Likewise.
87940         * sysdeps/gnu/utmpx.h: Likewise.
87941         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
87942         * sysdeps/i386/i486/bits/string.h: Likewise.
87943         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
87944         * sysdeps/s390/bits/string.h: Likewise.
87945         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
87946         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
87947         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
87948         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
87949         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
87950         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
87951         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
87952         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
87953         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
87954         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
87955         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
87956         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
87957         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
87958         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
87959         * sysdeps/unix/sysv/linux/readv.c: Likewise.
87960         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
87961         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
87962         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87963         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
87964         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
87965         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
87966         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
87967         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
87968         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
87969         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
87970         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
87971         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
87972         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87973         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
87974         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
87975         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
87976         * sysvipc/sys/ipc.h: Likewise.
87977         * sysvipc/sys/msg.h: Likewise.
87978         * sysvipc/sys/sem.h: Likewise.
87979         * sysvipc/sys/shm.h: Likewise.
87980         * termios/termios.h: Likewise.
87981         * time/sys/time.h: Likewise.
87982         * time/time.h: Likewise.
87983         * wcsmbs/bits/wchar2.h: Likewise.
87984         * wcsmbs/uchar.h: Likewise.
87985         * wcsmbs/wchar.h: Likewise.
87986         * wctype/wctype.h: Likewise.
87988         [BZ #13551]
87989         * Makeconfig: Remove all but ELF support including AIX support.
87990         * Makerules: Likewise.
87991         * config.h.in: Likewise.
87992         * config.make.in: Likewise.
87993         * configure: Likewise.
87994         * configure.in: Likewise.
87995         * csu/Makefile: Likewise.
87996         * csu/version.c: Likewise.
87997         * debug/Makefile: Likewise.
87998         * dlfcn/Makefile: Likewise.
87999         * elf/Makefile: Likewise.
88000         * extra-lib.mk: Likewise.
88001         * iconv/Makefile: Likewise.
88002         * include/libc-symbols.h: Likewise.
88003         * include/shlib-compat.h: Likewise.
88004         * resolv/Makefile: Likewise.
88005         * resolv/res_libc.c: Likewise.
88006         * rt/Makefile: Likewise.
88007         * sysdeps/i386/asm-syntax.h: Likewise.
88008         * sysdeps/i386/sysdep.h: Likewise.
88009         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
88010         * sysdeps/mach/sysdep.h: Likewise.
88011         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
88012         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
88013         * sysdeps/s390/asm-syntax.h: Likewise.
88014         * sysdeps/s390/s390-32/sysdep.h: Likewise.
88015         * sysdeps/s390/s390-64/sysdep.h: Likewise.
88016         * sysdeps/sh/sysdep.h: Likewise.
88017         * sysdeps/unix/sparc/sysdep.h: Likewise.
88018         * sysdeps/wordsize-32/divdi3.c: Likewise.
88019         * sysdeps/x86_64/sysdep.h: Likewise.
88021         * argp/Versions: Remove _argp_unlock_xxx.
88023         [BZ #13559]
88024         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
88025         * abilist/libBrokenLocale.abilist: Likewise.
88026         * abilist/libanl.abilist: Likewise.
88027         * abilist/libc.abilist: Likewise.
88028         * abilist/libcrypt.abilist: Likewise.
88029         * abilist/libdl.abilist: Likewise.
88030         * abilist/libm.abilist: Likewise.
88031         * abilist/libnsl.abilist: Likewise.
88032         * abilist/libpthread.abilist: Likewise.
88033         * abilist/libresolv.abilist: Likewise.
88034         * abilist/librt.abilist: Likewise.
88035         * abilist/libthread_db.abilist: Likewise.
88036         * abilist/libutil.abilist: Likewise.
88037         * abilist/libnss_db.abilist: New file.
88039         * scripts/abilist.awk: Add support for indirect functions.
88041         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
88043         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
88045         * shlib-versions: Remove entries for ports architectures.
88047         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
88048         files in ports.
88049         * elf/stackguard-macros.h: Remove support for IA-64.
88050         * elf/tst-auditmod1.c: Likewise.
88051         * sysdeps/generic/ldsodefs.h: Likewise.
88053         * sysdeps/unix/sysv/linux/configure.in: Ports should define
88054         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
88055         configure files.
88057         [BZ #13552]
88058         * configure.in: Remove --enable-omitfp support.
88059         * FAQ.in: Adjust.
88060         * config.make.in: Likewise.
88061         * Makeconfig: Likewise.
88062         * manual/install.texi: Likewise.
88064         In case anyone cares, the IA-64 architecture could move to ports.
88065         * sysdeps/ia64/*: Removed.
88066         * sysdeps/unix/sysv/linux/ia64/*: Removed.
88067         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
88069         [BZ #13555]
88070         * configure.in: Remove entries for unsupported architectures.
88072         [BZ #13533]
88073         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
88074         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
88075         routines.
88076         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
88077         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
88078         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
88079         fall back to using wcrtomb.
88080         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
88081         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
88082         renaming.
88083         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
88084         * wcsmbs/tst-c16c32-1.c: New file.
88086         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
88087         local variable.
88089         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
88091         * elf/tst-unique3.cc: Add explicit declaration of gets.
88092         * elf/tst-unique3lib.cc: Likewise.
88093         * elf/tst-unique3lib2.cc: Likewise.
88094         * elf/tst-unique4.cc: Likewise.
88096         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
88098 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
88100         [BZ #13566]
88101         * assert/assert.h (static_assert): Don't define for C++.
88102         * libio/stdio.h (gets): Do declare for C++ <= C++11.
88103         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
88105 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
88107         * iconv/loop.c (single loop): Fix assertion in storing of
88108         remaining bytes.
88110         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
88112 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
88114         * posix/getconf.c: Update copyright year.
88115         * nss/getent.c: Likewise.
88116         * nss/makedb.c: Likewise.
88117         * iconv/iconvconfig.c: Likewise.
88118         * iconv/iconv_prog.c: Likewise.
88119         * elf/ldconfig.c: Likewise.
88120         * elf/pldd.c: Likewise.
88121         * elf/sotruss.ksh: Likewise.
88122         * catgets/gencat.c: Likewise.
88123         * csu/version.c: Likewise.
88124         * elf/ldd.bash.in: Likewise.
88125         * elf/sprof.c (print_version): Likewise.
88126         * locale/programs/locale.c: Likewise.
88127         * locale/programs/localedef.c: Likewise.
88128         * login/programs/pt_chown.c: Likewise.
88129         * nscd/nscd.c (print_version): Likewise.
88130         * debug/xtrace.sh: Likewise.
88131         * malloc/memusage.sh: Likewise.
88132         * malloc/mtrace.pl: Likewise.
88133         * debug/catchsegv.sh: Likewise.
88135 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
88137         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
88138         pure attribute.
88140 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
88142         [BZ #13533]
88143         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
88144         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
88145         transformations.
88146         * iconv/gconv_int.h: Likewise.
88147         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
88148         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
88149         from libc for GLIBC_2.16.
88150         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
88151         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
88152         * wcsmbs/uchar.h: Really define mbstate_t.
88153         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
88154         * wcsmbs/c16rtomb.c: New file.
88155         * wcsmbs/mbrtoc16.c: New file.
88156         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
88157         for C/POSIX locale.
88158         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
88159         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
88161         * wcsmbs/wchar.h: Add missing __restrict.
88163 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
88165         [BZ #13532]
88166         * time/Makefile (routines): Add timespec_get.
88167         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
88168         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
88169         timespec for ISO C11.
88170         * time/timespec_get.c: New file.
88171         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
88172         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
88174         [BZ #13531]
88175         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
88176         * stdlib/stdlib.h: Declare aligned_alloc.
88177         * Versions.def: Add GLIBC_2.16 for libc.
88178         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
88180         [BZ 13527]
88181         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
88182         ISO C11.
88184         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
88185         code.
88187         [BZ #13528]
88188         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
88190         [BZ #13529]
88191         * assert/assert.h (static_assert): Define.
88193         * version.h: Update for 2.16 development version.
88195         [BZ #13526]
88196         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
88197         _ISOC11_SOURCE.
88199         * version.h (RELEASE): Bump for 2.15 release.
88200         * include/features.h (__GLIBC_MINOR__): Bump to 15.
88202         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
88203         Patch by Marek Polacek <mpolacek@redhat.com>.
88205         * bits/byteswap.h: Protect long long constants with __extension__.
88206         * sysdeps/i386/bits/byteswap.h: Likewise.
88207         * sysdeps/ia64/bits/byteswap.h: Likewise.
88208         * sysdeps/s390/bits/byteswap.h: Likewise.
88209         * sysdeps/x86_64/bits/byteswap.h: Likewise.
88211 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88213         [BZ #13540]
88214         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
88215         destination buffer.
88216         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
88218 2011-12-23  Marek Polacek  <polacek@redhat.com>
88220         * elf/dl-addr.c (determine_info): Add inline keyword.
88221         * elf/tst-auditmod4b.c (check_avx): Likewise.
88222         * elf/tst-auditmod6b.c (check_avx): Likewise.
88223         * elf/tst-auditmod6c.c (check_avx): Likewise.
88224         * elf/tst-auditmod7b.c (check_avx): Likewise.
88226 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
88228         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
88229         !__SSE_MATH__.
88231 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88233         [BZ #13540]
88234         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
88235         processing for last bytes.
88237 2011-08-06  Bruno Haible  <bruno@clisp.org>
88239         [BZ #13061]
88240         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
88241         U+0385, not to U+1FEE.
88243         [BZ #13062]
88244         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
88245         entry for U+00A5 U+0301.
88247 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
88249         [BZ #13166]
88250         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
88251         buffer for the output is too small.
88253         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
88254         optimization.
88256         [BZ #13185]
88257         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
88258         SSE flags if possible.
88260 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88262         [BZ #13540]
88263         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
88264         processing for last bytes.
88266 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
88268         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
88269         (syscall-list-default-options, syscall-list-default-condition)
88270         (syscall-list-includes): Define.
88271         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
88272         list of ABIs and options and #if conditions for each ABI.  Do not
88273         handle common syscalls between ABIs specially.
88274         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
88275         Remove.
88276         (syscall-list-variants, syscall-list-32bit-options)
88277         (syscall-list-32bit-condition, syscall-list-64bit-options)
88278         (syscall-list-64bit-condition): Define.
88279         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
88280         (syscall-list-variants, syscall-list-32bit-options)
88281         (syscall-list-32bit-condition, syscall-list-64bit-options)
88282         (syscall-list-64bit-condition): Define.
88283         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
88284         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/x86_64/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.
88294 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
88296         * locale/iso-639.def: Add brx entry.
88298         [BZ #13328]
88299         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
88300         Proposed by Mariusz_Cukr <marcukr@op.pl>.
88302         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
88303         __feraiseexcept_renamed.
88305 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
88307         [BZ #13538]
88308         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
88309         EPOLLET with unsigned values.
88310         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88311         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
88313         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
88314         to large cancellation.
88315         * math/s_cacoshf.c: Likewise.
88316         * math/s_cacoshl.c: Likewise.
88318 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
88320         [BZ #13305]
88321         [BZ #12786]
88322         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
88323         * math/s_cacoshf.c: Likewise.
88324         * math/s_cacoshl.c: Likewise.
88326 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
88328         [BZ #13439]
88329         * iconv/gconv.h: Define __GCONV_SWAP.
88330         * iconvdata/unicode.c: The swap bit must be stored in __flags.
88331         * iconvdata/utf-16.c: Likewise.
88332         * iconvdata/utf-32.c: Likewise.
88334 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
88336         [BZ #13524]
88337         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
88338         numerator after shifting it by one limb.
88340 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
88342         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
88343         under [__USE_EXTERN_INLINES].
88345 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
88347         [BZ #13446]
88348         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
88350 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88352         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
88353         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
88354         optimized code.
88355         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
88356         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
88357         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
88358         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
88359         for strncasecmp/strncasecmp_l compilation.
88360         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
88361         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
88363 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
88365         [BZ #13484]
88366         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
88367         of __asm__.
88369 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
88371         [BZ #13506]
88372         * time/tzfile.c (__tzfile_read): Check values from file header.
88374 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
88376         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
88377         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
88378         * powerpc/powerpc32/dl-start.S: Likewise.
88379         * powerpc/powerpc32/elf/start.S: Likewise.
88380         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
88381         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
88382         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
88383         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
88384         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
88385         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
88386         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
88387         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
88388         * powerpc/powerpc32/fpu/s_round.S: Likewise.
88389         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
88390         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
88391         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
88392         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
88393         * powerpc/powerpc32/memset.S: Likewise.
88394         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
88395         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
88396         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
88397         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
88398         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
88399         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
88400         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
88401         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
88402         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
88403         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
88404         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
88405         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88406         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88408 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88410         * math/libm-test.inc: Added more nearbyint tests.
88411         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
88412         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
88413         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
88414         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
88416 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
88418         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
88419         FD_CLOEXEC.
88421 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88423         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
88424         Add wcscpy-ssse3 wcscpy-c.
88425         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
88426         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
88427         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
88428         * sysdeps/x86_64/wcschr.S: New file.
88429         * sysdeps/x86_64/wcsrchr.S: New file.
88430         * string/test-strcmp.c: Remove checking of wcscmp function for
88431         wrong alignments.
88432         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
88433         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
88434         wcsrchr-sse2 wcsrchr-c.
88435         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
88436         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
88437         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
88438         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
88439         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
88440         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
88441         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
88442         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
88443         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
88444         * wcsmbc/wcschr.c (WCSCHR): New macro.
88446 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88448         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
88449         * wcsmbs/test-wcsrchr.c: New file.
88450         * string/test-strrchr.c: Add wcsrchr support.
88451         (WIDE): New macro.
88452         * wcsmbs/test-wcscpy.c: New file.
88453         * string/test-strcpy.c: Add wcscpy support.
88454         (WIDE): New macro.
88456 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
88458         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
88459         the inner loop.
88461 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
88463         [BZ #13472]
88464         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
88466 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
88468         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
88469         Minor optimizations.
88471         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
88472         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
88473         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
88475 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
88477         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
88478         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
88479         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
88480         for gcc to avoid warnings.
88481         * inet/Makefile (tests): Add tst-checks.
88482         * inet/tst-checks.c: New file.
88484         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
88485         warning.
88487         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
88488         __wmemcmp_sse2.
88490         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
88491         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
88493         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
88495 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
88497         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
88498         problem.
88500         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
88502 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
88504         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
88505         conditional on GCC version.
88506         (__arch_compare_and_exchange_val_8_acq)
88507         (__arch_compare_and_exchange_val_16_acq)
88508         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
88509         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
88510         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
88512 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
88514         * sysdeps/sh/backtrace.c: New file.
88516 2011-12-02  Andreas Schwab  <schwab@redhat.com>
88518         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
88519         parenthesis.
88521 2011-12-01  Andreas Schwab  <schwab@redhat.com>
88523         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
88524         falling back to utime.
88526 2011-11-30  Andreas Schwab  <schwab@redhat.com>
88528         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
88529         expectations for float.
88531 2011-11-29  Andreas Schwab  <schwab@redhat.com>
88533         * locale/weight.h (findidx): Add parameter len.
88534         * locale/weightwc.h (findidx): Likewise.
88535         * posix/fnmatch_loop.c (FCT): Adjust caller.
88536         * posix/regcomp.c (build_equiv_class): Likewise.
88537         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
88538         * posix/regexec.c (check_node_accept_bytes): Likewise.
88539         * string/strcoll_l.c (STRCOLL): Likewise.
88540         * string/strxfrm_l.c (STRXFRM): Likewise.
88542 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
88544         * Makefile.in: Remove CVSOPT handling.
88545         * configure.in: Remove use of AC_REVISION.
88546         * iconvdata/Makefile (distribute): No need to filter out CVS.
88547         * scripts/list-sources.sh: Remove CVS, subversion and monotone
88548         handling.
88550 2011-11-16  Andreas Schwab  <schwab@redhat.com>
88552         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
88553         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
88554         [USE_AS_STRNCASECMP_L]: Likewise.
88555         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
88556         NO_TLS_DIRECT_SEG_REFS.
88557         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
88558         Fix argument offsets for non-PIC.
88559         [USE_AS_STRNCASECMP_L]: Likewise.
88560         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
88561         NO_TLS_DIRECT_SEG_REFS.
88563 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
88565         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
88566         O_CLOEXEC.
88567         * locale/loadlocale.c (_nl_load_locale): Likewise.
88569 2011-11-15  Andreas Schwab  <schwab@redhat.com>
88571         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
88572         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
88573         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
88574         (SYSCALL_GETTIME): Set errno on error.
88576         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
88577         count references to noai6ai_cached.
88579 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
88581         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
88583         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
88584         FD_CLOEXEC for /proc/self/maps.
88586         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
88587         FD_CLOEXEC for /proc/meminfo.
88589         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
88590         gai.conf.
88592         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
88593         FD_CLOEXEC for given file.
88595         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
88597         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
88598         FD_CLOEXEC for /etc/hosts.
88599         (_gethtent): Likewise.
88601         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
88603         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
88604         cancellation and set FD_CLOEXEC for /etc/netgroup.
88606         * nss/nss_files/files-key.c (search): Don't allow cancellation when
88607         reading /etc/publickey.
88609         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
88610         allow cancellation when reading /etc/group.
88612         * nss/nss_files/files-alias.c (internal_setent): Don't allow
88613         cancellation.
88614         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
88616         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
88617         when using data file.
88619         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
88621         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
88622         (write_nis_obj): Use "c" and "e" in fopen.
88624         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
88626         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
88628         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
88630         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
88632         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
88633         locale.alias.
88635         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
88637         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
88639         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
88641         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
88642         file parsing and set FD_CLOEXEC.
88644 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88646         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
88648 2011-11-14  Andreas Schwab  <schwab@redhat.com>
88650         * malloc/arena.c (arena_get2): Don't call reused_arena when
88651         _int_new_arena failed.
88653 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88655         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
88656         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
88657         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
88658         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88659         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88660         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
88661         to compile strcasecmp and strncasecmp.
88662         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
88663         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
88665         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
88667 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
88669         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
88670         locale-defines.sym to gen-as-const-headers.
88671         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
88672         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
88673         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
88674         to compile strcasecmp and strncasecmp.
88675         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
88676         strcasecmp_l and strncasecmp_l.
88677         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
88678         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
88679         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
88680         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
88681         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
88682         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
88683         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
88684         * sysdeps/i386/i686/multiarch/strncase.S: New file.
88685         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
88686         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
88687         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
88689 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
88691         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
88692         result of SYSDEP_GETTIME_CPU to retval.
88693         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
88694         parameter list to macro.  Remove trailing semicolon.  Adjust users.
88696         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
88697         variable.
88699         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
88700         mantissa words.
88701         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
88703         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
88704         from unused variable.
88706         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
88707         DWARF definitions.
88708         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
88709         for assembling.
88711         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
88712         over namespaces.
88714         * sunrpc/rpc_prot.c (rejected): Fix case value.
88716         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
88717         unsigned long long int to avoid warnings in shift.
88719         * posix/regex_internal.c (re_string_reconstruct): Actually use result
88720         of use of trans.
88721         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
88722         variable tmp.
88724         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
88725         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
88726         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
88728         * nis/nis_table.c (nis_list): Use variable of correct type for
88729         result of __follow_path call.
88731 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88733         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
88734         of math functions ceil, trunc, floor, round, and sqrt, when
88735         avaliable on the platform.
88736         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
88737         name clash.
88738         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88739         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88740         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88742 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
88744         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
88745         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
88747 2011-11-11  Roland McGrath  <roland@hack.frob.com>
88749         * include/unistd.h: Fix __readlink return type.
88750         Reported by Chris Metcalf <cmetcalf@tilera.com>.
88752 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
88754         * stdlib/ucontext.h: Undo last change for makecontext.
88756 2011-11-11  Andreas Schwab  <schwab@redhat.com>
88758         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
88760         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
88761         * setjmp/setjmp.h: Mark functions as non-leaf.
88762         * setjmp/bits/setjmp2.h: Likewise.
88763         * stdlib/ucontext.h: Likewise.
88765 2011-11-10  Andreas Schwab  <schwab@redhat.com>
88767         * malloc/arena.c (_int_new_arena): Don't increment narenas.
88768         (reused_arena): Don't check arena limit.
88769         (arena_get2): Atomically check arena limit.
88771 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
88773         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
88774         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
88776         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
88777         instructions.
88779 2011-11-07  Andreas Schwab  <schwab@redhat.com>
88781         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
88782         handler when locking.
88784         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88785         Fix size of allocated buffer.
88787 2011-11-04  Andreas Schwab  <schwab@redhat.com>
88789         [BZ #10103]
88790         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
88791         declarations for long double functions.
88792         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
88794         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
88796 2011-11-03  Andreas Schwab  <schwab@redhat.com>
88798         * nscd/nscd.c (main): Don't start AVC thread until credentials are
88799         installed.
88801         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
88802         is disabled.
88804 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88806         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
88808 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
88810         * include/alloca.h (stackinfo_alloca_round): Define.
88811         (extend_alloca): Use it.
88812         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
88813         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
88814         here.
88816         * scripts/check-local-headers.sh: Ignore libaudit.h.
88818         * nscd/Makefile (extra-objs): Make recursively expanded.
88820 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
88822         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
88823         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
88825         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
88826         * posix/tst-rfc3484-2.c: Likewise.
88827         * posix/tst-rfc3484-3.c: Likewise.
88829         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
88830         process_vm_writev.
88831         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
88832         process_vm_writev.
88833         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
88834         process_vm_writev from libc using GLIBC_2.15 version.
88836         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
88838 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
88840         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
88841         stack usage.
88843 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
88845         [BZ #13367]
88846         * nss/getent.c (initgroups_keys): Show error message in case no group
88847         names are given.
88849         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
88850         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
88851         __bump_nl_timestamp.
88852         * nscd/connections (nscd_init): When host database is served open
88853         netlink socket and request notification about configuration changes.
88854         (main_loop_poll): Track netlink file descriptor and bump timestamp
88855         in case data becomes available.
88856         (main_loop_epoll): Likewise.
88857         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
88858         (database_pers_head): Add extra_data fileds.
88859         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
88860         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
88861         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
88862         Adjust caller.
88863         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
88864         in6ai data, call __free_in6ai.
88865         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
88866         Add -DHAVE_NETLINK.
88867         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
88868         interface information.  Reuse previous data if netlink timestamp
88869         is not changed.
88870         (__bump_nl_timestamp): New function.
88871         (__free_in6ai): New function.
88873 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
88875         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
88876         close_not_cancel_no_status here.
88877         (__check_pf): Reorganize code a bit to not call close twice if OOM.
88879 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
88881         [BZ #13276]
88882         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
88883         return value.
88885         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
88886         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
88887         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
88889 2011-07-03  Andreas Jaeger  <aj@suse.de>
88891         [BZ #10709]
88892         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
88893         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
88894         * math/libm-test.inc (sin_test): Add test case.
88896 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
88898         [BZ #13337]
88899         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
88900         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88902         * elf/chroot_canon.c (chroot_canon): Cleanups.
88904         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
88906         [BZ #13335]
88907         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
88908         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88910         * string/test-strchr.c: Make usable for strchrnul testing.
88911         * string/test-strchrnul.c: New file.
88912         * string/Makefile (strop-tests): Add strchrnul.
88914         * po/it.po: Update from translation team.
88915         * po/es.po: Likewise.
88917 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
88919         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
88920         the three constants needed as parameters.  Drop the others.
88921         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
88922         __m128i_strloadu_tolower.
88923         Create and initialize variable zero and use it in all the places
88924         where _mm_setzero_si128 was used.
88926         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
88927         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
88928         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
88929         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
88930         anymore.
88931         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
88932         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
88933         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
88934         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
88935         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
88936         __mpranred, __mptan.
88937         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
88938         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
88939         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
88940         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
88941         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
88942         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
88943         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
88944         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
88945         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
88947 2011-10-28  Andreas Schwab  <schwab@redhat.com>
88949         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
88950         redefine if SHARED.
88951         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
88953         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
88954         wide char related routines to wcsmbs subdir.
88956 2011-10-27  Andreas Schwab  <schwab@redhat.com>
88958         [BZ #13344]
88959         * misc/sys/cdefs.h (__THROWNL): Define.
88960         * posix/unistd.h: Use __THREADNL instead of __THREAD
88961         for memory synchronization functions.
88963 2011-10-26  Roland McGrath  <roland@hack.frob.com>
88965         [BZ #13349]
88966         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
88967         doesn't exist.
88968         * manual/stdio.texi (Obstack Streams): Node removed.
88970 2011-10-26  Andreas Schwab  <schwab@redhat.com>
88972         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
88973         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88974         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88976         * math/math_private.h (math_force_eval): Allow non-addressable
88977         arguments.
88978         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
88980 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88982         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
88983         file is not needed.
88985         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
88986         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
88987         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88988         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88989         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88990         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88991         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88992         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
88993         Add AVX variants.
88994         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
88995         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
88996         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
88997         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
88998         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
88999         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
89000         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
89001         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
89002         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
89003         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
89004         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
89005         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
89006         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
89007         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
89008         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
89009         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
89010         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
89011         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
89012         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
89014         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
89015         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
89017         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
89018         place.  Use VEX encoding when compiling for AVX.
89020 2011-10-25  Andreas Schwab  <schwab@redhat.com>
89022         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
89023         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
89025         * string/test-strchr.c (do_test): Don't generate NUL bytes.
89027 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89029         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
89030         useless if() expression.
89031         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89032         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
89033         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
89034         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89035         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
89036         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89037         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89038         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89039         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
89040         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89041         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89042         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89043         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
89044         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89045         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
89046         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89047         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89048         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89049         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
89051         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
89053 2011-10-25  Andreas Schwab  <schwab@redhat.com>
89055         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
89056         condition.
89057         * elf/dl-fini.c (_dl_sort_fini): Likewise.
89059 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89061         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
89062         .text section.  Avoid duplicate constants.
89063         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
89064         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89065         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89066         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89067         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89068         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89069         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89070         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89071         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
89072         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
89073         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
89074         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
89075         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
89076         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
89077         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
89078         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
89079         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
89080         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
89081         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
89082         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89083         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
89084         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
89085         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
89086         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
89087         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
89088         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
89089         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
89090         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
89091         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
89092         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
89093         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
89094         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
89095         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
89096         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
89097         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
89098         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
89099         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
89100         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
89101         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
89102         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
89103         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
89104         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
89105         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
89106         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
89107         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
89109 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
89111         * sysdeps/x86_64/dla.h: Move to ...
89112         * sysdeps/x86_64/fpu/dla.h: ...here.
89113         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
89114         situations.  Use __builtin_fma only for gcc 4.6 and up.
89116         * config.make.in: Add have-mfma4 entry.
89117         * configure.in: Substitute libc_cv_cc_fma4.
89118         * math/Makefile (dbl-only-routines): Add sincostab.
89119         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
89120         Use __sincostab not sincos.
89121         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
89122         name is a macro.
89123         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89124         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89125         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89126         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
89127         using __copysign.
89128         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
89129         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
89130         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
89131         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
89132         and __inv.
89133         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
89134         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
89135         __copysign.
89136         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
89137         define aliases when function name is a macro.
89138         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
89139         sysdeps/ieee754/dbl-64/sincos.tbl.
89140         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
89141         fma4-enabled routines.
89142         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
89143         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
89144         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
89145         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
89146         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
89147         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
89148         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
89149         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
89150         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
89151         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
89152         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
89153         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
89154         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
89155         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
89156         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
89157         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
89158         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
89159         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
89160         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
89161         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
89162         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
89163         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
89164         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
89165         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
89166         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
89167         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
89168         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
89169         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
89170         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
89171         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
89173         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
89174         rename.
89175         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89176         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89177         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89178         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89179         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89180         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89181         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89182         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89184 2011-10-24  Andreas Schwab  <schwab@redhat.com>
89186         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
89188 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89190         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
89192         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
89193         prediction.
89194         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
89196         * string/strnlen.c: Don't define STRNLEN, reverse logic.
89197         Remove unused variable magic_bits.
89198         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
89200         * string/strnlen.c: Define and use STRNLEN macro.
89201         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
89202         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
89203         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
89204         * wcsmbs/wcslen.c: Define and use WCSLEN.
89205         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
89206         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
89207         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
89208         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
89209         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
89210         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
89211         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
89213 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89216         strnlen-sse2-no-bsf.
89217         Rename strlen-no-bsf to strlen-sse2-no-bsf.
89218         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
89219         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
89220         Add strnlen support.
89221         (USE_AS_STRNLEN): New macro.
89222         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
89223         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
89224         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
89225         * sysdeps/x86_64/wcslen.S: New file.
89227 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
89229         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
89230         XMM-moves are used for copying on small sizes.
89232 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89234         * wcsmbs/Makefile (strop-tests): Add wcschr.
89235         * wcsmbs/test-wcschr.c: New file.
89236         * string/test-strchr.c: Update.
89237         Add wcschr support.
89238         (WIDE): New macro.
89240 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89242         * wcsmbs/Makefile (strop-tests): Add wcslen.
89243         * wcsmbs/test-wcslen.c: New file.
89244         * string/test-strlen.c: Update.
89245         Add wcslen support.
89246         (WIDE): New macro.
89248 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89250         * po/it.po: Update from translation team.
89252 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89254         * sysdeps/x86_64/wcscmp.S: Update.
89255         Fix wrong comparison semantics.
89256         wcscmp shall use signed comparison not unsigned.
89257         Don't use substraction to avoid overflow bug.
89258         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
89259         * wcsmbc/wcscmp.c: Likewise.
89260         * string/test-strcmp.c: Likewise.
89261         Add new tests to check cases with negative values.
89263 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89265         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
89266         * sysdeps/x86_64/dla.h: ...here.  New file.
89267         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
89268         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89269         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89270         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89271         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89272         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89273         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89274         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89275         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89277 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
89279         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
89280         __ynl_finite aliases.
89282 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
89284         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
89286         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
89287         define DLA_FMA.
89288         [DLA_FMA] (EMULV): Use DLA_FMA.
89289         [DLA_FMA] (MUL12): Use EMULV.
89290         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
89291         that are not needed.
89292         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89293         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89294         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89295         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89296         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89297         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89298         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89300 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
89302         * math/s_nan.c: Undef __nan.
89303         * math/s_nanf.c: Undef __nanf.
89304         * math/s_nanl.c: Undef __nanl.
89305         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
89306         "math_private.h".
89308 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
89310         * math/s_catan.c: Add branch predictions.
89311         * math/s_catanf.c: Likewise.
89312         * math/s_catanh.c: Likewise.
89313         * math/s_catanhf.c: Likewise.
89314         * math/s_catanhl.c: Likewise.
89315         * math/s_catanl.c: Likewise.
89316         * math/s_cexp.c: Likewise.
89317         * math/s_cexpf.c: Likewise.
89318         * math/s_cexpl.c: Likewise.
89319         * math/s_clog.c: Likewise.
89320         * math/s_clog10.c: Likewise.
89321         * math/s_clog10f.c: Likewise.
89322         * math/s_clog10l.c: Likewise.
89323         * math/s_clogf.c: Likewise.
89324         * math/s_clogl.c: Likewise.
89325         * math/s_csqrt.c: Likewise.
89326         * math/s_csqrtf.c: Likewise.
89327         * math/s_csqrtl.c: Likewise.
89328         * math/s_ctanf.c: Likewise.
89329         * math/s_ctanh.c: Likewise.
89330         * math/s_ctanhf.c: Likewise.
89331         * math/s_ctanhl.c: Likewise.
89332         * math/s_ctanl.c: Likewise.
89334         * math/math_private.h: Define __nan, __nanf, __nanl.
89335         * math/s_cacosh.c: Include <math_private.h>.
89336         * math/s_cacoshl.c: Likewise.
89337         * math/s_casinh.c: Likewise.
89338         * math/s_casinhf.c: Likewise.
89339         * math/s_casinhl.c: Likewise.
89340         * math/s_ccos.c: Rely entire on ccosh.
89341         * math/s_ccosf.c: Rely entire on ccoshf.
89342         * math/s_ccosl.c: Rely entirely on ccoshl.
89343         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
89344         Remove tests for FE_INVALID.
89345         * math/s_ccoshf.c: Likewise.
89346         * math/s_ccoshl.c: Likewise.
89347         * math/s_csin.c: Likewise.
89348         * math/s_csinf.c: Likewise.
89349         * math/s_csinh.c Likewise.
89350         * math/s_csinhf.c: Likewise.
89351         * math/s_csinhl.c: Likewise.
89352         * math/s_csinl.c: Likewise.
89353         * math/s_ctan.c: Likewise.
89354         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
89355         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
89356         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
89358 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
89360         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
89361         compilation problems.
89363         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
89364         __builtin_expect.
89366 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
89368         * sysdeps/i386/configure.in: Test for -mfma4 option.
89369         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
89370         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
89371         COMMON_CPUID_INDEX_80000001.
89372         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
89373         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
89374         use it if FMA3 is not supported.
89375         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
89377         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
89378         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89380 2011-10-20  Andreas Schwab  <schwab@redhat.com>
89382         [BZ #12892]
89383         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
89384         it would create a cycle with a link time dependency.
89386 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
89388         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
89389         instruction.
89390         * string/Makefile (strop-tests): Add rawmemchr.
89391         * string/test-rawmemchr.c: New file.
89393         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
89394         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
89395         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
89396         when compiling str{,n}casecmp and when AVX is available.  Hook up
89397         new optimized code in initializers.
89399 2011-10-19  Andreas Schwab  <schwab@redhat.com>
89401         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
89402         __feraiseexcept instead of feraiseexcept.
89404 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
89406         * math/math_private.h: Define defaults for libc_fetestexcept and
89407         libc_feupdateenv.
89408         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
89409         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
89410         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89411         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89412         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
89413         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89414         libc_fetestexcept and libc_feupdateenv.
89416         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
89417         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
89418         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
89419         * sysdeps/x86_64/fpu/math_private.h: Define special version of
89420         libc_feholdexcept_setround.
89422         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
89423         Add s_nearbyint-c and s_nearbyintf-c.
89424         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
89425         nearbyintf inlines.
89426         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
89427         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
89428         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
89429         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
89431         * math/math_private.h: Define defaults for libc_fegetround,
89432         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
89433         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
89434         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
89435         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
89436         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
89437         standard functions.
89438         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89439         Remove comments and hacks for old compiler versions.
89440         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89441         libc_fegetround, libc_fesetround, libc_feholdexcept, and
89442         libc_feholdexceptl.
89444 2011-10-18  Andreas Schwab  <schwab@redhat.com>
89446         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
89447         (__feraiseexcept_renamed): Add __NTH.
89448         (feraiseexcept): Add __NTH.  Rename local variables to fix
89449         namespace violations.
89451 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
89453         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
89455         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
89457         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
89458         recently added interfaces.
89459         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
89461         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
89462         about macro parameter expansion.
89464         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
89465         __NO_MATH_INLINES is defined.  Cleanups.
89467         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
89468         and __floorf is target has SSE4.1.
89469         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
89470         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
89471         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
89472         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
89474         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
89475         name.
89476         (floorf): Likewise.
89478         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
89480 2011-10-17  Andreas Schwab  <schwab@redhat.com>
89482         * misc/sys/cdefs.h: Fix last change.
89484         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
89485         database lookup.
89487 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
89489         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
89491         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
89492         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89493         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
89494         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89495         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89496         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
89497         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89498         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89499         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
89500         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
89501         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
89502         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
89503         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
89504         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
89505         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
89506         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
89507         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
89508         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
89509         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
89510         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
89511         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
89512         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
89514         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
89515         ceil, ceilf, floor, floorf.
89517         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
89518         Perform IRELATIVE relocations last.
89520         * elf/do-rel.h: Add another parameter nrelative, replacing the
89521         local variable with the same name.  Change name of the function
89522         to end in Rel or Rela (uppercase).
89523         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
89524         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
89525         elf_dynamic_do_##reloc function.
89527 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
89529         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
89530         is sufficient, at least on modern CPUs.
89532         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
89534         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
89535         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
89537         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
89538         __expl_finite.
89539         * math/bits/math-finite.h: Add entries for exp.
89540         * math/e_expl.c: Add __*_finite alias.
89541         * sysdeps/i386/fpu/e_exp.S: Likewise.
89542         * sysdeps/i386/fpu/e_expf.S: Likewise.
89543         * sysdeps/i386/fpu/e_expl.c: Likewise.
89544         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89545         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89546         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
89547         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
89548         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
89549         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
89550         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
89552         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
89553         is sufficient, at least on modern CPUs.
89555         * ctype/ctype-info.c (__ctype_init): Define.
89556         * include/ctype.h (__ctype_init): Declare.
89557         (__ctype_b_loc): The variable is always initialized.
89558         (__ctype_toupper_loc): Likewise.
89559         (__ctype_tolower_loc): Likewise.
89560         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
89561         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
89563 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
89565         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
89567         * configure.in: Also look in $cxxmachine/include for C++ system
89568         headers.
89570 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89572         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
89573         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
89574         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
89575         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
89576         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
89577         (USE_AS_WMEMCMP): New macro.
89578         Fixing indents.
89579         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
89580         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
89581         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
89582         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
89583         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89584         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
89585         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
89586         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
89587         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
89588         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
89589         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
89590         (USE_AS_WMEMCMP): New macro.
89591         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
89592         * sysdeps/string/test-memcmp.c: Update.
89593         Fix simple_wmemcmp.
89594         Add new tests.
89595         * wcsmbs/wmemcmp.c: Update.
89596         (WMEMCMP): New macro.
89597         Fix overflow bug.
89599 2011-10-12  Andreas Jaeger  <aj@suse.de>
89601         [BZ #13268]
89602         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
89604 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
89606         * libio/iofwide.c (do_length): Avoid warning.
89608         * ctype/ctype.h (__isctype_f): Add missing __THROW.
89610 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
89612         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
89614         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
89615         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
89616         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
89617         * sysdeps/i386/i686/fpu/e_log.S: New file.
89618         * sysdeps/i386/i686/fpu/e_logf.S: New file.
89619         * sysdeps/i386/i686/fpu/e_logl.S: New file.
89621         * ctype/ctype.h: Add support for inlined isXXX functions when
89622         compiling C++ code.
89624 2011-10-14  Andreas Schwab  <schwab@redhat.com>
89626         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89628         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
89630 2011-10-13  Roland McGrath  <roland@hack.frob.com>
89632         [BZ #13291]
89633         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
89635 2011-10-13  Andreas Schwab  <schwab@redhat.com>
89637         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
89638         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
89639         feraiseexcept.
89641         * sysdeps/x86_64/memrchr.S: Check for zero size.
89643         * string/stratcliff.c: Add memrchr tests.
89645 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89647         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89648         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
89649         rawmemchr-sse2 rawmemchr-sse2-bsf.
89650         * sysdeps/i386/i686/multiarch/memchr.S: New file.
89651         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
89652         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
89653         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
89654         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
89655         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
89656         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
89657         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
89658         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
89659         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
89660         * string/memrchr.c (MEMRCHR): New macro.
89662 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
89664         Add integration with gcc's -ffinite-math-only and optimize wrapper
89665         functions in libm.
89666         * Versions.def: Define GLIBC_2.15 version for libm.
89667         * math/Makefile (headers): Add bits/math-finite.h.
89668         * math/bits/math-finite.h: New file.
89669         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
89670         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
89671         * math/e_acoshl.c: Add __*_finite alias.
89672         * math/e_acosl.c: Likewise.
89673         * math/e_asinl.c: Likewise.
89674         * math/e_atan2l.c: Likewise.
89675         * math/e_atanhl.c: Likewise.
89676         * math/e_coshl.c: Likewise.
89677         * math/e_exp10.c: Likewise.
89678         * math/e_exp10f.c: Likewise.
89679         * math/e_exp10l.c: Likewise.
89680         * math/e_exp2l.c: Likewise.
89681         * math/e_fmodl.c: Likewise.
89682         * math/e_gammal_r.c: Likewise.
89683         * math/e_hypotl.c: Likewise.
89684         * math/e_j0l.c: Likewise.
89685         * math/e_j1l.c: Likewise.
89686         * math/e_jnl.c: Likewise.
89687         * math/e_lgammal_r.c: Likewise.
89688         * math/e_log10l.c: Likewise.
89689         * math/e_log2l.c: Likewise.
89690         * math/e_logl.c: Likewise.
89691         * math/e_powl.c: Likewise.
89692         * math/e_sinhl.c: Likewise.
89693         * math/e_sqrtl.c: Likewise.
89694         * math/e_scalb.c: Completely rewritten and optimized.
89695         * math/e_scalbf.c: Likewise.
89696         * math/e_scalbl.c: Likewise.
89697         * math/w_acos.c: Likewise.
89698         * math/w_acosf.c: Likewise.
89699         * math/w_acosl.c: Likewise.
89700         * math/w_acosh.c: Likewise.
89701         * math/w_acoshf.c: Likewise.
89702         * math/w_acoshl.c: Likewise.
89703         * math/w_asin.c: Likewise.
89704         * math/w_asinf.c: Likewise.
89705         * math/w_asinl.c: Likewise.
89706         * math/w_atan2.c: Likewise.
89707         * math/w_atan2f.c: Likewise.
89708         * math/w_atan2l.c: Likewise.
89709         * math/w_atanh.c: Likewise.
89710         * math/w_atanhf.c: Likewise.
89711         * math/w_atanhl.c: Likewise.
89712         * math/w_exp10.c: Likewise.
89713         * math/w_exp10f.c: Likewise.
89714         * math/w_exp10l.c: Likewise.
89715         * math/w_fmod.c: Likewise.
89716         * math/w_fmodf.c: Likewise.
89717         * math/w_fmodl.c: Likewise.
89718         * math/w_j0.c: Likewise.
89719         * math/w_j0f.c: Likewise.
89720         * math/w_j0l.c: Likewise.
89721         * math/w_j1.c: Likewise.
89722         * math/w_j1f.c: Likewise.
89723         * math/w_j1l.c: Likewise.
89724         * math/w_jn.c: Likewise.
89725         * math/w_jnf.c: Likewise.
89726         * math/w_log.c: Likewise.
89727         * math/w_logf.c: Likewise.
89728         * math/w_logl.c: Likewise.
89729         * math/w_log10.c: Likewise.
89730         * math/w_log10f.c: Likewise.
89731         * math/w_log10l.c: Likewise.
89732         * math/w_log2.c: Likewise.
89733         * math/w_log2f.c: Likewise.
89734         * math/w_log2l.c: Likewise.
89735         * math/w_pow.c: Likewise.
89736         * math/w_powf.c: Likewise.
89737         * math/w_powl.c: Likewise.
89738         * math/w_remainder.c: Likewise.
89739         * math/w_remainderf.c: Likewise.
89740         * math/w_remainderl.c: Likewise.
89741         * math/w_scalb.c: Likewise.
89742         * math/w_scalbf.c: Likewise.
89743         * math/w_scalbl.c: Likewise.
89744         * math/w_sqrt.c: Likewise.
89745         * math/w_sqrtf.c: Likewise.
89746         * math/w_sqrtl.c: Likewise.
89747         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
89748         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
89749         used.
89750         * math/math_private.h: Declare __kernel_standard_f.
89751         * math/w_cosh.c: Remove cruft and optimize a bit.
89752         * math/w_coshf.c: Likewise.
89753         * math/w_coshl.c: Likewise.
89754         * math/w_exp2.c: Likewise.
89755         * math/w_exp2f.c: Likewise.
89756         * math/w_exp2l.c: Likewise.
89757         * math/w_hypot.c: Likewise.
89758         * math/w_hypotf.c: Likewise.
89759         * math/w_hypotl.c: Likewise.
89760         * math/w_lgamma.c: Likewise.
89761         * math/w_lgamma_r.c: Likewise.
89762         * math/w_lgammaf.c: Likewise.
89763         * math/w_lgammaf_r.c: Likewise.
89764         * math/w_lgammal.c: Likewise.
89765         * math/w_lgammal_r.c: Likewise.
89766         * math/w_sinh.c: Likewise.
89767         * math/w_sinhf.c: Likewise.
89768         * math/w_sinhl.c: Likewise.
89769         * math/w_tgamma.c: Likewise.
89770         * math/w_tgammaf.c: Likewise.
89771         * math/w_tgammal.c: Likewise.
89772         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
89773         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89774         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
89775         Minor optimizations.  Pretty printing.  Remove cruft.
89776         * sysdeps/i386/fpu/e_acosf.S: Likewise.
89777         * sysdeps/i386/fpu/e_acosh.S: Likewise.
89778         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
89779         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
89780         * sysdeps/i386/fpu/e_acosl.c: Likewise.
89781         * sysdeps/i386/fpu/e_asin.S: Likewise.
89782         * sysdeps/i386/fpu/e_asinf.S: Likewise.
89783         * sysdeps/i386/fpu/e_atan2.S: Likewise.
89784         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
89785         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
89786         * sysdeps/i386/fpu/e_atanh.S: Likewise.
89787         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
89788         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
89789         * sysdeps/i386/fpu/e_exp10.S: Likewise.
89790         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
89791         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
89792         * sysdeps/i386/fpu/e_exp2.S: Likewise.
89793         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
89794         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
89795         * sysdeps/i386/fpu/e_fmod.S: Likewise.
89796         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
89797         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
89798         * sysdeps/i386/fpu/e_hypot.S: Likewise.
89799         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
89800         * sysdeps/i386/fpu/e_log.S: Likewise.
89801         * sysdeps/i386/fpu/e_log10.S: Likewise.
89802         * sysdeps/i386/fpu/e_log10f.S: Likewise.
89803         * sysdeps/i386/fpu/e_log10l.S: Likewise.
89804         * sysdeps/i386/fpu/e_log2.S: Likewise.
89805         * sysdeps/i386/fpu/e_log2f.S: Likewise.
89806         * sysdeps/i386/fpu/e_log2l.S: Likewise.
89807         * sysdeps/i386/fpu/e_logf.S: Likewise.
89808         * sysdeps/i386/fpu/e_logl.S: Likewise.
89809         * sysdeps/i386/fpu/e_pow.S: Likewise.
89810         * sysdeps/i386/fpu/e_powf.S: Likewise.
89811         * sysdeps/i386/fpu/e_powl.S: Likewise.
89812         * sysdeps/i386/fpu/e_remainder.S: Likewise.
89813         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
89814         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
89815         * sysdeps/i386/fpu/e_scalb.S: Likewise.
89816         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
89817         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
89818         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
89819         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
89820         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
89821         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
89822         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89823         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89824         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
89825         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89826         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
89827         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
89828         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
89829         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89830         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
89831         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
89832         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
89833         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89834         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
89835         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
89836         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89837         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
89838         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
89839         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89840         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89841         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
89842         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
89843         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89844         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89845         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
89846         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
89847         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89848         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
89849         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
89850         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
89851         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89852         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
89853         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89854         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
89855         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
89856         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
89857         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
89858         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
89859         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
89860         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
89861         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
89862         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
89863         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
89864         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
89865         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89866         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
89867         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
89868         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
89869         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
89870         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
89871         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
89872         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
89873         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
89874         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89875         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
89876         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
89877         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
89878         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
89879         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
89880         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
89881         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
89882         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
89883         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89884         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89885         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
89886         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
89887         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
89888         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
89889         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
89890         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
89891         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
89892         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
89893         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
89894         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
89895         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
89896         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
89897         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
89898         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
89899         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89900         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
89901         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89902         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
89903         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
89904         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89905         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89906         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
89907         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89908         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
89909         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
89910         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
89911         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89912         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
89913         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
89914         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
89915         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
89916         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
89917         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
89918         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
89919         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
89920         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
89921         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
89922         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
89923         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
89924         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
89925         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
89926         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
89927         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
89928         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
89929         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
89930         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
89931         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
89932         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
89933         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
89934         (__isnanf): Likewise.
89935         (__isinf_ns): Likewise.
89936         (__isinf_nsf): Likewise.
89937         (__finite): Likewise.
89938         (__finitef): Likewise.
89939         (__ieee754_sqrt): Define as macro.
89940         (__ieee754_sqrtf): Define as macro.
89941         (__ieee754_sqrtl): Define as macro.
89942         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
89943         inlined copy.
89944         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
89945         __FINITE_MATH_ONLY__ consistent.
89946         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
89948 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
89950         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
89951         of rawmemchr.
89953         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
89955 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
89957         * po/ja.po: Update from translation team.
89959 2011-10-08  Roland McGrath  <roland@hack.frob.com>
89961         * locale/programs/locarchive.c (prepare_address_space): New function.
89962         (create_archive, enlarge_archive, open_archive): Use it.
89964         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
89965         inside [SHARED], where it is used.
89967         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
89969         * nss/getent.c (netgroup_keys): Remove unused variable.
89970         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
89972 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
89974         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
89975         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
89976         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
89977         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
89978         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
89979         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
89980         * math/Makefile (libm-calls): Add s_isinf_ns.
89981         * math/divtc3.c: Use __isinf_nsl instead of isinf.
89982         * math/multc3.c: Likewise.
89983         * math/s_casin.c: Likewise.
89984         * math/s_casinf.c: Likewise.
89985         * math/s_casinl.c: Likewise.
89986         * math/s_ccos.c: Likewise.
89987         * math/s_ccosf.c: Likewise.
89988         * math/s_ccosl.c: Likewise.
89989         * math/s_ctan.c: Likewise.
89990         * math/s_ctanf.c: Likewise.
89991         * math/s_ctanh.c: Likewise.
89992         * math/s_ctanhf.c: Likewise.
89993         * math/s_ctanhl.c: Likewise.
89994         * math/s_ctanl.c: Likewise.
89995         * math/w_fmod.c: Likewise.
89996         * math/w_fmodf.c: Likewise.
89997         * math/w_fmodl.c: Likewise.
89998         * math/w_remainder.c: Likewise.
89999         * math/w_remainderf.c: Likewise.
90000         * math/w_remainderl.c: Likewise.
90001         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
90002         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
90003         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
90004         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
90005         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
90006         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
90007         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
90008         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
90010         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
90011         of the number.
90012         * stdio-common/printf_fphex.c: Likewise.
90013         * stdio-common/printf_size.c: Likewise.
90015         * math/e_exp10.c: Include math_private.h using <...> not "...".
90016         * math/e_exp10f.c: Likewise.
90017         * math/e_exp10l.c: Likewise.
90018         * math/e_exp2l.c: Likewise.
90019         * math/e_j0l.c: Likewise.
90020         * math/e_j1l.c: Likewise.
90021         * math/e_jnl.c: Likewise.
90022         * math/e_lgammal_r.c: Likewise.
90023         * math/e_rem_pio2l.c: Likewise.
90024         * math/e_scalb.c: Likewise.
90025         * math/e_scalbf.c: Likewise.
90026         * math/e_scalbl.c: Likewise.
90027         * math/k_cosl.c: Likewise.
90028         * math/k_sinl.c: Likewise.
90029         * math/k_tanl.c: Likewise.
90030         * math/s_cacoshf.c: Likewise.
90031         * math/s_catan.c: Likewise.
90032         * math/s_catanf.c: Likewise.
90033         * math/s_catanh.c: Likewise.
90034         * math/s_catanhf.c: Likewise.
90035         * math/s_catanhl.c: Likewise.
90036         * math/s_catanl.c: Likewise.
90037         * math/s_ccosh.c: Likewise.
90038         * math/s_ccoshf.c: Likewise.
90039         * math/s_ccoshl.c: Likewise.
90040         * math/s_cexp.c: Likewise.
90041         * math/s_cexpf.c: Likewise.
90042         * math/s_cexpl.c: Likewise.
90043         * math/s_clog.c: Likewise.
90044         * math/s_clog10.c: Likewise.
90045         * math/s_clog10f.c: Likewise.
90046         * math/s_clog10l.c: Likewise.
90047         * math/s_clogf.c: Likewise.
90048         * math/s_clogl.c: Likewise.
90049         * math/s_csin.c: Likewise.
90050         * math/s_csinf.c: Likewise.
90051         * math/s_csinh.c: Likewise.
90052         * math/s_csinhf.c: Likewise.
90053         * math/s_csinhl.c: Likewise.
90054         * math/s_csinl.c: Likewise.
90055         * math/s_csqrt.c: Likewise.
90056         * math/s_csqrtf.c: Likewise.
90057         * math/s_csqrtl.c: Likewise.
90058         * math/s_ctan.c: Likewise.
90059         * math/s_ctanf.c: Likewise.
90060         * math/s_ctanh.c: Likewise.
90061         * math/s_ctanhf.c: Likewise.
90062         * math/s_ctanhl.c: Likewise.
90063         * math/s_ctanl.c: Likewise.
90064         * math/s_ldexp.c: Likewise.
90065         * math/s_ldexpf.c: Likewise.
90066         * math/s_ldexpl.c: Likewise.
90067         * math/s_significand.c: Likewise.
90068         * math/s_significandf.c: Likewise.
90069         * math/s_significandl.c: Likewise.
90070         * math/w_acos.c: Likewise.
90071         * math/w_acosf.c: Likewise.
90072         * math/w_acosh.c: Likewise.
90073         * math/w_acoshf.c: Likewise.
90074         * math/w_acoshl.c: Likewise.
90075         * math/w_acosl.c: Likewise.
90076         * math/w_asin.c: Likewise.
90077         * math/w_asinf.c: Likewise.
90078         * math/w_asinl.c: Likewise.
90079         * math/w_atan2.c: Likewise.
90080         * math/w_atan2f.c: Likewise.
90081         * math/w_atan2l.c: Likewise.
90082         * math/w_atanh.c: Likewise.
90083         * math/w_atanhf.c: Likewise.
90084         * math/w_atanhl.c: Likewise.
90085         * math/w_cosh.c: Likewise.
90086         * math/w_coshf.c: Likewise.
90087         * math/w_coshl.c: Likewise.
90088         * math/w_dremf.c: Likewise.
90089         * math/w_exp10.c: Likewise.
90090         * math/w_exp10f.c: Likewise.
90091         * math/w_exp10l.c: Likewise.
90092         * math/w_exp2.c: Likewise.
90093         * math/w_exp2f.c: Likewise.
90094         * math/w_fmod.c: Likewise.
90095         * math/w_fmodf.c: Likewise.
90096         * math/w_fmodl.c: Likewise.
90097         * math/w_hypot.c: Likewise.
90098         * math/w_hypotf.c: Likewise.
90099         * math/w_hypotl.c: Likewise.
90100         * math/w_j0.c: Likewise.
90101         * math/w_j0f.c: Likewise.
90102         * math/w_j0l.c: Likewise.
90103         * math/w_j1.c: Likewise.
90104         * math/w_j1f.c: Likewise.
90105         * math/w_j1l.c: Likewise.
90106         * math/w_jn.c: Likewise.
90107         * math/w_jnf.c: Likewise.
90108         * math/w_jnl.c: Likewise.
90109         * math/w_lgamma.c: Likewise.
90110         * math/w_lgamma_r.c: Likewise.
90111         * math/w_lgammaf.c: Likewise.
90112         * math/w_lgammaf_r.c: Likewise.
90113         * math/w_lgammal.c: Likewise.
90114         * math/w_lgammal_r.c: Likewise.
90115         * math/w_log.c: Likewise.
90116         * math/w_log10.c: Likewise.
90117         * math/w_log10f.c: Likewise.
90118         * math/w_log10l.c: Likewise.
90119         * math/w_log2.c: Likewise.
90120         * math/w_log2f.c: Likewise.
90121         * math/w_log2l.c: Likewise.
90122         * math/w_logf.c: Likewise.
90123         * math/w_logl.c: Likewise.
90124         * math/w_pow.c: Likewise.
90125         * math/w_powf.c: Likewise.
90126         * math/w_powl.c: Likewise.
90127         * math/w_remainder.c: Likewise.
90128         * math/w_remainderf.c: Likewise.
90129         * math/w_remainderl.c: Likewise.
90130         * math/w_scalb.c: Likewise.
90131         * math/w_scalbf.c: Likewise.
90132         * math/w_scalbl.c: Likewise.
90133         * math/w_sinh.c: Likewise.
90134         * math/w_sinhf.c: Likewise.
90135         * math/w_sinhl.c: Likewise.
90136         * math/w_sqrt.c: Likewise.
90137         * math/w_sqrtf.c: Likewise.
90138         * math/w_sqrtl.c: Likewise.
90139         * math/w_tgamma.c: Likewise.
90140         * math/w_tgammaf.c: Likewise.
90141         * math/w_tgammal.c: Likewise.
90143         * po/ja.po: Update from translation team.
90145 2011-09-29  Andreas Jaeger  <aj@suse.de>
90147         [BZ #13179]
90148         * sunrpc/netname.c (netname2host): Fix logic.
90150         [BZ #6779]
90151         [BZ #6783]
90152         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
90153         correctly.
90154         * math/w_remainder.c (__remainder): Likewise.
90155         * math/w_remainderf.c (__remainderf): Likewise.
90156         * math/libm-test.inc (remainder_test): Add test cases.
90158 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90160         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
90161         sdiv_qrnnd.
90163 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
90165         * string/test-memcmp.c: Avoid unncessary #defines.
90166         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90168 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90170         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
90171         Use new sse2 version for core i3 - i7 as it's faster
90172         than sse42 version.
90173         (bit_Prefer_PMINUB_for_stringop): New.
90174         * sysdeps/x86_64/rawmemchr.S: Update.
90175         Replace with faster SSE2 version.
90176         * sysdeps/x86_64/memrchr.S: New file.
90177         * sysdeps/x86_64/memchr.S: Update.
90178         Replace with faster SSE2 version.
90180 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
90182         * elf/dl-load.c (lose): Add cast to avoid warning.
90184 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
90186         * po/ca.po: Update from translation team.
90188         * inet/getnetgrent_r.c: Hook up nscd.
90189         * nscd/Makefile (routines): Add nscd_netgroup.
90190         (nscd-modules): Add netgroupcache.
90191         (CFLAGS-netgroupcache.c): Define.
90192         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
90193         (cache_search): Add const to second parameter.
90194         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
90195         INNETGR.
90196         (dbs): Add netgrdb entry.
90197         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
90198         (verify_persistent_db): Handle netgrdb.
90199         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
90200         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
90201         GETFDNETGR.
90202         (netgroup_response_header): Define.
90203         (innetgroup_response_header): Define.
90204         (datahead): Add netgroup_response_header and innetgroup_response_header
90205         elements.
90206         * nscd/nscd.conf: Add entries for netgroup cache.
90207         * nscd/nscd.h (dbtype): Add netgrdb.
90208         (_PATH_NSCD_NETGROUP_DB): Define.
90209         (netgroup_iov_disabled): Declare.
90210         (xmalloc, xcalloc, xrealloc): Move declarations here.
90211         (cache_search): Adjust prototype.
90212         Add netgroup-related prototypes.
90213         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
90214         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
90215         (__nscd_innetgr): Declare.
90216         * nscd/selinux.c (perms): Use access_vector_t as element type and
90217         add netgroup-related initializers.
90218         * nscd/netgroupcache.c: New file.
90219         * nscd/nscd_netgroup.c: New file.
90220         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
90221         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
90222         For four parameters use innetgr.
90223         * nss/nss_files/files-init.c: Add definition and callback for netgr.
90224         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
90225         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
90226         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
90228         * nscd/connections.c (register_traced_file): Don't register file
90229         for disabled databases.
90231 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
90233         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
90235         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
90236         from tree and freeing node.
90238 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
90240         * nss/nsswitch.c (__nss_database_lookup): Handle
90241         nss_parse_service_list out of memory case.
90243 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
90245         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
90246         out of memory case.
90248 2011-10-04  Andreas Schwab  <schwab@redhat.com>
90250         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
90251         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
90252         pass it down.
90253         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
90254         elf_machine_rela, elf_machine_lazy_rel.
90255         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
90256         (ELF_DYNAMIC_DO_REL): Likewise.
90257         (ELF_DYNAMIC_DO_RELA): Likewise.
90258         (ELF_DYNAMIC_RELOCATE): Likewise.
90259         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
90260         to ELF_DYNAMIC_DO_REL.
90261         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
90262         (dl_main): In trace mode always set __RTLD_NOIFUNC.
90263         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
90264         elf_machine_rela.
90265         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
90266         skip_ifunc, don't call ifunc function if non-zero.
90267         (elf_machine_rela): Likewise.
90268         (elf_machine_lazy_rel): Likewise.
90269         (elf_machine_lazy_rela): Likewise.
90270         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
90271         (elf_machine_lazy_rel): Likewise.
90272         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
90273         Likewise.
90274         (elf_machine_lazy_rel): Likewise.
90275         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90276         Likewise.
90277         (elf_machine_lazy_rel): Likewise.
90278         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
90279         (elf_machine_lazy_rel): Likewise.
90280         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
90281         (elf_machine_lazy_rel): Likewise.
90282         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
90283         (elf_machine_lazy_rel): Likewise.
90284         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
90285         (elf_machine_lazy_rel): Likewise.
90286         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
90287         (elf_machine_lazy_rel): Likewise.
90288         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
90289         (elf_machine_lazy_rel): Likewise.
90291 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
90293         * nss/nss_files/files-init.c (_nss_files_init): Use static
90294         initialization for all the *_traced_file variables.
90296 2011-09-28  Andreas Schwab  <schwab@redhat.com>
90298         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90300 2011-09-27  Roland McGrath  <roland@hack.frob.com>
90302         [BZ #13226]
90303         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
90305 2011-09-27  Andreas Schwab  <schwab@redhat.com>
90307         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90308         Reread the line before reparsing it.
90310 2011-09-26  Andreas Schwab  <schwab@redhat.com>
90312         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
90314 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
90315             Maxim Kuvyrkov  <maxim@codesourcery.com>
90316             Joseph Myers  <joseph@codesourcery.com>
90318         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
90319         if needed for __stack_chk_guard.
90321 2011-09-19  Roland McGrath  <roland@hack.frob.com>
90323         * sysdeps/posix/spawni.c (script_execute): Always define it.
90324         It will be optimized away if unused.
90325         (maybe_script_execute): New function.
90326         (__spawni): Call it.
90328         * Makerules: Don't include tls.make.
90329         (config-tls): Always set to thread.
90330         * tls.make.c: File removed.
90332 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
90334         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
90335         * config.make.in (CPPFLAGS-config): New substituted variable.
90337 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
90339         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
90341         [BZ #13192]
90342         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
90343         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
90345 2011-09-15  Roland McGrath  <roland@hack.frob.com>
90347         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
90348         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
90349         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
90350         (CALL_FAIL): Likewise.
90351         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
90352         (CALL_FAIL): Macro removed.
90353         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
90355 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
90357         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
90358         for __FINITE_MATH_ONLY__ == 1.
90360 2011-09-15  Andreas Schwab  <schwab@redhat.com>
90362         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
90363         __ieee754_sqrt instead of sqrt.
90364         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
90365         __ieee754_sqrtf instead of sqrtf.
90366         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
90367         __floorf instead of floorf.
90368         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
90369         __floorf, __truncf instead of floorf, truncf.
90371 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
90373         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
90375         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
90376         __extern_always_inline.
90377         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
90378         32-bit.
90380 2011-09-14  Andreas Schwab  <schwab@redhat.com>
90382         * elf/rtld.c (dl_main): Also relocate in dependency order when
90383         doing symbol dependency testing.
90385 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
90387         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90388         Always define `refsym'.
90390 2011-09-13  Andreas Schwab  <schwab@redhat.com>
90392         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
90393         (__FD_ELT): Renamed from __FDELT.
90394         * misc/bits/select2.h (__FD_ELT): Likewise.
90395         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
90396         __FD_MASK instead of __FDELT, __FDMASK.
90397         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90398         Likewise.
90399         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90400         Likewise.
90402         * elf/Makefile (gen-ldd): Fix pattern.
90404         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
90405         (init_tls): Likewise.
90407 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
90409         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
90411 2011-09-12  Andreas Schwab  <schwab@redhat.com>
90413         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
90414         `struct cmsghdr *' instead of `void *'.
90415         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
90416         Likewise.
90418 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
90420         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
90421         if non-absolute.
90422         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
90423         ldd_rewrite_script.
90425 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
90427         * configure.in: Remove --with-tls option.
90428         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
90429         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
90430         out in case it is missing.
90431         * sysdeps/ia64/elf/configure.in: Likewise.
90432         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
90433         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
90434         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
90435         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
90436         * sysdeps/sh/elf/configure.in: Likewise.
90437         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
90438         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
90439         * sysdeps/x86_64/elf/configure.in: Likewise.
90440         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
90441         * sysdeps/mach/hurd/tls.h: Likewise.
90443         [BZ #13067]
90444         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
90446         [BZ #13090]
90447         * configure.in: Fix use of AC_INIT.
90449         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
90451 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
90453         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
90454         __set_errno.
90455         * malloc/hooks.c: Likewise.
90457         [BZ #11929]
90458         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
90459         variables statically.
90460         (narenas): Initialize.
90461         (list_lock): Initialize.
90462         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
90463         initializtion of main_arena and list_lock.  Small cleanups.
90464         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
90465         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
90466         Add initializers to main_arena and mp_.
90467         (malloc_state): Remove pagesize member.  Change all users to use
90468         GLRO(dl_pagesize).
90470         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
90471         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
90472         is always initialized.
90474         * malloc/malloc.c: Removed unused configurations and dead code.
90475         * malloc/arena.c: Likewise.
90476         * malloc/hooks.c: Likewise.
90477         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
90479         * include/tls.h: Removed.  USE___THREAD must always be defined.
90480         * bits/libc-tsd.h: Don't handle !USE___THREAD.
90481         * elf/dl-libc.c: Likewise.
90482         * elf/dl-tsd.c: Likewise.
90483         * include/errno.h: Likewise.
90484         * include/netdb.h: Likewise.
90485         * include/resolv.h: Likewise.
90486         * inet/herrno-loc.c: Likewise.
90487         * inet/herrno.c: Likewise.
90488         * malloc/arena.c: Likewise.
90489         * malloc/hooks.c: Likewise.
90490         * malloc/malloc.c: Likewise.
90491         * resolv/res-state.c: Likewise.
90492         * resolv/res_libc.c: Likewise.
90493         * sysdeps/i386/dl-machine.h: Likewise.
90494         * sysdeps/ia64/dl-machine.h: Likewise.
90495         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
90496         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
90497         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
90498         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
90499         * sysdeps/sh/dl-machine.h: Likewise.
90500         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
90501         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
90502         * sysdeps/unix/i386/sysdep.S: Likewise.
90503         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
90504         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
90505         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
90506         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
90507         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
90508         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
90509         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
90510         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
90511         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
90512         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
90513         * sysdeps/unix/x86_64/sysdep.S: Likewise.
90514         * sysdeps/x86_64/dl-machine.h: Likewise.
90515         * tls.make.c: Likewise.
90517         * configure.in: Remove --with-__thread option.  Make tests for
90518         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
90519         tls_model attribute fail if no support is available.  Remove
90520         USE_IN_LIBIO.
90521         * Makeconfig: Adjust for dropped configure option.  All features are
90522         now mandatory.
90523         * Makerules: Likewise.
90524         * Versions.def: Likewise.
90525         * argp/argp-fmtstream.c: Likewise.
90526         * argp/argp-fmtstream.h: Likewise.
90527         * argp/argp-help.c: Likewise.
90528         * assert/assert.c: Likewise.
90529         * config.h.in: Likewise.
90530         * config.make.in: Likewise.
90531         * configure: Likewise.
90532         * configure.in: Likewise.
90533         * csu/Versions: Likewise.
90534         * csu/init.c: Likewise.
90535         * elf/tst-audit2.c: Likewise.
90536         * elf/tst-tls10.c: Likewise.
90537         * elf/tst-tls10.h: Likewise.
90538         * elf/tst-tls11.c: Likewise.
90539         * elf/tst-tls12.c: Likewise.
90540         * elf/tst-tls14.c: Likewise.
90541         * elf/tst-tlsmod11.c: Likewise.
90542         * elf/tst-tlsmod12.c: Likewise.
90543         * elf/tst-tlsmod13.c: Likewise.
90544         * elf/tst-tlsmod13a.c: Likewise.
90545         * elf/tst-tlsmod14a.c: Likewise.
90546         * elf/tst-tlsmod15b.c: Likewise.
90547         * elf/tst-tlsmod16a.c: Likewise.
90548         * elf/tst-tlsmod16b.c: Likewise.
90549         * elf/tst-tlsmod7.c: Likewise.
90550         * elf/tst-tlsmod8.c: Likewise.
90551         * elf/tst-tlsmod9.c: Likewise.
90552         * gmon/gmon.c: Likewise.
90553         * grp/fgetgrent_r.c: Likewise.
90554         * grp/putgrent.c: Likewise.
90555         * hurd/fopenport.c: Likewise.
90556         * include/libc-symbols.h: Likewise.
90557         * include/tls.h: Likewise.
90558         * intl/gettextP.h: Likewise.
90559         * intl/loadinfo.h: Likewise.
90560         * locale/global-locale.c: Likewise.
90561         * locale/localeinfo.h: Likewise.
90562         * mach/devstream.c: Likewise.
90563         * malloc/arena.c: Likewise.
90564         * malloc/set-freeres.c: Likewise.
90565         * misc/err.c: Likewise.
90566         * misc/getttyent.c: Likewise.
90567         * misc/mntent_r.c: Likewise.
90568         * posix/getopt.c: Likewise.
90569         * posix/wordexp.c: Likewise.
90570         * pwd/fgetpwent_r.c: Likewise.
90571         * resolv/Versions: Likewise.
90572         * resolv/res_hconf.c: Likewise.
90573         * shadow/fgetspent_r.c: Likewise.
90574         * shadow/putspent.c: Likewise.
90575         * stdio-common/printf_fphex.c: Likewise.
90576         * stdio-common/tmpfile.c: Likewise.
90577         * stdlib/abort.c: Likewise.
90578         * stdlib/fmtmsg.c: Likewise.
90579         * sunrpc/auth_unix.c: Likewise.
90580         * sunrpc/clnt_perr.c: Likewise.
90581         * sunrpc/clnt_tcp.c: Likewise.
90582         * sunrpc/clnt_udp.c: Likewise.
90583         * sunrpc/clnt_unix.c: Likewise.
90584         * sunrpc/openchild.c: Likewise.
90585         * sunrpc/svc_simple.c: Likewise.
90586         * sunrpc/svc_tcp.c: Likewise.
90587         * sunrpc/svc_udp.c: Likewise.
90588         * sunrpc/svc_unix.c: Likewise.
90589         * sunrpc/xdr.c: Likewise.
90590         * sunrpc/xdr_array.c: Likewise.
90591         * sunrpc/xdr_rec.c: Likewise.
90592         * sunrpc/xdr_ref.c: Likewise.
90593         * sunrpc/xdr_stdio.c: Likewise.
90595 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90597         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90599 2011-07-03  Andreas Jaeger  <aj@suse.de>
90601         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
90602         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
90603         regenerate with gen-libm-tests.pl.
90605 2010-05-12  Petr Baudis  <pasky@suse.cz>
90607         [BZ #11589]
90608         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
90609         around j0() zero points by switching to j1().
90610         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
90611         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
90612         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
90613         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
90615 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90617         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
90618         instead of 0.
90619         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
90620         instead of 0.
90621         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
90622         Patch in part by Pavel Roskin <proski@gnu.org>.
90624         [BZ #13138]
90625         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
90626         realloc.
90627         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
90628         Free memory block if necessary.
90630         [BZ #12847]
90631         * libio/genops.c (INTDEF): For string streams the _lock pointer can
90632         be NULL.  Don't lock in this case.
90634 2011-09-09  Roland McGrath  <roland@hack.frob.com>
90636         * elf/elf.h (ELFOSABI_GNU): New macro.
90637         (ELFOSABI_LINUX): Define to that.
90639 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
90641         * string/strncat.c (strncat): Undef the symbol in case it has been
90642         defined in bits/string.h.
90644 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90646         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
90648         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
90649         link map.
90651 2011-08-17  Andreas Jaeger  <aj@suse.de>
90653         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
90655 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
90656             Ian Lance Taylor  <iant@google.com>
90658         * math/libm-test.inc (lround_test): New testcase.
90659         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
90661 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
90663         * Makefile: Remove support for automatic cvs check-ins.
90664         * Makerules: Likewise.
90665         * config.make.in: Likewise.
90666         * configure.in: Likewise.
90667         * intl/Makefile: Likewise.
90668         * locale/Makefile: Likewise.
90669         * po/Makefile: Likewise.
90670         * posix/Makefile: Likewise.
90671         * sysdeps/gnu/Makefile: Likewise.
90672         * sysdeps/mach/hurd/Makefile: Likewise.
90673         * sysdeps/sparc/sparc32/Makefile: Likewise.
90675         [BZ #13118]
90676         * posix/Makefile (bug-regex32-ENV): Define.
90677         Patch by John Stanley <jpsinthemix@verizon.net>.
90679         * misc/Makefile (headers): Add bits/select2.h.
90680         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
90681         * misc/bits/select2.h: New file.
90682         * include/bits/select2.h: New file.
90683         * debug/Makefile (routines): Add fdelt_chk.
90684         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
90685         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
90686         FD_ISSET.
90687         * debug/fdelt_chk.c: New file.
90689         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
90690         * wcsmbs/test-wmemcmp.c: Likewise.
90691         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
90692         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
90694 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90696         * string/Makefile (strop-tests): Add memcmp.
90697         * string/test-wmemcmp.c: New file.
90698         * string/test-memcmp.c: Add wmemcmp support.
90700 2011-09-08  Roland McGrath  <roland@hack.frob.com>
90702         [BZ #13153]
90703         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
90704         2011-07-19 change.
90706         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
90707         garbage value in a __mach_port_mod_refs call in the cases of the
90708         task-self and thread-self ports.
90710 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90712         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
90714 2011-09-08  Andreas Schwab  <schwab@redhat.com>
90716         * elf/dl-load.c (lose): Check for non-null L.
90718 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90720         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
90722         * elf/dl-libc.c (dlerror_run): Pass back error code from
90723         dl_catch_error.
90725         [BZ #13123]
90726         * elf/dl-load.c (lose): Free l_origin if it is valid.
90728         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
90729         names.
90730         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
90731         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90732         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90733         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90734         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
90735         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
90737 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90739         * sysdeps/powerpc/fpu/e_hypot.c: New file.
90740         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
90741         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
90742         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
90743         * sysdeps/powerpc/fpu/k_cosf.c: New file.
90744         * sysdeps/powerpc/fpu/k_sinf.c: New file.
90745         * sysdeps/powerpc/fpu/s_cosf.c: New file.
90746         * sysdeps/powerpc/fpu/s_sinf.c: New file.
90747         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
90748         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
90750 2011-08-15  Alan Modra  <amodra@gmail.com>
90752         [BZ #13092]
90753         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
90754         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
90755         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
90756         ppc_mcount to static-only-routines.
90757         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
90758         __mcount_internal.
90759         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
90760         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
90762 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
90764         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
90765         for finite and infinity parameters.
90767 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
90769         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
90770         and add nop instructions for throughput optimization.
90771         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90773 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
90775         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
90776         aligned copy for power7 with vector-scalar instructions.
90777         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
90779 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
90781         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
90782         AVX check.
90784 2011-09-07  Andreas Schwab  <schwab@redhat.com>
90786         [BZ #13144]
90787         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
90788         last change.
90790 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90792         * sysdeps/unix/sysv/linux/x86_64/init-first.c
90793         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
90794         syscall wrapper around clock_gettime in __vdso_clock_gettime.
90795         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
90796         clock_gettime.
90798 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90800         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
90801         Forgot to demangle the pointer.
90803         * sysdeps/i386/sysdep.h: Define atom_text_section.
90804         * sysdeps/x86_64/sysdep.h: Likewise.
90805         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
90806         section with atom_text_section.
90807         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90808         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90809         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
90810         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90811         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
90813         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
90814         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
90815         already be defined.  Change to take two parameters and don't assign
90816         result to variable.  Adjust all users.
90817         Define INTERNAL_GETTIME if not already defined.
90818         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
90819         call.
90820         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
90821         HAVE_CLOCK_GETTIME_VSYSCALL.
90822         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
90824         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
90825         gettimeofday vsyscall, just use time.
90827 2011-09-06  Andreas Schwab  <schwab@redhat.com>
90829         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
90830         <errno.h>.
90832 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90834         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
90835         syscall on x86-64.
90836         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
90837         syscall.
90838         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
90839         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
90840         syscall if possible.
90842 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90844         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
90845         e_ident.  Don't pass to find_mapsXX.
90846         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
90848 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90850         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90851         strchr-sse2-no-bsf strrchr-sse2-no-bsf
90852         * sysdeps/x86_64/multiarch/strchr.S: Update.
90853         Check bit_slow_BSF bit.
90854         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
90855         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
90856         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
90858 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90860         [BZ #13134]
90861         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
90862         before glibc 2.15.
90863         (tryshell): Define.
90864         (__spawni): Change last parameter to be flag.  Test
90865         SPAWN_XFLAGS_USE_PATH flag to use path or not.
90866         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
90867         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
90868         * posix/spawni.c: Likewise.
90869         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
90870         * posix/spawnp.c: Likewise.  Change normal version to use
90871         SPAWN_XFLAGS_USE_PATH.
90872         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
90873         SPAWN_XFLAGS_TRY_SHELL.
90875         [BZ #13150]
90876         * posix/glob.h: Remove gcc 1.x support.
90878         [BZ #13068]
90879         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
90881 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90883         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90884         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
90885         strrchr-sse2-bsf
90886         * sysdeps/i386/i686/multiarch/strchr.S: New file.
90887         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
90888         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
90889         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
90890         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
90891         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
90893 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90895         * sysdeps/x86_64/wcscmp.S: New file.
90897         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
90898         wcscmp-c wcscmp-sse2
90899         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
90900         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
90901         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
90902         * wcsmbs/wcscmp.c: Allow renaming.
90904 2011-09-05  David S. Miller  <davem@davemloft.net>
90906         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
90907         stack slot, rather than the struct return pointer slot.
90908         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
90909         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
90910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
90911         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
90913 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90915         * po/ja.po: Update from translation team.
90917         [BZ #13144]
90918         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
90919         kernel in 64-bit binaries.
90921 2011-09-01  David S. Miller  <davem@davemloft.net>
90923         * elf/elf.h (HWCAP_SPARC_*): Move to..
90924         * sysdeps/sparc/sysdep.h: this new file and add new values.
90925         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
90926         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
90927         _DL_HWCAP_COUNT to 24.
90928         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
90929         entries.
90930         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
90931         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
90932         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
90933         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
90934         instead of magic constants.
90935         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
90937 2011-08-31  David S. Miller  <davem@davemloft.net>
90939         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
90940         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
90941         Reimplement to do errno handling inline.
90942         (SYSCALL_ERROR_HANDLER): New macro.
90943         (__SYSCALL_STRING): Do not do errno handling in asm.
90944         (__CLONE_SYSCALL_STRING): Delete.
90945         (__INTERNAL_SYSCALL_STRING): Delete.
90946         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
90947         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
90948         (PSEUDO): Reimplement to do errno handling inline.
90949         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
90950         (SYSCALL_ERROR_HANDLER): New macro.
90951         (__SYSCALL_STRING): Do not do errno handling in asm.
90952         (__CLONE_SYSCALL_STRING): Delete.
90953         (__INTERNAL_SYSCALL_STRING): Delete.
90954         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
90955         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
90956         i386.
90957         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
90958         (inline_syscall*): Add 'err' argument.
90959         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
90960         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
90961         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
90962         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
90964         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
90965         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
90967 2011-08-30  Andreas Schwab  <schwab@redhat.com>
90969         * elf/rtld.c (dl_main): Relocate objects in dependency order.
90971 2011-08-29  Jiri Olsa <jolsa@redhat.com>
90973         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
90974         directive.
90976 2011-08-24  David S. Miller  <davem@davemloft.net>
90978         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
90980 2011-08-24  Andreas Schwab  <schwab@redhat.com>
90982         * elf/Makefile: Add rules to build and run unload8 test.
90983         * elf/unload8.c: New file.
90984         * elf/unload8mod1.c: New file.
90985         * elf/unload8mod1x.c: New file.
90986         * elf/unload8mod2.c: New file.
90987         * elf/unload8mod3.c: New file.
90989         * elf/dl-close.c (_dl_close_worker): Reset private search list if
90990         it wasn't used.
90992 2011-08-23  David S. Miller  <davem@davemloft.net>
90994         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
90995         subtract stack bias.
90996         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
90997         %sp not %fp in calculations.
90998         (_JMPBUF_UNWINDS_ADJ): Likewise.
91000         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
91001         (aio_suspend): Call it to force an exception region around the
91002         AIO_MISC_WAIT() invocation.
91004 2011-08-23  Andreas Schwab  <schwab@redhat.com>
91006         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
91007         backslash.
91009 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
91011         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
91012         protection macro.
91013         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
91014         and <dl-machine.h>.
91015         (Elf64_FuncDesc): Remove.
91017 2011-08-22  David S. Miller  <davem@davemloft.net>
91019         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
91020         sigaltstack check, add missing cfi directives.
91021         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
91022         missing cfi directives, and sigaltstack handling.
91024 2011-08-16  Andreas Schwab  <schwab@redhat.com>
91026         [BZ #11724]
91027         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
91028         object is seen twice.
91029         * elf/dl-fini.c (_dl_sort_fini): Likewise.
91031         * elf/Makefile (distribute): Add tst-initorder2.c.
91032         (tests): Add tst-initorder2.
91033         (modules-names): Add tst-initorder2a tst-initorder2b
91034         tst-initorder2c tst-initorder2d.  Add rules to build them.
91035         ($(objpfx)tst-initorder2.out): New rule.
91036         * elf/tst-initorder2.c: New file.
91037         * elf/tst-initorder2.exp: New file.
91039 2011-08-22  Andreas Schwab  <schwab@redhat.com>
91041         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
91043         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
91044         dependencies back to end of function.
91046         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
91047         $(elfobjdir)/ld.so.
91049 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
91051         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
91052         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
91053         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
91054         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
91055         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
91056         of __vdso_gettimeofday.
91057         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
91058         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
91059         attribute_hidden.
91060         (_libc_vdso_platform_setup): Remove initialization of
91061         __vdso_gettimeofday and __vdso_time.
91063 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
91065         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
91066         and fgetc_unlocked.
91067         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
91068         getc_unlocked.
91070         * elf/dl-open.c (add_to_global): Report additions to the global scope
91071         for LD_DEBUG=scopes.
91072         (dl_open_worker): Also print scope of newly loaded dependencies.
91073         (_dl_show_scope): Indicate if there is no scope.
91075         [BZ #13114]
91076         * stdio-common/Makefile (tests): Add bug24.
91077         * stdio-common/bug24.c: New file.
91079 2011-08-19  Andreas Jaeger  <aj@suse.de>
91081         [BZ #13114]
91082         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
91083         non-existant file when using close-on-exec mode.
91085 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
91087         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
91088         the very first instruction.
91090         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
91091         the CFI state in the end.
91092         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
91093         inclusion of dl-trampoline.h.
91094         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
91096 2011-08-19  Andreas Schwab  <schwab@redhat.com>
91098         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
91099         expectations for long double.
91101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
91102         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
91104 2011-08-14  David S. Miller  <davem@davemloft.net>
91106         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
91107         artificual limit depends upon the system page size.
91109 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
91111         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
91112         * resolv/Makefile: Define CFLAGS-libresolv.
91114 2011-08-17  Andreas Schwab  <schwab@redhat.com>
91116         * nss/makedb.c (compute_tables): Make variables used in nested
91117         function static.
91119 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
91121         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
91122         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
91123         if buffer was too small.
91125         * elf/pldd.c (main): Attach to all threads in the process.
91126         Rewrite /proc handling to use *at functions.
91128 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
91130         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
91131         specifies first scope to show.
91132         (dl_open_worker): Update callers.  Move printing scope of new
91133         object to before the relocation.
91134         * elf/rtld.c (dl_main): Update _dl_show_scope call.
91135         * sysdeps/generic/ldsodefs.h: Update declaration.
91137         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
91138         string for the scope number.
91140 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
91142         * nscd/servicescache.c (cache_addserv): Make sure written is always
91143         initialized.
91145 2011-08-14  Roland McGrath  <roland@hack.frob.com>
91147         * sysdeps/i386/i486/bits/atomic.h
91148         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
91149         statement expression, so as to suppress "set but not used" warning.
91150         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
91152         * string/strncat.c (STRNCAT): Use prototype definition.
91154         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
91155         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
91156         -Iprograms here.
91157         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
91158         (localedef-modules): Add localedef.
91159         (locale-modules): Add locale.
91161         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
91162         * elf/rtld.c (dl_main): Invert order of assignment in last change,
91163         to avoid a warning.
91165 2011-08-14  David S. Miller  <davem@davemloft.net>
91167         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
91168         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
91170 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
91172         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
91173         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
91174         * elf/rtld.c (dl_main): Set l_name of vDSO.
91175         Call _dl_show_scope when DL_DEBUG_SCOPES.
91176         (process_dl_debug): Recognize scopes flag and also set it for all.
91177         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
91178         Declare _dl_show_scope.
91180         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
91181         (do_dlopen): Pass caller_dlopen to dl_open.
91182         (__libc_dlopen_mode): Initialize caller_dlopen.
91184         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
91185         of libc.  Make tolower call locale-independent.  Optimize a bit by
91186         using isdigit instead of isalnum.
91187         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
91189 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
91191         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
91192         was a dependency or dynamically loaded.
91194 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
91196         * intl/l10nflist.c: Allow architecture-specific pop function.
91197         * sysdeps/x86_64/l10nflist.c: New file.
91199         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
91200         classification.
91202 2011-08-10  Andreas Schwab  <schwab@redhat.com>
91204         * include/dirent.h: Add libc_hidden_proto for scandirat and
91205         scandirat64.  Don't declare __scandirat64.
91206         * dirent/scandirat.c: Add libc_hidden_def.
91207         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
91208         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
91210 2011-08-10  David S. Miller  <davem@davemloft.net>
91212         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
91213         enum.
91214         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91215         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91216         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91218 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
91220         * Versions.def [libc]: Add GLIBC_2.15.
91221         * dirent/Makefile (routines): Add scandirat and scandirat64.
91222         * dirent/Versions [libc]: Export scandirat and scandirat64 for
91223         GLIBC_2.15.
91224         * dirent/dirent.h: Declare scandirat and scandirat64.
91225         * dirent/scandirat.c: New file.
91226         * dirent/scandirat64.c: New file.
91227         * sysdeps/wordsize-64/scandirat.c: New file.
91228         * sysdeps/wordsize-64/scandirat64.c: New file.
91229         * dirent/opendir.c: Define opendirat.
91230         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
91231         using scandirat.
91232         * dirent/scandir64.c: Adjust for scandir.c change.
91233         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
91234         __scandirat64, and __scandir_cancel_handler.
91235         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
91236         additional parameter and use openat instead of open (outside of ld.so).
91237         Add new __opendir as wrapper around __opendirat.
91238         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
91239         here without requiring old scandirat implementation.
91241 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
91243         * dirent/scandir.c (cancel_handler): Renamed to
91244         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
91245         defined.  Adjust users.
91246         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
91247         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
91249 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
91251         * string/test-string.h (IMPL): Use __STRING to expand name and then
91252         stringify it.
91254         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
91255         of cleanups.
91257 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91259         * string/Makefile: Update.
91260         (strop-tests): Append strncat.
91261         * string/test-wcscmp.c: New file.
91262         New comprehensive test for wcscmp.
91263         * string/test-strcmp.c: Update.
91264         (WIDE): New define.
91266 2011-07-22  Andreas Schwab  <schwab@redhat.com>
91268         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
91269         line.
91271 2011-07-26  Andreas Schwab  <schwab@redhat.com>
91273         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91274         encoding to ACE if AI_IDN.
91276 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
91278         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
91279         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
91281 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91283         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
91284         Fix overflow bug in strncat.
91285         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
91287         * string/test-strncat.c: Update.
91288         Add new tests for checking overflow bugs.
91290 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91292         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91293         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
91294         * sysdeps/i386/i686/multiarch/strcat.S: New file.
91295         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
91296         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
91297         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
91298         * sysdeps/i386/i686/multiarch/strncat.S: New file.
91299         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
91300         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
91302         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
91303         (USE_AS_STRCAT): Define.
91304         Add strcat and strncat support.
91305         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
91307 2011-07-25  Andreas Schwab  <schwab@redhat.com>
91309         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
91310         __n bigger than INT_MAX+1.
91311         (__strncmp_g): Likewise.
91313 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
91315         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
91316         * libio/stido.h: Likewise.
91318         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
91319         (AF_NFC): Define.
91320         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
91321         (AF_NFC): Define.
91323         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
91324         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91325         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91326         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
91327         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91329         [BZ #13021]
91330         * scripts/test-installation.pl: Don't expect libnss_test1 to be
91331         installed.
91333         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
91334         typo.
91335         (_dl_x86_64_save_sse): Likewise.
91337 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
91339         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
91340         OSXSAVE.
91341         (_dl_x86_64_save_sse): Likewise.
91343         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
91345         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
91347 2011-07-21  Andreas Schwab  <schwab@redhat.com>
91349         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
91350         change.
91351         (_dl_x86_64_save_sse): Use correct AVX check.
91353 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91355         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
91356         bug in strncpy/strncat.
91357         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
91359 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
91361         * string/tester.c (test_strcat): Add tests for different alignments
91362         of source and destination.
91363         (test_strncat): Likewise.
91365 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
91367         [BZ #12852]
91368         * posix/glob.c (glob): Check passed in values before using them in
91369         expressions to avoid some overflows.
91370         (glob_in_dir): Likewise.
91372         [BZ #13007]
91373         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
91374         check for AVX enablement so that we don't crash with old kernels and
91375         new hardware.
91376         * elf/tst-audit4.c: Add same checks here.
91377         * elf/tst-audit6.c: Likewise.
91379         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
91381 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
91383         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
91385 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
91387         * po/cs.po: Update from translation team.
91388         * po/bg.po: Likewise.
91390 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
91392         * misc/sys/cdefs.h: Add support for const attribute.
91393         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
91394         to gnu_dev_{major,minor,makedev} functions.
91396 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
91398         * intl/dcigettext.c (get_output_charset): Add missing bracket.
91400 2011-07-20  Andreas Schwab  <schwab@redhat.com>
91402         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
91403         strlen results.
91405 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91407         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
91408         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
91409         register in order to avoid conflicts with the soft frame pointer
91410         being held in r11 when necessary.
91411         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
91412         (INTERNAL_VSYSCALL_NCS): Likewise.
91414 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
91416         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
91417         * elf/dl-fini.c (_dl_fini): Adjust caller.
91418         * elf/dl-close.c (_dl_close_worker): Likewise.
91419         * sysdeps/generic/ldsodefs.h: Adjust declaration.
91421 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
91423         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
91424         "aux_cache->nlibs < 0".
91426         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
91427         in the reload-count case.
91429 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91431         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91432         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
91433         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
91434         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
91435         * sysdeps/x86_64/multiarch/strcat.S: New file.
91436         * sysdeps/x86_64/multiarch/strncat.S: New file.
91437         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
91438         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
91439         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
91440         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
91441         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
91442         (USE_AS_STRCAT): Define.
91443         Add strcat and strncat support.
91444         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
91445         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
91446         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
91447         * string/strncat.c: Update.
91448         (USE_AS_STRNCAT): Define.
91449         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91450         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
91451         and i7.
91452         * sysdeps/x86_64/multiarch/init-arch.h
91453         (bit_Prefer_PMINUB_for_stringop): New.
91454         (index_Prefer_PMINUB_for_stringop): Likewise.
91455         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
91456         bit_Prefer_PMINUB_for_stringop.
91458 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
91460         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
91461         buffer64.
91462         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
91463         of casting of buffer.
91464         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
91465         buffer32 and buffer64.
91466         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
91467         writes instead of casting of buffer.
91468         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
91469         buffer32.
91470         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
91471         casting of buffer.
91473 2011-07-19  Andreas Schwab  <schwab@redhat.com>
91475         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
91477 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
91479         * nscd/nscd.c (termination_handler): Don't do anything for a database
91480         if it has not yet been initialized.
91482 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
91484         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91486 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
91488         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91490 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
91492         * po/nl.po: Update from translation team.
91493         * po/sv.po: Likewise.
91495 2011-07-16  Roland McGrath  <roland@hack.frob.com>
91497         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
91498         now disallowed by GCC.
91500         * configure.in (use-default-link): Default to yes if a test -shared
91501         link meets our qualifications.
91502         * configure: Regenerated.
91504         * config.make.in (output-format): New variable.
91505         * configure.in: Check for ld --print-output-format support.
91506         * configure: Regenerated.
91507         * Makerules ($(common-objpfx)format.lds)
91508         [$(output-format) != unknown]: Just use $(output-format),
91509         instead of the linker-script munging.
91511 2011-07-14  Roland McGrath  <roland@hack.frob.com>
91513         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
91514         of $(common-objpfx)shlib.lds.
91515         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
91517         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
91518         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
91520         * configure.in (-z relro check): Adjust test code to add a large
91521         writable data section after it.
91522         * configure: Regenerated.
91524 2011-07-11  Roland McGrath  <roland@hack.frob.com>
91526         * configure.in (-z relro check): Fix test code to make the variable
91527         truly const.
91528         * configure: Regenerated.
91530 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
91532         * nscd/nscd.h (struct traced_file): Define.
91533         (struct database_dyn): Remove inotify_descr, reset_res, and filename
91534         elements.  Add traced_files.
91535         (inotify_fd): Declare.
91536         (register_traced_file): Declare.
91537         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
91538         (inotify_fd): Export.
91539         (resolv_conf_descr): Remove.
91540         (nscd_init): Move inotify descriptor creation to main.
91541         Don't register files for notification here.
91542         (register_traced_file): New function.
91543         (invalidate_cache): Don't use reset_res to determine whether to call
91544         res_init, go through the list of registered files.
91545         (main_loop_poll): The inotify descriptors are now stored in the
91546         structures for the traced files.
91547         (main_loop_epoll): Likewise.
91548         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
91549         to __nss_disable_nscd.
91550         * nscd/cache.c (prune_cache): There is no single inotify descriptor
91551         for a database anymore.  Check the records for all the registered
91552         files instead.
91553         * nss/Makefile (libnss_files-routines): Add files-init.
91554         (libnss_db-routines): Add db-init.
91555         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
91556         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
91557         * nss/nss_db/db-init.c: New file.
91558         * nss/nss_files/files-init.c: New file.
91559         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
91560         __nss_lookup_function.
91561         (__nss_lookup_function): Call nss_load_library.
91562         (nss_load_all_libraries): New function.
91563         (__nss_disable_nscd): Take parameter with callback function for files
91564         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
91565         used for the cached services.
91566         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
91567         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
91568         options for features to all the files in nscd.
91570         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
91572 2011-07-10  Roland McGrath  <roland@hack.frob.com>
91574         * csu/elf-init.c (__libc_csu_init): Comment typo.
91576 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
91578         * po/pl.po: Update from translation team.
91579         * po/ja.po: Likewise.
91580         * po/ru.po: Likewise.
91581         * po/ko.po: Likewise.
91582         * po/fr.po: Likewise.
91584 2011-07-09  Roland McGrath  <roland@hack.frob.com>
91586         * configure.in (.ctors/.dtors header and trailer check):
91587         Use an empirical test on a built program.
91588         * configure: Regenerated.
91590         * configure.in (-z relro check): Use an empirical test on a built DSO.
91591         Detect, but do not require, on ia64.
91592         * configure: Regenerated.
91594         * configure.in (READELF): Find it with AC_CHECK_TOOL.
91595         Update tests that use readelf to use $READELF instead.
91596         * configure: Regenerated.
91598 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
91600         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
91601         if the result is not used.
91603 2011-07-05  Andreas Jaeger  <aj@suse.de>
91605         [BZ #9696]
91606         * stdlib/tst-strtod.c: Add testcase.
91608 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
91610         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
91611         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
91612         The latter has a higher limit.  Take additional parameter to pass to
91613         the new function.
91614         (__pathconf): Pass file to __statfs_link_max.
91615         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
91616         __statfs_link_max.
91617         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
91618         __statfs_link_max.
91620         [BZ #12868]
91621         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
91622         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91623         Handle Lustre.
91624         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
91625         (__statfs_filesize_max): Likewise.
91626         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
91628 2011-07-05  Andreas Jaeger  <aj@suse.de>
91630         * resolv/res_comp.c (dn_skipname): Remove unused variable.
91632 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
91634         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
91635         `status' variable.
91636         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
91637         Likewise.
91639 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
91641         * Makefile (strop-tests): Add strncat.
91642         * string/test-strncat.c: New file.
91644 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
91646         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
91648 2011-06-21  Andreas Jaeger  <aj@suse.de>
91650         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
91651         Copy rule from iconvdata/Makefile.
91653 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91655         [BZ #12922]
91656         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
91657         but no long options are defined, just return 'W'.
91659 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
91661         [BZ #9696]
91662         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
91664 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91666         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
91667         netgroups to read.
91668         (innetgr): Likewise.
91670 2011-07-05  Roland McGrath  <roland@hack.frob.com>
91672         * config.make.in (install_root): Default to $(DESTDIR).
91674 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
91676         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
91678 2011-07-02  Roland McGrath  <roland@hack.frob.com>
91680         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
91682         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
91683         containing directory rather than embedding absolute directory names.
91685         * scripts/check-local-headers.sh: Rewritten using awk.
91686         Match by word, not by line.  Print error messages for matches.
91687         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
91689         * Makerules [shlib-lds-flags empty]:
91690         ($(common-objpfx)libc_pic.opts): New target.
91691         ($(common-objpfx)libc_pic.os.clean): New target.
91692         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
91694         * config.make.in (OBJCOPY): New variable.
91695         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
91696         * configure: Regenerated.
91698         * config.make.in (use-default-link): New variable.
91699         * configure.in (use_default_link): Grok --with-default-link to set it.
91700         * configure: Regenerated.
91701         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
91702         (shlib-lds, shlib-lds-flags): Define to empty.
91704         * Makerules (shlib-lds): New variable.
91705         (shlib-lds-flags): New variable.
91706         (build-shlib, build-moduile, build-module-asneeded): Use it.
91707         ($(common-objpfx)libc.so): Use $(shlib-lds).
91708         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
91709         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
91711         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
91712         DT_FLAGS/DT_FLAGS_1 with zero flags.
91714         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
91715         linker script munging.
91717 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
91719         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
91720         as 128-bit value.
91721         * crypt/sha512.c (sha512_process_block): Perform total addition using
91722         128-bit if possible.
91723         (__sha512_finish_ctx): Likewise.
91724         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
91725         as 64-bit value.
91726         * crypt/sha256.c (SWAP64): Define.
91727         (sha256_process_block): Perform total addition using 64-bit if
91728         possible.
91729         (__sha256_finish_ctx): Likewise.
91731 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
91733         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
91734         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91735         * nscd/hstcache.c (cache_addhst): Likewise.
91736         * nscd/grpcache.c (cache_addgr): Likewise.
91737         * nscd/aicache.c (addhstaiX): Likewise.
91738         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
91740 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
91742         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
91743         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91744         * nscd/hstcache.c (cache_addhst): Likewise.
91745         * nscd/grpcache.c (cache_addgr): Likewise.
91746         * nscd/aicache.c (addhstaiX): Likewise.
91748 2011-07-01  Andreas Schwab  <schwab@redhat.com>
91750         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
91751         domain only when needed.
91753 2011-06-30  Andreas Schwab  <schwab@redhat.com>
91755         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
91756         is always restored.
91758 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
91760         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
91761         are re-adding the entry.
91762         * nscd/servicescache.c (cache_addserv): Likewise.
91764 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
91766         * sysdeps/generic/dl-irel.h: fix protection against multiple
91767         inclusions.
91768         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
91770 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
91772         [BZ #12935]
91773         * malloc/memusage.sh: Fix quoting in message.
91774         * debug/xtrace.sh: Likewise.
91776         * configure.in: Remove support for --experimental-malloc option, make
91777         it the default.
91778         * config.make.in: Likewise.
91779         * malloc/Makefile: Likewise.
91781 2011-06-27  Andreas Schwab  <schwab@redhat.com>
91783         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
91784         two-byte characters.
91786 2011-06-27  Roland McGrath  <roland@hack.frob.com>
91788         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
91789         AC_CACHE_CHECK invocation.
91790         * configure: Regenerated.
91792         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
91794 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
91796         [BZ #12350]
91797         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
91798         bit from old_res_options.
91800         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
91802         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
91803         value type for setfct.
91805 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
91807         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91808         __gettimeofday instead of gettimeofday.
91810 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
91812         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
91814 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
91816         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
91818         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
91819         info.
91821 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91823         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91824         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91825         strcpy-sse2-unaligned strncpy-sse2-unaligned
91826         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
91827         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
91828         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
91829         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
91830         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
91831         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
91832         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
91833         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
91834         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
91835         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
91836         (STRCPY): Support SSE2 and SSSE3 versions.
91838 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
91840         [BZ #12874]
91841         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
91842         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
91843         kernels which artificially limit size of requests.
91845 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91847         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91848         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91849         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
91850         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
91851         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
91852         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
91853         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
91854         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
91855         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
91856         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
91857         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
91858         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
91859         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
91860         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
91861         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
91862         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91863         Enable unaligned load optimization for Intel Core i3, i5 and i7
91864         processors.
91865         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
91866         Define.
91867         (index_Fast_Unaligned_Load): Define.
91868         (HAS_FAST_UNALIGNED_LOAD): Define.
91870 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
91872         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
91874 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
91876         [BZ #12907]
91877         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
91878         until it is clear that the information is realy needed.
91879         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
91881 2011-06-22  Andreas Schwab  <schwab@redhat.com>
91883         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
91885 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
91887         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91888         /sys/devices/system/cpu/online if it is usable.
91890         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
91891         reading the information from the /proc filesystem to once a second.
91893 2011-06-21  Andreas Jaeger  <aj@suse.de>
91895         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
91896         NULL after inclusion of kernel headers.
91898 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
91900         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
91901         calls to internal_setent.
91903         [BZ #12885]
91904         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
91905         addresses using gethostbyname4_r ignore IPv4 addresses.
91907         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
91908         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
91910         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
91912 2011-06-20  David S. Miller  <davem@davemloft.net>
91914         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
91915         inclusions.
91916         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
91918         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
91919         (elf_irel): Use it.
91920         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
91921         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
91922         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
91923         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
91924         * sysdeps/x86_64/dl-irel.h: Likewise.
91926         * elf/dl-runtime.c: Use elf_ifunc_invoke.
91927         * elf/dl-sym.c: Likewise.
91929 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
91931         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
91932         need to dereference resplen2.
91934 2011-06-14  Andreas Schwab  <schwab@redhat.com>
91936         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
91938 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
91940         * Makeconfig: Define vardbdir and inst_vardbdir.
91941         * nss/Makefile: Add rules to install db-Makefile.
91943         * nss/nss_db/db-XXX.c: Cleanup.
91945         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
91946         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
91947         GLIBC_PRIVATE.
91948         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
91949         * nss/makedb.c: Implement -g option to specify that value strings
91950         are generated and should not be added to table iterated over for
91951         get*ent calls.
91952         * nss/nss_db/db-initgroups.c: New file.
91954         * nss/getent.c: Add support for initgroups lookups through getgrouplist
91955         interface.
91957         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
91958         (internal_getgrouplist): Adjust to name change.
91959         Update use_initgroups_entry if this is not the first call.
91960         * nss/databases.def: Add initgroups entry.
91962         * nss/makedb.c (compute_tables): Check result of multiple hash table
91963         sizes to minimize maximum chain length.
91965 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
91967         * Versions.def: Add entry for libnss_db.
91968         * shlib-versions: Likewise.
91969         * nss/Makefile: Add rules to build libnss_db.
91970         * nss/Versions: Add libnss_db information.  Organize libnss_files
91971         entries better.
91972         * nss/db-Makefile: Add gshadow support.  Change rules for the new
91973         makedb progra.  Some minor improvements to generate smaller files.
91974         * nss/nss_db/nss_db.h: Move NSS database header data structures to
91975         here from...
91976         * nss/makedb.c: ...here.
91977         Improve database format to be smaller and require less memory at
91978         runtime.
91979         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
91980         db anymore.
91981         * nss/nss_db/db-netgrp.c: Likewise.
91982         * nss/nss_db/db-open.c: Likewise.
91983         * nss/nss_files/flies-XXX.x: Adjust comments.
91984         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
91985         * nss/nss_files/files-grp.c: Likewise.
91986         * nss/nss_files/files-hosts.c: Likewise.
91987         * nss/nss_files/files-network.c: Likewise.
91988         * nss/nss_files/files-proto.c: Likewise.
91989         * nss/nss_files/files-pwd.c: Likewise.
91990         * nss/nss_files/files-rpc.c: Likewise.
91991         * nss/nss_files/files-service.c: Likewise.
91992         * nss/nss_files/files-sgrp.c: Likewise.
91993         * nss/nss_files/files-spwd.c: Likewise.
91994         * nss/nss_db/db-alias.c: Removed.
91995         * nss/nss_db/dummy-db.h: Removed.
91997 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
91999         * nss/makedb.c: Rewritten to not use database library.
92000         * nss/Makefile: Update to build new makedb program.
92002 2011-06-14  Andreas Jaeger  <aj@suse.de>
92004         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
92005         memset declaration.
92007 2011-06-10  Andreas Schwab  <schwab@redhat.com>
92009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
92010         tmpbuf.
92012 2011-06-10  Roland McGrath  <roland@hack.frob.com>
92014         * Makerules (shlib.lds): Fail if the linker script comes out empty.
92015         * elf/Makefile ($(objpfx)ld.so): Likewise.
92017         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
92018         Don't list ld.so twice in dependencies.
92020         * posix/bug-regex31.c: Include <stdlib.h>.
92022         * nscd/hstcache.c (cache_addhst): Remove unused variable.
92024         * nis/nss_compat/compat-spwd.c
92025         (getspent_next_nss_netgr): Remove unused variable.
92026         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
92028         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
92029         nonmembers" output to use the right array.
92031         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
92033         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
92035         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
92036         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
92037         * catgets/gencat.c (read_input_file): Likewise.
92038         * locale/programs/locarchive.c (enlarge_archive): Likewise.
92040         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
92041         variable definition inside #if's controlling its use.
92043         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
92045         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
92047         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
92049         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
92050         unreachable code.
92052         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
92054         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
92055         * configure: Regenerated.
92057         * Makerules: Revert last change.
92058         * elf/Makefile: Likewise.
92060 2011-06-09  Roland McGrath  <roland@hack.frob.com>
92062         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
92063         * elf/Makefile ($(objpfx)librtld.os): Likewise.
92064         (reloc-link): Likewise.
92066 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
92068         * elf/Makefile: Add rules to build pldd.
92069         * elf/pldd.c: New file.
92070         * elf/pldd-xx.c: New file.
92072 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
92074         * version.h: Update for 2.15 development version.
92076 2011-06-07  David S. Miller  <davem@davemloft.net>
92078         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
92079         ifuncs.
92080         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
92081         elf_machine_lazy_rel): Likewise.
92082         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
92083         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
92084         elf_machine_lazy_rel): Likewise.
92085         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
92086         dl_hwcap via passed in argument.
92087         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
92088         Likewise.
92090 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92092         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
92094 2011-06-06  Roland McGrath  <roland@hack.frob.com>
92096         [BZ #12849]
92097         * manual/fdl-1.1.texi: New file, verbatim from:
92098         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
92099         * manual/lgpl-2.1.texi: New file, verbatim from:
92100         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
92101         * manual/Makefile (licenses): New variable, list those new file names.
92102         (texis): Use it.
92103         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
92105         * manual/fdl.texi: File removed.
92106         * manual/lesser.texi: File removed.
92107         * manual/libc.texinfo (Copying, Documentation License):
92108         Use new @include file names, put @appendix directive before @include.
92110 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
92112         [BZ #12841]
92113         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
92114         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
92115         (mq_open): Add __NTH.
92117 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
92119         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92120         Assume Intel Core i3/i5/i7 processor if AVX is available.
92122 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
92124         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
92125         typo.
92127 2011-05-31  Andreas Schwab  <schwab@redhat.com>
92129         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
92130         memory.  Use alloca_account.  Fix memory leak when retrying.
92132 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
92134         * version.h (RELEASE): Bump for 2.14 release.
92135         * include/features.h (__GLIBC_MINOR__): Bump to 14.
92137         * config.make.in (RANLIB): Remove entry.
92139 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
92141         * po/Makefile (po-sed-cmd): Add ksh to extensions.
92142         (libc.pot): Work around missing support for .ksh extension in xgettext.
92144         [BZ #12684]
92145         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
92146         if both request failed.
92147         (send_dg): In case of server errors clear resplen or *resplen2.
92149         [BZ #12454]
92150         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
92151         when there are multiple maps.
92152         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
92153         (_dl_fini): Remove test here.
92155         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
92157 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
92159         [BZ #12350]
92160         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
92161         bit from old_res_options.
92162         (gaih_inet): Likewise.
92164         [BZ #11099]
92165         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
92166         as signed.
92168         * resolv/res_init.c (res_setoptions): Make the code more compact.
92170         [BZ #11558]
92171         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
92172         set RES_USEVC.
92174         [BZ #11634]
92175         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
92177         * malloc/malloc.h: Mark malloc hook variables as deprecated.
92179         [BZ #11781]
92180         * malloc/malloc.h: Declare malloc hook variables as volatile.
92182         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
92183         in last patch.
92185         [BZ #11799]
92186         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
92187         raise in the comment.
92188         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
92189         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
92190         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
92192 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
92194         [BZ #12811]
92195         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
92196         grow the buffers more if it already has to be sufficient.
92197         (build_wcs_upper_buffer): Likewise.
92198         * posix/regexec.c (check_matching): Likewise.
92199         (clean_state_log_if_needed): Likewise.
92200         (extend_buffers): Don't enlarge buffers beyond size of the input
92201         buffer.
92202         Patches mostly by Emil Wojak <emil@wojak.eu>.
92203         * posix/bug-regex32.c: New file.
92204         * posix/Makefile (tests): Add bug-regex32.
92206         * locale/findlocale.c (_nl_find_locale): Return right away if
92207         _nl_explode_name failed.
92208         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
92210         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
92212         * debug/xtrace.sh: Unify messages.
92213         * malloc/memusage.sh: Likewise.
92215         [BZ #12813]
92216         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
92217         time symbol from vDSO.  Substitute with vsyscall if not available.
92218         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
92219         __vdso_time.
92221         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
92222         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
92223         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
92224         Add sendmmsg and internal_sendmmsg.
92225         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
92226         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
92227         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
92229         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
92230         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
92231         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
92233 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
92235         [BZ #12813]
92236         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
92237         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
92238         available.
92239         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
92240         __vdso_getcpu.
92242         [BZ #12814]
92243         * iconvdata/Makefile (tests): Add bug-iconv9.
92244         * iconvdata/bug-iconv9.c: New file.
92246 2011-05-27  Andreas Schwab  <schwab@redhat.com>
92248         [BZ #12814]
92249         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
92251 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
92253         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92254         (struct user_regs_struct): Change intcs field back to cs.
92256 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
92258         * po/ja.po: Update from translation team.
92260 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
92262         [BZ #12795]
92263         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
92264         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
92266 2011-05-20  Andreas Schwab  <schwab@redhat.com>
92268         * stdlib/longlong.h: Update from GCC.
92270 2011-05-23  Andreas Schwab  <schwab@redhat.com>
92272         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
92273         parameter name.
92274         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
92275         Add parameter name.
92276         (__sysconf): Pass it down.
92278 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
92280         [BZ #12671]
92281         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
92282         some situations.
92283         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
92284         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
92285         add in in __libc_use_alloca calls.  Adjust callers.
92286         (glob): Use malloc in some situations.
92288         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
92289         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
92290         pltexit.
92292 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
92294         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
92295         and CLOCK_BOOTTIME_ALARM.
92297         [BZ #12782]
92298         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
92299         is returned.
92301         * string/_strerror.c (__strerror_r): Print negative errors as signed
92302         numbers.
92304         [BZ #12777]
92305         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
92306         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
92307         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
92309         * configure.in: Fix typo in redirection and correct removal of test
92310         files in two cases.
92312         [BZ #12788]
92313         * locale/setlocale.c (new_composite_name): Fix test to check for
92314         identical name of all categories.
92316         [BZ #12792]
92317         * libio/filedoalloc.c (local_isatty): New function.
92318         (_IO_file_doallocate): Use local_isatty.
92319         * stdio-common/perror.c (perror): In case a new stream is used
92320         forward the stream error.
92321         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
92322         error flag.
92324 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
92326         [BZ #11884]
92327         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
92328         alloca.
92329         * include/alloca.h (extend_alloca_account): Define.
92331         [BZ #11857]
92332         * posix/regex.h: Fix comments with documentation of user-accessible
92333         fields after compilation and describe correct free'ing of pattern
92334         after re_compile_pattern.
92335         Patch by Reuben Thomas <rrt@sc3d.org>.
92337 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
92339         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
92340         and -mno-altivec to prevent the compiler from using Altivec and/or
92341         VSX instructions when the corresponding registers are not available.
92343 2011-05-19  Andreas Schwab  <schwab@redhat.com>
92345         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
92347 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
92349         * libio/freopen.c (freopen): Use __dup2, not dup2.
92350         * libio/freopen64.c (freopen64): Likewise.
92352 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
92354         [BZ #12775]
92355         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
92356         * math/Makefile (tests): Add test-powl.
92357         (CFLAGS-test-powl.c): Define.
92358         * math/test-powl.c: New file.
92360 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
92362         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
92364 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
92366         [BZ #11837]
92367         * iconvdata/gb18030.c: Update to GB18020-2005.
92369 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
92371         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
92372         RE_SYNTAX_POSIX_AWK): Update to match recent development.
92373         Patch by Aharon Robbins <arnold@skeeve.com>.
92375         [BZ #11892]
92376         * stdlib/putenv.c (putenv): Don't always create copy of the variable
92377         on the stack.
92379         [BZ #11895]
92380         * misc/pselect.c (__pselect): Handle timeout value errors hidden
92381         through underflows.
92383         [BZ #12766]
92384         * misc/error.c (error_at_line): Ensure file_name and old_file_name
92385         point to strings before performing equality test for error_one_per_line
92386         mode.
92388         [BZ #11697]
92389         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
92391         [BZ #11820]
92392         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92393         (struct user_fpregs_struct): Avoid __uint*_t types.
92395         [BZ #6420]
92396         * malloc/mtrace.c (tr_where): Add additional parameter to point to
92397         symbol info.  Use it instead of calling _dl_addr locally.
92398         (lock_and_info): New function.
92399         (tr_freehook): Call lock_and_info and pass symbol info as additional
92400         parameter to tr_where.
92401         (tr_mallochook): Likewise.
92402         (tr_reallochook): Likewise.
92403         (tr_memalignhook): Likewise.
92405         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
92406         used and couldn't be at all thread-safe.
92408 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
92410         * libio/freopen.c (freopen): Don't close old file descriptor
92411         before the new one is opened.  Instead dup the new file descriptor
92412         to the old one after the new stream is created.
92413         * libio/freopen64.c (freopen64): Likewise.
92414         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
92415         * libio/fileops.c (_IO_new_file_close_it): Handle new
92416         _IO_FLAGS2_NOCLOSE flag.
92417         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
92418         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
92419         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
92420         _IO_FLAGS2_NOCLOSE flag.
92421         * include/unistd.h: Add hidden_proto for dup3.
92422         Define __have_dup3.
92423         * io/dup3.c: Define hidden symbol.
92424         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
92426         [BZ #7101]
92427         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
92428         when an incomplete long option is used.
92429         * posix/tst-getopt_long1.c: New file.
92430         * posix/Makefile (tests): Add tst-getopt_long1.
92432         [BZ #10138]
92433         * scripts/config.guess: Update from autoconf-2.68.
92434         * scripts/config.sub: Likewise.
92436         [BZ #10157]
92437         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
92438         tests into ...
92439         (has_cpuclock): ...this.  New function.
92440         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
92441         macro here based on has_cpuclock code.
92443         [BZ #10149]
92444         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92445         First byte (not low byte) is now always NUL.
92446         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
92448         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92449         Use non-cancelable interfaces.
92451         [BZ #9809]
92452         * locale/iso-639.def: Add entry for Sorani.
92454         [BZ #11901]
92455         * include/stdlib.h: Move include protection to the right place.
92456         Define abort_msg_s.  Declare __abort_msg with it.
92457         * stdlib/abort.c (__abort_msg): Adjust type.
92458         * assert/assert.c (__assert_fail_base): New function.  Majority
92459         of code from __assert_fail.  Allocate memory for __abort_msg with
92460         mmap.
92461         (__assert_fail): Now call __assert_fail_base.
92462         * assert/assert-perr.c: Remove bulk of implementation.  Use
92463         __assert_fail_base.
92464         * include/assert.hL Declare __assert_fail_base.
92465         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
92466         mmap.
92467         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
92469 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
92471         [BZ #11952]
92472         [BZ #12453]
92473         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
92474         until all modules are registered in the DTV.
92475         * elf/Makefile: Add rules to build and run tst-tls19.
92476         * elf/tst-tls19.c: New file.
92477         * elf/tst-tls19mod1.c: New file.
92478         * elf/tst-tls19mod2.c: New file.
92479         * elf/tst-tls19mod3.c: New file.
92480         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
92482         [BZ #12083]
92483         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
92484         correctly.
92486         [BZ #12601]
92487         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
92488         two-byte sequence errors.
92489         * iconvdata/Makefile (tests): Add bug-iconv8.
92490         * iconvdata/bug-iconv8.c: New file.
92492         [BZ #12626]
92493         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
92494         buf2 definition.
92496         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
92498         [BZ #12432]
92499         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
92500         (dummy_getcfa): New function.
92501         (init): Get _Unwind_GetCFA address, use dummy if not found.
92502         (backtrace_helper): In recursion check, also check whether CFA changes.
92503         (__backtrace): Completely initialize arg.
92505         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
92506         storing incomplete byte sequence in state object.  Avoid testing for
92507         guaranteed too small input if we know there is enough data available.
92509 2011-05-11  Andreas Schwab  <schwab@redhat.com>
92511         * Makeconfig (+link-pie): Indent.
92512         * Rules (binaries-pie): Define if $(have-fpie) and
92513         $(build-shared).
92514         (binaries-shared): Also filter out $(binaries-pie).
92515         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
92516         * nscd/Makefile (others-pie): Add nscd.
92517         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
92518         ($(objpfx)nscd): Remove command override.
92519         * login/Makefile (others-pie): Add pt_chown.
92520         ($(objpfx)pt_chown): Remove command override.
92521         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
92522         remove command overrides.
92524 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
92526         * libio/tst_putwc.c: Fix error messages.
92528         [BZ #12724]
92529         * libio/fileops.c (_IO_new_file_close_it): Always flush when
92530         currently writing and seek to current position when not.
92531         * libio/Makefile (tests): Add bug-fclose1.
92532         * libio/bug-fclose1.c: New file.
92534 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
92536         [BZ #12511]
92537         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
92538         don't set DF_1_NODELETE here.
92539         (do_lookup_x): When entering new entry test for copy relocation
92540         and if necessary set DF_1_NODELETE flag.
92541         * elf/tst-unique4.cc: New file.
92542         * elf/tst-unique4.h: New file.
92543         * elf/tst-unique4lib.cc: New file.
92544         * elf/Makefile: Add rules to build and run tst-unique4.
92545         Patch by Piotr Bury <pbury@goahead.com>.
92547 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
92549         [BZ #12052]
92550         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
92552         [BZ #12625]
92553         * misc/mntent_r.c (addmntent): Flush the stream after the output
92555         [BZ #12393]
92556         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
92557         (is_trusted_path_normalize): Skip initial colon.  Append slash
92558         to empty buffer.  Duplicate is_trusted_path code but allow
92559         constructed patch to be prefix.
92560         (is_dst): Allow $ORIGIN followed by /.
92561         (_dl_dst_substitute): Correct clearing of check_for_trusted.
92562         Correct testing of result of is_trusted_path_normalize
92563         (decompose_rpath): Fix warning.
92565 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
92567         [BZ #11257]
92568         * grp/initgroups.c (internal_getgrouplist): When we found the service
92569         list through the initgroups entry in nsswitch.conf do not always
92570         continue on a successful lookup.  Don't always use the
92571         __nss_group_database value if it is set.
92572         * nss/nsswitch.conf (initgroups): Change action for successful db
92573         lookup to continue for compatibility.
92575 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
92577         [BZ #11532]
92578         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
92579         and CP774 modules.
92580         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
92581         and CP774 modules.
92582         * iconvdata/tst-tables.sh: Likewise.
92583         * iconvdata/cp770.c: New file.
92584         * iconvdata/cp771.c: New file.
92585         * iconvdata/cp772.c: New file.
92586         * iconvdata/cp773.c: New file.
92587         * iconvdata/cp774.c: New file.
92588         * iconvdata/testdata/CP770: New file.
92589         * iconvdata/testdata/CP770..UTF8: New file.
92590         * iconvdata/testdata/CP771: New file.
92591         * iconvdata/testdata/CP771..UTF8: New file.
92592         * iconvdata/testdata/CP772: New file.
92593         * iconvdata/testdata/CP772..UTF8: New file.
92594         * iconvdata/testdata/CP773: New file.
92595         * iconvdata/testdata/CP773..UTF8: New file.
92596         * iconvdata/testdata/CP774: New file.
92597         * iconvdata/testdata/CP774..UTF8: New file.
92599         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
92600         END CHARMAP line.
92601         * iconvdata/gen-8bit-gap.sh: Likewise.
92602         * iconvdata/gen-8bit.sh: Likewise.
92604         * locale/iso-639.def: Add ary entry.
92606         [BZ #11258]
92607         * locale/C-translit.h.in: Add U20A1 transliteration.
92609         [BZ #12178]
92610         * locale/iso-639.def: Add wae entry.
92611         Patch by Kevin Bortis <bortis@translate-wae.ch>.
92613         [BZ #12545]
92614         * locale/programs/localedef.c (construct_output_path): Use ssize_t
92615         for n.
92617         [BZ #12711]
92618         * locale/C-translit.h.in: Add entry for U20B9.
92619         Patch by pravin.d.s@gmail.com.
92621 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
92623         [BZ #12713]
92624         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
92625         ENAMETOOLONG use generic getcwd.
92626         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
92627         in rtld.  Use *stat64.
92628         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
92629         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
92630         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
92631         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
92632         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
92633         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
92634         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
92635         __fstatat64 macros.
92636         * include/dirent.h: Add libc_hidden_proto for rewinddir.
92637         * dirent/rewinddir.c: Add libc_hidden_def.
92638         * sysdeps/mach/hurd/rewinddir.c: Likewise.
92639         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
92641         * include/dirent.h (__alloc_dir): Add flags parameter.
92642         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
92643         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
92644         __alloc_dir.
92645         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
92646         from fdopendir if O_CLOEXEC is already set.
92648 2011-03-15  Alan Modra  <amodra@gmail.com>
92650         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
92651         l_tls_firstbyte_offset non-zero.  Save padding offset in
92652         l_tls_firstbyte_offset for later use.
92653         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
92654         freeing static tls block.
92656 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
92658         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
92659         where #ifdef was intended.  The intent is to prevent ARG_MAX from
92660         being defined by the kernel headers.
92662 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
92664         [BZ #12734]
92665         * resolv/resolv.h: Define RES_NOTLDQUERY.
92666         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
92667         no-tld-query and set RES_NOTLDQUERY.
92668         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
92669         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
92670         modern BIND to search name as TLD unless forbidden.
92672 2011-05-07  Petr Baudis  <pasky@suse.cz>
92673             Ulrich Drepper  <drepper@gmail.com>
92675         [BZ #12393]
92676         * elf/dl-load.c (fillin_rpath): Move trusted path check...
92677         (is_trusted_path): ...to here.
92678         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
92679         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
92680         using is_trusted_path_normalize() in setuid scripts.
92682 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
92684         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
92685         __BEGIN/__END_DECLS.
92687 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
92689         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
92690         NSS_STATUS_NOTFOUND if no record was found.
92692 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92694         * sunrpc/Makefile (headers): Add rpc/netdb.h.
92695         (headers-not-in-tirpc): Remove rpc/netdb.h
92696         * resolv/netdb.h: Revert last change.
92698 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
92700         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
92701         circular dependency between libgcc.a and libc.a.
92703 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92705         * resolv/netdb.h: Don't include <rpc/netdb.h>.
92706         * nis/Makefile: Don't install rpcsvc/*.
92707         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
92708         instead of <rpc/types.h>.
92709         (MAXHOSTNAMELEN): Define.
92711 2011-05-03  Andreas Schwab  <schwab@redhat.com>
92713         * elf/ldconfig.c (add_dir): Don't crash on empty path.
92715 2011-04-28  Maciej Babinski  <mbabinski@google.com>
92717         [BZ #12714]
92718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
92719         gethostbyname4_r when IPv6 results are possible.
92721 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
92723         [BZ #12723]
92724         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
92725         _PC_PIPE_BUF handling.
92727 2011-04-30  Bruno Haible  <bruno@clisp.org>
92729         [BZ #12717]
92730         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
92731         * resolv/netdb.h (getnameinfo): Change type of flags parameter
92732         to 'int'.
92733         * inet/getnameinfo.c (getnameinfo): Likewise.
92735 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
92737         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
92738         to groups setting in database lookup.
92739         * nss/nsswitch.conf: Add initgroups entry.
92741 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
92743         [BZ #12685]
92744         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
92745         mode string.
92746         Patch by Eric Blake <eblake@redhat.com>.
92748 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
92750         * sunrpc/Makefile (need-export-routines): Add svc_run.
92751         (routines): Remove svc_run.
92752         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
92753         * sunrpc/clnt_perr.c (clnt_perrno): Export.
92754         * sunrpc/svc_run.c (svc_run): Likewise.
92755         * sunrpc/svc_udp.c (svcudp_create): Likewise.
92757 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
92759         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
92760         problem in reallocation in last patch.
92762 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
92764         * sunrpc/Makefile: Move inclusion of Rules.
92766 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92768         * nss/nss_files/files-initgroups.c: New file.
92769         * nss/Makefile (libnss_files-routines): Add files-initgroups.
92770         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
92771         _nss_files_initgroups_dyn.
92773 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
92775         * elf/elf.h (R_ARM_IRELATIVE): Define.
92777 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92779         * po/ru.po: Update from translation team.
92781 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92783         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
92784         dependencies.
92786 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
92788         [BZ #12653]
92789         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
92790         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
92791         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
92792         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
92793         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
92795 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
92797         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
92798         differing bytes.
92799         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
92800         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
92801         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92803 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92805         [BZ #12420]
92806         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
92807         storing it.
92808         * stdlib/bug-getcontext.c: New file.
92809         * stdlib/Makefile: Add rules to build and run bug-getcontext.
92811 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92813         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
92814         instructions into .machine "z9-109".
92815         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
92816         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
92818 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92820         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
92821         between environment variables and auxiliary vector.
92823 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
92825         * Makefile: Add rules to build linkobj/libc.so.
92826         * include/libc-symbols.h: Define libc_hidden_nolink.
92827         * include/rpc/auth.h: Mark functions which are to be hidden.
92828         * include/rpc/auth_des.h: Likewise.
92829         * include/rpc/auth_unix.h: Likewise.
92830         * include/rpc/clnt.h: Likewise.
92831         * include/rpc/des_crypt.h: Likewise.
92832         * include/rpc/key_prot.h: Likewise.
92833         * include/rpc/pmap_clnt.h: Likewise.
92834         * include/rpc/pmap_prot.h: Likewise.
92835         * include/rpc/pmap_rmt.h: Likewise.
92836         * include/rpc/rpc_msg.h: Likewise.
92837         * include/rpc/svc.h: Likewise.
92838         * include/rpc/svc_auth.h: Likewise.
92839         * include/rpc/xdr.h: Likewise.
92840         * nis/Makefile: Link all DSOs against linkobj/libc.so.
92841         * nss/Makefile: Likewise.
92842         * sunrpc/Makefile: Don't install headers.  Build library with normal
92843         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
92844         * sunrpc/auth_des.c: Hide exported symbols by default, export some
92845         for the compat linking library.  Remove use of INTDEF/INTUSE.
92846         * sunrpc/auth_none.c: Likewise.
92847         * sunrpc/auth_unix.c: Likewise.
92848         * sunrpc/authdes_prot.c: Likewise.
92849         * sunrpc/authuxprot.c: Likewise.
92850         * sunrpc/clnt_gen.c: Likewise.
92851         * sunrpc/clnt_perr.c: Likewise.
92852         * sunrpc/clnt_raw.c: Likewise.
92853         * sunrpc/clnt_simp.c: Likewise.
92854         * sunrpc/clnt_tcp.c: Likewise.
92855         * sunrpc/clnt_udp.c: Likewise.
92856         * sunrpc/clnt_unix.c: Likewise.
92857         * sunrpc/des_crypt.c: Likewise.
92858         * sunrpc/des_soft.c: Likewise.
92859         * sunrpc/get_myaddr.c: Likewise.
92860         * sunrpc/key_call.c: Likewise.
92861         * sunrpc/key_prot.c: Likewise.
92862         * sunrpc/netname.c: Likewise.
92863         * sunrpc/pm_getmaps.c: Likewise.
92864         * sunrpc/pm_getport.c: Likewise.
92865         * sunrpc/pmap_clnt.c: Likewise.
92866         * sunrpc/pmap_prot.c: Likewise.
92867         * sunrpc/pmap_prot2.c: Likewise.
92868         * sunrpc/pmap_rmt.c: Likewise.
92869         * sunrpc/publickey.c: Likewise.
92870         * sunrpc/rpc_cmsg.c: Likewise.
92871         * sunrpc/rpc_common.c: Likewise.
92872         * sunrpc/rpc_dtable.c: Likewise.
92873         * sunrpc/rpc_prot.c: Likewise.
92874         * sunrpc/rpc_thread.c: Likewise.
92875         * sunrpc/rtime.c: Likewise.
92876         * sunrpc/svc.c: Likewise.
92877         * sunrpc/svc_auth.c: Likewise.
92878         * sunrpc/svc_authux.c: Likewise.
92879         * sunrpc/svc_raw.c: Likewise.
92880         * sunrpc/svc_run.c: Likewise.
92881         * sunrpc/svc_simple.c: Likewise.
92882         * sunrpc/svc_tcp.c: Likewise.
92883         * sunrpc/svc_udp.c: Likewise.
92884         * sunrpc/svc_unix.c: Likewise.
92885         * sunrpc/svcauth_des.c: Likewise.
92886         * sunrpc/xcrypt.c: Likewise.
92887         * sunrpc/xdr.c: Likewise.
92888         * sunrpc/xdr_array.c: Likewise.
92889         * sunrpc/xdr_float.c: Likewise.
92890         * sunrpc/xdr_intXX_t.c: Likewise.
92891         * sunrpc/xdr_mem.c: Likewise.
92892         * sunrpc/xdr_rec.c: Likewise.
92893         * sunrpc/xdr_ref.c: Likewise.
92894         * sunrpc/xdr_sizeof.c: Likewise.
92895         * sunrpc/xdr_stdio.c: Likewise.
92897 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
92899         [BZ #12650]
92900         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
92901         * sysdeps/ia64/dl-tls.h: Likewise.
92902         * sysdeps/powerpc/dl-tls.h: Likewise.
92903         * sysdeps/s390/dl-tls.h: Likewise.
92904         * sysdeps/sh/dl-tls.h: Likewise.
92905         * sysdeps/sparc/dl-tls.h: Likewise.
92906         * sysdeps/x86_64/dl-tls.h: Likewise.
92907         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
92909 2011-03-14  Andreas Schwab  <schwab@redhat.com>
92911         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
92912         rpath element also skip the following colon.
92913         (expand_dynamic_string_token): Add is_path parameter and pass
92914         down to DL_DST_REQUIRED and _dl_dst_substitute.
92915         (decompose_rpath): Call expand_dynamic_string_token with
92916         non-zero is_path.  Ignore empty rpaths.
92917         (_dl_map_object_from_fd): Call expand_dynamic_string_token
92918         with zero is_path.
92920 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
92922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
92923         Make cancelable.
92925 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
92927         [BZ #12655]
92928         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
92929         Patch by Filipe David Manana <fdmanana@apache.org>.
92931 2011-04-07  Andreas Schwab  <schwab@redhat.com>
92933         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
92934         Maintain aligned stack.
92935         (CHECK_RSP): Remove unused macro.
92937 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
92939         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
92940         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
92942 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
92944         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
92946         * include/features.h: Mention __USE_XOPEN2K8 in comment.
92948 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
92950         [BZ #12518]
92951         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
92952         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
92953         * sysdeps/x86_64/memmove.c: New file.
92954         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
92955         (memcpy): Renamed to ...
92956         (__new_memcpy): This.
92957         (memcpy): Provide GLIBC_2_14 memcpy.
92958         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
92959         (memcpy): Provide GLIBC_2_2_5 memcpy.
92961 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92963         [BZ #12631]
92964         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
92966 2011-03-30  Andreas Schwab  <schwab@redhat.com>
92968         * misc/syncfs.c: New file.
92969         * misc/Makefile (routines): Add syncfs.
92970         * posix/unistd.h: Declare syncfs.
92971         * sysdeps/unix/syscalls.list: Add syncfs.
92973 2011-04-01  Andreas Schwab  <schwab@redhat.com>
92975         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
92976         open_by_handle_at.
92977         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92978         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92979         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92980         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92981         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92982         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
92983         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92985 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92987         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
92988         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92989         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
92990         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92991         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92992         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92993         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92995         * io/Makefile: Compile fallocate.c, fallocate64.c, and
92996         sync_file_range.c with -fexceptions.
92997         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
92998         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
92999         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
93000         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
93001         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
93002         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
93003         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
93004         sync_file_range as cancellation point
93005         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
93006         now a wrapper around __call_sync_file_range with cancellation handling.
93007         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
93008         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
93009         function name to __call_sync_file_range.
93010         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
93011         Add call_sync_file_range.
93013 2011-04-01  Andreas Schwab  <schwab@redhat.com>
93015         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
93016         bits/timex.h.
93018 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93020         * iconv/iconv.h: Fix typo in comment.
93021         * io/fcntl.h: Likewise.
93022         * libio/stdio.h: Likewise.
93023         * posix/spawn.h: Likewise.
93024         * posix/unistd.h: Likewise.
93025         * stdlib/stdlib.h: Likewise.
93026         * time/time.h: Likewise.
93027         * wcsmbs/wchar.h: Likewise.
93029         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
93030         open_by_handle): Add.
93031         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
93032         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
93033         Augment a few comments.
93034         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93035         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93036         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93037         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93038         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93039         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
93040         open_by_handle.
93042         * io/fcntl.h (AT_EMPTY_PATH): Define.
93044 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
93046         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
93047         * sysdeps/unix/sysv/linux/bits/time.h: New file.
93048         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
93049         to...
93050         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
93051         * Versions.def: Add GLIBC_2.14.
93052         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
93053         Export.
93055 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
93057         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
93058         round counter.
93059         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93061 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
93063         [BZ #12597]
93064         * string/test-strncmp.c (do_page_test): New function.
93065         (check2): Likewise.
93066         (test_main): Call check2.
93067         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
93069 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
93071         [BZ #12587]
93072         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
93073         Handle cache information in CPU leaf 4.
93074         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93076 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
93078         [BZ #12583]
93079         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
93080         character representation.
93081         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
93083 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
93085         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
93086         END(__isnan) to END(__isnanf) to match function entry point/label
93087         EALIGN(__isnanf,...).
93089 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
93091         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
93093 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
93095         [BZ #12510]
93096         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
93097         copy from the symbol referenced in the relocation to initialize the
93098         used variable.
93099         Patch by Piotr Bury <pbury@goahead.com>.
93100         * elf/Makefile: Add rules to build and tst-unique3.
93101         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
93102         * elf/tst-unique3.cc: New file.
93103         * elf/tst-unique3.h: New file.
93104         * elf/tst-unique3lib.cc: New file.
93105         * elf/tst-unique3lib2.cc: New file.
93107         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
93109 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
93111         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
93112         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
93113         to _start.
93115 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
93117         * elf/dl-load.c (_dl_map_object): If we are looking for the first
93118         to-be-loaded object along a path to loader is ld.so.
93120 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
93121             Ulrich Drepper  <drepper@gmail.com>
93123         * sysdeps/x86_64/memset.S: After aligning destination, code
93124         branches to different locations depending on the value of
93125         misalignment, when multiarch is enabled. Fix this.
93127 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
93129         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
93130         Set _x86_64_preferred_memory_instruction for AMD processsors.
93131         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93132         Set bit_Prefer_SSE_for_memop for AMD processors.
93134 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
93136         * libio/fmemopen.c (fmemopen): Optimize a bit.
93138 2011-03-03  Andreas Schwab  <schwab@redhat.com>
93140         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
93142 2011-03-03  Roland McGrath  <roland@redhat.com>
93144         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
93146 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
93148         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
93149         __bzero_ultra1 instead of __memset_ultra1.
93151 2011-02-23  Andreas Schwab  <schwab@redhat.com>
93152             Ulrich Drepper  <drepper@gmail.com>
93154         [BZ #12509]
93155         * include/link.h (struct link_map): Add l_orig_initfini.
93156         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
93157         returning unsuccessfully.
93158         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
93159         close of a file loaded at startup, restore the original l_initfini
93160         list.
93161         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
93162         list, store the pointer.
93163         * elf/Makefile ($(objpfx)noload-mem): New rule.
93164         (noload-ENV): Define.
93165         (tests): Add $(objpfx)noload-mem.
93166         * elf/noload.c: Include <memcheck.h>.
93167         (main): Call mtrace.  Close all opened handles.
93169 2011-02-17  Andreas Schwab  <schwab@redhat.com>
93171         [BZ #12454]
93172         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
93173         dependencies are missing.
93175 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93177         Fix __if_freereq crash: Unlike the generic version which uses free,
93178         Hurd needs munmap.
93179         * sysdeps/mach/hurd/ifreq.h: New file.
93181 2011-01-27  Petr Baudis  <pasky@suse.cz>
93182             Ulrich Drepper  <drepper@gmail.com>
93184         [BZ 12445]#
93185         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
93186         to extend_alloca().
93187         * stdio-common/bug23.c: New file.
93188         * stdio-common/Makefile (tests): Add bug23.
93190 2010-09-28  Andreas Schwab  <schwab@redhat.com>
93191             Ulrich Drepper  <drepper@gmail.com>
93193         [BZ #12489]
93194         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
93195         before performing relro protection.  At old place add assertion
93196         to make sure nothing changed.
93198 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
93199             Glauber de Oliveira Costa  <glommer@gmail.com>
93201         * elf/elf.h: Add new ARM TLS relocs.
93203 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
93205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
93206         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
93207         cast from r3.
93208         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
93209         'tests' variable.
93210         * sysdeps/wordsize-64/tst-writev.c: New file.
93212 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
93214         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
93215         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
93216         insns in _dl_start to prevent a TOC reference before relocs are
93217         resolved.
93219 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
93221         [BZ #12469]
93222         * Makeconfig: Remove RANLIB definition.
93223         * Makerules: Don't use RANLIB.
93224         * aclocal.m4: Remove ranlib test.
93225         * configure.in: No need to check for ranlib.
93226         * elf/rtld-Rules: Don't use RANLIB.
93228 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93230         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
93231         protection macro.
93232         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
93233         inclusion protection macro.
93235         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
93236         SIGRTMIN and SIGRTMAX and print information in that case only when
93237         SIGRTMIN is defined.
93239 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
93241         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
93242         arginfo fn returning -1.
93244         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
93245         and thousands string is zero terminated.
93247 2011-02-03  Andreas Schwab  <schwab@redhat.com>
93249         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
93250         sysdeps/unix/sysv/linux/bits/socket.h.
93252 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93254         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
93255         (__CPU_COUNT): Remove old macros.
93256         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
93257         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
93258         (__CPU_ALLOC, __CPU_FREE): Add macros.
93259         (__sched_cpualloc, __sched_cpufree): Add declarations.
93261 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
93263         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
93264         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
93265         * nscd/aicache.c (addhstaiX): Return timeout of added value.
93266         (readdhstai): Return value of addhstaiX call.
93267         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
93268         (addgrbyX): Return value returned by cache_addgr.
93269         (readdgrbyname): Return value returned by addgrbyX.
93270         (readdgrbygid): Likewise.
93271         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
93272         (addpwbyX): Return value returned by cache_addpw.
93273         (readdpwbyname): Return value returned by addhstbyX.
93274         (readdpwbyuid): Likewise.
93275         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
93276         (addservbyX): Return value returned by cache_addserv.
93277         (readdservbyname): Return value returned by addservbyX:
93278         (readdservbyport): Likewise.
93279         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
93280         (addhstbyX): Return value returned by cache_addhst.
93281         (readdhstbyname): Return value returned by addhstbyX.
93282         (readdhstbyaddr): Likewise.
93283         (readdhstbynamev6): Likewise.
93284         (readdhstbyaddrv6): Likewise.
93285         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
93286         (readdinitgroups): Return value returned by addinitgroupsX.
93287         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
93288         (prune_cache): Keep track of timeout value of re-added entries.
93289         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
93290         * nscd/nscd.h: Adjust prototypes of readd* functions.
93292 2011-02-04  Roland McGrath  <roland@redhat.com>
93294         * nis/nis_server.c (nis_servstate): Use the right name for 0.
93295         (nis_stats): Likewise.
93296         * nis/nis_modify.c (nis_modify): Likewise.
93297         * nis/nis_remove.c (nis_remove): Likewise.
93298         * nis/nis_add.c (nis_add): Likewise.
93300         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
93302         * posix/fnmatch_loop.c: Add some consts.
93304         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
93306 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
93308         [BZ #12460]
93309         * config.make.in (config-cflags-novzeroupper): Define.
93310         * configure.in: Substitute libc_cv_cc_novzeroupper.
93311         * elf/Makefile (AVX-CFLAGS): Define.
93312         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
93313         (CFLAGS-tst-auditmod4a.c): Likewise.
93314         (CFLAGS-tst-auditmod4b.c): Likewise.
93315         (CFLAGS-tst-auditmod6b.c): Likewise.
93316         (CFLAGS-tst-auditmod6c.c): Likewise.
93317         (CFLAGS-tst-auditmod7b.c): Likewise.
93318         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
93320 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
93322         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
93323         function to the callback.
93324         Patch partly by Jiri Olsa <jolsa@redhat.com>.
93326 2011-02-02  Andreas Schwab  <schwab@redhat.com>
93328         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
93329         of errno.
93331 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
93333         [BZ #11724]
93334         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
93335         of constructors.
93336         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
93337         of destructors.
93338         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
93340         [BZ #11724]
93341         * elf/Makefile: Add rules to build and run new test.
93342         * elf/tst-initorder.c: New file.
93343         * elf/tst-initorder.exp: New file.
93344         * elf/tst-initordera1.c: New file.
93345         * elf/tst-initordera2.c: New file.
93346         * elf/tst-initordera3.c: New file.
93347         * elf/tst-initordera4.c: New file.
93348         * elf/tst-initorderb1.c: New file.
93349         * elf/tst-initorderb2.c: New file.
93350         * elf/tst-order-a1.c: New file.
93351         * elf/tst-order-a2.c: New file.
93352         * elf/tst-order-a3.c: New file.
93353         * elf/tst-order-a4.c: New file.
93354         * elf/tst-order-b1.c: New file.
93355         * elf/tst-order-b2.c: New file.
93356         * elf/tst-order-main.c: New file.
93357         New test case by George Gensure <werkt0@gmail.com>.
93359 2010-10-01  Andreas Schwab  <schwab@redhat.com>
93361         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
93362         decoding ACE if AI_CANONIDN.
93364 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
93366         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
93368 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
93370         * version.h (RELEASE): Bump for 2.13 release.
93371         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
93373         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
93375         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
93376         MADV_NOHUGEPAGE.
93377         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
93378         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
93379         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
93380         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
93381         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
93382         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93384         * posix/getconf.c: Update copyright year.
93385         * catgets/gencat.c: Likewise.
93386         * csu/version.c: Likewise.
93387         * debug/catchsegv.sh: Likewise.
93388         * debug/xtrace.sh: Likewise.
93389         * elf/ldconfig.c: Likewise.
93390         * elf/ldd.bash.in: Likewise.
93391         * elf/sprof.c (print_version): Likewise.
93392         * iconv/iconv_prog.c: Likewise.
93393         * iconv/iconvconfig.c: Likewise.
93394         * locale/programs/locale.c: Likewise.
93395         * locale/programs/localedef.c: Likewise.
93396         * malloc/memusage.sh: Likewise.
93397         * malloc/mtrace.pl: Likewise.
93398         * nscd/nscd.c (print_version): Likewise.
93399         * nss/getent.c: Likewise.
93401         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
93402         PF_CAIF, and PF_ALG.
93403         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
93405 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
93407         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
93408         (modules-names): Use them.
93409         (ifunc-test-modules, ifunc-pie-tests): Define.
93410         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
93411         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
93412         (test-extras): Likewise.
93413         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
93414         $(compile-command.c).
93415         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
93416         (all-built-dso): Define.
93417         (check-textrel.out, check-execstack.out): Depend on it.
93419         * configure.in: Don't override --enable-multi-arch.
93421 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
93423         [BZ #6812]
93424         * nscd/hstcache.c (tryagain): Define.
93425         (cache_addhst): Return tryagain not notfound for temporary errors.
93426         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
93427         failed.
93429 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
93431         [BZ #10563]
93432         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
93433         to make the syscall.
93434         * sysdeps/unix/sysv/linux/setgroups.c: New file.
93436         [BZ #12378]
93437         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
93438         and fall back to matching as normal character if the string ends before
93439         the matching ']' is found.  This is what POSIX requires.
93440         * posix/testfnm.c: Adjust test result.
93441         * posix/globtest.sh: Adjust test result.  Add new test.
93442         * posix/tst-fnmatch.input: Likewise.
93443         * posix/tst-fnmatch2.c: Add new test.
93445 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
93447         * elf/Makefile (check-execstack): Revert last change.  Depend on
93448         check-execstack.h.
93449         (check-execstack.h): New target.
93450         (generated): Add check-execstack.h.
93451         * elf/check-execstack.c: Include "check-execstack.h".
93452         (main): Revert last change.
93453         (handle_file): Return zero if GNU_STACK is absent and
93454         DEFAULT_STACK_PERMS doesn't include PF_X.
93456 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
93458         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
93459         in child fails because the descriptor is already closed.
93460         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
93461         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
93462         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
93464         [BZ #12397]
93465         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
93466         syscall.
93468         [BZ #10484]
93469         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
93470         temporary buffer used to handle multi lookups locally.
93471         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
93473 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
93475         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
93476         loader is ld.so.
93478 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
93480         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
93481         alignment for SSE2.
93483 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
93485         [BZ #12394]
93486         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
93487         characters.  When rounding increased number of integer digits recompute
93488         number of groups.
93489         * stdio-common/tst-grouping.c: New file.
93490         * stdio-common/Makefile: Add rules to build and run tst-grouping.
93492 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
93494         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
93495         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
93497         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
93498         void.
93499         * bits/select.h: Likewise.
93501 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
93503         * po/ja.po: Update from translation team.
93505 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
93507         [BZ #11155]
93508         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
93509         implementation just like for lxstat, fxstatat, et al.
93511 2010-12-27  Jim Meyering  <meyering@redhat.com>
93513         [BZ #12348]
93514         * posix/regexec.c (build_trtable): Return failure indication upon
93515         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
93517 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
93519         [BZ #12201]
93520         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
93521         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
93522         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
93523         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
93525         [BZ #12207]
93526         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
93528         [BZ #12204]
93529         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
93530         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
93532 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
93534         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
93535         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
93536         script has SORT_BY_INIT_PRIORITY.
93537         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
93538         NO_CTORS_DTORS_SECTIONS is defined.
93539         * elf/soinit.c: Likewise.
93540         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
93541         NO_CTORS_DTORS_SECTIONS is defined.
93542         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
93543         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
93544         * sysdeps/sh/init-first.c: Likewise.
93545         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
93547 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
93549         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
93550         always use the slow path.
93552 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
93554         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
93555         similar rule which adds the sysdep directories to the header search in
93556         order to pick up the correct platform stackinfo.h.
93557         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
93558         perform test if it is, otherwise return successfully without testing.
93559         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
93560         DEFAULT_STACK_PERMS define in stackinfo.h.
93561         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
93562         defined in stackinfo.h.
93563         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
93564         DEFAULT_STACK_PERMS defined in stackinfo.h.
93565         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
93566         * sysdeps/ia64/stackinfo.h: Likewise.
93567         * sysdeps/s390/stackinfo.h: Likewise.
93568         * sysdeps/sh/stackinfo.h: Likewise.
93569         * sysdeps/sparc/stackinfo.h: Likewise.
93570         * sysdeps/x86_64/stackinfo.h: Likewise.
93571         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
93572         PF_X for powerpc64.  Retain PF_X for powerpc32.
93574 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
93576         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
93577         accurately.
93578         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
93579         GETDENTS_64BIT_ALIGNED.
93581 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
93583         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
93585 2010-12-10  Andreas Schwab  <schwab@redhat.com>
93587         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
93588         _GNU_SOURCE.
93590         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
93591         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
93592         Remove __restrict.
93593         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
93594         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
93596 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
93598         [BZ #11655]
93599         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
93600         are initialized.
93602 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
93604         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
93606 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
93608         * po/it.po: Update from translation team.
93610 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
93612         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
93613         unused codes.
93615 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
93617         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
93619 2010-11-24  Andreas Schwab  <schwab@redhat.com>
93621         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
93622         specially.
93623         (gaih_getanswer_slice): Likewise.
93625 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
93627         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
93629 2010-05-31  Petr Baudis  <pasky@suse.cz>
93631         [BZ #11149]
93632         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
93633         silently even in the chroot mode.
93635 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
93637         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
93638         last patch a bit.  Pretty printing
93640 2010-05-31  Petr Baudis <pasky@suse.cz>
93642         [BZ #10085]
93643         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
93644         initialization of skip_initgroups_dyn.
93646 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
93648         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
93649         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93651 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
93653         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
93655 2010-11-11  Andreas Schwab  <schwab@redhat.com>
93657         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
93658         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
93659         (tst-fnmatch-ENV): Set MALLOC_TRACE.
93660         ($(objpfx)tst-fnmatch-mem): New rule.
93661         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
93662         * posix/tst-fnmatch.c (main): Call mtrace.
93664 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
93666         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93667         Support Intel processor model 6 and model 0x2c.
93669 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
93671         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
93672           signed comparison.
93674 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
93676         [BZ #12205]
93677         * string/test-strncasecmp.c (check_result): New function.
93678         (do_one_test): Use it.
93679         (check1): New function.
93680         (test_main): Use it.
93681         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
93682         Support strcasecmp and strncasecmp.
93684 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
93686         [BZ #12194]
93687         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
93688         * sysdeps/x86_64/bits/byteswap.h: Likewise.
93690 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
93692         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
93693         IFUNC support.
93694         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93695         memset-x86-64.
93696         * sysdeps/x86_64/multiarch/bzero.S: New file.
93697         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
93698         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
93699         * sysdeps/x86_64/multiarch/memset.S: New file.
93700         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
93701         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93702         Set bit_Prefer_SSE_for_memop for Intel processors.
93703         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
93704         Define.
93705         (index_Prefer_SSE_for_memop): Define.
93706         (HAS_PREFER_SSE_FOR_MEMOP): Define.
93708 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
93710         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
93711         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
93713 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
93715         [BZ #12191]
93716         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93717         (__x86_64_raw_data_cache_size_half): Likewise.
93718         (__x86_64_raw_shared_cache_size): Likewise.
93719         (__x86_64_raw_shared_cache_size_half): Likewise.
93721         * sysdeps/x86_64/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.
93725         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
93726         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
93727         and __x86_64_raw_shared_cache_size_half.  Round
93728         __x86_64_data_cache_size_half, __x86_64_data_cache_size
93729         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
93730         to multiple of 256 bytes.
93732 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
93734         [BZ #12167]
93735         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
93736         of inacessible symlinks.  Verify result of symlink before returning it.
93737         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
93738         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
93740 2010-10-28  Erich Ritz  <erichritz@gmail.com>
93742         * math/math.h (isinf): Fix typo in comment.
93744 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
93746         * po/da.po: Update from translation team.
93748 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
93750         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
93751         is added to the list.
93753 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93754             Ulrich Drepper  <drepper@gmail.com>
93756         * elf/dl-object.c (_dl_new_object): Don't append the new object to
93757         the global list here.  Move code to...
93758         (_dl_add_to_namespace_list): ...here.  New function.
93759         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
93760         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
93761         * elf/dl-load.c (lose): Don't remove the element from the list.
93762         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
93763         (_dl_map_object): Likewise.
93765 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
93767         [BZ #12159]
93768         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
93769         into all bytes of SSE register.
93770         Patch by Richard Li <richardpku@gmail.com>.
93772 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
93774         [BZ #12140]
93775         * malloc/malloc.c (_int_free): Fill correct number of bytes when
93776         perturbing.
93778 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
93780         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
93781         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
93782         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
93783         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
93784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
93785         submachine.
93786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
93788 2010-10-22  Andreas Schwab  <schwab@redhat.com>
93790         * include/dlfcn.h (__RTLD_SECURE): Define.
93791         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
93792         mode & __RTLD_SECURE instead.
93793         (open_path): Rename preloaded parameter to secure.
93794         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
93795         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
93796         * elf/dl-deps.c (openaux): Likewise.
93797         * elf/rtld.c (struct map_args): Remove is_preloaded.
93798         (map_doit): Don't use it.
93799         (dl_main): Likewise.
93800         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
93801         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
93803 2010-09-09  Andreas Schwab  <schwab@redhat.com>
93805         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
93806         (sysd-rules-targets): Remove duplicates.
93807         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
93808         rtld-%.$o dependency.
93810 2010-10-18  Andreas Schwab  <schwab@redhat.com>
93812         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
93813         _dl_map_object do it.
93815 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
93817         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
93818         fast fma builtins, define the macros in the C99 standard.
93819         (FP_FAST_FMAF): Likewise.
93820         (FP_FAST_FMAL): Likewise.
93821         * sysdeps/x86_64/bits/mathdef.h: Likewise.
93823         * bits/mathdef.h: Update copyright year.
93824         * sysdeps/powerpc/bits/mathdef.h: Likewise.
93826 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
93828         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
93829         builtins, define the macros in the C99 standard.
93830         (FP_FAST_FMAF): Likewise.
93831         (FP_FAST_FMAL): Likewise.
93832         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
93833         multiply/add.
93834         (FP_FAST_FMAF): Likewise.
93836 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
93838         [BZ #3268]
93839         * math/libm-test.inc (fma_test): Some new testcases.
93840         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
93841         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
93842         y and infinite z.  Do multiplication by C already in long double.
93843         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
93844         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
93845         y and infinite z.  Do bitwise or of inexact bit into u.d.
93846         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
93847         * sysdeps/i386/fpu/s_fmaf.S: Removed.
93848         * sysdeps/i386/fpu/s_fma.S: Removed.
93849         * sysdeps/i386/fpu/s_fmal.S: Removed.
93851 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
93853         [BZ #3268]
93854         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
93855         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
93856         computation is not scheduled after fetestexcept.  Fix value
93857         of minimum denormal long double.
93859 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
93861         [BZ #3268]
93862         * math/libm-test.inc (fma_test): Add some more tests.
93863         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
93864         correctly.
93866 2010-10-15  Andreas Schwab  <schwab@redhat.com>
93868         * scripts/data/localplt-s390-linux-gnu.data: New file.
93869         * scripts/data/localplt-s390x-linux-gnu.data: New file.
93871 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
93873         [BZ #3268]
93874         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
93875         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
93876         instead of dbl-64.
93877         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
93878         inlines.
93879         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
93880         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
93881         if one of x and y is very large and the other is subnormal.
93882         * sysdeps/s390/fpu/s_fmaf.c: New file.
93883         * sysdeps/s390/fpu/s_fma.c: New file.
93884         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
93885         * sysdeps/powerpc/fpu/s_fma.S: New file.
93886         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
93887         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
93888         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
93890 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
93892         [BZ #3268]
93893         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
93894         fma tests.
93895         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
93896         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
93897         * sysdeps/i386/i686/multiarch/s_fma.c: Include
93898         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
93899         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
93900         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
93901         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
93903 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
93905         [BZ #12078]
93906         * posix/regcomp.c (parse_branch): One more memory leak plugged.
93907         * posix/bug-regex31.input: Add test case.
93909 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
93911         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
93912         * posix/bug-regex31.input: New file.
93914         [BZ #12078]
93915         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
93916         (parse_sub_exp): Fix last change, use postorder.
93918         * posix/bug-regex31.c: New file.
93919         * posix/Makefile: Add rules to build and run bug-regex31.
93921         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
93923         [BZ #12078]
93924         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
93926         [BZ #12108]
93927         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
93928         to have entries in sys_siglist.
93930         [BZ #12093]
93931         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
93932         be NULL.
93934 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
93936         [BZ #3268]
93937         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
93938         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
93939         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
93940         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
93941         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
93942         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
93943         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
93944         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
93945         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
93946         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
93947         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
93948         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
93949         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
93950         * math/ftestexcept.c (fetestexcept): Likewise.
93951         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
93952         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
93953         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
93954         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
93955         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
93956         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
93957         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
93959 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
93961         [BZ #12107]
93962         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
93963         newline.
93965 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
93967         * string/bug-strstr1.c: New file.
93968         * string/Makefile: Add rules to build and run bug-strstr1.
93970 2010-10-05  Eric Blake  <eblake@redhat.com>
93972         [BZ #12092]
93973         * string/str-two-way.h (two_way_long_needle): Always clear memory
93974         when skipping input due to the shift table.
93976 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
93978         [BZ #12005]
93979         * malloc/mcheck.c: Handle large requests.
93981         [BZ #12077]
93982         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
93983         for strncmp and strncasecmp.
93984         * string/stratcliff.c: Add tests for strcmp and strncmp.
93985         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
93987 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
93989         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
93990         __set_fpscr.
93992 2010-09-30  Andreas Jaeger  <aj@suse.de>
93994         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
93995         (CGROUP_SUPER_MAGIC): Define.
93996         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93997         Handle btrfs and cgroup file systems.
93998         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
93999         Likewise.
94001 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
94003         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
94004         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
94006 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94008         [BZ #12067]
94009         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
94010         trying to locate the ELF header.
94012 2010-09-27  Andreas Schwab  <schwab@redhat.com>
94014         [BZ #11611]
94015         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
94016         Mask out sign-bit copies when constructing f_fsid.
94018 2010-09-24  Petr Baudis <pasky@suse.cz>
94020         * debug/stack_chk_fail_local.c: Add missing licence exception.
94021         * debug/warning-nop.c: Likewise.
94023 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
94025         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
94026         implementing getdents64 using getdents syscall, set d_type if
94027         __ASSUME_GETDENTS32_D_TYPE.
94029 2010-09-16  Andreas Schwab  <schwab@redhat.com>
94031         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
94032         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
94034 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
94036         [BZ #12037]
94037         * posix/unistd.h: Undo change of feature selection for ftruncate from
94038         2010-01-11.
94040 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
94042         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
94043         detection.
94045 2010-09-20  Andreas Schwab  <schwab@redhat.com>
94047         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
94048         fanotify_mark.
94049         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94051 2010-09-14  Andreas Schwab  <schwab@redhat.com>
94053         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
94054         variables after CHECK_SP call.
94055         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
94057 2010-09-13  Andreas Schwab  <schwab@redhat.com>
94058             Ulrich Drepper  <drepper@redhat.com>
94060         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
94061         re-relocationg ld.so.
94062         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
94063         _dl_init_paths call.
94064         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
94065         here anymore.
94067 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
94069         * resolv/res_init.c (__res_vinit): Count the default server we added.
94071 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
94072             Ulrich Drepper  <drepper@redhat.com>
94074         [BZ #11968]
94075         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
94076         (____longjmp_chk): Use %ebx for saving value across system call.
94077         Add unwind info.
94079 2010-09-06  Andreas Schwab  <schwab@redhat.com>
94081         * manual/Makefile: Don't mix pattern rules with normal rules.
94083 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
94085         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
94086         operation.
94087         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
94088         * libio/iofopncook.c (_IO_cookie_init): Likewise.
94089         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
94090         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
94091         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
94092         Likewise.
94094 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
94096         [BZ #11979]
94097         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
94098         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
94100 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
94102         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
94103         * sysdeps/x86_64/addmul_1.S: Likewise.
94104         * sysdeps/x86_64/lshift.S: Likewise.
94105         * sysdeps/x86_64/mul_1.S: Likewise.
94106         * sysdeps/x86_64/rshift.S: Likewise.
94107         * sysdeps/x86_64/sub_n.S: Likewise.
94108         * sysdeps/x86_64/submul_1.S: Likewise.
94110 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94112         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
94113         Define __sched_param instead of SCHED_* and sched_param when
94114         <bits/sched.h> is included with __need_schedparam defined.
94115         * bits/sched.h [__need_schedparam]
94116         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
94117         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
94118         (__defined_schedparam): Define to 1.
94119         (__sched_param): New structure, identical to sched_param.
94120         (__need_schedparam): Undefine.
94122 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
94124         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
94125         (epoll_create1): Declare.
94127         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
94129 2010-08-31  Andreas Schwab  <schwab@redhat.com>
94131         [BZ #7066]
94132         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
94133         shifting retval into place.
94135 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
94137         * nis/rpcsvc/nis.h: Update copyright notice.
94138         * nis/rpcsvc/nis.x: Likewise.
94139         * nis/rpcsvc/nis_callback.h: Likewise.
94140         * nis/rpcsvc/nis_callback.x: Likewise.
94141         * nis/rpcsvc/nis_object.x: Likewise.
94142         * nis/rpcsvc/nis_tags.h: Likewise.
94143         * nis/rpcsvc/yp.h: Likewise.
94144         * nis/rpcsvc/yp.x: Likewise.
94145         * nis/rpcsvc/ypupd.h: Likewise.
94146         * nis/yp_xdr.c: Likewise.
94147         * nis/ypupdate_xdr.c: Likewise.
94149         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
94150         mainly the body of pmap_getport.  Add parameters to specify timeouts.
94151         (pmap_getport): Use __libc_rpc_getport.
94152         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
94153         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
94154         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
94156 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
94158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
94159         fanotify_mark.
94161 2010-08-27  Roland McGrath  <roland@redhat.com>
94163         * sysdeps/i386/i686/multiarch/Makefile
94164         (CFLAGS-varshift.c): New variable.
94166 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
94168         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
94169         * sysdeps/i386/i686/multiarch/varshift.c: New file.
94171         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
94173         * sysdeps/x86_64/strlen.S: Minimal code improvement.
94175 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
94177         * sysdeps/x86_64/strlen.S: Unroll the loop.
94178         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94179         strlen-sse2 strlen-sse2-bsf.
94180         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
94181         __strlen_no_bsf if bit_Slow_BSF is set.
94182         (__strlen_sse42): Removed.
94183         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
94184         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
94186 2010-08-25  Roland McGrath  <roland@redhat.com>
94188         * sysdeps/x86_64/multiarch/varshift.S: File removed.
94189         * sysdeps/x86_64/multiarch/varshift.c: New file.
94190         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
94191         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
94192         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
94193         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
94195 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
94197         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94198         strlen-sse2 strlen-sse2-bsf.
94199         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
94200         __strlen_sse2_bsf if bit_Slow_BSF is unset.
94201         (__strlen_sse2): Removed.
94202         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
94203         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
94204         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
94205         bit_Slow_BSF for Atom.
94206         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
94207         (index_Slow_BSF): Define.
94208         (HAS_SLOW_BSF): Define.
94210 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
94212         [BZ #10851]
94213         * resolv/res_init.c (__res_vinit): When no server address at all
94214         is given default to loopback.
94216 2010-08-24  Roland McGrath  <roland@redhat.com>
94218         * configure.in: Remove config-name.h generation.
94219         * configure: Regenerated.
94220         * config-name.in: File removed.
94221         * scripts/config-uname.sh: New file.
94222         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
94223         ($(objdir)config-name.h): New target.
94225         * sunrpc/rpc_parse.h: Avoid nested comment.
94227 2010-08-24  Richard Henderson  <rth@redhat.com>
94228             Ulrich Drepper  <drepper@redhat.com>
94229             H.J. Lu  <hongjiu.lu@intel.com>
94231         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
94232         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
94233         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
94234         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
94235         _mm_alignr_epi8 with _mm_loadu_si128.
94236         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
94237         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
94238         (__m128i_shift_right): Removed.
94239         * sysdeps/i386/i686/multiarch/varshift.h: New file.
94240         * sysdeps/i386/i686/multiarch/varshift.S: New file.
94241         * sysdeps/x86_64/multiarch/varshift.h: New file.
94242         * sysdeps/x86_64/multiarch/varshift.S: New file.
94244 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
94246         * configure.in: Move assembler checks to before sysdep dir checking.
94248 2010-08-20  Petr Baudis  <pasky@suse.cz>
94250         * LICENSES: Sync the sunrpc license.
94252 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
94254         * sunrpc/auth_des.c: Update copyright notice once again.
94255         * sunrpc/auth_none.c: Likewise.
94256         * sunrpc/auth_unix.c: Likewise.
94257         * sunrpc/authdes_prot.c: Likewise.
94258         * sunrpc/authuxprot.c: Likewise.
94259         * sunrpc/bindrsvprt.c: Likewise.
94260         * sunrpc/clnt_gen.c: Likewise.
94261         * sunrpc/clnt_perr.c: Likewise.
94262         * sunrpc/clnt_raw.c: Likewise.
94263         * sunrpc/clnt_simp.c: Likewise.
94264         * sunrpc/clnt_tcp.c: Likewise.
94265         * sunrpc/clnt_udp.c: Likewise.
94266         * sunrpc/clnt_unix.c: Likewise.
94267         * sunrpc/des_crypt.c: Likewise.
94268         * sunrpc/des_soft.c: Likewise.
94269         * sunrpc/get_myaddr.c: Likewise.
94270         * sunrpc/getrpcport.c: Likewise.
94271         * sunrpc/key_call.c: Likewise.
94272         * sunrpc/key_prot.c: Likewise.
94273         * sunrpc/openchild.c: Likewise.
94274         * sunrpc/pm_getmaps.c: Likewise.
94275         * sunrpc/pm_getport.c: Likewise.
94276         * sunrpc/pmap_clnt.c: Likewise.
94277         * sunrpc/pmap_prot.c: Likewise.
94278         * sunrpc/pmap_prot2.c: Likewise.
94279         * sunrpc/pmap_rmt.c: Likewise.
94280         * sunrpc/rpc/auth.h: Likewise.
94281         * sunrpc/rpc/auth_unix.h: Likewise.
94282         * sunrpc/rpc/clnt.h: Likewise.
94283         * sunrpc/rpc/des_crypt.h: Likewise.
94284         * sunrpc/rpc/key_prot.h: Likewise.
94285         * sunrpc/rpc/netdb.h: Likewise.
94286         * sunrpc/rpc/pmap_clnt.h: Likewise.
94287         * sunrpc/rpc/pmap_prot.h: Likewise.
94288         * sunrpc/rpc/pmap_rmt.h: Likewise.
94289         * sunrpc/rpc/rpc.h: Likewise.
94290         * sunrpc/rpc/rpc_des.h: Likewise.
94291         * sunrpc/rpc/rpc_msg.h: Likewise.
94292         * sunrpc/rpc/svc.h: Likewise.
94293         * sunrpc/rpc/svc_auth.h: Likewise.
94294         * sunrpc/rpc/types.h: Likewise.
94295         * sunrpc/rpc/xdr.h: Likewise.
94296         * sunrpc/rpc_clntout.c: Likewise.
94297         * sunrpc/rpc_cmsg.c: Likewise.
94298         * sunrpc/rpc_common.c: Likewise.
94299         * sunrpc/rpc_cout.c: Likewise.
94300         * sunrpc/rpc_dtable.c: Likewise.
94301         * sunrpc/rpc_hout.c: Likewise.
94302         * sunrpc/rpc_main.c: Likewise.
94303         * sunrpc/rpc_parse.c: Likewise.
94304         * sunrpc/rpc_parse.h: Likewise.
94305         * sunrpc/rpc_prot.c: Likewise.
94306         * sunrpc/rpc_sample.c: Likewise.
94307         * sunrpc/rpc_scan.c: Likewise.
94308         * sunrpc/rpc_scan.h: Likewise.
94309         * sunrpc/rpc_svcout.c: Likewise.
94310         * sunrpc/rpc_tblout.c: Likewise.
94311         * sunrpc/rpc_util.c: Likewise.
94312         * sunrpc/rpc_util.h: Likewise.
94313         * sunrpc/rpcinfo.c: Likewise.
94314         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
94315         * sunrpc/rpcsvc/key_prot.x: Likewise.
94316         * sunrpc/rpcsvc/klm_prot.x: Likewise.
94317         * sunrpc/rpcsvc/mount.x: Likewise.
94318         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
94319         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
94320         * sunrpc/rpcsvc/rex.x: Likewise.
94321         * sunrpc/rpcsvc/rstat.x: Likewise.
94322         * sunrpc/rpcsvc/rusers.x: Likewise.
94323         * sunrpc/rpcsvc/sm_inter.x: Likewise.
94324         * sunrpc/rpcsvc/spray.x: Likewise.
94325         * sunrpc/rpcsvc/yppasswd.x: Likewise.
94326         * sunrpc/rtime.c: Likewise.
94327         * sunrpc/svc.c: Likewise.
94328         * sunrpc/svc_auth.c: Likewise.
94329         * sunrpc/svc_authux.c: Likewise.
94330         * sunrpc/svc_raw.c: Likewise.
94331         * sunrpc/svc_run.c: Likewise.
94332         * sunrpc/svc_simple.c: Likewise.
94333         * sunrpc/svc_tcp.c: Likewise.
94334         * sunrpc/svc_udp.c: Likewise.
94335         * sunrpc/svc_unix.c: Likewise.
94336         * sunrpc/svcauth_des.c: Likewise.
94337         * sunrpc/xcrypt.c: Likewise.
94338         * sunrpc/xdr.c: Likewise.
94339         * sunrpc/xdr_array.c: Likewise.
94340         * sunrpc/xdr_float.c: Likewise.
94341         * sunrpc/xdr_mem.c: Likewise.
94342         * sunrpc/xdr_rec.c: Likewise.
94343         * sunrpc/xdr_ref.c: Likewise.
94344         * sunrpc/xdr_sizeof.c: Likewise.
94345         * sunrpc/xdr_stdio.c: Likewise.
94347         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
94348         handling.
94350 2010-08-19  Andreas Schwab  <schwab@redhat.com>
94352         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
94354 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
94356         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
94357         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
94358         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
94359         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
94360         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
94361         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
94362         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
94363         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
94364         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
94365         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
94366         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
94367         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
94368         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
94369         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
94371 2010-07-26  Anton Blanchard  <anton@samba.org>
94373         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
94374         * malloc/arena.c (heap_trim): Likewise.
94376 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
94378         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
94379         here.  Not...
94380         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
94381         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
94383 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
94385         * sysdeps/i386/elf/Makefile: New file.
94387 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
94389         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
94390         from fanotify_init.
94391         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
94392         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94394 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
94396         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
94397         of strncasecmp_l.
94398         * sysdeps/multiarch/strcmp.S: Likewise.
94400 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
94402         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94403         strncase_l-nonascii.
94404         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94405         Add strncase_l-ssse3.
94406         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
94407         * sysdeps/x86_64/strcmp.S: Likewise.
94408         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
94409         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
94410         * sysdeps/x86_64/strncase.S: New file.
94411         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
94412         * sysdeps/x86_64/strncase_l.S: New file.
94413         * string/Makefile (strop-tests): Add strncasecmp.
94414         * string/test-strncasecmp.c: New file.
94416         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
94417         warning.
94419         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
94420         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
94422 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
94424         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
94426 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
94428         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
94429         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
94430         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
94432 2010-05-01  Alan Modra  <amodra@gmail.com>
94434         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
94435         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
94436         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
94437         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
94438         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
94439         tidying.  Don't tail-call __sigjmp_save for static lib.
94440         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
94441         save location.
94442         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
94443         (CALL_MCOUNT): Add eh info, and nop after bl.
94444         (TAIL_CALL_SYSCALL_ERROR): New macro.
94445         (PSEUDO_RET): Use it.
94446         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
94447         Correct save location of integer regs and cr.
94448         (_dl_profile_resolve): Correct cr save location.  Delete nops
94449         after bl when SHARED.  Reduce cfi size a little by better
94450         placement of cfi directives.
94451         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
94452         make a stack frame.  Instead use parm save area as a temp.
94453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
94454         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
94455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
94456         Don't make a stack frame for parent, use parm save area.
94457         Increase child stack frame to 112 bytes.  Don't save unused reg,
94458         and adjust reg usage.  Set up cfi on error recovery and
94459         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
94460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
94461         (__makecontext): Add dummy nop after jump to exit.
94462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
94463         Use correct parm save area and cr save, reduce stack frame.
94464         Correct cfi for possible PSEUDO_RET frame setup.
94465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
94466         Branch to local label emitted by PSEUDO_RET rather than
94467         __syscall_error.
94469 2010-08-12  Andreas Schwab  <schwab@redhat.com>
94471         [BZ #11904]
94472         * locale/programs/locale.c (print_assignment): New function.
94473         (show_locale_vars): Use it.
94475 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
94477         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
94478         field.
94479         (struct statfs64): Likewise.
94480         (_STATFS_F_FLAGS): Define.
94481         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
94482         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94483         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
94484         (ST_VALID): Define locally.
94485         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
94486         __statvfs_getflags, use the provided value.
94487         * sysdeps/unix/sysv/linux/kernel-features.h: Define
94488         __ASSUME_STATFS_F_FLAGS.
94490         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
94492         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
94493         Add sys/fanotify.h.
94494         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
94495         fanotify_mask for GLIBC_2.13.
94496         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
94497         fanotify_init and fanotify_mark.
94498         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94499         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
94501         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
94502         Add prlimit.
94503         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
94504         prlimit64 for GLIBC_2.13.
94505         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
94506         prlimit64.
94507         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
94508         syscall.
94509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
94510         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94511         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
94512         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
94513         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
94514         add prlimit alias.
94515         * sysdeps/unix/sysv/linux/prlimit.c: New file.
94517         [BZ #11903]
94518         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
94519         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
94521         * nss/Makefile: Add rules to build and run tst-nss-test1.
94522         * shlib-versions: Add entry for libnss_test1.
94523         * nss/nss_test1.c: New file.
94524         * nss/tst-nss-test1.c: New file.
94526         * nss/nsswitch.c (__nss_database_custom): Define new variable.
94527         (__nss_configure_lookup): Set appropriate entry in
94528         __nss_configure_lookup to true.
94529         * nss/nsswitch.h: Define enum with indeces of databases in
94530         databases and __nss_database_custom arrays.  Declare
94531         __nss_database_custom.
94532         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
94533         to avoid using nscd when custom rules are installed.
94534         * nss/getXXbyYY_r.c: Likewise.
94535         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
94537         * nss/nss_files/files-parse.c: Whitespace fixes.
94539 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
94541         [BZ #11883]
94542         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
94543         * posix/fnmatch_loop.c: Likewise.
94545 2010-07-17  Andi Kleen  <ak@linux.intel.com>
94547         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
94548         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
94549         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
94550         * Versions.def [GLIBC_2.13]: Add.
94552 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
94554         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94555         Also fail if tpwd after pwuid call is NULL.
94557 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94559         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
94560         when converting to ms.
94562 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94564         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
94565         EOPNOTSUPP errors with ENOTTY.
94566         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
94567         EOPNOTSUPP errors with ENOTTY.
94569 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
94571         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94572         Add strcasecmp_l-ssse3.
94573         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
94574         strcasecmp.
94575         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
94576         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
94577         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
94579 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
94581         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
94583         * string/Makefile (strop-tests): Add strcasecmp.
94584         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94585         strcasecmp_l-nonascii.
94586         (gen-as-const-headers): Add locale-defines.sym.
94587         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
94588         * sysdeps/x86_64/strcasecmp.S: New file.
94589         * sysdeps/x86_64/strcasecmp_l.S: New file.
94590         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
94591         * sysdeps/x86_64/locale-defines.sym: New file.
94592         * string/test-strcasecmp.c: New file.
94594         * string/test-strcasestr.c: Test both ends of the range of characters.
94595         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
94597 2010-07-29  Roland McGrath  <roland@redhat.com>
94599         [BZ #11856]
94600         * manual/locale.texi (Yes-or-No Questions): Fix example code.
94602 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
94604         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
94605         for ld.so.
94607 2010-07-27  Andreas Schwab  <schwab@redhat.com>
94609         * manual/memory.texi (Malloc Tunable Parameters): Document
94610         M_PERTURB.
94612 2010-07-26  Roland McGrath  <roland@redhat.com>
94614         [BZ #11840]
94615         * configure.in (-fgnu89-inline check): Set and substitute
94616         gnu89_inline, not libc_cv_gnu89_inline.
94617         * configure: Regenerated.
94618         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
94620 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
94622         * string/test-strnlen.c: New file.
94623         * string/Makefile (strop-tests): Add strnlen.
94624         * string/tester.c (test_strnlen): Add a few more test cases.
94625         * string/tst-strlen.c: Better error reporting.
94627         * sysdeps/x86_64/strnlen.S: New file.
94629 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
94631         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
94632         lower-latency instructions.
94634 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
94636         * string/test-strcasestr.c: New file.
94637         * string/test-strstr.c: New file.
94638         * string/Makefile (strop-tests): Add strstr and strcasestr.
94639         * string/str-two-way.h: Don't undefine MAX.
94640         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
94642 2010-07-21  Andreas Schwab  <schwab@redhat.com>
94644         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94645         strcasestr-nonascii.
94646         (CFLAGS-strcasestr-nonascii.c): Define.
94647         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
94648         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
94649         Remove unused attribute.
94651 2010-07-20  Roland McGrath  <roland@redhat.com>
94653         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
94654         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
94655         ld.so.cache was broken.  With it, there is no way to disable dsocaps
94656         like LD_HWCAP_MASK can disable hwcaps.
94658 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94660         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
94662 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
94664         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
94665         call in strcasestr.
94666         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
94667         __strcasestr_sse42_nonascii.
94668         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
94669         strcasestr-nonascii.c.
94670         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
94672 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
94674         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
94675         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
94676         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
94677         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
94679 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
94681         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
94682         fcntl.
94684 2010-07-06  Andreas Schwab  <schwab@redhat.com>
94686         [BZ #11577]
94687         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
94688         dl_signal_cerror.
94690 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
94692         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
94693         _PC_PIPE_BUF using F_GETPIPE_SZ.
94695 2010-07-05  Roland McGrath  <roland@redhat.com>
94697         * manual/arith.texi (Rounding Functions): Fix rint description
94698         implicit in round description.
94700 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
94702         * elf/Makefile: Fix linking for a few tests to make recent linker
94703         happy.
94705 2010-06-30  Andreas Schwab  <schwab@redhat.com>
94707         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
94708         $(common-objpfx)libc_nonshared.a.
94710 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
94712         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
94713         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
94714         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94715         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94716         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
94717         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
94718         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94719         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
94721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
94722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
94723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
94725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
94727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
94728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
94729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
94730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
94732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
94734         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
94735         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
94736         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
94737         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
94738         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
94739         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
94740         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
94741         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
94742         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
94743         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
94744         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
94745         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
94746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
94747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
94748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
94749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
94750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
94751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
94752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
94753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
94754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
94755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
94756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
94757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
94758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
94759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
94761 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
94763         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
94764         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
94765         * string/memmove.c (memmove): Renamed to ...
94766         (MEMMOVE): ...this.  Default to memmove.
94767         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
94768         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
94769         (END_CHK): Define.
94770         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94771         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
94772         mempcpy-ssse3-back memmove-ssse3-back.
94773         * sysdeps/x86_64/multiarch/bcopy.S: New file .
94774         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
94775         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
94776         * sysdeps/x86_64/multiarch/memcpy.S: New file.
94777         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
94778         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
94779         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
94780         * sysdeps/x86_64/multiarch/memmove.c: New file.
94781         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
94782         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
94783         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
94784         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
94785         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
94786         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
94787         Define.
94788         (index_Fast_Copy_Backward): Define.
94789         (HAS_ARCH_FEATURE): Define.
94790         (HAS_FAST_REP_STRING): Define.
94791         (HAS_FAST_COPY_BACKWARD): Define.
94793 2010-06-21  Andreas Schwab  <schwab@redhat.com>
94795         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94796         Restore proper fallback handling.
94798 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
94800         [BZ #11701]
94801         * posix/group_member.c (__group_member): Correct checking loop.
94803         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
94804         OOM in getpwuid_r correctly.  Return error number when the caller
94805         should return, otherwise -1.
94806         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
94807         call returning > 0 value.
94808         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
94810 2010-06-07  Andreas Schwab  <schwab@redhat.com>
94812         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
94813         libc_nonshared.a from targets in modules-names.
94815 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
94817         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
94818         requires it.
94820 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
94822         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
94823         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
94824         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
94825         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
94827 2010-06-02  Andreas Schwab  <schwab@redhat.com>
94829         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
94831 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
94833         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
94834         and F_GETPIPE_SZ.
94835         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94836         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94837         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94838         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94839         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94840         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94842 2010-06-14  Roland McGrath  <roland@redhat.com>
94844         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
94846 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
94848         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
94849         __REDIRECT followed by __THROW.
94850         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
94851         * posix/getopt.h (getopt): Likewise.
94853 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94855         * hurd/lookup-at.c (__file_name_lookup_at): Accept
94856         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
94857         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
94858         in AT_FLAGS.
94859         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
94860         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
94862 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
94864         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
94866 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
94868         [BZ #11640]
94869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94870         Properly check family and model.
94872 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
94874         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
94876 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
94878         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
94880 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
94882         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
94883         symbol reference.
94885 2010-05-19  Andreas Schwab  <schwab@redhat.com>
94887         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
94888         symbol reference.
94890 2010-05-21  Andreas Schwab  <schwab@redhat.com>
94892         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
94893         and internal_recvmmsg.
94894         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
94895         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
94896         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
94897         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
94899         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
94900         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
94901         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
94903 2010-05-20  Andreas Schwab  <schwab@redhat.com>
94905         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
94907 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
94909         POWER7 optimizations.
94910         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
94911         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
94913 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
94915         * version.h: Update for 2.13 development version.
94917 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
94919         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
94920         exceptions.  Return 0.
94922 2010-05-07  Roland McGrath  <roland@redhat.com>
94924         * elf/ldconfig.c (main): Add a const.
94926 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
94928         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
94929         (args_options): Add no-idn option.
94930         (ahosts_keys_int): Add idn_flags to ai_flags.
94931         (parse_option): Handle 'i' option to clear idn_flags.
94933         * malloc/malloc.c (_int_free): Possible race in the most recently
94934         added check.  Only act on the data if no current modification
94935         happened.
94937 See ChangeLog.17 for earlier changes.