Make libm-test-support code clear exceptions after each test.
[glibc.git] / ChangeLog
blob464e65d101ae5f13878a5550ba3b7d4e867d813a
1 2017-06-23  Joseph Myers  <joseph@codesourcery.com>
3         * libm-test-support.c (check_float_internal): Clear exceptions at
4         end of function.
5         (check_int): Likewise.
6         (check_long): Likewise.
7         (check_bool): Likewise.
8         (check_longlong): Likewise.
9         (check_intmax_t): Likewise.
10         (check_uintmax_t): Likewise.
12         * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
13         Do not declare.
14         * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
15         __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
16         redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
18 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
20         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
21         Replace movzbl and orl with movb.
23 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25         * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
26         (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
27         and HUGE_VAL_FNx.
28         (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
29         Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
30         are in math.h, to avoid having to list the _FloatN and _FloatNx
31         variants as well.  Likewise for the cabs functions.
32         (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
33         ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
34         Mention that _FloatN and _FloatNx variants of scalbn and scalbln
35         come from TS 18661-3, since this section explicitly states that
36         these functions come from BSD.
37         (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
38         truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
39         roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
40         llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
41         fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
42         ufromfpxfN, ufromfpxfNx, modffN, modffNx.
43         (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
44         remainderfNx.
45         (Setting and modifying single bits of FP values): Document
46         copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
47         nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
48         canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
49         setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
50         (Floating-Point Comparison Functions): Document totalorderfN,
51         totalorderfNx, totalordermagfN, totalordermagfNx.
52         (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
53         fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
54         fdimfN, fdimfNx, fmafN, fmafNx.
55         (Complex Numbers): Document the complex types: _FloatN complex and
56         _FloatNx complex.
57         (rojections, Conjugates, and Decomposing of Complex Numbers):
58         Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
59         cargfN, cargfNx, cprojfN, cprojfNx.
60         * manual/math.texi (Mathematics): Mention that the _FloatN and
61         _FloatNx variants of the math functions come from TS 18661-3,
62         unless otherwise stated.
63         (Predefined Mathematical Constants): Document the _FloatN and
64         _FloatNx variants of the macros prefixed with M_.
65         (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
66         tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
67         ccosfNx, ctanfN, ctanfNx.
68         (Inverse Trigonometric Functions): Document asinfN, asinfNx,
69         acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
70         (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
71         exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
72         log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
73         llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
74         hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
75         clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
76         cpowfNx.
77         (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
78         tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
79         asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
80         casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
81         (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
82         lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
83         j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
84         ynfN, ynfNx.
86 2017-06-23  Florian Weimer  <fweimer@redhat.com>
88         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
90 2017-06-23  Florian Weimer  <fweimer@redhat.com>
92         * resolv/res_libc.c: Reformat to GNU style.
94 2017-06-23  Florian Weimer  <fweimer@redhat.com>
96         * resolv/resolv-internal.h (__res_initstamp): Declare.
97         * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
98         It is implied by the declaration.
99         * resolv/res_libc.c (__res_initstamp): Remove declaration.
101 2017-06-23  Florian Weimer  <fweimer@redhat.com>
103         [BZ #21662]
104         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
105         Use only 24 bits of the register before the subtraction.
106         * string/test-memcmp.c (check1): Check with different lengths.
108 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
110         * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
111         $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
113 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
115         * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
116         Enable generation of float128 entries on the error table.
118 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
120         * include/float.h: Include libc-header-start.h to get the
121         definition of __GLIBC_USE.
123 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
125         * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
126         rearranged code and doubles float types.
128 2017-06-23  Rogerio A. Cardoso  <rcardoso@linux.vnet.ibm.com>
130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
131         s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
133 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
135         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
136         to errno, and simplify remaining related code.
138 2017-06-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
140         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
141         PPC_FEATURE2_SCV.
142         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
143         and darn.
145 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
147         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
148         the implementation-specific function name and remove unneeded macros
149         definition.
150         * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
151         function name if not defined and pass as parameter to macros
152         accordingly.
154 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
156         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
157         (libm-sysdep_routines): Add s_llroundf-ppc64.
158         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
159         (__llroundf): Define as strong alias of __llround.
160         (llroundf):  Define as weak alias of __llround.
161         (__lroundf): Define as strong alias of __llround.
162         (lroundf):  Define as weak alias of __llround.
163         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
164         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
167         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
168         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
169         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
171 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
173         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
174         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
176         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
177         (MATH_TESTS_TG): New macro.
178         (SNAN_TESTS_float128): Likewise.
179         (ROUNDING_TESTS_float128): Likewise.
180         (EXCEPTION_TESTS_float128): Likewise.
181         (SNAN_TESTS): Define using MATH_TESTS_TG.
182         (ROUNDING_TESTS): Likewise.
183         (EXCEPTION_TESTS): Likewise.
185         * sysdeps/ieee754/float128/float128_private.h
186         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
187         pass it to SET_RESTORE_ROUNDF128.
189         * sysdeps/ieee754/float128/float128_private.h: Include
190         <ieee754.h>.
192         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
193         typeof to argument passed to __builtin_types_compatible_p.
194         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
196         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
197         <errno.h>.
198         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
199         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
200         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
201         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
202         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
203         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
204         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
205         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
206         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
207         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
208         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
209         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
210         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
211         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
212         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
213         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
214         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
215         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
216         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
217         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
218         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
219         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
221         * sysdeps/ieee754/float128/strtof128_l.c: Include
222         <bits/types/locale_t.h> instead of <xlocale.h>.
223         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
224         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
226 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
228         * benchtests/scripts/benchout_strings.schema.json: New file.
229         * benchtests/scripts/compare_strings.py: New file.
231         * benchtests/bench-memcpy-large.c: Include json-lib.h.
232         (do_one_test): Print json.
233         (do_test): Likewise.
234         (test_main): Likewise.
235         * benchtests/bench-memcpy-random.c: Include json-lib.h.
236         (do_one_test): Print json.
237         (do_test): Likewise.
238         (test_main): Likewise.
239         * benchtests/bench-memcpy.c: Include json-lib.h.
240         (do_one_test): Print json.
241         (do_test): Likewise.
242         (test_main): Likewise.
244         * benchtests/json-lib.h: Include inttypes.h.
245         (json_attr_int, json_attr_int, json_element_string,
246         json_element_int, json_element_uint): New functions.
247         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
248         json_element_string, json_element_int, json_element_uint): New
249         functions.
251 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
253         * manual/arith.texi (Remainder Functions): Describe remainder as
254         primary and drem as an alternative name.  Change the comment on
255         remainder to ISO, since it is defined in ISO C99.
257 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
259         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
260         macro expansion.
261         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
263 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
265         [BZ #21533]
266         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
267         201706L for Unicode 10.0.
269 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
271         [BZ #21657]
272         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
273         on node-local addresses.
274         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
276 2017-06-21  Florian Weimer  <fweimer@redhat.com>
278         * intl/loadmsgcat.c: Remove alloca support.
279         (_nl_load_domain): Use calloc instead of alloca.
281 2017-04-21  Florian Weimer  <fweimer@redhat.com>
283         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
284         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
285         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
286         alloc_buffer_create_failure.
287         * malloc/Versions (__libc_alloc_buffer_alloc_array)
288         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
289         (__libc_alloc_buffer_copy_string)
290         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
291         * malloc/alloc_buffer_alloc_array.c: New file.
292         * malloc/alloc_buffer_allocate.c: Likewise.
293         * malloc/alloc_buffer_copy_bytes.c: Likewise.
294         * malloc/alloc_buffer_copy_string.c: Likewise.
295         * malloc/alloc_buffer_create_failure.c: Likewise.
296         * malloc/tst-alloc_buffer.c: Likewise.
298 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
300         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
301         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
302         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
303         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
304         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
305         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
306         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
307         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
308         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
309         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
310         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
311         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
312         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
313         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
314         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
315         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
316         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
317         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
318         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
319         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
320         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
321         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
322         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
323         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
324         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
325         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
326         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
327         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
328         "locale-defines.h".
329         (UPDATE_STRNCMP_COUNTER): New.
330         (SECTION): Likewise.
331         (GLABEL): Likewise.
332         (LABEL): Likewise.
333         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
334         for libc.a.
336 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
338         [BZ #21622]
339         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
340         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
341         __USE_MISC].
342         (SA_NODEFER): Likewise.
343         (SA_RESETHAND): Likewise.
345 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
347         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
348         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
349         Remove security_level on all fields.
350         * manual/tunables.texi: Replace ifunc with hwcaps.
351         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
352         Renamed to ..
353         (TUNABLE_CALLBACK (set_hwcaps)): This.
354         (init_cpu_features): Updated.
355         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
356         data_cache_size, data_cache_size and non_temporal_threshold to
357         unsigned long int.
358         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
359         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
360         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
361         use DEFAULT_STRLEN.
363 2017-06-21  Florian Weimer  <fweimer@redhat.com>
365         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
366         asprintf to construct an absolute pathname.
368 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
370         * misc/tst-preadvwritev2-common.c: New file.
371         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
372         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
374 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
376         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
377         annotation.
378         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
380 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
382         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
383         hidden __GI__dl_argv symbol.
385 2017-06-21  Florian Weimer  <fweimer@redhat.com>
387         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
388         to parse addresses with IPv6 scope IDs.
390 2017-06-21  Florian Weimer  <fweimer@redhat.com>
392         Add the __inet_pton_length helper function.
393         * resolv/resolv-internal.h (__inet_pton_length): Declare.
394         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
395         Add length argument.
396         (__inet_pton): New function.
397         (inet_pton4): Add length argument.
398         (hex_digit_value): New function.
399         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
400         memmove and memset to fill :: gap.
401         * resolv/Makefile (tests, tsts-static, tests-internal): Add
402         tst-inet_pton.
403         * resolv/tst-inet_pton.c: New file.
404         * support/Makefile (libsupport-routines): Add xmprotect.
405         * support/xunistd.h (xmprotect): Declare.
406         * support/xmprotect.c: New file.
408 2017-06-21  Florian Weimer  <fweimer@redhat.com>
410         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
411         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
412         (call_gai, check_ai): New functions.
413         (expect_failure, expect_success): Use them.  Add logging.
415 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
417         * sysdeps/powerpc/powerpc64/multiarch/Makefile
418         (sysdep_routines): Add memchr_power8.
419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
420         (memchr): Add __memchr_power8 to list of memchr functions.
421         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
422         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
423         (memchr): Add __memchr_power8 to ifunc list.
424         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
426 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
428         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
429         (__llrintf): Define as strong alias of __llrint.
430         (llrintf):  Define as weak alias of __llrint.
431         (__lrintf): Define as strong alias of __llrint.
432         (lrintf):  Define as weak alias of __llrint.
433         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
434         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
435         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
438 2017-06-20  Zack Weinberg  <zackw@panix.com>
440         * bits/signum-generic.h: Renamed from bits/signum.h.
441         Add proper multiple include guard and misuse check.
442         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
443         Move definition of SIGIO to "archaic names for compatibility" section.
444         * bits/signum.h: New file which just includes bits/signum-generic.h.
445         * sysdeps/unix/bsd/bits/signum.h
446         * sysdeps/unix/sysv/linux/bits/signum.h
447         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
448         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
449         * sysdeps/unix/sysv/linux/mips/bits/signum.h
450         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
451         Just include <bits/signum-generic.h> and then add or adjust
452         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
454         * signal/Makefile: Install bits/signum-generic.h.
455         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
457         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
458         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
460         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
461         * sysdeps/unix/sysv/linux/Makefile: Run it.
463 2017-06-20  Zack Weinberg  <zackw@panix.com>
465         * locale/xlocale.h: Rename to...
466         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
467         Only define struct __locale_struct and __locale_t, not locale_t.
468         * locale/bits/types/locale_t.h: New file; define locale_t here.
469         * locale/Makefile (headers): Update to match.
471         * include/xlocale.h: Delete wrapper.
472         * include/bits/types/__locale_t.h: New wrapper.
473         * include/bits/types/locale_t.h: New wrapper.
475         * ctype/ctype.h, include/printf.h, include/time.h
476         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
477         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
478         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
479         Correct outdated comments regarding the standardization status of
480         the functions that take locale_t arguments.
482         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
483         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
484         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
485         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
486         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
487         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
488         Don't include xlocale.h. If necessary, include locale.h instead.
490         * stdlib/strtold_l.c: Unconditionally include wchar.h.
492         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
493         * include/monetary.h, include/stdlib.h, include/time.h
494         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
495         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
496         * locale/localeinfo.h, locale/newlocale.c
497         * locale/nl_langinfo_l.c, locale/uselocale.c
498         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
499         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
500         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
501         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
502         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
503         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
504         * string/strings.h, string/strncase.c, string/strxfrm_l.c
505         * sysdeps/ieee754/float128/strtof128_l.c
506         * sysdeps/ieee754/float128/wcstof128.c
507         * sysdeps/ieee754/float128/wcstof128_l.c
508         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
509         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
510         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
511         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
512         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
513         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
514         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
515         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
516         * sysdeps/x86_64/strcasecmp_l-nonascii.c
517         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
518         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
519         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
520         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
521         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
522         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
523         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
524         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
525         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
526         Change all uses of __locale_t to locale_t.
528 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
530         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
531         for !__OFF_T_MATCHES_OFF64_T.
532         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
533         implementation based on open64.
534         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
535         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
537 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
539         * elf/dl-tunables.list: Move x86 specific tunables to ...
540         * sysdeps/x86/dl-tunables.list: Here.  New file.
542 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
544         [BZ #21635]
545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
546         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
547         * conform/data/signal.h-data (uc_mcontext): XFAIL for
548         powerpc32-linux.
549         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
551         [BZ #21634]
552         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
553         (conformtest-xfail-conds): New variable.
554         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
555         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
557 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
559         * benchtests/powf-inputs: Add reduced trace from wrf.
561 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
562             Erich Elsen  <eriche@google.com>
564         * elf/dl-tunables.list (tune): Add ifunc,
565         x86_non_temporal_threshold,
566         x86_data_cache_size and x86_shared_cache_size.
567         * manual/tunables.texi: Document glibc.tune.ifunc,
568         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
569         and glibc.tune.x86_non_temporal_threshold.
570         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
571         * sysdeps/x86/cpu-tunables.c: Likewise.
572         * sysdeps/x86/cacheinfo.c
573         (init_cacheinfo): Check and get data cache size, shared cache
574         size and non temporal threshold from cpu_features.
575         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
576         New.
577         [HAVE_TUNABLES] Include <unistd.h>.
578         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
579         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
580         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
581         IFUNC selection, data cache size, shared cache size and non
582         temporal threshold.
583         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
584         shared_cache_size and non_temporal_threshold.
586 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
588         * benchtests/README: Describe workload feature.
589         * benchtests/bench-skeleton.c (main): Add support for
590         benchmarking traces from workloads.
592 2017-06-20  Zack Weinberg  <zackw@panix.com>
594         * string/string.h (__mempcpy_inline): Delete.
595         * sysdeps/x86_64/multiarch/mempcpy.c
596         * sysdeps/x86_64/multiarch/stpcpy.c:
597         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
598         before including string.h.
600 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
602         * benchtests/Makefile (bench-math): Add powf.
603         * benchtests/powf-inputs: New file.
605 2017-06-20  Zack Weinberg  <zackw@panix.com>
607         * bits/string.h, string/bits/string.h
608         * sysdeps/aarch64/bits/string.h
609         * sysdeps/m68k/m680x0/m68020/bits/string.h
610         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
611         * sysdeps/x86/bits/string.h: Delete file.
613         * string/string.h: Don't include bits/string.h.
614         * string/bits/string3.h: Rename to bits/string_fortified.h.
615         No need to undef various symbols that the removed headers
616         might have defined as macros.
617         * string/Makefile (headers): Remove bits/string.h, change
618         bits/string3.h to bits/string_fortified.h.
619         * string/string-inlines.c: Update commentary.  Remove definitions
620         of various macros that nothing looks at anymore.  Don't directly
621         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
622         compiler-predefined macros.
623         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
624         _is_ defined, provide internal hidden alias __strncat.
625         * include/string.h: Declare internal hidden alias __strncat.
626         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
627         not defined.
628         * include/bits/string3.h: Rename to bits/string_fortified.h,
629         update to match above.
631         * sysdeps/i386/string-inlines.c: Define compat symbols for
632         everything formerly defined by sysdeps/x86/bits/string.h.
633         Make existing definitions into compat symbols as well.
634         Remove some no-longer-necessary messing around with macros.
636         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
637         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
638         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
639         * sysdeps/s390/multiarch/mempcpy.c
640         No need to define _HAVE_STRING_ARCH_mempcpy.
641         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
643         * sysdeps/i386/i686/multiarch/strncat-c.c
644         * sysdeps/s390/multiarch/strncat-c.c
645         * sysdeps/x86_64/multiarch/strncat-c.c
646         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
648 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
650         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
651         (LDBL_DIG): Likewise.
652         (LDBL_MIN_EXP): Likewise.
653         (LDBL_MIN_10_EXP): Likewise.
654         (LDBL_MAX_EXP): Likewise.
655         (LDBL_MAX_10_EXP): Likewise.
656         (LDBL_MAX): Likewise.
657         (LDBL_MIN): Likewise.
658         (LDBL_EPSILON): Likewise.
659         (FLT_ROUNDS): Change standard from ISO to C90.
660         (FLT_RADIX): Likewise.
661         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
662         (FLT_DIG, DBL_DIG): Likewise.
663         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
664         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
665         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
666         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
667         (FLT_MAX, DBL_MAX): Likewise.
668         (FLT_MIN, DBL_MIN): Likewise.
669         (FLT_EPSILON, DBL_EPSILON): Likewise.
671 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
673         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
674         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
675         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
676         * sysdeps/mips/math-tests.h
677         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
678         conditional code.
680 2017-06-19  Florian Weimer  <fweimer@redhat.com>
682         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
683         It cannot change while __libc_setlocale_lock is acquired.
685 2017-06-19  Florian Weimer  <fweimer@redhat.com>
687         * elf/rtld.c (audit_list_string): New variable.
688         (audit_list): Update comment.
689         (struct audit_list_iter): Define.
690         (audit_list_iter_init, audit_list_iter_next): New function.
691         (dl_main): Use struct audit_list_iter to process audit modules.
692         (process_dl_audit): Call dso_name_valid_for_suid.
693         (process_envvars): Set audit_list_string instead of calling
694         process_dl_audit.
696 2017-06-19  Florian Weimer  <fweimer@redhat.com>
698         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
699         (dso_name_valid_for_suid): New function.
700         (handle_ld_preload): Likewise.
701         (dl_main): Call it.  Remove alloca.
703 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
705         [BZ #21625]
706         * posix/sys/wait.h (strust rusage forward declaration): Change
707         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
708         !__USE_XOPEN2K].
709         (wait3): Likewise.
711         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
712         * configure: Regenerated.
713         * manual/install.texi (Tools for Compilation): Document
714         requirement for GCC 4.9 or later.
715         * INSTALL: Regenerated.
717 2017-06-19  Florian Weimer  <fweimer@redhat.com>
719         [BZ #21624]
720         CVE-2017-1000366
721         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
722         __libc_enable_secure.
724 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
726         [BZ #21539]
727         * NEWS: Mention s390 ptrace request changes.
728         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
729         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
730         PTRACE_SETFPREGS): Remove enum constant.
731         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
732         Remove defines.
733         (PTRACE_SINGLEBLOCK): New enum constant.
734         (PT_STEPBLOCK): New define.
735         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
736         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
737         PTRACE_TE_ABORT_RAND): New enum constant and define.
738         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
739         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
740         New file.
741         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
743 2017-06-16  Florian Weimer  <fweimer@redhat.com>
745         * resolv/res_init.c (res_vinit_1): Use getline to read from the
746         configuration file.
747         (__res_vinit): Adjust.
749 2017-06-19  Florian Weimer  <fweimer@redhat.com>
751         * resolv/res_init.c (res_vinit_1): New function.
752         (__res_vinit): Call it.  Handle file open and memory allocation
753         failures.
754         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
755         erno from __res_maybe_init failure.
756         (_nss_dns_gethostbyname4_r): Likewise.
757         (_nss_dns_gethostbyaddr2_r): Likewise.
758         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
759         (_nss_dns_getnetbyaddr_r): Likewise.
761 2017-06-19  Florian Weimer  <fweimer@redhat.com>
763         * resolv/res_init.c: Reformat to GNU style.
765 2017-06-19  Florian Weimer  <fweimer@redhat.com>
767         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
768         (is_sort_mask): New function.
769         (__res_vinit): Use it.
771 2017-06-19  Florian Weimer  <fweimer@redhat.com>
773         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
774         conditionals.
776 2017-06-19  Florian Weimer  <fweimer@redhat.com>
778         * resolv/res-close.c: New file.
779         * resolv/res_init.c (__res_iclose, res_nclose)
780         (res_thread_freeres): Remove definitions.
781         * resolv/Makefile (routines): Add res-close.
783 2017-06-19  Florian Weimer  <fweimer@redhat.com>
785         * resolv/res_randomid.c: New file.
786         * resolv/res_init.c (res_randomid): Remove definition.
787         * resolv/Makefile (routines): Add res_randomid.
789 2017-06-19  Florian Weimer  <fweimer@redhat.com>
791         * include/resolv.h (__res_vinit): Declare as hidden.
792         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
793         * resolv/res_libc.c (res_init): Likewise.
795 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
797         [BZ #21457]
798         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
799         _libc_xmmreg): Use __ctx in defining field.
801         [BZ #21597]
802         * signal/signal.h (siginterrupt): Make declaration conditional on
803         [__USE_XOPEN_EXTENDED || __USE_MISC].
805         [BZ #21584]
806         * signal/signal.h: Make includes of <bits/sigstack.h> and
807         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
808         __USE_MISC].
809         (sigaltstack): Make declaration conditional on
810         [__USE_XOPEN_EXTENDED || __USE_MISC].
812         [BZ #21575]
813         * resource/bits/types/struct_rusage.h: New file.
814         * include/bits/types/struct_rusage.h: Likewise.
815         * bits/resource.h (struct rusage): Include
816         <bits/types/struct_rusage.h> instead of defining here.
817         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
818         Likewise.
819         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
820         Likewise.
821         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
822         Likewise.
823         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
824         Likewise.
825         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
826         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
827         Include <bits/types/struct_rusage.h>
829 2017-06-19  Florian Weimer  <fweimer@redhat.com>
831         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
833 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
835         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
837 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
839         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
841 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
843         [BZ #21537]
844         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
845         Check SHARED instead of PIC.
846         (SYSCALL_PIC_SETUP): Add missing semicolons.
847         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
848         Check SHARED instead of PIC.
849         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
850         (__makecontext_ret): Adjust code to jump to exit.
852 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
854         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
855         Simplify code by always using SVC 0 instead of EX.
856         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
858 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
860         * elf/Versions (ld): Remove _dl_out_of_memory.
862 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
864         * timezone/private.h: Update from tzcode 2017b.
865         * timezone/tzfile.h: Likewise.
866         * timezone/tzselect.ksh: Likewise.
867         * timezone/zdump.c: Likewise.
868         * timezone/zic.c: Likewise.
869         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
870         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
871         * time/tzset.c (SECSPERDAY): New macro.
873 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
875         * manual/string.texi (strdup): Complete header and standards
876         annotation.
877         (strncpy): Likewise.
879 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
881         * manual/arith.texi (FP_NAN): Add or complete header and standard
882         annotations.
883         (FP_INFINITE): Likewise.
884         (FP_ZERO): Likewise.
885         (FP_SUBNORMAL): Likewise.
886         (FP_NORMAL): Likewise.
887         (SNAN): Likewise.
888         (SNANL): Likewise.
889         (totalorderf): Likewise.
890         (totalorderl): Likewise.
891         (totalordermagf): Likewise.
892         (totalordermagl): Likewise.
893         (_Complex_I): Likewise.
894         (I): Likewise.
896 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
898         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
899         standard annotation.
900         (ARGP_HELP_SHORT_USAGE): Likewise.
901         (ARGP_HELP_SEE): Likewise.
902         (ARGP_HELP_LONG): Likewise.
903         (ARGP_HELP_PRE_DOC): Likewise.
904         (ARGP_HELP_POST_DOC): Likewise.
905         (ARGP_HELP_DOC): Likewise.
906         (ARGP_HELP_BUG_ADDR): Likewise.
907         (ARGP_HELP_LONG_ONLY): Likewise.
908         (ARGP_HELP_EXIT_ERR): Likewise.
909         (ARGP_HELP_EXIT_OK): Likewise.
910         (ARGP_HELP_STD_ERR): Likewise.
911         (ARGP_HELP_STD_USAGE): Likewise.
912         (ARGP_HELP_STD_HELP): Likewise.
914 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
916         * manual/Makefile: Generate summary.texi with summary.pl.  Force
917         use of the C locale.  Update Perl dependency comment.
918         * manual/header.texi: Update reference to summary.awk.
919         * manual/macros.texi: Refer authors to `summary.pl --help'.
920         * manual/summary.awk: Remove file.
921         * manual/summary.pl: New file.  Generate summary.texi, and check
922         for @standards-related syntax errors.
923         * manual/argp.texi: Convert header and standards @comments to
924         @standards.
925         * manual/arith.texi: Likewise.
926         * manual/charset.texi: Likewise.
927         * manual/conf.texi: Likewise.
928         * manual/creature.texi: Likewise.
929         * manual/crypt.texi: Likewise.
930         * manual/ctype.texi: Likewise.
931         * manual/debug.texi: Likewise.
932         * manual/errno.texi: Likewise.
933         * manual/filesys.texi: Likewise.
934         * manual/getopt.texi: Likewise.
935         * manual/job.texi: Likewise.
936         * manual/lang.texi: Likewise.
937         * manual/llio.texi: Likewise.
938         * manual/locale.texi: Likewise.
939         * manual/math.texi: Likewise.
940         * manual/memory.texi: Likewise.
941         * manual/message.texi: Likewise.
942         * manual/pattern.texi: Likewise.
943         * manual/pipe.texi: Likewise.
944         * manual/process.texi: Likewise.
945         * manual/resource.texi: Likewise.
946         * manual/search.texi: Likewise.
947         * manual/setjmp.texi: Likewise.
948         * manual/signal.texi: Likewise.
949         * manual/socket.texi: Likewise.
950         * manual/startup.texi: Likewise.
951         * manual/stdio.texi: Likewise.
952         * manual/string.texi: Likewise.
953         * manual/sysinfo.texi: Likewise.
954         * manual/syslog.texi: Likewise.
955         * manual/terminal.texi: Likewise.
956         * manual/threads.texi: Likewise.
957         * manual/time.texi: Likewise.
958         * manual/users.texi: Likewise.
960 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
962         * manual/macros.texi (@standards): New macro.  Provide placeholder
963         for header and standards annotations.
964         (@standardsx): New macro.  Likewise, for lists of @*x elements.
966 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
968         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
969         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
970         rule.
971         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
972         sync_file_range.
974          * support/support_test_main.c (support_test_main):  Use optstring
975          member for option string in getopt_long.
976          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
977          (CMDLINE_OPTSTRING): New define.
978          * support/test-driver.h (test_config): Add optstring member.
980 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
983         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
984         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
985         Check USE_AS_STRPBRK instead of STRPBRK_P.
986         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
987         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
988         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
989         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
990         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
991         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
992         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
993         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
994         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
995         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
996         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
997         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
998         and "#endif".
1000 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1002         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
1003         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
1005 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1007         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1008         strcat-sse2.
1009         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
1010         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
1011         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
1012         * sysdeps/x86_64/multiarch/strcat.S: Removed.
1013         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1015 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1016             Erich Elsen  <eriche@google.com>
1018         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1019         memcmp-sse2.
1020         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
1021         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
1022         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
1023         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1024         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
1025         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1027 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1028             Erich Elsen  <eriche@google.com>
1030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1031         memset-sse2-unaligned-erms, and memset_chk-nonshared.
1032         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1033         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
1034         Update comments.
1035         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
1036         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
1037         * sysdeps/x86_64/multiarch/memset.c: Likewise.
1038         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
1039         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
1040         * sysdeps/x86_64/multiarch/memset.S: Removed.
1041         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1042         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1043         (__memset_chk_erms): New function.
1045 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1047         * configure.ac(--enable-tunables): Enable by default.
1048         * configure: Regenerate.
1049         * NEWS: Mention change.
1050         * manual/install.texi (enable-tunables): Adjust documentation.
1051         * INSTALL: Regenerate.
1053 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1055         [BZ #18988]
1056         * benchtests/thread_create-inputs: New file.
1057         * benchtests/thread_create-source.c: Likewise.
1058         * support/xpthread_attr_setguardsize.c: Likewise.
1059         * support/Makefile (libsupport-routines): Add
1060         xpthread_attr_setguardsize object.
1061         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
1062         * benchtests/Makefile (bench-pthread): Add thread_create.
1063         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
1064         then mprotect the required area.
1065         (guard_position): New function.
1066         (setup_stack_prot): Likewise.
1068 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
1069             Erich Elsen  <eriche@google.com>
1070             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1072         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1073         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
1074         mempcpy_chk-nonshared and memmove_chk-nonshared.
1075         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1076         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
1077         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
1078         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
1079         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
1080         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
1081         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
1082         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
1083         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1084         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
1085         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1086         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
1087         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
1088         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
1089         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
1090         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1091         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1092         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1093         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1094         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1095         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1096         (__mempcpy_chk_erms): New function.
1097         (__memmove_chk_erms): Likewise.
1098         (__memcpy_chk_erms): New alias.
1100 2017-06-14  Florian Weimer  <fweimer@redhat.com>
1102         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
1103         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
1105 2017-06-14  Zack Weinberg  <zackw@panix.com>
1107         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
1108         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
1109         defined, don't declare anything other than the E-constants.
1111         * include/errno.h: Change conditional for exposing internal
1112         declarations to (not _ISOMAC and not __ASSEMBLER__).
1113         * bits/errno.h: Remove logic for __need_Emath.  Document
1114         requirements for a port-specific bits/errno.h.
1116         * sysdeps/unix/sysv/linux/bits/errno.h
1117         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
1118         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
1119         * sysdeps/unix/sysv/linux/mips/bits/errno.h
1120         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
1121         Add multiple-include guard and check against improper inclusion.
1122         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
1123         constants are defined as simple integer literals.  Consistent
1124         formatting.
1125         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
1126         enum __error_t_codes if __ASSEMBLER__ is not defined.
1127         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1129         * argp/argp.h, string/argz.h: Don't define __need_error_t before
1130         including errno.h.
1131         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1132         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1133         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1134         * sysdeps/x86_64/fpu/s_cosf.S
1135         * sysdeps/x86_64/fpu/s_sincosf.S
1136         * sysdeps/x86_64/fpu/s_sinf.S:
1137         Just include errno.h; don't define __need_Emath or include
1138         bits/errno.h directly.
1140 2017-06-14  Zack Weinberg  <zackw@panix.com>
1142         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
1143         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
1144         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
1146         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
1147         for IOV_MAX.
1148         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
1149         Don't install bits/uio.h.
1150         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
1151         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
1152         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
1154         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
1155         and __need_IOV_MAX.  Don't define IOV_MAX at all.
1156         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
1158         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
1159         Include bits/types/struct_iovec.h, not bits/uio.h.
1160         Use __ssize_t, not ssize_t, in function prototypes.
1161         Don't use hard TAB for double space after period in comments.
1163 2017-06-14  Alan Modra  <amodra@gmail.com>
1165         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
1166         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
1167         refsym and sym parameters.  Adjust callers.
1168         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1169         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
1170         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
1171         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
1172         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
1173         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1174         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
1175         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
1176         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
1177         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
1178         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
1179         Likewise.
1180         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1181         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1182         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
1183         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1184         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1185         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
1186         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1187         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
1188         (_dl_reloc_overflow): Increase buffser size.  Formatting.
1189         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1190         Delete reloc param, add refsym and sym.  Check optimized plt
1191         call stubs for localentry:0 functions.  Adjust callers.
1192         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
1193         and sym parameters.  Adjust callers.
1194         (_dl_reloc_overflow): Move attribute.
1195         (_dl_error_localentry): Declare.
1196         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
1197         refsym and sym to elf_machine_fixup_plt.
1198         * elf/testobj6.c (preload): Call printf.
1200 2017-06-14  Alan Modra  <amodra@gmail.com>
1202         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
1203         (NOPS, ENTRY_3): New macros.
1204         (ENTRY): Rewrite.
1205         (ENTRY_TOCLESS): Define.
1206         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
1207         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
1208         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
1209         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
1210         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1211         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1212         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1213         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1214         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1215         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1216         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1217         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1218         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1219         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1220         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1221         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1222         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
1223         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1224         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1225         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1226         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
1227         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1228         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1229         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1230         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
1231         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
1232         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1233         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1234         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1235         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
1236         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1237         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1238         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1239         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
1240         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1241         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
1242         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1243         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1244         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1245         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1246         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1247         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1248         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1249         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1250         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1251         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1252         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1253         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1254         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1255         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1256         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1257         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1258         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1259         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1260         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1261         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1262         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1263         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
1264         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1265         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1266         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1267         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
1268         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
1269         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1270         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1271         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
1272         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
1273         Likewise.
1274         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
1275         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
1276         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
1277         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
1278         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1279         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
1280         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
1281         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
1282         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1283         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1284         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1285         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1286         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1287         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1288         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1289         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1290         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1291         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
1292         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1293         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1294         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1295         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1296         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1297         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1298         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1299         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
1300         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
1301         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
1302         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1303         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1304         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
1305         add nop when SHARED.
1306         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
1307         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
1308         define.
1309         (ENTRY_TOCLESS): Define.
1310         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
1311         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
1312         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1314 2017-06-14  Alan Modra  <amodra@gmail.com>
1316         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
1317         MEMSET_is_local.
1318         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1319         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1320         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1321         Define MEMSET.
1322         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
1323         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
1324         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
1325         nop after local calls.
1326         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
1327         Don't add nop after local call.
1328         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
1329         CALL_MCOUNT.
1331 2017-06-14  Alan Modra  <amodra@gmail.com>
1333         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
1334         (FUNC_LABEL): Rename from DOT_LABEL.
1335         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
1336         Use .p2align rather than .align.
1337         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
1338         (ABORT_TRANSACTION): Likewise.
1339         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
1340         particularly at end.  Add semicolon at invocation as necessary.
1341         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
1342         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
1343         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
1344         END): Adjust to suit.
1346 2017-06-14  Alan Modra  <amodra@gmail.com>
1348         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
1349         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
1350         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1351         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1352         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
1353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
1354         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
1356 2017-06-14  Alan Modra  <amodra@gmail.com>
1358         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
1359         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
1361 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
1363         [BZ #21548]
1364         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
1365         8 and use it when copying general purpose registers.
1366         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
1367         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
1368         mips o32.
1369         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
1370         new test for mips o32.
1371         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
1372         8 and use it when copying general purpose registers.
1373         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
1375 2017-06-13  Florian Weimer  <fweimer@redhat.com>
1377         * configure.ac (find_cxx_header): Suppress compiler error message.
1379 2017-06-13  Florian Weimer  <fweimer@redhat.com>
1381         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
1382         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
1383         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
1384         begin/end.
1385         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
1386         dynarray_int_end.
1387         (test_str): Test dynarray_str_begin, dynarray_str_end.
1389 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
1391         [BZ #21573]
1392         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
1393         $(common-objpfx)bits/std_abs.h.
1394         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
1395         New target.
1396         * config.make.in (c++-bits-std_abs-h): New.
1397         * configure.ac (find_cxx_header): Use "\,$1," with sed.
1398         (CXX_BITS_STD_ABS_H): New.
1399         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
1400         * configure: Regenerated.
1402 2017-06-13  Zack Weinberg  <zackw@panix.com>
1404         * posix/bits/cpu-set.h: Correct indentation of preprocessor
1405         directives.
1407 2017-06-12  Zack Weinberg  <zackw@panix.com>
1409         * bits/sched.h: Remove __need_schedparam logic and replace with a
1410         normal multiple-include guard.  Change field name in struct
1411         sched_param from __sched_priority to sched_priority.  Delete
1412         everything under #ifndef __cpu_set_t_defined.
1413         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
1414         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
1416         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
1417         For compatibility, #define sched_priority to itself, and #define
1418         __sched_priority as sched_priority.
1419         * posix/bits/cpu-set.h: New file containing, verbatim, the code
1420         that was under #ifndef __cpu_set_t_defined in
1421         sysdeps/unix/sysv/linux/bits/sched.h.
1422         * include/bits/cpu-set.h: New wrapper.
1423         * posix/Makefile: Install bits/cpu-set.h.
1425 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1426             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1427             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1429         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
1430         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
1431         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
1432         * math/libm-test-isfinite.inc (finite_test): Likewise.
1433         * math/libm-test-lgamma.inc (gamma_test): Likewise.
1434         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
1435         (nexttoward_test_data}: Likewise.
1436         * math/libm-test-remainder.inc (drem_test): Likewise.
1437         * math/libm-test-scalb.inc (scalb_test): Likewise.
1438         (scalb_test_data): Likewise.
1439         * math/libm-test-significand.inc (significand_test): Likewise.
1440         (significand_test_data): Likewise.
1441         * math/libm-test-support.c (check_complex): Replace __complex__
1442         FLOAT with CFLOAT to get the support for old compiler.
1443         * math/libm-test-support.h (check_complex): Likewise.
1444         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
1445         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
1446         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
1447         * math/test-float128.h: New file.
1448         * math/test-math-floatn.h: New file.
1450 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1452         * include/float.h: Allow the definition of macros prefixed with
1453         FLT128 even if _ISOMAC is defined, but provided that
1454         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
1456 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1458         * manual/math.texi (Mathematics): Add description for _FloatN and
1459         _FloatNx types and mentions that they are not support in glibc for
1460         any architecture, so far.
1461         * manual/arith.texi (wcstof, wcstold): Replace the mention to
1462         stdlib.h with wchar.h.
1463         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
1464         (Printing of Floats): Add description for strfromfN.
1466 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1467             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1468             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1470         * include/gmp.h (__mpn_construct_float128): New declaration.
1471         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
1472         (__strtof128_l): New declaration.
1473         (__strtof128_nan): Likewise.
1474         (__wcstof128_nan): Likewise.
1475         (__strtof128_internal): Likewise.
1476         (____strtof128_l_internal): Likewise.
1477         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
1478         (__wcstof128_l): New declaration.
1479         (__wcstof128_internal): Likewise.
1481         * stdlib/Makefile (bug-strtod2): Link libm too.
1483         * stdlib/stdlib.h (strtof128): New declaration.
1484         (strtof128_l): Likewise.
1486         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
1487         tst-strtod.h macros to ensure float128 gets tested too.
1489         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
1491         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
1492         tests.
1493         (IF_FLOAT128): New macro.
1494         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
1495         the tests.
1496         (STRTOD_TEST_FOREACH): Likewise.
1498         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
1499         wcstof128 functions into libc.
1501         * sysdeps/ieee754/float128/Versions: Add exports for the above
1502         new functions.
1504         * sysdeps/ieee754/float128/mpn2float128.c: New file.
1505         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
1506         * sysdeps/ieee754/float128/strtof128.c: New file.
1507         * sysdeps/ieee754/float128/strtof128_l.c: New file.
1508         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
1509         * sysdeps/ieee754/float128/wcstof128.c: New file.
1510         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
1511         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
1512         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
1513         (CFLAGS-wcstof128_l): Likewise.
1515         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
1516         (wcstof128): New declaration.
1517         (wcstof128_l): Likewise.
1519 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
1521         [BZ #21552]
1522         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
1523         not [__USE_XOPEN].
1524         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
1526         [BZ #21550]
1527         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
1529 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
1531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1532         strcpy-sse2 and stpcpy-sse2.
1533         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
1534         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
1535         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
1536         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
1537         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
1538         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
1539         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
1540         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
1541         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1542         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1543         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1544         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
1545         (libc_hidden_def): Always defined as empty.
1546         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
1547         Always Defined as empty.
1549 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1551         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
1553 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1555         [BZ #15105]
1556         [BZ #19463]
1557         * include/string.h: Add internal redirect for __stpcpy.
1558         * string/Makefile: Remove bits/string2.h.
1559         * string/string.h: Update comment.
1560         * string/string-inlines.c: Remove bits/string2.h include and comment.
1561         * string/bits/string2.h: Remove file.
1563 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1565         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
1566         * sunrpc/clnt_gen.c (clnt_create): Likewise.
1567         * sunrpc/des_impl.c (_des_crypt): Likewise.
1568         * sunrpc/key_call.c (key_gendes): Likewise.
1569         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1570         * sunrpc/svc_simple.c (universal): Likewise.
1571         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
1572         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1573         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
1575 2017-06-10  Zack Weinberg  <zackw@panix.com>
1577         * stdlib/errno.h: Correct an outdated comment.
1579 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
1581         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
1582         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
1583         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
1584         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
1585         New file.  Invoke newly supported sysconf values for powerpc,
1586         and report results.  If none are supported, report so.
1587         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
1588         tst-sysconf.
1590 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1592         * include/sys/auxv.h (__getauxval): Add a prototype and its
1593         libc_hidden_proto.
1594         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
1596 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
1598         [BZ #21561]
1599         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
1600         [__USE_XOPEN_EXTENDED].
1601         (id_t): Likewise.
1602         (include of <bits/types/siginfo_t.h): Likewise.
1603         (waitid): Likewise.
1604         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
1605         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
1606         (WEXITED): Likewise.
1607         (WCONTINUED): Likewise.
1608         (WNOWAIT): Likewise.
1609         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
1610         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1611         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1613         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
1614         libc.so PLT entry optional.
1615         (__gtsf2): Likewise.
1616         (__unorddf2): Likewise.
1617         (__unordsf2): Likewise.
1618         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
1619         New optional libc.so PLT entry.
1621         [BZ #21554]
1622         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
1623         not [__USE_XOPEN].
1625         [BZ #21560]
1626         * posix/sys/wait.h: Condition include of <signal.h> on
1627         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
1628         unconditionally.
1629         [!__pid_t_defined] (pid_t): Define typedef.
1631 2017-06-09  Zack Weinberg  <zackw@panix.com>
1633         * include/errno.h (__errno_location): Use __attribute_const__
1634         instead of bare __attribute__.
1636 2017-06-09  Zack Weinberg  <zackw@panix.com>
1638         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
1639         (common-generated): Add libc-modules.h and libc-modules.stmp in a
1640         more appropriate location. Also add dl-tunable-list.h and
1641         dl-tunable-list.stmp.
1643 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1645         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
1647 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1649         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1650         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
1651         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1652         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
1653         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
1654         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
1655         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
1656         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
1657         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
1658         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
1659         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
1661 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1663         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1664         memrchr-sse2 and memrchr-avx2.
1665         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1666         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
1667         __memrchr_sse2.
1668         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
1669         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
1670         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
1672 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1674         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1675         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
1676         wcschr-sse2 and wcschr-avx2.
1677         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1678         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
1679         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
1680         __wcschr_sse2.
1681         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
1682         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
1683         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
1684         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
1685         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
1686         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
1687         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
1688         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
1689         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
1690         * sysdeps/x86_64/multiarch/strchr.S: Removed.
1692 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1694         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1695         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
1696         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
1697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1698         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
1699         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
1700         __wcslen_sse2 and __wcsnlen_avx2.
1701         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
1702         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
1703         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
1704         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
1705         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
1706         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
1707         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
1708         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
1709         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
1710         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
1711         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
1712         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
1713         vzeroupper is preferred and AVX unaligned load is fast.
1715 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1717         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
1718         USE_AS_WMEMCHR is defined.
1719         (PCMPEQ): Likewise.
1720         (memchr): Renamed to ...
1721         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
1722         Replace pcmpeqb with PCMPEQ.
1723         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1724         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
1725         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
1726         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
1727         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1728         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
1729         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
1730         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
1731         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
1732         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
1733         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
1734         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
1735         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
1736         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1737         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
1738         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
1739         __wmemchr_sse2.
1741 2017-06-09  Florian Weimer  <fweimer@redhat.com>
1743         * malloc/Makefile (test-srcs): Remove tst-dynarray,
1744         tst-dynarray-fail.
1746 2017-06-09  Florian Weimer  <fweimer@redhat.com>
1748         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
1749         * support/support_test_verify_impl.c
1750         (support_test_verify_exit_impl): Split from
1751         support_test_verify_impl.
1752         * support/check.h (TEST_VERIFY): Drop status argument from
1753         support_test_verify_impl call.
1754         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
1755         (support_test_verify_impl): Remove status argument.
1756         (support_test_verify_exit_impl): Declare.
1758 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1760         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
1761         mention of magic numbers in comments.
1762         (_dl_procinfo): Fix undefined behavior
1764 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
1766         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
1767         [XPG4].
1768         (WEXITED): Likewise.
1769         (WSTOPPED): Likewise.
1770         (WCONTINUED): Likewise.
1771         (WNOHANG): Likewise.
1772         (WNOWAIT): Likewise.
1773         (idtype_t): Likewise.
1774         (P_ALL): Likewise.
1775         (P_PID): Likewise.
1776         (P_PGID): Likewise.
1777         (id_t): Likewise.
1778         (siginfo_t): Likewise.
1779         (wait3): Likewise.
1780         (waitid): Likewise.
1781         (signal.h): Do not allow header for [XPG4].
1782         (sys/resource.h): Likewise.
1783         (si_*): Do not allow for [XPG4].
1784         (W*): Likewise.
1785         (P_*): Likewise.
1786         (BUS_): Likewise.
1787         (CLD_): Likewise.
1788         (FPE_): Likewise.
1789         (ILL_): Likewise.
1790         (POLL_): Likewise.
1791         (SEGV_): Likewise.
1792         (SI_): Likewise.
1793         (TRAP_): Likewise.
1794         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
1795         variable.
1797 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1799         [BZ #21528]
1800         * elf/dl-minimal.c (__strtoul_internal): Removed.
1801         (strtoul): Likewise.
1802         * elf/dl-misc.c (_dl_strtoul): New function.
1803         * elf/dl-tunables.c (tunables_strtoul): Removed.
1804         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
1805         * elf/rtld.c (process_envvars): Likewise.
1806         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
1807         Likewise.
1808         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
1810 2017-06-08  Zack Weinberg  <zackw@panix.com>
1812         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
1813         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
1814         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
1815         * wctype/bits/wctype-wchar.h: New file holding declarations shared
1816         between wctype.h and wchar.h.
1818         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
1819         Install them.
1821         * include/bits/types/FILE.h, include/bits/types/__FILE.h
1822         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
1823         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
1824         New wrappers.
1825         * include/stdio.h, include/wchar.h, include/wctype.h:
1826         No need to handle __need macros.
1828         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
1829         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
1830         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
1831         * wcsmbs/wchar.h, wctype/wctype.h
1832         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
1833         Use the new files instead of __need macros.
1835 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1837         * string/test-memrchr.c (test_main): Add tests for len == 0
1838         and tests for positions close to the beginning, which are
1839         equivalent to positions close to the end for memchr.
1841 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1843         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
1844         comments.
1845         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
1846         instead of wmemset.h.
1847         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1848         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
1849         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
1851 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1853         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
1854         spec->info.is_binary128 to zero.
1855         * stdio-common/printf.h (printf_info): Add new member is_binary128
1856         to indicate that the number being converted to string is compatible
1857         with the IEC 60559 binary128 format.
1858         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
1859         _Float128 numbers.
1860         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
1861         ldbl-128/printf_fphex_macros.h
1862         (__printf_fphex): Add code to deal with _Float128 numbers.
1863         * stdio-common/printf_size.c (__printf_size): Likewise.
1864         * stdio-common/vfprintf.c (process_arg): Initialize member
1865         info.is_binary128 to zero.
1866         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
1867         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
1868         (strfromf128): New declaration.
1869         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
1870         to one.
1871         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
1872         * sysdeps/ieee754/float128/Versions: Likewise.
1873         * sysdeps/ieee754/float128/strfromf128.c: New file.
1875 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1877         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
1878         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
1879         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
1880         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
1881         (PRINT_FPHEX): New function-like macro that can be used for long
1882         double, as well as for _Float128
1884 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1886         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
1887         (__printf_fp_l): Use the new macro to avoid duplicating code.
1888         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
1889         (__printf_fphex): Use the new macro to avoid duplicating code.
1890         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
1891         (__printf_size): Use the new macro to avoid duplicating code.
1893 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1895         * include/gmp.h: Include bits/floatn.h
1896         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
1897         * stdlib/gmp-impl.h: Also check if alloca is not defined before
1898         including stack-alloc.h.  It could have been defined by other header
1899         which not necessarily defines HAVE_ALLOCA.
1900         * sysdeps/ieee754/float128/Makefile: New file.
1901         * sysdeps/ieee754/float128/float1282mpn.c: New file.
1902         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
1903         redefining __mpn_extract_long_double to __mpn_extract_float128, then
1904         redefine __mpn_extract_long_double to __mpn_extract_float128.
1905         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
1906         _Float128 to allow float128_private.h overrides.
1908 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1910         * stdlib/fpioconst.h: Include bits/floatn.h.
1911         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
1912         power of ten table should be.
1913         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
1914         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
1915         to include larger tables when _Float128 support is enabled.
1916         (_fpioconst_pow10): Likewise.
1918 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
1920         * include/bits/types/clock_t.h: Use #include <path> instead of
1921         #include "../../path".
1922         * include/bits/types/clockid_t.h: Likewise.
1923         * include/bits/types/struct_iovec.h: Likewise.
1924         * include/bits/types/struct_itimerspec.h: Likewise.
1925         * include/bits/types/struct_osockaddr.h: Likewise.
1926         * include/bits/types/struct_sigstack.h: Likewise.
1927         * include/bits/types/struct_timespec.h: Likewise.
1928         * include/bits/types/struct_timeval.h: Likewise.
1929         * include/bits/types/struct_tm.h: Likewise.
1930         * include/bits/types/time_t.h: Likewise.
1931         * include/bits/types/timer_t.h: Likewise.
1933         [BZ #14096]
1934         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
1935         America/New_York.
1937 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1939         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
1940         into ...
1941         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
1942         ifunc-sse4_1.h.
1944 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1946         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
1947         Remove check for NULL 'buf'.
1948         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
1950 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1952         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
1953         include test-skeleton.c.
1954         Include support/check.h and support/test-driver.c.
1956 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1958         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
1959         (_dl_aarch64_cap_flags): New array.
1960         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
1961         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
1962         functions.
1964         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
1965         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
1966         Likewise.
1967         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
1968         up hwcap and hwcap_mask.
1970         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
1971         (init_cpu_features): Use glibc.tune.hwcap_mask.
1972         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
1974         * elf/dl-hwcaps.h: New file.
1975         * elf/dl-hwcaps.c: Include it.
1976         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
1977         glibc.tune.hwcap_mask.
1978         * elf/dl-cache.c: Include dl-hwcaps.h.
1979         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
1980         glibc.tune.hwcap_mask.
1981         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1982         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
1983         _dl_hwcap_mask.
1984         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
1985         _dl_hwcap_mask.
1986         (process_envvars)[HAVE_TUNABLES]: Likewise.
1987         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
1988         Likewise.
1989         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
1990         initialize dl_hwcap_mask when tunables are enabled.
1992         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
1993         guard.
1994         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1996         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
1997         * scripts/gen-tunables.awk: Include dl-procinfo.h.
1998         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
2000         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
2001         * elf/dl-tunables.c: Likewise.
2002         (do_tunable_update_val): New function.
2003         (__tunable_set_val): New function.
2004         (__tunable_get_val): Call CB only if the tunable was externally
2005         initialized.
2006         (tunables_strtoul): Replace strval with initialized.
2007         * elf/dl-tunables.h (strval): Replace with a bool initialized.
2008         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
2009         prevent collision.
2010         (__tunable_set_val): New function.
2011         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
2012         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
2013         (TUNABLE_SET_VAL): Remove.
2014         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
2015         * README.tunables: Document the new macros.
2016         * malloc/arena.c (ptmalloc_init): Adjust.
2018 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2020         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2021         wcsnlen-sse4_1 and wcsnlen-c.
2022         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2023         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
2024         __wcsnlen_sse2.
2025         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
2026         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
2027         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
2028         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
2029         * sysdeps/x86_64/wcsnlen.S: Removed.
2031 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2033         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
2034         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2035         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2036         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2038 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2040         * NEWS: Mention new spinlock implementation.
2041         * include/atomic.h:
2042         (__atomic_val_bysize): Cast type to omit volatile qualifier.
2043         (atomic_exchange_acq): Likewise.
2044         (atomic_load_relaxed): Likewise.
2045         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
2046         * nptl/pthread_spin_init.c (pthread_spin_init):
2047         Use atomic_store_relaxed.
2048         * nptl/pthread_spin_lock.c (pthread_spin_lock):
2049         Use C11-like atomic macros.
2050         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2051         Likewise.
2052         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2053         Use atomic_store_release.
2054         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
2055         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
2056         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
2057         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
2058         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
2059         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
2060         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
2061         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
2062         * sysdeps/alpha/atomic-machine.h: Likewise.
2063         * sysdeps/arm/atomic-machine.h: Likewise.
2064         * sysdeps/i386/atomic-machine.h: Likewise.
2065         * sysdeps/ia64/atomic-machine.h: Likewise.
2066         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
2067         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
2068         * sysdeps/microblaze/atomic-machine.h: Likewise.
2069         * sysdeps/mips/atomic-machine.h: Likewise.
2070         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
2071         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
2072         * sysdeps/s390/atomic-machine.h: Likewise.
2073         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
2074         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
2075         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
2076         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
2077         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
2078         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
2079         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
2080         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
2081         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
2082         * sysdeps/x86_64/atomic-machine.h: Likewise.
2084 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2086         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
2087         and use it instead of dl_x86_cpu_features.
2088         (handle_intel): Replace maxidx with cpu_features.  Pass
2089         cpu_features to intel_check_word.
2090         (__cache_sysconf): Pass cpu_features to handle_intel.
2091         (init_cacheinfo): Likewise.  Use cpu_features instead of
2092         dl_x86_cpu_features.
2094 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2096         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
2097         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2098         memcmp-avx2 and wmemcmp-avx2.
2099         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2100         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
2101         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
2102         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
2103         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
2104         2 machines if AVX unaligned load is fast and vzeroupper is
2105         preferred.
2106         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
2107         2 machines if AVX unaligned load is fast and vzeroupper is
2108         preferred.
2110 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2112         * include/wchar.h (__wmemset_chk): New.
2113         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
2114         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
2115         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2116         (WMEMSET_CHK_SYMBOL): Likewise.
2117         (WMEMSET_SYMBOL): Likewise.
2118         (__wmemset): Add hidden definition.
2119         (wmemset): Add weak hidden definition.
2120         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2121         wmemset_chk-nonshared.
2122         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2123         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
2124         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
2125         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
2126         and __wmemset_chk_avx512_unaligned.
2127         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
2128         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
2129         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
2130         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2131         (WMEMSET_SYMBOL): Likewise.
2132         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
2133         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
2134         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
2135         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2136         (WMEMSET_SYMBOL): Likewise.
2137         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
2138         (WMEMSET_CHK_SYMBOL): New.
2139         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
2140         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
2141         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
2142         (libc_hidden_builtin_def): Also define __GI_wmemset and
2143         __GI___wmemset.
2144         (weak_alias): New.
2145         * sysdeps/x86_64/multiarch/wmemset.c: New file.
2146         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
2147         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
2148         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2149         * sysdeps/x86_64/wmemset.c: Likewise.
2150         * sysdeps/x86_64/wmemset_chk.c: Likewise.
2152 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2153             H.J. Lu  <hongjiu.lu@intel.com>
2155         * sysdeps/x86/init-arch.h (PASTER1): New.
2156         (EVALUATOR1): Likewise.
2157         (PASTER2): Likewise.
2158         (EVALUATOR2): Likewise.
2159         (REDIRECT_NAME): Likewise.
2160         (OPTIMIZE): Likewise.
2161         (IFUNC_SELECTOR): Likewise.
2163 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2165         * sysdeps/x86_64/strlen.S (PMINU): New.
2166         (PCMPEQ): Likewise.
2167         (SHIFT_RETURN): Likewise.
2168         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
2169         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
2170         pminub with PCMPEQ and PMINU.
2171         * sysdeps/x86_64/wcsnlen.S: New file.
2173 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2175         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
2176         the lower 32 bits.  Remove redundant instructions.
2178 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2180         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
2181         0 as the high part of offset.
2182         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
2184 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
2186         [BZ #21538]
2187         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
2188         [__USE_UNIX98].
2189         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
2190         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
2191         Likewise.
2192         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
2193         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
2194         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
2195         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
2196         Likewise.
2198         [BZ #21517]
2199         * bits/types/stack_t.h (stack_t): Remove struct tag.
2200         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
2201         Likewise.
2202         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
2203         Likewise.
2204         * debug/segfault.c (install_handler): Use stack_t instead of
2205         struct sigaltstack.
2206         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
2207         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
2208         * include/signal.h (__sigaltstack): Likwise.
2209         * signal/sigaltstack.c (__sigaltstack): Likewise.
2210         * signal/signal.h (sigaltstack): Likewise.
2211         * sysdeps/mach/hurd/i386/signal-defines.sym
2212         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
2213         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
2214         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
2215         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2216         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
2217         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
2218         elf_prstatus): Likewise.
2219         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
2220         Likewise.
2221         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
2222         Likewise.
2223         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
2224         Likewise.
2225         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
2226         elf_prstatus): Likewise.
2227         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
2228         Likewise.
2229         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
2230         Likewise.
2232 2017-06-04  Zack Weinberg  <zackw@panix.com>
2234         * sysdeps/gnu/errlist.c: Regenerate.
2236 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
2238         * benchtests/bench-memchr.c (do_test): Print out both length
2239         and position.
2240         (test_main): Also test the position close to the beginning for
2241         memrchr.
2243 2017-06-04  Zack Weinberg  <zackw@panix.com>
2245         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
2246         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
2247         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
2248         * nis/nis_destroygroup.c, nis/nis_domain_of.c
2249         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
2250         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
2251         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
2252         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
2253         * nis/nis_print_group_entry.c, nis/nis_remove.c
2254         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
2255         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
2256         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
2257         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
2258         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
2259         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
2260         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
2261         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
2262         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
2263         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
2264         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
2265         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
2266         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
2267         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
2268         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
2269         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
2270         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
2271         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
2272         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
2273         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
2275         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
2276         abi-versions.h as well as shlib-compat.h.
2277         * sunrpc/get_myaddr.c: Remove obsolete comment.
2278         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
2279         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
2280         * resolv/res_libc.c: Include shlib-compat.h only once.
2282 2017-06-03  Florian Weimer  <fweimer@redhat.com>
2284         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
2285         of strdup.
2287 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
2289         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
2290         Set to the 3/4 of the total shared cache size.
2292 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
2294         * manual/errno.texi: Remove redundant error strings.
2295         * manual/macros.texi (@errno): Render the error string in every
2296         description.
2298 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
2300         [BZ #21543]
2301         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
2302         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
2303         [__USE_XOPEN_EXTENDED].
2305 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2307         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
2308         strdupa.
2309         (getcanonname): Use __strdup instead of strdup.
2311 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2313         * misc/Makefile (CFLAGS-preadv2.c): New rule.
2314         (CFLAGS-preadv64v2.c): Likewise.
2315         (CFLAGS-pwritev2.c): Likewise.
2316         (CFLAGS-pwritev64v2.c): Likewise.
2318 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2320         Test res_init with several configuration files.
2321         * resolv/Makefile [build-shared] (tests-internal): Add
2322         tst-resolv-res_init, tst-resolv-res_init-thread.
2323         (tst-resolv-res_init): Link against libdl, libresolv.
2324         (tst-resolv-res_init-thread): Link against libdl, libresolv,
2325         libpthread.
2326         * resolv/tst-resolv-res_init.c: New file.
2327         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
2328         * resolv/tst-resolv-res_init-thread.c: Likewise.
2329         * support/Makefile (libsupport-routines): Add support-xstat,
2330         support_can_chroot, support_capture_subprocess_check,
2331         support_isolate_in_subprocess, support_shared_allocate,
2332         support_write_file_string, xchroot, xmkdir, xopen.
2333         * support/capture_subprocess.h (enum support_capture_allow): Define.
2334         (support_capture_subprocess_check): Declare.
2335         * support/namespace.h (support_can_chroot)
2336         (support_isolate_in_subprocess): Declare.
2337         * support/support-xstat.c: New file.
2338         * support/support.h (support_shared_allocate, support_shared_free)
2339         (support_write_file_string): Declare.
2340         * support/support_can_chroot.c: New file.
2341         * support/support_capture_subprocess_check.c: Likewise.
2342         * support/support_isolate_in_subprocess.c: Likewise.
2343         * support/support_shared_allocate.c: Likewise.
2344         * support/support_write_file_string.c: Likewise.
2345         * support/xchroot.c: Likwise.
2346         * support/xmkdir.c: Likwise.
2347         * support/xopen.c: Likwise.
2348         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
2350 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2352         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
2353         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
2355 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2357         * malloc/Makefile (routines): Add dynarray_at_failure,
2358         dynarray_emplace_enlarge, dynarray_finalize.
2359         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
2360         tst-dynarray-at-fail.
2361         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
2362         (tests-special): Add tst-dynarray-mem.out,
2363         tst-dynarray-mem-fail.out.
2364         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
2365         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
2366         mtrace.
2367         * malloc/Versions (__libc_dynarray_at_failure)
2368         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
2369         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
2370         GLIBC_PRIVATE.
2371         * malloc/dynarray.h: New file.
2372         * malloc/dynarray-skeleton.c: Likewise.
2373         * malloc/dynarray_at_failure.c: Likewise.
2374         * malloc/dynarray_emplace_enlarge.c: Likewise.
2375         * malloc/dynarray_finalize.c: Likewise.
2376         * malloc/dynarray_resize.c: Likewise.
2377         * malloc/dynarray_resize_clear.c: Likewise.
2378         * malloc/tst-dynarray.c: Likewise.
2379         * malloc/tst-dynarray-fail.c: Likewise.
2380         * malloc/tst-dynarray-at-fail.c: Likewise.
2381         * malloc/tst-dynarray-shared.h: Likewise.
2382         * support/Makefile (libsupport-routines): Add
2383         support_capture_subprocess, xdup2, xpipe.
2384         (tests): Add tst-support_capture_subprocess.
2385         * support/capture_subprocess.h: New file.
2386         * support/support_capture_subprocess.c: Likewise.
2387         * support/tst-support_capture_subprocess.c: Likewise.
2388         * support/xdup2.c: Likewise.
2389         * support/xpipe.c: Likewise.
2390         * support/xunistd.h (xdup2, xpipe): Declare.
2392 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2394         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
2395         macros MAX and MIN.
2397 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
2399         * conform/data/signal.h-data (sa_sigaction): Do not expect for
2400         [XPG4].
2401         (SA_SIGINFO): Likewise.
2402         (SA_ONSTACK): Likewise.
2403         (SA_RESETHAND): Likewise.
2404         (SA_RESTART): Likewise.
2405         (SA_NOCLDWAIT): Likewise.
2406         (SA_NODEFER): Likewise.
2407         (SS_ONSTACK): Likewise.
2408         (SS_DISABLE): Likewise.
2409         (MINSIGSTKSZ): Likewise.
2410         (SIGSTKSZ): Likewise.
2411         (ucontext_t): Likewise.
2412         (stack_t): Likewise.
2413         (struct sigstack): Likewise.
2414         (SI_USER): Do not expect for [XPG4 || XPG42].
2415         (SI_QUEUE): Likewise.
2416         (SI_TIMER): Likewise.
2417         (SI_ASYNCIO): Likewise.
2418         (SI_MESGQ): Likewise.
2419         (bsd_signal): Do not expect for [XPG4].
2420         (killpg): Likewise.
2421         (sigaltstack): Likewise.
2422         (sighold): Likewise.
2423         (sigignore): Likewise.
2424         (siginterrupt): Likewise.
2425         (sigpause): Likewise.
2426         (sigrelse): Likewise.
2427         (sigset): Likewise.
2428         (sigwait): Do not expect for [XPG4 || XPG42].
2430 2017-06-01  Zack Weinberg  <zackw@panix.com>
2432         [BZ #21514]
2433         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
2434         pointing to the generated file in <builddir>/misc/bits/syscall.h.
2436 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
2438         [BZ #21457]
2439         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
2440         NGREG to __NGREG if [__USE_MISC].
2441         (gregset_t): Define using __NGREG.
2442         (__ctx): New macro.
2443         (mcontext_t): Use __ctx in defining fields.
2444         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
2445         define NGREG to __NGREG if [__USE_MISC].
2446         (gregset_t): Define using __NGREG.
2447         (__ctx): New macro.
2448         (__ctxt): Likewise.
2449         (fpregset_t): Use __ctx and __ctxt in defining fields.
2450         (mcontext_t): Likewise.
2451         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
2452         define NGREG to __NGREG if [__USE_MISC].
2453         (gregset_t): Define using __NGREG.
2454         (__ctx): New macro.
2455         (mcontext_t): Use __ctx in defining fields.
2456         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
2457         define NGREG to __NGREG if [__USE_MISC].
2458         (gregset_t): Define using __NGREG.
2459         (__ctx): New macro.
2460         (fpregset_t): Use __ctx in defining fields.
2461         (mcontext_t): Likewise.
2462         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
2463         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2464         (gregset_t): Define using __NGREG.
2465         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2466         [__USE_MISC].
2467         (fpregset_t): Define using __NFPREG.
2468         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
2469         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2470         (gregset_t): Define using __NGREG.
2471         (__ctx): New macro.
2472         (fpregset_t): Use __ctx in defining fields.
2473         (mcontext_t): Likewise.
2474         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
2475         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2476         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2477         [__USE_MISC].
2478         (gregset_t): Define using __NGREG.
2479         (__ctx): New macro.
2480         (fpregset_t): Use __ctx in defining fields.
2481         (mcontext_t): Likewise.
2482         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
2483         (mcontext_t): Use __ctx in defining fields.
2484         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
2485         macro.
2486         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
2487         __NGREG if [__USE_MISC].
2488         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
2489         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
2490         (mcontext_t): Likewise.
2491         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
2492         __NGREG if [__USE_MISC].
2493         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
2494         to __NFPREG if [__USE_MISC].
2495         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
2496         to __NVRREG if [__USE_MISC].
2497         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
2498         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
2499         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
2500         [__WORDSIZE != 32] (vrregset_t): Likewise.
2501         [__WORDSIZE != 32] (mcontext_t): Likewise.
2502         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
2503         (__psw_t): Use __ctx in defining fields.
2504         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
2505         [__USE_MISC].
2506         (gregset_t): Define using __NGREG.
2507         (fpreg_t): Use __ctx in defining fields.
2508         (fpregset_t): Likewise.
2509         (mcontext_t): Likewise.
2510         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
2511         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2512         (gregset_t): Define using __NGREG.
2513         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2514         [__USE_MISC].
2515         (fpregset_t): Define using __NFPREG.
2516         (__ctx): New macro.
2517         (mcontext_t): Use __ctx in defining fields.
2518         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
2519         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2520         __NGREG if [__USE_MISC].
2521         [__x86_64__] (gregset_t): Define using __NGREG.
2522         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
2523         [__x86_64__] (struct _libc_fpstate): Likewise.
2524         [__x86_64__] (mcontext_t): Likewise.
2525         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2526         __NGREG if [__USE_MISC].
2527         [!__x86_64__] (gregset_t): Define using __NGREG.
2528         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
2529         [!__x86_64__] (struct _libc_fpstate): Likewise.
2530         [!__x86_64__] (mcontext_t): Likewise.
2532 2017-06-01  Zack Weinberg  <zackw@panix.com>
2534         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
2535         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
2536         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
2537         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
2538         libpthread.so no longer references __errno_location.
2540 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2542         * NEWS: Add note about pwritev2 and preadv2 inclusion.
2543         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
2544         pwritev64v2.
2545         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
2546         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
2547         pwritev64v2.
2548         * misc/preadv2.c: New file.
2549         * misc/preadv64v2.c: Likewise.
2550         * misc/pwritev2.c: Likewise.
2551         * misc/pwritev64v2.c: Likewise.
2552         * misc/tst-preadvwritev2.c: Likewise.
2553         * misc/tst-preadvwritev64v2.c: Likewise.
2554         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
2555         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
2556         prototype.
2557         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
2558         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
2559         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
2560         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
2561         (PWRITEV): Likewise.
2562         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
2563         ENOSYS.
2564         * nptl/tst-cancel4.c (tf_pwritev2): New test.
2565         (tf_preadv2): Likewise.
2566         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
2567         * sysdeps/posix/preadv2.c: Likewise.
2568         * sysdeps/posix/preadv64v2.c: Likewise.
2569         * sysdeps/posix/pwritev2.c: Likewise.
2570         * sysdeps/posix/pwritev64v2.c: Likewise.
2571         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
2572         support in kernel.
2573         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
2574         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
2575         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
2576         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
2577         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
2578         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2579         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2580         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2581         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
2582         support flags on Linux.
2583         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
2584         preadv2, preadv64v2, pwritev2, pwritev64v2.
2585         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
2586         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
2587         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
2588         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
2589         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
2590         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
2591         Likewise.
2592         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
2593         Likewise.
2594         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
2595         Likewise.
2596         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
2597         Likewise.
2598         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
2599         Likewise.
2600         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
2601         Likewise.
2602         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
2603         Likewise.
2604         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
2605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2606         (GLIBC_2.26): Likewise.
2607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2608         (GLIBC_2.26): Likewise.
2609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
2610         Likewise.
2611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2612         (GLIBC_2.26): Likewise.
2613         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
2614         Likewise.
2615         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
2616         Likewise.
2617         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
2618         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
2619         Likewise.
2620         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
2621         Likewise.
2622         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
2623         Likewise.
2624         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
2625         Likewise.
2626         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
2627         Likewise.
2628         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
2629         Likewise.
2630         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
2631         Likewise.
2633 2017-05-31  Andreas Schwab  <schwab@suse.de>
2635         * nptl/tst-fork3.c: Include <support/test-driver.c>.
2636         (main): Rename to do_test and make static.
2638 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2640         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
2641         ARCH_INIT_CPU_FEATURES.
2642         (LIBC_START_MAIN): Call it.
2643         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
2644         (__libc_start_main): Remove.
2645         (ARCH_INIT_CPU_FEATURES): New macro.
2646         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
2647         (ARCH_INIT_CPU_FEATURES): New macro.
2649 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
2650             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2652         * include/stdlib.h (__libc_reallocarray): New declaration.
2653         * malloc/Makefile (routines): Add reallocarray.
2654         (tests): Add tst-reallocarray.c.
2655         * malloc/Versions: Add reallocarray and __libc_reallocarray.
2656         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
2657         function.
2658         * malloc/malloc.h (reallocarray): New declaration.
2659         * stdlib/stdlib.h (reallocarray): Likewise.
2660         * malloc/reallocarray.c: New file.
2661         * malloc/tst-reallocarray.c: New test file.
2662         * manual/memory.texi: Document reallocarray.
2663         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
2664         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2665         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2666         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2667         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2668         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2669         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2670         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2671         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2672         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2673         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2674         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2675         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2676         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2678         Likewise.
2679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2680         Likewise.
2681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2683         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2684         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2685         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2686         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2687         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2690         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
2691         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2692         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2694 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
2696         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
2697         the lower 32 bits.
2699 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
2701         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
2702         $(build-pie-default) = yes]: Define.
2704 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2706         * string/test-memchr.c (test_main): Add tests for n == 0.
2708 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2710         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
2711         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
2712         (tests-internal): ... here.
2714 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
2715              H.J. Lu  <hongjiu.lu@intel.com>
2717         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
2718         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
2719         (__tunable_set_val): Likewise.
2721 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2723         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
2724         dl-tunables.list in subdirectories.
2726 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2727             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2728             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2730         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2731         (SNANF128): New macro.
2732         * math/e_sqrtf128.c: New file.
2733         * math/s_fmaxmag_template.c: Include math_private.h in order to
2734         make inline expansion of fabs128().
2735         * math/s_fminmag_template.c: Likewise.
2737         * sysdeps/ieee754/float128/e_acosf128.c: New file.
2738         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
2739         * sysdeps/ieee754/float128/e_asinf128.c: New file.
2740         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
2741         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
2742         * sysdeps/ieee754/float128/e_coshf128.c: New file.
2743         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
2744         * sysdeps/ieee754/float128/e_expf128.c: New file.
2745         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
2746         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
2747         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
2748         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
2749         * sysdeps/ieee754/float128/e_j0f128.c: New file.
2750         * sysdeps/ieee754/float128/e_j1f128.c: New file.
2751         * sysdeps/ieee754/float128/e_jnf128.c: New file.
2752         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
2753         * sysdeps/ieee754/float128/e_log10f128.c: New file.
2754         * sysdeps/ieee754/float128/e_log2f128.c: New file.
2755         * sysdeps/ieee754/float128/e_logf128.c: New file.
2756         * sysdeps/ieee754/float128/e_powf128.c: New file.
2757         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
2758         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
2759         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
2760         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
2761         * sysdeps/ieee754/float128/float128_private.h: New file.
2762         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
2763         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
2764         * sysdeps/ieee754/float128/k_cosf128.c: New file.
2765         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
2766         * sysdeps/ieee754/float128/k_sinf128.c: New file.
2767         * sysdeps/ieee754/float128/k_tanf128.c: New file.
2768         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
2769         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
2770         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
2771         * sysdeps/ieee754/float128/s_atanf128.c: New file.
2772         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
2773         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
2774         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
2775         * sysdeps/ieee754/float128/s_cosf128.c: New file.
2776         * sysdeps/ieee754/float128/s_erff128.c: New file.
2777         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
2778         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
2779         * sysdeps/ieee754/float128/s_finitef128.c: New file.
2780         * sysdeps/ieee754/float128/s_floorf128.c: New file.
2781         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
2782         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
2783         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
2784         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
2785         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
2786         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
2787         * sysdeps/ieee754/float128/s_isinff128.c: New file.
2788         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
2789         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
2790         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
2791         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
2792         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
2793         * sysdeps/ieee754/float128/s_logbf128.c: New file.
2794         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
2795         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
2796         * sysdeps/ieee754/float128/s_modff128.c: New file.
2797         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
2798         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
2799         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
2800         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
2801         * sysdeps/ieee754/float128/s_remquof128.c: New file.
2802         * sysdeps/ieee754/float128/s_rintf128.c: New file.
2803         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
2804         * sysdeps/ieee754/float128/s_roundf128.c: New file.
2805         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
2806         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
2807         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
2808         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
2809         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
2810         * sysdeps/ieee754/float128/s_significandf128.c: New file.
2811         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
2812         * sysdeps/ieee754/float128/s_sinf128.c: New file.
2813         * sysdeps/ieee754/float128/s_tanf128.c: New file.
2814         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
2815         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
2816         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
2817         * sysdeps/ieee754/float128/s_truncf128.c: New file.
2818         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
2819         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
2820         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
2821         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
2823         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
2824         (__iscanonicalf128): Define as a macro.
2826 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2828         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
2829         (memmove): Use MEMMOVE for name.
2830         (memcpy): Use MEMCPY for name.  Change internal labels
2831         to external labels.
2832         * sysdeps/aarch64/multiarch/Makefile: New file.
2833         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
2834         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
2835         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
2836         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
2837         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
2838         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
2840 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2842         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2843         (_dl_arm_cap_flags): Fix array subscript.
2844         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2845         Fix count.
2847 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2849         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
2851 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2853         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
2854         (is_amd): Likewise.
2855         (max_cpuid): Likewise.
2856         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
2857         (init_cacheinfo): Likewise.
2859 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
2861         [BZ #21511]
2862         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
2863         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
2864         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
2865         !__USE_XOPEN2K) || __USE_MISC].
2866         * conform/data/signal.h-data (struct sigstack): Expect type only
2867         if [!XOPEN2K8 && !POSIX2008].
2868         (sigstack): Expect function only if [XPG42 || UNIX98].
2870         [BZ #21457]
2871         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
2872         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2873         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2874         <bits/types/__sigset_t.h>.
2875         (ucontext_t): Use sigset_t instead of __sigset_t.
2876         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
2877         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2878         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2879         <bits/types/__sigset_t.h>.
2880         (ucontext_t): Use sigset_t instead of __sigset_t.
2881         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
2882         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2883         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2884         <bits/types/__sigset_t.h>.
2885         (ucontext_t): Use sigset_t instead of __sigset_t.
2886         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
2887         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2888         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2889         <bits/types/__sigset_t.h>.
2890         (ucontext_t): Use sigset_t instead of __sigset_t.
2891         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
2892         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2893         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2894         <bits/types/__sigset_t.h>.
2895         (ucontext_t): Use sigset_t instead of __sigset_t.
2896         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
2897         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2898         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2899         <bits/types/__sigset_t.h>.
2900         (ucontext_t): Use sigset_t instead of __sigset_t.
2901         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
2902         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2903         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2904         <bits/types/__sigset_t.h>.
2905         (ucontext_t): Use sigset_t instead of __sigset_t.
2906         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
2907         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2908         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2909         <bits/types/__sigset_t.h>.
2910         (ucontext_t): Use sigset_t instead of __sigset_t.
2911         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
2912         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2913         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2914         <bits/types/__sigset_t.h>.
2915         (ucontext_t): Use sigset_t instead of __sigset_t.
2916         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2917         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2918         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
2919         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
2920         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2921         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2922         <bits/types/__sigset_t.h>.
2923         (ucontext_t): Use sigset_t instead of __sigset_t.
2924         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
2925         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2926         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2927         <bits/types/__sigset_t.h>.
2928         (ucontext_t): Use sigset_t instead of __sigset_t.
2929         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
2930         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2931         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2932         <bits/types/__sigset_t.h>.
2933         (ucontext_t): Use sigset_t instead of __sigset_t.
2934         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
2935         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2936         <bits/ss_flags.h>.
2937         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
2938         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2939         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2940         <bits/types/__sigset_t.h>.
2941         (ucontext_t): Use sigset_t instead of __sigset_t.
2942         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
2943         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2944         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2945         <bits/types/__sigset_t.h>.
2946         (ucontext_t): Use sigset_t instead of __sigset_t.
2947         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
2948         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2949         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2950         <bits/types/__sigset_t.h>.
2951         (ucontext_t): Use sigset_t instead of __sigset_t.
2952         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
2953         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2954         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2955         <bits/types/__sigset_t.h>.
2956         (ucontext_t): Use sigset_t instead of __sigset_t.
2957         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
2958         <bits/types.h>.
2959         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
2960         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2961         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2962         <bits/types/__sigset_t.h>.
2963         (ucontext_t): Use sigset_t instead of __sigset_t.
2965 2017-05-22  Zack Weinberg  <zackw@panix.com>
2967         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2968         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
2969         bits/siginfo-arch.h, only if not already defined.
2970         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
2971         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
2972         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
2973         Likewise.
2975         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2976         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2977         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2978         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2979         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2980         Unconditionally define __SI_* macros.
2982 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2984         [BZ #21393]
2985         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
2986         and add a check for dup3 failure.
2987         * libio/freopen64.c (freopen64): Likewise.
2988         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
2989         libsupport.
2990         (do_test_bz21398): New test.
2991         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
2993 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2995         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
2996         Remove invalid comment.
2998 2017-05-21  Zack Weinberg  <zackw@panix.com>
3000         * signal/Makefile (headers): Add bits/types/sigval_t.h.
3002 2017-05-20  Zack Weinberg  <zackw@panix.com>
3004         * bits/sigevent-consts.h
3005         * bits/siginfo-consts.h
3006         * bits/types/__sigset_t.h
3007         * bits/types/sigevent_t.h
3008         * bits/types/siginfo_t.h
3009         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
3010         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
3011         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
3012         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
3013         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
3014         New system-dependent bits headers.
3016         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
3017         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
3018         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
3019         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
3020         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
3021         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3022         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
3023         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
3024         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
3025         New Linux-only system-dependent bits headers.
3027         * signal/bits/types/sig_atomic_t.h
3028         * signal/bits/types/sigset_t.h
3029         * signal/bits/types/sigval_t.h:
3030         New non-system-dependent bits headers.
3032         * sysdeps/generic/sigsetops.h
3033         * sysdeps/unix/sysv/linux/sigsetops.h:
3034         New internal headers.
3036         * include/bits/types/sig_atomic_t.h
3037         * include/bits/types/sigset_t.h
3038         * include/bits/types/sigval_t.h:
3039         New wrappers.
3041         * signal/sigsetops.h
3042         * bits/siginfo.h
3043         * bits/sigset.h
3044         * sysdeps/unix/sysv/linux/bits/siginfo.h
3045         * sysdeps/unix/sysv/linux/bits/sigset.h
3046         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
3047         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
3048         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
3049         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
3050         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
3051         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
3052         Deleted.
3054         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
3055         Update lists of installed headers.
3057         * posix/bits/types.h: Define __sig_atomic_t here.
3058         * signal/signal.h: Use the new bits headers; no need to handle
3059         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
3060         to define sigmask.
3061         * include/signal.h: No need to handle __need_sig_atomic_t
3062         nor __need_sigset_t.  Don't define __sigemptyset.
3064         * io/sys/poll.h, setjmp/setjmp.h
3065         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
3066         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
3067         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3068         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
3069         * sysdeps/pthread/bits/sigthread.h
3070         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3071         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3072         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3073         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3074         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3075         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3076         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3077         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3078         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3079         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3080         Use bits/types/__sigset_t.h.
3082         * misc/sys/select.h, posix/spawn.h
3083         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3084         * sysdeps/unix/sysv/linux/sys/epoll.h
3085         * sysdeps/unix/sysv/linux/sys/signalfd.h:
3086         Use bits/types/sigset_t.h.
3088         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
3089         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
3090         * socket/sys/socket.h: Don't include bits/sigset.h.
3092         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
3093         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
3094         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
3095         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
3096         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
3097         * sysdeps/unix/sysv/linux/nptl-signals.h:
3098         Include sigsetops.h.
3100         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
3101         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
3102         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
3103         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
3104         now return no value.
3106         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
3107         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
3108         "sigsetops.h".
3110         * signal/sigsetops.c: Explicitly define __sigismember,
3111         __sigaddset, and __sigdelset as compatibility symbols.
3113         * signal/Versions: Correct commentary on __sigpause,
3114         __sigaddset, __sigdelset, __sigismember.
3116         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
3117         __sigblock/__sigsetmask to use __sigprocmask and friends.
3119         * resolv/resolv.h: Remove __need_res_state logic.
3120         Move definition of res_state and related constants to ...
3121         * resolv/bits/types/res_state.h: ...this new file.
3122         * resolv/Makefile: Install bits/types/res_state.h.
3123         * include/bits/types/res_state.h: New wrapper.
3124         * include/list.h: Remove __need_list_t logic.
3125         Move definition of list_t to ...
3126         * include/list_t.h: ...this new file.
3128         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3129         instead of list.h and resolv.h.
3131         * resolv/resolv.h: Remove __need_res_state logic.
3132         Move definition of res_state and related constants to ...
3133         * resolv/bits/types/res_state.h: ...this new file.
3134         * resolv/Makefile: Install bits/types/res_state.h.
3135         * include/bits/types/res_state.h: New wrapper.
3136         * include/list.h: Remove __need_list_t logic.
3137         Move definition of list_t to ...
3138         * include/list_t.h: ...this new file.
3140         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3141         instead of list.h and resolv.h.
3143 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3145         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
3147 2017-05-20  Zack Weinberg  <zackw@panix.com>
3149         * sysdeps/arm/sysdep.h
3150         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
3152         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
3153         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
3154         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
3155         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
3156         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
3157         * sysdeps/arm/armv6t2/strlen.S
3158         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
3159         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
3160         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
3161         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
3162         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
3163         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
3165 2017-05-20  Zack Weinberg  <zackw@panix.com>
3167         Remove the NaCl port.
3168         * sysdeps/arm/nacl: Remove directory and contents.
3169         * sysdeps/nacl: Remove directory and contents.
3170         * abi-tags: Remove .*-.*-nacl.* entry.
3172 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
3174         * manual/errno.texi: Convert @comment-based errno documentation to
3175         @errno.
3176         * manual/macros.texi (@errno): New macro.  Consolidate errors,
3177         their values, and messages, adding the error string to the Concept
3178         Index.  Provide a warning in the comment about external (to the
3179         manual) dependencies.
3180         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
3181         * sysdeps/mach/hurd/errnos.awk: Likewise.
3183 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
3185         * bits/ss_flags.h: New file.
3186         * bits/types/stack_t.h: Likewise.
3187         * include/bits/types/struct_sigstack.h: Likewise.
3188         * signal/bits/types/struct_sigstack.h: Likewise.
3189         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
3190         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
3191         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
3192         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
3193         bits/types/stack_t.h and bits/ss_flags.h.
3194         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
3195         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
3196         <bits/ss_flags.h>.
3197         * bits/sigstack.h (struct sigstack): Remove.
3198         (stack_t): Likewise.
3199         (SS_ONSTACK): Likewise.
3200         (SS_DISABLE): Likewise.
3201         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3202         (struct sigstack): Likewise.
3203         (stack_t): Likewise.
3204         (SS_ONSTACK): Likewise.
3205         (SS_DISABLE): Likewise.
3206         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
3207         Likewise.
3208         (stack_t): Likewise.
3209         (SS_ONSTACK): Likewise.
3210         (SS_DISABLE): Likewise.
3211         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
3212         Likewise.
3213         (stack_t): Likewise.
3214         (SS_ONSTACK): Likewise.
3215         (SS_DISABLE): Likewise.
3216         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
3217         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
3218         Likewise.
3219         (stack_t): Likewise.
3220         (SS_ONSTACK): Likewise.
3221         (SS_DISABLE): Likewise.
3222         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3223         (struct sigstack): Likewise.
3224         (stack_t): Likewise.
3225         (SS_ONSTACK): Likewise.
3226         (SS_DISABLE): Likewise.
3227         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
3228         Likewise.
3229         (stack_t): Likewise.
3230         (SS_ONSTACK): Likewise.
3231         (SS_DISABLE): Likewise.
3232         * sysdeps/arm/sys/ucontext.h: Include
3233         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
3234         <bits/ss_flags.h>.
3235         * sysdeps/generic/sys/ucontext.h: Likewise.
3236         * sysdeps/i386/sys/ucontext.h: Likewise.
3237         * sysdeps/m68k/sys/ucontext.h: Likewise.
3238         * sysdeps/mips/sys/ucontext.h: Likewise.
3239         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
3240         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
3241         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
3242         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
3243         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
3244         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
3245         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
3246         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
3247         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
3248         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3249         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
3250         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
3251         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
3252         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
3253         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
3255 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3257         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
3258         "edx + ecx - 16" to avoid possible addition overflow.
3259         * sysdeps/x86_64/memchr.S (memchr): Likewise.
3261 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3263         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
3264         (CFLAGS-splice.c): Likewise.
3265         (CFLAGS-open_by_handle_at.c): Likewise.
3266         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
3267         (CFLAGS-splice.c): Likewise.
3268         (CFLAGS-open_by_handle_at.c): Likewise.
3270 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
3272         * scripts/versions.awk: Generate ldbl-compat-choose.h.
3273         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
3274         <ldbl-compat-choose.h>.
3275         (maybe_long_double_symbol): New macro.
3276         [!declare_mgen_alias] (declare_mgen_alias): Use
3277         maybe_long_double_symbol.
3278         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
3279         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
3280         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
3281         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
3282         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
3283         * Makerules [$(build-shared) = yes && !avoid-generated]
3284         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
3285         [$(build-shared) = yes && !avoid-generated]
3286         ($(common-objpfx)ldbl-compat-choose.h): New target.
3288         * scripts/versions.awk: Generate first-versions.h.
3289         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
3290         <first-versions.h>.
3291         (LDOUBLE_cabsl_libm_version): Remove macro.
3292         (LDOUBLE_cargl_libm_version): Likewise.
3293         (LDOUBLE_cimagl_libm_version): Likewise.
3294         (LDOUBLE_conjl_libm_version): Likewise.
3295         (LDOUBLE_creall_libm_version): Likewise.
3296         (LDOUBLE_cacosl_libm_version): Likewise.
3297         (LDOUBLE_cacoshl_libm_version): Likewise.
3298         (LDOUBLE_ccosl_libm_version): Likewise.
3299         (LDOUBLE_ccoshl_libm_version): Likewise.
3300         (LDOUBLE_casinl_libm_version): Likewise.
3301         (LDOUBLE_csinl_libm_version): Likewise.
3302         (LDOUBLE_casinhl_libm_version): Likewise.
3303         (LDOUBLE_csinhl_libm_version): Likewise.
3304         (LDOUBLE_catanl_libm_version): Likewise.
3305         (LDOUBLE_catanhl_libm_version): Likewise.
3306         (LDOUBLE_ctanl_libm_version): Likewise.
3307         (LDOUBLE_ctanhl_libm_version): Likewise.
3308         (LDOUBLE_cexpl_libm_version): Likewise.
3309         (LDOUBLE_clogl_libm_version): Likewise.
3310         (LDOUBLE_cprojl_libm_version): Likewise.
3311         (LDOUBLE_csqrtl_libm_version): Likewise.
3312         (LDOUBLE_cpowl_libm_version): Likewise.
3313         (LDOUBLE_clog10l_libm_version): Likewise.
3314         (LDOUBLE___clog10l_libm_version): Likewise.
3315         (LDOUBLE_fdiml_libm_version): Likewise.
3316         (LDOUBLE_fmaxl_libm_version): Likewise.
3317         (LDOUBLE_fminl_libm_version): Likewise.
3318         (LDOUBLE_ilogbl_libm_version): Likewise.
3319         (LDOUBLE_nanl_libm_version): Likewise.
3320         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
3321         FIRST_VERSION_libm_* macros.
3322         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
3323         * Makerules [$(build-shared) = yes && !avoid-generated]
3324         (before-compile): Add $(common-objpfx)first-versions.h.
3325         [$(build-shared) = yes && !avoid-generated]
3326         ($(common-objpfx)first-versions.h): New target.
3327         ($(common-objpfx)sysd-versions): Depend on and change to rule for
3328         building $(common-objpfx)versions.stmp.
3330 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3332         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
3333         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
3334         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
3335         auto-generation list.
3337         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
3338         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
3339         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
3340         from auto-generation list.
3342         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3343         open_by_handle_at.
3344         (CFLAGS-open_by_handle_at.c): New flag.
3345         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
3346         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
3347         file.
3348         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
3350         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
3351         (CFLAGS-splice.c): New flag.
3352         * sysdeps/unix/sysv/linux/splice.c: New file.
3353         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
3354         auto-generation syscall list.
3355         * misc/Makefile (CFLAGS-splice.c): New rule.
3357         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
3358         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
3359         auto-generation syscall list.
3360         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
3361         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
3363         * misc/Makefile (CFLAGS-fsync.c): New flag.
3364         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
3365         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
3366         syscall list.
3367         * sysdeps/unix/sysv/linux/fsync.c: New file.
3368         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
3369         (__errno_location): Remove.
3371         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
3372         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
3373         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
3374         list.
3375         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
3377         * misc/Makefile (CFLAGS-msync.c): New rule.
3378         * nptl/Makefile (CFLAGS-msync.c): Likewise.
3379         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
3380         * sysdeps/unix/sysv/linux/msync.c: New file.
3382         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
3383         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
3384         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
3385         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3386         (CFLAGS-sigsuspend.c): Remove rule.
3388         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
3389         (CFLAGS-tee.c): New rule.
3390         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
3391         auto-generated list.
3392         * sysdeps/unix/sysv/linux/tee.c: New file.
3394         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
3395         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
3396         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
3397         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
3398         auto-generated list.
3400         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
3401         auto-generated list.
3402         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
3403         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3404         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
3405         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3406         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
3408         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
3409         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
3410         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
3411         (__NR_pause): Undefine.
3412         * sysdeps/unix/sysv/linux/pause.c: New file.
3413         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
3414         auto-generation list.
3415         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
3416         Remove rule.
3417         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
3419 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3421         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
3422         comments.
3424 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3426         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
3427         LD_HWCAP_MASK.
3429 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
3431         * manual/conf.texi: Convert @tables of annotated @items to
3432         @vtables.
3433         * manual/lang.texi: Likewise.
3434         * manual/pattern.texi: Likewise.
3435         * manual/resource.texi: Likewise.
3436         * manual/socket.texi: Likewise.
3438 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
3440         * manual/crypt.texi: Move a comment out of an @*x list.
3441         * manual/filesys.texi: Refactor some comments, one of which looks
3442         like a standard.  Fix incorrectly separated standards.
3443         * manual/locale.texi: Invert an annotation.
3444         * manual/resource.texi: Fix incorrectly separated standards.
3445         * manual/time.texi: Refactor a @vtable that obscures an
3446         annotation.
3447         * manual/users.texi: Refactor multiple headers to occupy a single
3448         @comment.
3450 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3452         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3453         (sysdep_routines): Add memcmp-power8.
3454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3455         (memcmp): Add __memcmp_power8 to list of memcmp functions.
3456         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
3457         (memcmp): Add __memcmp_power8 to ifunc list.
3458         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
3459         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
3461 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3462             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3464         * math/math.h (__MATH_TG): Extend the conditions to add
3465         _Float128 support.
3466         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
3468 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
3470         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3471         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
3472         s_cosf-ppc64.
3473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
3474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
3475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
3476         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
3478 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3480         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
3481         (gen-libm-calls): Add e_exp2F to use the template.
3482         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
3483         * math/e_exp2_template.c: New file, renamed from
3484         math/e_exp2l.c, and made into a template.
3485         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
3487 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3489         * elf/dl-tunable-types.h (tunable_type_code_t): New type
3490         TUNABLE_TYPE_UINT_64.
3491         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
3492         Simplify computation of overflow.
3493         (tunable_set_val_if_valid_range_signed,
3494         tunable_set_val_if_valid_range_unsigned): Remove and replace
3495         with this...
3496         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
3497         (tunable_initialize): Adjust.  Add uint64_t support.
3498         (__tunable_set_val): Add uint64_t support.
3499         * README.tunables: Document it.
3501         * scripts/gen-tunables.awk: Recognize 'default' keyword in
3502         dl-tunables.list.
3503         * README.tunables: Document it.
3505 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3507         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
3508         * sysdeps/posix/preadv64.c: Likewise.
3509         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3510         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
3511         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
3512         * sysdeps/posix/pwritev64.c: Likewise.
3513         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3514         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
3515         * sysdeps/posix/preadv_common.c: New file.
3516         * sysdeps/posix/pwritev_common.c: Likewise.
3518 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3520         * sysdeps/generic/math-type-macros-float128.h
3521         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
3522         wrapper templates.
3524 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3525             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3527         * include/complex.h (__kernel_casinhf128): New declaration.
3528         * include/float.h: New file.
3529         * include/math.h (__finitef128): Add a hidden def.
3530         (__isinff128): Likewise.
3531         (__isnanf128): Likewise.
3532         (__fpclassify): Likewise.
3533         (__issignalling): Likewise.
3534         (__expf128): Likewise.
3535         (__expm1f128): Likewise.
3537         * sysdeps/generic/fix-fp-int-convert-overflow.h:
3538         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
3539         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
3541         * sysdeps/generic/math-type-macros-float128.h: New file.
3543         * sysdeps/generic/math_private.h: Include bits/floatn.h and
3544         math_private_calls.h for _Float128.
3545         (__isinff128): New inline implementation used when GCC < 7.0,
3546         since in this case __builtin_isinf_sign is broken.
3547         (fabsf128): New inline implementation that calls the builtin.
3548         (__EXPR_FLT128): New macro.
3549         (min_of_type): Optionally include _Float128 types too.
3551         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
3552         Declare for _Float128.
3553         (__kernel_rem_pio2): Likewise.
3555         * sysdeps/ieee754/ldbl-opt/s_sin.c:
3556         (__DECL_SIMD_sincos_disablef128): New macro.
3558 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3560         * math/math.h: Include bits/math-finite.h for float128.
3561         (__MATH_DECLARING_FLOATN): Define to control declaration of
3562         float128 functions.
3563         * math/bits/math-finite.h (pow10): Do not declare for float128.
3564         (gamma): Likewise.
3565         (scalb): Likewise.
3567 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3568             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3570         * bits/floatn.h: New file.
3571         * bits/huge_val_flt128.h: Likewise.
3573         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
3574         (__DECL_SIMD_sinf128): Likewise.
3575         (__DECL_SIMD_sincosf128): Likewise.
3576         (__DECL_SIMD_logf128): Likewise.
3577         (__DECL_SIMD_expf128): Likewise.
3578         (__DECL_SIMD_powf128): Likewise.
3580         * math/Makefile (headers): Install bits/floatn.h and
3581         bits/huge_val_flt128.h.
3583         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
3584         defined.
3586         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
3587         (isnan, gamma, nexttoward, scalb): Only define if not
3588         __MATH_DECLARING_FLOATN.
3589         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
3590         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
3591         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
3592         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
3594         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
3595         Include bits/cmathcalls.h to get the declarations of _Float128
3596         versions of complex functions.
3597         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
3598         Define macro.
3600         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
3601         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
3602         get the declarations of _Float128 versions of math functions.
3603         (__MATH_DECLARING_FLOATN): New macro to control declaration of
3604         _FloatN types.
3605         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
3606         is type-generic, so use it without __MATH_TG.
3607         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
3608         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
3609         _Float128 type and GCC < 7.0, otherwise use the builtin.
3610         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
3611         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
3612         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
3613         New _GNU_SOURCE enabled macros.
3615 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
3617         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
3618         (signbitf): Likewise.
3619         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
3620         Likewise.
3621         (signbitl): Likewise.
3622         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
3623         Likewise.
3624         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
3625         (signbitl): Likewise.
3626         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
3628 2017-05-12  Florian Weimer  <fweimer@redhat.com>
3630         [BZ #21386]
3631         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
3632         parent PID.  The assertion in the child is incorrect with PID
3633         namespaces.
3635 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
3637         * sysdeps/unix/sysv/linux/kernel-features.h
3638         (__ASSUME_STATFS_F_FLAGS): Remove macro.
3639         * sysdeps/unix/sysv/linux/internal_statvfs.c
3640         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
3642 2017-05-11  Zack Weinberg  <zackw@panix.com>
3644         * Makerules: New subdir configuration variables 'tests-internal'
3645         and 'test-internal-extras'.  Test files in these categories will
3646         still be compiled with MODULE_NAME=nonlib.  Test files in the
3647         existing categories (tests, xtests, test-srcs, test-extras) are
3648         now compiled with MODULE_NAME=testsuite.
3649         New subdir configuration variable 'modules-names-tests'.  Files
3650         which are in both 'modules-names' and 'modules-names-tests' will
3651         be compiled with MODULE_NAME=testsuite instead of
3652         MODULE_NAME=extramodules.
3653         (gen-as-const-headers): Move to tests-internal.
3654         (do-tests-clean, common-mostlyclean): Support tests-internal.
3655         * Makeconfig (built-modules): Add testsuite.
3656         * Makefile: Change libof-check-installed-headers-c and
3657         libof-check-installed-headers-cxx to 'testsuite'.
3658         * Rules: Likewise.  Support tests-internal.
3659         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
3660         Remove extra-modules.mk.
3662         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
3663         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
3664         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
3665         very top of the file and rationalize their order.
3666         If MODULE_NAME is not defined at all, define IS_IN to always be
3667         false, and don't define _ISOMAC.
3668         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
3669         true, define _ISOMAC and suppress everything else in this file,
3670         starting with the inclusion of config.h.
3671         Do check for inappropriate definitions of __OPTIMIZE__ and
3672         __FAST_MATH__ here, but only if _ISOMAC is not defined.
3673         Correct some out-of-date commentary.
3675         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
3676         and _Mlong_double_ before including math.h.
3677         * include/string.h: If _ISOMAC is defined, don't expose
3678         _STRING_ARCH_unaligned. Move a comment to a more appropriate
3679         location.
3681         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
3682         * include/time.h, include/unistd.h, include/wchar.h: No need to
3683         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
3685         * misc/sys/cdefs.h (__NTHNL): New macro.
3686         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
3687         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
3689         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
3690         defined, for HAVE_TUNABLES.
3691         * inet/tst-checks-posix.c: No need to define _ISOMAC.
3692         * intl/tst-gettext2.c: Provide own definition of N_.
3693         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
3694         * math/test-signgam-main.c: No need to define _ISOMAC.
3695         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
3696         * stdlib/tst-strtod1i.c: ...this new file.
3697         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
3698         Split tests of __strtod_internal to...
3699         * stdlib/tst-strtod5i.c: ...this new file.
3700         * string/test-string.h: Include stdint.h. Duplicate definition of
3701         inhibit_loop_to_libcall here (from libc-symbols.h).
3702         * string/test-strstr.c: Provide dummy definition of
3703         libc_hidden_builtin_def when including strstr.c.
3704         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
3705         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
3706         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3707         Don't include init-arch.h.
3708         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3709         Don't include init-arch.h.
3711         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
3712         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
3713         unload, unload2, circleload1, neededtest, neededtest2,
3714         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
3715         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
3716         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
3717         ifunc tests to tests-internal.
3718         Don't add $(modules-names) to test-extras.
3719         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
3720         Add tst-deadline to tests-static-internal.
3721         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
3722         tests-internal.
3723         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
3724         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
3725         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
3726         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
3727         tst-sem12-static, and tst-stackguard1-static to tests-internal.
3728         Link tests-internal with libpthread also.
3729         Don't add $(modules-names) to test-extras.
3730         * nss/Makefile: Move tst-field to tests-internal.
3731         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
3732         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
3733         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
3734         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
3735         tests-internal.
3736         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
3737         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
3738         test-get_hwcap-static to tests-internal.
3739         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
3740         tests-internal.
3741         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
3742         modules-names-tests.
3744 2017-05-11  Zack Weinberg  <zackw@panix.com>
3746         * libio/libio.h: Condition dummy definition of _IO_lock_t on
3747         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
3748         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
3749         _IO_funlockfile, and _IO_ftrylockfile.  Only define
3750         _IO_cleanup_region_start and _IO_cleanup_region_end if not
3751         already defined.
3752         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
3753         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
3754         appropriately.
3755         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
3756         Define _IO_lock_t_defined after defining _IO_lock_t.
3758 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3760         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
3761         void* for argument type and use VDSO_SYMBOL macro.
3762         (is_sigtramp_address_rt): Likewise.
3763         (__backtrace): Setup expected frame pointer address for signal
3764         handling.
3765         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
3766         void* for argumetn type and use VSDO_SYMBOL macro.
3767         (__backtrace): Setup expected frame pointer address for signal
3768         handling.
3770         * sysdeps/unix/sysv/linux/writev.c: New file.
3772         * sysdeps/unix/sysv/linux/readv.c: New file.
3774         * include/unistd.h (write): Add hidden proto.
3775         * io/Makefile (CFLAGS-write.c): New define.
3776         * nptl/Makefile (CFLAGS-write.c): Likewise.
3777         * sysdeps/unix/sysv/linux/write.c: New file.
3779         [BZ #21428]
3780         * include/unistd.h (read): Add hidden proto.
3781         * io/Makefile (CFLAGS-read.c): New define.
3782         * nptl/Makefile (CFLAGS-read.c): Likewise.
3783         * sysdeps/unix/sysv/linux/read.c: New file.
3785         * io/Makefile (CFLAGS-creat.c): New rule.
3786         (CFLAGS-creat64.c): Likewise.
3787         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
3788         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
3789         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
3790         * sysdeps/unix/sysv/linux/creat.c: New file.
3791         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
3792         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
3793         auto-generated list.
3794         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3796         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
3797         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
3798         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
3799         * sysdeps/unix/sysv/linux/open.c: New file.
3800         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
3801         iff __WORDSIZE != 64 and use __NR_openat when available.
3802         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
3803         from auto-generated list.
3805         * nptl/Makefile (CFLAGS-close.c): New flag.
3806         * sysdeps/unix/sysv/linux/close.c: New file.
3808 2017-05-11  DJ Delorie  <dj@redhat.com>
3810         * MAINTAINERS: New.  Points to wiki.
3812 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3814         * scripts/gen-tunables.awk: Add attribute_relro to
3815         tunable_list.
3817 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
3819         [BZ #21457]
3820         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
3821         (R1): Likewise.
3822         (R2): Likewise.
3823         (R3): Likewise.
3824         (R4): Likewise.
3825         (R5): Likewise.
3826         (R6): Likewise.
3827         (R7): Likewise.
3828         (R8): Likewise.
3829         (R9): Likewise.
3830         (R10): Likewise.
3831         (R11): Likewise.
3832         (R12): Likewise.
3833         (R13): Likewise.
3834         (R14): Likewise.
3835         (R15): Likewise.
3836         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
3837         (REG_FS): Likewise.
3838         (REG_ES): Likewise.
3839         (REG_DS): Likewise.
3840         (REG_EDI): Likewise.
3841         (REG_ESI): Likewise.
3842         (REG_EBP): Likewise.
3843         (REG_ESP): Likewise.
3844         (REG_EBX): Likewise.
3845         (REG_EDX): Likewise.
3846         (REG_ECX): Likewise.
3847         (REG_EAX): Likewise.
3848         (REG_TRAPNO): Likewise.
3849         (REG_ERR): Likewise.
3850         (REG_EIP): Likewise.
3851         (REG_CS): Likewise.
3852         (REG_EFL): Likewise.
3853         (REG_UESP): Likewise.
3854         (REG_SS): Likewise.
3855         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
3856         (R_D1): Likewise.
3857         (R_D2): Likewise.
3858         (R_D3): Likewise.
3859         (R_D4): Likewise.
3860         (R_D5): Likewise.
3861         (R_D6): Likewise.
3862         (R_D7): Likewise.
3863         (R_A0): Likewise.
3864         (R_A1): Likewise.
3865         (R_A2): Likewise.
3866         (R_A3): Likewise.
3867         (R_A4): Likewise.
3868         (R_A5): Likewise.
3869         (R_A6): Likewise.
3870         (R_A7): Likewise.
3871         (R_SP): Likewise.
3872         (R_PC): Likewise.
3873         (R_PS): Likewise.
3874         (fpregset_t): Likewise.
3875         (MCONTEXT_VERSION): Likewise.
3876         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
3877         (CTX_AT): Likewise.
3878         (CTX_V0): Likewise.
3879         (CTX_V1): Likewise.
3880         (CTX_A0): Likewise.
3881         (CTX_A1): Likewise.
3882         (CTX_A2): Likewise.
3883         (CTX_A3): Likewise.
3884         (CTX_T0): Likewise.
3885         (CTX_T1): Likewise.
3886         (CTX_T2): Likewise.
3887         (CTX_T3): Likewise.
3888         (CTX_T4): Likewise.
3889         (CTX_T5): Likewise.
3890         (CTX_T6): Likewise.
3891         (CTX_T7): Likewise.
3892         (CTX_S0): Likewise.
3893         (CTX_S1): Likewise.
3894         (CTX_S2): Likewise.
3895         (CTX_S3): Likewise.
3896         (CTX_S4): Likewise.
3897         (CTX_S5): Likewise.
3898         (CTX_S6): Likewise.
3899         (CTX_S7): Likewise.
3900         (CTX_T8): Likewise.
3901         (CTX_T9): Likewise.
3902         (CTX_K0): Likewise.
3903         (CTX_K1): Likewise.
3904         (CTX_GP): Likewise.
3905         (CTX_SP): Likewise.
3906         (CTX_S8): Likewise.
3907         (CTX_RA): Likewise.
3908         (CTX_MDLO): Likewise.
3909         (CTX_MDHI): Likewise.
3910         (CTX_CAUSE): Likewise.
3911         (CTX_EPC): Likewise.
3912         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
3913         inclusion of <sys/procfs.h> on [__USE_MISC].
3914         (greg_t): Condition on [__USE_MISC].
3915         (gregset_t): Likewise.
3916         (fpregset_t): Likewise.
3917         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
3918         (NGREG): Likewise.
3919         (gregset_t): Likewise.
3920         (REG_R0): Likewise.
3921         (REG_R1): Likewise.
3922         (REG_R2): Likewise.
3923         (REG_R3): Likewise.
3924         (REG_R4): Likewise.
3925         (REG_R5): Likewise.
3926         (REG_R6): Likewise.
3927         (REG_R7): Likewise.
3928         (REG_R8): Likewise.
3929         (REG_R9): Likewise.
3930         (REG_R10): Likewise.
3931         (REG_R11): Likewise.
3932         (REG_R12): Likewise.
3933         (REG_R13): Likewise.
3934         (REG_R14): Likewise.
3935         (REG_R15): Likewise.
3936         (struct _libc_fpstate): Likewise.
3937         (fpregset_t): Likewise.
3938         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
3939         (NFPREG): Likewise.
3940         (gregset_t): Likewise.
3941         (fpregset_t): Likewise.
3942         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
3943         (R_D1): Likewise.
3944         (R_D2): Likewise.
3945         (R_D3): Likewise.
3946         (R_D4): Likewise.
3947         (R_D5): Likewise.
3948         (R_D6): Likewise.
3949         (R_D7): Likewise.
3950         (R_A0): Likewise.
3951         (R_A1): Likewise.
3952         (R_A2): Likewise.
3953         (R_A3): Likewise.
3954         (R_A4): Likewise.
3955         (R_A5): Likewise.
3956         (R_A6): Likewise.
3957         (R_A7): Likewise.
3958         (R_SP): Likewise.
3959         (R_PC): Likewise.
3960         (R_PS): Likewise.
3961         (fpregset_t): Likewise.
3962         (MCONTEXT_VERSION): Likewise.
3963         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
3964         Likewise.
3965         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
3966         (REG_R1): Likewise.
3967         (REG_R2): Likewise.
3968         (REG_R3): Likewise.
3969         (REG_R4): Likewise.
3970         (REG_R5): Likewise.
3971         (REG_R6): Likewise.
3972         (REG_R7): Likewise.
3973         (REG_R8): Likewise.
3974         (REG_R9): Likewise.
3975         (REG_R10): Likewise.
3976         (REG_R11): Likewise.
3977         (REG_R12): Likewise.
3978         (REG_R13): Likewise.
3979         (REG_R14): Likewise.
3980         (REG_R15): Likewise.
3981         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
3982         of <arch/abi.h> on [__USE_MISC].
3983         (greg_t): Condition on [__USE_MISC].
3984         (NGREG): Likewise.
3985         (gregset_t): Likewise.
3987 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3989         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
3990         (__pthread_rwlock_arch_t): Remove __data definition.
3991         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
3992         (__pthread_rwlock_arch_t): Likewise.
3994 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3996         * resolv/inet_pton.c: Reformat in GNU style.  Remove
3997         internal_function on static functions.
3999 2017-05-11  Florian Weimer  <fweimer@redhat.com>
4001         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
4002         from format_ai_flags.
4003         (format_ai_flags): New function.  Incorporate flag formatting code
4004         from format_ai_one.
4005         (format_ai_canonname): New function.
4006         (format_ai_one): Remove flags parameter.
4007         (format_ai_family): Likewise.
4008         (support_format_addrinfo): Call format_ai_flags,
4009         format_ai_canonname.
4010         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
4011         check_ai.
4012         (check_ai): Call check_ai_hints.
4013         (do_test): Add AI_CANONNAME tests.
4015 2017-05-11  Florian Weimer  <fweimer@redhat.com>
4017         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
4018         (gaih_inet): Likewise.
4020 2017-05-10  Andreas Schwab  <schwab@suse.de>
4022         * nptl/tst-fork1.c: Include <support/test-driver.c>.
4023         (main): Rename to do_test and make static.
4025 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
4027         * string/rawmemchr.c: Include <libc-diag.h>.
4028         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
4029         with size (size_t)-1.
4031 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4033         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
4034         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4035         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4037         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
4038         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
4039         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
4040         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
4041         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
4042         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
4043         * sysdeps/unix/sysv/linux/kernel-features.h
4044         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
4045         socket syscalls.
4046         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4047         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4048         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4049         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
4050         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4051         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4052         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
4053         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4054         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4055         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4056         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4057         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4058         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4059         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4060         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4062 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4064         * posix/Makefile (headers): Add pthreadtypes-arch.h and
4065         thread-shared-types.h.
4066         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
4067         specific thread definition.
4068         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
4069         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
4070         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
4071         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
4072         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
4073         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
4074         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
4075         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
4076         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
4077         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
4078         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
4079         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
4080         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
4081         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
4082         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
4083         thread definition between POSIX and C11.
4084         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
4085         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
4086         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
4087         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
4088         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
4089         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
4090         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
4091         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
4092         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
4093         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
4094         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
4095         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
4096         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
4097         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
4098         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
4099         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
4100         definitions shared across all architectures.
4102 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4104         * sysdeps/unix/sysv/linux/kernel-features.h
4105         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
4106         (__ASSUME_SENDMMSG): Likewise.
4107         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
4108         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
4109         sendmmsg syscall if that can be assumed to be present, socketcall
4110         otherwise, with no fallback for runtime failure.
4112         * sysdeps/unix/sysv/linux/kernel-features.h
4113         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
4114         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
4115         (__ASSUME_RECVMMSG): Likewise.
4116         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
4117         recvmmsg syscall if it can be assumed to be present, socketcall
4118         otherwise, with no fallback for runtime failure.
4120 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4121             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4123         * bits/libc-header-start.h:
4124         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
4125         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
4126         * manual/creature.texi: Likewise.
4128 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4129             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4131         * math/Makefile:
4132         (type-float128-suffix): New variable
4133         (type-float128-routines): Likewise
4134         (type-float128-yes): Likewise
4135         (types): Append float128 if supported
4136         (types-basic): New variable to control the use of templates for
4137         float, double, and long double, but not for float128 or newer types.
4138         (type-basic-foreach): Likewise.
4140         * sysdeps/ieee754/float128/Makeconfig: New file.
4141         * sysdeps/ieee754/float128/Versions: New file.
4143 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4145         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
4146         Remove macro.
4147         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
4148         prlimit64 is always available and does not give an ENOSYS error.
4149         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
4150         unconditional.
4151         [!__NR_prlimit64]: Remove conditional code.
4152         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
4153         prlimit64 is always available and does not give an ENOSYS error.
4154         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
4156 2017-05-09  Zack Weinberg  <zackw@panix.com>
4158         * sunrpc/tst-xdrmem2.c: Include stdint.h.
4160 2017-05-09  Florian Weimer  <fweimer@redhat.com>
4162         [BZ #21474]
4163         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
4164         (__res_maybe_init): Likewise.
4166 2017-05-09  Zack Weinberg  <zackw@panix.com>
4168         * extra-modules.mk: Delete file.
4169         * cppflags-iterator.mk: Rename to ...
4170         * libof-iterator.mk: ...this.  Adjust comments.
4172         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
4173         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
4174         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
4175         Use libof-iterator.mk instead of cppflags-iterator.mk or
4176         extra-modules.mk.
4178         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
4179         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
4181 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4183         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4185 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
4187         * stdio-common/vfprintf.c (EXTSIZ): Define.
4188         (vfprintf): Use EXTSIZ.
4189         (printf_positional): Likewise.
4191 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
4193         * sysdeps/unix/sysv/linux/kernel-features.h
4194         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
4195         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
4196         <kernel-features.h>.
4197         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
4199         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4200         (__ASSUME_GETCPU_SYSCALL): Remove macro.
4202 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4204         Prevent multiple deletion of temporary files.
4205         * support/temp_file.c (struct temp_name_list): Add owner member.
4206         (add_temp_file): Record owner.
4207         (support_delete_temp_files): Delete file only if owner matches.
4208         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
4209         (do_prepare): Use create_temp_file instead of add_temp_file.
4210         Initialize temp_fd1, temp_fd2.
4211         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
4212         framework remove the temporary files.
4213         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
4214         (do_prepare): Use create_temp_file instead of add_temp_file.
4215         Initialize temp_fd1, temp_fd2, temp_fd3.
4216         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
4217         the test framework remove the temporary files.
4218         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
4219         deletion.
4220         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
4221         temporary directory.  It is removed by the test framework.
4222         * dirent/tst-scandir.c (do_test): Likewise.
4224 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4226         Delete temporary files in LIFO order.
4227         * support/temp_file.c (struct temp_name_list): Replace q member
4228         with next.
4229         (add_temp_file): Add new file to front of linked list.
4230         (support_delete_temp_files): Use next member.
4231         (support_print_temp_files): Likewise.
4233 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4235         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4236         sys/ultrasound.h.
4237         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
4239 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
4241         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4242         Remove.
4243         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4244         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4245         (arch_minimum_kernel): Remove.
4246         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4247         * README: Update statement about Linux kernel requirements.
4249 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4251         * manual/llio.texi: Add preadv and pwritev documentation.
4253 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
4255         [BZ #21455]
4256         * bits/stdint-intn.h: New file.
4257         * bits/stdint-uintn.h: Likewise.
4258         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
4259         bits/stdint-uintn.h.
4260         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
4261         <stdint.h>.
4262         * posix/sys/types.h: Include <bits/stdint-intn.h>.
4263         (__int8_t_defined): Do not define here.
4264         (int8_t): Likewise.
4265         (int16_t): Likewise.
4266         (int32_t): Likewise.
4267         (int64_t): Likewise.
4268         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
4269         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
4270         <stdint.h>.
4271         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
4272         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
4273         <bits/stdint-uintn.h>.
4274         (int8_t): Do not define here.
4275         (int16_t): Likewise.
4276         (int32_t): Likewise.
4277         (int64_t): Likewise.
4278         (uint8_t): Likewise.
4279         (uint16_t): Likewise.
4280         (uint32_t): Likewise.
4281         (uint64_t): Likewise.
4282         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
4283         variable.
4284         (test-xfail-XPG42/netdb.h/conform): Likewise.
4285         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
4286         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4287         (test-xfail-UNIX98/netdb.h/conform): Likewise.
4288         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4290 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4292         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
4293         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
4294         the above.
4295         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4296         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4298 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
4300         [BZ #21445]
4301         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
4303         [BZ #21457]
4304         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4305         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
4306         __glibc_reserved1.
4307         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
4308         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
4309         (struct _fpxreg): Likewise.
4310         [!__x86_64__] (struct _fpstate): Rename field reserved to
4311         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
4312         [__x86_64__] (struct _fpstate): Rename field padding to
4313         __glibc_reserved1.
4314         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
4315         Rename field reserved2 to __glibc_reserved2.
4316         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
4317         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
4318         __glibc_reserved1.
4319         [__x86_64__] (struct _libc_fpstate): Rename field padding to
4320         __glibc_reserved1.
4322 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4324         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
4325         variable name.
4327 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
4329         [BZ #21391]
4330         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
4331         Only call init_cpu_features.
4332         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
4333         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4334         * sysdeps/i386/dl-procinfo.h: Removed.
4335         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
4336         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
4337         <sysdeps/x86/dl-procinfo.h>.
4338         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
4339         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
4340         Include <sysdeps/x86/dl-procinfo.h> instead of
4341          <sysdeps/generic/dl-procinfo.h>.
4342         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
4343         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
4344         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
4345         (bit_cpu_MOVBE): Likewise.
4346         (bit_cpu_BMI1): Likewise.
4347         (bit_cpu_BMI2): Likewise.
4348         (index_cpu_BMI1): Likewise.
4349         (index_cpu_BMI2): Likewise.
4350         (index_cpu_LZCNT): Likewise.
4351         (index_cpu_MOVBE): Likewise.
4352         (index_cpu_POPCNT): Likewise.
4353         (reg_BMI1): Likewise.
4354         (reg_BMI2): Likewise.
4355         (reg_LZCNT): Likewise.
4356         (reg_MOVBE): Likewise.
4357         (reg_POPCNT): Likewise.
4358         * sysdeps/x86/dl-hwcap.h: New file.
4359         * sysdeps/x86/dl-procinfo.h: Likewise.
4360         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
4361         (_dl_x86_platforms): Likewise.
4363 2017-05-03  DJ Delorie  <dj@redhat.com>
4365         [BZ #21411]
4366         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
4368 2017-05-03  Phil Blundell  <pb@pbcl.net>
4370         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
4371         comments.
4373 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
4375         [BZ #20116]
4376         * nptl/pthread_create.c: Expand comments to describe
4377         semaphore-like and mutex-like uses of PD->lock.
4379 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4381         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
4382         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
4383         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
4384         auto-generation list.
4385         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4386         epoll_wait.
4387         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
4388         Remove epoll_wait.
4390         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
4391         osf_select.
4392         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
4393         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
4394         osf_select from auto-generation list.
4395         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4396         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4397         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
4398         * sysdeps/unix/sysv/linux/select.c: New file.
4400         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
4401         * sysdeps/unix/sysv/linux/poll.c: New file.
4402         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
4403         auto-generation list.
4405 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
4407         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
4408         New macro.
4410 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
4412         [BZ #21179]
4413         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
4414         R_SPARC_REGISTER relocations.
4416 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4418         * include/unistd.h (__pread): Add libc_hidden_proto.
4419         (__pread64): Likewise.
4420         (__pwrite): Likewise.
4421         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
4422         (__pread64): Remove.
4423         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
4424         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
4425         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
4427 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4431 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4433         * nptl/tst-cancel4-common.c: Use libsupport.
4434         * nptl/tst-cancel4-common.h: Likewise.
4435         * nptl/tst-cancel4.c (tf_read): Likewise.
4436         (tf_readv): Likewise.
4437         (tf_write): Likewise.
4438         (tf_writev): Likewise.
4439         (tf_sleep): Likewise.
4440         (tf_usleep): Likewise.
4441         (tf_nanosleep): Likewise.
4442         (tf_select): Likewise.
4443         (tf_pselect): Likewise.
4444         (tf_poll): Likewise.
4445         (tf_ppoll): Likewise.
4446         (tf_wait): Likewise.
4447         (tf_waitpid): Likewise.
4448         (tf_waitid): Likewise.
4449         (tf_sigpause): Likewise.
4450         (tf_sigsuspend): Likewise.
4451         (tf_sigwait): Likewise.
4452         (tf_sigwaitinfo): Likewise.
4453         (tf_sigtimedwait): Likewise.
4454         (tf_pause): Likewise.
4455         (tf_accept): Likewise.
4456         (tf_send): Likewise.
4457         (tf_recv): Likewise.
4458         (tf_recvfrom): Likewise.
4459         (tf_recvmsg): Likewise.
4460         (tf_open): Likewise.
4461         (tf_close): Likewise.
4462         (tf_pread): Likewise.
4463         (tf_pwrite): Likewise.
4464         (tf_preadv): Likewise.
4465         (tf_pwritev): Likewise.
4466         (tf_fsync): Likewise.
4467         (tf_fdatasync): Likewise.
4468         (tf_msync): Likewise.
4469         (tf_sendto): Likewise.
4470         (tf_sendmsg): Likewise.
4471         (tf_creat): Likewise.
4472         (tf_connect): Likewise.
4473         (tf_tcdrain): Likewise.
4474         (tf_msgrcv): Likewise.
4475         (tf_msgsnd): Likewise.
4476         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
4477         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
4479         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
4480         expected arguments.
4481         (do_test): Adapt to use libsupport.
4483 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
4485         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
4487         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
4488         (PF_MAX): Set to 44.
4489         (AF_SMC): New macro.
4491         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4492         kernel version to 4.11.
4494 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4496         [BZ #21280]
4497         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
4498         signal of subnormals and adjust the exponent of power of 2 down
4499         when low part has opposite sign.
4501 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4503         * sysdeps/powerpc/powerpc64le/Implies: New file.
4504         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
4505         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
4506         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
4507         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
4508         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
4509         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
4510         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
4511         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
4512         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
4513         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
4514         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
4515         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
4516         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
4517         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
4518         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
4519         * sysdeps/powerpc/preconfigure: New file.
4520         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
4521         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
4523 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
4525         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
4526         inclusion.
4527         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
4528         Remove.
4530 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
4532         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
4533         (XPG3): Rename standard to XPG4.
4534         * conform/Makefile: Likewise.
4535         * conform/list-header-symbols.pl: Likewise.
4536         * conform/data/aio.h-data: Likewise.
4537         * conform/data/arpa/inet.h-data: Likewise.
4538         * conform/data/complex.h-data: Likewise.
4539         * conform/data/ctype.h-data: Likewise.
4540         * conform/data/dlfcn.h-data: Likewise.
4541         * conform/data/fcntl.h-data: Likewise.
4542         * conform/data/fenv.h-data: Likewise.
4543         * conform/data/float.h-data: Likewise.
4544         * conform/data/fmtmsg.h-data: Likewise.
4545         * conform/data/ftw.h-data: Likewise.
4546         * conform/data/grp.h-data: Likewise.
4547         * conform/data/inttypes.h-data: Likewise.
4548         * conform/data/iso646.h-data: Likewise.
4549         * conform/data/langinfo.h-data: Likewise.
4550         * conform/data/libgen.h-data: Likewise.
4551         * conform/data/limits.h-data: Likewise.
4552         * conform/data/locale.h-data: Likewise.
4553         * conform/data/math.h-data: Likewise.
4554         * conform/data/mqueue.h-data: Likewise.
4555         * conform/data/ndbm.h-data: Likewise.
4556         * conform/data/net/if.h-data: Likewise.
4557         * conform/data/netdb.h-data: Likewise.
4558         * conform/data/netinet/in.h-data: Likewise.
4559         * conform/data/poll.h-data: Likewise.
4560         * conform/data/pthread.h-data: Likewise.
4561         * conform/data/pwd.h-data: Likewise.
4562         * conform/data/sched.h-data: Likewise.
4563         * conform/data/search.h-data: Likewise.
4564         * conform/data/semaphore.h-data: Likewise.
4565         * conform/data/signal.h-data: Likewise.
4566         * conform/data/spawn.h-data: Likewise.
4567         * conform/data/stdbool.h-data: Likewise.
4568         * conform/data/stdint.h-data: Likewise.
4569         * conform/data/stdio.h-data: Likewise.
4570         * conform/data/stdlib.h-data: Likewise.
4571         * conform/data/string.h-data: Likewise.
4572         * conform/data/strings.h-data: Likewise.
4573         * conform/data/stropts.h-data: Likewise.
4574         * conform/data/sys/mman.h-data: Likewise.
4575         * conform/data/sys/resource.h-data: Likewise.
4576         * conform/data/sys/select.h-data: Likewise.
4577         * conform/data/sys/socket.h-data: Likewise.
4578         * conform/data/sys/stat.h-data: Likewise.
4579         * conform/data/sys/statvfs.h-data: Likewise.
4580         * conform/data/sys/time.h-data: Likewise.
4581         * conform/data/sys/timeb.h-data: Likewise.
4582         * conform/data/sys/types.h-data: Likewise.
4583         * conform/data/sys/uio.h-data: Likewise.
4584         * conform/data/sys/un.h-data: Likewise.
4585         * conform/data/sys/wait.h-data: Likewise.
4586         * conform/data/syslog.h-data: Likewise.
4587         * conform/data/termios.h-data: Likewise.
4588         * conform/data/tgmath.h-data: Likewise.
4589         * conform/data/time.h-data: Likewise.
4590         * conform/data/ucontext.h-data: Likewise.
4591         * conform/data/unistd.h-data: Likewise.
4592         * conform/data/utmpx.h-data: Likewise.
4593         * conform/data/varargs.h-data: Likewise.
4594         * conform/data/wchar.h-data: Likewise.
4595         * conform/data/wctype.h-data: Likewise.
4597 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
4599         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
4600         version to 7 branch.
4602 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
4604         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
4605         earlyclobber to output operand of sqrt insn.
4606         (__ieee754_sqrtf): Ditto.
4608 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
4610         [BZ #21426]
4611         * misc/bits/types/struct_iovec.h: New file.
4612         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
4613         * include/bits/types/struct_iovec.h: New file.
4614         * bits/uio.h (struct iovec): Replace by inclusion of
4615         <bits/types/struct_iovec.h>.
4616         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
4617         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
4618         of <sys/uio.h>.
4619         * nptl/tst-cancel4.c: Include <sys/uio.h>
4620         * posix/test-errno.c: Likewise.
4621         * support/resolv_test.c: Likewise.
4622         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
4623         Remove.
4624         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4625         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4626         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4628         * conform/data/sys/socket.h-data (*_t): Allow.
4630 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4632         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
4633         assignment.
4635 2017-04-24  Daurnimator  <quae@daurnimator.com>
4636             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4638         [BZ #21340]
4639         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
4640         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
4641         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
4642         valid flags.
4643         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
4644         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
4645         POSIX_SPAWN_SETSID.
4646         * sysdeps/posix/spawni.c (__spawni): Likewise.
4647         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4648         * NEWS: Add note about POSIX_SPAWN_SETSID support.
4650 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4652         * sysdeps/generic/math_private.h: Move the declaration of many
4653         functions to sysdeps/generic/math_private_calls.h.
4654         * sysdeps/generic/math_private_calls.h: New file with the
4655         declarations of the functions removed from math_private.h
4656         macroized by floating-point type.
4658 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4660         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
4661         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
4662         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4663         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4664         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4665         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4667 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4669         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
4670         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
4671         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
4672         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
4673         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
4674         New Define.
4676 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4678         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
4679         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
4680         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4681         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4682         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4683         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4685 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4687         * sysdeps/s390/multiarch/ifunc-resolve.h
4688         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
4689         * sysdeps/s390/multiarch/8bit-generic.c
4690         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
4691         define ifunc resolvers.
4693 2017-04-21  Florian Weimer  <fweimer@redhat.com>
4695         [BZ #20424]
4696         * manual/memory.texi (Replacing malloc): New section.
4697         (Allocating Storage For Program Data): Reference it.
4698         (The GNU Allocator): Likewise.
4700 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
4702         * stdlib/Versions (__strtod_internal): List explicitly, not as
4703         wildcard.
4704         (__strtof_internal): Likewise.
4705         (__strtold_internal): Likewise.
4706         (__strtol_internal): Likewise.
4707         (__strtoll_internal): Likewise.
4708         (__strtoul_internal): Likewise.
4709         (__strtoull_internal): Likewise.
4710         (__strtoq_internal): Likewise.
4711         (__strtouq_internal): Likewise.
4712         * wcsmbs/Versions (__wcstod_internal): Likewise.
4713         (__wcstof_internal): Likewise.
4714         (__wcstold_internal): Likewise.
4715         (__wcstol_internal): Likewise.
4716         (__wcstoll_internal): Likewise.
4717         (__wcstoul_internal): Likewise.
4718         (__wcstoull_internal): Likewise.
4720 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4722         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
4723         struct timespec definition.
4725 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4727         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
4729 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4731         * inet/rcmd.c (rresvport_af): Fix typo in comment.
4732         * inet/rexec.c (rexec_af): Likewise.
4734 2017-04-19  Zack Weinberg  <zackw@panix.com>
4736         * posix/tst-mmap-offset.c: Include stdint.h.
4737         * resolv/tst-ns_name_compress.c: Include string.h.
4738         * resolv/tst-resolv-edns.c: Include resolv.h.
4740 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4742         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
4743         with __glibc_likely.
4744         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
4745         Replace __builtin_expect with __glibc_unlikely.
4746         * resolv/res_init.c (__res_vinit): Likewise.
4747         * resolv/res_query.c (__libc_res_nquery): Likewise.
4748         * resolv/res_send.c (__libc_res_nsend): Likewise.
4750 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4752         [BZ #15722]
4753         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
4754         with SOCK_CLOEXEC.
4755         * resolv/res_send.c (send_vc, reopen): Likewise.
4756         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
4757         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
4758         Likewise.
4759         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
4760         * inet/rexec.c (rexec_af): Add comment.
4761         * inet/rcmd.c (rresvport_af): Likewise.
4763 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4765         * nscd/connections.c (have_accept4): Removed definition.
4766         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
4767         accept4 works.
4768         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
4769         ia64 because that was the first version with accept4 support.
4770         * support/Makefile (libsupport-routines): Add xaccept4.
4771         * support/xsocket.h (xaccept4): Declare.
4772         * support/xaccept4.c: New file.
4773         * socket/tst-accept4.c: New file.
4774         * socket/Makefile (tests): Add tst-accept4.
4775         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
4776         definition.
4777         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
4778         comment.
4779         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
4780         implementation is available.
4781         (accept4): Use the system call if available, otherwise use the
4782         socket call.
4783         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
4784         Set to 3.2.18.
4785         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4786         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
4787         accept4 is unconditionally available in later 3.2 stable kernels.
4788         (__ASSUME_ACCEPT4_SYSCALL): Define.
4789         * sysdeps/unix/sysv/linux/kernel-features.h
4790         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
4791         definitions.
4792         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4793         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
4795 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
4797         * conform/Makefile (tests-special): Do not make addition of
4798         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
4799         (generated): Do not make addition of $(conformtest-header-base)
4800         conditional on [$(cross-compiling) = no].
4802         [BZ #21267]
4803         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
4804         if defined by <asm/socket.h> and not previously defined.
4805         (IOCSIZE_SHIFT): Likewise.
4806         (IOC_IN): Likewise.
4807         (IOC_INOUT): Likewise.
4808         (IOC_OUT): Likewise.
4810 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4812         [BZ #21396]
4813         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4814         Prefer_No_AVX512 if AVX512ER isn't available.
4815         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
4816         (index_arch_Prefer_No_AVX512): Likewise.
4817         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
4818         AVX512 version if Prefer_No_AVX512 is set.
4819         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
4820         Likewise.
4821         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
4822         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
4823         Likewise.
4824         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4825         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
4826         Likewise.
4827         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
4828         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
4829         Likewise.
4831 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4833         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4834         Prefer_No_VZEROUPPER if AVX512ER is available.
4835         * sysdeps/x86/cpu-features.h
4836         (bit_cpu_AVX512PF): New.
4837         (bit_cpu_AVX512ER): Likewise.
4838         (bit_cpu_AVX512CD): Likewise.
4839         (bit_cpu_AVX512BW): Likewise.
4840         (bit_cpu_AVX512VL): Likewise.
4841         (index_cpu_AVX512PF): Likewise.
4842         (index_cpu_AVX512ER): Likewise.
4843         (index_cpu_AVX512CD): Likewise.
4844         (index_cpu_AVX512BW): Likewise.
4845         (index_cpu_AVX512VL): Likewise.
4846         (reg_AVX512PF): Likewise.
4847         (reg_AVX512ER): Likewise.
4848         (reg_AVX512CD): Likewise.
4849         (reg_AVX512BW): Likewise.
4850         (reg_AVX512VL): Likewise.
4852 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4854         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
4855         O_CLOEXEC is defined.
4856         * include/fcntl.h (__have_o_cloexec): Remove declaration.
4857         * io/Makefile (aux): Remove.
4858         * io/have_o_cloexec.c: Remove file.
4859         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
4860         defined and works.
4861         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
4862         defined.
4863         * login/utmp_file.c (O_flags): Remove definition.
4864         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
4865         O_CLOEXEC works.
4866         (pututline_file): Likewise.
4867         * malloc/mtrace.c: Assume that O_CLOEXEC works.
4868         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
4869         definition.
4870         (internal_setgrent): Assume that O_CLOEXEC works.
4871         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
4872         Remove definition.
4873         (internal_setgrent): Assume that O_CLOEXEC works.
4874         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
4875         definition.
4876         (internal_setpwent): Assume that O_CLOEXEC works.
4877         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
4878         definition.
4879         (internal_setspent): Assume that O_CLOEXEC works.
4880         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
4881         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
4882         O_CLOEXEC is defined and works.
4883         * nss/Makefile (libnss_files-routines): Remove
4884         files-have_o_cloexec.
4885         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
4886         defined.
4887         * nss/nss_files/files-XXX.c (internal_setent): Assume that
4888         O_CLOEXEC is defined and works.
4889         * nss/nss_files/files-alias.c (internal_setent): Likewise.
4890         * nss/nss_files/files-have_o_cloexec.c: Remove.
4891         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
4892         defined.
4893         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
4894         and works.
4895         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
4896         definition.
4897         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
4898         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
4899         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
4900         (__opendirat, __opendir): Adjust opendir_oflags call.
4901         (check_have_o_cloexec): Remove.
4902         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
4903         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
4904         defined.
4905         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
4906         Remove definition.
4908 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4910         * include/unistd.h (__have_dup3): Remove declaration.
4911         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
4912         dup3 is available.
4913         * libio/freopen64.c (freopen64): Likewise.
4914         * socket/Makefile (aux): Remove have_sock_cloexec.
4915         * socket/have_sock_cloexec.c: Remove file.
4916         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
4917         definition.
4918         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
4919         Likewise.
4920         * sysdeps/nacl/kernel-features.h: Update comment.
4922 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4924         * include/unistd.h (__have_pipe2): Remove declaration.
4925         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
4926         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
4927         available.
4928         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
4929         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
4930         Remove definition.
4932 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4934         * malloc/malloc.c (cfree): Turn into compat symbol.
4935         (__cfree): Remove alias.
4936         * stdlib/stdlib.h (cfree): Remove declaration.
4937         * malloc/malloc.h (cfree): Likewise.
4938         * manual/memory.texi (Freeing after Malloc): Remove cfree.
4939         * malloc/Versions (GLIBC_2.26): Add.
4941 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4943         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4944         (sysdep_routines): Add strrchr-power8.
4945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4946         (strrchr): Add __strrchr_power8 to list of strrchr functions.
4947         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
4948         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
4949         (strrchr): Add __strrchr_power8 to ifunc list.
4950         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
4952 2017-04-17  Rabin Vincent  <rabinv@axis.com>
4954         [BZ #21357]
4955         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
4956         Call free() outside of mutex.
4958 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4960         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
4961         is defined.
4962         * elf/rtld.c (process_envvars): Likewise.
4963         * sysdeps/posix/shm_open.c (shm_open): Likewise.
4964         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
4965         O_NOFOLLOW directly.
4966         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
4968 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4970         [BZ #21369]
4971         Remove EDNS fallback.
4972         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
4973         handling.
4974         * resolv/res_send.c (send_dg): Likewise.
4975         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
4976         "tcp." prefixes.
4977         (do_test): Send a "formerr."-prefixed query in an attempt to
4978         trigger EDNS fallback.
4980 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4982         [BZ #21361]
4983         Limit EDNS buffer size to 1200 bytes.
4984         * include/resolv.h (__res_nopt): Remove declaration.
4985         * resolv/Makefile (tests): tst-resolv-edns.
4986         (tst-resolv-edns): Link with -lresolv, -lpthread.
4987         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
4988         interval [512, 1200].
4989         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
4990         we can resize the buffer.
4991         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
4992         (__res_nopt): Declare.
4993         * resolv/tst-resolv-edns.c: New file.
4994         * resolv/resolv_test.h (struct resolv_edns_info): Define.
4995         (struct resolv_response_context): Add edns member.
4996         * resolv/resolv_test.c (struct query_info): Add edns member.
4997         (parse_query): Extract EDNS information from the query.
4998         (server_thread_udp_process_one): Propagate EDNS data.
4999         (server_thread_tcp_client): Likewise.
5001 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5003         [BZ #21359]
5004         * resolv/ns_name.c (ns_name_pack): Do not require an additional
5005         byte in the destination buffer.  Avoid out-of-bounds pointer
5006         arithmetic.
5007         * resolv/Makefile (tests): Add tst-ns_name_compress.
5008         (tst-ns_name_compress): Link with -lresolv.
5009         * resolv/tst-ns_name_compress.c: New file.
5010         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
5011         (response): Recognize LONG_NAME.
5012         (do_test): Add LONG_NAME tests.
5013         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
5014         for ns_name_unpack.  Add tests for ns_name_pton and
5015         ns_name_compress.
5017 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5019         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
5020         (res_nisourserver): Remove definition.
5021         (p_section, res_npquery, res_nisourserver): Remove declaration.
5022         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
5023         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
5024         ... here.
5025         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
5026         <resolv.h>.
5027         * resolv/res_query.c: Likewise.
5028         * resolv/res_debug.c (p_section): Define as static.
5030 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5032         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
5033         strncat-power8.
5034         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
5035         __strncat_power8 to ifunc list.
5036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5037         (strncat): Add __strncat_power8 to list of strncat functions.
5038         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
5040 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5042         [BZ #21270]
5043         * posix/tst-mmap-offset.c (do_prepare): New function.
5044         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
5045         (do_test_bz21270): New function.
5046         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
5047         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
5048         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
5049         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
5050         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
5051         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
5052         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
5053         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
5054         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
5055         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
5056         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
5057         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5058         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5059         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5060         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
5061         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
5062         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5063         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
5064         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
5065         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
5066         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
5067         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
5068         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
5069         from auto-generation list.
5070         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
5071         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5072         * sysdeps/unix/sysv/linux/mmap.c: New file.
5073         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
5074         offsets and support for mmap2 syscall.
5076         * posix/globtest.sh: Add cleanup routine on trap 0.
5078 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5080         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
5081         implementation-specific function name and remove unneeded
5082         macros definition.
5083         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
5084         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
5085         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
5086         name if not defined and pass as parameter to macros accordingly.
5087         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5088         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
5090         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
5091         implementation-specific function name and remove unneeded
5092         macros definition.
5093         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
5094         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
5095         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
5096         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
5097         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5098         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
5099         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
5100         name if not defined and pass as parameter to macros accordingly.
5101         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5102         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5103         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5104         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5105         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5106         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
5108         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
5109         implementation-specific function name and remove unneeded macros
5110         definition.
5111         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
5112         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
5113         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
5114         function name if not defined and pass as parameter to macros
5115         accordingly.
5116         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5117         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
5119         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
5120         implementation-specific function name and remove unneeded macros
5121         definition.
5122         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5123         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5124         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
5125         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5126         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
5127         not defined and pass as parameter to macros accordingly.
5128         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5129         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5130         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5131         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
5133         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
5134         strcasestr implementation name and remove unneeded macros definition.
5135         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
5136         strstr implementation name and remove unneeded macros definition.
5137         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
5138         name if not defined and pass as parameter to macros accordingly.
5139         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
5141         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
5142         implementation-specific function name and remove unneeded macros
5143         definition.
5144         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
5145         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
5146         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
5147         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
5148         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
5149         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
5150         function name if not defined and pass as parameter to macros
5151         accordingly.
5152         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
5153         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
5154         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
5155         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
5157         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
5158         the strlen implementation name and remove unneeded macros definition.
5159         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
5160         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5161         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
5162         the strnlen implementation name and remove unneeded macros definition.
5163         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
5164         name if not defined and pass as parameter to macros accordingly.
5165         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
5166         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
5167         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5169         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
5170         the implementation-specific function name and remove unneeded
5171         macros definition.
5172         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
5173         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
5174         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5175         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5176         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
5177         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
5178         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5179         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5180         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5181         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
5182         name if not defined and pass as parameter to macros accordingly.
5183         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
5184         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5185         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
5186         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
5187         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5188         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
5189         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
5190         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5192         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
5193         implementation-specific function name and remove unneeded macros
5194         definition.
5195         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
5196         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
5197         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
5198         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
5199         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
5200         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
5201         function name if not defined.
5202         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
5203         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
5205 2017-04-11  Paul Clarke  <pc@us.ibm.com>
5207         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
5208         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
5209         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
5210         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
5212 2017-04-11  Florian Weimer  <fweimer@redhat.com>
5213             Zack Weinberg  <zackw@panix.com>
5215         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
5216         readdir64 as thread-safe.  Update warning about readdir_r.
5218 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5220         * sysdeps/unix/sysv/linux/x86/Implies: New file.
5221         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
5222         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
5223         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
5224         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
5225         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
5226         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5228 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
5230         * sysdeps/i386/dl-procinfo.c: Include
5231         <sysdeps/x86/dl-procinfo.c>.
5232         * sysdeps/x86_64/dl-procinfo.c: Likewise.
5233         * sysdeps/x86/dl-procinfo.c: New file.
5235 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5237         * sysdeps/generic/math_private.h: Remove declarations of
5238         many functions that are already declared in math.h.
5239         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
5240         declaration for __frexpl.
5241         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
5242         the declarations for __scalbnl and fabsl.
5244 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
5246         [BZ #20831]
5247         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
5248         of __mprotect to change protection on the excess portion
5249         to disallow all access.
5251 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
5253         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
5254         HAS_CPU_FEATURE to check for SSE.
5255         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5256         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
5257         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
5258         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
5259         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
5260         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
5261         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
5262         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
5263         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5264         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
5265         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5266         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
5267         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
5268         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
5269         (index_cpu_SSE): Likewise.
5270         (reg_SSE): Likewise.
5272 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
5274         * posix/getopt1.c: Include <config.h>, not "config.h".
5276 2017-04-07  Zack Weinberg  <zackw@panix.com>
5278         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
5279         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
5280         Mention in top-of-file boilerplate that these files are shared
5281         with gnulib.
5282         * posix/getopt.h, posix/bits/getopt_posix.h:
5283         Mention in top-of-file boilerplate that these files are NOT shared
5284         with gnulib, unlike the rest of the getopt implementation.
5286         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
5287         New files, intended to be shared with gnulib.
5288         * posix/bits/getopt_posix.h:
5289         New file, not intended to be shared with gnulib.
5290         * posix/getopt.h: Now just includes features.h,
5291         bits/getopt_core.h, and bits/getopt_ext.h.  Will
5292         no longer be shared with gnulib.
5293         * include/bits/getopt_core.h, include/bits/getopt_ext.h
5294         * include/bits/getopt_posix.h: New wrappers.
5295         * posix/Makefile: Install new headers.
5296         * posix/unistd.h, libio/stdio.h:
5297         Include bits/getopt_posix.h instead of getopt.h.
5299         * include/libc-symbols.h: For gnulib compatibility, define
5300         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
5301         _GL_ATTRIBUTE_CONST.
5302         * posix/getopt.c (_getopt_initialize): Mark argc and argv
5303         parameters with _GL_UNUSED.
5305         * posix/getopt.c: When used standalone, define __libc_use_alloca
5306         as always false and alloca to abort if called.
5307         (process_long_option): Rewrite handling of ambiguous long options
5308         to use a single boolean vector, not a linked list; use
5309         __libc_use_alloca to decide whether to allocate this using alloca.
5310         * posix/tst-getopt_long1.c: Adjust text of expected error message.
5312         * posix/getopt.c (process_long_option): New function split out
5313         from _getopt_internal_r.
5314         (_getopt_internal_r): Replace both copies of the long-option
5315         processing code with calls to process_long_option.
5316         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
5317         (do_test): Differentiate argv[0] in the two subtests.
5319         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
5320         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
5321         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
5323         * posix/getopt.h: Add backup definition of __nonnull for
5324         consistency with gnulib.  Define __getopt_argv_const to const
5325         if not already defined.
5326         (getopt): Update doc comment from gnulib.  Prototype
5327         unconditionally.  Add __nonnull annotation.
5328         (__posix_getopt): Add __nonnull annotation.
5329         (getopt_long, getopt_long_only): Use __getopt_argv_const in
5330         prototypes for consistency with gnulib.  Add __nonnull
5331         annotations.
5332         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
5333         (getopt_internal): Change 'argv' argument to type 'char **'.
5334         Remove now-unnecessary casts.
5335         (getopt, __posix_getopt): Eliminate repetition with a macro.
5336         Cast 'argv' to 'char **' when calling _getopt_internal.
5337         * posix/getopt1.c (getopt_long, getopt_long_only):
5338         Use __getopt_argv_const for consistency with gnulib.
5339         Cast 'argv' to 'char **' when calling _getopt_internal.
5340         (_getopt_long_r, _getopt_long_only_r):
5341         Change 'argv' argument to type 'char **'.
5342         (main): Constify 'long_options'.
5343         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
5344         (_getopt_long_r, _getopt_long_only_r):
5345         Change 'argv' argument to type 'char **'.
5347         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
5348         (locked_vfxprintf): New helper function. Handle arbitrary
5349         multibyte strings, not just ASCII.
5350         * include/stdio.h: Declare __fxprintf_nocancel.
5351         * posix/getopt.c: When _LIBC is defined, define fprintf to
5352         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
5353         to _IO_funlockfile.  When neither _LIBC nor
5354         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
5355         funlockfile as no-ops.
5356         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
5357         the standalone error-printing code can now be used for libc as
5358         well.  Add an flockfile/funlockfile pair around one case where
5359         the error message is printed in several chunks.  Don't use fputc.
5360         * posix/tst-getopt-cancel.c: New test.
5361         * posix/Makefile: Run it.
5363         * posix/getopt.c (_getopt_internal_r): Don't increment
5364         d->optind a second time when reporting ambiguous -W options.
5366         * posix/getopt_int.h: Include getopt.h.
5367         Use impl-namespace names for all arguments to _getopt_internal and
5368         _getopt_internal_r.
5369         Declare __ordering enum outside the struct.
5370         Harmonize comments with gnulib.
5371         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
5372         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
5373         #ifdef TEST block and make unconditional.  Do not define NULL.
5374         * posix/getopt.c: Partial merge from gnulib, covering the
5375         initial includes and global declarations, commentary, and
5376         a couple of semantically-neutral code changes.
5378         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
5379         Use '...' instead of `...' for quotation marks inside
5380         comments and strings.
5382         * config.h.in (USE_NONOPTION_FLAGS): Remove.
5383         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
5384         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5385         * posix/getopt_int.h: Likewise.
5386         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
5387         __libc_argc and __libc_argv externs, which were only used by
5388         #ifdef USE_NONOPTION_FLAGS blocks.
5389         * posix/getopt_init.c: Remove file.
5390         * posix/Makefile (routines): Remove getopt_init.
5391         * include/getopt.h: Don't declare __getopt_initialize_environment.
5392         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
5393         a comment.
5395 2017-04-07  Florian Weimer  <fweimer@redhat.com>
5397         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
5399 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5401         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
5402         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
5403         to __wrap_.udiv.
5404         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
5405         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
5407         * sysdeps/i386/symbol-hacks.h: New file.
5408         * sysdeps/m68k/symbol-hacks.h: New file.
5409         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
5410         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
5411         * sysdeps/unix/sysv/linux/i386/Makefile
5412         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
5413         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5414         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5415         * sysdeps/unix/sysv/linux/m68k/Makefile
5416         [$(subdir) = csu] (sysdep_routines): Likewise.
5417         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5418         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5420         [$(subdir) = csu] (sysdep_routines): Likewise.
5421         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5422         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5423         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5424         [$(subdir) = csu] (sysdep_routines): Likewise.
5425         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5426         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5427         * sysdeps/wordsize-32/Makefile: Remove file.
5428         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
5429         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
5431 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
5433         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
5434         (TEST_FUNCTION_ARGV): New.
5436 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5438         * elf/next.c: Import support/test-driver.c instead of
5439         test-skeleton.c and delete TEST_FUNCTION macro definition.
5440         * elf/nodelete.c: Likewise.
5441         * elf/order2.c: Likewise.
5442         * elf/tst-_dl_addr_inside_object.c: Likewise.
5443         * elf/tst-addr1.c: Likewise.
5444         * elf/tst-align.c: Likewise.
5445         * elf/tst-align2.c: Likewise.
5446         * elf/tst-audit11.c: Likewise.
5447         * elf/tst-audit12.c: Likewise.
5448         * elf/tst-audit2.c: Likewise.
5449         * elf/tst-audit9.c: Likewise.
5450         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
5451         * elf/tst-deep1.c: Likewise.
5452         * elf/tst-dl-iter-static.c: Likewise.
5453         * elf/tst-dlmodcount.c: Likewise.
5454         * elf/tst-dlmopen1.c: Likewise.
5455         * elf/tst-dlmopen2.c: Likewise.
5456         * elf/tst-dlmopen3.c: Likewise.
5457         * elf/tst-dlopen-aout.c: Likewise.
5458         * elf/tst-dlopenrpath.c: Likewise.
5459         * elf/tst-dlsym-error.c: Likewise.
5460         * elf/tst-execstack-needed.c: Likewise.
5461         * elf/tst-execstack-prog.c: Likewise.
5462         * elf/tst-execstack.c: Likewise.
5463         * elf/tst-global1.c: Likewise.
5464         * elf/tst-gnu2-tls1.c: Likewise.
5465         * elf/tst-latepthread.c: Likewise.
5466         * elf/tst-leaks1.c: Likewise.
5467         * elf/tst-linkall-static.c: Likewise.
5468         (do_test): New function.
5469         * elf/tst-nodelete-opened.c: Likewise.
5470         * elf/tst-nodelete.cc: Likewise.
5471         * elf/tst-nodelete2.c: Likewise.
5472         * elf/tst-noload.c: Likewise.
5473         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
5474         * elf/tst-order-main.c: Likewise.
5475         * elf/tst-pathopt.c: Likewise.
5476         * elf/tst-pie2.c: Likewise.
5477         * elf/tst-piemod1.c: Likewise.
5478         * elf/tst-prelink.c: Likewise.
5479         * elf/tst-protected1a.c: Likewise.
5480         * elf/tst-protected1b.c: Likewise.
5481         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
5482         and define _GNU_SOURCE macro.
5483         (cmdline_process_function): New function.
5484         * elf/tst-relsort1.c: Likewise.
5485         * elf/tst-stackguard1.c: Likewise, import getopt.h,
5486         and define _GNU_SOURCE macro.
5487         (cmdline_process_function): New function.
5488         * elf/tst-thrlock.c: Likewise.
5489         * elf/tst-tls-dlinfo.c: Likewise.
5490         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
5491         * elf/tst-tls1.c: Likewise.
5492         * elf/tst-tls10.c: Likewise.
5493         * elf/tst-tls11.c: Likewise.
5494         * elf/tst-tls12.c: Likewise.
5495         * elf/tst-tls13.c: Likewise.
5496         * elf/tst-tls14.c: Likewise.
5497         * elf/tst-tls15.c: Likewise.
5498         * elf/tst-tls16.c: Likewise.
5499         * elf/tst-tls17.c: Likewise.
5500         * elf/tst-tls18.c: Likewise.
5501         * elf/tst-tls19.c: Likewise.
5502         * elf/tst-tls2.c: Likewise.
5503         * elf/tst-tls3.c: Likewise.
5504         * elf/tst-tls4.c: Likewise.
5505         * elf/tst-tls5.c: Likewise.
5506         * elf/tst-tls6.c: Likewise.
5507         * elf/tst-tls7.c: Likewise.
5508         * elf/tst-tls8.c: Likewise.
5509         * elf/tst-tls9.c: Likewise.
5510         * elf/tst-tlsalign-extern.c: Likewise.
5511         * elf/tst-tlsalign.c: Likewise.
5512         * elf/tst-unique1.c: Likewise.
5513         * elf/tst-unique2.c: Likewise.
5514         * elf/vismain.c: Likewise.
5516 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5518         * string/test-strnlen.c (do_page_tests): New function
5519         to check length of strings ending at the page boundary.
5520         (test_main): Added call to the do_page_tests function.
5522 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5523             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5525         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5526         (sysdep_routines): Add strnlen-power8.
5527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5528         (strnlen): Add __strnlen_power8 to list of strnlen functions.
5529         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
5530         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
5531         (__strnlen): Add __strnlen_power8 to ifunc list.
5532         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
5534 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5536         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
5537         the TEST_FUNCTION macro definition.
5538         * wcsmbs/tst-mbrtowc2.c: Likewise.
5539         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5540         * wcsmbs/tst-wchar-h.c: Likewise.
5541         * wcsmbs/tst-wcpncpy.c: Likewise.
5542         * wcsmbs/tst-wcrtomb.c: Likewise.
5543         * wcsmbs/tst-wcsnlen.c: Likewise.
5544         * wcsmbs/tst-wcstof.c: Likewise.
5546 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5548         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
5549         CALL_THREAD_FCT macro usage.
5550         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
5551         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
5552         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
5554         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
5555         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5556         (__ASSUME_REQUEUE_PI): Likewise.
5557         * sysdeps/unix/sysv/linux/kernel-features.h
5558         (__ASSUME_REQUEUE_PI): Likewise.
5559         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5560         (__ASSUME_REQUEUE_PI): Likewise.
5561         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5562         (__ASSUME_REQUEUE_PI): Likewise.
5563         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5564         (__ASSUME_REQUEUE_PI): Likewise.
5566 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5568         * resolv/tst-resolv-canonname.c: New file.
5569         * resolv/Makefile (tests): Add tst-resolv-canonname.
5570         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
5572 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5574         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
5575         Declare.
5576         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
5577         (NS_MAXCDNAME): Remove definition.
5578         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5579         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
5580         (NS_MAXCDNAME): Remove definition.
5581         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5583 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5585         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
5586         call whose result is not used.
5588 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5590         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
5591         * resolv/Makefile (tests): Add tst-ns_name.
5592         (tst-ns_name): Link with -lresolv.
5593         (tst-ns_name.out): Depend on the input data file.
5595 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
5597         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
5598         Clobber also r14.
5600 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
5602         [BZ #21253]
5603         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
5604         slack space by 32KiB.
5606 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
5608         [BZ #21338]
5609         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
5610         instead of incorrect do_set_arena_test
5612 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5614         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
5615         * math/bits/math-finite.h: Likewise.
5617 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
5619         [BZ #21289]
5620         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
5622 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5624         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
5625         non expected inotify_add_watch and quotactl return.
5627 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5629         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
5630         to int32_t.
5631         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
5632         as returning int32_t.
5634 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5636         * math/math.h: Include bits/math-finite.h once per
5637         floating-point type.
5638         * math/bits/math-finite.h: Macroize all declarations by
5639         floating-point type.
5641 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5643         [BZ #21182]
5644         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
5645         near end of a page.
5646         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
5647         overflow calculation.
5649 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
5651         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
5652         (IMPL) Call with 1 instead of 0 as argument.
5654 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5656         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5657         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5658         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5659         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5660         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5661         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5662         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5663         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5664         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5665         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5666         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5667         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5668         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5669         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5670         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5671         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5672         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5673         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5674         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5675         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5676         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5677         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5678         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5679         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5680         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5681         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5682         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5683         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5684         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5685         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5686         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5687         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5688         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5689         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5690         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5691         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5692         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5693         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5694         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5695         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5696         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5697         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5698         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5699         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5700         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5701         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5702         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5703         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5704         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5705         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5706         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5707         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5708         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5709         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5710         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5711         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5712         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5713         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5714         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5715         defined.
5716         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5717         __NR_setgroups32 if defined.
5718         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5719         if defined.
5720         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5721         __NR_setresgid32 is defined.
5722         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5723         __NR_setresuid32 if defined.
5724         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5725         __NR_setreuid32 if defined.
5726         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5727         defined.
5728         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5729         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5730         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5731         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5732         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5733         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5734         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5735         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5736         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5737         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5738         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5739         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5740         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5741         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5742         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5743         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5744         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5745         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5746         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5747         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5748         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5749         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5750         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5751         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5752         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5753         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5754         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5755         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5756         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5757         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5758         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5759         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5760         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5761         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5762         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5763         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5764         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5765         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5766         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5767         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5768         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5769         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5770         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5771         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5772         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5773         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5774         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5775         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5776         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5777         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5778         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5779         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5780         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5781         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5782         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5783         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5784         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5785         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5786         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5787         defined.
5788         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5789         __NR_setgroups32 if defined.
5790         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5791         if defined.
5792         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5793         __NR_setresgid32 is defined.
5794         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5795         __NR_setresuid32 if defined.
5796         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5797         __NR_setreuid32 if defined.
5798         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5799         defined.
5801 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
5803         [BZ #21277]
5804         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
5805         unconditionally.
5806         (IMAXBEL): Likewise.
5807         (IUTF8): Likewise.
5809 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5811         * sysdeps/aarch64/libm-test-ulps: Update.
5813 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
5815         * README.tunables: Updated descriptions.
5816         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
5817         * scripts/gen-tunables.awk: Updated the code related to the
5818         commit.
5820 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
5822         * benchtests/Makefile (string-benchset): Add memcpy-random.
5823         * benchtests/bench-memcpy-random.c: New file.
5825 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5827         * stdio-common/printf.h (register_printf_modifier): Change the
5828         order of __wur and __THROW.
5829         (register_printf_type): Likewise.
5831 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5833         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
5834         test_main ().
5835         (CMDLINE_PROCESS): Use function instead of defined macro.
5836         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
5837         <suppport/support.h> to use set_fortify_handler().
5838         * string/bug-envz1.c: Import support/test-driver.c instead of
5839         test-skeleton.c.
5840         * string/bug-strcoll2.c: Likewise.
5841         * string/bug-strtok1.c: Likewise.
5842         * string/stratcliff.c: Likewise.
5843         * string/test-ffs.c: Likewise.
5844         * string/test-memccpy.c: Likewise.
5845         * string/test-memchr.c: Likewise.
5846         * string/test-memcmp.c: Likewise.
5847         * string/test-memcpy.c: Likewise.
5848         * string/test-memmem.c: Likewise.
5849         * string/test-memmove.c: Likewise.
5850         * string/test-memrchr.c: Likewise.
5851         * string/test-memset.c: Likewise.
5852         * string/test-rawmemchr.c: Likewise.
5853         * string/test-strcasecmp.c: Likewise.
5854         * string/test-strcasestr.c: Likewise.
5855         * string/test-strcat.c: Likewise.
5856         * string/test-strchr.c: Likewise.
5857         * string/test-strcmp.c: Likewise.
5858         * string/test-strcpy.c: Likewise.
5859         * string/test-string.h: Likewise.
5860         * string/test-strlen.c: Likewise.
5861         * string/test-strncasecmp.c: Likewise.
5862         * string/test-strncat.c: Likewise.
5863         * string/test-strncmp.c: Likewise.
5864         * string/test-strncpy.c: Likewise.
5865         * string/test-strnlen.c: Likewise.
5866         * string/test-strpbrk.c: Likewise.
5867         * string/test-strrchr.c: Likewise.
5868         * string/test-strspn.c: Likewise.
5869         * string/test-strstr.c: Likewise.
5870         * string/tst-bswap.c: Likewise.
5871         * string/tst-cmp.c: Likewise.
5872         * string/tst-endian.c: Likewise.
5873         * string/tst-inlcall.c: Likewise.
5874         * string/tst-strcoll-overflow.c: Likewise.
5875         * string/tst-strfry.c: Likewise.
5876         * string/tst-strlen.c: Likewise.
5877         * string/tst-strtok.c: Likewise.
5878         * string/tst-strtok_r.c: Likewise.
5879         * string/tst-strxfrm.c: Likewise.
5880         * string/tst-strxfrm2.c: Likewise.
5881         * string/tst-svc.c: Likewise.
5882         * string/tst-svc2.c: Likewise.
5884 2017-03-22  Zack Weinberg  <zackw@panix.com>
5886         * stdio-common/bug25.c: Include stdlib.h.
5887         * support/tst-support_format_dns_packet.c: Include stdio.h,
5888         stdlib.h, and string.h.
5889         * support/tst-support_record_failure.c: Include string.h.
5890         * support/tst-support_record_failure-2.sh: Adjust line number
5891         expectations and correct a typo in an error message.
5893 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5895         [BZ #21258]
5896         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
5897         Define only if _dl_runtime_resolve is defined to
5898         _dl_runtime_resolve_sse_vex.
5899         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
5900         Fallthrough to _dl_runtime_resolve_sse_vex.
5902 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
5904         * INSTALL: Regenerated.
5906 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
5908         * config.h.in: Add LINK_OBSOLETE_NSL.
5909         * config.make.in: Add build-obsolete-nsl.
5910         * configure.ac: Add obsolete-nsl option.
5911         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
5912         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
5913         * include/rpcsvc/nislib.h: Likewise.
5914         * include/rpcsvc/ypclnt.h: Likewise.
5915         * manual/install.texi: Document --enable-obsolete-nsl.
5916         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
5917         * nis/nis_add.c: Replace libnsl_hidden_def with
5918         libnsl_hidden_nolink_def.
5919         * nis/nis_addmember.c: Likewise.
5920         * nis/nis_call.c: Likewise.
5921         * nis/nis_clone_obj.c: Likewise.
5922         * nis/nis_defaults.c: Likeise.
5923         * nis/nis_domain_of_r.c: Likewise.
5924         * nis/nis_error.c: Likewise.
5925         * nis/nis_file.c: Likewise.
5926         * nis/nis_free.c: Likewise.
5927         * nis_local_names.c: Likewise.
5928         * nis/nis_lookup.c: Likewise.
5929         * nis/nis_modify.c: Likewise.
5930         * nis/nis_print.c: Likewise.
5931         * nis/nis_remove.c: Likewise.
5932         * nis/nis_table.c: Likewise.
5933         * nis/nis_util.c: Likewise.
5934         * nis/nis_xdr.c: Likewise.
5935         * nis/yp_xdr.c: Likewise.
5936         * nis/ypclnt.c: Likewise.
5937         * nis/ypupdate_xdr.c: Likewise.
5938         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
5939         * nis/nis_clone_dir.c: Likewise.
5940         * nis/nis_clone_res.c: Likewise.
5941         * nis/nis_creategroup.c: Likewise.
5942         * nis/nis_destroygroup.c: Likewise.
5943         * nis/nis_domain_of.c: Likewise.
5944         * nis/nis_getservlist.c: Likewise.
5945         * nis/nis_ismember.c: Likewise.
5946         * nis/nis_mkdir.c: Likewise.
5947         * nis/nis_ping.c: Likewise.
5948         * nis/nis_print_group_entry.c: Likewise.
5949         * nis/nis_removemember.c: Likewise.
5950         * nis/nis_rmdir.c: Likewise.
5951         * nis/nis_server.c: Likewise.
5952         * nis/nis_subr.c: Likewise.
5953         * nis/nis_verifygroup.c: Likewise.
5955 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5957         * malloc/tst-interpose-aux.c (check_for_allocations):
5958         Move compiler barrier before free.
5960 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
5962         [BZ #21279]
5963         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5964         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5965         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
5966         x86_64-x32-linux.
5967         (mq_attr.mq_maxmsg): Likewise.
5968         (mq_attr.mq_msgsize): Likewise.
5969         (mq_attr.mq_curmsgs): Likewise.
5971         [BZ #21278]
5972         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
5973         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5974         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
5975         mips-o32-linux.
5977         [BZ #21268]
5978         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
5979         if [__USE_MISC]
5980         (NL3): Likewise.
5982 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
5984         [BZ #21275]
5985         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
5986         __stack to __stackbase.
5987         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
5988         checks so we can include defined(__ia64__) first.
5990 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
5992         * sysdeps/unix/sysv/linux/ttyname.h: New file.
5993         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
5994         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
5995         Call is_pty when the link does not exist or does not match, fail
5996         with ENODEV when it returns true.
5997         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
5998         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
5999         Call is_pty when the link does not exist or does not match, fail
6000         with ENODEV when it returns true.
6002 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
6004         [BZ #16437]
6005         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
6006         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
6007         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
6008         x86_64-x32-linux.
6009         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
6010         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
6011         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
6013         [BZ #21261]
6014         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
6015         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
6016         names for all fields.
6017         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
6018         for jmp_buf field renaming.
6019         (_JMPBUF_UNWINDS_ADJ): Likewise.
6021         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
6022         with allow-header.
6024 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
6026         * malloc/malloc.c (unlink): Add consistency check between size and
6027         next->prev->size, to further harden against 1-byte overflows.
6029 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
6031         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
6032         CPU_FEATURES_CPU_P.
6034 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
6036         [BZ #21259]
6037         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
6038         unconditionally, not just for [__USE_MISC].
6040         [BZ #17786]
6041         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
6042         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
6043         mips-o32-linux.
6045         [BZ #21260]
6046         * sysdeps/unix/sysv/linux/alpha/Makefile
6047         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
6048         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
6050         * conform/conformtest.pl ($cross): New variable.
6051         (--cross): New command-line option.
6052         (runtest): Skip test execution when cross-compiling.
6053         * conform/Makefile (conformtest-cross): New variable.
6054         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
6055         conformtest.pl.
6057         * conform/conformtest.pl ($xfail_str): New variable.
6058         (--xfail=): New command-line option.
6059         (top level): Handle expectations starting xfail[cond]-.
6060         * conform/Makefile (conformtest-xfail): New variable.
6061         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
6062         conformtest.pl.
6064 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
6066         * conform/conformtest.pl: Use compilation instead of execution
6067         tests for testing values of constants and usability in #if.
6069 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6071         * math/auto-libm-test-in: Mark some catan and catanh as
6072         xfail-rounding:ibm128-libgcc.
6073         * math/auto-libm-test-out-catan: Regenerate.
6074         * math/auto-libm-test-out-catanh: Likewise.
6076 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
6078         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
6079         (__END_NAMESPACE_STD): Likewise.
6080         (__USING_NAMESPACE_STD): Likewise.
6081         (__BEGIN_NAMESPACE_C99): Likewise.
6082         (__END_NAMESPACE_C99): Likewise.
6083         (__USING_NAMESPACE_C99): Likewise.
6084         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
6085         undefine macro.
6086         (_Mdouble_END_NAMESPACE): Likewise.
6087         * ctype/ctype.h: Do not handle C++ namespaces.
6088         * libio/bits/stdio-ldbl.h: Likewise.
6089         * libio/stdio.h: Likewise.
6090         * locale/locale.h: Likewise.
6091         * math/bits/mathcalls.h: Likewise.
6092         * setjmp/setjmp.h: Likewise.
6093         * signal/signal.h: Likewise.
6094         * stdlib/bits/stdlib-float.h: Likewise.
6095         * stdlib/bits/stdlib-ldbl.h: Likewise.
6096         * stdlib/stdlib.h: Likewise.
6097         * string/string.h: Likewise.
6098         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
6099         * time/bits/types/clock_t.h: Likewise.
6100         * time/bits/types/struct_tm.h: Likewise.
6101         * time/bits/types/time_t.h: Likewise.
6102         * time/time.h: Likewise.
6103         * wcsmbs/bits/wchar-ldbl.h: Likewise.
6104         * wcsmbs/uchar.h: Likewise.
6105         * wcsmbs/wchar.h: Likewise.
6106         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
6107         * wctype/wctype.h: Do not handle C++ namespaces.
6108         * scripts/begin-end-check.pl: Remove.
6109         * Makefile (installed-headers): Likewise.
6110         (tests-special): Do not add $(objpfx)begin-end-check.out.
6111         ($(objpfx)begin-end-check.out): Remove.
6113 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
6114             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6116         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
6117         (DL_PLATFORM_INIT): New define.
6118         (dl_platform_init): New function.
6119         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
6120         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
6121         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
6122         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
6123         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
6125 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
6127         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
6128         instead of PIC.
6130 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
6132         [BZ #21094]
6133         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6134         24+24+24-bit pi for wider range of values around pi/2.
6135         * math/auto-libm-test-in: Add more tests of cos and tan.
6136         * math/auto-libm-test-out-cos: Regenerated.
6137         * math/auto-libm-test-out-tan: Likewise.
6139 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
6141         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
6142         (RTLD_START): Don't record stack end address in _dl_start_user.
6144 2017-03-15  Alexey Neyman  <stilor@att.net>
6146         [BZ #21088]
6147         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
6148         around definitions match those around use.
6150 2017-03-15  Alexey Neyman  <stilor@att.net>
6152         * configure.ac: Avoid empty subexpression in grep.
6153         * configure: Regenerate.
6155 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6157         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
6158         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
6159         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
6160         (test_wrp_rv): Fix format.
6161         (test_wrp_rv2): New macro.
6162         (do_test): Handle mlock return on 64 bits kernels with 32 bits
6163         binaries.
6165 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
6167         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
6168         Use a union when storing pointers.
6169         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
6170         cast result when passing to INIT_VEC_PTRS_LOOP.
6171         (VECTOR_WRAPPER_fFF_3): Likewise.
6172         (VECTOR_WRAPPER_fFF_4): Likewise.
6174 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6176         * include/bits/mathcalls-helper-functions.h: New file.
6177         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
6178         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
6179         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
6180         math/bits/mathcalls-helper-functions.h.
6181         * math/bits/mathcalls-helper-functions.h: New file.
6182         * math/math.h: Include bits/mathcalls-helper-functions.h for
6183         float, double, and long double.
6185 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6187         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
6188         instead of feraiseexcept.
6190 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6192         [BZ #21243]
6193         * support/temp_file.c (support_delete_temp_files): Add comment
6194         about ignored errors.
6196 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6198         [BZ #21244]
6199         * support/xclose.c: New file.
6200         * support/Makefile (libsupport-routines): Add xclose.
6201         * support/xunistd.h (xclose): Declare.
6202         * support/resolv_test.c (server_thread_tcp_client)
6203         (server_thread_tcp, make_server_sockets, resolv_test_start)
6204         (resolv_test_end): Call xclose instead of close.
6205         * support/support_enter_network_namespace.c
6206         (support_enter_network_namespace): Likewise.
6207         * support/support_run_diff.c (write_to_temp_file): Likewise.
6209 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6211         * support/support_format_dns_packet.c (support_format_dns_packet):
6212         Handle CNAME records in the response.  Extract RDATA names from
6213         rdata, not the whole packet.  Check AAAA record length.
6214         * support/tst-support_format_dns_packet.c: New file.
6215         * support/Makefile (tests): Add tst-support_format_dns_packet.
6216         (tst-support_format_dns_packet): Link against libresolv.
6218 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6220         [BZ #21232]
6221         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
6222         posix_fadvise64 weak_alias for static build.
6224 2017-03-14  Andreas Schwab  <schwab@suse.de>
6226         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
6227         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
6228         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
6229         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
6230         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
6231         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
6232         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
6233         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
6235 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6237         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
6238         posix error code.
6239         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6241 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6243         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
6244         no_isolate usage for SH.
6246 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
6248         [BZ #15105]
6249         [BZ #19463]
6250         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
6251         * inet/rcmd.c (rcmd_af): Likewise.
6252         * inet/rexec.c   (rexec_af): Likewise.
6253         * intl/dcigettext.c (_LIBC): Likewise.
6254         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
6255         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
6256         * locale/setlocale.c (setlocale): Likewise.
6257         * posix/spawn_faction_addopen.c
6258         (posix_spawn_file_actions_addopen): Likewise.
6259         * stdlib/putenv.c (putenv): Use __strndup.
6260         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
6261         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
6262         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
6263         (__Need_M_And_C) Remove define/undef.
6264         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
6265         (__malloc_and_calloc_defined): Remove define.
6266         * string/bits/string2.h (__strdup): Remove define.
6267         (strdup): Likewise.
6268         (__strndup): Likewise.
6269         (strndup): Likewise.
6271 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
6273         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
6274         macro.
6275         (IPV6_ADDR_PREFERENCES): Likewise.
6276         (IPV6_MINHOPCOUNT): Likewise.
6277         (IPV6_ORIGDSTADDR): Likewise.
6278         (IPV6_RECVORIGDSTADDR): Likewise.
6279         (IPV6_TRANSPARENT): Likewise.
6280         (IPV6_UNICAST_IF): Likewise.
6281         (IPV6_RECVFRAGSIZE): Likewise.
6283 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
6285         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
6287 2017-03-12  Alexey Neyman <stilor@att.net>
6289         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
6290         in R_SH_DIR32 case is always false when inlined from
6291         dl-conflict.c. Ifdef out to prevent GCC from insertin an
6293 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
6295         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6296         (__ASSUME_RECV_SYSCALL): Replace duplicate by
6297         __ASSUME_SEND_SYSCALL.
6299 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
6301         * sunrpc/Makefile: don't build and install rpcsvc header
6302         files, rpcgen and librpcsvc.a by default.
6304 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
6306         * math/auto-libm-test-out-catan: Regenerated.
6307         * math/auto-libm-test-out-catanh: Likewise.
6308         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6310 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
6312         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
6313         for long double with corrected test expectations.
6315 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6317         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
6318         Define.
6319         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6320         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
6321         * sysdeps/unix/sysv/linux/nios2/sysdep.h
6322         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
6323         * sysdeps/unix/sysv/linux/tile/sysdep.h
6324         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
6325         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6326         (__ASSUME_RECV_SYSCALL): Define.
6327         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6328         (__ASSUME_RECV_SYSCALL): Likewise.
6329         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6330         (__ASSUME_RECV_SYSCALL): Likewise.
6331         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6332         (__ASSUME_RECV_SYSCALL): Likewise.
6333         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6334         (__ASSUME_RECV_SYSCALL): Likewise.
6335         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6336         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
6337         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6338         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6339         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6340         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6341         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
6342         auto-generation list.
6343         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6344         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6345         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
6346         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6347         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6348         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
6349         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
6350         __ASSUME_SENDTO_SYSCALL.
6351         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
6352         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
6353         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
6355         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
6356         auto-generation list.
6357         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6358         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6359         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6360         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6361         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6362         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6363         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6364         * sysdeps/unix/sysv/linux/kernel-features.h
6365         (__ASSUME_SENDTO_SYSCALL): Define by default.
6366         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6367         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
6368         __NR_sendto.
6369         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6370         (__ASSUME_SENDTO_SYSCALL): Likewise.
6371         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6372         (__ASSUME_SENDTO_SYSCALL): Likewise.
6373         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6374         (__ASSUME_SENDTO_SYSCALL): Remove definition.
6375         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6376         (__ASSUME_SENDTO_SYSCALL): Likewise.
6377         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
6378         (__ASSUME_SENDTO_SYSCALL): Likewise.
6379         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
6381         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
6382         auto-generation list.
6383         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6384         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6385         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6386         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6387         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6388         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6389         (__ASSUME_RECV_SYSCALL): New define.
6390         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6391         (__ASSUME_RECV_SYSCALL): Likewise.
6392         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6393         (__ASSUME_RECV_SYSCALL): Likewise.
6394         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6395         (__ASSUME_RECV_SYSCALL): Likewise.
6396         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6397         (__ASSUME_RECV_SYSCALL): Likewise.
6398         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6399         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6400         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6401         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6402         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6403         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6404         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
6405         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
6406         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
6407         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
6408         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
6409         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
6411         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
6412         auto-generation list.
6413         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6414         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6415         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6416         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6417         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6418         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6419         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6420         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6421         (__ASSUME_RECVFROM_SYSCALL): Define by default.
6422         * sysdeps/unix/sysv/linux/kernel-features.h
6423         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
6424         __NR_recvfrom.
6425         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6426         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6427         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6428         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6429         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6430         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
6431         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6432         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6433         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6434         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6435         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6436         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6437         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
6439         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
6440         auto-generation list.
6441         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6442         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6443         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6444         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6445         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6446         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6447         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6448         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
6449         * sysdeps/unix/sysv/linux/kernel-features.h
6450         (__ASSUME_CONNECT_SYSCALL): Define.
6451         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6452         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
6453         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6454         (__ASSUME_CONNECT_SYSCALL): Likewise.
6455         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6456         (__ASSUME_CONNECT_SYSCALL): Likewise.
6457         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6458         (__ASSUME_CONNECT_SYSCALL): Likewise.
6460         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
6461         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
6462         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
6463         auto-generation list.
6464         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6465         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6466         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6467         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6468         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6469         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6470         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6471         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6472         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6473         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6474         * sysdeps/unix/sysv/linux/kernel-features.h
6475         (__ASSUME_ACCEPT_SYSCALL): New define.
6476         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6477         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6478         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
6479         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6480         (__ASSUME_ACCEPT_SYSCALL): Define.
6481         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6482         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6483         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6484         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6485         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6486         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6487         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6488         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6489         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
6491 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
6492             Zack Weinberg  <zackw@panix.com>
6494         * posix/test-errno.c: New file.
6495         * posix/Makefile (tests): Add test-errno.
6496         * sysdeps/unix/sysv/linux/test-errno.c: New file.
6497         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
6499 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
6501         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6503 2017-03-07  Florian Weimer  <fweimer@redhat.com>
6505         * time/tzset.c (compute_offset): Open-code min macro.
6506         (min, max, sign): Remove.
6508 2017-03-07  Florian Weimer  <fweimer@redhat.com>
6510         [BZ #15576]
6511         Remove TZNAME_MAX limit from sysconf.
6512         * include/time.h (__tzname_cur_max, __tzname_max): Remove
6513         declaration.
6514         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
6515         compute_tzname_max.
6516         (compute_tzname_max): Remove.
6517         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
6518         (update_vars): Do not update __tzname_cur_max.
6519         (tzset_internal): Remove argument.
6520         (__tzset): Adjust call to tzset_internal.
6521         (__tz_convert): Likewise.
6523         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
6524         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6525         * manual/conf.texi (Sysconf Definition): Update comment.
6527 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6529         [BZ #21209]
6530         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
6531         AT_SECURE processes.
6532         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
6533         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
6534         (test_child): Likewise.
6535         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
6537 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6539         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
6541 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6543         * sysdeps/s390/atomic-machine.h
6544         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
6545         (__arch_compare_and_exchange_val_8_acq,
6546         __arch_compare_and_exchange_val_16_acq,
6547         __arch_compare_and_exchange_val_32_acq,
6548         __arch_compare_and_exchange_val_64_acq):
6549         Delete macro.
6550         (atomic_compare_and_exchange_val_acq,
6551         atomic_compare_and_exchange_val_rel,
6552         atomic_compare_and_exchange_bool_acq,
6553         catomic_compare_and_exchange_bool_acq,
6554         atomic_exchange_acq, atomic_exchange_rel,
6555         atomic_exchange_and_add_acq,
6556         atomic_exchange_and_add_rel,
6557         catomic_exchange_and_add, atomic_or_val,
6558         atomic_or, catomic_or, atomic_bit_test_set,
6559         atomic_and_val, atomic_and, catomic_and):
6560         Define macros with help of C11 atomic builtins.
6562 2017-03-03  Justus Winter <justus@gnupg.org>
6564         * sysdeps/mach/hurd/ftruncate64.c: New file.
6565         * sysdeps/mach/hurd/truncate64.c: Likewise.
6567 2017-03-03  Florian Weimer  <fweimer@redhat.com>
6569         * time/tzfile.c (NOID): Do not define.
6570         * time/tzset.c (NOID): Likewise.
6572 2017-03-03  Florian Weimer  <fweimer@redhat.com>
6574         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
6576 2017-03-02  Florian Weimer  <fweimer@redhat.com>
6578         * elf/get-dynamic-info.h: Remove header file inclusion guard.
6580 2017-03-02  Florian Weimer  <fweimer@redhat.com>
6582         [BZ #21015]
6583         * manual/install.texi (Configuring and compiling): Document
6584         --enable-bind-now.
6585         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
6586         (build-shlib-helper): Use $(LDFLAGS-lib.so).
6587         (format.lds): Likewise.
6588         [bind-now] (LDFLAGS-c.so): Remove.
6589         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
6590         be R_X86_64_GLOB_DAT.
6591         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
6592         relocation can be R_386_GLOB_DAT.
6593         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
6594         relocaiton can be R_ALPHA_GLOB_DAT.
6595         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
6597 2017-03-01  Zack Weinberg  <zackw@panix.com>
6599         * include/libc-pointer-arith.h: New file.  Define
6600         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
6601         PTR_ALIGN_DOWN here.
6602         * include/libc-internal.h: Definitions of above macros
6603         moved from here.  Don't include libc-diag.h anymore either.
6604         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
6605         Don't include libc-internal.h.
6607         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
6608         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
6609         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
6610         * string/strcoll_l.c, sysdeps/nacl/brk.c
6611         * sysdeps/unix/clock_settime.c
6612         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
6613         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
6614         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6615         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
6616         Don't include libc-internal.h.
6618         * elf/get-dynamic-info.h, iconv/loop.c
6619         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
6620         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
6621         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
6622         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
6623         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6624         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
6625         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6626         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
6627         * sysdeps/ieee754/ldbl-128/k_tanl.c
6628         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6629         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6630         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
6631         Include libc-diag.h instead of libc-internal.h.
6633         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
6634         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
6635         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
6636         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
6637         * sysdeps/unix/sysv/linux/spawni.c
6638         * sysdeps/x86_64/nptl/tls.h:
6639         Include libc-pointer-arith.h instead of libc-internal.h.
6641         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
6642         * sysdeps/x86_64/atomic-machine.h:
6643         Add multiple include guard.
6645         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
6646         * string/strcasestr.c: No need to include config.h.
6647         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
6648         sys/auxv.h. Don't include sysdep.h.
6649         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
6651         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
6652         DL_LOOKUP_ADDRESS.
6653         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
6654         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
6655         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
6656         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
6657         of ARTIFICIAL_LIMIT.
6658         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
6659         declaration of __clone2.
6661 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6663         * scripts/backport-support.sh (latest_commit): New file.
6665 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6667         [BZ #20257]
6668         * inet/Makefile (routines): Add deadline.
6669         (tests-static): Add tst-deadline.
6670         * inet/net-internal.h (struct deadline_current_time)
6671         (__deadline_current_time, struct deadline, __deadline_is_infinite)
6672         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
6673         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
6674         * inet/deadline.c: New file.
6675         * inet/tst-deadline.c: Likewise.
6676         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
6677         tst-udp-timeout, tst-udp-garbage.
6678         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
6679         explicitly.
6680         (tst-udp-garbage): Likewise.  Also link against thread library.
6681         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
6682         struct layout is part of the ABI.
6683         (clntudp_call): Rework timeout handling.
6684         * sunrpc/tst-udp-garbage.c: New file.
6685         * sunrpc/tst-udp-nonblocking.c: Likewise.
6686         * sunrpc/tst-udp-timeout.c: Likewise.
6688 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6690         [BZ #5010]
6691         * sunrpc/svc.c (svc_is_mapped): Remove.
6692         (svc_unregister): Obtain mapped status while the service is still
6693         registered.
6694         * sunrpc/Makefile [have-thread-library] (tests): Add
6695         tst-svc_register.
6696         (tst-svc_register): Link against libc.so explicitly and the thread
6697         library.
6698         * sunrpc/tst-svc_register.c: New file.
6700 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
6702         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
6703         * sysdeps/pthread/bits/sigthread.h: Likewise.
6705 2017-02-27  Florian Weimer  <fweimer@redhat.com>
6707         [BZ #21115]
6708         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
6709         * sunrpc/Makefile (tests): Add tst-udp-error.
6710         (tst-udp-error): Link against libc.so explicitly.
6711         * sunrpc/tst-udp-error: New file.
6713 2017-02-25  Zack Weinberg  <zackw@panix.com>
6715         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
6716         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
6718         * sysdeps/generic/math_ldbl.h
6719         * sysdeps/ia64/fpu/math_ldbl.h
6720         * sysdeps/ieee754/ldbl-128/math_ldbl.h
6721         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6722         * sysdeps/ieee754/ldbl-96/math_ldbl.h
6723         * sysdeps/powerpc/fpu/math_ldbl.h
6724         * sysdeps/x86_64/fpu/math_ldbl.h:
6725         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
6726         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
6727         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
6728         Add copyright notices.
6730         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6731         Don't use EXTRACT_WORDS64.
6733         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
6734         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
6735         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
6736         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
6737         Include math_ldbl.h, not math_private.h.
6739 2017-02-25  Zack Weinberg  <zackw@panix.com>
6741         * include/libc-diag.h: New file.  Define ignore_value,
6742         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
6743         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
6745         * include/libc-internal.h: Definitions of above macros moved from
6746         here.  Include libc-diag.h.  Add copyright notice.
6748         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
6749         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
6750         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
6751         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
6752         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
6753         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
6754         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
6755         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
6756         Include libc-diag.h instead of libc-internal.h.
6758         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
6759         call to unsetenv (NULL).
6760         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
6761         call to pthread_mutexattr_destroy (NULL).
6763 2017-02-25  Zack Weinberg  <zackw@panix.com>
6765         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
6766         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
6767         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
6768         gets was removed from C++ in C++14.
6769         * include/stdio.h: Remove redundant declaration of gets.
6770         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
6771         be declared, since we are testing it.
6772         * stdio-common/Makefile (tst-gets.c): Compile with
6773         -Wno-deprecated-declarations.
6774         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
6775         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
6776         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
6777         Compile with -Wno-deprecated-declarations.
6779 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6781         * math/libm-test-support.c (check_ulp): Use LIT() around literal
6782         numbers.
6784 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6786         * resolv/tst-resolv-qtypes.c (domain):
6787         Change type to const pointer to const char.
6789 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
6791         * math/Makefile (libm-tests-generated): Remove variable.
6792         (libm-tests-base-normal): New variable.
6793         (libm-tests-base-finite): Likewise.
6794         (libm-tests-base-inline): Likewise.
6795         (libm-tests-base): Likewise.
6796         (libm-tests-normal): Likewise.
6797         (libm-tests-finite): Likewise.
6798         (libm-tests-inline): Likewise.
6799         (libm-tests-vector): Likewise.
6800         (libm-tests): Define in terms of these new variables.
6801         (libm-tests-for-type): New variable.
6802         (libm-tests.o): Move definition.
6803         (tests): Move addition of $(libm-tests).
6804         (generated): Update for new and removed libm test files.
6805         ($(objpfx)libm-test.c): Remove target.
6806         ($(objpfx)libm-have-vector-test.h): Likewise.
6807         (CFLAGS-test-double-vlen2.c): Remove variable.
6808         (CFLAGS-test-double-vlen4.c): Likewise.
6809         (CFLAGS-test-double-vlen8.c): Likewise.
6810         (CFLAGS-test-float-vlen4.c): Likewise.
6811         (CFLAGS-test-float-vlen8.c): Likewise.
6812         (CFLAGS-test-float-vlen16.c): Likewise.
6813         (CFLAGS-test-float.c): Likewise.
6814         (CFLAGS-test-float-finite.c): Likewise.
6815         (CFLAGS-libm-test-support-float.c): Likewise.
6816         (CFLAGS-test-double.c): Likewise.
6817         (CFLAGS-test-double-finite.c): Likewise.
6818         (CFLAGS-libm-test-support-double.c): Likewise.
6819         (CFLAGS-test-ldouble.c): Likewise.
6820         (CFLAGS-test-ldouble-finite.c): Likewise.
6821         (CFLAGS-libm-test-support-ldouble.c): Likewise.
6822         (libm-test-inline-cflags): New variable.
6823         (CFLAGS-test-ifloat.c): Remove variable.
6824         (CFLAGS-test-idouble.c): Likewise.
6825         (CFLAGS-test-ildouble.c): Likewise.
6826         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
6827         dependencies.
6828         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
6829         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
6830         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
6831         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
6832         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
6833         Likewise.
6834         (dependencies on libm-test-support-*.o): Remove.
6835         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
6836         rules using iterators.
6837         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
6838         Likewise.
6839         ($(objpfx)libm-test-support-$(o).o): Likewise.
6840         ($(addprefix $(objpfx),$(filter-out $(tests-static)
6841         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
6842         instead.
6843         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
6844         define rule instead.
6845         * math/README.libm-test: Update.
6846         * math/libm-test-acos.inc: Include libm-test-driver.c.
6847         (do_test): New function.
6848         * math/libm-test-acosh.inc: Include libm-test-driver.c.
6849         (do_test): New function.
6850         * math/libm-test-asin.inc: Include libm-test-driver.c.
6851         (do_test): New function.
6852         * math/libm-test-asinh.inc: Include libm-test-driver.c.
6853         (do_test): New function.
6854         * math/libm-test-atan.inc: Include libm-test-driver.c.
6855         (do_test): New function.
6856         * math/libm-test-atan2.inc: Include libm-test-driver.c.
6857         (do_test): New function.
6858         * math/libm-test-atanh.inc: Include libm-test-driver.c.
6859         (do_test): New function.
6860         * math/libm-test-cabs.inc: Include libm-test-driver.c.
6861         (do_test): New function.
6862         * math/libm-test-cacos.inc: Include libm-test-driver.c.
6863         (do_test): New function.
6864         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
6865         (do_test): New function.
6866         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
6867         (do_test): New function.
6868         * math/libm-test-carg.inc: Include libm-test-driver.c.
6869         (do_test): New function.
6870         * math/libm-test-casin.inc: Include libm-test-driver.c.
6871         (do_test): New function.
6872         * math/libm-test-casinh.inc: Include libm-test-driver.c.
6873         (do_test): New function.
6874         * math/libm-test-catan.inc: Include libm-test-driver.c.
6875         (do_test): New function.
6876         * math/libm-test-catanh.inc: Include libm-test-driver.c.
6877         (do_test): New function.
6878         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
6879         (do_test): New function.
6880         * math/libm-test-ccos.inc: Include libm-test-driver.c.
6881         (do_test): New function.
6882         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
6883         (do_test): New function.
6884         * math/libm-test-ceil.inc: Include libm-test-driver.c.
6885         (do_test): New function.
6886         * math/libm-test-cexp.inc: Include libm-test-driver.c.
6887         (do_test): New function.
6888         * math/libm-test-cimag.inc: Include libm-test-driver.c.
6889         (do_test): New function.
6890         * math/libm-test-clog.inc: Include libm-test-driver.c.
6891         (do_test): New function.
6892         * math/libm-test-clog10.inc: Include libm-test-driver.c.
6893         (do_test): New function.
6894         * math/libm-test-conj.inc: Include libm-test-driver.c.
6895         (do_test): New function.
6896         * math/libm-test-copysign.inc: Include libm-test-driver.c.
6897         (do_test): New function.
6898         * math/libm-test-cos.inc: Include libm-test-driver.c.
6899         (do_test): New function.
6900         * math/libm-test-cosh.inc: Include libm-test-driver.c.
6901         (do_test): New function.
6902         * math/libm-test-cpow.inc: Include libm-test-driver.c.
6903         (do_test): New function.
6904         * math/libm-test-cproj.inc: Include libm-test-driver.c.
6905         (do_test): New function.
6906         * math/libm-test-creal.inc: Include libm-test-driver.c.
6907         (do_test): New function.
6908         * math/libm-test-csin.inc: Include libm-test-driver.c.
6909         (do_test): New function.
6910         * math/libm-test-csinh.inc: Include libm-test-driver.c.
6911         (do_test): New function.
6912         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
6913         (do_test): New function.
6914         * math/libm-test-ctan.inc: Include libm-test-driver.c.
6915         (do_test): New function.
6916         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
6917         (do_test): New function.
6918         * math/libm-test-erf.inc: Include libm-test-driver.c.
6919         (do_test): New function.
6920         * math/libm-test-erfc.inc: Include libm-test-driver.c.
6921         (do_test): New function.
6922         * math/libm-test-exp.inc: Include libm-test-driver.c.
6923         (do_test): New function.
6924         * math/libm-test-exp10.inc: Include libm-test-driver.c.
6925         (do_test): New function.
6926         * math/libm-test-exp2.inc: Include libm-test-driver.c.
6927         (do_test): New function.
6928         * math/libm-test-expm1.inc: Include libm-test-driver.c.
6929         (do_test): New function.
6930         * math/libm-test-fabs.inc: Include libm-test-driver.c.
6931         (do_test): New function.
6932         * math/libm-test-fdim.inc: Include libm-test-driver.c.
6933         (do_test): New function.
6934         * math/libm-test-floor.inc: Include libm-test-driver.c.
6935         (do_test): New function.
6936         * math/libm-test-fma.inc: Include libm-test-driver.c.
6937         (do_test): New function.
6938         * math/libm-test-fmax.inc: Include libm-test-driver.c.
6939         (do_test): New function.
6940         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
6941         (do_test): New function.
6942         * math/libm-test-fmin.inc: Include libm-test-driver.c.
6943         (do_test): New function.
6944         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
6945         (do_test): New function.
6946         * math/libm-test-fmod.inc: Include libm-test-driver.c.
6947         (do_test): New function.
6948         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
6949         (do_test): New function.
6950         * math/libm-test-frexp.inc: Include libm-test-driver.c.
6951         (do_test): New function.
6952         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
6953         (do_test): New function.
6954         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
6955         (do_test): New function.
6956         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
6957         (do_test): New function.
6958         * math/libm-test-hypot.inc: Include libm-test-driver.c.
6959         (do_test): New function.
6960         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
6961         (do_test): New function.
6962         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
6963         (do_test): New function.
6964         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
6965         (do_test): New function.
6966         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
6967         (do_test): New function.
6968         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
6969         (do_test): New function.
6970         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
6971         (do_test): New function.
6972         * math/libm-test-isinf.inc: Include libm-test-driver.c.
6973         (do_test): New function.
6974         * math/libm-test-isless.inc: Include libm-test-driver.c.
6975         (do_test): New function.
6976         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
6977         (do_test): New function.
6978         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
6979         (do_test): New function.
6980         * math/libm-test-isnan.inc: Include libm-test-driver.c.
6981         (do_test): New function.
6982         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
6983         (do_test): New function.
6984         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
6985         (do_test): New function.
6986         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
6987         (do_test): New function.
6988         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
6989         (do_test): New function.
6990         * math/libm-test-iszero.inc: Include libm-test-driver.c.
6991         (do_test): New function.
6992         * math/libm-test-j0.inc: Include libm-test-driver.c.
6993         (do_test): New function.
6994         * math/libm-test-j1.inc: Include libm-test-driver.c.
6995         (do_test): New function.
6996         * math/libm-test-jn.inc: Include libm-test-driver.c.
6997         (do_test): New function.
6998         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
6999         (do_test): New function.
7000         * math/libm-test-llogb.inc: Include libm-test-driver.c.
7001         (do_test): New function.
7002         * math/libm-test-llrint.inc: Include libm-test-driver.c.
7003         (do_test): New function.
7004         * math/libm-test-llround.inc: Include libm-test-driver.c.
7005         (do_test): New function.
7006         * math/libm-test-log.inc: Include libm-test-driver.c.
7007         (do_test): New function.
7008         * math/libm-test-log10.inc: Include libm-test-driver.c.
7009         (do_test): New function.
7010         * math/libm-test-log1p.inc: Include libm-test-driver.c.
7011         (do_test): New function.
7012         * math/libm-test-log2.inc: Include libm-test-driver.c.
7013         (do_test): New function.
7014         * math/libm-test-logb.inc: Include libm-test-driver.c.
7015         (do_test): New function.
7016         * math/libm-test-lrint.inc: Include libm-test-driver.c.
7017         (do_test): New function.
7018         * math/libm-test-lround.inc: Include libm-test-driver.c.
7019         (do_test): New function.
7020         * math/libm-test-modf.inc: Include libm-test-driver.c.
7021         (do_test): New function.
7022         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
7023         (do_test): New function.
7024         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
7025         (do_test): New function.
7026         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
7027         (do_test): New function.
7028         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
7029         (do_test): New function.
7030         * math/libm-test-nextup.inc: Include libm-test-driver.c.
7031         (do_test): New function.
7032         * math/libm-test-pow.inc: Include libm-test-driver.c.
7033         (do_test): New function.
7034         * math/libm-test-remainder.inc: Include libm-test-driver.c.
7035         (do_test): New function.
7036         * math/libm-test-remquo.inc: Include libm-test-driver.c.
7037         (do_test): New function.
7038         * math/libm-test-rint.inc: Include libm-test-driver.c.
7039         (do_test): New function.
7040         * math/libm-test-round.inc: Include libm-test-driver.c.
7041         (do_test): New function.
7042         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
7043         (do_test): New function.
7044         * math/libm-test-scalb.inc: Include libm-test-driver.c.
7045         (do_test): New function.
7046         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
7047         (do_test): New function.
7048         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
7049         (do_test): New function.
7050         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
7051         (do_test): New function.
7052         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
7053         (do_test): New function.
7054         * math/libm-test-signbit.inc: Include libm-test-driver.c.
7055         (do_test): New function.
7056         * math/libm-test-significand.inc: Include libm-test-driver.c.
7057         (do_test): New function.
7058         * math/libm-test-sin.inc: Include libm-test-driver.c.
7059         (do_test): New function.
7060         * math/libm-test-sincos.inc: Include libm-test-driver.c.
7061         (do_test): New function.
7062         * math/libm-test-sinh.inc: Include libm-test-driver.c.
7063         (do_test): New function.
7064         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
7065         (do_test): New function.
7066         * math/libm-test-tan.inc: Include libm-test-driver.c.
7067         (do_test): New function.
7068         * math/libm-test-tanh.inc: Include libm-test-driver.c.
7069         (do_test): New function.
7070         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
7071         (do_test): New function.
7072         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
7073         (do_test): New function.
7074         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
7075         (do_test): New function.
7076         * math/libm-test-trunc.inc: Include libm-test-driver.c.
7077         (do_test): New function.
7078         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
7079         (do_test): New function.
7080         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
7081         (do_test): New function.
7082         * math/libm-test-y0.inc: Include libm-test-driver.c.
7083         (do_test): New function.
7084         * math/libm-test-y1.inc: Include libm-test-driver.c.
7085         (do_test): New function.
7086         * math/libm-test-yn.inc: Include libm-test-driver.c.
7087         (do_test): New function.
7088         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
7089         (HAVE_VECTOR): Remove macro.
7090         (START): Do not call HAVE_VECTOR.
7091         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
7092         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
7093         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
7094         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
7095         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
7096         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
7097         * math/test-math-vector.h (FUNC_TEST): New macro.
7098         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
7099         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
7100         (double-vlen4-funcs): Likewise.
7101         (double-vlen4-avx2-funcs): Likewise.
7102         (double-vlen8-funcs): Likewise.
7103         (float-vlen4-funcs): Likewise.
7104         (float-vlen8-funcs): Likewise.
7105         (float-vlen8-avx2-funcs): Likewise.
7106         (float-vlen16-funcs): Likewise.
7107         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
7108         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
7109         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
7110         macro.
7111         (TEST_VECTOR_sin): Likewise.
7112         (TEST_VECTOR_sincos): Likewise.
7113         (TEST_VECTOR_log): Likewise.
7114         (TEST_VECTOR_exp): Likewise.
7115         (TEST_VECTOR_pow): Likewise.
7116         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
7117         Likewise.
7118         (TEST_VECTOR_sin): Likewise.
7119         (TEST_VECTOR_sincos): Likewise.
7120         (TEST_VECTOR_log): Likewise.
7121         (TEST_VECTOR_exp): Likewise.
7122         (TEST_VECTOR_pow): Likewise.
7123         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
7124         Likewise.
7125         (TEST_VECTOR_sinf): Likewise.
7126         (TEST_VECTOR_sincosf): Likewise.
7127         (TEST_VECTOR_logf): Likewise.
7128         (TEST_VECTOR_expf): Likewise.
7129         (TEST_VECTOR_powf): Likewise.
7130         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
7131         Likewise.
7132         (TEST_VECTOR_sinf): Likewise.
7133         (TEST_VECTOR_sincosf): Likewise.
7134         (TEST_VECTOR_logf): Likewise.
7135         (TEST_VECTOR_expf): Likewise.
7136         (TEST_VECTOR_powf): Likewise.
7137         * math/gen-libm-have-vector-test.sh: Remove file.
7138         * math/libm-test.inc: Likewise.
7139         * math/libm-test-support-double.c: Likewise.
7140         * math/libm-test-support-float.c: Likewise.
7141         * math/libm-test-support-ldouble.c: Likewise.
7142         * math/test-double-finite.c: Likewise.: Likewise.
7143         * math/test-double.c: Likewise.
7144         * math/test-float-finite.c: Likewise.
7145         * math/test-float.c: Likewise.
7146         * math/test-idouble.c: Likewise.
7147         * math/test-ifloat.c: Likewise.
7148         * math/test-ildouble.c: Likewise.
7149         * math/test-ldouble-finite.c: Likewise.
7150         * math/test-ldouble.c: Likewise.
7151         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7152         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
7153         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7154         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7155         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7156         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7157         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7158         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
7159         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7160         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7162 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7163            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7165         * math/Makefile: Add wrappers to gen-libm-calls.
7166         * math/w_acos_template.c: New file.
7167         * math/w_acosh_template.c: Likewise.
7168         * math/w_asin_template.c: Likewise.
7169         * math/w_atan2_template.c: Likewise.
7170         * math/w_atanh_template.c: Likewise.
7171         * math/w_cosh_template.c: Likewise.
7172         * math/w_exp10_template.c: Likewise.
7173         * math/w_exp2_template.c: Likewise.
7174         * math/w_exp_template.c: Likewise.
7175         * math/w_fmod_template.c: Likewise.
7176         * math/w_hypot_template.c: Likewise.
7177         * math/w_j0_template.c: Likewise.
7178         * math/w_j1_template.c: Likewise.
7179         * math/w_jn_template.c: Likewise.
7180         * math/w_lgamma_r_template.c: Likewise.
7181         * math/w_lgamma_template.c: Likewise.
7182         * math/w_log10_template.c: Likewise.
7183         * math/w_log2_template.c: Likewise.
7184         * math/w_log_template.c: Likewise.
7185         * math/w_pow_template.c: Likewise.
7186         * math/w_remainder_template.c: Likewise.
7187         * math/w_sinh_template.c: Likewise.
7188         * math/w_sqrt_template.c: Likewise.
7189         * math/w_tgamma_template.c: Likewise.: Likewise.
7190         * sysdeps/generic/math-type-macros-double.h
7191         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
7192         the new wrappers.
7193         * sysdeps/generic/math-type-macros-float.h: Likewise.
7194         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7196 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
7198         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
7199         New enum constant and macro.
7201         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7202         kernel version to 4.10.
7204 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
7206         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
7208 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7212 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7214         * sysdeps/powerpc/tst-set_ppr.c: New file.
7215         Implement test cases for __ppc_set_ppr_* functions.
7216         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
7217         in the list of tests.
7219 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7221         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
7222         instead of test-skeleton.c.
7223         (do_test): Replaced pthread_create and pthread_join with
7224         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
7225         Removed unneeded status variable.
7226         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
7227         instead of test-skeleton.c.
7228         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
7230 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
7232         [BZ #20313]
7233         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7234         201605L, for Unicode 9.
7236 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
7238         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
7239         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7240         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7241         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7242         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7243         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7245 2017-02-19  Zack Weinberg  <zackw@panix.com>
7247         * rt/tst-mqueue4.c: Include stdint.h.
7249 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
7251         * sysdeps/arm/libm-test-ulps: Update.
7252         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7253         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7254         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7256 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7258         [BZ #21029]
7259         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
7260         * sysdeps/unix/sysv/linux/i386/Makefile
7261         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
7262         (uses-6-syscall-arguments): Remove.
7263         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
7264         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
7265         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
7266         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
7267         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
7268         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
7269         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
7270         [$(subdir) = misc] (cflags-pselect.o): Likewise.
7271         [$(subdir) = misc] (cflags-pselect.os): Likewise.
7272         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
7273         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
7274         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
7275         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
7276         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
7277         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
7278         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
7279         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
7280         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
7281         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
7282         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
7283         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
7284         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
7285         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
7286         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
7287         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
7288         Likewise.
7289         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
7290         Likewise.
7291         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
7292         Likewise.
7293         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
7294         Likewise.
7295         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
7296         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
7297         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
7298         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
7299         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
7300         ebp on inline assembly.
7301         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
7302         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7303         Set if CAN_USE_REGISTER_ASM_EBP is set.
7305 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
7307         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
7308         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
7310 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
7312         * math/auto-libm-test-in: Add tests of catan and catanh.
7313         * math/auto-libm-test-out-catan: New generated file.
7314         * math/auto-libm-test-out-catanh: Likewise.
7315         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
7316         Move tests with finite inputs, except divide-by-zero cases, to
7317         auto-libm-test-in.
7318         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
7319         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
7320         (libm-test-funcs-noauto): Remove catan and catanh.
7321         * sysdeps/i386/fpu/libm-test-ulps: Update.
7322         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7325         * math/auto-libm-test-in: Add tests of casin and casinh.
7326         * math/auto-libm-test-out-casin: New generated file.
7327         * math/auto-libm-test-out-casinh: Likewise.
7328         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
7329         Move tests with finite inputs to auto-libm-test-in.
7330         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
7331         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
7332         (libm-test-funcs-noauto): Remove casin and casinh.
7333         * sysdeps/i386/fpu/libm-test-ulps: Update.
7334         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7337         * math/auto-libm-test-in: Add tests of cacos and cacosh.
7338         * math/auto-libm-test-out-cacos: New generated file.
7339         * math/auto-libm-test-out-cacosh: Likewise.
7340         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
7341         Move tests with finite inputs to auto-libm-test-in.
7342         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
7343         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
7344         (libm-test-funcs-noauto): Remove cacos and cacosh.
7345         * sysdeps/i386/fpu/libm-test-ulps: Update.
7346         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7349         Revert:
7350         2017-02-16  Zack Weinberg  <zackw@panix.com>
7352         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7353         Don't include init-arch.h.
7354         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7355         Don't include init-arch.h.
7357 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7359         [BZ #21171]
7360         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
7361         +Inf and raise divide-by-zero when x is negative.
7362         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
7363         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
7364         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
7365         -Inf and raise divide-by-zero when x = +-0.
7366         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7367         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7368         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
7369         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
7370         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7371         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7372         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7374 2017-02-16  Zack Weinberg  <zackw@panix.com>
7376         * scripts/build-many-glibcs.py (bot_build_mail): If the
7377         bot_config does not contain all of the necessary email-
7378         related settings, just print a warning and continue.
7380 2017-02-16  Zack Weinberg  <zackw@panix.com>
7382         * crypt/md5.h: Test _LIBC with #if defined, not #if.
7383         * dirent/opendir-tst1.c: Include sys/stat.h.
7384         * dirent/tst-fdopendir.c: Include sys/stat.h.
7385         * dirent/tst-fdopendir2.c: Include stdlib.h.
7386         * dirent/tst-scandir.c: Include stdbool.h.
7387         * elf/tst-auditmod1.c: Include link.h and stddef.h.
7388         * elf/tst-tls15.c: Include stdlib.h.
7389         * elf/tst-tls16.c: Include stdlib.h.
7390         * elf/tst-tls17.c: Include stdlib.h.
7391         * elf/tst-tls18.c: Include stdlib.h.
7392         * iconv/tst-iconv6.c: Include endian.h.
7393         * iconvdata/bug-iconv11.c: Include limits.h.
7394         * io/test-utime.c: Include stdint.h.
7395         * io/tst-faccessat.c: Include sys/stat.h.
7396         * io/tst-fchmodat.c: Include sys/stat.h.
7397         * io/tst-fchownat.c: Include sys/stat.h.
7398         * io/tst-fstatat.c: Include sys/stat.h.
7399         * io/tst-futimesat.c: Include sys/stat.h.
7400         * io/tst-linkat.c: Include sys/stat.h.
7401         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
7402         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
7403         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
7404         * io/tst-openat.c: Include stdbool.h.
7405         * io/tst-readlinkat.c: Include sys/stat.h.
7406         * io/tst-renameat.c: Include sys/stat.h.
7407         * io/tst-symlinkat.c: Include sys/stat.h.
7408         * io/tst-unlinkat.c: Include stdbool.h.
7409         * libio/bug-memstream1.c: Include stdlib.h.
7410         * libio/bug-wmemstream1.c: Include stdlib.h.
7411         * libio/tst-fwrite-error.c: Include stdlib.h.
7412         * libio/tst-memstream1.c: Include stdlib.h.
7413         * libio/tst-memstream2.c: Include stdlib.h.
7414         * libio/tst-memstream3.c: Include stdlib.h.
7415         * malloc/tst-interpose-aux.c: Include stdint.h.
7416         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
7417         * nptl/tst-basic7.c: Include limits.h.
7418         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
7419         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
7420         * nptl/tst-cancel4_1.c: Include stddef.h.
7421         * nptl/tst-cancel4_2.c: Include stddef.h.
7422         * nptl/tst-cond16.c: Include limits.h.
7423         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7424         * nptl/tst-cond18.c: Include limits.h.
7425         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7426         * nptl/tst-cond4.c: Include stdint.h.
7427         * nptl/tst-cond6.c: Include stdint.h.
7428         * nptl/tst-stack2.c: Include limits.h.
7429         * nptl/tst-stackguard1.c: Include stddef.h.
7430         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
7431         * nptl/tst-tls4moda.c: Include stddef.h.
7432         Don't include stdio.h, unistd.h, or tls.h.
7433         * nptl/tst-tls4modb.c: Include stddef.h.
7434         Don't include stdio.h, unistd.h, or tls.h.
7435         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
7436         * posix/tst-getaddrinfo2.c: Include stdio.h.
7437         * posix/tst-getaddrinfo5.c: Include stdio.h.
7438         * posix/tst-pathconf.c: Include sys/stat.h.
7439         * posix/tst-posix_fadvise-common.c: Include stdint.h.
7440         * posix/tst-preadwrite-common.c: Include sys/stat.h.
7441         * posix/tst-regex.c: Include stdint.h.
7442         Don't include spawn.h or spawn_int.h.
7443         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
7444         * posix/tst-vfork3.c: Include sys/stat.h.
7445         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
7446         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
7447         * resolv/tst-resolv-search.c: Include stdlib.h.
7448         * stdio-common/tst-fmemopen2.c: Include stdint.h.
7449         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
7450         * stdlib/test-canon.c: Include sys/stat.h.
7451         * stdlib/tst-tls-atexit.c: Include stdbool.h.
7452         * string/test-memchr.c: Include stdint.h.
7453         * string/tst-cmp.c: Include stdint.h.
7454         * sysdeps/pthread/tst-timer.c: Include stdint.h.
7455         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
7456         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
7457         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7458         Don't include init-arch.h.
7459         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7460         Don't include init-arch.h.
7461         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
7462         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
7463         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
7464         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
7465         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
7466         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
7467         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
7468         * time/clocktest.c: Include stdint.h.
7469         * time/tst-posixtz.c: Include stdint.h.
7470         * timezone/tst-timezone.c: Include stdint.h.
7472 2017-02-16  Zack Weinberg  <zackw@panix.com>
7474         * string/string.h [__USE_MISC]: Include strings.h.
7475         (__bzero, bcmp, bcopy, bzero, index, rindex)
7476         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
7477         (ffs, ffsl, ffsll): Don't declare.
7478         * string/strings.h: Do not suppress the file if string.h has
7479         already been included.
7480         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
7481         annotations.
7482         (index, rindex): Define inline forwarders even if
7483         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
7484         (ffs): Use __attribute_const__.
7485         (ffsl, ffsll): Declare here.
7486         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
7487         have now been standardized.
7488         * include/string.h (__bzero): Declare here.
7490         * bits/types.h: Move to posix/bits.
7491         * include/bits/types.h: New wrapper.
7493 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
7495         * string/bits/string2.h (strcmp): Remove define.
7496         (__strcmp_cg): Likewise.
7497         (strncmp): Likewise.
7499 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
7501         * include/string.h: Add __cplusplus check.
7503 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7505         [BZ #21134]
7506         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
7507         "divide by zero" exception when the input is zero.
7508         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
7509         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
7510         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
7511         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
7512         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7514 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
7516         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
7517         and include ...
7518         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
7519         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
7520         to, and include ...
7521         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
7522         file.
7523         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
7524         and include ...
7525         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
7526         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
7527         and include ...
7528         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
7529         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
7530         and include ...
7531         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
7532         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
7533         and include ...
7534         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
7535         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
7536         to, and include ...
7537         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
7538         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
7539         and include ...
7540         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
7542 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
7544         * math/libm-test-support.h: Do not include <math-tests-arch.h>
7545         here.
7546         * math/libm-test-support.c (libm_test_init): Do not call
7547         INIT_ARCH_EXT here.
7548         * math/libm-test-driver.c: Include <math-tests-arch.h>.
7549         (main): Call INIT_ARCH_EXT.
7551 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7553         [BZ #21130]
7554         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
7555         with the "invalid" exception raised when x is -Inf.
7556         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7558 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
7560         * string/bits/string2.h (strchr): Remove define.
7562 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
7564         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
7565         tst-avx512.
7566         (test-extras): Add tst-avx-aux and tst-avx512-aux.
7567         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
7568         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
7569         ($(objpfx)tst-sse): New rule.
7570         ($(objpfx)tst-avx): Likewise.
7571         ($(objpfx)tst-avx512): Likewise.
7572         (CFLAGS-tst-avx-aux.c): New.
7573         (CFLAGS-tst-avxmod.c): Likewise.
7574         (CFLAGS-tst-avx512-aux.c): Likewise.
7575         (CFLAGS-tst-avx512mod.c): Likewise.
7576         * sysdeps/x86_64/tst-avx-aux.c: New file.
7577         * sysdeps/x86_64/tst-avx.c: Likewise.
7578         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
7579         * sysdeps/x86_64/tst-avx512.c: Likewise.
7580         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
7581         * sysdeps/x86_64/tst-avxmod.c: Likewise.
7582         * sysdeps/x86_64/tst-sse.c: Likewise.
7583         * sysdeps/x86_64/tst-ssemod.c: Likewise.
7585 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
7587         * math/auto-libm-test-in: Add more tests of csin and csinh.
7588         * math/auto-libm-test-out-csin: Regenerated.
7589         * math/auto-libm-test-out-csinh: Likewise.
7590         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
7591         auto-libm-test-in.
7592         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
7594 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7596         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
7597         libm-compat-calls-auto.
7598         (libm-compat-calls): Likewise.
7599         (libm-compat-calls-auto): Rename to libm-compat-calls and add
7600         w_lgamma_compatF and k_standardF (merged from the items above).
7601         (libm-routines): Use libm-compat-calls, instead of
7602         libm-compat-calls-auto, with type-foreach.
7604 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
7606         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
7607         macro.
7608         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
7609         (CFLAGS-test-ifloat.c): ... this.  Remove
7610         -U__LIBC_INTERNAL_MATH_INLINES.
7611         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
7612         (CFLAGS-test-idouble.c): ... this.  Remove
7613         -U__LIBC_INTERNAL_MATH_INLINES.
7614         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
7615         (CFLAGS-test-ildouble.c): ... this.  Remove
7616         -U__LIBC_INTERNAL_MATH_INLINES.
7618 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
7620         * math/libm-test-support.c: New file.  Content from
7621         math/libm-test-driver.c.
7622         * math/libm-test-support.h: Likewise.
7623         * math/libm-test-support-double.c: New file.
7624         * math/libm-test-support-float.c: Likewise.
7625         * math/libm-test-support-ldouble.c: Likewise.
7626         * math/libm-test-driver.c: Remove main comment and header
7627         includes.  Include libm-test-support.h.
7628         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
7629         (flag_test_errno): Remove static.
7630         (flag_test_exceptions): Likewise.
7631         (flag_test_finite): Likewise.
7632         (flag_test_inline): Likewise.
7633         (flag_test_mathvec): Likewise.
7634         (test_msg): Likewise.
7635         (NO_EXCEPTION): Remove.
7636         (INVALID_EXCEPTION): Likewise.
7637         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
7638         (OVERFLOW_EXCEPTION): Likewise.
7639         (UNDERFLOW_EXCEPTION): Likewise.
7640         (INEXACT_EXCEPTION): Likewise.
7641         (INVALID_EXCEPTION_OK): Likewise.
7642         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7643         (OVERFLOW_EXCEPTION_OK): Likewise.
7644         (UNDERFLOW_EXCEPTION_OK): Likewise.
7645         (NO_INEXACT_EXCEPTION): Likewise.
7646         (EXCEPTIONS_OK): Likewise.
7647         (IGNORE_ZERO_INF_SIGN): Likewise.
7648         (TEST_NAN_SIGN): Likewise.
7649         (TEST_NAN_PAYLOAD): Likewise.
7650         (NO_TEST_INLINE): Likewise.
7651         (XFAIL_TEST): Likewise.
7652         (ERRNO_UNCHANGED): Likewise.
7653         (ERRNO_EDOM): Likewise.
7654         (ERRNO_ERANGE): Likewise.
7655         (IGNORE_RESULT): Likewise.
7656         (NON_FINITE): Likewise.
7657         (TEST_SNAN): Likewise.
7658         (NO_TEST_MATHVEC): Likewise.
7659         (__CONCATX): Likewise.
7660         (TYPE_MIN): Likewise.
7661         (TYPE_TRUE_MIN): Likewise.
7662         (TYPE_MAX): Likewise.
7663         (MIN_EXP): Likewise.
7664         (MAX_EXP): Likewise.
7665         (MANT_DIG): Likewise.
7666         (FSTR_MAX): Likewise.
7667         (ulp_idx): Likewise.
7668         (qtype_str): Remove static.
7669         (TEST_COND_binary32): Remove.
7670         (TEST_COND_binary64): Likewise.
7671         (TEST_COND_binary128): Likewise.
7672         (TEST_COND_ibm128): Likewise.
7673         (TEST_COND_intel96): Likewise.
7674         (TEST_COND_m68k96): Likewise.
7675         (TEST_COND_ibm128_libgcc): Likewise.
7676         (XFAIL_IBM128_LIBGCC): Likewise.
7677         (PAYLOAD_DIG): Likewise.
7678         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7679         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7680         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7681         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7682         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7683         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
7684         (TEST_COND_long32): Likewise.
7685         (TEST_COND_long64): Likewise.
7686         (TEST_COND_before_rounding): Likewise.
7687         (TEST_COND_after_rounding): Likewise.
7688         (ulps_file_name): Likewise.
7689         (ulps_file): Likewise.
7690         (output_ulps): Likewise.
7691         (output_dir): Likewise.
7692         (noErrors): Likewise.
7693         (noTests): Likewise.
7694         (noExcTests): Likewise.
7695         (noErrnoTests): Likewise.
7696         (verbose): Likewise.
7697         (output_max_error): Likewise.
7698         (output_points): Likewise.
7699         (ignore_max_ulp): Likewise.
7700         (max_error): Likewise.
7701         (real_max_error): Likewise.
7702         (imag_max_error): Likewise.
7703         (prev_max_error): Likewise.
7704         (prev_real_max_error): Likewise.
7705         (prev_imag_max_error): Likewise.
7706         (max_valid_error): Likewise.
7707         (TYPE_DECIMAL_DIG): Likewise.
7708         (TYPE_HEX_DIG): Likewise.
7709         (fmt_ftostr): Likewise.
7710         (compare_ulp_data): Likewise.
7711         (find_ulps): Likewise.
7712         (init_max_error): Likewise.
7713         (set_max_error): Likewise.
7714         (print_float): Likewise.
7715         (print_screen): Likewise.
7716         (print_screen_max_error): Likewise.
7717         (update_stats): Likewise.
7718         (print_function_ulps): Likewise.
7719         (print_complex_function_ulps): Likewise.
7720         (fpstack_test): Likewise.
7721         (print_max_error): Likewise.
7722         (print_complex_max_error): Likewise.
7723         (test_single_exception): Likewise.
7724         (test_exceptions): Likewise.
7725         (test_single_errno): Likewise.
7726         (test_errno): Likewise.
7727         (ULPDIFF): Likewise.
7728         (ulp): Likewise.
7729         (check_float_internal): Likewise.
7730         (check_float): Likewise.
7731         (check_complex): Likewise.
7732         (check_int): Likewise.
7733         (check_long): Likewise.
7734         (check_bool): Likewise.
7735         (check_longlong): Likewise.
7736         (check_intmax_t): Likewise.
7737         (check_uintmax_t): Likewise.
7738         (enable_test): Likewise.
7739         (matherr): Likewise.
7740         (initialize): Likewise.
7741         (options): Likewise.
7742         (doc): Remove static.
7743         (argp): Likewise.
7744         (parse_opt): Remove.
7745         (check_ulp): Likewise.
7746         (libm_test_init): Likewise.
7747         (libm_test_finish): Likewise.
7748         * math/Makefile (libm-test-support): New variable.
7749         (test-extras): Add libm-test-support files.
7750         (extra-test-objs): Likewise.
7751         (CFLAGS-libm-test-support-float.c): New variable.
7752         (CFLAGS-libm-test-support-double.c): Likewise.
7753         (CFLAGS-libm-test-support-ldouble.c): Likewise.
7754         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
7755         libm-test-support objects.
7757 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7759         * math/Makefile (libm-calls): Move w_exp...
7760         (libm-compat-calls-auto): Here.
7762         * math/w_expl.c: Add suffix "_compat" to filename.
7763         * sysdeps/ia64/fpu/w_expl.c: Likewise.
7764         * sysdeps/ia64/fpu/w_expf.c: Likewise.
7765         * sysdeps/ia64/fpu/w_exp.c: Likewise.
7766         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7767         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7768         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7769         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
7770         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7772         * math/w_expl_compat.c: New file, copied from above.
7773         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
7774         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
7775         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
7776         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
7777         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
7778         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
7779         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
7780         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
7782         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
7783         to filename.
7784         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
7786         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
7787         copied from above and adjusted for the new filenames.
7788         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
7790 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7792         * math/Makefile (libm-calls): Move w_lgammaF...
7793         (libm-compat-calls-auto): Here.
7795         * math/w_lgamma.c: Add suffix "_compat2" to filename.
7796         * math/w_lgammaf.c: Likewise.
7797         * math/w_lgammal.c: Likewise.
7799         * math/w_lgamma_compat2.c: New file, copied from above.
7800         * math/w_lgammaf_compat2.c: Likewise.
7801         * math/w_lgammal_compat2.c: Likewise.
7803 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7805         * math/Makefile (libm-calls): Move w_lgammaF_r...
7806         (libm-compat-calls-auto): Here.
7808         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
7809         * math/w_lgammaf_r.c: Likewise.
7810         * math/w_lgammal_r.c: Likewise.
7811         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
7812         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
7813         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
7815         * math/w_lgamma_r_compat.c: New file, copied from above.
7816         * math/w_lgammaf_r_compat.c: Likewise.
7817         * math/w_lgammal_r_compat.c: Likewise.
7818         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
7819         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
7820         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
7822         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
7823         to filename.
7824         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
7826         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
7827         copied from above and adjusted for the new filenames.
7828         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
7830 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
7832         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
7833         calculation in SYSCALL_ERROR_HANDLER().
7835 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
7837         * manual/contrib.texi: Fix typo.
7839 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7841         [BZ #21109]
7842         * elf/dl-tunable-types.h (tunable_callback_t): Accept
7843         tunable_val_t as argument.
7844         * elf/dl-tunables.c (__tunable_set_val): Add comment.
7845         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
7846         argument.
7847         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
7849 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
7851         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
7852         Add PTRACE_EVENT_STOP.
7853         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7854         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7855         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7856         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7857         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
7858         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
7860 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
7862         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
7863         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
7864         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
7865         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
7866         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
7867         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
7868         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
7869         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
7870         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
7871         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
7873         [BZ #21112]
7874         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
7875         12 bits zero.
7876         (cp_l): Update for new value of cp_h.
7877         * math/auto-libm-test-in: Add another test of pow.
7878         * math/auto-libm-test-out-pow: Regenerated.
7880 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7882         * manual/contrib.texi: Fix typo.
7884 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7886         [BZ #15998]
7887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7888         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
7889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7891 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7893         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
7894         STRCHR as __strchr_power8.
7895         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
7896         strlen as __strlen_power8.
7898 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7900         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
7901         unaligned load for shorter strings.
7902         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
7904 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7906         * math/libm-test-driver.c (flag_test_errno): New variable.
7907         (flag_test_exceptions): Likewise.
7908         (flag_test_finite): Likewise.
7909         (flag_test_inline): Likewise.
7910         (flag_test_mathvec): Likewise.
7911         (test_msg): Likewise.
7912         (ulp_idx): Likewise.
7913         (qtype_str): Likewise.
7914         (ULP_IDX): Remove macro.
7915         (QTYPE_STR): Likewise.
7916         (find_ulps): Use ulp_idx not ULP_IDX.
7917         (print_function_ulps): Use qtype_str, printed with %s, not
7918         QTYPE_STR, printed with concatentation to format string.
7919         (print_complex_function_ulps): Likewise.
7920         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
7921         (test_errno): Use flag_test_errno not TEST_ERRNO.
7922         (enable_test): Use flag_test_inline, flag_test_finite and
7923         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
7924         TEST_MATHVEC.
7925         (libm_test_init): New function.  Factored out of main.
7926         (libm_test_finish): Likewise.
7927         (main): Call libm_test_init and libm_test_finish and move most
7928         code to those functions.
7930         * math/libm-test-driver.c (STRX): New macro.
7931         (STR): Likewise.
7932         (STR_FLOAT): Likewise.
7933         (STR_VEC_LEN): Likewise.
7934         (TEST_MSG): Likewise.  Define here instead of expecting to be
7935         defined by including file.
7936         * math/test-double-finite.c (TEST_MSG): Remove macro.
7937         * math/test-double-vlen2.h (TEST_MSG): Likewise.
7938         * math/test-double-vlen4.h (TEST_MSG): Likewise.
7939         * math/test-double-vlen8.h (TEST_MSG): Likewise.
7940         * math/test-double.c (TEST_MSG): Likewise.
7941         * math/test-float-finite.c (TEST_MSG): Likewise.
7942         * math/test-float-vlen16.h (TEST_MSG): Likewise.
7943         * math/test-float-vlen4.h (TEST_MSG): Likewise.
7944         * math/test-float-vlen8.h (TEST_MSG): Likewise.
7945         * math/test-float.c (TEST_MSG): Likewise.
7946         * math/test-idouble.c (TEST_MSG): Likewise.
7947         * math/test-ifloat.c (TEST_MSG): Likewise.
7948         * math/test-ildouble.c (TEST_MSG): Likewise.
7949         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
7950         * math/test-ldouble.c (TEST_MSG): Likewise.
7952         * math/libm-test.inc: Move all tests of individual functions to
7953         libm-test-*.inc and #include libm-test-*.c files.
7954         (acos_test_data): Remove.
7955         (acos_test): Likewise.
7956         (acosh_test_data): Likewise.
7957         (acosh_test): Likewise.
7958         (asin_test_data): Likewise.
7959         (asin_test): Likewise.
7960         (asinh_test_data): Likewise.
7961         (asinh_test): Likewise.
7962         (atan_test_data): Likewise.
7963         (atan_test): Likewise.
7964         (atanh_test_data): Likewise.
7965         (atanh_test): Likewise.
7966         (atan2_test_data): Likewise.
7967         (atan2_test): Likewise.
7968         (cabs_test_data): Likewise.
7969         (cabs_test): Likewise.
7970         (cacos_test_data): Likewise.
7971         (cacos_test): Likewise.
7972         (cacosh_test_data): Likewise.
7973         (cacosh_test): Likewise.
7974         (canonicalize_test_data): Likewise.
7975         (canonicalize_test): Likewise.
7976         (carg_test_data): Likewise.
7977         (carg_test): Likewise.
7978         (casin_test_data): Likewise.
7979         (casin_test): Likewise.
7980         (casinh_test_data): Likewise.
7981         (casinh_test): Likewise.
7982         (catan_test_data): Likewise.
7983         (catan_test): Likewise.
7984         (catanh_test_data): Likewise.
7985         (catanh_test): Likewise.
7986         (cbrt_test_data): Likewise.
7987         (cbrt_test): Likewise.
7988         (ccos_test_data): Likewise.
7989         (ccos_test): Likewise.
7990         (ccosh_test_data): Likewise.
7991         (ccosh_test): Likewise.
7992         (ceil_test_data): Likewise.
7993         (ceil_test): Likewise.
7994         (cexp_test_data): Likewise.
7995         (cexp_test): Likewise.
7996         (cimag_test_data): Likewise.
7997         (cimag_test): Likewise.
7998         (clog_test_data): Likewise.
7999         (clog_test): Likewise.
8000         (clog10_test_data): Likewise.
8001         (clog10_test): Likewise.
8002         (conj_test_data): Likewise.
8003         (conj_test): Likewise.
8004         (copysign_test_data): Likewise.
8005         (copysign_test): Likewise.
8006         (cos_test_data): Likewise.
8007         (cos_test): Likewise.
8008         (cosh_test_data): Likewise.
8009         (cosh_test): Likewise.
8010         (cpow_test_data): Likewise.
8011         (cpow_test): Likewise.
8012         (cproj_test_data): Likewise.
8013         (cproj_test): Likewise.
8014         (creal_test_data): Likewise.
8015         (creal_test): Likewise.
8016         (csin_test_data): Likewise.
8017         (csin_test): Likewise.
8018         (csinh_test_data): Likewise.
8019         (csinh_test): Likewise.
8020         (csqrt_test_data): Likewise.
8021         (csqrt_test): Likewise.
8022         (ctan_test_data): Likewise.
8023         (ctan_test): Likewise.
8024         (ctanh_test_data): Likewise.
8025         (ctanh_test): Likewise.
8026         (erf_test_data): Likewise.
8027         (erf_test): Likewise.
8028         (erfc_test_data): Likewise.
8029         (erfc_test): Likewise.
8030         (exp_test_data): Likewise.
8031         (exp_test): Likewise.
8032         (exp10_test_data): Likewise.
8033         (exp10_test): Likewise.
8034         (pow10_test): Likewise.
8035         (exp2_test_data): Likewise.
8036         (exp2_test): Likewise.
8037         (expm1_test_data): Likewise.
8038         (expm1_test): Likewise.
8039         (fabs_test_data): Likewise.
8040         (fabs_test): Likewise.
8041         (fdim_test_data): Likewise.
8042         (fdim_test): Likewise.
8043         (floor_test_data): Likewise.
8044         (floor_test): Likewise.
8045         (fma_test_data): Likewise.
8046         (fma_test): Likewise.
8047         (fmax_test_data): Likewise.
8048         (fmax_test): Likewise.
8049         (fmaxmag_test_data): Likewise.
8050         (fmaxmag_test): Likewise.
8051         (fmin_test_data): Likewise.
8052         (fmin_test): Likewise.
8053         (fminmag_test_data): Likewise.
8054         (fminmag_test): Likewise.
8055         (fmod_test_data): Likewise.
8056         (fmod_test): Likewise.
8057         (fpclassify_test_data): Likewise.
8058         (fpclassify_test): Likewise.
8059         (frexp_test_data): Likewise.
8060         (frexp_test): Likewise.
8061         (fromfp_test_data): Likewise.
8062         (fromfp_test): Likewise.
8063         (fromfpx_test_data): Likewise.
8064         (fromfpx_test): Likewise.
8065         (getpayload_test_data): Likewise.
8066         (getpayload_test): Likewise.
8067         (hypot_test_data): Likewise.
8068         (hypot_test): Likewise.
8069         (ilogb_test_data): Likewise.
8070         (ilogb_test): Likewise.
8071         (iscanonical_test_data): Likewise.
8072         (iscanonical_test): Likewise.
8073         (iseqsig_test_data): Likewise.
8074         (iseqsig_test): Likewise.
8075         (isfinite_test_data): Likewise.
8076         (isfinite_test): Likewise.
8077         (finite_test): Likewise.
8078         (isgreater_test_data): Likewise.
8079         (isgreater_test): Likewise.
8080         (isgreaterequal_test_data): Likewise.
8081         (isgreaterequal_test): Likewise.
8082         (isinf_test_data): Likewise.
8083         (isinf_test): Likewise.
8084         (isless_test_data): Likewise.
8085         (isless_test): Likewise.
8086         (islessequal_test_data): Likewise.
8087         (islessequal_test): Likewise.
8088         (islessgreater_test_data): Likewise.
8089         (islessgreater_test): Likewise.
8090         (isnan_test_data): Likewise.
8091         (isnan_test): Likewise.
8092         (isnormal_test_data): Likewise.
8093         (isnormal_test): Likewise.
8094         (issignaling_test_data): Likewise.
8095         (issignaling_test): Likewise.
8096         (issubnormal_test_data): Likewise.
8097         (issubnormal_test): Likewise.
8098         (isunordered_test_data): Likewise.
8099         (isunordered_test): Likewise.
8100         (iszero_test_data): Likewise.
8101         (iszero_test): Likewise.
8102         (j0_test_data): Likewise.
8103         (j0_test): Likewise.
8104         (j1_test_data): Likewise.
8105         (j1_test): Likewise.
8106         (jn_test_data): Likewise.
8107         (jn_test): Likewise.
8108         (lgamma_test_data): Likewise.
8109         (lgamma_test): Likewise.
8110         (gamma_test): Likewise.
8111         (llogb_test_data): Likewise.
8112         (llogb_test): Likewise.
8113         (lrint_test_data): Likewise.
8114         (lrint_test): Likewise.
8115         (llrint_test_data): Likewise.
8116         (llrint_test): Likewise.
8117         (log_test_data): Likewise.
8118         (log_test): Likewise.
8119         (log10_test_data): Likewise.
8120         (log10_test): Likewise.
8121         (log1p_test_data): Likewise.
8122         (log1p_test): Likewise.
8123         (log2_test_data): Likewise.
8124         (log2_test): Likewise.
8125         (logb_test_data): Likewise.
8126         (logb_test): Likewise.
8127         (lround_test_data): Likewise.
8128         (lround_test): Likewise.
8129         (llround_test_data): Likewise.
8130         (llround_test): Likewise.
8131         (modf_test_data): Likewise.
8132         (modf_test): Likewise.
8133         (nearbyint_test_data): Likewise.
8134         (nearbyint_test): Likewise.
8135         (nextafter_test_data): Likewise.
8136         (nextafter_test): Likewise.
8137         (nextup_test_data): Likewise.
8138         (nextup_test): Likewise.
8139         (nextdown_test_data): Likewise.
8140         (nextdown_test): Likewise.
8141         (nexttoward_test_data): Likewise.
8142         (nexttoward_test): Likewise.
8143         (pow_test_data): Likewise.
8144         (pow_test): Likewise.
8145         (remainder_test_data): Likewise.
8146         (remainder_test): Likewise.
8147         (drem_test): Likewise.
8148         (remquo_test_data): Likewise.
8149         (remquo_test): Likewise.
8150         (rint_test_data): Likewise.
8151         (rint_test): Likewise.
8152         (round_test_data): Likewise.
8153         (round_test): Likewise.
8154         (roundeven_test_data): Likewise.
8155         (roundeven_test): Likewise.
8156         (scalb_test_data): Likewise.
8157         (scalb_test): Likewise.
8158         (scalbn_test_data): Likewise.
8159         (scalbn_test): Likewise.
8160         (ldexp_test): Likewise.
8161         (scalbln_test_data): Likewise.
8162         (scalbln_test): Likewise.
8163         (setpayload_test_data): Likewise.
8164         (setpayload_test): Likewise.
8165         (setpayloadsig_test_data): Likewise.
8166         (setpayloadsig_test): Likewise.
8167         (signbit_test_data): Likewise.
8168         (signbit_test): Likewise.
8169         (sin_test_data): Likewise.
8170         (sin_test): Likewise.
8171         (sincos_test_data): Likewise.
8172         (sincos_test): Likewise.
8173         (sinh_test_data): Likewise.
8174         (sinh_test): Likewise.
8175         (sqrt_test_data): Likewise.
8176         (sqrt_test): Likewise.
8177         (tan_test_data): Likewise.
8178         (tan_test): Likewise.
8179         (tanh_test_data): Likewise.
8180         (tanh_test): Likewise.
8181         (tgamma_test_data): Likewise.
8182         (tgamma_test): Likewise.
8183         (totalorder_test_data): Likewise.
8184         (totalorder_test): Likewise.
8185         (totalordermag_test_data): Likewise.
8186         (totalordermag_test): Likewise.
8187         (trunc_test_data): Likewise.
8188         (trunc_test): Likewise.
8189         (ufromfp_test_data): Likewise.
8190         (ufromfp_test): Likewise.
8191         (ufromfpx_test_data): Likewise.
8192         (ufromfpx_test): Likewise.
8193         (y0_test_data): Likewise.
8194         (y0_test): Likewise.
8195         (y1_test_data): Likewise.
8196         (y1_test): Likewise.
8197         (yn_test_data): Likewise.
8198         (yn_test): Likewise.
8199         (significand_test_data): Likewise.
8200         (significand_test): Likewise.
8201         * math/Makefile (auto-libm-test-out-files): Remove variable.
8202         (libm-test-funcs-noauto): New variable.
8203         (libm-test-funcs-all): Likewise.
8204         (libm-test-c-auto): Likewise.
8205         (libm-test-c-noauto): Likewise.
8206         (libm-tests-generated): Add $(libm-test-c-auto) and
8207         $(libm-test-c-noauto).
8208         (generated): Do not add auto-libm-test-out.
8209         (libm-test-c-auto-obj): New variable.
8210         (libm-test-c-noauto-obj): Likewise.
8211         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
8212         ($(libm-test-c-noauto-obj)): New static pattern rule.
8213         ($(libm-test-c-auto-obj)): Likewise.
8214         (libm-test-incs): New variable.
8215         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
8216         and pass it to gen-libm-have-vector-test.sh.
8217         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
8218         be passed on command line.
8219         * math/libm-test-acos.inc: New file.  Content from
8220         math/libm-test.inc.
8221         * math/libm-test-acosh.inc: Likewise.
8222         * math/libm-test-asin.inc: Likewise.
8223         * math/libm-test-asinh.inc: Likewise.
8224         * math/libm-test-atan.inc: Likewise.
8225         * math/libm-test-atan2.inc: Likewise.
8226         * math/libm-test-atanh.inc: Likewise.
8227         * math/libm-test-cabs.inc: Likewise.
8228         * math/libm-test-cacos.inc: Likewise.
8229         * math/libm-test-cacosh.inc: Likewise.
8230         * math/libm-test-canonicalize.inc: Likewise.
8231         * math/libm-test-carg.inc: Likewise.
8232         * math/libm-test-casin.inc: Likewise.
8233         * math/libm-test-casinh.inc: Likewise.
8234         * math/libm-test-catan.inc: Likewise.
8235         * math/libm-test-catanh.inc: Likewise.
8236         * math/libm-test-cbrt.inc: Likewise.
8237         * math/libm-test-ccos.inc: Likewise.
8238         * math/libm-test-ccosh.inc: Likewise.
8239         * math/libm-test-ceil.inc: Likewise.
8240         * math/libm-test-cexp.inc: Likewise.
8241         * math/libm-test-cimag.inc: Likewise.
8242         * math/libm-test-clog.inc: Likewise.
8243         * math/libm-test-clog10.inc: Likewise.
8244         * math/libm-test-conj.inc: Likewise.
8245         * math/libm-test-copysign.inc: Likewise.
8246         * math/libm-test-cos.inc: Likewise.
8247         * math/libm-test-cosh.inc: Likewise.
8248         * math/libm-test-cpow.inc: Likewise.
8249         * math/libm-test-cproj.inc: Likewise.
8250         * math/libm-test-creal.inc: Likewise.
8251         * math/libm-test-csin.inc: Likewise.
8252         * math/libm-test-csinh.inc: Likewise.
8253         * math/libm-test-csqrt.inc: Likewise.
8254         * math/libm-test-ctan.inc: Likewise.
8255         * math/libm-test-ctanh.inc: Likewise.
8256         * math/libm-test-erf.inc: Likewise.
8257         * math/libm-test-erfc.inc: Likewise.
8258         * math/libm-test-exp.inc: Likewise.
8259         * math/libm-test-exp10.inc: Likewise.
8260         * math/libm-test-exp2.inc: Likewise.
8261         * math/libm-test-expm1.inc: Likewise.
8262         * math/libm-test-fabs.inc: Likewise.
8263         * math/libm-test-fdim.inc: Likewise.
8264         * math/libm-test-floor.inc: Likewise.
8265         * math/libm-test-fma.inc: Likewise.
8266         * math/libm-test-fmax.inc: Likewise.
8267         * math/libm-test-fmaxmag.inc: Likewise.
8268         * math/libm-test-fmin.inc: Likewise.
8269         * math/libm-test-fminmag.inc: Likewise.
8270         * math/libm-test-fmod.inc: Likewise.
8271         * math/libm-test-fpclassify.inc: Likewise.
8272         * math/libm-test-frexp.inc: Likewise.
8273         * math/libm-test-fromfp.inc: Likewise.
8274         * math/libm-test-fromfpx.inc: Likewise.
8275         * math/libm-test-getpayload.inc: Likewise.
8276         * math/libm-test-hypot.inc: Likewise.
8277         * math/libm-test-ilogb.inc: Likewise.
8278         * math/libm-test-iscanonical.inc: Likewise.
8279         * math/libm-test-iseqsig.inc: Likewise.
8280         * math/libm-test-isfinite.inc: Likewise.
8281         * math/libm-test-isgreater.inc: Likewise.
8282         * math/libm-test-isgreaterequal.inc: Likewise.
8283         * math/libm-test-isinf.inc: Likewise.
8284         * math/libm-test-isless.inc: Likewise.
8285         * math/libm-test-islessequal.inc: Likewise.
8286         * math/libm-test-islessgreater.inc: Likewise.
8287         * math/libm-test-isnan.inc: Likewise.
8288         * math/libm-test-isnormal.inc: Likewise.
8289         * math/libm-test-issignaling.inc: Likewise.
8290         * math/libm-test-issubnormal.inc: Likewise.
8291         * math/libm-test-isunordered.inc: Likewise.
8292         * math/libm-test-iszero.inc: Likewise.
8293         * math/libm-test-j0.inc: Likewise.
8294         * math/libm-test-j1.inc: Likewise.
8295         * math/libm-test-jn.inc: Likewise.
8296         * math/libm-test-lgamma.inc: Likewise.
8297         * math/libm-test-llogb.inc: Likewise.
8298         * math/libm-test-llrint.inc: Likewise.
8299         * math/libm-test-llround.inc: Likewise.
8300         * math/libm-test-log.inc: Likewise.
8301         * math/libm-test-log10.inc: Likewise.
8302         * math/libm-test-log1p.inc: Likewise.
8303         * math/libm-test-log2.inc: Likewise.
8304         * math/libm-test-logb.inc: Likewise.
8305         * math/libm-test-lrint.inc: Likewise.
8306         * math/libm-test-lround.inc: Likewise.
8307         * math/libm-test-modf.inc: Likewise.
8308         * math/libm-test-nearbyint.inc: Likewise.
8309         * math/libm-test-nextafter.inc: Likewise.
8310         * math/libm-test-nextdown.inc: Likewise.
8311         * math/libm-test-nexttoward.inc: Likewise.
8312         * math/libm-test-nextup.inc: Likewise.
8313         * math/libm-test-pow.inc: Likewise.
8314         * math/libm-test-remainder.inc: Likewise.
8315         * math/libm-test-remquo.inc: Likewise.
8316         * math/libm-test-rint.inc: Likewise.
8317         * math/libm-test-round.inc: Likewise.
8318         * math/libm-test-roundeven.inc: Likewise.
8319         * math/libm-test-scalb.inc: Likewise.
8320         * math/libm-test-scalbln.inc: Likewise.
8321         * math/libm-test-scalbn.inc: Likewise.
8322         * math/libm-test-setpayload.inc: Likewise.
8323         * math/libm-test-setpayloadsig.inc: Likewise.
8324         * math/libm-test-signbit.inc: Likewise.
8325         * math/libm-test-significand.inc: Likewise.
8326         * math/libm-test-sin.inc: Likewise.
8327         * math/libm-test-sincos.inc: Likewise.
8328         * math/libm-test-sinh.inc: Likewise.
8329         * math/libm-test-sqrt.inc: Likewise.
8330         * math/libm-test-tan.inc: Likewise.
8331         * math/libm-test-tanh.inc: Likewise.
8332         * math/libm-test-tgamma.inc: Likewise.
8333         * math/libm-test-totalorder.inc: Likewise.
8334         * math/libm-test-totalordermag.inc: Likewise.
8335         * math/libm-test-trunc.inc: Likewise.
8336         * math/libm-test-ufromfp.inc: Likewise.
8337         * math/libm-test-ufromfpx.inc: Likewise.
8338         * math/libm-test-y0.inc: Likewise.
8339         * math/libm-test-y1.inc: Likewise.
8340         * math/libm-test-yn.inc: Likewise.
8341         * math/README.libm-test: Update.
8343         * math/gen-auto-libm-tests.c: Update comment about use of program.
8344         (generate_output): Add argument FUNCTION.
8345         (main): Require extra argument.  Pass function name to
8346         generate_output.
8347         * math/Makefile (generated): Add auto-libm-test-out.
8348         (libm-test-funcs-auto): New variable.
8349         (auto-libm-test-out-files): New variable.
8350         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
8351         Concatenate those files to form $(objpfx)auto-libm-test-out and
8352         use it as input to gen-libm-test.pl.
8353         * math/README.libm-test: Update.
8354         * math/auto-libm-test-out: Remove.
8355         * math/auto-libm-test-out-acos: New generated file.
8356         * math/auto-libm-test-out-acosh: Likewise.
8357         * math/auto-libm-test-out-asin: Likewise.
8358         * math/auto-libm-test-out-asinh: Likewise.
8359         * math/auto-libm-test-out-atan: Likewise.
8360         * math/auto-libm-test-out-atan2: Likewise.
8361         * math/auto-libm-test-out-atanh: Likewise.
8362         * math/auto-libm-test-out-cabs: Likewise.
8363         * math/auto-libm-test-out-carg: Likewise.
8364         * math/auto-libm-test-out-cbrt: Likewise.
8365         * math/auto-libm-test-out-ccos: Likewise.
8366         * math/auto-libm-test-out-ccosh: Likewise.
8367         * math/auto-libm-test-out-cexp: Likewise.
8368         * math/auto-libm-test-out-clog: Likewise.
8369         * math/auto-libm-test-out-clog10: Likewise.
8370         * math/auto-libm-test-out-cos: Likewise.
8371         * math/auto-libm-test-out-cosh: Likewise.
8372         * math/auto-libm-test-out-cpow: Likewise.
8373         * math/auto-libm-test-out-csin: Likewise.
8374         * math/auto-libm-test-out-csinh: Likewise.
8375         * math/auto-libm-test-out-csqrt: Likewise.
8376         * math/auto-libm-test-out-ctan: Likewise.
8377         * math/auto-libm-test-out-ctanh: Likewise.
8378         * math/auto-libm-test-out-erf: Likewise.
8379         * math/auto-libm-test-out-erfc: Likewise.
8380         * math/auto-libm-test-out-exp: Likewise.
8381         * math/auto-libm-test-out-exp10: Likewise.
8382         * math/auto-libm-test-out-exp2: Likewise.
8383         * math/auto-libm-test-out-expm1: Likewise.
8384         * math/auto-libm-test-out-fma: Likewise.
8385         * math/auto-libm-test-out-hypot: Likewise.
8386         * math/auto-libm-test-out-j0: Likewise.
8387         * math/auto-libm-test-out-j1: Likewise.
8388         * math/auto-libm-test-out-jn: Likewise.
8389         * math/auto-libm-test-out-lgamma: Likewise.
8390         * math/auto-libm-test-out-log: Likewise.
8391         * math/auto-libm-test-out-log10: Likewise.
8392         * math/auto-libm-test-out-log1p: Likewise.
8393         * math/auto-libm-test-out-log2: Likewise.
8394         * math/auto-libm-test-out-pow: Likewise.
8395         * math/auto-libm-test-out-sin: Likewise.
8396         * math/auto-libm-test-out-sincos: Likewise.
8397         * math/auto-libm-test-out-sinh: Likewise.
8398         * math/auto-libm-test-out-sqrt: Likewise.
8399         * math/auto-libm-test-out-tan: Likewise.
8400         * math/auto-libm-test-out-tanh: Likewise.
8401         * math/auto-libm-test-out-tgamma: Likewise.
8402         * math/auto-libm-test-out-y0: Likewise.
8403         * math/auto-libm-test-out-y1: Likewise.
8404         * math/auto-libm-test-out-yn: Likewise.
8406         * math/Makefile (generated): Do not include libm-test.stmp.
8407         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
8408         on $(objpfx)libm-test.stmp.
8409         ($(objpfx)libm-test.stmp): Remove rule.
8410         ($(objpfx)libm-test-ulps.h): New rule.
8411         ($(objpfx)libm-test.c): Likewise.
8412         ($(objpfx)libm-have-vector-test.h): Likewise.
8413         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
8414         individual generated files, not libm-test.stmp.
8416         * math/gen-libm-test.pl ($output_dir): Remove variable.
8417         ($srcdir): Likewise.
8418         ($opt_a): New variable.
8419         ($opt_c): Likewise.
8420         ($opt_C): Likewise.
8421         ($opt_H): Likewise.
8422         (-n): Make option take argument and use it as NewUlps output.
8423         (-a): New option.  Use its argument for auto-libm-test-out input.
8424         (-c): New option.  Use its argument for libm-test.inc input.
8425         (-C): New option.  Use its argument for libm-test.c output.
8426         (-H): New option.  Use its argument for libm-test-ulps.h output.
8427         (top level): Only process inputs needed to generate outputs
8428         specified by command-line options.  Only generate outputs
8429         specified by command-line options.
8430         * math/README.libm-test: Update example gen-libm-test.pl command.
8431         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
8432         commands.
8433         (regen-ulps): Likewise.
8435 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
8437         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
8438         * include/string.h (index): Remove define.
8439         (rindex): Likewise.
8440         * misc/getttyent.c (__getttyent): Rename index to strchr.
8441         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
8442         * sunrpc/rpc_main.c (mkfile_output): Likewise.
8444 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8446         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
8447         * math/libm-test.inc: Move all contents, other than tests of
8448         individual functions, to libm-test-driver.c.
8449         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
8450         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
8451         [!FE_UPWARD] (FE_UPWARD): Likewise.
8452         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
8453         (NO_EXCEPTION): Likewise.
8454         (INVALID_EXCEPTION): Likewise.
8455         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8456         (OVERFLOW_EXCEPTION): Likewise.
8457         (UNDERFLOW_EXCEPTION): Likewise.
8458         (INEXACT_EXCEPTION): Likewise.
8459         (INVALID_EXCEPTION_OK): Likewise.
8460         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8461         (OVERFLOW_EXCEPTION_OK): Likewise.
8462         (UNDERFLOW_EXCEPTION_OK): Likewise.
8463         (NO_INEXACT_EXCEPTION): Likewise.
8464         (EXCEPTIONS_OK): Likewise.
8465         (IGNORE_ZERO_INF_SIGN): Likewise.
8466         (TEST_NAN_SIGN): Likewise.
8467         (TEST_NAN_PAYLOAD): Likewise.
8468         (NO_TEST_INLINE): Likewise.
8469         (XFAIL_TEST): Likewise.
8470         (ERRNO_UNCHANGED): Likewise.
8471         (ERRNO_EDOM): Likewise.
8472         (ERRNO_ERANGE): Likewise.
8473         (IGNORE_RESULT): Likewise.
8474         (NON_FINITE): Likewise.
8475         (TEST_SNAN): Likewise.
8476         (NO_TEST_MATHVEC): Likewise.
8477         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
8478         (__CONCATX): Likewise.
8479         (TYPE_MIN): Likewise.
8480         (TYPE_TRUE_MIN): Likewise.
8481         (TYPE_MAX): Likewise.
8482         (MIN_EXP): Likewise.
8483         (MAX_EXP): Likewise.
8484         (MANT_DIG): Likewise.
8485         (FSTR_MAX): Likewise.
8486         (ULP_IDX): Likewise.
8487         (QTYPE_STR): Likewise.
8488         (TEST_COND_binary32): Likewise.
8489         (TEST_COND_binary64): Likewise.
8490         (TEST_COND_binary128): Likewise.
8491         (TEST_COND_ibm128): Likewise.
8492         (TEST_COND_intel96): Likewise.
8493         (TEST_COND_m68k96): Likewise.
8494         (TEST_COND_ibm128_libgcc): Likewise.
8495         (XFAIL_IBM128_LIBGCC): Likewise.
8496         (PAYLOAD_DIG): Likewise.
8497         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8498         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8499         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8500         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8501         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8502         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8503         (TEST_COND_long32): Likewise.
8504         (TEST_COND_long64): Likewise.
8505         (TEST_COND_before_rounding): Likewise.
8506         (TEST_COND_after_rounding): Likewise.
8507         (lit_pi_3_m_4_d): Likewise.
8508         (lit_pi_3_m_4_ln10_m_d): Likewise.
8509         (lit_pi_2_ln10_m_d): Likewise.
8510         (lit_pi_4_ln10_m_d): Likewise.
8511         (lit_pi_ln10_d): Likewise.
8512         (lit_pi_2_d): Likewise.
8513         (lit_pi_4_d): Likewise.
8514         (lit_pi): Likewise.
8515         (lit_e): Likewise.
8516         (ulps_file_name): Likewise.
8517         (ulps_file): Likewise.
8518         (output_ulps): Likewise.
8519         (output_dir): Likewise.
8520         (noErrors): Likewise.
8521         (noTests): Likewise.
8522         (noExcTests): Likewise.
8523         (noErrnoTests): Likewise.
8524         (verbose): Likewise.
8525         (output_max_error): Likewise.
8526         (output_points): Likewise.
8527         (ignore_max_ulp): Likewise.
8528         (plus_zero): Likewise.
8529         (minus_zero): Likewise.
8530         (plus_infty): Likewise.
8531         (minus_infty): Likewise.
8532         (qnan_value_pl): Likewise.
8533         (qnan_value): Likewise.
8534         (snan_value_pl): Likewise.
8535         (snan_value): Likewise.
8536         (max_value): Likewise.
8537         (min_value): Likewise.
8538         (min_subnorm_value): Likewise.
8539         (snan_value_ld): Likewise.
8540         (max_error): Likewise.
8541         (real_max_error): Likewise.
8542         (imag_max_error): Likewise.
8543         (prev_max_error): Likewise.
8544         (prev_real_max_error): Likewise.
8545         (prev_imag_max_error): Likewise.
8546         (max_valid_error): Likewise.
8547         (TYPE_DECIMAL_DIG): Likewise.
8548         (TYPE_HEX_DIG): Likewise.
8549         (fmt_ftostr): Likewise.
8550         (compare_ulp_data): Likewise.
8551         (find_ulps): Likewise.
8552         (init_max_error): Likewise.
8553         (set_max_error): Likewise.
8554         (print_float): Likewise.
8555         (print_screen): Likewise.
8556         (print_screen_max_error): Likewise.
8557         (update_stats): Likewise.
8558         (print_function_ulps): Likewise.
8559         (print_complex_function_ulps): Likewise.
8560         (fpstack_test): Likewise.
8561         (print_max_error): Likewise.
8562         (print_complex_max_error): Likewise.
8563         (test_single_exception): Likewise.
8564         (test_exceptions): Likewise.
8565         (test_single_errno): Likewise.
8566         (test_errno): Likewise.
8567         (ULPDIFF): Likewise.
8568         (ulp): Likewise.
8569         (check_float_internal): Likewise.
8570         (check_float): Likewise.
8571         (check_complex): Likewise.
8572         (check_int): Likewise.
8573         (check_long): Likewise.
8574         (check_bool): Likewise.
8575         (check_longlong): Likewise.
8576         (check_intmax_t): Likewise.
8577         (check_uintmax_t): Likewise.
8578         (enable_test): Likewise.
8579         (struct test_f_f_data): Likewise.
8580         (struct test_ff_f_data): Likewise.
8581         (struct test_fj_f_data): Likewise.
8582         (struct test_fi_f_data): Likewise.
8583         (struct test_fl_f_data): Likewise.
8584         (struct test_if_f_data): Likewise.
8585         (struct test_fff_f_data): Likewise.
8586         (struct test_fiu_M_data): Likewise.
8587         (struct test_fiu_U_data): Likewise.
8588         (struct test_c_f_data): Likewise.
8589         (struct test_f_f1_data): Likewise.
8590         (struct test_fF_f1_data): Likewise.
8591         (struct test_ffI_f1_data): Likewise.
8592         (struct test_c_c_data): Likewise.
8593         (struct test_cc_c_data): Likewise.
8594         (struct test_f_i_data): Likewise.
8595         (struct test_ff_i_data): Likewise.
8596         (struct test_f_l_data): Likewise.
8597         (struct test_f_L_data): Likewise.
8598         (struct test_fFF_11_data): Likewise.
8599         (struct test_Ff_b1_data): Likewise.
8600         (IF_ROUND_INIT_): Likewise.
8601         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8602         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8603         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8604         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8605         (ROUND_RESTORE_): Likewise.
8606         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8607         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8608         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8609         (ROUND_RESTORE_FE_UPWARD): Likewise.
8610         (RM_): Likewise.
8611         (RM_FE_DOWNWARD): Likewise.
8612         (RM_FE_TONEAREST): Likewise.
8613         (RM_FE_TOWARDZERO): Likewise.
8614         (RM_FE_UPWARD): Likewise.
8615         (COMMON_TEST_SETUP): Likewise.
8616         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8617         (COMMON_TEST_CLEANUP): Likewise.
8618         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8619         (RUN_TEST_f_f): Likewise.
8620         (RUN_TEST_LOOP_f_f): Likewise.
8621         (RUN_TEST_fp_f): Likewise.
8622         (RUN_TEST_LOOP_fp_f): Likewise.
8623         (RUN_TEST_2_f): Likewise.
8624         (RUN_TEST_LOOP_2_f): Likewise.
8625         (RUN_TEST_ff_f): Likewise.
8626         (RUN_TEST_LOOP_ff_f): Likewise.
8627         (RUN_TEST_LOOP_fj_f): Likewise.
8628         (RUN_TEST_fi_f): Likewise.
8629         (RUN_TEST_LOOP_fi_f): Likewise.
8630         (RUN_TEST_fl_f): Likewise.
8631         (RUN_TEST_LOOP_fl_f): Likewise.
8632         (RUN_TEST_if_f): Likewise.
8633         (RUN_TEST_LOOP_if_f): Likewise.
8634         (RUN_TEST_fff_f): Likewise.
8635         (RUN_TEST_LOOP_fff_f): Likewise.
8636         (RUN_TEST_fiu_M): Likewise.
8637         (RUN_TEST_LOOP_fiu_M): Likewise.
8638         (RUN_TEST_fiu_U): Likewise.
8639         (RUN_TEST_LOOP_fiu_U): Likewise.
8640         (RUN_TEST_c_f): Likewise.
8641         (RUN_TEST_LOOP_c_f): Likewise.
8642         (RUN_TEST_f_f1): Likewise.
8643         (RUN_TEST_LOOP_f_f1): Likewise.
8644         (RUN_TEST_fF_f1): Likewise.
8645         (RUN_TEST_LOOP_fF_f1): Likewise.
8646         (RUN_TEST_fI_f1): Likewise.
8647         (RUN_TEST_LOOP_fI_f1): Likewise.
8648         (RUN_TEST_ffI_f1_mod8): Likewise.
8649         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
8650         (RUN_TEST_Ff_b1): Likewise.
8651         (RUN_TEST_LOOP_Ff_b1): Likewise.
8652         (RUN_TEST_Ffp_b1): Likewise.
8653         (RUN_TEST_LOOP_Ffp_b1): Likewise.
8654         (RUN_TEST_c_c): Likewise.
8655         (RUN_TEST_LOOP_c_c): Likewise.
8656         (RUN_TEST_cc_c): Likewise.
8657         (RUN_TEST_LOOP_cc_c): Likewise.
8658         (RUN_TEST_f_i): Likewise.
8659         (RUN_TEST_LOOP_f_i): Likewise.
8660         (RUN_TEST_f_i_tg): Likewise.
8661         (RUN_TEST_LOOP_f_i_tg): Likewise.
8662         (RUN_TEST_ff_b): Likewise.
8663         (RUN_TEST_LOOP_ff_b): Likewise.
8664         (RUN_TEST_ff_i_tg): Likewise.
8665         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8666         (RUN_TEST_f_b): Likewise.
8667         (RUN_TEST_LOOP_f_b): Likewise.
8668         (RUN_TEST_f_b_tg): Likewise.
8669         (RUN_TEST_LOOP_f_b_tg): Likewise.
8670         (RUN_TEST_f_l): Likewise.
8671         (RUN_TEST_LOOP_f_l): Likewise.
8672         (RUN_TEST_f_L): Likewise.
8673         (RUN_TEST_LOOP_f_L): Likewise.
8674         (RUN_TEST_fFF_11): Likewise.
8675         (RUN_TEST_LOOP_fFF_11): Likewise.
8676         (VEC_SUFF): Likewise.
8677         (STR_CONCAT): Likewise.
8678         (STR_CON3): Likewise.
8679         (HAVE_VECTOR): Likewise.
8680         (START): Likewise.
8681         (END): Likewise.
8682         (END_COMPLEX): Likewise.
8683         (ALL_RM_TEST): Likewise.
8684         (matherr): Likewise.
8685         (initialize): Likewise.
8686         (options): Likewise.
8687         (doc): Likewise.
8688         (parse_opt): Likewise.
8689         (argp): Likewise.
8690         (check_ulp): Likewise.
8691         (main): Likewise.
8692         (do_test): New function.  Call tests of individual functions
8693         previously called from main.
8695         * math/libm-test.inc: Remove comment listing functions tested and
8696         not tested.
8698 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8700         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
8701         (allocate_stack): Remove COLORING_INCREMENT usage.
8702         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
8703         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
8705 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8707         * manual/libm-err-tab.pl (@all_functions): Change to
8708         %all_functions.  Initialize as empty.
8709         (parse_ulps): Add to %all_functions based on functions found in
8710         ulps files.  Ignore results for non-default rounding modes and
8711         vector functions.
8712         (print_platforms): Use %all_platforms.
8713         * manual/math.texi (Errors in Math Functions): Document omissions
8714         from the table.
8716         * math/Makefile (before-compile): Remove.
8718 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
8720         [BZ #21075]
8721         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
8722         unused assignment.
8723         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8725 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8727         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
8728         Add __glibc_unlikely hint.
8730 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8732         [BZ #16640]
8733         * sysdeps/i386/i686/strtok.S: Remove file.
8734         * sysdeps/i386/i686/strtok_r.S: Likewise.
8735         * sysdeps/i386/strtok.S: Likewise.
8736         * sysdeps/i386/strtok_r.S: Likewise.
8737         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
8738         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
8739         * sysdeps/x86_64/strtok.S: Likewise.
8740         * sysdeps/x86_64/strtok_r.S: Likewise.
8742         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
8743         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8744         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8745         (__ASSUME_FADVISE64_AS_64_64): Define.
8746         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
8747         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
8748         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
8749         __ALIGNMENT_ARG usage.
8750         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
8751         __NR_fadvise64_64 if it is not defined.
8753 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8755         * version.h (RELEASE): Set to "development"
8756         (VERSION): Set to 2.25.90.
8757         * NEWS: Add 2.26 section.
8759         * version.h (RELEASE): Set to "stable"
8760         (VERSION): Set to 2.25.
8761         * include/features.h (__GLIBC_MINOR__): Set to 25.
8763         * manual/contrib.texi: Add more contributors from this release
8764         and past releases.
8766         * NEWS (2.25): Add list of bugs fixed.
8768         * NEWS: Add missing news items.
8770 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8772         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
8773         parent if child exited in that manner.  Print WEXITSTATUS
8774         instead of the raw status.
8775         (do_test_prep): Rename to do_test.
8776         (do_test): Return the result of run_executable_sgid.
8777         (TEST_FUNCTION_ARGV): Adjust.
8779 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
8780             Florian Weimer  <fweimer@redhat.com>
8781             Carlos O'Donell  <carlos@redhat.com>
8783         [BZ #20915]
8784         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
8785         Do not initialize DTV.
8786         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8788 2017-02-03  David S. Miller  <davem@davemloft.net>
8790         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
8791         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8792         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
8793         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8794         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
8795         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8796         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
8797         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8798         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8799         (libm-sysdep_routines): Update.
8800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
8801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
8802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
8804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8805         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
8806         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
8807         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
8808         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
8809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
8810         Likewise.
8811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
8813         Likewise.
8814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
8816         Likewise.
8817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
8819         Likewise.
8820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8822         (libm-sysdep_routines): Update.
8824 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
8826         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
8827         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
8828         against unrelocated shared library.
8829         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8831 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8833         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
8834         * elf/tst-env-setuid-tunables.c
8835         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
8836         GLIBC_TUNABLES is removed in a setgid process.
8838         [BZ #21073]
8839         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
8840         * elf/dl-tunables.c (tunables_strdup): Remove.
8841         (get_next_env): Also return the previous envp.
8842         (parse_tunables): Erase tunables of category
8843         TUNABLES_SECLEVEL_SXID_ERASE.
8844         (maybe_enable_malloc_check): Make MALLOC_CHECK_
8845         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
8846         (__tunables_init)[TUNABLES_FRONTEND ==
8847         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
8848         after parsing.
8849         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
8850         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
8851         * elf/dl-tunables.h (struct _tunable): Change member is_secure
8852         to security_level.
8853         * elf/dl-tunables.list: Add security_level annotations for all
8854         tunables.
8855         * scripts/gen-tunables.awk: Recognize and generate enum values
8856         for security_level.
8857         * elf/tst-env-setuid.c: New test case.
8858         * elf/tst-env-setuid-tunables: new test case.
8859         * elf/Makefile (tests-static): Add them.
8861 2017-02-01  Richard Henderson  <rth@twiddle.net>
8863         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
8864         adjusting the byte count.
8866 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
8868         * conform/Makefile (linknamespace-libs): Define.
8870         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
8871         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
8872         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
8873         operands.
8875 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
8877         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
8879 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8881         [BZ #21081]
8882         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8883         (L(stosb)): Add VZEROUPPER before ret.
8885 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
8886             Alexey Makhalov <amakhalov@vmware.com>
8887             Florian Weimer <fweimer@redhat.com>
8889         [BZ #20116]
8890         * nptl/pthread_create.c: Document concurrency notes.
8891         Enhance thread creation notes.
8892         (create_thread): Use bool *stopped_start.
8893         (START_THREAD_DEFN): Comment ownership of PD.
8894         (__pthread_create_2_1): Add local bool stopped_start and use
8895         that instead of pd->stopped_start where appropriate.
8896         * nptl/createthread.c (create_thread): Use bool *stopped_start.
8897         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
8898         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8899         * nptl/tst-create-detached.c: New file.
8900         * nptl/Makefile (tests): Add tst-create-detached.
8901         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8902         Reference the enhanced thread creation notes.
8903         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
8904         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8905         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
8906         (__pthread_current_priority): Likewise.
8907         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
8908         xpthread_attr_init, xpthread_attr_setdetachstate, and
8909         xpthread_attr_setstacksize.
8910         * support/xpthread_attr_destroy.c: New file.
8911         * support/xpthread_attr_init.c: New file.
8912         * support/xpthread_attr_setdetachstate.c: New file.
8913         * support/xpthread_attr_setstacksize.c: New file.
8914         * support/xthread.h: Define prototypes for xpthread_attr_destroy
8915         xpthread_attr_init, xpthread_attr_setdetachstate, and
8916         xpthread_attr_setstacksize.
8918 2017-01-27  Florian Weimer  <fweimer@redhat.com>
8920         * nptl/Makefile (tests): Add tst-robust-fork.
8921         * nptl/tst-robust-fork.c: New file.
8922         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
8923         xpthread_mutex_consistent, xpthread_mutex_destroy,
8924         xpthread_mutex_init, xpthread_mutexattr_destroy,
8925         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
8926         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
8927         xpthread_mutexattr_settype.
8928         * support/xmmap.c: New file.
8929         * support/xmunmap.c: Likewise.
8930         * support/xpthread_mutex_consistent.c: Likewise.
8931         * support/xpthread_mutex_destroy.c: Likewise.
8932         * support/xpthread_mutex_init.c: Likewise.
8933         * support/xpthread_mutexattr_destroy.c: Likewise.
8934         * support/xpthread_mutexattr_init.c: Likewise.
8935         * support/xpthread_mutexattr_setprotocol.c: Likewise.
8936         * support/xpthread_mutexattr_setpshared.c: Likewise.
8937         * support/xpthread_mutexattr_setrobust.c: Likewise.
8938         * support/xpthread_mutexattr_settype.c: Likewise.
8939         * support/xthread.h (xpthread_mutexattr_destroy)
8940         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
8941         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
8942         (xpthread_mutexattr_settype, xpthread_mutex_init)
8943         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
8944         * support/xunistd.h (xmmap, xmunmap): Likewise.
8946 2017-01-25  Florian Weimer  <fweimer@redhat.com>
8948         * string/Makefile (xtests): Add comment.
8949         (LOCALES): Add en_GB.UTF-8.
8950         (tst-strcoll-overflow.out): Depend on generated locales.
8951         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
8952         (SIZE, TIMEOUT): Update comments.
8953         (do_test): Define as static.  Fail test if setlocale fails.
8954         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
8955         messages.
8956         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
8957         TIMEOUT at 300 seconds should be enough to run this test
8958         successfully.
8960 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
8962         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
8963         /* FALLTHRU */ comments.
8965 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
8967         [BZ #21053]
8968         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
8969         constants instead of the old R* ones.
8970         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
8971         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
8972         (NGREG): ... to this, to fit in with other architectures.
8973         (gpregset_t): Use new NGREG macro.
8974         [__USE_GNU]: Remove condition; all architectures other than tile
8975         are unconditional.
8976         (R*): Rename to REG_R*.
8978 2017-01-20  DJ Delorie  <dj@redhat.com>
8980         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
8981         (tunable_set_val_if_valid_range_signed) ... this, and ...
8982         (tunable_set_val_if_valid_range_unsigned) ... this.
8983         (tunable_initialize): Call the correct one of the above based on type.
8985 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
8987         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
8988         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8989         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8990         * sysdeps/microblaze/libm-test-ulps: Likewise.
8991         * sysdeps/sh/libm-test-ulps: Likewise.
8993         * math/README.libm-test: Update list of characters for input and
8994         output types.
8996 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8998         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8999         (__lll_unlock_elision): Fix adapt_count decrement.
9001 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
9003         * README.pretty-printers (Known issues): Warn about printers not
9004         always covering everything.
9005         * nptl/nptl-printers.py (MutexPrinter): Change output.
9006         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
9008 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9010         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
9011         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9012         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
9013         (__lll_lock_elision): Do not test futex before starting a
9014         transaction.  Use __glibc_likely instead of __builtin_expect.
9015         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
9016         (__lll_trylock_elision): Do not test futex before starting a
9017         transaction.  Use __glibc_likely instead of __builtin_expect.
9019 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9021         * po/Makefile (update-translations): New target.
9023 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
9025         [BZ #21061]
9026         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
9028 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9030         * elf/dl-tunables (get_next_env): Always advance envp.
9031         * stdlib/tst-empty-env.c: New test case.
9032         * stdlib/Makefile (tests): Use it.
9034 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
9036         [BZ #21047]
9037         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
9038         name for instruction.
9039         [!__SOFTFP__] (_FPU_SETCW): Likewise.
9041 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
9043         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
9044         for make install.
9046 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9048         * po/bg.po: Merge from Translation Project.
9049         * po/fr.po: Likewise.
9050         * po/ko.po: Likewise.
9051         * po/nl.po: Likewise.
9052         * po/sv.po: Likewise.
9054 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
9056         * manual/install.texi (Tools for Compilation): Update GCC version
9057         known to work to build glibc.
9058         * INSTALL: Regenerated.
9060 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9062         [BZ #21006]
9063         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
9065 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
9067         [BZ #21045]
9068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9069         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
9070         to __sigprocmask.
9072 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
9074         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
9075         wrap-around.
9076         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
9078         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
9080 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9082         * NEWS: Fix typo.
9084 2016-01-13  Torvald Riegel  <triegel@redhat.com>
9086         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
9087         barriers and comments.
9088         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
9089         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9090         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9092 2016-01-13  Torvald Riegel  <triegel@redhat.com>
9094         [BZ #19402]
9095         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
9096         mutexes.
9098 2016-01-13  Torvald Riegel  <triegel@redhat.com>
9100         [BZ #20985]
9101         * nptl/Makefile: Adapt.
9102         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
9103         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
9104         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
9105         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
9106         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
9107         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
9108         lll_robust* functions and adapt.
9109         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9110         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
9111         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
9112         __lll_robust_timedlock, __lll_robust_unlock): Remove.
9113         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
9114         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
9115         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
9116         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
9117         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
9118         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
9119         __lll_robust_timedlock, __lll_robust_unlock): Remove.
9120         * nptl/lowlevelrobustlock.c: Remove file.
9121         * nptl/lowlevelrobustlock.sym: Likewise.
9122         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
9123         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
9125 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9127         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9129 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9131         * po/cs.po: Merge translations from the Translation Project.
9132         * po/de.po: Likewise.
9133         * po/pl.po: Likewise.
9134         * po/ru.po: Likewise.
9135         * po/tr.po: Likewise.
9136         * po/uk.po: Likewise.
9137         * po/vi.po: Likewise.
9138         * po/zh_CN.po: Likewise.
9140 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
9142         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
9144         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
9145         object.
9147 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
9149         [BZ #16458]
9150         * bits/uintn-identity.h: New file.
9151         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
9152         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
9153         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
9154         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
9155         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
9156         * string/endian.h: Include <bits/uintn-identity.h>.
9157         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
9158         __uint16_identity.
9159         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
9160         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
9161         __uint32_identity.
9162         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
9163         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
9164         __uint64_identity.
9165         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
9166         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
9167         __uint16_identity.
9168         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
9169         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
9170         __uint32_identity.
9171         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
9172         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
9173         __uint64_identity.
9174         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
9175         * string/Makefile (headers): Add bits/uintn-identity.h.
9176         (tests): Add test-endian-types.
9177         * string/test-endian-types.c: New file.
9178         * inet/Makefile (tests): Add test-hnto-types.
9179         * inet/test-hnto-types.c: New file.
9181 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9183         * po/be.po: Update from Translation Project.
9184         * po/bg.po: Likewise.
9185         * po/ca.po: Likewise.
9186         * po/cs.po: Likewise.
9187         * po/da.po: Likewise.
9188         * po/de.po: Likewise.
9189         * po/el.po: Likewise.
9190         * po/eo.po: Likewise.
9191         * po/es.po: Likewise.
9192         * po/fi.po: Likewise.
9193         * po/fr.po: Likewise.
9194         * po/gl.po: Likewise.
9195         * po/hr.po: Likewise.
9196         * po/hu.po: Likewise.
9197         * po/ia.po: Likewise.
9198         * po/id.po: Likewise.
9199         * po/it.po: Likewise.
9200         * po/ja.po: Likewise.
9201         * po/ko.po: Likewise.
9202         * po/lt.po: Likewise.
9203         * po/nb.po: Likewise.
9204         * po/nl.po: Likewise.
9205         * po/pl.po: Likewise.
9206         * po/pt_BR.po: Likewise.
9207         * po/ru.po: Likewise.
9208         * po/rw.po: Likewise.
9209         * po/sk.po: Likewise.
9210         * po/sl.po: Likewise.
9211         * po/sv.po: Likewise.
9212         * po/tr.po: Likewise.
9213         * po/uk.po: Likewise.
9214         * po/vi.po: Likewise.
9215         * po/zh_CN.po: Likewise.
9216         * po/zh_TW.po: Likewise.
9218 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
9220         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
9221         -Wformat-truncation instead of -Wformat-length.
9222         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
9223         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
9224         GCC 7.
9225         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
9226         (do_test): Ignore -Wformat-truncation for GCC 7.
9228         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
9229         buffer used to print long int value.
9231         * elf/sotruss-lib.c (init): Increase space allocated for pid by
9232         one byte.  Print it with %ld, cast to long int.
9234 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9236         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
9237         (re.fullmatch, subprocess.run): Likewise.
9239 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9241         * po/libc.pot: Regenerate.
9243 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9245         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
9246         (min_strlen): Likewise.
9247         (disable_tunable): Likewise.
9248         (maybe_disable_malloc_check): Rename to
9249         maybe_enable_malloc_check.
9250         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
9251         if /etc/suid-debug file exists.
9252         (__tunables_init): Update caller.
9253         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
9254         secure.
9256 2016-01-10  Torvald Riegel  <triegel@redhat.com>
9258         * nptl/DESIGN-rwlock.txt: Remove.
9259         * nptl/lowlevelrwlock.sym: Remove.
9260         * nptl/Makefile: Add new tests.
9261         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
9262         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
9263         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
9264         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
9265         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
9266         PTHREAD_RWLOCK_FUTEX_USED): New.
9267         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
9268         implementation.
9269         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
9270         (__pthread_rwlock_rdlock): Adapt.
9271         * nptl/pthread_rwlock_timedrdlock.c
9272         (pthread_rwlock_timedrdlock): Adapt.
9273         * nptl/pthread_rwlock_timedwrlock.c
9274         (pthread_rwlock_timedwrlock): Adapt.
9275         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
9276         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
9277         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
9278         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
9279         (__pthread_rwlock_wrlock): Adapt.
9280         * nptl/tst-rwlock10.c: Adapt.
9281         * nptl/tst-rwlock11.c: Adapt.
9282         * nptl/tst-rwlock17.c: New file.
9283         * nptl/tst-rwlock18.c: New file.
9284         * nptl/tst-rwlock19.c: New file.
9285         * nptl/tst-rwlock2b.c: New file.
9286         * nptl/tst-rwlock8.c: Adapt.
9287         * nptl/tst-rwlock9.c: Adapt.
9288         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9289         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9290         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9291         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9292         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9293         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9294         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9295         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9296         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9297         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9298         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9299         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9300         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
9301         (pthread_rwlock_t): Adapt.
9302         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9303         (pthread_rwlock_t): Adapt.
9304         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9305         * nptl/nptl-printers.py (): Adapt.
9306         * nptl/nptl_lock_constants.pysym: Adapt.
9307         * nptl/test-rwlock-printers.py: Adapt.
9308         * nptl/test-rwlockattr-printers.c: Adapt.
9309         * nptl/test-rwlockattr-printers.py: Adapt.
9311 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
9313         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
9314         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
9315         (fma_test_data): Likewise.
9316         (hypot_test_data): Likewise.
9317         (log1p_test_data): Likewise.
9318         (modf_test_data): Likewise.
9319         (pow_test_data): Likewise.
9320         (remainder_test_data): Likewise.
9321         (remquo_test_data): Likewise.
9322         (scalb_test_data): Likewise.
9323         (scalbn_test_data): Likewise.
9324         (scalbln_test_data): Likewise.
9325         * math/gen-libm-test.pl (parse_args): Transform
9326         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
9327         on the rounding mode.
9329 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
9331         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
9332         xfail-rounding:ibm128-libgcc automatically to tests overflowing
9333         and those that can underflow to zero.
9334         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
9335         add others.
9336         * math/auto-libm-test-out: Regenerated.
9338         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
9339         supported.
9340         (feholdexcept_tests): Skip tests requiring exceptions or rounding
9341         modes support if not supported.
9343         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
9344         Add libc.so PLT entry.
9345         (__tls_get_addr): Make ld.so PLT entry optional.
9347 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9349         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
9350         * string/bits/string3.h: ... here.
9352 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
9354         [BZ #21028]
9355         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
9356         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
9357         if EXCEPTION_TESTS returns false.
9359 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9361         [BZ #20558]
9362         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
9363         strings_fortified.h.
9364         [__USE_MISC] (bzero): Likewise.
9365         [__USE_MISC] (explicit_bzero): Likewise.
9366         * string/strings.h: Include strings_fortified.h.
9367         * string/Makefile (headers): Add strings_fortified.h.
9368         * string/bits/strings_fortified.h: New file.
9369         * include/bits/strings_fortified.h: Likewise.
9371 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
9373         * elf/tst-tls13.c (TIMEOUT): Remove.
9374         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
9375         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
9376         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
9377         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
9378         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
9380         [BZ #21026]
9381         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
9382         (readahead): New syscall entry.
9384 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9386         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
9387         around tests of strncat with large sizes.
9389         * malloc/tst-malloc.c: Include <libc-internal.h>.
9390         (do_test): Disable -Walloc-size-larger-than= around tests of
9391         malloc with negative sizes.
9392         * malloc/tst-mcheck.c: Include <libc-internal.h>.
9393         (do_test): Disable -Walloc-size-larger-than= around tests of
9394         malloc and realloc with negative sizes.
9395         * malloc/tst-realloc.c: Include <libc-internal.h>.
9396         (do_test): Disable -Walloc-size-larger-than= around tests of
9397         realloc with negative sizes.
9399         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
9400         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
9401         allowed to 16 ulps.
9402         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
9403         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
9404         * math/auto-libm-test-out: Regenerated.
9406 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9408         * math/Makefile (libm-calls): Move wrappers...
9409         (libm-compat-call-auto): Here.
9410         (libm-routines): Add items in libm-compat-calls-auto.
9411         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
9412         the filenames of the wrappers that have been renamed.
9413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
9414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9416         * math/w_acos.c: Add _compat suffix to filename.
9417         * math/w_acosf.c: Likewise.
9418         * math/w_acosh.c: Likewise.
9419         * math/w_acoshf.c: Likewise.
9420         * math/w_acoshl.c: Likewise.
9421         * math/w_acosl.c: Likewise.
9422         * math/w_asin.c: Likewise.
9423         * math/w_asinf.c: Likewise.
9424         * math/w_asinl.c: Likewise.
9425         * math/w_atan2.c: Likewise.
9426         * math/w_atan2f.c: Likewise.
9427         * math/w_atan2l.c: Likewise.
9428         * math/w_atanh.c: Likewise.
9429         * math/w_atanhf.c: Likewise.
9430         * math/w_atanhl.c: Likewise.
9431         * math/w_cosh.c: Likewise.
9432         * math/w_coshf.c: Likewise.
9433         * math/w_coshl.c: Likewise.
9434         * math/w_exp10.c: Likewise.
9435         * math/w_exp10f.c: Likewise.
9436         * math/w_exp10l.c: Likewise.
9437         * math/w_exp2.c: Likewise.
9438         * math/w_exp2f.c: Likewise.
9439         * math/w_exp2l.c: Likewise.
9440         * math/w_fmod.c: Likewise.
9441         * math/w_fmodf.c: Likewise.
9442         * math/w_fmodl.c: Likewise.
9443         * math/w_hypot.c: Likewise.
9444         * math/w_hypotf.c: Likewise.
9445         * math/w_hypotl.c: Likewise.
9446         * math/w_j0.c: Likewise.
9447         * math/w_j0f.c: Likewise.
9448         * math/w_j0l.c: Likewise.
9449         * math/w_j1.c: Likewise.
9450         * math/w_j1f.c: Likewise.
9451         * math/w_j1l.c: Likewise.
9452         * math/w_jn.c: Likewise.
9453         * math/w_jnf.c: Likewise.
9454         * math/w_jnl.c: Likewise.
9455         * math/w_log10.c: Likewise.
9456         * math/w_log10f.c: Likewise.
9457         * math/w_log10l.c: Likewise.
9458         * math/w_log2.c: Likewise.
9459         * math/w_log2f.c: Likewise.
9460         * math/w_log2l.c: Likewise.
9461         * math/w_log.c: Likewise.
9462         * math/w_logf.c: Likewise.
9463         * math/w_logl.c: Likewise.
9464         * math/w_pow.c: Likewise.
9465         * math/w_powf.c: Likewise.
9466         * math/w_powl.c: Likewise.
9467         * math/w_remainder.c: Likewise.
9468         * math/w_remainderf.c: Likewise.
9469         * math/w_remainderl.c: Likewise.
9470         * math/w_scalb.c: Likewise.
9471         * math/w_scalbf.c: Likewise.
9472         * math/w_scalbl.c: Likewise.
9473         * math/w_sinh.c: Likewise.
9474         * math/w_sinhf.c: Likewise.
9475         * math/w_sinhl.c: Likewise.
9476         * math/w_sqrt.c: Likewise.
9477         * math/w_sqrtf.c: Likewise.
9478         * math/w_sqrtl.c: Likewise.
9479         * math/w_tgamma.c: Likewise.
9480         * math/w_tgammaf.c: Likewise.
9481         * math/w_tgammal.c: Likewise.
9483         * math/w_acos_compat.c: New file copied from above and
9484         adjusted for new #includes path
9485         * math/w_acosf_compat.c: Likewise.
9486         * math/w_acosh_compat.c: Likewise.
9487         * math/w_acoshf_compat.c: Likewise.
9488         * math/w_acoshl_compat.c: Likewise.
9489         * math/w_acosl_compat.c: Likewise.
9490         * math/w_asin_compat.c: Likewise.
9491         * math/w_asinf_compat.c: Likewise.
9492         * math/w_asinl_compat.c: Likewise.
9493         * math/w_atan2_compat.c: Likewise.
9494         * math/w_atan2f_compat.c: Likewise.
9495         * math/w_atan2l_compat.c: Likewise.
9496         * math/w_atanh_compat.c: Likewise.
9497         * math/w_atanhf_compat.c: Likewise.
9498         * math/w_atanhl_compat.c: Likewise.
9499         * math/w_cosh_compat.c: Likewise.
9500         * math/w_coshf_compat.c: Likewise.
9501         * math/w_coshl_compat.c: Likewise.
9502         * math/w_exp10_compat.c: Likewise.
9503         * math/w_exp10f_compat.c: Likewise.
9504         * math/w_exp10l_compat.c: Likewise.
9505         * math/w_exp2_compat.c: Likewise.
9506         * math/w_exp2f_compat.c: Likewise.
9507         * math/w_exp2l_compat.c: Likewise.
9508         * math/w_fmod_compat.c: Likewise.
9509         * math/w_fmodf_compat.c: Likewise.
9510         * math/w_fmodl_compat.c: Likewise.
9511         * math/w_hypot_compat.c: Likewise.
9512         * math/w_hypotf_compat.c: Likewise.
9513         * math/w_hypotl_compat.c: Likewise.
9514         * math/w_j0_compat.c: Likewise.
9515         * math/w_j0f_compat.c: Likewise.
9516         * math/w_j0l_compat.c: Likewise.
9517         * math/w_j1_compat.c: Likewise.
9518         * math/w_j1f_compat.c: Likewise.
9519         * math/w_j1l_compat.c: Likewise.
9520         * math/w_jn_compat.c: Likewise.
9521         * math/w_jnf_compat.c: Likewise.
9522         * math/w_jnl_compat.c: Likewise.
9523         * math/w_log10_compat.c: Likewise.
9524         * math/w_log10f_compat.c: Likewise.
9525         * math/w_log10l_compat.c: Likewise.
9526         * math/w_log2_compat.c: Likewise.
9527         * math/w_log2f_compat.c: Likewise.
9528         * math/w_log2l_compat.c: Likewise.
9529         * math/w_log_compat.c: Likewise.
9530         * math/w_logf_compat.c: Likewise.
9531         * math/w_logl_compat.c: Likewise.
9532         * math/w_pow_compat.c: Likewise.
9533         * math/w_powf_compat.c: Likewise.
9534         * math/w_powl_compat.c: Likewise.
9535         * math/w_remainder_compat.c: Likewise.
9536         * math/w_remainderf_compat.c: Likewise.
9537         * math/w_remainderl_compat.c: Likewise.
9538         * math/w_scalb_compat.c: Likewise.
9539         * math/w_scalbf_compat.c: Likewise.
9540         * math/w_scalbl_compat.c: Likewise.
9541         * math/w_sinh_compat.c: Likewise.
9542         * math/w_sinhf_compat.c: Likewise.
9543         * math/w_sinhl_compat.c: Likewise.
9544         * math/w_sqrt_compat.c: Likewise.
9545         * math/w_sqrtf_compat.c: Likewise.
9546         * math/w_sqrtl_compat.c: Likewise.
9547         * math/w_tgamma_compat.c: Likewise.
9548         * math/w_tgammaf_compat.c: Likewise.
9549         * math/w_tgammal_compat.c: Likewise.
9551         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
9552         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
9553         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
9554         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
9555         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
9556         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
9557         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
9558         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
9559         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
9560         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
9561         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
9562         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
9563         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
9564         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
9565         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
9566         * sysdeps/ia64/fpu/w_powl.c: Likewise.
9567         * sysdeps/ia64/fpu/w_powf.c: Likewise.
9568         * sysdeps/ia64/fpu/w_pow.c: Likewise.
9569         * sysdeps/ia64/fpu/w_logl.c: Likewise.
9570         * sysdeps/ia64/fpu/w_logf.c: Likewise.
9571         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
9572         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
9573         * sysdeps/ia64/fpu/w_log2.c: Likewise.
9574         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
9575         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
9576         * sysdeps/ia64/fpu/w_log10.c: Likewise.
9577         * sysdeps/ia64/fpu/w_log.c: Likewise.
9578         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
9579         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
9580         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
9581         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
9582         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
9583         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
9584         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
9585         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
9586         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
9587         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
9588         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
9589         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
9590         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
9591         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
9592         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
9593         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
9594         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
9595         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
9596         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
9597         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
9598         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
9599         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
9600         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
9601         * sysdeps/ia64/fpu/w_asin.c: Likewise.
9602         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
9603         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
9604         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
9605         * sysdeps/ia64/fpu/w_acos.c: Likewise.
9606         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
9607         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
9608         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
9609         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
9610         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
9611         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
9612         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
9613         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
9614         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
9615         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
9616         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
9617         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
9618         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
9619         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
9620         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
9621         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
9622         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
9623         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
9624         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
9625         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
9626         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
9627         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
9628         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
9629         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
9630         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
9631         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
9632         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
9633         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
9634         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
9635         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
9636         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
9637         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
9638         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
9639         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
9640         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
9641         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
9642         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
9643         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
9644         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
9645         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
9646         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
9647         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
9648         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
9649         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
9650         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
9651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
9652         Likewise.
9653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
9654         Likewise.
9655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
9656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
9657         Likewise.
9658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
9659         Likewise.
9660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
9661         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9662         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9663         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9664         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9665         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9666         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
9668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
9670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9671         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9672         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9673         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9674         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9676         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
9677         and adjusted for new #includes path
9678         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
9679         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
9680         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
9681         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
9682         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
9683         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
9684         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
9685         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
9686         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
9687         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
9688         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
9689         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
9690         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
9691         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
9692         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
9693         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
9694         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
9695         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
9696         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
9697         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
9698         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
9699         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
9700         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
9701         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
9702         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
9703         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
9704         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
9705         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
9706         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
9707         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
9708         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
9709         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
9710         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
9711         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
9712         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
9713         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
9714         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
9715         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
9716         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
9717         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
9718         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
9719         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
9720         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
9721         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
9722         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
9723         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
9724         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
9725         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
9726         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
9727         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
9728         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
9729         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
9730         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
9731         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
9732         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
9733         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
9734         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
9735         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
9736         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
9737         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
9738         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
9739         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
9740         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
9741         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
9742         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
9743         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
9744         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
9745         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
9746         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
9747         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
9748         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
9749         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
9750         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
9751         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
9752         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
9753         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
9754         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
9755         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
9756         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
9757         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
9758         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
9759         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
9760         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
9761         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
9762         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
9763         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
9764         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
9765         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
9766         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
9767         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
9768         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
9769         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
9770         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
9771         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
9772         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
9773         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
9774         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
9775         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
9776         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
9777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
9778         Likewise.
9779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
9780         Likewise.
9781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
9782         Likewise.
9783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
9784         Likewise.
9785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
9786         Likewise.
9787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
9788         Likewise.
9789         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
9790         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
9791         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
9792         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
9793         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
9794         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
9795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
9796         Likewise.
9797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
9798         Likewise.
9799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
9800         Likewise.
9801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
9802         Likewise.
9803         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
9804         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
9805         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
9806         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
9808 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9810         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
9811         __jmp_buf_internal_tag.
9813         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
9814         preserve NaN payload if [__mips_nan2008].
9815         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
9817         [BZ #21022]
9818         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
9820 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9822         * sysdeps/i386/fpu/libm-test-ulps: Update.
9824 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9826         * sysdeps/ia64/strcat.c: Remove file.
9827         * sysdeps/powerpc/strcat.c: Likewise.
9828         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
9829         C implementation.
9830         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
9831         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
9833 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9834             Steven Munroe  <sjmunroe@us.ibm.com>
9835             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9837         [BZ #20822]
9838         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9839         (__lll_lock_elision): Access adapt_count via C11 atomics.
9840         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9841         (__lll_trylock_elision): Likewise.
9842         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9843         (__lll_unlock_elision):  Update adapt_count variable inside the
9844         critical section using C11 atomics.
9846 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9848         * math/test-fenvinline.c (do_test): Disable tests of raised
9849         exceptions if !EXCEPTION_TESTS (FLOAT).
9851 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9853         [BZ #19390]
9854         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
9855         maximum string size.
9856         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
9857         in pointer addition.
9858         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
9859         Likewise.
9861 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9863         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
9864         passed to tst-ldconfig-X.sh.
9866 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
9868         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
9870 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9872         [BZ #21019]
9873         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
9874         New syscall entry.
9875         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
9876         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
9877         lseek.
9879         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9880         power4 glibc for powerpc-linux-gnu.
9882 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9884         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
9885         semctl.
9887 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9889         * math/test-nearbyint-except.c: Include <stdbool.h>.
9890         (any_supported): New variable.
9891         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
9892         set any_supported.
9893         (do_test): Return 77 if no floating-point type supported
9894         exceptions.
9896         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
9897         condition on [__mips_hard_float].
9899 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9901         [BZ #21014]
9902         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
9903         in pointer addition.
9904         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
9906 2017-01-02  Torvald Riegel  <triegel@redhat.com>
9908         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
9909         new condvar.
9911 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9913         * scripts/build-many-glibcs.py (Context.checkout): Default
9914         binutils version to 2.28 branch.
9916 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9918         * support/support_format_netent.c (support_format_netent): Work
9919         around alpha struct netent definition difference.
9921 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9923         * support/xwrite.c (xwrite): Use %td for pointer difference.
9925 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9927         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
9928         have-tunables only.
9929         (tests-static): Add tst-malloc-usable-static-tunables for
9930         have-tunables only.
9932 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
9934         * scripts/config.guess: Update to version 2017-01-01.
9935         * scripts/config.sub: Update to version 2017-01-01.
9937         * NEWS: Update copyright dates.
9938         * catgets/gencat.c (print_version): Likewise.
9939         * csu/version.c (banner): Likewise.
9940         * debug/catchsegv.sh: Likewise.
9941         * debug/pcprofiledump.c (print_version): Likewise.
9942         * debug/xtrace.sh (do_version): Likewise.
9943         * elf/ldconfig.c (print_version): Likewise.
9944         * elf/ldd.bash.in: Likewise.
9945         * elf/pldd.c (print_version): Likewise.
9946         * elf/sotruss.sh: Likewise.
9947         * elf/sprof.c (print_version): Likewise.
9948         * iconv/iconv_prog.c (print_version): Likewise.
9949         * iconv/iconvconfig.c (print_version): Likewise.
9950         * locale/programs/locale.c (print_version): Likewise.
9951         * locale/programs/localedef.c (print_version): Likewise.
9952         * login/programs/pt_chown.c (print_version): Likewise.
9953         * malloc/memusage.sh (do_version): Likewise.
9954         * malloc/memusagestat.c (print_version): Likewise.
9955         * malloc/mtrace.pl: Likewise.
9956         * manual/libc.texinfo: Likewise.
9957         * nptl/version.c (banner): Likewise.
9958         * nscd/nscd.c (print_version): Likewise.
9959         * nss/getent.c (print_version): Likewise.
9960         * nss/makedb.c (print_version): Likewise.
9961         * posix/getconf.c (main): Likewise.
9962         * scripts/test-installation.pl: Likewise.
9963         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9965         * All files with FSF copyright notices: Update copyright dates
9966         using scripts/update-copyrights.
9967         * intl/plural.c: Regenerated.
9968         * locale/programs/charmap-kw.h: Likewise.
9969         * locale/programs/locfile-kw.h: Likewise.
9971 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9973         [BZ #20593]
9974         Update DNS RR type definitions.
9975         * scripts/gen-rrtypes.py: New file.
9976         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
9977         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
9978         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
9979         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
9980         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
9981         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
9982         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
9983         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
9984         ns_t_ta, ns_t_dlv.
9985         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
9986         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
9987         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
9988         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
9989         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
9990         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
9991         Define.
9992         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
9993         entry for ns_t_zxfr.
9995 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9997         [BZ #18784]
9998         CVE-2015-5180
9999         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
10000         T_UNSPEC.  Adjust value.
10001         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
10002         * resolv/res_query.c (__libc_res_nquery): Likewise.
10003         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
10004         QTYPEs.
10005         * resolv/tst-resolv-qtypes.c: New file.
10006         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
10007         (tst-resolv-qtypes): Link against libresolv and libpthread.
10009 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10011         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
10013 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10015         * manual/tunables.texi: New chapter.
10016         * manual/Makefile (chapters): Add it.
10017         * manual/probes.texi (@node): Point to the Tunables chapter.
10019         * Makeconfig (have-tunables): Check for non-negative instead
10020         of positive.
10021         * configure.ac: Add 'valstring' as a valid value for
10022         --enable-tunables.
10023         * configure: Regenerate.
10024         * elf/Makefile (have-tunables): Check for non-negative instead
10025         of positive.
10026         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
10027         dl-tunables.c.
10028         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
10029         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
10030         (tunables_strdup): Likewise.
10031         (disable_tunables): Likewise.
10032         (parse_tunables): Likewise.
10033         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
10034         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
10035         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
10036         (TUNABLES_FRONTEND_yes): New macro, define as
10037         TUNABLES_FRONTEND_valstring by default.
10038         * manual/install.texi: Document new acceptable values for
10039         --enable-tunables.
10040         * INSTALL: Regenerate.
10042         * config.make.in (have-loop-to-function): Define.
10043         * elf/Makefile (CFLAGS-dl-tunables.c): Add
10044         -fno-tree-loop-distribute-patterns.
10045         * elf/dl-tunables.c: Include libc-internals.h.
10046         (GLIBC_TUNABLES): New macro.
10047         (tunables_strdup): New function.
10048         (parse_tunables): New function.
10049         (min_strlen): New function.
10050         (__tunables_init): Use the new functions and macro.
10051         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
10052         * malloc/tst-malloc-usable-tunables.c: New test case.
10053         * malloc/tst-malloc-usable-static-tunables.c: New test case.
10054         * malloc/Makefile (tests, tests-static): Add tests.
10056         * manual/install.texi: Add --enable-tunables option.
10057         * INSTALL: Regenerate.
10058         * README.tunables: New file.
10059         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
10060         (before-compile): Generate dl-tunable-list.h early.
10061         * config.h.in: Add HAVE_TUNABLES.
10062         * config.make.in: Add have-tunables.
10063         * configure.ac: Add --enable-tunables option.
10064         * configure: Regenerate.
10065         * csu/init-first.c (__libc_init_first): Move
10066         __libc_init_secure earlier...
10067         * csu/init-first.c (LIBC_START_MAIN):... to here.
10068         Include dl-tunables.h, libc-internal.h.
10069         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
10070         binaries.
10071         * elf/Makefile (dl-routines): Add dl-tunables.
10072         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
10073         namespace.
10074         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
10075         only when !HAVE_TUNABLES.
10076         * elf/rtld.c (process_envvars): Likewise.
10077         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
10078         (_dl_sysdep_start): Call __tunables_init.
10079         * elf/dl-tunable-types.h: New file.
10080         * elf/dl-tunables.c: New file.
10081         * elf/dl-tunables.h: New file.
10082         * elf/dl-tunables.list: New file.
10083         * malloc/tst-malloc-usable-static.c: New test case.
10084         * malloc/Makefile (tests-static): Add it.
10085         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
10086         Define TUNABLE_NAMESPACE.
10087         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
10088         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
10089         callback functions.
10090         (ptmalloc_init): Set tunable values.
10091         * scripts/gen-tunables.awk: New file.
10092         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
10093         (_dl_sysdep_start): Call __tunables_init.
10095 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10097         * resolv/resolv.h (RES_BLAST): Deprecate.
10098         * resolv/res_debug.c (p_option): Remove RES_BLAST.
10099         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
10100         to RES_BLAST.
10102 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10104         [BZ #19582]
10105         Deprecate RES_USE_INET6.
10106         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
10107         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
10108         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
10109         RES_USE_INET6.
10110         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
10111         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
10112         (_nss_nisplus_gethostbyaddr_r): Likewise.
10113         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
10114         of res_use_inet6.
10115         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
10116         instead of RES_USE_INET6.
10117         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
10118         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
10119         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
10120         Likewise.
10121         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
10122         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
10123         Likewise.
10124         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
10125         (_nss_dns_gethostbyname_r): Likewise.
10126         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
10127         alternate RES_USE_INET6 handling.
10128         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
10129         instead of RES_USE_INET6.
10130         * resolv/res_init.c (res_setoptions): Likewise.
10131         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
10132         * resolv/resolv-internal.h: New file.
10133         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
10134         make the deprecation warning non-fatal.
10135         * resolv/README (Using the resolver in multi-threaded code): Drop
10136         reference to RES_USE_INET6.
10137         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
10138         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
10140 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10142         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
10143         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
10144         tst-resolv-search.
10145         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
10146         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
10147         with libresolv and libpthread.
10148         * resolv/tst-bug18665.c: New file.
10149         * resolv/tst-bug18665-tcp: Likewise.
10150         * resolv/tst-res_use_inet6: Likewise.
10151         * resolv/tst-resolv-basic: Likewise.
10152         * resolv/tst-resolv-network: Likewise.
10153         * resolv/tst-resolv-search: Likewise.
10154         * support/Makefile (libsupport-routines): Add check_addrinfo,
10155         check_dns_packet, check_hostent, check_netent, resolv_test,
10156         support_format_address_family, support_format_addrinfo,
10157         support_format_dns_packet, support_format_herrno,
10158         support_format_hostent, support_format_netent, support_run_diff,
10159         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
10160         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
10161         xstrdup, xwrite.
10162         * support/check_addrinfo.c: New file.
10163         * support/check_dns_packet.c: Likewise.
10164         * support/check_hostent.c: Likewise.
10165         * support/check_netent.c: Likewise.
10166         * support/check_nss.h: Likewise.
10167         * support/format_nss.h: Likewise.
10168         * support/resolv_test.c: Likewise.
10169         * support/resolv_test.h: Likewise.
10170         * support/run_diff.h: Likewise.
10171         * support/support_format_address_family.c: Likewise.
10172         * support/support_format_addrinfo.c: Likewise.
10173         * support/support_format_dns_packet.c: Likewise.
10174         * support/support_format_herrno.c: Likewise.
10175         * support/support_format_hostent.c: Likewise.
10176         * support/support_format_netent.c: Likewise.
10177         * support/support_run_diff.c: Likewise.
10178         * support/xaccept.c: Likewise.
10179         * support/xbind.c: Likewise.
10180         * support/xconnect.c: Likewise.
10181         * support/xfclose.c: Likewise.
10182         * support/xfopen.c: Likewise.
10183         * support/xgetsockname.c: Likewise.
10184         * support/xlisten.c: Likewise.
10185         * support/xmemstream.c: Likewise.
10186         * support/xmemstream.h: Likewise.
10187         * support/xpoll.c: Likewise.
10188         * support/xpthread_once.c: Likewise.
10189         * support/xrecvfrom.c: Likewise.
10190         * support/xsendto.c: Likewise.
10191         * support/xsetsockopt.c: Likewise.
10192         * support/xstdio.h: Likewise.
10193         * support/xstrdup.c: Likewise.
10194         * support/support.h (xstrdup): Declare.
10195         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
10196         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
10197         * support/xthread.h (xpthread_once): Likwise.
10198         * support/xunistd.h (xwrite): Declare.
10200 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10202         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
10203         (test_verbose): Declare.
10204         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
10205         * support/support_test_main.c (default_options): Likewise.
10206         (usage, support_test_main): Handle 'v'.
10207         (test_verbose): Define.
10208         * support/tst-support_record_failure.c (do_test): Use
10209         test_verbose.
10210         * support/tst-support_record_failure-2.sh (different_status): Add
10211         --verbose test.
10213 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10215         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
10216         test failures are recorded.
10217         * support/check.c (support_print_failure_impl): Call
10218         support_record_failure.
10219         (support_exit_failure_impl): Call support_record_failure if status
10220         indicates failure.
10221         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
10222         * support/xasprintf.c (xasprintf): Likewise.
10223         * support/xfork.c (xfork): Likewise.
10224         * support/xpthread_check_return.c (xpthread_check_return):
10225         Likewise.
10226         * support/xsocket.c (xsocket): Likeweise.
10227         * support/xwaitpid.c (xwaitpid): Likewise.
10228         * support/support_record_failure.c (struct test_failures): Adjust
10229         to coding style.
10230         * support/support_test_verify_impl.c (support_test_verify_impl):
10231         Adjust error messages.
10232         * support/tst-support_record_failure-2.sh (different_status):
10233         Adjust error messages.
10235 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10237         * support/namespace.h: New file.
10238         * support/support_become_root.c: Likewise.
10239         * support/support_enter_network_namespace.c: Likewise.
10240         * support/tst-support-namespace.c: Likewise.
10241         * support/xsocket.c: Likewise.
10242         * support/xsocket.h: Likewise.
10243         * support/Makefile (libsupport-routines): Add support_become_root,
10244         support_enter_network_namespace, xsocket.
10245         (tests): Add tst-support-namespace.
10247 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10249         [BZ #17252]
10250         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
10251         __USE_GNU.
10253 2016-12-31  Torvald Riegel  <triegel@redhat.com>
10255         [BZ #13165]
10256         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
10257         use new algorithm.
10258         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10259         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10260         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10261         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10262         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
10263         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
10264         __condvar_cleanup_waiting, __condvar_dec_grefs,
10265         __pthread_cond_wait_common): New.
10266         (__condvar_cleanup): Remove.
10267         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
10268         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
10269         Likewise.
10270         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
10271         Likewise.
10272         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
10273         * nptl/tst-cond1.c: Add comment.
10274         * nptl/tst-cond20.c (do_test): Adapt.
10275         * nptl/tst-cond22.c (do_test): Likewise.
10276         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
10277         structure.
10278         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10279         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10280         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10281         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
10282         Likewise.
10283         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10284         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10285         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10286         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10287         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10288         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
10289         Likewise.
10290         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
10291         Likewise.
10292         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10293         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
10294         (COND_CLOCK_BITS): Adapt.
10295         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
10296         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
10297         __PTHREAD_COND_SHARED_MASK): New.
10298         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
10299         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
10300         * nptl/nptl_lock_constants.pysym: Adapt.
10301         * nptl/test-cond-printers.py: Adapt.
10302         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
10303         cond_compat_check_and_clear): Adapt.
10304         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
10305         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
10306         (__pthread_cond_timedwait): ... and move here.
10307         * nptl/DESIGN-condvar.txt: Remove file.
10308         * nptl/lowlevelcond.sym: Likewise.
10309         * nptl/pthread_cond_timedwait.c: Likewise.
10310         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
10311         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
10312         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
10313         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
10314         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
10315         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
10316         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
10317         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
10318         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
10319         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
10320         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
10321         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
10322         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
10323         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
10324         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
10325         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
10327 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
10329         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10330         (fromfp): New declaration.
10331         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
10332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
10333         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
10334         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
10335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
10336         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
10337         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
10338         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
10339         * math/math.h: Include <bits/types.h>.
10340         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
10341         constant and macro.
10342         (FP_INT_DOWNWARD): Likewise.
10343         (FP_INT_TOWARDZERO): Likewise.
10344         (FP_INT_TONEARESTFROMZERO): Likewise.
10345         (FP_INT_TONEAREST): Likewise.
10346         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
10347         (fromfpf): Likewise.
10348         (fromfpl): Likewise.
10349         (ufromfp): Likewise.
10350         (ufromfpf): Likewise.
10351         (ufromfpl): Likewise.
10352         (fromfpx): Likewise.
10353         (fromfpxf): Likewise.
10354         (fromfpxl): Likewise.
10355         (ufromfpx): Likewise.
10356         (ufromfpxf): Likewise.
10357         (ufromfpxl): Likewise.
10358         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
10359         s_fromfpxF and s_ufromfpxF.
10360         * math/gen-fromfp-tests.py: New file.
10361         * math/gen-fromfp-tests-inputs: Likewise.
10362         * math/libm-test.inc: Include <stdint.h>
10363         (check_intmax_t): New function.
10364         (check_uintmax_t): Likewise.
10365         (struct test_fiu_M_data): New type.
10366         (struct test_fiu_U_data): Likewise.
10367         (RUN_TEST_fiu_M): New macro.
10368         (RUN_TEST_LOOP_fiu_M): Likewise.
10369         (RUN_TEST_fiu_U): Likewise.
10370         (RUN_TEST_LOOP_fiu_U): Likewise.
10371         (fromfp_test_data): New array.
10372         (fromfp_test): New function.
10373         (fromfpx_test_data): New array.
10374         (fromfpx_test): New function.
10375         (ufromfp_test_data): New array.
10376         (ufromfp_test): New function.
10377         (ufromfpx_test_data): New array.
10378         (ufromfpx_test): New function.
10379         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
10380         ufromfpx_test.
10381         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
10382         characters.
10383         * math/test-tgmath-ret.c: Include <stdint.h>.
10384         (rm): New variable.
10385         (width): Likewise.
10386         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
10387         called function.
10388         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
10389         CHECK_RET_CONST_TYPE.
10390         (CHECK_RET_CONST_DOUBLE): Likewise.
10391         (CHECK_RET_CONST_LDOUBLE): Likewise.
10392         (CHECK_RET_CONST): Take extra arguments and pass them to calls
10393         macros.
10394         (fromfp): New CHECK_RET_CONST call.
10395         (ufromfp): Likewise.
10396         (fromfpx): Likewise.
10397         (ufromfpx): Likewise.
10398         (do_test): Call check_return_fromfp, check_return_ufromfp,
10399         check_return_fromfpx and check_return_ufromfpx.
10400         * math/test-tgmath.c: Include <stdint.h>
10401         (NCALLS): Increase to 138.
10402         (F(compile_test)): Initialize i.  Call fromfp functions.
10403         (F(fromfp)): New function.
10404         (F(fromfpx)): Likewise.
10405         (F(ufromfp)): Likewise.
10406         (F(ufromfpx)): Likewise.
10407         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
10408         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
10409         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
10410         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
10411         ufromfpxl.
10412         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
10413         ufromfp and ufromfpx.
10414         * math/fromfp.h: New file.
10415         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
10416         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
10417         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
10418         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
10419         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
10420         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
10421         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
10422         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
10423         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
10424         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
10425         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
10426         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
10427         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
10428         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
10429         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
10430         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
10431         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
10432         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
10433         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
10434         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
10435         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
10436         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
10437         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
10438         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
10439         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
10440         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
10441         ufromfp, fromfpx and ufromfpx.
10442         (CFLAGS-nldbl-fromfp.c): New variable.
10443         (CFLAGS-nldbl-fromfpx.c): Likewise.
10444         (CFLAGS-nldbl-ufromfp.c): Likewise.
10445         (CFLAGS-nldbl-ufromfpx.c): Likewise.
10446         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
10447         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
10448         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
10449         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
10450         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
10451         * sysdeps/nacl/libm.abilist: Update.
10452         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10453         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10454         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10455         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10456         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10457         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10458         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10459         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10460         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10461         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10462         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10463         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10465         Likewise.
10466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10467         Likewise.
10468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10469         Likewise.
10470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10471         Likewise.
10472         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10473         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10474         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10475         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10476         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10478         Likewise.
10479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10480         Likewise.
10481         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10482         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10483         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10485 2016-12-30  Florian Weimer  <fweimer@redhat.com>
10487         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
10488         compat-gethnamaddr.
10489         (CPPFLAGS): Remove.
10490         * resolv/gethnamaddr.c: Rename ...
10491         * resolv/compat-gethnamaddr.c: ... to this file.
10492         (_endhtent): Make static.
10493         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
10494         symbol.
10495         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
10496         compat symbol.
10497         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
10498         symbol.
10499         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
10500         Turn into compat symbol.
10501         * include/resolv.h (_endhtent): Remove declaration.
10503 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
10505         * bits/types.h (__intmax_t): New typedef.
10506         (__uintmax_t): Likewise.
10507         * sysdeps/generic/stdint.h: Include <bits/types.h>.
10508         (intmax_t): Define using __intmax_t.
10509         (uintmax_t): Define using __uintmax_t.
10511         * support/Makefile (tests-special): Make definition conditional on
10512         [$(run-built-tests) = yes].
10513         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
10514         on [$(run-built-tests) = yes].
10516 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10518         * Rules (tests): Add tests-printers-programs to tests to be
10519         built.
10521 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10523         * sysvipc/Makefile (tests): Add test-sysvshm.
10524         * sysvipc/test-sysvshm.c: New file.
10526         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
10527         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
10528         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
10529         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
10530         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
10531         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
10532         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
10533         Likewise.
10534         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
10535         Likewise.
10536         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
10537         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
10538         is defined.
10540         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
10541         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
10542         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
10543         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
10544         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
10545         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
10546         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
10547         Likewise.
10548         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
10549         Likewise.
10550         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
10551         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
10552         defined.
10554         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10555         oldshmctl.
10556         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
10557         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
10558         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
10559         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
10560         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
10561         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
10562         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
10563         Likewise.
10564         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
10565         Likewise.
10566         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
10567         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
10568         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
10569         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
10570         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
10571         implementation.
10572         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
10573         if it is defined.
10575         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
10576         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
10577         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
10578         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
10579         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
10580         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
10581         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
10582         Likewise.
10583         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
10584         Likewise.
10585         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
10586         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
10587         Define to __NR_osf_shmat.
10588         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
10589         defined.
10591         * sysvipc/Makefile (tests): Add test-sysvsem.
10592         * sysvipc/test-sysvsem.c: New file.
10594         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
10595         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
10596         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
10597         Likewise.
10598         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
10599         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
10600         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
10601         Likewise.
10602         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
10603         Likewise.
10604         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
10605         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
10606         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
10607         add a comment about s390 syscall difference from default one.
10608         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
10609         syscall if it is defined.
10611         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
10612         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
10613         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
10614         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
10615         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
10616         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
10617         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
10618         Likewise.
10619         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
10620         Likewise.
10621         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
10622         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
10623         defined.
10625         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
10626         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
10627         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
10628         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
10629         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
10630         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
10631         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
10632         Likewise.
10633         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
10634         Likewise.
10635         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
10636         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
10637         if it is defined.
10639         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10640         oldsemctl.
10641         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
10642         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
10643         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
10644         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
10645         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
10646         implementation.
10647         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
10648         syscall if it is defined.
10649         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
10650         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
10651         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
10652         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
10653         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
10654         Likewise.
10655         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
10657         * sysvipc/Makefile (tests): Add test-sysvmsg.
10658         * sysvipc/test-sysvmsg.c: New file.
10659         * support/check.h (FAIL_UNSUPPORTED): New define.
10661         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
10662         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
10663         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
10664         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
10665         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
10666         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
10667         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
10668         Likewise.
10669         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
10670         Likewise.
10671         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
10672         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
10673         define.
10675         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
10676         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
10677         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
10678         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
10679         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
10680         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
10681         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
10682         Likewise.
10683         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
10684         Likewise.
10685         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
10686         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
10687         if defined.
10689         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
10690         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
10691         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10692         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10693         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10694         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
10695         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10696         Likewise.
10697         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
10698         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
10699         Likewise.
10700         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
10701         if defined.
10702         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
10704         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10705         oldmsgctl.
10706         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
10707         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
10708         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
10709         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
10710         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10711         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10712         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10713         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10714         Likewise.
10715         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
10716         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
10717         implementation.
10718         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
10719         if defined.
10721         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
10722         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
10723         definition and define its own.
10724         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
10725         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
10726         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
10727         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
10728         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
10729         definitions to common header.
10730         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
10731         operation from ipc_ops.h.
10733         * sysdeps/unix/sysv/linux/kernel-features.h
10734         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
10735         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10736         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
10737         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10738         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10739         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10740         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10741         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10742         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10743         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10744         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10745         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10746         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10747         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10748         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10750 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10752         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
10753         overflow in pointer addition.
10755 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10757         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10758         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
10759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10760         (strchr): Add __strchr_power8 to list of strchr functions.
10761         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
10762         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
10763         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
10764         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
10765         (strchr): Add __strchr_power8 to ifunc list.
10766         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
10767         (__strchrnul): Add __strchrnul_power8 to ifunc list.
10768         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
10769         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
10771 2016-12-28  Florian Weimer  <fweimer@redhat.com>
10773         * support/Makefile (libsupport-routines): Add
10774         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
10775         (tests): Add tst-support_record_failure.
10776         (tests-special): tst-support_record_failure-2.
10777         (tst-support_record_failure-2.out): Depend on
10778         tst-support_record_failure-2.sh and tst-support_record_failure.
10779         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
10780         (support_test_verify_impl, support_record_failure)
10781         (support_report_failure, support_report_failure_reset): Declare.
10782         * support/support_test_main.c (adjust_exit_status): New function.
10783         (support_test_main): Call it to incorporate record test failures.
10784         * support/support_test_verify_impl.c: New file.
10785         * support/support_record_failure.c: Likewise.
10786         * support/tst-support_record_failure.c: Likewise.
10787         * support/tst-support_record_failure-2.sh: Likewise.
10788         * support/xunistd.h: Likewise.
10789         * support/xfork.c: Likewise.
10790         * support/xwaitpid.c: Likewise.
10792 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
10794         * scripts/check-c++-types.sh: Add comments.
10796 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
10798         [BZ #19514]
10799         * resolv/res_send.c: Fix typo in comment.
10800         * sysdeps/i386/i386-mcount.S: Likewise.
10801         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10802         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10803         * sysdeps/sparc/sparc-mcount.S: Likewise.
10805 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10807         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
10808         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
10809         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
10810         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
10811         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
10812         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
10813         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
10814         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
10816 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10818         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
10820 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10822         [BZ #17252]
10823         * posix/unistd.h (getentropy): Declare.
10825 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10827         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
10828         Remove.
10829         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
10830         (cmd): Remove spoof, nospoof, spoofalert.
10831         (parse_line): Ignore spoof-related lines.
10832         (do_init): Do not process RESOLV_SPOOF_CHECK.
10834 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10836         [BZ #20964]
10837         sunrpc: Always obtain AF_INET addresses from NSS.
10838         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
10839         * sunrpc/rpc_gethostbyname.c: New file.
10840         * sunrpc/Makefile (routines): Add it.
10841         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
10842         * sunrpc/clnt_simp.c (callrpc): Likewise.
10843         * sunrpc/getrpcport.c (getrpcport): Likewise.
10845 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10847         * sunrpc/rpcinfo.c: Remove.
10848         * sunrpc/Makefile: Remove comments referring to rpcinfo.
10850 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10852         [BZ #19387]
10853         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
10854         addition.
10855         * string/test-memchr.c (do_test): Remove alignment limitation.
10856         (test_main): Add test that trigger BZ #19387.
10858 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10860         [BZ #7065]
10861         Enable stack protectore if requested by ./configure.
10862         * Makeconfig (+stack-protector): New variable.
10863         (+cflags): Use it.
10865 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10867         [BZ #7065]
10868         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
10869         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
10870         (__rt_sigreturn_stub): Use inhibit_stack_protector.
10871         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10872         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
10874 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10876         [BZ #7065]
10877         * login/Makefile (pt_chown-cflags): Remove.
10878         * nscd/Makefile (CFLAGS-nscd): Likewise.
10879         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10881 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10883         [BZ #7065]
10884         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
10885         non-libc-linking testcase.
10887 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10888             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10889             Florian Weimer  <fweimer@redhat.com>
10891         [BZ #7065]
10892         PLT avoidance for __stack_chk_fail*.
10893         * debug/Makefile (CFLAGS-stack_chk_fail.c)
10894         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
10895         * debug/stack_chk_fail.c (__stack_chk_fail): Add
10896         __stack_chk_fail_local alias.
10897         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
10898         (__stack_chk_fail): Turn into hidden reference to
10899         __stack_chk_fail_local.
10901 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10903         [BZ #7065]
10904         * configure.ac: Add check for unsupported stack-protection level.
10905         (libc_cv_predef_stack_protector): Remove.
10906         (no_ssp): New variable.
10907         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
10908         (stack_protector): Set to -fno-stack-protector similarly.
10909         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
10910         (libc_cv_asm_set_directive): Likewise.
10911         (libc_cv_protected_data): Likewise.
10912         (libc_cv_z_combreloc): Likewise.
10913         (libc_cv_hashstyle): Likewise.
10914         (libc_cv_has_glob_dat): Likewise.
10915         (libc_cv_output_format): Likewise.
10916         (libc_cv_output_format): Likewise.
10917         (libc_cv_ehdr_start): Likewise.
10918         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
10919         (LIBC_LINKER_FEATURE): Likewise.
10920         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
10922 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10924         [BZ #7065]
10925         * elf/Makefile (dummy-stack-chk-fail): New.
10926         (librtld.map): Use it.
10928 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10930         [BZ #7065]
10931         Compile the dynamic linker without stack protection.
10932         * elf/Makefile (elide-stack-protector): New.
10933         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
10934         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
10935         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
10936         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
10938 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10940         [BZ #7065]
10941         * config.make.in (have-ssp, no-stack-protector): New.
10942         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
10943         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
10944         (CFLAGS-sbrk.op): Likewise.
10945         (CFLAGS-brk.o): Likewise.
10946         (CFLAGS-brk.op): Likewise.
10947         * string/Makefile (CFLAGS-memcpy.c): Likewise.
10948         (CFLAGS-wordcopy.c): Likewise.
10950 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10952         [BZ #7065]
10953         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
10954         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
10955         * include/libc-symbols.h (inhibit_stack_protector): New macro.
10956         (__ifunc_resolver): Use it.
10957         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
10958         inhibit_stack_protector.
10959         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
10960         * elf/ifuncmain7.c (foo_ifunc): Likewise.
10961         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
10962         (foo_protected_ifunc): Likewise.
10963         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
10964         (foo_protected_ifunc): Likewise.
10965         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10966         * sysdeps/nacl/nacl_interface_query.c
10967         (nacl_interface_query_ifunc): Likewise.
10968         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10969         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
10970         Likewise.
10971         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
10972         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
10973         the generated vDSO syscall resolver.
10975 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10976             Florian Weimer  <fweimer@redhat.com>
10978         [BZ #7065]
10979         Initialize the stack guard earlier when linking statically.
10980         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
10981         (__pthread_initialize_minimal): Declare.
10982         * csu/libc-start.c (__pthread_initialize_minimal): Remove
10983         declaration.
10984         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
10985         stack canary and apply_irel initialization up.  Call
10986         __pthread_initialize_minimal only if linked in.
10987         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
10988         constant values.
10989         (__pthread_initialize_minimal): Remove.
10990         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
10991         (__pthread_initialize_minimal_internal): Do not call
10992         __libc_setup_tls.
10994 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10996         [BZ #7065]
10997         * configure.ac (libc_cv_ssp): Move up.
10998         (libc_cv_ssp_strong): Likewise.
10999         (libc_cv_ssp_all): New.
11000         (stack_protector): Augment, adding -fstack-protector-all.
11001         (no_stack_protector): New.
11002         (STACK_PROTECTOR_LEVEL): New.
11003         (AC_ARG_ENABLE(stack-protector)): New configure flag.
11004         * manual/install.texi (--enable-stack-protector): Document it.
11005         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
11007 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
11009         * README.pretty-printers: Must specify CPPFLAGS-* also.
11010         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
11011         (CPPFLAGS-test-mutex-printers.c): Define.
11012         (CPPFLAGS-test-condattr-printers.c): Define.
11013         (CPPFLAGS-test-cond-printers.c): Define.
11014         (CPPFLAGS-test-rwlockattr-printers.c): Define.
11015         (CPPFLAGS-test-rwlock-printers.c): Define.
11017         * nss/Makefile [ifeq (yes,$(have-thread-library))]
11018         (tests): Add tst-cancel-getpwuid_r.
11019         * nss/tst-cancel-getpwuid_r.c: New file.
11021         [BZ #11941]
11022         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
11023         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
11024         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
11025         tst-nodelete-dlclose.
11026         (modules-names): Add tst-nodelete-dlclose-dso and
11027         tst-nodelete-dlclose-plugin.
11028         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
11029         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
11030         ($(objpfx)tst-nodelete-dlclose): Define.
11031         ($(objpfx)tst-nodelete-dlclose.out): Define.
11033 2016-12-23  Florian Weimer  <fweimer@redhat.com>
11035         * scripts/test_printers_common.py: Log GDB output in case of
11036         Python detection failure.
11038 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11040         * configure.ac: Check for python3 or python.
11041         * configure: Regenerated.
11042         * config.make.in (PYTHON): New variable.
11043         * benchtests/Makefile: Don't define PYTHON.
11044         (bench): Define target only if PYTHON was defined.
11045         * Rules: Don't define PYTHON.
11046         Define pretty printer targets only if PYTHON was defined.
11047         (tests-printers): Add to tests-unsupported if PYTHON is not
11048         found.
11049         (python-flags, python-invoke): Remove.
11050         (tests-printers-out): Use PYTHON instead of python-invoke.
11052 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
11054         [BZ #20978]
11055         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11056         Compare name == NULL, not name != NULL.
11058         * manual/texinfo.tex: Update to version 2016-09-18.18 with
11059         trailing whitespace removed.
11060         * scripts/config.guess: Update to version 2016-10-02.
11061         * scripts/config.sub: Update to version 2016-11-19.
11062         * scripts/install-sh: Update to version 2016-01-11.22.
11063         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
11064         * scripts/move-if-change: Update to version 2016-01-11 22:04.
11066 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
11068         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
11069         (do_one_test) Restore original string so iteration works.
11070         * string/string-inlines.c (do_test): Create better input strings.
11071         (test_main) Reduce number of testruns.
11072         * string/string-inlines.c (__old_strsep_1c): New function.
11073         (__old_strsep_2c): Likewise.
11074         (__old_strsep_3c): Likewise.
11075         * string/strsep.c (__strsep): Remove case of small delim string.
11076         Call strcspn directly rather than strpbrk.
11077         * string/bits/string2.h (__strsep): Remove define.
11078         (__strsep_1c): Remove.
11079         (__strsep_2c): Remove.
11080         (__strsep_3c): Remove.
11081         (strsep): Remove.
11082         * sysdeps/unix/sysv/linux/internal_statvfs.c
11083         (__statvfs_getflags): Rename to __strsep.
11085 2016-12-21  Florian Weimer  <fweimer@redhat.com>
11087         * csu/libc-tls.c (_dl_tls_setup): Remove.
11088         * elf/dl-tls.c (_dl_tls_setup): Likewise.
11089         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
11090         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
11092 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
11094         [BZ #7065]
11095         * sysdeps/x86_64/Makefile [$(subdir) = elf]
11096         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
11098 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
11099             Florian Weimer  <fweimer@redhat.com>
11101         [BZ #7065]
11102         * csu/Makefile (tests): Empty assignment and document it.
11103         (tests-static): Remove.
11104         * csu/tst-empty.c: Move to...
11105         * misc/tst-empty.c: ... here.  Switch to new test driver.
11106         * csu/tst-atomic.c: Move to...
11107         * misc/tst-atomic.c: ... here.  Switch to new test driver.
11108         * csu/tst-atomic-long.c: Move to...
11109         * misc/tst-atomic-long.c: ... here.
11110         * misc/Makefile (tests): Add tst-empty, tst-atomic,
11111         tst-atomic-long.
11112         (tests-static): Add tst-empty.
11114 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
11116         * manual/nss.texi: Change incorrect @vtable to @table.
11117         * manual/arith.texi: Convert @tables of variables to @vtables
11118         and remove unnecessary indexing.
11119         * manual/filesys.texi: Likewise.
11120         * manual/llio.texi: Likewise.
11121         * manual/memory.texi: Likewise.
11122         * manual/process.texi: Likewise.
11123         * manual/resource.texi: Likewise.
11124         * manual/search.texi: Likewise.
11125         * manual/signal.texi: Likewise.
11126         * manual/socket.texi: Likewise.
11127         * manual/stdio.texi: Likewise.
11128         * manual/sysinfo.texi: Likewise.
11129         * manual/syslog.texi: Likewise.
11130         * manual/terminal.texi: Likewise.
11131         * manual/time.texi: Likewise.
11132         * manual/users.texi: Likewise.
11134 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
11136         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11137         (roundeven): New declaration.
11138         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
11139         macro.
11140         * math/Versions (roundeven): New libm symbol at version
11141         GLIBC_2.25.
11142         (roundevenf): Likewise.
11143         (roundevenl): Likewise.
11144         * math/Makefile (libm-calls): Add s_roundevenF.
11145         * math/libm-test.inc (roundeven_test_data): New array.
11146         (roundeven_test): New function.
11147         (main): Call roundeven_test.
11148         * math/test-tgmath.c (NCALLS): Increase to 134.
11149         (F(compile_test)): Call roundeven.
11150         (F(roundeven)): New function.
11151         * manual/arith.texi (Rounding Functions): Document roundeven,
11152         roundevenf and roundevenl.
11153         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
11154         * include/math.h (roundeven): Use libm_hidden_proto.
11155         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
11156         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
11157         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
11158         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
11159         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
11160         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
11161         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11162         roundeven.
11163         (CFLAGS-nldbl-roundeven.c): New variable.
11164         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
11165         * sysdeps/nacl/libm.abilist: Update.
11166         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11167         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11168         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11169         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11170         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11171         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11172         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11173         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11174         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11175         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11176         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11177         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11179         Likewise.
11180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11181         Likewise.
11182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11183         Likewise.
11184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11185         Likewise.
11186         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11187         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11188         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11189         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11190         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11192         Likewise.
11193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11194         Likewise.
11195         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11196         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11197         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11199 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
11201         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
11202         preprocessor indentation inside #if.
11204 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11206         * math/libm-test.inc (fmt_ftostr): New function.
11207         (print_float, check_float_internal): Replace some uses of
11208         FTOSTR with uses of fmt_ftostr.
11209         (print_max_error, print_complex_max_error, print_function_ulps)
11210         (print_complex_function_ulps): Remove uses of the macros
11211         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
11212         * math/test-double.h (FTOSTR): Define to strfromd.
11213         (PRINTF_EXPR): Delete.
11214         (PRINTF_XEXPR): Likewise.
11215         (PRINTF_NEXPR): Likewise.
11216         * math/test-float.h (FTOSTR): Define to strfromf.
11217         (PRINTF_EXPR): Delete.
11218         (PRINTF_XEXPR): Likewise.
11219         (PRINTF_NEXPR): Likewise.
11220         * math/test-ldouble.h (FTOSTR): Define to strfroml.
11221         (PRINTF_EXPR): Delete.
11222         (PRINTF_XEXPR): Likewise.
11223         (PRINTF_NEXPR): Likewise.
11225 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11227         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11228         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
11229         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
11230         (__lll_lock_elision): Decrement adapt_count while unlocking
11231         instead of before locking.
11232         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
11233         (__lll_trylock_elision): Likewise.
11234         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
11235         (__lll_unlock_elision): Likewise.
11237 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11239         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
11240         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
11241         Use __libc_tbegin_retry macro.
11243 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11245         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
11246         Add -msoft-float.
11247         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
11248         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
11249         Use __libc_t* transaction macros instead of __builtin_t*.
11250         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11251         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11253 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11255         * sysdeps/unix/sysv/linux/s390/elision-lock.c
11256         (__lll_lock_elision): Use atomics to load / store adapt_count.
11257         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
11258         (__lll_trylock_elision): Likewise.
11260 2016-12-20  Florian Weimer  <fweimer@redhat.com>
11262         Do not require memset elimination in explicit_bzero test.
11263         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
11264         (enum test_expectation): Add NO_EXPECTATIONS.
11265         (subtests): NO_EXPECTATIONS for ordinary clear.
11266         (check_test_buffer): Handle NO_EXPECTATIONS.
11267         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
11269 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
11271         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11272         (fmaxmag): New declaration.
11273         (fminmag): Likewise.
11274         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
11275         macro.
11276         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
11277         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
11278         (fmaxmagf): Likewise.
11279         (fmaxmagl): Likewise.
11280         (fminmag): Likewise.
11281         (fminmagf): Likewise.
11282         (fminmagl): Likewise.
11283         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
11284         * math/s_fmaxmag_template.c: New file.
11285         * math/s_fminmag_template.c: Likewise.
11286         * math/libm-test.inc (fmaxmag_test_data): New array.
11287         (fmaxmag_test): New function.
11288         (fminmag_test_data): New array.
11289         (fminmag_test): New function.
11290         (main): Call fmaxmag_test and fminmag_test.
11291         * math/test-tgmath.c (NCALLS): Increase to 132.
11292         (F(compile_test)): Call fmaxmag and fminmag.
11293         (F(fminmag)): New function.
11294         (F(fmaxmag)): Likewise.
11295         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
11296         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
11297         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
11298         fminmag.
11299         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
11300         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
11301         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
11302         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
11303         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
11304         and fminmag.
11305         (CFLAGS-nldbl-fmaxmag.c): New variable.
11306         (CFLAGS-nldbl-fminmag.c): Likewise.
11307         * sysdeps/nacl/libm.abilist: Update.
11308         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11309         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11310         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11311         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11312         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11313         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11314         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11315         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11316         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11317         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11318         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11319         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11321         Likewise.
11322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11323         Likewise.
11324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11325         Likewise.
11326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11327         Likewise.
11328         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11329         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11330         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11331         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11332         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11334         Likewise.
11335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11336         Likewise.
11337         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11338         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11339         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11341 2016-12-19  Torvald Riegel  <triegel@redhat.com>
11343         [BZ #20973]
11344         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
11345         wake-up in robust mutexes.
11346         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11348 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11350         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
11351         (CFLAGS-bench-fmaxf.c): New rule.
11352         (CFLAGS-bench-fminf.c): Likewise.
11353         * benchtests/fmaxf-inputs: New file.
11354         * benchtests/fminf-inputs: Likewise.
11356         * benchtests/Makefile (bench-math): Add fmin and fmax.
11357         (CFLAGS-bench-fmax.c): New rule.
11358         (CFLAGS-bench-fmin.c): Likewise.
11359         * benchtests/fmax-inputs: New file.
11360         * benchtests/fmin-inputs: Likewise.
11362         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
11363         parenthesis.
11364         (CMDLINE_PROCESS): Define using function instead of macro.
11365         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
11366         of test-skeleton.
11367         * benchtests/bench-memchr.c: Likewise.
11368         * benchtests/bench-memcmp.c: Likewise.
11369         * benchtests/bench-memcpy-large.c: Likewise.
11370         * benchtests/bench-memcpy.c: Likewise.
11371         * benchtests/bench-memmem.c: Likewise.
11372         * benchtests/bench-memmove-large.c: Likewise.
11373         * benchtests/bench-memmove.c: Likewise.
11374         * benchtests/bench-memset-large.c: Likewise.
11375         * benchtests/bench-memset.c: Likewise.
11376         * benchtests/bench-rawmemchr.c: Likewise.
11377         * benchtests/bench-strcasecmp.c: Likewise.
11378         * benchtests/bench-strcasestr.c: Likewise.
11379         * benchtests/bench-strcat.c: Likewise.
11380         * benchtests/bench-strchr.c: Likewise.
11381         * benchtests/bench-strcmp.c: Likewise.
11382         * benchtests/bench-strcpy.c: Likewise.
11383         * benchtests/bench-strcpy_chk.c: Likewise.
11384         * benchtests/bench-strlen.c: Likewise.
11385         * benchtests/bench-strncasecmp.c: Likewise.
11386         * benchtests/bench-strncmp.c: Likewise.
11387         * benchtests/bench-strncpy.c: Likewise.
11388         * benchtests/bench-strnlen.c: Likewise.
11389         * benchtests/bench-strpbrk.c: Likewise.
11390         * benchtests/bench-strrchr.c: Likewise.
11391         * benchtests/bench-strsep.c: Likewise.
11392         * benchtests/bench-strspn.c: Likewise.
11393         * benchtests/bench-strstr.c: Likewise.
11394         * benchtests/bench-strtok.c: Likewise.
11396 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11398         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
11399         stepping identification.
11400         (init_cpu_features): Add handle of Haswell.
11402 2016-11-25  Jim Meyering  <meyering@fb.com>
11404         [BZ #20386]
11405         Let gcc detect assert(a = 1) errors.
11406         * assert/assert.h (assert): Rewrite, retaining the old definintion
11407         when required, but otherwise putting the expression as-is in an "if"
11408         expression (hence, with no added parentheses) within a statement
11409         expression.
11411 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11413         * benchtests/Makefile (binaries-benchset): Depend on libsupport
11414         DSO.
11416 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
11418         * Rules (python-flags, python-invoke): New.
11419         ($(test-printers-out)): Use $(python-flags).
11421 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11423         * manual/arith.texi (Math Error Reporting): Document that sNaN
11424         arguments are not considered domain errors.
11426 2016-12-16  Zack Weinberg <zackw@panix.com>
11427             Florian Weimer <fweimer@redhat.com>
11428             Nick Mathewson <nickm@torproject.org>
11430         * string/explicit_bzero.c: New routine.
11431         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
11432         * string/Makefile (routines, strop-tests, tests): Add them.
11433         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
11434         * string/string.h [__USE_MISC]: Declare explicit_bzero.
11436         * debug/explicit_bzero_chk.c: New routine.
11437         * debug/Makefile (routines): Add it.
11438         * debug/tst-chk1.c: Test fortification of explicit_bzero.
11439         * string/bits/string3.h: Fortify explicit_bzero.
11441         * manual/string.texi: Document explicit_bzero.
11442         * NEWS: Mention addition of explicit_bzero.
11444         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
11445         data before returning, using explicit_bzero.
11446         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
11447         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11448         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11450         * include/string.h: Redirect internal uses of explicit_bzero
11451         to __explicit_bzero_chk[_internal].
11452         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
11453         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
11454         * sysdeps/arm/nacl/libc.abilist
11455         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11456         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11457         * sysdeps/unix/sysv/linux/arm/libc.abilist
11458         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11459         * sysdeps/unix/sysv/linux/i386/libc.abilist
11460         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11461         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11462         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11463         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11464         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11465         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11466         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11467         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11468         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11473         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11474         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11475         * sysdeps/unix/sysv/linux/sh/libc.abilist
11476         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11477         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11480         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11481         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11482         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11483         Add entries for explicit_bzero and __explicit_bzero_chk.
11485 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11487         * math/fenv.h
11488         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
11489         (FE_SNANS_ALWAYS_SIGNAL): New macro.
11490         * math/test-fe-snans-always-signal.c: New file.
11491         * math/Makefile (tests): Add test-fe-snans-always-signal.
11492         (CFLAGS-test-fe-snans-always-signal.c): New variable.
11493         * manual/arith.texi (Infinity and NaN): Document
11494         FE_SNANS_ALWAYS_SIGNAL.
11496 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11498         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
11499         bracket.
11501 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11503         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
11504         before calling execv.
11506 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11508         [BZ #20971]
11509         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
11510         overflow in pointer addition.
11511         * string/test-memchr.c (do_test): Add an argument to pass as
11512         the size on memchr.
11513         (test_main): Add check for SIZE_MAX.
11515 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11517         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
11518         (libm-calls): Add w_scalblnF.
11519         * math/w_scalbln.c: Remove.
11520         * math/w_scalblnf.c: Likewise.
11521         * math/w_scalblnl.c: Likewise.
11522         * math/w_scalbln_template.c: New file with type-generic
11523         implementation based on math/w_scalbln.c.
11524         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
11525         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
11527 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
11529         [BZ #20947]
11530         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
11531         either is a signaling NaN.
11532         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
11533         follow fmaxl more closely.
11534         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
11535         when either is a signaling NaN.
11536         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
11537         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
11538         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
11539         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
11540         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
11541         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
11542         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
11543         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
11544         (fmin_test_data): Likewise.
11546 2016-12-15  Andreas Schwab  <schwab@suse.de>
11548         * support/support_test_main.c (support_test_main): Don't shadow
11549         file-local variable test_pid.
11551 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
11553         [BZ #20947]
11554         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
11555         either is a signaling NaN.
11556         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
11558 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
11560         [BZ #20947]
11561         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
11562         when either is a signaling NaN.
11563         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
11565         * bits/long-double.h: New file.
11566         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
11567         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
11568         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
11569         * sysdeps/mips/bits/long-double.h: Likewise.
11570         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
11571         * math/Makefile (headers): Add bits/long-double.h.
11572         * misc/sys/cdefs.h: Include <bits/long-double.h>.
11573         * stdlib/strtold.c: Include <bits/long-double.h> instead of
11574         <bits/wordsize.h>.
11575         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
11576         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
11577         * math/math.h: Do not include <bits/mathdef.h>.
11578         * sysdeps/aarch64/bits/mathdef.h: Remove file.
11579         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
11580         inclusion.
11581         * sysdeps/ia64/bits/mathdef.h: Remove file.
11582         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
11583         * sysdeps/mips/bits/mathdef.h: Likewise.
11584         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11585         * sysdeps/s390/bits/mathdef.h: Likewise.
11586         * sysdeps/sparc/bits/mathdef.h: Likewise.
11587         * sysdeps/x86/bits/mathdef.h: Likewise.
11588         * sysdeps/s390/s390-32/bits/wordsize.h
11589         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
11590         conditional code.
11591         * sysdeps/s390/s390-64/bits/wordsize.h
11592         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11593         Likewise.
11594         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
11595         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11596         Likewise.
11597         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
11598         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11599         Likewise.
11600         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11601         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11602         Likewise.
11604         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
11605         <linux/falloc.h>.
11606         (FALLOC_FL_KEEP_SIZE): Remove.
11607         (FALLOC_FL_PUNCH_HOLE): Likewise.
11608         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
11609         (FALLOC_FL_ZERO_RANGE): Likewise.
11611 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11613         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
11615 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11617         * sysdeps/unix/sysv/linux/renameat.c: New file.
11618         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
11620         * sysdeps/unix/sysv/linux/rename.c: New file.
11621         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
11623 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
11625         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
11626         * string/strtok.c (strtok): Change to tailcall __strtok_r.
11627         * string/strtok_r.c (__strtok_r): Optimize for performance.
11628         * string/string-inlines.c (__old_strtok_r_1c): New function.
11629         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
11631 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11633         * math/Makefile (gen-libm-calls): Add w_log1pF.
11634         (libm-calls): Remove w_log1pF.
11635         * math/w_log1p.c: Remove.
11636         * math/w_log1pf.c: Likewise.
11637         * math/w_log1pl.c: Likewise.
11638         * math/w_log1p_template.c: New file with type-generic
11639         implementation based on math/w_log1p.c.
11640         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
11641         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
11643 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
11645         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
11647 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
11649         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11650         kernel version to 4.9.
11652 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
11654         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
11655         ($(inst_libdir)/libm.a): Fix rule to create the target only.
11657 2016-12-13  Andreas Schwab  <schwab@suse.de>
11659         * sysdeps/powerpc/dl-procinfo.c: Don't define
11660         _dl_powerpc_platforms.
11661         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
11662         constants instead of referencing _dl_powerpc_platforms.
11663         (_dl_platform_string): Remove.
11665 2016-12-13  Florian Weimer  <fweimer@redhat.com>
11667         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
11669 2016-12-13  Florian Weimer  <fweimer@redhat.com>
11671         * Rules (binaries-shared-tests, binaries-pie-tests)
11672         (binaries-static-tests): Link with $(link-extra-libs-tests).
11673         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
11674         Remove $(link-extra-libs-tests).
11676 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11678         * sysdeps/powerpc/powerpc64/multiarch/Makefile
11679         (sysdep_routines): Add strncmp_power9.
11680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11681         (strncmp): Add __strncmp_power9 to list of strncmp functions.
11682         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
11683         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11684         (strncmp): Add __strncmp_power9 to ifunc list.
11685         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
11687 2016-12-12  Florian Weimer  <fweimer@redhat.com>
11689         [BZ #17252]
11690         Add getentropy, getrandom.
11691         * stdlib/sys/random.h: New file.
11692         (headers): Add it.
11693         * stdlib/Makefile (routines): Add getentropy, getrandom.
11694         (tests): Add tst-getrandom.
11695         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
11696         * stdlib/getentropy.c: New file.
11697         * stdlib/getrandom.c: Likewise.
11698         * stdlib/tst-getrandom.c: Likewise.
11699         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
11700         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
11701         * manual/crypt.texi (Unpredictable Bytes): New section.
11702         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
11703         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
11704         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11705         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11706         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11707         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11708         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11709         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11710         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11711         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11712         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11713         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11714         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11715         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11716         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11717         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11719         Likewise.
11720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11721         Likewise.
11722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11724         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11725         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11726         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11727         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11728         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11731         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11732         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11733         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11735 2016-12-10  Florian Weimer  <fweimer@redhat.com>
11737         [BZ #20956]
11738         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
11739         as additional compiler barriers.
11740         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
11741         (fn2, do_test): Declare with external linkage.
11742         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
11743         (do_test): Declare with external linkage.
11744         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
11745         (do_test): Declare with external linkage.
11746         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
11747         (do_test): Declare with external linkage.
11749 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
11751         * support/support_test_main.c (support_test_main): Use correct
11752         timeout.
11754 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
11755             Florian Weimer  <fweimer@redhat.com>
11757         [BZ #16421]
11758         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
11759         and __u6_addr32 members.
11760         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
11761         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
11762         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
11763         Use __u6_addr32.
11764         * inet/tst-checks.c: Use <support/test-driver.c>
11765         * inet/tst-checks-posix.c: New file.
11766         * inet/Makefile (tests): Add it.
11767         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
11769 2016-12-09  Florian Weimer  <fweimer@redhat.com>
11771         New subdirectory support for build and test infrastructure.
11772         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
11773         setting install-lib.
11774         * Makeconfig (link-extra-libs-tests): Define.
11775         (+link-pie-tests, +link-static-tests, +link-tests): Use
11776         link-extra-libs-tests.
11777         (rpath-dirs, all-subdirs): Add support.
11778         (built-modules): Add libsupport.
11779         (libsupport): Define.
11780         * support: New directory.
11781         * support/Makefile: New file.
11782         * support/check.c: Likewise.
11783         * support/check.h: Likewise.
11784         * support/delayed_exit.c: Likewise.
11785         * support/ignore_stderr.c: Likewise.
11786         * support/oom_error.c: Likewise.
11787         * support/set_fortify_handler.c: Likewise.
11788         * support/support.h: Likewise.
11789         * support/temp_file-internal.h: Likewise.
11790         * support/temp_file.c: Likewise.
11791         * support/test-driver.c: Likewise.
11792         * support/test-driver.h: Likewise.
11793         * support/test_main.c: Likewise.
11794         * support/write_message.c: Likewise.
11795         * support/xasprintf.c: Likewise.
11796         * support/xcalloc.c: Likewise.
11797         * support/xmalloc.c: Likewise.
11798         * support/xpthread_barrier_destroy.c: Likewise.
11799         * support/xpthread_barrier_init.c: Likewise.
11800         * support/xpthread_barrier_wait.c: Likewise.
11801         * support/xpthread_cancel.c: Likewise.
11802         * support/xpthread_check_return.c: Likewise.
11803         * support/xpthread_cond_wait.c: Likewise.
11804         * support/xpthread_create.c: Likewise.
11805         * support/xpthread_detach.c: Likewise.
11806         * support/xpthread_join.c: Likewise.
11807         * support/xpthread_mutex_lock.c: Likewise.
11808         * support/xpthread_mutex_unlock.c: Likewise.
11809         * support/xpthread_sigmask.c: Likewise.
11810         * support/xpthread_spin_lock.c: Likewise.
11811         * support/xpthread_spin_unlock.c: Likewise.
11812         * support/xrealloc.c: Likewise.
11813         * support/xsignal.h: Likewise.
11814         * support/xthread.h: Likewise.
11815         * support_tempfile.h: Likewise.
11816         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
11817         (TEST_DATA_LIMIT): Remove unused macro.
11818         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
11819         <support/check.h>.
11820         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
11821         (ignore_stderr, set_fortify_handler): Remove.  Now in
11822         <support/support.h>.
11823         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
11824         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
11825         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
11826         (xpthread_join): Remove.  Now in <support/xthread.h>.
11827         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
11828         Introduce legacy wrappers.
11829         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
11830         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
11831         (write_message): Remove.
11832         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
11833         test-skeleton.c.
11834         * io/test-open-tmpfile: Likewise.
11835         * io/tst-posix_fallocate-common.c: Likewise.
11836         * libio/tst-fseek.c: Likewise.
11837         * malloc/tst-malloc-backtrace.c: Likewise.
11838         * malloc/tst-malloc-fork-deadlock.c: Likewise.
11839         * malloc/tst-malloc-thread-exit.c: Likewise.
11840         * nptl/tst-cancel7.c: Likewise.
11841         * nptl/tst-cleanup0.c: Likewise.
11842         * posix/tst-posix_fadvise-common.c: Likewise.
11843         * rt/tst-shm.c: Likewise.
11844         * time/bug-getdate1.c: Likewise.
11845         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11846         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
11847         * elf/Makefile (tst-piemod1.so): Link against libsupport.
11849 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
11851         * Rules [$(run-built-tests) != no] (tests-expected): Add
11852         $(tests-printers).
11853         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
11855 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11857         [BZ #20539]
11858         * math/Makefile (install-lib-ldscripts): Add libm.a.
11859         (install_subdir): Remove.
11860         (install-others): Add.
11861         ($(inst_libdir)/libm.a): Add rule for installation as
11862         linker script.
11863         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
11865 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
11867         * INSTALL: Regenerated.
11868         * Makeconfig: Add comments and whitespace to make the control flow
11869         clearer.
11870         (+link-printers-tests, +link-pie-printers-tests,
11871         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
11872         built-rtld-LDFLAGS, link-libc-rpath,
11873         link-libc-tests-after-rpath-link,
11874         link-libc-printers-tests): New.
11875         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
11876         link-libc-tests): Use the new variables as required.
11877         * Makerules ($(py-const)): New rule.
11878         generated: Add $(py-const).
11879         * README.pretty-printers: New file.
11880         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
11881         (others): Depend on $(py-const).
11882         (tests): Depend on $(tests-printers-programs) or
11883         $(tests-printers-out),
11884         as required.  Pass $(tests-printers) to merge-test-results.sh.
11885         * manual/install.texi: Add requirements for testing the pretty
11886         printers.
11887         * nptl/Makefile (gen-py-const-headers, pretty-printers,
11888         tests-printers, CFLAGS-test-mutexattr-printers.c
11889         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
11890         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
11891         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
11892         * nptl/nptl-printers.py: New file.
11893         * nptl/nptl_lock_constants.pysym: Likewise.
11894         * nptl/test-cond-printers.c: Likewise.
11895         * nptl/test-cond-printers.py: Likewise.
11896         * nptl/test-condattr-printers.c: Likewise.
11897         * nptl/test-condattr-printers.py: Likewise.
11898         * nptl/test-mutex-printers.c: Likewise.
11899         * nptl/test-mutex-printers.py: Likewise.
11900         * nptl/test-mutexattr-printers.c: Likewise.
11901         * nptl/test-mutexattr-printers.py: Likewise.
11902         * nptl/test-rwlock-printers.c: Likewise.
11903         * nptl/test-rwlock-printers.py: Likewise.
11904         * nptl/test-rwlockattr-printers.c: Likewise.
11905         * nptl/test-rwlockattr-printers.py: Likewise.
11906         * scripts/gen-py-const.awk: Likewise.
11907         * scripts/test_printers_common.py: Likewise.
11908         * scripts/test_printers_exceptions.py: Likewise.
11910 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11912         * scripts/build-many-glibcs.py (Context.__init__): Take strip
11913         argument.
11914         (Glibc.build_glibc): Strip installed shared libraries if
11915         requested.
11916         (get_parser): Add --strip option.
11917         (main): Update Context call.
11919 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11920             Dominik Vogt  <vogt@linux.vnet.ibm.com>
11922         [BZ #20847]
11923         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
11924         array bounds for else branch.
11925         (__execvpe): Style fixes.
11926         * posix/tst-vfork3.c (run_script): New function.
11927         (create_script): Likewise.
11928         (do_test): Use run_script internal function.
11929         (do_prepare): Use create_script internal function.
11931 2016-12-07  Andreas Schwab  <schwab@suse.de>
11933         * sysdeps/unix/sysv/linux/x86/elision-conf.h
11934         (__elision_available): Don't declare.
11935         * sysdeps/unix/sysv/linux/x86/elision-conf.c
11936         (__elision_available): Don't define.
11937         (elision_init): Don't set __elision_available.
11939 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11941         [BZ #20940]
11942         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
11943         return Inf for arguments Inf and sNaN.
11944         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
11945         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11946         Likewise.
11947         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11948         Likewise.
11949         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11950         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
11951         for arguments Inf and sNaN.  When returning a NaN, compute it by
11952         arithmetic on the arguments.
11953         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
11954         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
11955         arguments.
11957 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
11959         [BZ #20916]
11960         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
11961         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
11962         to compute result.
11963         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11964         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
11966 2016-12-05  Torvald Riegel  <triegel@redhat.com>
11968         * include/atomic.h (__atomic_check_size_ls): New.
11969         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
11970         atomic_store_release): Use it.
11971         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
11972         (elision_adapt, ELIDE_LOCK): Use atomics.
11973         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
11974         atomics and improve code comments.
11975         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
11976         (__lll_trylock_elision): Likewise.
11978 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11980         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
11981         programs.
11983 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
11985         [BZ #20916]
11986         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
11987         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
11988         arguments to compute result.
11989         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
11990         1 for arguments (sNaN, 0) or (1, sNaN).
11991         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11992         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11994         [BZ #20919]
11995         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
11996         NaN first argument when raised to power 0.
11997         * math/w_pow.c (__pow): Do not check for NaN or zero results from
11998         raising to power zero.
11999         * math/w_powf.c (__powf): Likewise.
12000         * math/w_powl.c (__powl): Likewise.
12001         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
12002         pow (0, 0) or pow (NaN, 0).
12004 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
12006         [BZ #20918]
12007         * configure.ac: Test for static NSS cryptographic libraries and set
12008         libc_cv_static_nss_crypt.
12009         * configure: Regenerate.
12010         * config.make.in (static-nss-crypt): Define.
12011         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
12012         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
12013         (CFLAGS-tst-linkall-static.c): Define.
12014         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
12015         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
12016         ($(objpfx)tst-linkall-static): Define.
12017         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
12018         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
12020 2016-12-02  Florian Weimer  <fweimer@redhat.com>
12022         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
12023         (one-hundred, tst-tls-many-dynamic-modules): Define.
12024         (modules-names): Add $(tst-tls-many-dynamic-modules).
12025         (tst-tls-manydynamic%mod.os): Build with special preprocessor
12026         macros.
12027         (tst-tls-manydynamic): Link against libdl, libpthread.
12028         (tst-tls-manydynamic.out): The test needs the test modules at run
12029         time.
12030         * elf/tst-tls-manydynamic.c: New file.
12031         * elf/tst-tls-manydynamic.h: Likewise.
12032         * elf/tst-tls-manydynamicmod.c: Likewise.
12034 2016-12-02  Florian Weimer  <fweimer@redhat.com>
12036         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
12037         (TLS_DTV_UNALLOCATED): Add.
12038         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
12039         offsets.
12041 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
12043         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12045 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
12047         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
12048         Add -fno-optimize-sibling-calls.
12050 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
12052         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
12053         New declaration.
12054         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
12055         macro.
12056         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
12057         New macro.
12058         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
12059         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
12060         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
12061         (llogbf): Likewise.
12062         (llogbl): Likewise.
12063         * math/Makefile (gen-libm-calls): Add w_llogbF.
12064         (tests): Add test-fp-llogb-constants.
12065         * math/w_llogb_template.c: New file.  Based on
12066         math/w_ilogb_template.c.
12067         * math/libm-test.inc (llogb_test_data): New array.
12068         (llogb_test): New function.
12069         (main): Call llogb_test.
12070         * math/test-fp-llogb-constants.c: New file.  Based on
12071         math/test-fp-ilogb-constants.c.
12072         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
12073         (do_test): Call check_return_llogb.
12074         * math/test-tgmath.c (NCALLS): Increase to 126.
12075         (F(compile_test)): Call llogb.
12076         (F(llogb)): New function.
12077         * manual/math.texi (Exponents and Logarithms): Document llogb,
12078         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
12079         * manual/libm-err-tab.pl (@all_functions): Add llogb.
12080         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
12081         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
12082         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
12083         (CFLAGS-nldbl-llogb.c): New variable.
12084         * sysdeps/nacl/libm.abilist: Update.
12085         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12086         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12087         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12088         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12089         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12090         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12091         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12092         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12093         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12094         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12095         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12096         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12098         Likewise.
12099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12100         Likewise.
12101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12102         Likewise.
12103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12104         Likewise.
12105         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12106         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12107         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12108         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12109         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12111         Likewise.
12112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12113         Likewise.
12114         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12115         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12116         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12118 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
12120         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
12121         _Float128 instead of long double.
12122         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
12124         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
12125         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
12126         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
12127         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
12128         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
12129         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
12130         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
12131         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
12132         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
12133         Likewise.
12135 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12137         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
12138         Remove redirection to __strrchr_ppc.
12140 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12142         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12143         (sysdep_routines): Add strcmp_power9.
12144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12145         (strcmp): Add __strcmp_power9 to list of strcmp functions.
12146         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
12147         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12148         (strcmp): Add __strcmp_power9 to ifunc list.
12149         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
12151 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
12153         * bits/fp-logb.h: New file.
12154         * sysdeps/ia64/bits/fp-logb.h: Likewise.
12155         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
12156         * sysdeps/x86/bits/fp-logb.h: Likewise.
12157         * math/Makefile (headers): Add bits/fp-logb.h.
12158         * math/math.h: Include <bits/fp-logb.h>.
12159         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
12160         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
12161         * bits/mathdef.h (FP_ILOGB0): Remove.
12162         (FP_ILOGBNAN): Likewise.
12163         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
12164         (FP_ILOGBNAN): Likewise.
12165         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
12166         (FP_ILOGBNAN): Likewise.
12167         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
12168         (FP_ILOGBNAN): Likewise.
12169         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
12170         (FP_ILOGBNAN): Likewise.
12171         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
12172         (FP_ILOGBNAN): Likewise.
12173         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
12174         (FP_ILOGBNAN): Likewise.
12175         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
12176         (FP_ILOGBNAN): Likewise.
12177         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
12178         (FP_ILOGBNAN): Likewise.
12179         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
12180         (FP_ILOGBNAN): Likewise.
12182         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
12183         time module.
12184         (Context.__init__): Initialize self.logsdir_old.
12185         (Context.run_builds): Handle bot action.
12186         (Context.bot_cycle): Copy logs directory before running builds.
12187         (Context.bot_run_self): Take argument for whether to check
12188         subprocess result.  Flush stdout before running subprocess.
12189         (Context.bot): New function.
12190         (get_parser): Allow bot action.
12192 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
12194         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
12195         Import email.mime.text, email.utils and smtplib modules.
12196         (Context.__init__): Initialize self.bot_config_json.
12197         (Context.run_builds): Handle bot-cycle action.
12198         (Context.load_bot_config_json): New function.
12199         (Context.part_build_old): Likewise.
12200         (Context.bot_cycle): Likewise.
12201         (Context.bot_build_mail): Likewise.
12202         (Context.bot_run_self): Likewise.
12203         (get_parser): Allow bot-cycle action.
12205 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12207         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
12208         Remove redirection to __stpcpy_ppc.
12210 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12212         Remove __libc_memalign from ld.so because it is unused.
12213         * elf/dl-minimal.c: Update comment on the malloc implementation.
12214         (malloc): Renamed from __libc_memalign, replacing the original
12215         malloc implementation.  Replace the align parameter with
12216         MALLOC_ALIGNMENT.
12217         * elf/Versions (ld): Update comment and remove __libc_memalign.
12218         * sysdeps/nacl/ld.abilist: Likewise.
12219         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12220         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12221         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12222         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12223         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12224         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12225         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12226         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12227         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12228         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12229         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12230         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12231         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12235         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12236         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12237         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12238         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12239         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
12241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
12242         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
12243         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12244         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12245         * sysdeps/generic/localplt.data (ld.so): Likewise.
12246         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
12247         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
12248         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
12249         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
12250         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
12251         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
12252         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
12253         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
12254         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
12255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
12256         (ld.so): Likewise.
12257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12258         (ld.so): Likewise.
12259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
12260         Likewise.
12261         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
12262         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
12263         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
12264         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
12265         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
12267 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12269         [BZ #16628]
12270         Implement _dl_catch_error, _dl_signal_error in libc.so.
12271         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
12272         (catch_hook): Define as thread-local or regular variable,
12273         depending on DL_ERROR_BOOTSTRAP.
12274         (CATCH_HOOK): Remove.
12275         (dl_signal_error, _dl_catch_error): Use
12276         catch_hook.  Add hidden definition for libc.
12277         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
12278         for DL_ERROR_BOOTSTRAP only.
12279         * elf/dl-error.c: New file.
12280         * elf/dl-error-minimal.c: Likewise.
12281         * elf/tst-latepthread.c: Likewise.
12282         * elf/tst-latepthreadmod.c: Likewise.
12283         * elf/Makefile (routines): Add dl-error.
12284         (dl-routines): Remove dl-error.
12285         (rtld-routines): Add dl-error-minimal.
12286         [build-shared] (tests): Add tst-latepthread.
12287         (module-names): Add tst-latepthreadmod.
12288         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
12289         symbol.
12290         (tst-latepthreadmod.so): Link against libpthread.
12291         (tst-latepthread): Link against libdbl.
12292         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
12293         _dl_catch_error.
12294         [ld] (GLIBC_PRIVATE): Likewise.
12295         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
12296         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
12297         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
12298         directly.
12299         * elf/dl-tsd.c: Remove file.
12300         * elf/rtld.c (_rtld_global_ro): Remove initializers for
12301         _dl_catch_error, _dl_signal_error.
12302         (_dl_initial_error_catch_tsd): Remove definition.
12303         (do_preload): Remove initialization of dl_error_catch_tsd.
12304         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
12305         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
12306         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12307         * dlfcn/dlopen.c (dlopen_doit): Likewise.
12308         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
12309         set dl_error_catch_tsd.
12310         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
12311         _dl_error_catch_tsd member.
12312         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
12313         members.
12314         (_dl_initial_error_catch_tsd): Remove declaration.
12315         (_dl_dprintf): Provide definition for use outside of ld.so.
12316         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
12317         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
12318         prototype for libc.
12319         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
12320         _dl_catch_error.
12321         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
12322         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
12323         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
12324         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
12325         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
12326         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
12327         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
12328         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
12329         Likewise.
12330         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
12331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
12332         (ld.so): Likewise.
12333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12334         (ld.so): Likewise.
12335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
12336         Likewise.
12337         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
12338         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
12339         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
12340         Likewise.
12341         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
12342         Likewise.
12343         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
12345 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12347         [BZ #4099]
12348         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
12349         _IO_BUFSIZ (8192).
12351 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
12353         * PROJECTS: Remove file.
12355 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12357         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
12359 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
12360             Steve Ellcey  <sellcey@caviumnetworks.com>
12362         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
12363         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
12364         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
12365         fxstatat.
12366         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
12367         lxstat.
12368         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
12369         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
12370         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
12371         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
12372         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
12373         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
12374         __xstat.
12376 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12378         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
12379         Define.
12380         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
12381         definition.
12383 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12385         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
12386         version and turn into strong alias.  Remove compat symbol.
12388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12389         (__longjmp): Remove.
12391 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
12393         * bits/fp-fast.h: New file.
12394         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
12395         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
12396         * math/Makefile (headers): Add bits/fp-fast.h.
12397         * math/math.h: Include <bits/fp-fast.h>.
12398         * bits/mathdef.h (FP_FAST_FMA): Remove.
12399         (FP_FAST_FMAF): Likewise.
12400         (FP_FAST_FMAL): Likewise.
12401         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
12402         (FP_FAST_FMAF): Likewise.
12403         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
12404         (FP_FAST_FMAF): Likewise.
12405         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
12406         (FP_FAST_FMAF): Likewise.
12407         (FP_FAST_FMAL): Likewise.
12408         * sysdeps/arm/bits/mathdef.h: Remove file.
12409         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
12410         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12411         * sysdeps/tile/bits/mathdef.h: Likewise.
12413 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
12415         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
12416         * math/w_ilogb.c: Remove.
12417         * math/w_ilogbf.c: Likewise.
12418         * math/w_ilogbl.c: Likewise.
12419         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
12420         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
12421         * math/Makefile (gen-libm-calls): Add w_ilogbF.
12422         (libm-calls): Remove w_ilogbF.
12423         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
12424         (LDOUBLE_ilogbl_libm_version): New macro.
12426         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
12428         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
12429         [!__STRICT_ANSI__ && !__cplusplus].
12431 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
12433         [BZ #20750]
12434         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
12435         of PIC.
12437 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
12438             Yury Norov  <ynorov@caviumnetworks.com>
12439             Steve Ellcey  <sellcey@caviumnetworks.com>
12441         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
12442         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
12443         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
12444         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
12445         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
12446         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
12447         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
12448         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
12449         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
12450         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
12451         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
12452         to get correct reg name for ILP32.
12453         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
12454         (RELA_SIZE): New Macro.
12455         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
12456         to support ILP32.
12457         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
12458         cast for ILP32 mode.
12459         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
12460         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
12461         * sysdeps/aarch64/memset.S (__memset): Ditto.
12462         * sysdeps/aarch64/strchr.S (strchr): Ditto.
12463         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
12464         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
12465         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
12466         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
12467         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
12468         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
12469         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
12470         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
12471         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
12472         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
12473         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
12474         change PTR_MANGLE call to use register numbers instead of names.
12475         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
12476         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
12477         ILP32 mode, change PTR_MANGLE calls to use register numbers.
12478         * sysdeps/aarch64/start.S (_start): Ditto.
12479         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
12480         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
12481         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
12482         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
12483         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
12484         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
12485         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
12486         Make defined values dependent on __ILP32__.
12487         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
12488         (sem_t): Change __align type.
12489         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
12490         PTR_SIZE): New Macros.
12491         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
12492         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
12493         Set when in ILP32 mode.
12494         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
12495         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
12496         Set elf flags for ILP32.
12497         (add_system_dir): Set ILP32 library directories.
12498         * sysdeps/unix/sysv/linux/aarch64/init-first.c
12499         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
12500         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
12501         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
12502         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
12503         New Macros.
12504         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
12506 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
12508         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
12509         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
12510         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
12512 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
12514         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
12515         <asm/cachectl.h>.
12517 2016-11-27  Zack Weinberg  <zackw@panix.com>
12519         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
12520         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
12522 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12524         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
12525         error_t to fix usage in C++ programs.
12527 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
12529         * scripts/build-many-glibcs.py: Import datetime module.
12530         (Context.__init__): Load JSON build state.  Initialize list of
12531         status logs.
12532         (Context.run_builds): Update saved build state.
12533         (Context.add_makefile_cmdlist): Update list of status logs.
12534         (Context.load_build_state_json): New function.
12535         (Context.store_build_state_json): Likewise.
12536         (Context.clear_last_build_state): Likewise.
12537         (Context.update_build_state): Likewise.
12538         (CommandList.status_logs): Likewise.
12540 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
12542         * scripts/build-many-glibcs.py (Context.__init__): Save text of
12543         script being executed.
12544         (Context.get_script_text): New function.
12545         (Context.exec_self): Likewise.
12546         (Context.checkout): Re-exec script if changed by checkout process.
12548 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
12550         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12551         (setpayloadsig): New declaration.
12552         * math/Versions (setpayloadsig): New libm symbol at version
12553         GLIBC_2.25.
12554         (setpayloadsigf): Likewise.
12555         (setpayloadsigl): Likewise.
12556         * math/Makefile (libm-calls): Add s_setpayloadsigF.
12557         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
12558         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
12559         (setpayloadsig_test_data): New array.
12560         (setpayloadsig_test): New function.
12561         (main): Call setpayloadsig_test.
12562         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
12563         setpayloadsigf and setpayloadsigl.
12564         * manual/libm-err-tab.pl: Update comment on interfaces without
12565         ulps tabulated.
12566         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
12567         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
12568         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
12569         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
12570         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
12571         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
12572         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12573         setpayloadsig.
12574         (CFLAGS-nldbl-setpayloadsig.c): New variable.
12575         * sysdeps/nacl/libm.abilist: Update.
12576         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12577         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12578         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12579         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12580         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12581         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12582         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12583         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12584         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12585         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12586         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12587         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12589         Likewise.
12590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12591         Likewise.
12592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12593         Likewise.
12594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12595         Likewise.
12596         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12597         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12598         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12599         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12600         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12602         Likewise.
12603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12604         Likewise.
12605         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12606         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12607         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12609         * scripts/build-many-glibcs.py: Import json module.
12610         (Context.__init__): Take replace_sources argument.  Load
12611         versions.json.
12612         (Context.load_versions_json): New function.
12613         (Context.store_json): Likewise.
12614         (Context.store_versions_json): Likewise.
12615         (Context.set_component_version): Likewise.
12616         (Context.checkout): Update versions.json.  Check for and handle
12617         changes of version.  Prefer previously explicitly specified
12618         version to default version.
12619         (Context.checkout_vcs): Return a revision identifier.
12620         (Context.git_checkout): Likewise.
12621         (Context.gcc_checkout): Likewise.
12622         (get_parser): Add --replace-sources option.
12623         (main): Pass replace_sources argument to Context call.
12625 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12627         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
12628         * nptl/allocatestack.c (allocate_stack): Likewise.
12629         (__reclaim_stacks): Likewise.
12630         (setxid_signal_thread): Obtain pid through syscall.
12631         * nptl/nptl-init.c (sigcancel_handler): Likewise.
12632         (sighandle_setxid): Likewise.
12633         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
12634         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
12635         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12636         Likewise.
12637         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
12638         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
12639         comment.
12640         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
12641         * nptl/descr.h (struct pthread): Change comment about pid value.
12642         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
12643         pid assert.
12644         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
12645         Do not set pid value.
12646         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
12647         pid cache check.
12648         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
12649         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
12650         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
12651         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
12652         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
12653         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12654         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
12655         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
12656         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
12657         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
12658         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
12659         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12660         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
12661         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12662         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
12663         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
12664         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12665         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
12666         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
12667         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
12668         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
12669         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12670         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
12671         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
12672         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
12673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12675         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12676         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12677         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12678         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
12679         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
12680         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
12681         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12682         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
12683         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12684         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
12685         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12686         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
12687         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
12688         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12689         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
12690         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
12691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12693         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12694         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12695         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12696         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12697         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12698         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
12699         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12700         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
12701         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
12702         struct access.
12703         (clone_test): Remove function.
12704         (do_test): Rewrite to take in consideration pid is not cached anymore.
12706 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
12708         * bits/flt-eval-method.h: New file.
12709         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
12710         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
12711         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
12712         * math/Makefile (headers): Add bits/flt-eval-method.h.
12713         * math/math.h: Include <bits/flt-eval-method.h>.
12714         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
12715         [__USE_ISOC99] (double_t): Likewise.
12716         * bits/mathdef.h (float_t): Remove.
12717         (double_t): Likewise.
12718         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
12719         (double_t): Likewise.
12720         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
12721         (double_t): Likewise.
12722         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
12723         (double_t): Likewise.
12724         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
12725         (double_t): Likewise.
12726         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
12727         (double_t): Likewise.
12728         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
12729         (double_t): Likewise.
12730         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
12731         (double_t): Likewise.
12732         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
12733         (double_t): Likewise.
12734         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
12735         (double_t): Likewise.
12736         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
12737         (double_t): Likewise.
12738         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
12739         (double_t): Likewise.
12740         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
12741         (double_t): Likewise.
12742         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
12743         (double_t): Likewise.
12745 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
12747         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
12748         instead of PIC.
12750 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12752         [BZ #20859]
12753         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
12754         (-0x7fffffff) instead of 0x80000001.
12755         * math/test-fp-ilogb-constants.c: New file.
12756         * math/Makefile (tests): Add test-fp-ilogb-constants.
12758 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
12760         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
12761         (_init): Use it in place of hardcoded R_MIPS_JALR.
12762         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
12763         (_init): Use it in place of hardcoded R_MIPS_JALR.
12764         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
12765         (_init): Use it in place of hardcoded R_MIPS_JALR.
12767 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12769         [BZ #20787]
12770         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
12771         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
12772         (double_t): Do not define to double if [__x86_64__] when
12773         __FLT_EVAL_METHOD__ is nonzero.
12774         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
12775         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
12776         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12777         test-flt-eval-method-387 and test-flt-eval-method-sse.
12778         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
12779         variable.
12780         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
12782 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
12784         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
12785         use of -fno-isolate-erroneous-paths options for tilepro.
12787 2016-11-23  Florian Weimer  <fweimer@redhat.com>
12789         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
12790         structure initialization is no longer needed.
12792 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12794         [BZ #20855]
12795         * bits/mathdef.h (float_t): Define to float.
12796         * math/test-flt-eval-method.c: New file.
12797         * math/Makefile (tests): Add test-flt-eval-method.
12798         (CFLAGS-test-flt-eval-method.c): New variable.
12800 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
12802         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
12803         and __fstatfs.  Make them aliases of __fstatfs64 if
12804         STATFS_IS_STATFS64 is set to non-zero.
12805         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
12806         and __statfs64.
12807         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
12808         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
12809         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
12810         for __statfs and statfs.
12811         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
12812         to 0.
12813         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
12814         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
12815         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
12816         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12817         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12818         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
12821         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
12822         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12823         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
12824         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
12826 2016-11-22  Andreas Schwab  <schwab@suse.de>
12828         * misc/mkstemp.c: Include <fcntl.h>.
12829         * misc/mkstemps.c: Likewise.
12830         * misc/mkostemp.c: Likewise.
12831         * misc/mkostemps.c: Likewise.
12833 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
12835         [BZ #20847]
12836         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12837         array bounds.
12838         (__execvpe): Likewise.
12840 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
12842         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
12843         -fno-isolate-erroneous-paths options for tilepro.
12845 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
12847         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
12848         to 0 when in 32 bit mode.
12849         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
12850         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12851         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12852         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12854         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12855         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
12856         XSTAT_IS_XSTAT64 test.
12857         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
12858         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
12859         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
12860         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
12861         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
12862         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
12863         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
12864         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
12865         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
12866         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
12867         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
12869 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
12871         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12872         (setpayload): New declaration.
12873         * math/Versions (setpayload): New libm symbol at version
12874         GLIBC_2.25.
12875         (setpayloadf): Likewise.
12876         (setpayloadl): Likewise.
12877         * math/Makefile (libm-calls): Add s_setpayloadF.
12878         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
12879         test_Ff_b1_data.
12880         (RUN_TEST_Ff_b1): New macro.
12881         (RUN_TEST_LOOP_Ff_b1): Likewise.
12882         (canonicalize_test_data): Update type.
12883         (setpayload_test_data): New array.
12884         (setpayload_test): New function.
12885         (main): Call setpayload_test.
12886         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
12887         setpayloadf and setpayloadl.
12888         * manual/libm-err-tab.pl: Update comment on interfaces without
12889         ulps tabulated.
12890         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
12891         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
12892         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
12893         Likewise.
12894         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
12895         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
12896         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
12897         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
12898         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
12899         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
12900         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
12901         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
12902         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
12903         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12904         setpayload.
12905         (CFLAGS-nldbl-setpayload.c): New variable.
12906         * sysdeps/nacl/libm.abilist: Update.
12907         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12908         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12909         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12910         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12911         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12912         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12913         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12914         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12915         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12916         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12917         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12918         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12920         Likewise.
12921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12922         Likewise.
12923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12924         Likewise.
12925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12926         Likewise.
12927         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12928         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12929         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12930         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12931         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12933         Likewise.
12934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12935         Likewise.
12936         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12937         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12938         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12940 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12942         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
12943         * include/unistd.h: Extend comment about __access_noerrno return
12944         semantics.
12945         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
12946         (access_common): Correct typo for EACCES.
12948 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
12950         * sysdeps/tile/math-tests.h: New file.
12952         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
12953         (__old_set_dataplane): Rename from set_dataplane and make a
12954         compatibility symbol.
12955         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
12956         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
12957         sys/dataplane.h.
12959 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
12961         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
12962         script quote words in command output to log suitably for input to
12963         the shell.
12965 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
12966             Maciej W. Rozycki  <macro@imgtec.com>
12968         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
12969         `.Lno_weak_fn' label.
12970         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
12971         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
12973 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12974             Yury Norov  <ynorov@caviumnetworks.com>
12976         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
12977         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
12978         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12979         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
12980         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12981         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
12982         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12983         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12984         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12985         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
12986         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12987         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
12988         (sysdep_routines): Remove oldgetrlimit64.
12989         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
12990         (sysdep_routines): Likewise.
12991         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
12992         (sysdep_routines): Likewise.
12993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12994         [$(subdir) = resource] (sysdep_routines): Likewise.
12995         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
12996         [$(subdir) = resource] (sysdep_routines): Likewise.
12997         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
12998         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
12999         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
13000         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
13001         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
13002         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13003         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
13004         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
13005         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
13006         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
13007         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
13008         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
13009         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
13010         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
13011         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
13012         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
13013         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
13014         setrlimit and getrlimit.
13015         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
13016         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13017         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
13018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
13020         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13021         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
13022         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13023         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13024         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
13025         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
13026         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
13027         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
13028         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
13029         (__old_getrlimit64): Add compatibility symbol.
13030         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
13032 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
13034         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
13035         newly built gmp, mpfr and mpc.
13037         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
13039 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
13041         * conform/Makefile (linknamespace-libs): Rename to
13042         linknamespace-libs-thr.
13043         (linknamespace-libs-posix): New variable.
13044         (linknamespace-libs-xsi): Likewise.
13045         (linknamespace-libs-XPG3): Include libcrypt.a.
13046         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
13047         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
13048         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
13049         (linknamespace-libs-XOPEN2K): Likewise.
13050         (linknamespace-libs-XOPEN2K8): Likewise.
13051         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
13053         [BZ #20829]
13054         * stdio-common/Versions (__snprintf): Add to version
13055         GLIBC_PRIVATE.
13056         * include/stdio.h (__snprintf): Use libc_hidden_proto.
13057         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
13058         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
13059         of snprintf.
13060         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13062 2016-11-16  Zack Weinberg  <zackw@panix.com>
13064         * string/string.h: Remove obsolete comment stating that
13065         strcoll_l and strxfrm_l have not yet been standardized.
13067 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13069         * hurd/hurd.h (__hurd_fail_noerrno): New function.
13070         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
13071         __access_noerrno.
13072         * io/access.c (__access_noerrno): New function.
13073         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
13074         (hurd_fail_seterrno): Likewise.
13075         (access_common): Likewise.
13076         (__access_noerrno): Likewise.
13077         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
13078         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
13079         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
13080         macro.
13082 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
13084         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
13085         Only declare fpregs if [__SH_FPU_ANY__].
13087 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
13089         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
13090         Make code unconditional.
13091         [!(__SH4__ || __SH4A__)]: Remove conditional code.
13093 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
13095         * manual/sysinfo.texi (S_APPEND): Delete.
13096         (S_IMMUTABLE): Likewise.
13098 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
13099             Magnus Granberg  <zorry@gentoo.org>
13100             Mike Frysinger  <vapier@gentoo.org>
13102         [BZ #20662]
13103         * configure.ac (libc_cv_predef_stack_protector): Also check for
13104         __stack_chk_fail_local symbols.
13105         * configure: Regenerated.
13107 2016-11-15  Florian Weimer  <fweimer@redhat.com>
13109         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
13110         (libc_hidden_def): Remove redefinition.
13111         (__sigsetjmp): Add hidden definition.
13112         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
13113         (libc_hidden_def): Remove redefinition.
13114         (__sigsetjmp): Add hidden definition.
13116 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
13118         * scripts/build-many-glibcs.py (os.path): Do not import.
13119         (Context): Inherit explicitly from object.  Remove blank line
13120         between class and docstring.
13121         (Config): Likewise.
13122         (Glibc): Likewise.
13123         (Command): Likewise.
13124         (CommandList): Likewise.
13125         (Context.write_files): Store chmod mode in a variable.
13127         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
13128         LIBC_SLIBDIR_RTLDDIR for tilegx32.
13129         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
13131 2016-11-14  Zack Weinberg  <zackw@panix.com>
13133         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
13134         creating or re-creating it.
13136         * string/bits/string2.h: Fix typo in comment.
13138 2016-11-14  Zack Weinberg  <zackw@panix.com>
13140         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
13141         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
13142         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
13143         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
13144         of redirected function names.
13146         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
13147         as well.  Document that MESSAGE must be a single string literal.
13149 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
13151         * scripts/build-many-glibcs.py: New file.
13153         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
13154         (do_test): Disable -Wmaybe-uninitialized around uses of
13155         except_mask.
13157         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
13159 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
13161         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
13162         (atomic_store_release): Provide tilepro-specific implementations.
13164 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
13166         * math/math.h (__MATH_TG): New macro.
13167         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
13168         [__USE_ISOC99] (signbit): Likewise.
13169         [__USE_ISOC99] (isfinite): Likewise.
13170         [__USE_ISOC99] (isnan): Likewise.
13171         [__USE_ISOC99] (isinf): Likewise.
13172         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
13173         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
13174         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
13175         __MATH_TG and __MATH_EVAL_FMT2.
13176         * sysdeps/generic/math_private.h (fabs_tg): Define using
13177         __MATH_TG.
13178         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
13179         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
13180         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
13181         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
13182         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
13183         macro.
13184         (__iscanonical): Likewise.
13185         (iscanonical): Define using __MATH_TG.
13187 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13189         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
13190         guards.
13192         * sysdeps/unix/sysv/linux/access.c: New file.
13193         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
13195 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
13197         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
13198         and __WORDSIZE32_PTRDIFF_LONG.
13200 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13202         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13204 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13206         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
13207         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
13208         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
13209         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
13210         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
13211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
13212         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
13213         * sysdeps/unix/sysv/linux/truncate.c: New file.
13214         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
13215         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
13216         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
13217         Remove.
13218         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
13219         Likewise.
13221         * posix/tst-truncate-common.c: New file.
13222         * posix/tst-truncate.c: Use tst-truncate-common.c.
13223         * posix/tst-truncate64.c: Likewise and add LFS tests.
13224         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
13225         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
13226         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
13227         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
13228         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
13229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
13230         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
13231         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
13232         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
13233         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
13234         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
13235         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
13236         Remove.
13237         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
13238         Likewise.
13240 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
13242         [BZ #20790]
13243         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
13244         to MAXLINESIZE.
13245         * sunrpc/bug20790.x: New file.
13246         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
13247         variable.
13248         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
13249         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
13251         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
13253         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
13255         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
13256         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
13257         calloc, realloc, free, memalign and __libc_memalign rather than
13258         making them optional.
13260         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
13261         for libc.so.
13263 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13265         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
13266         ptw-lseek64.
13267         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
13268         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
13269         Likewise.
13270         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
13271         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
13272         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
13273         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
13274         * sysdeps/unix/sysv/linux/lseek.c: New file.
13275         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
13276         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
13277         __libc_lseek64 from auto-generation.
13278         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13279         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
13281 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13283         * nptl/tst-basic1.c (tf, do_test): Use write_message.
13284         * nptl/tst-cleanup1.c (do_test): Likewise.
13285         * nptl/tst-cleanup3.c (do_test): Likewise.
13286         * nptl/tst-key1.c (do_test): Likewise.
13287         * nptl/tst-key2.c (tf, do_test): Likewise.
13288         * nptl/tst-key3.c (tf, do_test): Likewise.
13289         * nptl/tst-stdio1.c (do_test): Likewise.
13290         * nptl/tst-stdio2.c (do_test): Likewise.
13292         * nptl/tst-kill3.c (handler): Use write_message in place of write.
13293         * nptl/tst-kill6.c (handler): Likewise.
13294         * nptl/tst-tls2.c (CB): Likewise.
13295         * nptl/tst-tls3.c (CB): Likewise.
13297 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
13299         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
13301 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
13302             Steve Ellcey  <sellcey@caviumnetworks.com>
13304         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
13305           __ASSUME_ST_INO_64_BIT as 0
13306         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
13307         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
13308           over the code where __ASSUME_ST_INO_64_BIT is used.
13309         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
13310         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
13311         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13313 2016-11-07  Florian Weimer  <fweimer@redhat.com>
13315         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13316         Document ABI exposure of the __kind offset.
13317         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13318         Mention reason for the __kind offset exposure in the ABI.
13319         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13320         Likewise.
13321         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13322         Likewise.
13323         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13324         Likewise.
13325         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
13326         (struct __pthread_mutex_s): Likewise.
13327         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13328         Likewise.
13329         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13330         Likewise.
13331         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13332         Likewise.
13333         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13334         Likewise.
13335         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13336         Likewise.
13337         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13338         Likewise.
13339         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
13340         (struct __pthread_mutex_s): Likewise.
13341         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13342         (struct __pthread_mutex_s): Likewise.
13343         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
13344         Likewise.
13346 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
13348         * test-skeleton.c: Document do_test usage.
13350 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
13352         * iconv/gconv.h (__gconv_info): Define __data element using a
13353         zero-length array.
13355 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
13357         * math/test-tgmath2.c: Split up test function.
13359 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13361         * Rules (tests-expected): New variable, depending on
13362         $(run-built-tests).
13363         (tests): Pass $(tests-expected) to merge-test-results.sh, not
13364         $(tests).
13366         * Rules [$(run-built-tests) = no] (tests): Do not depend on
13367         $(tests-unsupported).
13369 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13371         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13372         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
13374 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13376         [BZ #20768]
13377         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
13378         __fegetenv instead of fegetenv.
13380         [BZ #14139]
13381         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
13382         (find_files): Obtain platform name from libm-test-ulps-name and
13383         store in %pplatforms.
13384         (canonicalize_platform): Remove.
13385         (print_platforms): Use $pplatforms directly.
13386         (by_platforms): Do not allow for platforms missing from
13387         %pplatforms.
13388         * sysdeps/aarch64/libm-test-ulps-name: New file.
13389         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
13390         * sysdeps/arm/libm-test-ulps-name: Likewise.
13391         * sysdeps/generic/libm-test-ulps-name: Likewise.
13392         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
13393         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
13394         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
13395         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
13396         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
13397         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
13398         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
13399         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
13400         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
13401         * sysdeps/nios2/libm-test-ulps-name: Likewise.
13402         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
13403         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
13404         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
13405         * sysdeps/sh/libm-test-ulps-name: Likewise.
13406         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
13407         * sysdeps/tile/libm-test-ulps-name: Likewise.
13408         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
13410         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
13412         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
13413         (test-xfail-check-execstack): New variable.
13415         * sysdeps/mips/localplt.data: New file.
13417 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
13418             Steve Ellcey  <sellcey@caviumnetworks.com>
13420         * bits/wordsize.h: Add documentation.
13421         * sysdeps/aarch64/bits/wordsize.h : New file
13422         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
13423         definitions.
13424         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
13425         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
13426         with #if instead of #ifdef.
13427         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
13428         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
13429         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
13430         Add or change defines.
13431         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
13432         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13433         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
13434         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
13435         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13436         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13437         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
13438         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
13439         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
13440         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13441         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
13442         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
13443         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
13444         * sysdeps/x86/bits/wordsize.h: Likewise.
13446 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
13447             Kevin Petit  <kevin.petit@arm.com>
13449         * sysdeps/aarch64/memchr.S (__memchr): New file.
13451 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13453         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
13455 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
13457         [BZ #19398]
13458         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
13459         $(linknamespace-symlists-tests).
13461 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
13463         * time/tst-strptime2.c: Ignore -Wformat-length warning.
13465 2016-11-02  Florian Weimer  <fweimer@redhat.com>
13466             Carlos O'Donell  <carlos@redhat.com>
13468         [Bug #20729]
13469         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
13470         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
13471         for -Os related change.
13473 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
13475         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
13477 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
13479         [BZ #19673]
13480         * manual/math.texi (Exponents and Logarithms): Correct description
13481         of clog10.
13483 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
13485         [Bz #20729]
13486         * locale/weight.h: Include libc-internal.h.
13487         * locale/weightwc.h: Likewise.
13488         * nptl/nptl_dbP.h: Likewise.
13490 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
13492         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
13493         when it is MACH_PORT_NULL.
13495 2016-10-31  Andreas Schwab  <schwab@suse.de>
13497         [BZ #20707]
13498         * posix/glob.c (glob): Initialize pglob before checking for
13499         GLOB_BRACE.  Don't call glob recursively if pattern contains no
13500         valid brace expression despite GLOB_BRACE.
13501         * posix/globtest.sh: Test it.
13503 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
13505         [BZ #20729]
13506         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
13507         Define.
13508         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
13509         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
13510         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
13511         for seq2.back_us and seq1.back_us only for -Os compiles.
13512         * locale/weightwc.h (findix): Likewise.
13513         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
13514         DB_GET_FIELD_ADDRESS only for -Os compiles.
13515         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
13516         for slen only for -Os compiles.
13517         * string/strcoll_l.c (get_next_seq): Ignore
13518         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
13519         for -Os compiles.
13521         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
13522         * include/crypt.h: New file.
13524 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13526         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
13527         from test-skeleton.c.
13528         (statclass): Replace calls to write with calls to write_message.
13530 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
13532         * math/math.h
13533         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
13534         New macro.
13535         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
13536         Likewise.
13537         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
13538         Likewise.
13539         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
13540         SNANL.
13541         * math/test-double.h (snan_value_MACRO): New macro.
13542         * math/test-float.h (snan_value_MACRO): Likewise.
13543         * math/test-ldouble.h (snan_value_MACRO): Likewise.
13544         * math/libm-test.inc (issignaling_test_data): Add tests of
13545         snan_value_MACRO.
13547 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13549         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
13550         behavior when eliding a lock not held by the current thread.
13551         * sysdeps/powerpc/nptl/elide.h: Likewise.
13553 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13555         [BZ #20728]
13556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
13557         branch to _exit() by a function call.
13559 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13561         * malloc/malloc.c: Update chunk layout comments.
13562         (chunk_main_arena): Update comment.
13564 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13566         * crypt/sha256.c, crypt/sha256-block.c,
13567         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
13568         sha256_process_block to __sha256_process_block.
13569         * crypt/sha512.c, crypt/sha512-block.c,
13570         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
13571         sha512_process_block to __sha512_process_block.
13573 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
13575         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
13577         * math/test-nan-overflow.c: Include stdlib.h for malloc.
13579 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
13581         [BZ #20019]
13582         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
13583         definition in unrelocated shared library.
13584         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13586 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13588         [BZ #20729]
13589         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
13590         * sysdeps/unix/sysv/linux/i386/Makefile
13591         (uses-6-syscall-arguments): Define.
13592         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
13593         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
13594         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
13595         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
13596         Likewise.
13597         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
13598         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
13599         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
13600         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
13601         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
13602         (CFLAGS-fallocate64.os): Likewise.
13603         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
13604         (CFLAGS-pthread_rwlock_timedrdlock.os)
13605         (CFLAGS-pthread_rwlock_timedwrlock.o)
13606         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
13607         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
13608         (CFLAGS-sem_timedwait.os): Likewise.
13610 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13612         * elf/tst-linkall-static.c: New file.
13613         * elf/Makefile (tests-static): Add tst-linkall-static.
13614         (tst-linkall-static): Link against static libraries.
13616 2016-10-27  Florian Weimer  <fweimer@redhat.com>
13618         * malloc/malloc.c (sysmalloc): Initialize previous size field of
13619         mmaped chunks.
13621 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13623         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
13624         members to mchunk_prev_size, mchunk_size.
13625         (chunk_main_arena): Reverse sense and rename from
13626         chunk_non_main_arena.
13627         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
13628         mchunk_size instead of size.
13629         (set_non_main_arena): Define.
13630         (chunksize): Use chunksize_nomask instead of direct member access.
13631         (chunksize_nomask): Define.
13632         (next_chunk): Use chunksize instead of direct member access.
13633         (prev_size, set_prev_size): Define.
13634         (prev_chunk): Use prev_size instead of direct member access.
13635         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
13636         (inuse_bit_at_offset, set_inuse_bit_at_offset)
13637         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
13638         (mchunk_prev_size, mchunk_size): Poison tokens.
13639         (unlink): Use chunksize_nomask, prev_size accessors.
13640         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
13641         (do_check_free_chunk): Use prev_size accessor.
13642         (sysmalloc): Use set_prev_size, set_head accessors.
13643         (munmap_chunk, mremap_chunk): Use prev_size accessor.
13644         (__libc_free): Use chunksize_nomask accessor.
13645         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
13646         chunk_main_arena accessors.
13647         (_int_free): Use chunksize_nomask, prev_size accessors.
13648         (malloc_consolidate): Use chunksize, prev_size accessors.
13649         (_int_realloc): Use chunksize_nomask accessor.
13650         (_int_memalign): Use set_prev_size accessor.
13651         (__malloc_info): Use chunksize_nomask accessor.
13652         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
13653         accessors.
13654         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
13655         (heap_trim): Use chunksize_nomask, prev_size accessors.
13657 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
13659         [BZ #19380]
13660         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
13661         for inexact results.
13662         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
13663         of inexact result where mpfr_subnormalize is the only inexact
13664         step.
13665         * stdlib/tst-strtod-round-data.h: Regenerated.
13666         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
13667         Define to 0.
13668         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
13670 2016-10-27  David S. Miller  <davem@davemloft.net>
13672         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
13674 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13676         * malloc/malloc.c (do_set_mallopt_check): New function.
13677         (do_set_mmap_threshold): Likewise.
13678         (do_set_mmaps_max): Likewise.
13679         (do_set_top_pad): Likewise.
13680         (do_set_perturb_byte): Likewise.
13681         (do_set_trim_threshold): Likewise.
13682         (do_set_arena_max): Likewise.
13683         (do_set_arena_test): Likewise.
13684         (__libc_mallopt): Use them.
13686 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
13688         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13689         (canonicalize): New declaration.
13690         * math/Versions (canonicalize): New libm symbol at version
13691         GLIBC_2.25.
13692         (canonicalizef): Likewise.
13693         (canonicalizel): Likewise.
13694         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
13695         * math/s_canonicalize_template.c: New file.
13696         * math/libm-test.inc: Update comment on functions tested and
13697         testing of NaN payloads.
13698         (TEST_NAN_PAYLOAD): New macro.
13699         (NO_TEST_INLINE): Update value.
13700         (XFAIL_TEST): Likewise.
13701         (ERRNO_UNCHANGED): Likewise.
13702         (ERRNO_EDOM): Likewise.
13703         (ERRNO_ERANGE): Likewise.
13704         (IGNORE_RESULT): Likewise.
13705         (NON_FINITE): Likewise.
13706         (TEST_SNAN): Likewise.
13707         (NO_TEST_MATHVEC): Likewise.
13708         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
13709         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
13710         (struct test_Ffp_b1_data): New type.
13711         (RUN_TEST_Ffp_b1): New macro.
13712         (RUN_TEST_LOOP_Ffp_b1): Likewise.
13713         (canonicalize_test_data): New array.
13714         (canonicalize_test): New function.
13715         (main): Call canonicalize_test.
13716         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
13717         canonicalizef and canonicalizel.
13718         * manual/libm-err-tab.pl: Update comment on interfaces without
13719         ulps tabulated.
13720         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
13721         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
13722         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13723         canonicalize.
13724         (CFLAGS-nldbl-canonicalize.c): New variable.
13725         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
13726         to ...
13727         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
13728         ... here.
13729         (do_test): Also test canonicalizel.
13730         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
13731         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
13732         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
13733         file.
13734         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
13735         Use libm_hidden_def.
13736         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
13737         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
13738         (do_test): Also test canonicalizel.
13739         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
13740         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
13741         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
13742         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
13743         libm_hidden_def.
13744         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
13745         macro.
13746         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
13747         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
13748         * sysdeps/nacl/libm.abilist: Update.
13749         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13750         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13751         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13752         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13753         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13754         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13755         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13756         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13757         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13758         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13759         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13760         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13762         Likewise.
13763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13764         Likewise.
13765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13766         Likewise.
13767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13768         Likewise.
13769         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13770         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13771         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13772         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13773         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13775         Likewise.
13776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13777         Likewise.
13778         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13779         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13780         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13782         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
13783         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13784         getpayload.
13785         (CFLAGS-nldbl-getpayload.c): New variable.
13787 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13789         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
13790         integer from the format string.
13792 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13794         [BZ #19473]
13795         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
13796         declarations.
13797         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
13798         weak aliases.
13799         * malloc/hooks.c (__malloc_get_state): Remove definition.
13800         (malloc_get_state): New stub implementation as
13801         compatibility symbol.
13802         (malloc_set_state): Rename from __malloc_set_state.  Turn into
13803         compat symbol.
13804         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
13805         malloc_set_state.
13806         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
13808 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13810         * iconvdata/iso646.c (enum variant): Drop illegal_var.
13811         (names): Turn into concatenation of strings.
13812         (gconv_init): Adapt iteration over names.
13814 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13816         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
13817         make const.
13818         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
13819         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
13820         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
13821         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
13822         character in sbconv.
13823         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
13824         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
13825         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
13827 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13829         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
13831         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
13832         (M_TRIM_THRESHOLD): Likewise.
13834         * manual/memory.texi (M_ARENA_TEST): Add documentation.
13835         (M_ARENA_MAX): Likewise.
13836         * malloc/malloc.c: Remove obsolete comment.
13838         * manual/memory.texi: Add environment variable alternatives to
13839         setting mallopt parameters.
13841 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
13843         * include/atomic.h
13844         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
13845         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
13847 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13849         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
13850         * stdlib/tst-strfrom.h: New file.
13851         * stdlib/tst-strfrom.c: New file.
13852         * stdlib/tst-strfrom-locale.c: New file.
13854         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
13855         * stdlib/bug-strtod2.c: Likewise.
13856         * stdlib/tst-strtod-round-skeleton.c: Likewise.
13857         * stdlib/tst-strtod6.c: Likewise.
13858         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
13860 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13862         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
13863         * manual/arith.texi: Document strfromd, strfromf, strfroml.
13864         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
13865         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
13866         * stdlib/stdlib.h (strfromd): New declaration.
13867         (strfromf): Likewise.
13868         (strfroml): Likewise.
13869         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
13870         strfrom.
13871         * stdlib/strfromd.c: New file.
13872         * stdlib/strfromf.c: Likewise.
13873         * stdlib/strfroml.c: Likewise.
13874         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
13875         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
13876         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
13877         * sysdeps/arm/nacl/libc.abilist: Update.
13878         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13879         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13880         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13881         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13882         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13883         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13884         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13885         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13886         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13887         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13888         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13889         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13890         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13891         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13896         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13897         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13898         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13899         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13900         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13903         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13904         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13905         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13907 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
13909         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
13910         instead of cmpli.
13911         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
13912         instead of cmpli.
13914 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
13916         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
13917         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
13918         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
13919         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13920         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13921         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13923 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13925         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
13926         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13927         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
13928         SYSCALL_LL64_PRW.
13929         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13930         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
13931         __ASSUME_PRW_DUMMY_ARG.
13932         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
13933         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13934         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13935         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13936         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
13937         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
13939 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
13941         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
13943 2016-10-22  Florian Weimer  <fweimer@redhat.com>
13945         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
13946         "C++", to override a potential extern "C" directive around the
13947         header file inclusion.
13949 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
13951         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
13953 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13955         * sysdeps/powerpc/fpu/fenv_private.h:
13956         (_FPU_MASK_ALL): Rename to...
13957         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
13958         XE FPSCR bits.
13960         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
13962         (_FPU_MASK_ROUNDING): Rename to...
13963         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
13964         NI bits.
13966         (_FPU_MASK_EXCEPT_ROUND): Rename to...
13967         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
13968         bits and rounding bits.
13970         (__libc_feholdbits_ppc): New inline function to mask, set,
13971         and pontentially clear FSPCR bits, and change MSR[FE] bits.
13972         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
13973         (libc_feholdexcept_setround_ppc): Likewise.
13975         (__libc_femergeenv_ppc): New function to dynamically mask both
13976         old and new FP environments and merge.
13977         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
13978         (libc_feresetround_ppc): Likewise.
13979         (libc_feupdateenv_test_ppc): Likewise.
13980         (libc_feupdateenv_ppc): Likewise.
13982         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
13983         of ISA RN bits, and update macro names.
13984         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
13985         effectively the same as the previously mentioned function.
13987         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
13988         usage with fe_resetround_ppc.
13990         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
13991         to be used.
13992         (libc_feholdexcept_setround_ctxf): Likewise.
13993         (libc_feholdexcept_setround_ctxl): Likewise.
13995 2016-10-21  Florian Weimer  <fweimer@redhat.com>
13997         [BZ #20715]
13998         * math/math.h [__cplusplus] (iszero): Define as function template.
13999         * math/Makefile [CXX] (tests): Add test-math-iszero.
14000         (CFLAGS-test-math-iszero.cc): Set.
14001         * math/test-math-iszero.cc: New file.
14003 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
14005         [BZ #20660]
14006         * sysdeps/arm/e_sqrt.c: New file.
14007         * sysdeps/arm/e_sqrtf.c: Likewise.
14009 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
14011         [BZ #20718]
14012         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
14013         not use floating-point comparisons to test sign.
14014         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
14015         Likewise.
14017         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14018         (getpayload): New declaration.
14019         * math/Versions (getpayload): New libm symbol at version
14020         GLIBC_2.25.
14021         (getpayloadf): Likewise.
14022         (getpayloadl): Likewise.
14023         * math/Makefile (libm-calls): Add s_getpayloadF.
14024         * math/libm-test.inc: Include <nan-high-order-bit.h>.
14025         (struct test_f_f_data): Add comment.
14026         (RUN_TEST_fp_f): New macro.
14027         (RUN_TEST_LOOP_fp_f): Likewise.
14028         (getpayload_test_data): New array.
14029         (getpayload_test): New function.
14030         (main): Call getpayload_test.
14031         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
14032         descriptor.
14033         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
14034         getpayloadf and getpayloadl.
14035         * manual/libm-err-tab.pl: Update comment on interfaces without
14036         ulps tabulated.
14037         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
14038         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
14039         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
14040         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
14041         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
14042         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
14043         * sysdeps/nacl/libm.abilist: Update.
14044         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14045         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14046         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14047         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14048         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14049         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14050         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14051         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14052         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14053         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14054         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14055         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14057         Likewise.
14058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14059         Likewise.
14060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14061         Likewise.
14062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14063         Likewise.
14064         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14065         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14066         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14067         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14068         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14070         Likewise.
14071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14072         Likewise.
14073         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14074         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14075         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14077 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14079         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
14080         tst-fallocate{64}.
14081         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
14082         on syscall return.
14084 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
14086         [BZ #20689]
14087         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
14088         usable.
14090 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
14092         * sysdeps/generic/nan-high-order-bit.h: New file.
14093         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
14094         * sysdeps/mips/nan-high-order-bit.h: Likewise.
14095         * sysdeps/hppa/math_private.h: Remove file.
14096         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
14097         not define here.
14098         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
14099         <nan-high-order-bit.h>.
14100         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14101         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
14102         <nan-high-order-bit.h>.
14103         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14104         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
14105         <nan-high-order-bit.h>.
14106         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14107         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
14108         <nan-high-order-bit.h>.
14109         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14110         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
14111         <nan-high-order-bit.h>.
14112         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14113         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
14114         <nan-high-order-bit.h>.
14115         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14116         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
14117         <nan-high-order-bit.h>.
14118         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14119         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
14120         <nan-high-order-bit.h>.
14121         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14122         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
14123         <nan-high-order-bit.h>.
14124         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14125         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
14126         <nan-high-order-bit.h>.
14127         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14128         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
14129         <nan-high-order-bit.h>.
14130         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14131         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
14132         <nan-high-order-bit.h>.
14133         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14134         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
14135         <nan-high-order-bit.h>.
14136         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14137         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
14138         <nan-high-order-bit.h>.
14139         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14140         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
14141         <nan-high-order-bit.h>.
14142         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14143         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
14144         <nan-high-order-bit.h>.
14145         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14146         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
14147         <nan-high-order-bit.h>.
14148         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14149         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
14150         <nan-high-order-bit.h>.
14151         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14153 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14155         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
14157 2016-09-22  John David Anglin  <dave.anglin@bell.net>
14159         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
14160         abort-instr.h.
14161         (EFAULT): Remove conditional define.
14162         (ENOSYS): Likewise.
14163         (atomic_compare_and_exchange_val_acq): Use instruction nullification
14164         instead of conditional branch instructions.
14166 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
14168         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14169         (totalordermag): New declaration.
14170         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
14171         New macro.
14172         * math/Versions (totalordermag): New libm symbol at version
14173         GLIBC_2.25.
14174         (totalordermagf): Likewise.
14175         (totalordermagl): Likewise.
14176         * math/Makefile (libm-calls): Add s_totalordermagF.
14177         * math/libm-test.inc (totalordermag_test_data): New array.
14178         (totalordermag_test): New function.
14179         (main): Call totalordermag_test.
14180         * math/test-tgmath.c (NCALLS): Increase to 125.
14181         (F(compile_test)): Call totalordermag.
14182         (F(totalordermag)): New function.
14183         * manual/arith.texi (FP Comparison Functions): Document
14184         totalordermag, totalordermagf and totalordermagl.
14185         * manual/libm-err-tab.pl: Update comment on interfaces without
14186         ulps tabulated.
14187         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
14188         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
14189         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
14190         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
14191         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
14192         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
14193         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
14194         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14195         totalordermag.
14196         (CFLAGS-nldbl-totalordermag.c): New variable.
14197         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
14198         (do_test): Also test totalordermagl.
14199         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
14200         Likewise.
14201         * sysdeps/nacl/libm.abilist: Update.
14202         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14203         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14204         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14205         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14206         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14207         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14208         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14209         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14210         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14211         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14212         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14213         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14215         Likewise.
14216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14217         Likewise.
14218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14219         Likewise.
14220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14221         Likewise.
14222         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14223         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14224         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14225         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14226         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14228         Likewise.
14229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14230         Likewise.
14231         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14232         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14233         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14235 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
14237         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
14238         boolean.
14240 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
14242         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
14243         raising FE_INVALID with feraisexcept in case where part of
14244         argument is infinite, subtract that part of argument from itself.
14245         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
14246         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
14247         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
14249 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
14251         * math/libm-test.inc (totalorder_test_data): Add more tests.
14253 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14255         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
14256         Undefine weak_alias and add a comment why mips64 require
14257         versioning.
14259 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
14261         [BZ #20647]
14262         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
14263         maximum CPUID level is less than 2.
14265 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
14267         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14268         (totalorder): New declaration.
14269         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
14270         New macro.
14271         * math/Versions (totalorder): New libm symbol at version
14272         GLIBC_2.25.
14273         (totalorderf): Likewise.
14274         (totalorderl): Likewise.
14275         * math/Makefile (libm-calls): Add s_totalorderF.
14276         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
14277         string.
14278         * math/libm-test.inc (PAYLOAD_DIG): New macro.
14279         (qnan_value_pl): Likewise.
14280         (snan_value_pl): Likewise.
14281         (qnan_value): Define using qnan_value_pl.
14282         (snan_value): Define using snan_value_pl.
14283         (struct test_ff_i_data): Add comment about which tests use this
14284         structure.
14285         (RUN_TEST_ff_b): New macro.
14286         (RUN_TEST_LOOP_ff_b): Likewise.
14287         (totalorder_test_data): New array.
14288         (totalorder_test): New function.
14289         (main): Call totalorder_test.
14290         * math/test-tgmath.c (NCALLS): Increase to 122.
14291         (F(compile_test)): Call totalorder.
14292         (F(totalorder)): New function.
14293         * manual/arith.texi (FP Comparison Functions): Document
14294         totalorder, totalorderf and totalorderl.
14295         * manual/libm-err-tab.pl: Update comment on interfaces without
14296         ulps tabulated.
14297         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
14298         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
14299         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
14300         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
14301         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
14302         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
14303         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
14304         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14305         totalorder.
14306         (CFLAGS-nldbl-totalorder.c): New variable.
14307         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
14308         file.
14309         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
14310         Add test-totalorderl-ldbl-128ibm.
14311         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
14312         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
14313         test-totalorderl-ldbl-96.
14314         * sysdeps/nacl/libm.abilist: Update.
14315         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14316         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14317         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14318         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14319         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14320         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14321         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14322         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14323         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14324         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14325         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14326         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14328         Likewise.
14329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14330         Likewise.
14331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14332         Likewise.
14333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14334         Likewise.
14335         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14336         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14337         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14338         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14339         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14341         Likewise.
14342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14343         Likewise.
14344         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14345         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14346         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14348 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14350         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
14351         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
14352         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
14353         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
14354         remove ENOSYS implementation.
14355         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
14356         Consolidate all Linux implementations.
14358 2016-10-11  Florian Weimer  <fweimer@redhat.com>
14360         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
14361         * resolv/herror.c (herror): Cast away const-ness.
14362         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
14363         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
14365 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
14367         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
14368         instead of M_NAN + M_NAN.
14369         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
14371 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14373         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
14374         unused variable 'p'.
14376 2016-10-09  Alan Modra  <amodra@gmail.com>
14377             Andreas Schwab  <schwab@linux-m68k.org>
14379         [BZ #20554]
14380         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
14381         [PIC && !SHARED]: Set up PIC register for PLT call.
14383 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
14385         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
14386         conditional on value of [__FLT_EVAL_METHOD__].
14387         * math/test-iseqsig-excess-precision.c: New file.
14388         * math/Makefile (tests): Add test-iseqsig-excess-precision.
14390 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14392         * math/s_iseqsig_template.c: Include math-private.h.
14394         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
14395         * posix/tst-posix_fadvise.c: New file.
14396         * posix/tst-posix_fadvise64.c: Likewise.
14397         * posix/tst-posix_fadvise-common.c: Likewise.
14398         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14399         (__ASSUME_FADVISE64_64_6ARG): Define.
14400         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14401         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
14402         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14403         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
14404         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
14405         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
14406         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
14407         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
14408         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
14409         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
14410         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
14411         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
14412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
14413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
14414         Likewise.
14415         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
14416         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
14417         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
14418         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14419         Alias to __posix_fadvise64_l32.
14420         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
14421         Add compat definition to posix_fadvise64.
14422         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14423         Add versioned definition to posix_fadvise64.
14424         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
14425         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
14426         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
14427         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
14428         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
14430         * io/Makefile (tests): Add tst-posix_fallocate and
14431         tst-posix_fallocate64.
14432         * io/tst-posix_fallocate-common.c: New file.
14433         * io/tst-posix_fallocate.c: Likewise.
14434         * io/tst-posix_fallocate64.c: Likewise.
14435         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
14436         file.
14437         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
14438         Likewise.
14439         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
14440         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
14441         Likewise.
14442         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
14443         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
14444         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
14445         SYSCALL_LL to pass both offset and len arguments.
14446         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
14447         Likewise.
14448         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
14449         __libc_pwrite64 alias used by posix_fallocate64.
14451         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14452         tst-fallocate64.
14453         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14454         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14455         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14456         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14457         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14458         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14459         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14460         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14461         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14462         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14463         macro on offset argument.
14464         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14465         SYSCALL_LL64 on offset argument.
14467         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14468         tst-fallocate64.
14469         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14470         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14471         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14472         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14473         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14474         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14475         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14476         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14477         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14478         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14479         macro on offset argument.
14480         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14481         SYSCALL_LL64 on offset argument.
14482         * test-skeleton.c (FAIL_RET): Add macro.
14483         (FAIL_EXIT): Likewise.
14484         (FAIL_EXIT1): Likewise.
14485         (_FAIL): Likewise.
14487 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14489         [BZ #20629]
14490         resolv: Remove RES_USEBSTRING and its implementation.
14491         * resolv/resolv.h (RES_USEBSTRING): Remove.
14492         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
14493         (digitvalue, encode_bitstring, decode_bitstring): Remove.
14494         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
14495         (labellen): Remove extended label types support.
14496         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
14497         * resolv/res_init.c (res_setoptions): Likewise.
14498         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14500 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14502         resolv: Remove RES_NOIP6DOTINT and its implementation.
14503         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
14504         (RES_NOIP6DOTINT): Remove.
14505         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
14506         handling.
14507         * resolv/res_debug.c (p_option): Likewise.
14508         * resolv/res_init.c (res_setoptions): Likewise.
14509         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14511 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14513         resolv: Deprecate unimplemented flags.
14514         * misc/sys/cdefs.h (__glibc_macro_warning1)
14515         (__glibc_macro_warning): Define.
14516         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
14517         (RES_KEEPTSIG): Mark as deprecated.
14518         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
14519         RES_NOCHECKNAME, RES_KEEPTSIG.
14520         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
14522 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14524         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
14525         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
14526         Use strong_alias to create symbols for glibc verison 2.19.
14528 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14530         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
14532 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14534         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
14536 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14538         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
14540 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14542         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14543         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
14544         in header for using it as type for ifunc function because __GI_* symbols
14545         for ppc32 do not target the ifunc symbols.
14546         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14548 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14550         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
14551         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
14552         libc_ifunc_hidden_def.
14553         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
14554         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
14555         Redirect ifunced function in header for using it as type of ifunc'ed
14556         function. Redefine libc_hidden_def to use fallback non ifunc'ed
14557         function for __GI_* symbol.
14558         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
14559         * include/libc-symbols.h
14560         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
14562 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14564         [BZ #20478]
14565         * sysdeps/s390/multiarch/ifunc-resolve.h
14566         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
14567         to create ifunc symbols.
14568         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
14569         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
14570         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
14571         for using it as type for ifunc function.
14572         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14573         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14574         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14575         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14576         * sysdeps/s390/multiarch/strcat.c: Likewise.
14577         * sysdeps/s390/multiarch/strchr.c: Likewise.
14578         * sysdeps/s390/multiarch/strcmp.c: Likewise.
14579         * sysdeps/s390/multiarch/strcpy.c: Likewise.
14580         * sysdeps/s390/multiarch/strcspn.c: Likewise.
14581         * sysdeps/s390/multiarch/strlen.c: Likewise.
14582         * sysdeps/s390/multiarch/strncmp.c: Likewise.
14583         * sysdeps/s390/multiarch/strncpy.c: Likewise.
14584         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14585         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14586         * sysdeps/s390/multiarch/strrchr.c: Likewise.
14587         * sysdeps/s390/multiarch/strspn.c: Likewise.
14588         * sysdeps/s390/multiarch/wcschr.c: Likewise.
14589         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14590         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14591         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14592         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14593         * sysdeps/s390/multiarch/wmemset.c: Likewise.
14594         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
14595         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
14596         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
14597         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
14598         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
14599         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
14601 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14603         * include/libc-symbols.h (__ifunc_resolver):
14604         New macro is used by __ifunc* macros.
14605         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
14606         depending on HAVE_GCC_IFUNC.
14607         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
14608         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
14609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
14610         Redirect ifunced function in header for using as type for ifunc function.
14611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
14612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
14613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
14614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
14615         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
14616         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
14617         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
14618         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
14619         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
14620         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
14621         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
14622         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
14623         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
14624         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
14625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
14626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
14627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
14628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
14629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
14630         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
14631         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
14632         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
14633         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
14634         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
14635         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
14636         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
14637         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
14638         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
14639         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
14640         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
14641         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
14642         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
14643         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
14644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
14645         Add libc_hidden_def() and use libc_ifunc_hidden() macro
14646         instead of libc_ifunc() macro.
14647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
14648         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
14650 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14652         * config.h.in (HAVE_GCC_IFUNC): New undef.
14653         * configure.ac: Add check if gcc supports attribute ifunc feature.
14654         * configure: Regenerated.
14655         * manual/install.texi: Add recommendation for gcc with
14656         indirect-function support.
14657         * INSTALL: Regenerated.
14659 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
14661         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
14662         macro.
14663         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14664         (__iseqsig): New declaration.
14665         * math/s_iseqsig_template.c: New file.
14666         * math/Versions (__iseqsigf): New libm symbol at version
14667         GLIBC_2.25.
14668         (__iseqsig): Likewise.
14669         (__iseqsigl): Likewise.
14670         * math/libm-test.inc (iseqsig_test_data): New array.
14671         (iseqsig_test): New function.
14672         (main): Call iseqsig_test.
14673         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
14674         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
14675         * manual/libm-err-tab.pl: Update comment on interfaces without
14676         ulps tabulated.
14677         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
14678         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
14679         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
14680         * sysdeps/nacl/libm.abilist: Update.
14681         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14682         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14683         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14684         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14685         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14686         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14687         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14688         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14689         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14690         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14691         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14692         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14694         Likewise.
14695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14696         Likewise.
14697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14698         Likewise.
14699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14700         Likewise.
14701         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14702         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14703         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14704         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14705         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14707         Likewise.
14708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14709         Likewise.
14710         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14711         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14712         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14714 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14716         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
14717         do_sincos_2, sloww, sloww1): Update comments.
14719         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
14720         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
14722         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
14723         K boolean and rename it.
14724         (__sin): Adjust.
14725         (__cos): Adjust.
14727 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
14728             Siddhesh Poyarekar  <siddhesh@sourceware.org>
14730         * manual/nss.texi: Fix typos in the manual.
14732 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
14734         * manual/contrib.texi: Fix typos in the manual.
14736         * manual/maint.texi: Fix typos in the manual.
14738         * manual/install.texi: Fix typos in the manual.
14739         * INSTALL: Regenerated.
14741         * manual/lang.texi: Fix typos in the manual.
14743         * manual/probes.texi: Fix typos in the manual.
14745         * manual/threads.texi: Fix typos in the manual.
14747         * manual/debug.texi: Fix typos in the manual.
14749         * manual/crypt.texi: Fix typos in the manual.
14751         * manual/conf.texi: Fix typos in the manual.
14753         * manual/sysinfo.texi: Fix typos in the manual.
14755         * manual/users.texi: Fix typos in the manual.
14757         * manual/job.texi: Fix typos in the manual.
14759         * manual/process.texi: Fix typos in the manual.
14761         * manual/argp.texi: Fix typos in the manual.
14762         * manual/getopt.texi: Likewise.
14763         * manual/startup.texi: Likewise.
14765         * manual/signal.texi: Fix typos in the manual.
14767         * manual/setjmp.texi: Fix typos in the manual.
14769         * manual/resource.texi: Fix typos in the manual.
14771         * manual/time.texi: Fix typos in the manual.
14773         * manual/arith.texi: Fix typos in the manual.
14775         * manual/math.texi: Fix typos in the manual.
14777         * manual/syslog.texi: Fix typos in the manual.
14779         * manual/terminal.texi: Fix typos in the manual.
14781         * manual/socket.texi: Fix typos in the manual.
14783         * manual/filesys.texi: Fix typos in the manual.
14785         * manual/llio.texi: Fix typos in the manual.
14787         * manual/stdio.text: Fix typos in the manual.
14789 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14791         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
14792         instead of K1.
14794         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
14795         SHIFT_QUADRANT and make it bool.
14796         (do_sincos_2): Likewise.
14797         (sloww): Likewise.
14798         (sloww1): Likewise.
14799         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
14800         (__cos): Likewise.
14802 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14804         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14806 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
14808         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
14809         Define to __WORDSIZE, not conditional on [LONG_MAX ==
14810         0x7fffffffL].
14811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14813 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14815         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
14816         inline by __inline__.
14817         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
14818         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
14819         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
14820         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
14821         sigset_t from signal.h.
14822         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
14823         which is already required.
14825 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
14827         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14829 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
14831         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
14832         (struct tcp_repair_window): New type.
14834 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14836         * libio/tst-memstream3.c: Include string.h.
14838 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14840         [BZ #18241]
14841         [BZ #20181]
14842         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
14843         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
14844         write position is at the end the buffer.
14845         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
14846         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
14847         (_IO_str_seekoff): Set correct offset from negative displacement and
14848         set EINVAL for invalid ones.
14849         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
14850         buffer length.
14851         (_IO_wstr_switch_to_get_mode): New function.
14852         (_IO_wstr_seekoff): Set correct offset from negative displacement and
14853         set EINVAL for invalid ones.
14854         * libio/tst-memstream3.c: New file.
14855         * libio/tst-wmemstream3.c: Likewise.
14856         * manual/examples/memstrm.c: Remove warning when priting size_t.
14858 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14860         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
14861         macro to use __builtin_fma.
14862         * sysdeps/x86_64/fpu/dla.h: Remove file.
14864         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14865         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
14866         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
14868 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
14870         [BZ #20292]
14871         * elf/Makefile (routines): Add dl-addr-obj.
14872         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
14873         tst-_dl_addr_inside_object.
14874         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
14875         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14876         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
14877         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14878         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
14879         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
14880         * elf/dl-open.c: Likewise.
14881         * elf/dl-addr-obj.c: New file.
14882         * elf/tst-_dl_addr_inside_object.c: New file.
14884 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14886         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
14887         <bits/iscanonical.h>.
14888         * bits/iscanonical.h: New file.
14889         * math/s_iscanonicall.c: Likewise.
14890         * math/Versions (__iscanonicall): New libm symbol at version
14891         GLIBC_2.25.
14892         * math/libm-test.inc (iscanonical_test_data): New array.
14893         (iscanonical_test): New function.
14894         (main): Call iscanonical_test.
14895         * math/Makefile (headers): Add bits/iscanonical.h.
14896         (type-ldouble-routines): Add s_iscanonicall.
14897         * manual/arith.texi (Floating Point Classes): Document
14898         iscanonical.
14899         * manual/libm-err-tab.pl: Update comment on interfaces without
14900         ulps tabulated.
14901         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
14902         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
14903         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
14904         Likewise.
14905         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
14906         test-iscanonical-ldbl-128ibm.
14907         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
14908         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
14909         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
14910         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
14911         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
14912         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14913         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14915         Likewise.
14916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14917         Likewise.
14918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14919         Likewise.
14920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14921         Likewise.
14922         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14923         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14925 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14927         * string/bits/string3.h: Remove C++ style comments.
14929 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14931         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
14932         instead of ternary condition.
14933         (do_sincos_2): Likewise.
14934         (__sin): Likewise.
14935         (__cos): Likewise.
14936         (slow): Likewise.
14937         (sloww): Likewise.
14938         (sloww1): Likewise.
14939         (bsloww): Likewise.
14940         (bsloww1): Likewise.
14942         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
14943         instead of ternary condition.
14944         (do_sin_slow): Likewise.
14945         (do_sincos_1): Likewise.
14946         (do_sincos_2): Likewise.
14947         (__cos): Likewise.
14948         (sloww): Likewise.
14949         (sloww1): Likewise.
14950         (sloww2): Likewise.
14951         (bsloww): Likewise.
14952         (bsloww1): Likewise.
14953         (bsloww2): Likewise.
14955         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
14956         check from here...
14957         (slow2): ... and here...
14958         (__sin): ... to here.
14960 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
14962         * math/math.h
14963         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
14964         Cast argument to its own type.
14965         * math/test-iszero-excess-precision.c: New file.
14966         * math/Makefile (tests): Add test-iszero-excess-precision.
14967         (CFLAGS-test-iszero-excess-precision.c): New variable.
14969 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
14971         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
14972         field, add err field.
14973         (__spawni_child): Report error through err member instead of pipe.
14974         (__spawnix): Likewise.
14976 2016-09-28  Zack Weinberg  <zackw@panix.com>
14978         * scripts/check-installed-headers.sh: Generalize treatment of
14979         sys/elf.h to all target architectures.
14981         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
14982         deleted typedef ucontext_t.
14984 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14986         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
14987         (__INTERNAL_SYSCALL1): Likewise.
14988         (__INTERNAL_SYSCALL2): Likewise.
14989         (__INTERNAL_SYSCALL3): Likewise.
14990         (__INTERNAL_SYSCALL4): Likewise.
14991         (__INTERNAL_SYSCALL5): Likewise.
14992         (__INTERNAL_SYSCALL6): Likewise.
14993         (__INTERNAL_SYSCALL7): Likewise.
14994         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
14995         (__INTERNAL_SYSCALL_NARGS): Likewise.
14996         (__INTERNAL_SYSCALL_DISP): Likewise.
14997         (INTERNAL_SYSCALL_CALL): Likewise.
14998         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
14999         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
15000         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
15001         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
15002         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
15003         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
15004         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
15005         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
15006         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
15007         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
15008         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
15009         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
15010         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
15012 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
15014         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
15015         macro.
15016         * math/libm-test.inc (iszero_test_data): New array.
15017         (iszero_test): New function.
15018         (main): Call iszero_test.
15019         * manual/arith.texi (Floating Point Classes): Document iszero.
15020         * manual/libm-err-tab.pl: Update comment on interfaces without
15021         ulps tabulated.
15023 2016-09-23  Zack Weinberg  <zackw@panix.com>
15025         * scripts/check-installed-headers.sh: New script.
15026         * Rules: In each directory that defines header files to be installed,
15027         run check-installed-headers.sh on them as a special test.
15028         * Makefile: Likewise for the headers installed at top level.
15030         * include/aliases.h, include/alloca.h, include/argz.h
15031         * include/arpa/nameser.h, include/arpa/nameser_compat.h
15032         * include/elf.h, include/envz.h, include/err.h
15033         * include/execinfo.h, include/fpu_control.h, include/getopt.h
15034         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
15035         * include/link.h, include/malloc.h, include/mcheck.h
15036         * include/mntent.h, include/netinet/ether.h
15037         * include/nss.h, include/obstack.h, include/printf.h
15038         * include/pty.h, include/resolv.h, include/rpc/auth.h
15039         * include/rpc/auth_des.h, include/rpc/auth_unix.h
15040         * include/rpc/clnt.h, include/rpc/des_crypt.h
15041         * include/rpc/key_prot.h, include/rpc/netdb.h
15042         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
15043         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
15044         * include/rpc/rpc_msg.h, include/rpc/svc.h
15045         * include/rpc/svc_auth.h, include/rpc/xdr.h
15046         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
15047         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
15048         * include/rpcsvc/ypupd.h, include/shadow.h
15049         * include/stdio_ext.h, include/sys/epoll.h
15050         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
15051         * include/sys/prctl.h, include/sys/profil.h
15052         * include/sys/statfs.h, include/sys/sysctl.h
15053         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
15054         * sysdeps/arm/nacl/include/bits/setjmp.h
15055         * sysdeps/mips/include/sys/asm.h
15056         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
15057         * sysdeps/unix/sysv/linux/include/sys/timex.h
15058         * sysdeps/x86/fpu/include/bits/fenv.h:
15059         Add #ifndef _ISOMAC guard around internal declarations.
15060         Add multiple-inclusion guard if not already present.
15062 2016-09-23  Zack Weinberg  <zackw@panix.com>
15064         * sysdeps/generic/sys/ucontext.h
15065         * sysdeps/arm/sys/ucontext.h
15066         * sysdeps/i386/sys/ucontext.h
15067         * sysdeps/m68k/sys/ucontext.h
15068         * sysdeps/mips/sys/ucontext.h
15069         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
15070         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
15071         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
15072         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
15073         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
15074         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
15075         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
15076         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
15077         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
15078         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
15079         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
15080         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
15081         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
15082         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
15083         Include both bits/sigcontext.h and bits/sigstack.h.
15084         Fix grammar error in comment, if present.
15086         * bits/sigstack.h
15087         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
15088         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
15089         * sysdeps/unix/sysv/linux/bits/sigstack.h
15090         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
15091         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
15092         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
15093         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
15094         * bits/sigcontext.h
15095         * sysdeps/mach/hurd/i386/bits/sigcontext.h
15096         * sysdeps/unix/sysv/linux/bits/sigcontext.h
15097         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
15098         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
15099         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
15100         as well as signal.h, if this was not already allowed.  Request
15101         definition of size_t if necessary.  Minimize semantically-null
15102         differences across files.
15104 2016-09-23  Zack Weinberg  <zackw@panix.com>
15106         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
15107         Remove all logic conditional on __need macros.  Move all the
15108         conditionally defined types to their own headers...
15109         * time/bits/types/clock_t.h: Define clock_t here.
15110         * time/bits/types/clockid_t.h: Define clockid_t here.
15111         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
15112         * time/bits/types/struct_timespec.h: Define struct timespec here.
15113         * time/bits/types/struct_timeval.h: Define struct timeval here.
15114         * time/bits/types/struct_tm.h: Define struct tm here.
15115         * time/bits/types/time_t.h: Define time_t here.
15116         * time/bits/types/timer_t.h: Define timer_t here.
15117         * time/Makefile: Install the new headers.
15119         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
15120         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
15121         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
15122         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
15123         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
15124         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
15125         * sysdeps/unix/sysv/linux/bits/resource.h
15126         * sysdeps/unix/sysv/linux/bits/timex.h
15127         * sysdeps/unix/sysv/linux/mips/bits/resource.h
15128         * sysdeps/unix/sysv/linux/net/ppp_defs.h
15129         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
15130         * sysdeps/unix/sysv/linux/sys/acct.h
15131         * sysdeps/unix/sysv/linux/sys/timerfd.h
15132         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
15133         * time/sys/time.h, time/sys/timeb.h
15134         Use the new bits/types headers.
15136         * include/time.h: Remove __need logic.
15137         * include/bits/time.h
15138         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
15139         * include/bits/types/time_t.h, include/bits/types/timer_t.h
15140         * include/bits/types/struct_itimerspec.h
15141         * include/bits/types/struct_timespec.h
15142         * include/bits/types/struct_timeval.h
15143         * include/bits/types/struct_tm.h:
15144         New wrapper headers.
15146 2016-09-23  Zack Weinberg  <zackw@panix.com>
15148         * sysdeps/mach/hurd/net/if_ppp.h
15149         * sysdeps/unix/sysv/linux/net/if_ppp.h:
15150         Only define struct ifpppstatsreq and struct ifpppcstatsreq
15151         if __USE_MISC is defined, to ensure struct ifreq is declared.
15153         * inet/netinet/ether.h: Condition all function prototypes
15154         on __USE_MISC, to ensure struct ether_addr is declared.
15156         * socket/bits/types/struct_osockaddr.h: New header.
15157         * include/bits/types/struct_osockaddr.h: New wrapper.
15158         * socket/Makefile: Install the new header.
15159         * socket/sys/socket.h, inet/protocols/talkd.h:
15160         Refer to bits/types/struct_osockaddr.h for the definition of
15161         struct osockaddr.
15163 2016-09-23  Zack Weinberg  <zackw@panix.com>
15165         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
15166         * inet/protocols/routed.h, inet/protocols/talkd.h
15167         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
15168         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
15169         * sysdeps/generic/netinet/if_ether.h
15170         * sysdeps/generic/netinet/in_systm.h
15171         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
15172         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15173         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
15174         * sysdeps/mach/hurd/net/if_arp.h
15175         * sysdeps/mach/hurd/net/if_ppp.h
15176         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
15177         * sysdeps/unix/sysv/linux/bits/in.h
15178         * sysdeps/unix/sysv/linux/net/ethernet.h
15179         * sysdeps/unix/sysv/linux/net/if_arp.h
15180         * sysdeps/unix/sysv/linux/net/if_ppp.h
15181         * sysdeps/unix/sysv/linux/net/if_shaper.h
15182         * sysdeps/unix/sysv/linux/net/route.h
15183         * sysdeps/unix/sysv/linux/netinet/if_ether.h
15184         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15185         * sysdeps/unix/sysv/linux/netinet/if_tr.h
15186         * sysdeps/unix/sysv/linux/netipx/ipx.h
15187         * sysdeps/unix/sysv/linux/sys/acct.h
15188         * include/arpa/nameser.h, include/resolv.h:
15189         Change all uses of u_char to unsigned char,
15190         u_short and ushort to unsigned short, u_int and uint to unsigned int,
15191         u_long and ulong to unsigned long, u_int8_t to uint8_t,
15192         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
15193         and u_int64_t and u_quad_t to uint64_t.
15195         * mach/sys/reboot.h: Remove two casts of integer literals
15196         to the types they already have.
15198         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
15199         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
15200         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
15201         from referring to 'unsigned char' to 'uint8_t' for consistency with
15202         the macro definition below.
15204         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
15205         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
15206         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
15207         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
15208         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
15209         * sysdeps/unix/sysv/linux/sys/acct.h
15210         * include/arpa/nameser.h, include/resolv.h:
15211         Fix indentation disrupted by mechanical edits.
15213         * inet/protocols/talkd.h, resolv/arpa/nameser.h
15214         * sysdeps/generic/netinet/in_systm.h
15215         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15216         * sysdeps/gnu/netinet/udp.h
15217         * sysdeps/unix/sysv/linux/net/ethernet.h
15218         * sysdeps/unix/sysv/linux/net/if_arp.h
15219         * sysdeps/unix/sysv/linux/net/if_ppp.h
15220         * sysdeps/unix/sysv/linux/net/if_shaper.h
15221         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15222         * sysdeps/unix/sysv/linux/netinet/if_tr.h
15223         * sysdeps/unix/sysv/linux/netipx/ipx.h
15224         * sysdeps/unix/sysv/linux/sys/acct.h
15225         Include stdint.h for uintNN_t definitions.
15226         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
15228 2016-09-23  Zack Weinberg  <zackw@panix.com>
15230         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
15231         * sysdeps/unix/sysv/linux/netrose/rose.h:
15232         Include sys/socket.h and netax25/ax25.h.
15234         * inet/netinet/icmp6.h, inet/netinet/ip6.h
15235         * resolv/arpa/nameser_compat.h:
15236         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
15238         * sysdeps/unix/sysv/linux/sys/quota.h:
15239         Use __caddr_t instead of caddr_t.
15240         * sysdeps/unix/sysv/linux/sys/timerfd.h:
15241         Use __clockid_t instead of clockid_t.
15243         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
15245         * argp/argp.h: Check whether _LIBC is defined before expanding it.
15246         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
15247         expanding it.
15249         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
15250         Define __glibc_c99_flexarr_available to 1 when the compiler
15251         supports C99-compatible flexible array members, 0 otherwise.
15252         * sysdeps/unix/sysv/linux/bits/socket.h
15253         * sysdeps/mach/hurd/bits/socket.h
15254         * bits/socket.h: Use __glibc_c99_flexarr_available in
15255         definitions of struct cmsghdr and CMSG_DATA.
15257 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15259         * manual/nss.texi (NSS Modules Interface): Adjust function return
15260         type to enum nss_status.  Document errnop argument.  Clarify
15261         h_errnop semantics.  Fix cross-reference formatting.
15262         (NSS Module Function Internals): Mention that *errnop needs to be
15263         set on failure, but not to zero.
15265 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15267         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
15268         (get_random_name): New functions.
15269         (check_wrapper_flags_mode): Use linkat to give the new file a name
15270         determined by get_random_name.
15271         (do_test): Add calls to test open64 and openat64.
15273 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15275         * test-skeleton.c: Remove #include <stdarg.h>.
15277 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
15279         [BZ #19826]
15280         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
15281         initialization of static TLS entries.
15282         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
15283         * nptl/allocatestack.c (init_one_static_tls): Likewise.
15285 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15287         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
15288         _hurd_malloc_fork_prepare.
15289         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
15290         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
15291         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
15292         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
15293         (_hurd_fork_child_hook): Drop malloc_fork_child.
15294         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
15295         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
15296         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
15297         after locking locks (notably hurd_dtable_lock). Call
15298         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
15299         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
15300         __malloc_fork_unlock_child.
15301         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
15303 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
15305         * soft-fp/extendhftf2.c: New.
15306         * soft-fp/fixhfti.c: Likewise.
15307         * soft-fp/fixunshfti.c: Likewise.
15308         * soft-fp/floattihf.c: Likewise.
15309         * soft-fp/floatuntihf.c: Likewise.
15310         * soft-fp/half.h: Likewise.
15311         * soft-fp/trunctfhf2.c: Likewise.
15313 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
15315         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
15316         macro.
15317         * math/libm-test.inc (issubnormal_test_data): New array.
15318         (issubnormal_test): New function.
15319         * manual/arith.texi (Floating Point Classes): Document
15320         issubnormal.
15321         * manual/libm-err-tab.pl: Update comment on interfaces without
15322         ulps tabulated.
15324         * sysdeps/generic/stdint.h: Define
15325         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15326         <bits/libc-header-start.h> instead of including <features.h>.
15327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
15328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
15329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
15330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
15331         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
15332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
15333         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
15334         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
15335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
15336         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
15337         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
15338         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
15339         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
15340         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
15341         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
15342         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
15343         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
15344         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
15345         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
15346         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
15347         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
15348         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
15349         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
15350         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
15351         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
15352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
15353         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
15354         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
15355         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
15356         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
15357         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
15358         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
15359         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
15360         * manual/arith.texi (Integers): Document these macros for types
15361         specified by width properties.
15362         * manual/lang.texi (Width of Type): Document these macros for
15363         other standard typedefs.
15364         * stdlib/tst-width-stdint.c: New file.
15365         * stdlib/Makefile (tests): Add tst-width-stdint.
15367 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15369         [BZ #20016]
15370         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
15371         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
15372         Move ...
15373         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
15374         ... here, as compatibility symbols in a new file.
15375         * resolv/Makefile (libresolv-routines): Add compat-hooks.
15376         * resolv/res_init.c (__res_vinit): Adjust member names.
15377         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
15378         * resolv/resolv.h (res_sendhookact, res_send_qhook)
15379         (res_send_rhook): Remove.
15380         (struct __res_state): Rename qhook, rhook members.
15382 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15384         malloc: Use __libc_lock wrappers.
15385         * malloc/arena.c (list_lock, free_list_lock): Define using
15386         __libc_lock_define_initialized.
15387         (arena_lock): Adjust formatting.
15388         * malloc/malloc.c (struct malloc_state): Define mutex using
15389         __libc_lock_define.
15390         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
15391         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
15392         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
15393         (mutex_unlock, mutex_trylock): Remove.
15394         (__pthread_initialize): Remove unused macro.
15395         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
15396         (mutex_unlock, mutex_trylock): Remove.
15398 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15400         [BZ #20592]
15401         Remove RR type classification macros.
15402         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
15403         (ns_t_udp_p, ns_t_xfr_p): Remove.
15405 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15407         Remove misleading version information.
15408         * resolv/arpa/nameser.h (__NAMESER): Remove.
15409         * resolv/arpa/nameser_compat.h (__BIND): Remove.
15411 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15413         Remove the always-defined BIND_4_COMPAT macro.
15414         * resolv/arpa/nameser.h: Unconditionally include
15415         <arpa/nameser_compat.h>.
15416         (BIND_4_COMPAT): Remove.
15417         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
15419 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15421         [BZ #20591]
15422         Remove obsolete DNSSEC support.
15423         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
15424         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
15425         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
15426         (ns_verify_tcp, ns_verify_tcp_init): Remove.
15427         (ns_cert_types): Add comment.
15428         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
15429         separately.
15430         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
15431         (dst_s_dns_key_id): Remove.
15432         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
15433         variables.
15435 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15437         [BZ #20524]
15438         * manual/string.texi (String/Array Comparison): Clarify the
15439         strverscmp behavior.
15441 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15443         * test-skeleton.c (xasprintf): Add function.
15444         * io/tst-open-tmpfile.c: New test.
15445         * io/Makefile (tests): Add it.
15447 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15449         Avoid running $(CXX) during build to obtain header file paths.
15450         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
15451         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
15452         * Makerules (cstdlib, cmath): Remove variables.  Use
15453         $(c++-cstdlib-header), $(c++-cmath-header) instead.
15454         * configure: Regenerate.
15456 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15458         * Makeconfig (all-object-suffixes): Include .op only if
15459         $(build-profile).
15461 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15463         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
15464         conditionals.  Do not define PATH_MAX.
15466 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15468         * posix/Makefile (tests): Add tst-spawn3.
15469         * posix/tst-spawn3.c: New file.
15470         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
15471         if it is already opened for open action.
15473         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
15474         all signals when executing the clone vfork child.
15475         (SIGALL_SET): Remove macro.
15477         * nptl/Makefile (tests): Add tst-exec5.
15478         * nptl/tst-exec5.c: New file.
15479         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
15480         asynchronous cancellation.
15482 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15484         * hurd/exc2signal.c: #include <hurd/signal.h>
15485         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
15486         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
15487         accordingly.
15488         * mach/mach_error.c (mach_error): Fix old-style function definition.
15489         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
15491 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15493         * math/Makefile (libm-calls): Remove s_nanF.
15494         (gen-libm-calls): Add s_nanF.
15496         * math/s_nan.c: Refactor into ...
15497         * math/s_nan_template.c: New file.
15499         * math/s_nanf.c: Removed.
15500         * math/s_nanl.c: Removed.
15501         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
15502         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
15504         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15505         (LDOUBLE_nanl_libm_version): New macro.
15507         * sysdeps/generic/math-type-macros-double.h:
15508         (M_STRTO_NAN): New macro.
15509         * sysdeps/generic/math-type-macros-float.h: Likewise.
15510         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
15512         * sysdeps/generic/math-type-macros.h: Document
15513         M_STRTO_NAN.
15515 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15517         * math/s_nanf.c: Remove __nanf undef.
15518         * math/s_nan.c: Remove __nan undef.
15519         * math/s_nanl.c: Remove __nanl undef.
15521         * sysdeps/generic/math_private.h (__nan): Remove macro
15522         override.
15523         (__nanf): Likewise.
15524         (__nanl): Likewise.
15526 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15528         * math/Makefile (gen-all-calls): New variable.
15529         (generated): Replace gen-libm-calls with gen-all-calls.
15530         (gen-libm-templates.stmp): Likewise.  Also, ensure
15531         the output directory exists or is created and add
15532         dependency on the Makefile.
15533         (calls): Move s_ldexpF into gen-calls.
15534         (gen-calls): New variable.
15536         * math/s_ldexpf.c: Removed.
15537         * math/s_ldexpl.c: Removed.
15538         * math/s_ldexp.c: Refactored into ...
15539         * math/s_ldexp_template.c: New file.
15541         * sysdeps/generic/math-type-macros-double.h: Remove
15542         redundant fall-through definition of declare_mgen_alias.
15543         (declare_mgen_alias_2): New macro.
15545         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
15546         New macro for function aliased to two exported symbols.
15548         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
15549         new template file.
15550         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
15552 2016-09-20  Florian Weimer  <fweimer@redhat.com>
15554         * Makeconfig (all-object-suffixes): Remove .og.
15555         * Makerules (elide-routines.og): Remove.
15556         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
15557         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
15558         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
15560 2016-09-20  Florian Weimer  <fweimer@redhat.com>
15562         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
15563         .os objects.
15565 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15567         [BZ #20615]
15568         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
15569         fpu directory by non-fpu.
15570         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
15571         on non-fpu directory from a fpu directory.
15573 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
15575         * include/limits.h: Define
15576         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15577         <bits/libc-header-start.h> instead of including <features.h>.
15578         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
15579         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
15580         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
15581         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
15582         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
15583         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
15584         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
15585         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
15586         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15587         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
15588         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
15589         * manual/lang.texi (Width of Type): Document these macros.
15590         * stdlib/tst-width.c: New file.
15591         * stdlib/Makefile (tests): Add tst-width.
15593 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15595         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
15596         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
15598 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15600         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
15601         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15602         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15604 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15606         [BZ #18243]
15607         * rt/Makefile (test): Add tst-shm-cancel.
15608         * rt/tst-shm-cancel.c: New file.
15609         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
15611         [BZ #18243]
15612         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
15613         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
15614         definition.
15615         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
15616         uncontended case.
15617         * nptl/sem_wait.c (__new_sem_wait): Likewise.
15618         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
15619         (tf): Fix check for uncontended case.
15620         (do_test): Likewise.
15621         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
15622         (tf): Fix check for uncontended case.
15623         (do_test): Likewise.
15624         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
15625         (tf): Fix check for uncontended case.
15626         (do_test): Likewise.
15627         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
15628         (tf): Fix check for uncontended case.
15629         (do_test): Likewise.
15631         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
15632         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
15634         [BZ #15765]
15635         * nptl/Makefile (tests): Add tst-sem16.
15636         * nptl/tst-sem16.c: New file.
15637         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
15639         * nptl/sem_open.c (sem_open): Init pad value to 0.
15640         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15641         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15643 2016-09-15  Florian Weimer  <fweimer@redhat.com>
15645         [BZ #20611]
15646         * inet/Makefile (routines): Add inet6_scopeid_pton.
15647         (tests): Add tst-inet6_scopeid_pton.
15648         * inet/inet6_scopeid_pton.c: New file.
15649         * inet/net-internal.h: Likewise.
15650         * inet/tst-inet6_scopeid_pton.c: New test.
15651         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
15652         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
15653         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15655 2016-09-14  Florian Weimer  <fweimer@redhat.com>
15657         Remove support for compiling wrappers with PTW.
15658         * sysdeps/nptl/Makeconfig: Drop ptw- support.
15659         * nptl/Makefile (pthread-compat-wrappers): Define.
15660         (libpthread-routines): Use pthread-compat-wrappers.
15661         * sysdeps/unix/sysv/linux/alpha/Makefile
15662         (libpthread-routines, libpthread-shared-only-routines): Remove
15663         ptw- prefix.
15664         * sysdeps/s390/nptl/Makefile
15665         (libpthread-routines, libpthread-shared-only-routines): Likewise.
15666         * sysdeps/ia64/nptl/Makefile
15667         (libpthread-routines, libpthread-shared-only-routines): Likewise.
15668         * sysdeps/nacl/Makefile (libpthread-routines): Use
15669         pthread-compat-wrappers to filter the routines list instead of the
15670         ptw- prefix.
15672 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15674         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
15675         with L() and remove explicit suffix, convert real literals
15676         which can be equivalentally substituted with integers, and
15677         transform -L(x) to L(-x).
15679         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15680         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15681         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15682         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15683         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15684         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15685         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15686         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15687         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15688         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15689         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15690         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15691         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15692         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15693         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15694         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15695         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15696         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15697         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15698         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15699         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15700         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15701         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15702         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15703         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15704         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15705         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15706         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15707         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15708         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15709         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15710         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15711         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15712         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15713         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15714         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15715         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15716         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15717         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15718         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15719         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15720         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15721         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15722         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15723         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15724         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15725         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15726         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
15727         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15728         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15730 2016-09-13  Florian Weimer  <fweimer@redhat.com>
15732         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
15734 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15736         * malloc/Makefile (tests): Remove individual static test names
15737         and just add all of tests-static.
15739         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
15741 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
15743         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
15744         file.
15746         * sysdeps/sparc/fpu/fegetmode.c: New file.
15747         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
15749         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
15750         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
15752         * sysdeps/s390/fpu/fegetmode.c: New file.
15753         * sysdeps/s390/fpu/fesetmode.c: Likewise.
15755         * sysdeps/powerpc/fpu/fegetmode.c: New file.
15756         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
15757         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
15758         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
15759         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
15760         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
15762         * sysdeps/mips/fpu/fegetmode.c: New file.
15763         * sysdeps/mips/fpu/fesetmode.c: Likewise.
15765         * sysdeps/m68k/fpu/fegetmode.c: New file.
15766         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
15768         * sysdeps/ia64/fpu/fegetmode.c: New file.
15769         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
15771         * sysdeps/hppa/fpu/fegetmode.c: New file.
15772         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
15774         * sysdeps/arm/fegetmode.c: New file.
15775         * sysdeps/arm/fesetmode.c: Likewise.
15777         * sysdeps/alpha/fpu/fegetmode.c: New file.
15778         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
15780         * sysdeps/aarch64/fpu/fegetmode.c: New file.
15781         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
15783         * math/fegetmode.c: New file.
15784         * math/fesetmode.c: Likewise.
15785         * sysdeps/i386/fpu/fegetmode.c: Likewise.
15786         * sysdeps/i386/fpu/fesetmode.c: Likewise.
15787         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
15788         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
15789         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
15790         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
15791         declaration.
15792         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
15793         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
15794         typedef.
15795         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15796         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15797         (femode_t): New typedef.
15798         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15799         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15800         (femode_t): New typedef.
15801         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15802         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15803         (femode_t): New typedef.
15804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15805         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15806         (femode_t): New typedef.
15807         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15808         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15809         (femode_t): New typedef.
15810         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15811         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15812         (femode_t): New typedef.
15813         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15814         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15815         (femode_t): New typedef.
15816         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15817         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15818         (femode_t): New typedef.
15819         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15820         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15821         (femode_t): New typedef.
15822         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15823         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15824         (femode_t): New typedef.
15825         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
15826         declaration.
15827         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15828         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15829         (femode_t): New typedef.
15830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15831         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15832         (femode_t): New typedef.
15833         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15834         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15835         (femode_t): New typedef.
15836         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15837         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15838         (femode_t): New typedef.
15839         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15840         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15841         (femode_t): New typedef.
15842         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15843         * manual/arith.texi (FE_DFL_MODE): Document macro.
15844         (fegetmode): Document function.
15845         (fesetmode): Likewise.
15846         * math/Versions (fegetmode): New libm symbol at version
15847         GLIBC_2.25.
15848         (fesetmode): Likewise.
15849         * math/Makefile (libm-support): Add fegetmode and fesetmode.
15850         (tests): Add test-femode and test-femode-traps.
15851         * math/test-femode-traps.c: New file.
15852         * math/test-femode.c: Likewise.
15853         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
15854         alias for __fe_dfl_env.
15855         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
15856         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
15857         (__fe_dfl_mode): Likewise.
15858         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
15859         version GLIBC_2.25.
15860         * sysdeps/nacl/libm.abilist: Update.
15861         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15862         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15863         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15864         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15865         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15866         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15867         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15868         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15869         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15870         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15871         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15872         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15874         Likewise.
15875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15876         Likewise.
15877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15878         Likewise.
15879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15880         Likewise.
15881         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15882         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15883         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15884         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15885         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15887         Likewise.
15888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15889         Likewise.
15890         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15891         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15892         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15894 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15896         [BZ #20495]
15897         [BZ #20508]
15898         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
15899         processors, set Use_dl_runtime_resolve_slow and set
15900         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
15901         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
15902         New.
15903         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
15904         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
15905         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
15906         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
15907         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
15908         if Use_dl_runtime_resolve_opt is set.  Use
15909         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
15910         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
15911         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
15912         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
15913         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
15914         New.
15915         (_dl_runtime_resolve_opt): Likewise.
15916         (_dl_runtime_profile): Define only if _dl_runtime_profile is
15917         defined.
15919 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15921         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
15922         __libc_memalign with "+ RELA R_390_GLOB_DAT".
15924 2016-09-06  Florian Weimer  <fweimer@redhat.com>
15926         Convert malloc to __libc_lock.  Automated part, using this Perl
15927         s/// command:
15928           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
15929             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
15930         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
15931         conversion.
15933 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
15935         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
15936         (linknamespace-symlists-tests): Likewise.
15937         (linknamespace-header-tests): Likewise.
15939 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
15941         [BZ #19810]
15942         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
15943         * elf/tst-noload.c: New test case.
15944         * elf/Makefile (tests): Add tst-noload.
15946 2016-09-02  Roland McGrath  <roland@hack.frob.com>
15948         * sysdeps/nacl/dup.c: Add libc_hidden_def.
15950         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
15951         not any more.
15953         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
15955 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15957         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
15958         (do_cos_slow): Likewise.
15959         (do_sin): Likewise.
15960         (do_sin_slow): Likewise.
15961         (slow): Likewise.
15962         (slow1): Likewise.
15963         (slow2): Likewise.
15964         (sloww): Likewise.
15965         (sloww1): Likewise.
15966         (sloww2): Likewise.
15967         (bsloww): Likewise.
15968         (bsloww1): Likewise.
15969         (bsloww2): Likewise.
15970         (cslow2): Likewise.
15972         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
15974         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
15975         arguments.  Consolidate input partitioning from callers here.
15976         (do_cos_slow): Likewise.
15977         (do_sin): Likewise.
15978         (do_sin_slow): Likewise.
15979         (do_sincos_1): Remove the no longer necessary input partitioning.
15980         (do_sincos_2): Likewise.
15981         (__sin): Likewise.
15982         (__cos): Likewise.
15983         (slow1): Likewise.
15984         (slow2): Likewise.
15985         (sloww1): Likewise.
15986         (sloww2): Likewise.
15987         (bsloww1): Likewise.
15988         (bsloww2): Likewise.
15989         (cslow2): Likewise.
15991 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15993         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
15994         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
15995         outside of allocated array.
15997 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15999         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
16000         instead of MB_CUR_MAX to avoid variable-length array.
16002 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16004         * math/Makefile (libm-calls): Remove k_rem_pio2F.
16005         (type-double-routines): Add k_rem_pio2.
16006         (type-float-routines): Add k_rem_pio2f.
16008         * sysdeps/generic/math_private.h:
16009         (__kernel_rem_pio2l): Removed.
16011         * math/k_rem_pio2l.c: Removed.
16012         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
16013         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
16014         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
16015         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
16017 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16019         * math/Makefile (gen-libm-calls): Add s_fmin
16020         (libm-calls): Remove above.
16022         * math/s_fmin.c: Refactor into ...
16023         * math/s_fmin_template.c: New file.
16025         * math/s_fminf.c: Removed.
16026         * math/s_fminl.c: Removed.
16027         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16028         (LDOUBLE_fmin_libm_version): New macro.
16030         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
16031         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
16033 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16035         * math/Makefile: (gen-libm-calls): Add s_fmax.
16036         (libm-calls): Remove above.
16038         * math/s_fmax.c: Refactor into ...
16039         * math/s_fmax_template.c: New file.
16040         * math/s_fmaxf.c: Removed.
16041         * math/s_fmaxl.c: Removed.
16043         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16044         (LDOUBLE_fmaxl_libm_version): New macro.
16046         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
16047         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
16049         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
16050         s_fmin.c to pick the aarch64 version of the file.
16051         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
16052         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
16054 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16056         * math/Makefile: (gen-libm-calls): Add s_nextdown.
16057         (libm-calls): Remove above.
16059         * math/s_nextdown.c: Refactor into ...
16060         * math/s_nextdown_template.c: New file.
16061         * math/s_nextdownf.c: Removed.
16062         * math/s_nextdownl.c: Removed.
16064         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
16066 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16068         * math/Makefile (gen-libm-calls): Add s_fdim.
16069         (libm-calls): Move to above.
16071         * math/s_fdim.c: Renamed and refactored into to ...
16072         * math/s_fdim_template.c: New file.
16073         * math/s_fdiml.c: Removed.
16074         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
16075         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
16077         * sysdeps/generic/math-type-macros-double.h:
16078         (declare_mgen_alias): Don't declare if already declared.
16079         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
16080         Likewise.
16082         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16083         (declare_mgen_alias): Don't declare if already declared.
16084         (M_LIBM_NEED_COMPAT): Likewise.
16085         (declare_mgen_libm_compat): Likewise.
16086         (LDOUBLE_fdiml_libm_version): New macro.
16088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
16089         Include math/s_fdim.c now that ldbl-opt version is not needed.
16090         (declare_mgen_alias): New macro to disable aliasing.
16092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
16093         (declare_mgen_alias): Likewise.
16094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
16095         (declare_mgen_alias): Likewise.
16096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
16097         (declare_mgen_alias): Likewise.
16098         (M_LIBM_NEED_COMPAT): Likewise.
16100 2016-09-01  Florian Weimer  <fweimer@redhat.com>
16102         [BZ #20525]
16103         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
16104         Include <linux/quota.h>.
16105         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
16106         and btodb.
16107         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
16108         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
16109         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
16110         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
16111         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
16112         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
16113         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
16114         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
16115         types.
16116         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
16117         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
16119 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16121         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
16122         (gammal_positive): Fix spacing.
16123         (__ieee754_gammal_r): Likewise.
16125 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16127         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
16128         (_Float128): Define as long double, always.
16129         (L): Apply long double type suffix, always.
16131         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
16132         _Float128, excepting comments.
16134         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16135         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16136         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16137         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16138         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16139         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16140         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16141         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16142         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16143         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
16144         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16145         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16146         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16147         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16148         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16149         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16150         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16151         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16152         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16153         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16154         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16155         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16156         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16157         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16158         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16159         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16160         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16161         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16162         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16163         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16164         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16165         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16166         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16167         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16168         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16169         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16170         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16171         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16172         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16173         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16174         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16175         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16176         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16177         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16178         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16179         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16180         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16181         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16182         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16183         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16184         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16185         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16186         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16187         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16188         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16189         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16190         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16191         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16192         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16193         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16194         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16195         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16196         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16197         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16198         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16199         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16200         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16201         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16203         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
16204         _Float128, and include math_private.h.
16205         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16207         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
16208         long double semantics.
16209         (_Float128): Likewise.
16210         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
16211         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16212         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
16213         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
16215 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16217         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
16218         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
16219         * sysdeps/s390/configure: Regenerated.
16220         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
16221         instruction for raising over-/underflow if z196 zarch is supported
16222         by default.
16223         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
16225 2016-08-30  Svante Signell  <svante.signell@gmail.com>
16227         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
16228         it point to a dumb buffer for RPC to fill it.
16230 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16232         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
16233         instead of if/else.
16234         (do_sin_slow): Likewise.
16235         (do_sincos_1): Use fabs instead of if/else.
16236         (do_sincos_2): Likewise.
16237         (__sin): Likewise.
16238         (__cos): Likewise.
16239         (slow2): Likewise.
16240         (sloww): Likewise.
16241         (sloww1): Likewise.  Drop argument M.
16242         (sloww2): Use fabs instead of if/else.
16243         (bsloww): Likewise.
16244         (bsloww1): Likewise.
16245         (bsloww2): Likewise.
16247         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
16248         fall through comment.
16249         (do_sincos_1): Likewise.
16251         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
16252         Consolidate switch cases 0 and 2.
16254 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16256         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
16257         (libm-calls): Remove the above.
16259         * math/s_cexp_template.c: Update using type-generic macros.
16260         * math/s_clog10_template.c: Likewise.
16261         * math/s_cpow_template.c: Likewise.
16262         * math/s_clog_template.c: Likewise.
16263         * math/s_cproj_template.c: Likewise.
16264         * math/s_csqrt_template.c: Likewise.
16266         * math/s_cexp.c: Removed.
16267         * math/s_cexpf.c: Removed.
16268         * math/s_cexpl.c: Removed.
16269         * math/s_clog10.c: Removed.
16270         * math/s_clog10f.c: Removed.
16271         * math/s_clog10l.c: Removed.
16272         * math/s_cpow.c: Removed.
16273         * math/s_cpowf.c: Removed.
16274         * math/s_cpowl.c: Removed.
16275         * math/s_clog.c: Removed.
16276         * math/s_clogf.c: Removed.
16277         * math/s_clogl.c: Removed.
16278         * math/s_cproj.c: Removed.
16279         * math/s_cprojf.c: Removed.
16280         * math/s_cprojl.c: Removed.
16281         * math/s_csqrt.c: Removed.
16282         * math/s_csqrtf.c: Removed.
16283         * math/s_csqrtl.c: Removed.
16285         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
16286         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
16287         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
16288         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
16289         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
16290         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
16292         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
16293         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
16294         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
16295         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
16296         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
16297         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
16298         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
16299         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
16300         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
16301         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
16302         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
16304         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
16305         version.
16307         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
16308         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
16309         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
16310         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
16312 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16314         * s_cexp_template.c: Copy of s_cexp.c.
16315         * s_clog_template.c: Copy of s_clog.c.
16316         * s_clog10_template.c: Copy of s_clog10.c.
16317         * s_cpow_template.c: Copy of s_cpow.c.
16318         * s_cproj_template.c: Copy of s_cproj.c.
16319         * s_csqrt_template.c: Copy of s_csqrt.c.
16321 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16323         [BZ #20517]
16324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
16325         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
16326         exported.
16328 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
16330         * math/fetestexceptflag.c: New file.
16331         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
16332         Stefan Liebler.
16333         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16334         (fetestexceptflag): New function declaration.
16335         * manual/arith.texi (fetestexceptflag): Document function.
16336         * math/Versions (fetestexceptflag): New libm symbol at version
16337         GLIBC_2.25.
16338         * math/Makefile (libm-support): Add fetestexceptflag.
16339         (tests): Add test-fetestexceptflag.
16340         * math/test-fetestexceptflag.c: New file.
16341         * sysdeps/nacl/libm.abilist: Update.
16342         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16343         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16344         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16345         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16346         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16347         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16348         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16349         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16350         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16351         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16352         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16353         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16355         Likewise.
16356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16357         Likewise.
16358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16359         Likewise.
16360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16361         Likewise.
16362         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16363         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16364         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16365         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16366         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16368         Likewise.
16369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16370         Likewise.
16371         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16372         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16373         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16375 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16377         [BZ #20432]
16378         Avoid strong references to malloc-internal symbols when linking
16379         statically, to support statically interposed mallocs.
16380         * include/libc-symbols.h (call_function_static_weak): New macro.
16381         * malloc/Makefile (tests): Add tst-interpose-nothread,
16382         tst-interpose-thread, tst-interpose-static-nothread,
16383         tst-interpose-static-thread.
16384         (tests-static): Add tst-interpose-static-nothread,
16385         tst-interpose-static-thread.
16386         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
16387         tst-interpose-aux-thread.o.
16388         (test-extras): Add tst-interpose-aux-nothread,
16389         tst-interpose-aux-thread.
16390         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
16391         tst-interpose-aux-nothread.o.
16392         (tst-interpose-thread, tst-interpose-static-thread): Link with
16393         tst-interpose-aux-thread.o and libthread.
16394         * malloc/tst-interpose-aux-nothread.c: New file.
16395         * malloc/tst-interpose-aux-thread.c: Likewise.
16396         * malloc/tst-interpose-aux.c: Likewise.
16397         * malloc/tst-interpose-aux.h: Likewise.
16398         * malloc/tst-interpose-nothread.c: Likewise.
16399         * malloc/tst-interpose-skeleton.c: Likewise.
16400         * malloc/tst-interpose-static-nothread.c: Likewise.
16401         * malloc/tst-interpose-static-thread.c: Likewise.
16402         * malloc/tst-interpose-thread.c: Likewise.
16403         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
16404         * sysdeps/mach/hurd/fork.c (__fork): Only call
16405         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16406         __malloc_fork_unlock_child if defined.
16407         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16409 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16411         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
16412         timespec C99 designated initialization.
16414 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16416         [BZ #19946]
16417         Avoid expected SIGALRM signals.
16418         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
16419         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
16420         (xpthread_create, xpthread_detach, xpthread_join)
16421         (delayed_exit_thread, delayed_exit): New functions.
16422         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
16423         (tf): Use xpthread_cond_wait.
16424         (do_test): Likewise.  Replace alarm with delayed_exit.
16425         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16426         (do_test): Call delayed_exit.  Report failure.
16427         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16428         (do_test): Call delayed_exit.
16429         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16430         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
16431         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16432         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
16433         error.
16434         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16435         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
16436         error.
16437         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
16438         (do_test): Call delayed_exit.
16439         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
16440         (do_test): Call delayed_exit.
16441         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
16442         (do_test): Call delayed_exit instead of alarm.  Use
16443         xpthread_mutex_lock.
16444         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
16445         (do_test): Call delayed_exit instead of alarm.  Use
16446         xpthread_mutex_lock.
16447         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
16448         (do_test): Call delayed_exit instead of alarm.
16449         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
16450         (do_test): Call delayed_exit instead of alarm.  Use
16451         xpthread_spin_lock.
16452         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
16453         (do_test): Call delayed_exit instead of alarm.  Use
16454         xpthread_join.
16456 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16458         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
16459         adjust CFA when allocating register save area on re-aligned
16460         stack.
16462 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16464         * string/tst-cmp.c: New test.
16465         * string/Makefile (tests): Add it.
16467 2016-08-25  Mark Wielaard  <mark@klomp.org>
16469         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
16470         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
16471         (check_tree_recurse): Use newly defined accessors.
16472         (check_tree): Likewise.
16473         (maybe_split_for_insert): Likewise.
16474         (__tfind): Likewise.
16475         (__tdelete): Likewise.
16476         (trecurse): Likewise.
16477         (tdestroy_recurse): Likewise.
16478         (__tsearch): Likewise. And add asserts for malloc alignment.
16479         (__twalk): Cast root to node in case CHECK_TREE is defined.
16481 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16483         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
16485 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16487         * math/Makefile (libm-gen-calls): Add
16488         catan, catanh, ctan, ctanh.
16489         (libm-calls): Remove the above.
16491         * math/s_catan_template.c: Update using type-generic macros.
16492         * math/s_catanh_template.c: Likewise.
16493         * math/s_ctan_template.c: Likewise.
16494         * math/s_ctanh_template.c: Likewise.
16496         * math/s_catanf.c: Removed.
16497         * math/s_catan.c: Removed.
16498         * math/s_catanl.c: Removed.
16499         * math/s_catanhf.c: Removed.
16500         * math/s_catanh.c: Removed.
16501         * math/s_catanhl.c: Removed.
16502         * math/s_ctanf.c: Removed.
16503         * math/s_ctan.c: Removed.
16504         * math/s_ctanl.c: Removed.
16505         * math/s_ctanhf.c: Removed.
16506         * math/s_ctanh.c: Removed.
16507         * math/s_ctanhl.c: Removed.
16509         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
16510         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
16511         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
16512         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
16513         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
16514         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
16516         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
16517         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
16518         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
16519         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
16521 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16523         * s_catan_template.c: Copy of s_catan.c.
16524         * s_catanh_template.c: Copy of s_catanh.c.
16525         * s_ctan_template.c: Copy of s_ctan.c.
16526         * s_ctanh_template.c: Copy of s_ctanh.c.
16528 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16530         * math/Makefile (gen-libm-calls): Move
16531         casin, casinh, csin, csinh here.
16532         (libm-calls): Remove the above.
16534         * math/s_casin_template.c: Update using type-generic macros.
16535         * math/s_casinh_template.c: Likewise.
16536         * math/s_csin_template.c: Likewise.
16537         * math/s_csinh_template.c: Likewise.
16538         * math/k_casinh_template.c: Likewise.
16540         * math/s_casinf.c: Removed.
16541         * math/s_casin.c: Removed.
16542         * math/s_casinl.c: Removed.
16543         * math/s_casinh.c: Removed.
16544         * math/s_casinhf.c: Removed.
16545         * math/s_casinhl.c: Removed.
16546         * math/s_csin.c: Removed.
16547         * math/s_csinf.c: Removed.
16548         * math/s_csinl.c: Removed.
16549         * math/s_csinh.c: Removed.
16550         * math/s_csinhf.c: Removed.
16551         * math/s_csinhl.c: Removed.
16552         * math/k_casinh.c: Removed.
16553         * math/k_casinhf.c: Removed.
16554         * math/k_casinhl.c: Removed.
16556         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
16557         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
16558         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
16559         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
16561         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
16562         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
16563         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
16564         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
16565         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
16566         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
16567         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
16568         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
16570         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
16571         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
16572         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
16573         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
16575         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
16576         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
16577         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
16578         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
16580 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16582         * s_casin_template.c: Copy of s_casin.c.
16583         * s_casinh_template.c: Copy of s_casinh.c.
16584         * s_csin_template.c: Copy of s_csin.c.
16585         * s_csinh_template.c: Copy of s_csinh.c.
16586         * k_casinh_template.c: Copy of k_casinh.c.
16588 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16590         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
16592 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16594         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
16595         (mul_split) Remove, rename as mul_splitl, remove
16596         redundant float.h include, and include via mul_splitl.h
16598         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16599         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16600         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16601         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16602         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16604         * math/mul_splitl.h: New file.
16606         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
16607         Move into mul_split.h, and remove redundant float.h include.
16609         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16610         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
16611         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16612         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
16614         * math/mul_split.h: New file.
16616 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16618         * math/Makefile (libm-gen-calls): Move
16619         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
16620         (libm-calls): Remove above.
16622         * math/s_cacos_template.c: Update using type-generic macros.
16623         * math/s_cacosh_template.c: Likewise.
16624         * math/s_ccos_template.c: Likewise.
16625         * math/s_ccosh_template.c: Likewise.
16627         * math/s_cacosf.c: Removed.
16628         * math/s_cacos.c: Removed.
16629         * math/s_cacosl.c: Removed.
16630         * math/s_cacoshf.c: Removed.
16631         * math/s_cacosh.c: Removed.
16632         * math/s_cacoshl.c: Removed.
16633         * math/s_ccosf.c: Removed.
16634         * math/s_ccos.c: Removed.
16635         * math/s_ccosl.c: Removed.
16636         * math/s_ccoshf.c: Removed.
16637         * math/s_ccosh.c: Removed.
16638         * math/s_ccoshl.c: Removed.
16640         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
16641         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
16642         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
16643         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
16644         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
16645         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
16647         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
16648         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
16649         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
16650         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
16652         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
16653         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
16654         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
16655         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
16657 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16659         * s_cacos_template.c: Copy of s_cacos.c.
16660         * s_cacosh_template.c: Copy of s_cacosh.c.
16661         * s_ccos_template.c: Copy of s_ccos.c.
16662         * s_ccosh_template.c: Copy of s_ccosh.c.
16664 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16666         * stdlib/tst-strtod-round-skeleton.c:
16667         Refactored from tst-strtod-round.c.
16669         (L_): New macro to apply literal modifier.
16670         (FNPFX): New macro to select str or wcs prefix.
16671         (CHAR): New macro to choose wchar_t or char.
16672         (STRM): New macro to choose printf for tested character type.
16674         (STRTO): New macro to choose appropriate string -> real function.
16675         (FNPFXS): Stringitized version of FNPFX.
16676         (STR): Support for above macro.
16677         (STRX): Likewise.
16679         (TEST): Update with above macros.
16680         (test): Likewise.
16681         (GEN_ONE_TEST): Likewise.
16682         (test_in_one_mode): Likewise.
16684         * stdlib/tst-strtod-round.c: New file.
16685         * wcsmbs/tst-wcstod-round.c: New file.
16687         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
16688         (tst-wcstod-round): Add libm depencency for fesetround.
16690 2016-08-19  Zack Weinberg  <zackw@panix.com>
16692         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
16694 2016-08-18  Torvald Riegel  <triegel@redhat.com>
16696         [BZ #20477]
16697         * resolv/res_hconf.c (do_init): Use atomic access.
16698         * resolv/res_hconf.h: Add comments.
16699         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
16700         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
16701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16703 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
16705         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16706         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
16707         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16708         Likewise.
16710 2016-08-18  Florian Weimer  <fweimer@redhat.com>
16712         [BZ #16907]
16713         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
16714         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
16715         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
16716         (__attribute__): Remove definition.
16718 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16720         * sysdeps/ieee754/ldbl-128/e_asinl.c:
16721         Remove unused sqrtl declaration.
16723 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16725         * math/Makefile: (gen-libm-templates.stmp): New rule.
16726         (libm-calls): Move carg conj cimag and cabs into ...
16727         (gen-libm-calls): New variable.
16728         (generated): Inform Make objects from gen-libm-calls
16729         may be generated.
16731         * sysdeps/generic/math-type-macros.h: New file.
16732         * sysdeps/generic/math-type-macros-float.h: Likewise.
16733         * sysdeps/generic/math-type-macros-double.h: Likewise.
16734         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16735         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
16736         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
16738         * math/cabs.c: Refactor into
16739         * math/cabs_template.c: new file.
16740         * math/cabsf.c: Removed.
16741         * math/cabsl.c: Removed.
16742         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
16743         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
16745         * math/carg.c: Refactor into
16746         * math/carg_template.c: new file.
16747         * math/cargf.c: Removed.
16748         * math/cargl.c: Removed.
16749         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
16750         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
16752         * math/conj.c: Refactor into
16753         * math/conj_template.c: new file.
16754         * math/conjf.c: Removed.
16755         * math/conjl.c: Removed.
16756         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
16757         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
16759         * math/cimag.c: Refactor into
16760         * math/cimag_template.c: new file.
16761         * math/cimagf.c: Removed.
16762         * math/cimagl.c: Removed.
16763         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16764         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16766         * math/cimag.c: Refactor into
16767         * math/cimag_template.c: new file.
16768         * math/cimagf.c: Removed.
16769         * math/cimagl.c: Removed.
16770         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16771         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16773 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16775         Reduce time to expected nptl/tst-once5 failure.
16776         * nptl/tst-once5.cc (TIMEOUT): Define.
16778 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16780         [BZ #20452]
16781         Avoid additional copies of objects in libc.a in static libraries.
16782         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
16783         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
16784         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
16785         rt-sysdep.
16786         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
16787         Add nptl-sysdep.
16788         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
16789         Add ptw-sysdep.
16790         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
16791         rt-sysdep.
16792         * sysdeps/unix/sysv/linux/alpha/Makefile
16793         (libpthread-shared-only-routines): Add ptw-sysdep,
16794         ptw-sigprocmask, ptw-rt_sigaction.
16795         * sysdeps/unix/sysv/linux/ia64/Makefile
16796         (librt-shared-only-routines): Add rt-sysdep.
16797         * sysdeps/unix/sysv/linux/i386/Makefile
16798         (libpthread-shared-only-routines): Add libc-do-syscall.
16799         * sysdeps/unix/sysv/linux/microblaze/Makefile
16800         (libpthread-shared-only-routines): Add sysdep.
16801         * sysdeps/unix/sysv/linux/powerpc/Makefile
16802         (librt-shared-only-routines): Add rt-sysdep.
16803         (libpthread-shared-only-routines): Add sysdep.
16804         * sysdeps/unix/sysv/linux/s390/Makefile
16805         (librt-shared-only-routines): Add rt-sysdep.
16806         * sysdeps/unix/sysv/linux/sparc/Makefile
16807         (librt-shared-only-routines): Add rt-sysdep.
16808         (libpthread-shared-only-routines): Add sysdep.
16809         * sysdeps/unix/sysv/linux/tile/Makefile
16810         (libpthread-shared-only-routines): Likewise.
16812 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
16814         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
16815         Mask implicit bit out of unpacked value.
16816         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
16817         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
16818         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
16820         * sysdeps/sparc/fpu/fesetexcept.c: New file.
16822         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
16824         * sysdeps/s390/fpu/fesetexcept.c: New file.
16826         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
16827         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
16828         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
16830         * sysdeps/mips/fpu/fesetexcept.c: New file.
16832         * sysdeps/m68k/fpu/fesetexcept.c: New file.
16834         * sysdeps/ia64/fpu/fesetexcept.c: New file.
16836         * sysdeps/hppa/fpu/fesetexcept.c: New file.
16838         * sysdeps/arm/fesetexcept.c: New file.
16840         * sysdeps/alpha/fpu/fesetexcept.c: New file.
16842         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
16844         * math/fesetexcept.c: New file.
16845         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
16846         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
16847         * math/fenv.h: Define
16848         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16849         <bits/libc-header-start.h> instead of including <features.h>.
16850         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
16851         declaration.
16852         * manual/arith.texi (fesetexcept): Document function.
16853         * math/Versions (fesetexcept): New libm symbol at version
16854         GLIBC_2.25.
16855         * math/Makefile (libm-support): Add fesetexcept.
16856         (tests): Add test-fesetexcept and test-fesetexcept-traps.
16857         * math/test-fesetexcept.c: New file.
16858         * math/test-fesetexcept-traps.c: Likewise.
16859         * sysdeps/nacl/libm.abilist: Update.
16860         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16861         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16862         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16863         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16864         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16865         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16866         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16867         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16868         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16869         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16870         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16871         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16873         Likewise.
16874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16875         Likewise.
16876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16877         Likewise.
16878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16879         Likewise.
16880         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16881         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16882         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16883         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16884         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16886         Likewise.
16887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16888         Likewise.
16889         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16890         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16891         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16893 2016-08-16  Florian Weimer  <fweimer@redhat.com>
16895         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
16896         New.
16897         (do_test): Apply default_stack_size_in_mb if not set.
16898         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
16900 2016-08-15  Andreas Schwab  <schwab@suse.de>
16902         [BZ #20435]
16903         CVE-2016-6323
16904         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
16905         as .cantunwind.
16907 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
16909         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
16910         comment from fraiseexcpt.c.
16912         * math/test-fexcept.c (feraiseexcept_exact): New function.
16913         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
16914         (test_except): Likewise.
16916 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
16918         [BZ #20455]
16919         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
16920         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
16921         to be restored.
16923         * math/test-fexcept-traps.c: New file.
16924         * math/test-fexcept.c: Likewise.
16925         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
16926         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
16927         macro.
16928         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
16929         (EXCEPTION_SET_FORCES_TRAP): Likewise.
16931 2016-08-09  Torvald Riegel  <triegel@redhat.com>
16933         * include/atomic.h (atomic_fetch_and_relaxed,
16934         atomic_fetch_and_release, atomic_fetch_or_release,
16935         atomic_fetch_xor_release): New.
16937 2016-08-06  Christian Seiler  <christian@iwakd.de>
16939         [BZ #20444]
16940         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
16941         MACH_PORT_NULL.
16943 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16945         * math/s_fdim.c: Avoid alias renamed.
16946         * math/s_fdimf.c: Likewise.
16947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16948         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16949         Add s_fdimf-vis3, s_fdim-vis3.
16950         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16951         (CFLAGS-s_fdim-vis3.c): Likewise.
16952         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
16953         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
16955 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16958         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16959         Remove s_fdimf-vis3, s_fdim-vis3.
16960         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
16961         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
16962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
16963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
16964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
16965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
16966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
16967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
16968         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
16969         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
16971 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16973         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
16974         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
16975         -Wa,-Av9a -mvis.
16977 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16979         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
16980         LIT() to individual constants in simple expressions
16981         after splitting on spaces.
16982         (_apply_lit): Rename replaced version, and use it to
16983         apply to what appears to be a token.
16985         * math/libm-test.inc: Fix many, many issues with
16986         spacing.
16988 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
16990         * math/math.h: Move comment about <bits/mathdef.h> definitions
16991         above inclusion of <bits/mathdef.h>.  Do not mention
16992         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
16994 2016-08-05  Torvald Riegel  <triegel@redhat.com>
16996         * include/atomic.h (atomic_exchange_relaxed): New.
16998 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
17000         * math/e_scalb.c: Do not include <fenv.h>.
17001         (invalid_fn): Do calculation resulting in NaN instead of raising
17002         FE_INVALID and returning a NaN explicitly.
17003         * math/e_scalbf.c: Do not include <fenv.h>.
17004         (invalid_fn): Do calculation resulting in NaN instead of raising
17005         FE_INVALID and returning a NaN explicitly.
17006         * math/e_scalbl.c: Do not include <fenv.h>.
17007         (invalid_fn): Do calculation resulting in NaN instead of raising
17008         FE_INVALID and returning a NaN explicitly.
17010 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
17012         * po/de.po: Updated from Translation Project.
17013         * po/fi.po: Likewise.
17014         * po/sv.po: Likewise.
17016 2016-08-04  Florian Weimer  <fweimer@redhat.com>
17018         [BZ #20452]
17019         Use sysdep.o from libc.a in static libraries.
17020         * sysdeps/unix/sysv/linux/i386/Makefile
17021         (libpthread-shared-only-routines): Add sysdep.
17022         (librt-shared-only-routines): Likewise.
17024 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
17026         * math/tgmath.h (nextdown): Define if
17027         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
17028         (nextup): Likewise.
17030         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
17031         macro.
17032         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
17033         Document.
17034         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
17035         Document macro.
17036         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
17037         (exp10f): Likewise.
17038         (exp10l): Likewise.
17039         * math/bits/mathcalls.h (exp10): Declare if
17040         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
17042         * manual/arith.texi (nextup): Fix typo in last change.
17044 2016-08-03  Zack Weinberg  <zackw@panix.com>
17046         [BZ #19239]
17047         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
17048         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
17049         define major, minor, and makedev to issue deprecation warnings on use.
17050         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
17051         previously-activated deprecation warnings for these macros and prevent
17052         subsequent inclusions of this header from having any effect.
17053         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
17054         including <sys/sysmacros.h>, and undefine it again afterward.
17056 2016-08-03  Zack Weinberg  <zackw@panix.com>
17058         * sysdeps/generic/sys/sysmacros.h: Delete file.
17059         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
17060         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
17061         * bits/sysmacros.h: ... here; this encoding is now the generic
17062         encoding.  Now defines only the following macros:
17063         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
17064         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
17065         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
17067         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
17068         bits/sysmacros.h and the above new macros to generate the
17069         public implementations of major, minor, and makedev.
17070         * misc/tst-makedev.c: New test.
17071         * include/sys/sysmacros.h: New wrapper.
17073         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
17074         (routines): Add makedev.
17075         (tests): Add tst-makedev.
17076         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
17077         gnu_dev_makedev.
17078         * posix/Makefile (headers): Remove sys/sysmacros.h.
17079         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
17081         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
17082         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
17083         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
17084         * sysdeps/unix/sysv/linux/alpha/libc.abilist
17085         * sysdeps/unix/sysv/linux/arm/libc.abilist
17086         * sysdeps/unix/sysv/linux/hppa/libc.abilist
17087         * sysdeps/unix/sysv/linux/i386/libc.abilist
17088         * sysdeps/unix/sysv/linux/ia64/libc.abilist
17089         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17090         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
17091         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
17092         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17093         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17094         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17095         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17096         * sysdeps/unix/sysv/linux/nios2/libc.abilist
17097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17101         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
17102         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
17103         * sysdeps/unix/sysv/linux/sh/libc.abilist
17104         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17105         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17108         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
17109         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
17110         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
17111         Add GLIBC_2.25.
17113         * include/features.h (__glibc_clang_prereq): New macro.
17114         * misc/sys/cdefs.h (__glibc_clang_has_extension)
17115         (__attribute_deprecated_msg__): New macros.
17117 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
17119         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
17120         macro.
17121         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
17122         * manual/arith.texi (issignaling): Document as ISO from TS
17123         18661-1:2014.
17124         (nextup): Likewise.
17125         (nextupf): Likewise.
17126         (nextupl): Likewise.
17127         (nextdown): Likewise.
17128         (nextdownf): Likewise.
17129         (nextdownl): Likewise.
17130         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
17131         macro.
17132         * math/math.h: Define
17133         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17134         <bits/libc-header-start.h> instead of including <features.h>.
17135         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
17136         [__USE_GNU].
17137         * math/bits/mathcalls.h (nextdown): Declare if
17138         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
17139         (nextup): Likewise.
17140         (__issignaling): Likewise.
17142 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17144         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
17145         check, and remove __glibc_likely hint
17146         from FP_INFINITE check.
17147         * s_csinhf.c (__csinhf): Likewise.
17149         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
17150         hint from FP_INFINITE check.
17151         * s_csinhl.c (__csinhl): Likewise.
17153 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17155         * math/Makefile (libm-calls): Insert F placeholder into
17156         object names.  Move w_lgamma_compat* routines into
17157         (libm-compat-calls): New variable.
17158         (libm-compat-calls-ldouble-yes): New variable.
17159         (calls): Insert F placeholder.
17160         (generated): Redefine using new type-foreach macro call.
17161         (routines): Likewise.
17163         (types): New variable to hold a list of symbolic names
17164         for each type supported by the target machine.
17165         (libm-routines): Redefine using new types variable.
17166         (type-foreach): macro to replace fooF with the
17167         appropriately suffixed foo for each types.
17169         (type-ldouble-suffix): New variable.
17170         (type-ldouble-routines): Likewise.
17171         (type-ldouble-yes): Likewise.
17172         (type-double-suffix): Likewise.
17173         (type-double-routines): Likewise.
17174         (type-float-suffix): Likewise.
17175         (type-float-routines): Likewise.
17177         (dbl-only-routines): Remove.
17178         (long-c-yes): Likewise.
17179         (long-m-routines): Likewise.
17180         (long-m-support): Likewise.
17181         (long-m-yes): Likewise.
17182         (test-longdouble-yes): Likewise.
17184         (test-float.o): Simplify by increasing the scope of the
17185         recipe which adds libm-test.stmp to the vector types.
17186         (test-ifloat.o): Likewise.
17187         (test-float-finite.o): Likewise.
17188         (test-double.o): Likewise
17189         (test-idouble.o): Likewise.
17190         (test-double-finite.o): Likewise.
17191         (test-ldouble.o): Likewise
17192         (test-ildoubl.o): Likewise.
17193         (test-ldouble-finite.o): Likewise.
17195         (libm-tests): Redefine type tests using foreach and the
17196         list of types in types.
17198         (CPPFLAGS-test-ildoubl.c): Rename to
17199         (CPPFLAGS-test-ildouble.c): New variable
17201         * math/test-ildoubl.c: Rename to
17202         * math/test-ildouble.c: New file.
17204 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17206         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
17207         Use fabsl instead of fabs.
17208         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
17209         Likewise.
17210         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
17211         Add long double suffix to constant to ensure proper
17212         promotion to long double.
17214 2016-08-03  Tom Tromey  <tom@tromey.com>
17216         [BZ #20311]
17217         * nptl_db/Makefile (headers): Add proc_service.h.
17218         * nptl_db/proc_service.h: Add include guard.  Use
17219         __BEGIN/__END_DECLS.
17220         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
17221         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
17222         arguments.
17225 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17227         [BZ #17730]
17228         Avoid using memalign for TCB allocations.
17229         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
17230         (_dl_allocate_tls_storage): Use malloc and manual alignment.
17231         Avoid alignment gap in the TLS_DTV_AT_TP case.
17232         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
17233         determine the pointer to free.
17234         * nptl/tst-tls3-malloc.c: New test.
17235         * nptl/Makefile (tests): Add it.
17236         (tst-tls3-malloc): Link with libdl, libpthread.
17237         (LDFLAGS-tst-tls3-malloc): Set.
17238         (tst-tls3-malloc.out): Depend on DSO used in test.
17240 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17242         [BZ #17730]
17243         Avoid using memalign for TLS allocations.
17244         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
17245         is_static member with to_free member.
17246         (union dtv): Use struct dtv_pointer.
17247         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
17248         dtv_pointer instead of is_static.
17249         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
17250         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
17251         instead of val.
17252         (allocate_dtv_entry): New function.
17253         (allocate_and_init): Return struct dtv_pointer.  Call
17254         allocate_dtv_entry instead of __libc_memalign.
17255         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
17256         instead of val.
17257         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
17258         instead of is_static.  Adjust call to allocate_and_init.
17259         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
17260         struct dtv_pointer instead of val.
17262 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17264         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
17265         (MALLOC_ALIGN_MASK): Move ...
17266         * malloc/malloc-internal.h: ... to here.
17267         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
17269 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
17271         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
17272         (UDP_ENCAP_GTP1U): Likewise.
17274         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
17275         (PF_MAX): Update value.
17276         (AF_QIPCRTR): New macro.
17278 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
17280         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
17281         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17282         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17283         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17284         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17285         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
17286         s_truncf-vis3, s_trunc-vis3.
17287         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
17288         (CFLAGS-s_ceil-vis3.c): Likewise.
17289         (CFLAGS-s_floorf-vis3.c): Likewise.
17290         (CFLAGS-s_floor-vis3.c): Likewise.
17291         (CFLAGS-s_truncf-vis3.c): Likewise.
17292         (CFLAGS-s_trunc-vis3.c): Likewise.
17293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
17294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
17295         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
17296         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
17297         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
17298         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
17299         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
17300         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
17301         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
17302         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
17303         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
17304         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
17306 2016-08-02  David S. Miller  <davem@davemloft.net>
17308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17309         (__nearbyint_vis3): Don't check for sNaN before float register is
17310         loaded with the incoming argument.
17311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17312         (__nearbyintf_vis3): Likewise.
17313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
17314         Likewise.
17315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
17316         Likewise.
17318         * string/test-strncmp.c (do_test_limit): Make sure the test data
17319         stream is aligned as required for the type "CHAR".
17320         (do_test): Likewise.
17322 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
17324         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
17325         by beq instructions jumping to the end of the function.
17326         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
17327         clobber list. Use "i" constraint instead of "X".
17328         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
17329         of "X".
17331 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
17333         * bits/libc-header-start.h: New file.
17334         * Makefile (headers): Add bits/libc-header-start.h.
17335         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
17336         (__GLIBC_USE): New macro.
17337         * libio/stdio.h: Define
17338         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17339         <bits/libc-header-start.h> instead of including <features.h>.
17340         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
17341         (open_memstream): Likewise.
17342         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
17343         (__asprintf): Likewise.
17344         (asprintf): Likewise.
17345         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
17346         (getdelim): Likewise.
17347         (getline): Likewise.
17348         * string/string.h: Define
17349         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17350         <bits/libc-header-start.h> instead of including <features.h>.
17351         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
17352         (strndup): Likewise.
17353         * wcsmbs/wchar.h: Define
17354         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17355         <bits/libc-header-start.h> instead of including <features.h>.
17356         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
17357         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
17359 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17361         Support linking against compatibility symbols, for use in tests.
17362         * include/libc-symbols.h (symbol_version_reference): New macro.
17363         (symbol_version): Use it.
17364         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
17365         (compat_symbol): Use compat_symbol_reference.
17366         (compat_symbol_1, compat_symbol_2): Remove.
17367         (compat_symbol_reference, compat_symbol_reference_1)
17368         (compat_symbol_reference_2): New macro.  Use
17369         symbol_version_reference.
17371 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17373         [BZ #19469]
17374         * malloc/Makefile (CPPFLAGS): Compile tests with
17375         -DTEST_NO_MALLOPT.
17376         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
17378 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
17380         [BZ #20033]
17381         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
17382         finite version.
17383         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
17384         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
17385         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
17386         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
17387         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
17388         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
17389         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
17390         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
17391         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
17392         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
17393         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
17394         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
17395         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
17396         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
17397         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
17398         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
17399         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
17400         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
17401         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
17402         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
17403         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
17404         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
17405         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
17406         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
17407         in zero power.
17409 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17411         [BZ #20370]
17412         * malloc/arena.c (get_free_list): Update comment.  Assert that
17413         arenas on the free list have no attached threads.
17414         (remove_from_free_list): New function.
17415         (reused_arena): Call it.
17417 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
17419         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
17420         when it is a NaN.
17421         [_IEEE_FP_INEXACT] Remove.
17422         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
17423         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
17424         when it is a NaN.
17425         [_IEEE_FP_INEXACT] Remove.
17426         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
17427         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
17428         when it is a NaN.
17429         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
17430         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
17431         when its absolute value is greater than 0x1.0p52.
17432         [_IEEE_FP_INEXACT] Remove.
17433         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
17434         when its absolute value is greater than 0x1.0p23.
17435         [_IEEE_FP_INEXACT] Remove.
17437 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
17439         * version.h (RELEASE): Set to "development"
17440         (VERSION): Set to 2.24.90.
17441         * NEWS: Add 2.25 section.
17443         * version.h (RELEASE): Set to "stable"
17444         (VERSION): Set to 2.24.
17445         * include/features.h (__GLIBC_MINOR__): Set to 24.
17447         * NEWS: Add 2.24 fixed bugs.
17448         * po/libc.pot: Regenerate.
17450 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
17452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17453         [$(subdir) = math] (libm-sysdep_routines): Remove.
17454         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17455         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
17456         s_truncf-vis3, s_trunc-vis3.
17457         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
17459         file.
17460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
17461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
17462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
17466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
17467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
17469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
17470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
17471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
17472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
17473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
17474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
17475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
17479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
17480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
17481         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
17482         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17483         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17484         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17485         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17486         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17487         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
17488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17489         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17490         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
17491         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17492         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17493         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
17494         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
17495         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
17496         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
17497         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17498         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17499         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
17500         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
17501         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
17502         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
17504 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
17506         [BZ #20384]
17507         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
17508         test-double-libmvec-sincos-avx-main.o,
17509         test-double-libmvec-sincos-avx2-main.o,
17510         test-double-libmvec-sincos-main.o,
17511         test-float-libmvec-sincosf-avx-main.o,
17512         test-float-libmvec-sincosf-avx2-main.o and
17513         test-float-libmvec-sincosf-main.o.
17514         test-float-libmvec-sincosf-avx512-main.o.
17515         ($(objpfx)test-double-libmvec-sincos): Also link with
17516         $(objpfx)test-double-libmvec-sincos-main.o.
17517         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
17518         $(objpfx)test-double-libmvec-sincos-avx-main.o.
17519         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
17520         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
17521         ($(objpfx)test-float-libmvec-sincosf): Also link with
17522         $(objpfx)test-float-libmvec-sincosf-main.o.
17523         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
17524         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
17525         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
17526         test-double-libmvec-sincos-avx512-main.o and
17527         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
17528         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
17529         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
17530         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
17531         (CFLAGS-test-double-libmvec-sincos.c): Removed.
17532         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
17533         (CFLAGS-test-double-libmvec-sincos-main.c): New.
17534         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
17535         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
17536         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
17537         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
17538         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
17539         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
17540         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
17541         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
17542         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
17543         -DREQUIRE_AVX2.
17544         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
17545         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
17546         -DREQUIRE_AVX512F.
17547         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
17548         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
17549         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17550         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
17551         file.
17552         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
17553         Likewise.
17554         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
17555         Likewise.
17556         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
17557         Likewise.
17558         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
17559         Likewise.
17560         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
17561         Likewise.
17562         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
17563         Likewise.
17564         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
17565         Likewise.
17567 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
17569         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
17571 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
17573         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
17574         and typo in a comment about AT_HWCAP entry.
17576 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17578         * sysdeps/aarch64/libm-test-ulps: Updated.
17580 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17582         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
17583         of r13 as it is not restored in mvcle case.
17585 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
17587         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
17588         Rename "ret" to "__ret".
17589         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
17590         inline_syscall5, inline_syscall6): Likewise.
17592 2016-07-19   Will Newton  <will.newton@gmail.com>
17594         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
17595         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
17596         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
17597         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
17598         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
17600 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
17602         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
17603         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
17604         -mfpmath=387 with $(rtld-CFLAGS).
17605         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
17606         $(rtld-CFLAGS).
17608 2016-07-18   Ross Burton  <ross.burton@intel.com>
17609              Khem Raj  <raj.khem@gmail.com>
17611         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
17612         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
17613         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
17614         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
17615         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
17616         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
17617         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
17618         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
17619         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
17620         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
17621         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
17622         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
17623         R_METAG_TLS_DTPOFF): New.
17625 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17626             Matt Clay  <mclay@lycos.com>
17628         [BZ #20357]
17629         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
17630         to call __mpsin/__mpcos and to negate values.
17631         * math/auto-libm-test-in: Add test.
17632         * math/auto-libm-test-out: Regenerate.
17634 2016-07-18  Zack Weinberg  <zackw@panix.com>
17636         * grp/Makefile: Don't install the internal header grp-merge.h.
17638 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17640         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17642 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17644         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
17646 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17648         [BZ #15368]
17649         * sysdeps/unix/sysv/linux/nptl-signals.h
17650         (__nptl_clear_internal_signals): New function.
17651         (__libc_signal_block_all): Likewise.
17652         (__libc_signal_block_app): Likewise.
17653         (__libc_signal_restore_set): Likewise.
17654         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
17655         implementation.
17656         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
17657         the cached pid/tid value in pthread structure.
17659 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
17661         [BZ #20347]
17662         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17664 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17666         [BZ #20348]
17667         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
17668         preadv64, pwrite64 and pwritev64.
17670 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17672         [BZ #20350]
17673         * posix/tst-preadwrite.c: Renamed to ...
17674         * posix/tst-preadwrite-common.c: This.
17675         (PREAD): Removed.
17676         (PWRITE): Likewise.
17677         (STRINGIFY): Likewise.
17678         (STRINGIFY2): Likewise.
17679         (do_prepare): Make it static and remove function arguments.
17680         (do_test): Likewise.
17681         (PREPARE): Updated.
17682         (TEST_FUNCTION): New.
17683         (name): Make it static.
17684         (fd): Likewise.
17685         (do_prepare): Use create_temp_file.
17686         (do_test): Renamed to ...
17687         (do_test_with_offset): This.  Make it static and accept offset.
17688         Properly check return value of PWRITE and PREAD.  Return bytes
17689         read.  Don't close fd nor unlink name.
17690         * posix/tst-preadwrite.c: Rewrite.
17691         * posix/tst-preadwrite64.c: Likewise.
17693 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17695         [BZ #20309]
17696         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
17697         -mtls-dialect=gnu2 works.
17698         * configure: Regenerated.
17699         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
17700         (tests): Add tst-gnu2-tls1.
17701         (modules-names): Add tst-gnu2-tls1mod.
17702         ($(objpfx)tst-gnu2-tls1): New.
17703         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
17704         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
17705         * elf/tst-gnu2-tls1.c: New file.
17706         * elf/tst-gnu2-tls1mod.c: Likewise.
17707         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
17708         bytes for push in the PLT entry to align the stack.
17710 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17712         [BZ #20349]
17713         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
17715 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17717         [BZ #18707]
17718         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
17719         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
17721 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17723         * sysdeps/unix/sysv/linux/sysdep.h
17724         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
17725         guards.
17726         * misc/tst-preadvwritev-common.c: New file.
17727         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
17728         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
17729         a check for files larger than 2GB.
17731         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17732         (__ASSUME_OFF_DIFF_OFF64): Remove define.
17733         * sysdeps/unix/sysv/linux/pread.c
17734         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
17735         __OFF_T_MATCHES_OFF64_T.
17736         * sysdeps/unix/sysv/linux/pread64.c
17737         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
17738         * sysdeps/unix/sysv/linux/preadv.c
17739         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
17740         * sysdeps/unix/sysv/linux/preadv64.c
17741         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
17742         * sysdeps/unix/sysv/linux/pwrite.c
17743         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
17744         * sysdeps/unix/sysv/linux/pwrite64.c
17745         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
17746         * sysdeps/unix/sysv/linux/pwritev.c
17747         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
17748         * sysdeps/unix/sysv/linux/pwritev64.c
17749         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
17751 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
17753         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17754         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
17756 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
17758         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
17760 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
17762         [BZ #20240]
17763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
17764         (CFLAGS-s_modf-ppc32.c): New variable.
17765         (CFLAGS-s_modff-ppc32.c): Likewise.
17766         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17767         (CFLAGS-s_modf-ppc64.c): Likewise.
17768         (CFLAGS-s_modff-ppc64.c): Likewise.
17770 2016-07-07  Andreas Schwab  <schwab@suse.de>
17772         [BZ #20263]
17773         * nptl/tst-robust10.c: New test.
17774         * nptl/Makefile (tests): Add tst-robust10.
17776 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
17778         [BZ #20263]
17779         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
17781 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17783         * sysdeps/s390/linkmap.h (struct link_map_machine):
17784         Remove member gotplt and add member jmprel.
17785         * sysdeps/s390/s390-32/dl-machine.h
17786         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
17787         instead of gotplt with &got[3].
17788         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
17789         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17791 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
17793         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
17795 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17797         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
17798         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
17799         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17800         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
17801         * libio/vtables.c (_IO_vtable_check)
17802         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17803         * libio/libioP.h (IO_set_accept_foreign_vtables)
17804         [!PTR_MANGLE]: Do not call PTR_MANGLE.
17806 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
17808         [BZ #20314]
17809         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
17810         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
17811         $(common-objpfx)cmath.
17812         ($(common-objpfx)cstdlib): New target.
17813         ($(common-objpfx)cmath): Likewise.
17815 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
17817         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
17819 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17821         [BZ #20327]
17822         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
17823         are not part of the string.
17825 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17827         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
17828         * nptl/tst-cancel4-common.h (fifoname): New variable.
17829         (fifofd): Likewise.
17830         (cl_fifo): New function.
17831         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
17832         SIGINT.
17833         (tf_open): Add early cancel test.
17835 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
17837         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
17839 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
17841         * sysdeps/generic/ldsodefs.h
17842         (dl_symbol_visibility_binds_local_p): New inline function.
17843         * elf/dl-addr.c (determine_info): Treat hidden and internal
17844         symbols as local.
17845         * elf/dl-lookup.c (do_lookup_x): Likewise.
17846         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
17848 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
17850         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
17851         invalid exception for a sNaN input.
17852         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17853         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17854         (__nearbyint_vis3): Likewise
17855         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17856         (__nearbyintf_vis3): Likewise
17857         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
17858         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17859         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
17860         Likewise.
17861         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
17862         Likewise.
17864 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
17866         [BZ #20139]
17867         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
17868         (HAVE_AVX512DQ_ASM_SUPPORT): This.
17869         * sysdeps/x86_64/configure.ac: Require assembler from binutils
17870         2.24 or above.
17871         (HAVE_AVX512_ASM_SUPPORT): Removed.
17872         (HAVE_AVX512DQ_ASM_SUPPORT): New.
17873         * sysdeps/x86_64/configure: Regenerated.
17874         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
17875         check unconditional.
17876         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17877         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17878         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17879         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
17880         Likewise.
17881         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17882         Likewise.
17883         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17884         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17885         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17886         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17887         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17888         Likewise.
17889         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17890         Likewise.
17891         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17892         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17893         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
17894         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
17895         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
17896         Likewise.
17897         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
17898         Likewise.
17899         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
17900         Likewise.
17901         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
17902         Likewise.
17903         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
17904         Likewise.
17905         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
17906         Likewise.
17907         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
17908         Likewise.
17909         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
17910         Likewise.
17911         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
17912         Likewise.
17913         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
17914         Likewise.
17915         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
17916         Likewise.
17918 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
17920         [BZ #20024]
17921         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
17922         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
17923         of this implementation of vector function.
17924         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17925         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17926         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
17927         Likewise.
17928         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17929         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17930         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
17931         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
17932         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
17933         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
17934         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
17935         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
17936         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
17937         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
17938         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
17939         for testing vector sincos with fixed ABI.
17940         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17941         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17942         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17943         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17944         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17945         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17946         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17947         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
17948         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
17949         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
17950         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
17951         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
17952         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
17953         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
17954         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17955         * sysdeps/x86_64/fpu/Makefile: Added new tests.
17957 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17959         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
17961 2016-06-30  Anton Blanchard  <anton@samba.org>
17963         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17964         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
17965         s_sinf-ppc64.
17966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
17967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
17968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
17969         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
17971 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17974         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17975         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
17976         e_expf-ppc64.
17977         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
17978         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
17979         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
17980         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
17982 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
17984         [BZ #20277]
17985         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
17986         when SHARED is defined.
17988 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
17990         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
17991         (index_arch_Prefer_ERMS): Likewise.
17992         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
17993         __memcpy_erms for Prefer_ERMS.
17994         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17995         (__memmove_erms): Enabled for libc.a.
17996         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
17997         __memmove_erms or Prefer_ERMS.
17998         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
17999         __mempcpy_erms for Prefer_ERMS.
18000         * sysdeps/x86_64/multiarch/memset.S (memset): Return
18001         __memset_erms for Prefer_ERMS.
18003 2016-06-30  Andreas Schwab  <schwab@suse.de>
18005         [BZ #20262]
18006         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
18007         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
18008         of memory.
18010 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
18012         [BZ #18645]
18013         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
18014         (test-extras): Add tst-cleanupx4aux.
18015         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
18016         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
18017         tst-cleanupx4aux.o.
18018         * nptl/tst-cleanupx4aux.c: New file.
18020 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
18022         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18024 2016-06-29  Andreas Schwab  <schwab@suse.de>
18026         [BZ #20260]
18027         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
18028         address before the beginning of the string as an integer to avoid
18029         array-bounds warning.
18031 2016-06-28  Richard Henderson  <rth@redhat.com>
18033         * elf/elf.h (EM_BPF): New.
18034         (EM_NUM): Update.
18035         (R_BPF_NONE, R_BPF_MAP_FD): New.
18037         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
18038         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
18039         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
18040         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
18041         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
18042         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
18043         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
18044         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
18045         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
18046         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
18047         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
18048         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
18049         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
18050         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
18051         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
18052         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
18053         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
18054         (EM_NUM): Update.
18056 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
18058         [BZ #18960]
18059         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
18060         Set _nl_current_LC_CATEGORY_used to two instead of one.
18062 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
18064         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
18065         (do_test): ... this.
18066         (TEST_FUNCTION): New macro.
18067          Include test-skeleton.c.
18068         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
18069         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
18071 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
18073         [BZ #15479]
18074         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
18075         floating-point environment rather than just control word.
18076         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18077         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
18078         floating-point environment, with "invalid" exceptions merged in,
18079         rather than just control word.
18080         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
18081         * math/libm-test.inc (trunc_test_data): Do not allow spurious
18082         "inexact" exceptions.
18084         [BZ #15479]
18085         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
18086         floating-point environment rather than just control word.
18087         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18088         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
18089         floating-point environment, with "invalid" exceptions merged in,
18090         rather than just control word.
18091         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
18092         * math/libm-test.inc (floor_test_data): Do not allow spurious
18093         "inexact" exceptions.
18095         [BZ #15479]
18096         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
18097         floating-point environment rather than just control word.
18098         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18099         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
18100         floating-point environment, with "invalid" exceptions merged in,
18101         rather than just control word.
18102         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
18103         * math/libm-test.inc (ceil_test_data): Do not allow spurious
18104         "inexact" exceptions.
18106 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
18108         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
18109         __libc_vfork.
18110         (__vfork) [IS_IN (libc)]: Remove alias.
18111         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
18112         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
18113         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
18115 2016-06-24  Torvald Riegel  <triegel@redhat.com>
18117         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
18118         of atomic_compare_and_exchange_bool_rel.
18119         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18120         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
18121         catomic_compare_and_exchange_bool_rel): Remove.
18122         * sysdeps/aarch64/atomic-machine.h
18123         (atomic_compare_and_exchange_bool_rel): Likewise.
18124         * sysdeps/alpha/atomic-machine.h
18125         (atomic_compare_and_exchange_bool_rel): Likewise.
18126         * sysdeps/arm/atomic-machine.h
18127         (atomic_compare_and_exchange_bool_rel): Likewise.
18128         * sysdeps/mips/atomic-machine.h
18129         (atomic_compare_and_exchange_bool_rel): Likewise.
18130         * sysdeps/microblaze/atomic-machine.h
18131         ( __arch_compare_and_exchange_bool_8_rel,
18132         __arch_compare_and_exchange_bool_16_rel): Likewise.
18133         * sysdeps/powerpc/atomic-machine.h
18134         ( __arch_compare_and_exchange_bool_8_rel,
18135         __arch_compare_and_exchange_bool_16_rel): Likewise.
18136         * sysdeps/powerpc/powerpc32/atomic-machine.h
18137         ( __arch_compare_and_exchange_bool_32_rel,
18138         __arch_compare_and_exchange_bool_64_rel): Likewise.
18139         * sysdeps/powerpc/powerpc64/atomic-machine.h
18140         ( __arch_compare_and_exchange_bool_32_rel,
18141         __arch_compare_and_exchange_bool_64_rel): Likewise.
18142         * sysdeps/tile/atomic-machine.h
18143         (atomic_compare_and_exchange_bool_rel): Likewise.
18145 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
18147         [BZ #20296]
18148         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
18149         when either argument is a NaN.
18150         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18151         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
18153         * math/libm-test.inc (snan_value_ld): New macro.
18154         (isgreater_test_data): Add sNaN tests.
18155         (isgreaterequal_test_data): Likewise.
18156         (isless_test_data): Likewise.
18157         (islessequal_test_data): Likewise.
18158         (islessgreater_test_data): Likewise.
18159         (isunordered_test_data): Likewise.
18160         (nextafter_test_data): Likewise.
18161         (nexttoward_test_data): Likewise.
18162         (remainder_test_data): Likewise.
18163         (remquo_test_data): Likewise.
18164         (significand_test_data): Likewise.
18165         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
18167 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
18169         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
18170         environment macros are defined.
18171         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
18173 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18175         [BZ #20191]
18176         Implement vtable verification in libio.
18177         * Makerules (shlib.lds): Place __libc_IO_vtables section.
18178         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
18179         * debug/vdprintf_chk.c (__vdprintf_chk): Call
18180         _IO_new_file_init_internal instead of _IO_file_init.
18181         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
18182         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
18183         * libio/Makefile (routines): Add vtables.
18184         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
18185         (_IO_init): Remove, not for internal use.
18186         (_IO_init_internal): Declare, internal replacement for _IO_init.
18187         (_IO_file_init): Remove, not for internal use.
18188         (_IO_new_file_init): Remove, not for internal use.
18189         (_IO_new_file_init_internal): Declare, internal replacement for
18190         _IO_new_file_init.
18191         (_IO_old_file_init): Remove, not for internal use.
18192         (_IO_old_file_init_internal): Declare, internal replacement for
18193         _IO_old_file_init.
18194         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
18195         internal use.
18196         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
18197         Declare.
18198         (libio_vtable): New macro.
18199         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
18200         functions.
18201         * libio/fileops.c (_IO_new_file_init_internal): Rename from
18202         _IO_new_file_init.
18203         (_IO_new_file_init): New externally visible wrapper which disables
18204         vtable verification.
18205         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
18206         Define as vtables.
18207         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
18208         (_IO_init): New externally visible wrapper which disables
18209         vtable verification.
18210         * libio/iofdopen.c (_IO_new_fdopen): Call
18211         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
18212         comment.
18213         * libio/iofopen.c (__fopen_internal): Call
18214         _IO_new_file_init_internal instead of _IO_file_init.
18215         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
18216         Define as vtables.
18217         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
18218         _IO_new_file_init_internal instead of _IO_file_init.
18219         * libio/iopopen.c (_IO_new_popen): Likewise.
18220         (_IO_proc_jumps): Define as vtable.
18221         * libio/iovdprintf.c (_IO_vdprintf): Call
18222         _IO_new_file_init_internal instead of _IO_file_init.
18223         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
18224         (__open_memstream): Call _IO_init_internal instead of _IO_init.
18225         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
18226         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
18227         _IO_old_file_init.
18228         (_IO_old_file_init): New externally visible wrapper which disables
18229         vtable verification.
18230         (_IO_old_file_jumps): Define as vtable.
18231         * libio/oldiofdopen.c (_IO_old_fdopen): Call
18232         _IO_old_file_init_internal instead of _IO_old_file_init.
18233         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18234         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18235         (_IO_old_proc_jumps): Define as vtable.
18236         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
18237         Define as vtables.
18238         * libio/vtables.c: New file.
18239         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
18240         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
18241         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
18242         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
18243         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
18244         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
18245         instead of _IO_init.
18247 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18249         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
18251 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18253         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
18254         potentially unused.
18256 2016-06-22  Florian Weimer  <fweimer@redhat.com>
18258         * test-skeleton.c (write_message): New function.
18259         * malloc/tst-mallocfork2.c (write_message): Remove.
18260         * debug/tst-longjmp_chk2.c (write_indented): New function.
18261         (write_message): Remove.
18262         (stackoverflow_handler): Call write_indented.
18264 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
18266         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
18267         "inexact" exceptions after fnstenv.
18268         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18269         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18270         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18272 2015-06-22  Zack Weinberg  <zackw@panix.com>
18274         * sysdeps/generic/bits/hwcap.h: Moved to ...
18275         * bits/hwcap.h: Here.
18277 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
18279         * sysdeps/aarch64/memcpy.S (memcpy):
18280         Further tuning for performance.
18282 2016-06-21  Florian Weimer  <fweimer@redhat.com>
18284         [BZ #20284]
18285         * malloc/arena.c (reused_arena): Do not return NULL if we start
18286         out with a non-corrupted arena.
18288 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18290         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
18291         * misc/tst-preadvwritev.c: New file.
18292         * misc/tst-preadvwritev64.c: Likewise.
18293         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
18294         usage.
18295         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
18296         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
18297         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
18298         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
18300 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
18302         [BZ #19654]
18303         * sysdeps/x86_64/fpu/Makefile: Added new tests.
18304         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
18305         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
18306         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
18307         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
18308         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
18309         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
18310         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
18311         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
18312         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
18313         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
18314         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
18315         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
18316         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
18317         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
18318         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
18319         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
18320         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
18321         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
18322         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
18323         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
18324         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
18325         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
18326         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
18327         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
18328         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
18330 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
18332         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
18333         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
18335 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
18337         * sysdeps/aarch64/memcpy.S (memcpy):
18338         Rewrite of optimized memcpy and memmove.
18339         * sysdeps/aarch64/memmove.S (memmove): Remove
18340         memmove code (merged into memcpy.S).
18342 2016-06-20  Florian Weimer  <fweimer@redhat.com>
18344         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
18345         * sysdeps/generic/dl-dtv.h: New file.
18346         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18347         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
18348         (dtv_t): Remove.
18349         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18350         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
18351         (dtv_t): Remove.
18352         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18353         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
18354         (dtv_t): Remove.
18355         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18356         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
18357         (dtv_t): Remove.
18358         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18359         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
18360         (dtv_t): Remove.
18361         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18362         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
18363         (dtv_t): Remove.
18364         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18365         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
18366         (dtv_t): Remove.
18367         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
18368         (dtv_t): Remove.
18369         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18370         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
18371         (dtv_t): Remove.
18372         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18373         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
18374         (dtv_t): Remove.
18375         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18376         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
18377         (dtv_t): Remove.
18378         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18379         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
18380         (dtv_t): Remove.
18381         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18382         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
18383         (dtv_t): Remove.
18384         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18385         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
18386         (dtv_t): Remove.
18387         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18388         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
18389         (dtv_t): Remove.
18390         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18391         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
18392         (dtv_t): Remove.
18394 2016-06-20  Florian Weimer  <fweimer@redhat.com>
18396         Revert symbol poisoning of  __malloc_initialize_hook.
18397         * include/stdc-predef.h (__malloc_initialize_hook): Remove
18398         poisoning.
18399         * malloc/Makefile: Remove un-poisoning.
18400         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
18401         instead of old__malloc_initialize_hook.
18402         * malloc/malloc-hooks.h: Likewise.
18403         * malloc/malloc.c: Likewise.
18404         * malloc/mcheck-init.c: Likewise.
18406 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
18408         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
18410 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
18412         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
18413         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
18414         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
18415         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
18417 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18419         * NEWS: Mention addition of nextup and nextdown.
18420         * manual/arith.texi: Document nextup and nextdown.
18421         * manual/libm-err-tab.pl: Add nextup and nextdown.
18422         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
18423         * math/Versions (libm): Add GLIBC_2.24.
18424         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
18425         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
18426         Add new test.
18427         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
18428         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
18429         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
18430         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
18431         (nextup_test_data): Likewise.
18432         (nextdown_test_data): Likewise.
18433         * math/s_nextdown.c: New file.
18434         * math/s_nextdownf.c: Likewise.
18435         * math/s_nextdownl.c: Likewise.
18436         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
18437         F(nextup): New function.
18438         F(nextdown): Likewise.
18439         * math/tgmath.h: Add nextup and nextdown.
18440         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
18441         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
18442         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
18443         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
18444         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
18445         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
18446         Add nextup and nextdown.
18447         (CFLAGS-nldbl-nextup.c): New variable.
18448         (CFLAGS-nldbl-nextdown.c): Likewise.
18449         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
18450         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
18451         * sysdeps/nacl/libm.abilist: Update.
18452         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18453         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18454         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18455         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18456         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18457         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18458         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18459         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18460         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18461         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18462         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18463         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18466         Likewise.
18467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18469         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18470         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18471         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18472         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18473         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
18475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
18476         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18477         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18478         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18479         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18481 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18483         * manual/pattern.texi: Fix typos & grammar errors.
18485 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18487         * manual/search.texi: Fix typos & grammar errors.
18489 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18491         * manual/message.texi: Fix typos & grammar errors.
18493 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
18495         * manual/contrib.texi: Fix spelling typos.
18496         * manual/crypt.texi: Likewise.
18497         * manual/filesys.texi: Likewise.
18498         * manual/locale.texi: Likewise.
18499         * manual/message.texi: Likewise.
18500         * manual/nss.texi: Likewise.
18501         * manual/string.texi: Likewise.
18503 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18505         * manual/locale.texi: Fix typos & grammar errors.
18507 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18509         * manual/charset.texi: Fix typos & grammar errors.
18511 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18513         * manual/string.texi: Fix typos.
18515 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18517         * manual/ctype.texi: Fix typos.
18519 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18521         * manual/memory.texi: Fix various typos & grammar errors.
18523 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
18525         [BZ #20255]
18526         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
18527         * math/libm-test.inc (fdim_test_data): Add another test.
18529         [BZ #6796]
18530         [BZ #20255]
18531         [BZ #20256]
18532         * math/s_fdim.c: Include <math_private.h>.
18533         (__fdim): Use math_narrow_eval on result.
18534         * math/s_fdimf.c: Include <math_private.h>.
18535         (__fdimf): Use math_narrow_eval on result.
18536         * sysdeps/i386/fpu/s_fdim.S: Remove file.
18537         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
18538         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
18539         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
18540         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
18541         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
18542         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
18543         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
18544         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
18545         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
18546         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
18547         * math/libm-test.inc (fdim_test_data): Expect errno setting on
18548         overflow.  Add sNaN tests.
18550         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
18551         fpclassify.
18552         * math/s_fdimf.c (__fdimf): Likewise.
18553         * math/s_fdiml.c (__fdiml): Likewise.
18555 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18557         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18558         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
18559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18560         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
18561         ifunc'ed strcasecmp/strncasecmp.
18562         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
18563         [EALIGN]: Removed.
18564         [END]: Likewise.
18565         [__strcasecmp]: Define instead of the above to control symbol name.
18566         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
18567         for __strcasecmp_power8.
18568         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
18569         for __strncasecmp_power8.
18570         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
18571         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
18572         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
18573         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
18574         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
18575         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
18577 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
18579         [BZ #20252]
18580         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
18581         arguments when second argument is a NaN.
18582         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
18583         qNaN tests.
18585         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
18586         (conj_test_data): Likewise.
18587         (copysign_test_data): Likewise.
18588         (creal_test_data): Likewise.
18589         (fma_test_data): Likewise.
18590         (fmod_test_data): Likewise.
18592         [BZ #20250]
18593         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
18594         itself.
18595         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
18596         zero input to itself.
18597         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
18598         Likewise.
18599         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
18600         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
18601         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18602         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
18603         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
18605 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18607         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
18608         * nptl/tst-cancel4-common.c: New file.
18609         * nptl/tst-cancel4-common.h: Likewise.
18610         * nptl/tst-cancel4.c: Move common definitions to
18611         tst-cancel4-common.{c,h} file.
18612         * nptl/tst-cancel4_1.c: New test.
18613         * nptl/tst-cancel4_2.c: New test.
18615 2016-06-13  Florian Weimer  <fweimer@redhat.com>
18617         [BZ #20248]
18618         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
18619         (write_message): New function.
18620         (stackoverflow_handler): Call it instead of printf, to avoid
18621         excessive stack usage by printf.
18622         (do_test): Restore SIGSEGV, SIGBUS default handlers.
18624 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18626         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
18627         (prio_inherit_missing): Remove define.
18628         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18629         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18630         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
18631         Likewise.
18632         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18633         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18634         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18635         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18636         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18637         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18639 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18641         [BZ #19670]
18642         [BZ #19672]
18644         * io/test-lfs.c (do_prepare): Use xmalloc.
18645         * io/tst-fcntl.c (do_prepare): Likewise.
18646         * libio/tst-fopenloc.c (do_bz17916): Likewise.
18647         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
18648         * login/tst-utmp.c (do_prepare): Likewise.
18649         * posix/tst-exec.c (do_prepare): Likewise.
18650         * posix/tst-pathconf.c (prepare): Likewise.
18651         * posix/tst-spawn.c (do_prepare): Likewise.
18652         * posix/tst-truncate.c (do_prepare): Likewise.
18653         * rt/tst-aio.c (do_prepare): Likewise.
18654         * rt/tst-aio64.c (do_prepare): Likewise.
18656 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18658         [BZ #20237]
18659         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
18660         (get*ent): Set entidx to NULL during initialization.  If entidx is
18661         NULL, start iteration from the beginning.
18663 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18665         * malloc/malloc.c (musable): Return correct size for dumped fake
18666         mmapped chunk.
18668 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18670         [BZ #20222]
18671         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
18672         (_IO_cookie_write): Likewise.
18673         (_IO_cookie_seek): Likewise.
18674         (_IO_cookie_close): Likewise.
18675         (_IO_old_cookie_seek): Likewise.
18676         (set_callbacks): New function.
18677         (_IO_cookie_init): Call set_callbacks to copy callbacks.
18679 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
18681         * locale/programs/localedef.c (oldstyle_tables): Remove.
18682         * locale/programs/localedef.h (oldstyle_tables): Likewise.
18684 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
18686         [BZ #20240]
18687         * math/Makefile (CFLAGS-s_modf.c): New variable.
18688         (CFLAGS-s_modff.c): Likewise.
18689         (CFLAGS-s_modfl.c): Likewise.
18690         * math/libm-test.inc (modf_test_data): Add sNaN tests.
18692 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
18694         [BZ #20215]
18695         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
18696         [!__GNUC_PREREQ (3,2)]: Likewise.
18698 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
18700         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
18701         (msghdr.msg_controllen): Likewise.
18702         (cmsghdr.cmsg_len): Likewise.
18703         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
18704         ptw-oldsendmsg.
18705         (CFLAGS-oldrecvmsg.c): Remove rule.
18706         (CFLAGS-oldsendmsg.c): Likewise.
18707         (CFLAGS-recvmsg.c): Add rule.
18708         (CFLAGS-sendmsg.c): Likewise.
18709         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
18710         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
18711         (CFLAGS-recvmsg.c): Remove rule.
18712         (CFLAGS-sendmsg.c): Likewise.
18713         (CFLAGS-oldrecvmsg.c): Likewise.
18714         (CFLAGS-oldsendmsg.c): Likewise.
18715         (CFLAGS-recvmmsg.c): Likewise.
18716         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
18717         to kernel defined interfaces.
18718         (msghdr.msg_controllen): Likewise.
18719         (cmsghdr.cmsg_len): Likewise.
18720         (msghdr.__glibc_reserved1): Remove member.
18721         (msghdr.__glibc_reserved2): Likewise.
18722         (cmsghdr.__glibc_reserved1): Likewise.
18723         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
18724         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
18725         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18726         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18727         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
18728         version.
18729         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18730         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
18731         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18732         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
18733         Remove recvmsg and sendmsg.
18734         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
18735         Likewise.
18736         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18737         Likewise.
18738         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18739         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18740         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18741         Likewise.
18742         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18743         Likewise.
18744         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
18745         [libc] (GLIBC_2.24): Likewise.
18746         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18747         Likewise.
18748         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18749         Likewise.
18750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18751         [libc] (GLIBC_2.24): Likewise.
18752         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18753         Likewise.
18754         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18755         Likewise.
18756         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18757         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18758         Likewise.
18759         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18760         Likewise.
18761         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18762         Likewise.
18763         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
18764         Likewise.
18765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
18766         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
18767         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
18768         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
18769         version for {recv,send,recm,sendm}msg.
18770         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18771         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18772         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18773         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18774         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18775         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18776         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18777         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18778         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18779         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18780         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18781         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18783         Likewise.
18784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18785         Likewise.
18786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18788         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18789         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18790         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18791         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18792         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18793         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18796         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18797         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18798         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18800 2016-06-10  Florian Weimer  <fweimer@redhat.com>
18802         [BZ #19564]
18803         Remove __malloc_initialize_hook from the API.
18804         * malloc/malloc.h (__malloc_initialize_hook): Remove.
18805         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
18806         #pragma GCC poison.
18807         * malloc/malloc-hooks.h: New file.
18808         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
18809         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
18810         (old__malloc_initialize_hook): Rename from
18811         __malloc_initialize_hook to evade poisoning.  Turn into compat
18812         symbol.
18813         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
18814         __malloc_initialize_hook.
18815         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
18816         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
18817         * manual/memory.texi (Hooks for Malloc): Remove
18818         __malloc_initialize_hook.  Adjust hook example.
18820 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
18822         [BZ #20235]
18823         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
18824         itself.
18825         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18826         * math/libm-test.inc (log2_test_data): Add sNaN tests.
18828         [BZ #20234]
18829         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
18830         infinity or NaN input to itself.
18832         [BZ #20233]
18833         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
18834         to itself.
18836         [BZ #20232]
18837         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
18838         itself.
18840 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18842         * sysdeps/x86_64/start.S (_start): Always indirect branch to
18843         __libc_start_main via GOT.
18845 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18847         * sysdeps/x86_64/memcopy.h: New file.
18848         * sysdeps/x86_64/wordcopy.c: Likewise.
18850 2016-06-09  Florian Weimer  <fweimer@redhat.com>
18852         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
18853         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
18854         <cstdlib>.
18855         (optimization_barrier): New.
18856         (do_test): Use it.  Call quick_exit in the global namespace.
18857         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
18858         instead of <cstdlib>, <thread>.
18859         (optimization_barrier): New.
18860         (non_main_thread): Adjust declaration.  Call optimization_barrier.
18861         Call quick_exit in the global namespace.
18862         (do_test): Call optimization_barrier.  Use pthread_create,
18863         pthread_join instead of std::thread.
18865 2016-06-09  Andreas Schwab  <schwab@suse.de>
18867         [BZ #19755]
18868         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
18869         new entries in auto-propagate mode.
18870         * nscd/grpcache.c (cache_addgr): Likewise.
18872 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18874         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
18875         New functions.
18876         (add_temp_file): Use them.
18878 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
18880         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
18882 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
18884         [BZ #20229]
18885         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
18886         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
18887         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
18889         [BZ #20228]
18890         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
18891         itself.
18892         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18893         * math/libm-test.inc (log10_test_data): Add sNaN tests.
18895         [BZ #20227]
18896         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
18897         itself.
18898         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18899         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18900         * math/libm-test.inc (log_test_data): Add sNaN tests.
18902         [BZ #20226]
18903         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
18904         itself.
18905         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18906         * math/libm-test.inc (exp_test_data): Add sNaN tests.
18907         (exp10_test_data): Likewise.
18908         (expm1_test_data): Likewise.
18910         [BZ #20225]
18911         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
18912         itself.
18913         * math/s_ldexpf.c (__ldexpf): Likewise.
18914         * math/s_ldexpl.c (__ldexpl): Likewise.
18915         * math/w_scalbln.c (__w_scalbln): Likewise.
18916         * math/w_scalblnf.c (__w_scalblnf): Likewise.
18917         * math/w_scalblnl.c (__w_scalblnl): Likewise.
18918         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
18919         (scalbln_test_data): Likewise.
18921         [BZ #20224]
18922         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
18923         argument to itself.
18924         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
18926 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
18928         [BZ #19776]
18929         * sysdeps/x86_64/memcpy.S: Make it dummy.
18930         * sysdeps/x86_64/mempcpy.S: Likewise.
18931         * sysdeps/x86_64/memmove.S: New file.
18932         * sysdeps/x86_64/memmove_chk.S: Likewise.
18933         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
18934         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
18935         * sysdeps/x86_64/memmove.c: Removed.
18936         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18937         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18938         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
18939         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
18940         Likewise.
18941         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18942         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18943         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18944         memcpy-sse2-unaligned, memmove-avx-unaligned,
18945         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
18946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18947         (__libc_ifunc_impl_list): Replace
18948         __memmove_chk_avx512_unaligned_2 with
18949         __memmove_chk_avx512_unaligned.  Remove
18950         __memmove_chk_avx_unaligned_2.  Replace
18951         __memmove_chk_sse2_unaligned_2 with
18952         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
18953         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
18954         with __memmove_avx512_unaligned.  Replace
18955         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
18956         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
18957         with __memcpy_chk_avx512_unaligned.  Remove
18958         __memcpy_chk_avx_unaligned_2.  Replace
18959         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
18960         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
18961         Replace __memcpy_avx512_unaligned_2 with
18962         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
18963         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
18964         with __mempcpy_chk_avx512_unaligned.  Remove
18965         __mempcpy_chk_avx_unaligned_2.  Replace
18966         __mempcpy_chk_sse2_unaligned_2 with
18967         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
18968         Replace __mempcpy_avx512_unaligned_2 with
18969         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
18970         Replace __mempcpy_sse2_unaligned_2 with
18971         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
18972         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
18973         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
18974         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
18975         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
18976         (ENTRY): Removed.
18977         (END): Likewise.
18978         (ENTRY_CHK): Likewise.
18979         (libc_hidden_builtin_def): Likewise.
18980         Don't include ../memcpy.S.
18981         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
18982         __memcpy_chk_avx512_unaligned_erms and
18983         __memcpy_chk_avx512_unaligned.  Use
18984         __memcpy_chk_avx_unaligned_erms and
18985         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18986         Default to __memcpy_chk_sse2_unaligned.
18987         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18988         Change function suffix from unaligned_2 to unaligned.
18989         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
18990         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
18991         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
18992         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
18993         (ENTRY): Removed.
18994         (END): Likewise.
18995         (ENTRY_CHK): Likewise.
18996         (libc_hidden_builtin_def): Likewise.
18997         Don't include ../mempcpy.S.
18998         (mempcpy): New.  Add a weak alias.
18999         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
19000         __mempcpy_chk_avx512_unaligned_erms and
19001         __mempcpy_chk_avx512_unaligned.  Use
19002         __mempcpy_chk_avx_unaligned_erms and
19003         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
19004         Default to __mempcpy_chk_sse2_unaligned.
19006 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
19008         [BZ #19881]
19009         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
19010         into ...
19011         * sysdeps/x86_64/memset.S: This.
19012         (__bzero): Removed.
19013         (__memset_tail): Likewise.
19014         (__memset_chk): Likewise.
19015         (memset): Likewise.
19016         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
19017         defined.
19018         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
19019         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
19020         (__memset_zero_constant_len_parameter): Check SHARED instead of
19021         PIC.
19022         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19023         memset-avx2 and memset-sse2-unaligned-erms.
19024         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19025         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
19026         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
19027         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
19028         (__bzero): Enabled.
19029         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
19030         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
19031         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
19032         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
19033         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
19034         (memset): Removed.
19035         (__memset_chk): Likewise.
19036         (MEMSET_SYMBOL): New.
19037         (libc_hidden_builtin_def): Replace __memset_sse2 with
19038         __memset_sse2_unaligned.
19039         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
19040         __memset_chk_sse2 and __memset_chk_avx2 with
19041         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
19042         Use __memset_chk_sse2_unaligned_erms or
19043         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
19044         __memset_chk_avx512_unaligned_erms and
19045         __memset_chk_avx512_unaligned.
19047 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19049         * math/gen-auto-libm-test.c (fp_format_desc): remove
19050         suffix member.
19051         (output_generic_value): Remove usage of suffix member,
19052         and the resulting unuse of the fp_format argument.
19053         (output_for_one_input_case): Remove unused fp_format
19054         parameter.
19056         * math/auto-libm-test-out: Regenerate.
19058         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
19059         usage with TEST_COND_ibm128.
19060         (TEST_COND_flt_32): Remove.
19061         (TEST_COND_dbl_64): Remove.
19062         (TEST_COND_ldbl_96_intel): Remove.
19063         (TEST_COND_ldbl_96_m68k): Remove.
19064         (TEST_COND_ldbl_128): Remove.
19066 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19068         * auto-libm-test-in:
19069         Replace flt-32 usage with binary32.
19070         Replace dbl-64 usage with binary64.
19071         Replace ldbl-intel-96 usage with intel96.
19072         Replace ldbl-m68k-96 usage with m68k96.
19073         Replace ldbl-128ibm usage with ibm128.
19074         Replace ldbl-128 usage with binary128.
19076         * auto-libm-test-out: Regenerate.
19078 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19080         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
19081         (parse_ulps): Dynamically generate type name matching
19082         string from all_floats.
19083         (get_ulps): Generate the ulps as an array instead.
19084         (output_ulps): Dynamically compose the type based
19085         on the number of supported formats, and print
19086         the indices as type specific helper macros.
19088         * math/libm-test.inc: Remove comment about CHOOSE.
19089         (ulp_data): Generate the type in libm-test-ulps.h.
19090         (ULP_IDX): New macro.
19091         (find_ulps): Update usage of max_ulp.
19093         * math/test-double-vlen2.h (CHOOSE): Remove.
19094         * math/test-double-vlen4.h (CHOOSE): Likewise.
19095         * math/test-double-vlen8.h (CHOOSE): Likewise.
19096         * math/test-float.c (CHOOSE): Likewise.
19097         * math/test-float-finite.c (CHOOSE): Likewise.
19098         * math/test-double.c (CHOOSE): Likewise.
19099         * math/test-double-finite.c (CHOOSE): Likewise.
19100         * math/test-idouble.c (CHOOSE): Likewise.
19101         * math/test-ifloat.c (CHOOSE): Likewise.
19102         * math/test-ildoubl.c (CHOOSE): Likewise.
19103         * math/test-ldouble-finite.c (CHOOSE): Likewise.
19104         * math/test-ldouble.c (CHOOSE): Likewise.
19106         * math/test-float.h (TEST_FLOAT): Remove.
19107         * math/test-double.h (TEST_DOUBLE): Likewise.
19108         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
19110 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19112         * math/gen-libm-test.pl: (apply_lit): New subroutine.
19113         (parse_args): Strip C suffix from floating point literals
19114         typed with 'f' and wrap them with LIT().
19116         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
19117         (test_ff_f_data_nexttoward): Rename to
19118         (test_fj_f_data): New struct.
19119         (nexttoward_test_data): Relabel tests as
19120         TEST_fj_f instead of TEST_ff_f.
19122 2016-06-08  Florian Weimer  <fweimer@redhat.com>
19124         Emacs bug 23726.
19125         * malloc/malloc.c (dumped_main_arena_start): Update comment.
19126         (__libc_realloc): Correct size computation for dumped fake mmapped
19127         chunks.
19129 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
19131         [BZ #20219]
19132         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
19133         to itself.
19134         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
19136         [BZ #20218]
19137         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
19138         to itself.
19139         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
19141 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
19143         [BZ #20195]
19144         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
19145         check to ...
19146         (init_cpu_features): Here.
19148 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
19150         [BZ #20214]
19151         * sysdeps/unix/sysv/linux/bits/in.h
19152         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19153          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
19154         Define to 1.
19155         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19156          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
19157         Define to 0.
19158         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
19159         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
19161 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
19163         [BZ #20198]
19164         * stdlib/Makefile (tests): Add tst-quick_exit, and
19165         tst-thread-quick_exit.
19166         [ifeq ($(have-cxx-thread_local),yes)]
19167         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
19168         (CFLAGS-tst-thread-quick_exit.o): Likewise.
19169         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
19170         (LDLIBS-tst-thread-quick_exit): Likewise.
19171         [ifneq ($(have-cxx-thread_local),yes)]
19172         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
19173         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
19174         If run_dtors is true call __call_tls_dtors.
19175         (exit): Call __run_exit_handlers with run_dtors set to true.
19176         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
19177         definition.
19178         * stdlib/quick_exit.c (quick_exit): Remove function.
19179         (__new_quick_exit): New function.
19180         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
19181         function.
19182         * stdlib/tst-quick_exit.cc: New file.
19183         * stdlib/tst-thread-quick_exit.cc: New file.
19184         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
19185         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
19186         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
19187         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
19188         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
19189         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
19190         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
19191         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
19192         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
19193         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
19194         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
19195         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
19196         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
19197         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
19198         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
19199         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
19201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
19202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
19203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
19204         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
19205         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
19206         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
19207         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
19208         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
19209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
19210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
19211         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
19212         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
19213         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
19215 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
19217         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
19218         a typo in comments.
19220 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
19222         [BZ #20213]
19223         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
19224         argument to itself.
19225         * math/libm-test.inc (asin_test_data): Add sNaN tests.
19227 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19229         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
19230         required flags.
19231         (CFLAGS-pwritev64.c): Likewise.
19232         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
19233         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
19234         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
19235         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19236         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
19237         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
19238         syscall from auto-generation.
19239         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
19240         [WORDSIZE == 64] (pwritev64): Remove macro.
19241         [!PWRITEV] (PWRITEV): Likewise.
19242         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
19243         [!PWRITEV] (PWRITE): Likewise.
19244         [!PWRITEV] (OFF_T): Likewise.
19245         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
19246         (LO_HI_LONG): Remove macro.
19247         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
19248         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
19249         (PWRITEV): Remove macro.
19250         (PWRITEV_REPLACEMENTE): Likewise.
19251         (PWRITE): Likewise.
19252         (OFF_T): Likewise.
19253         (pwritev64): New function.
19254         * nptl/tst-cancel4.c (tf_writev): Add test.
19256         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
19257         required flags.
19258         (CFLAGS-preadv64.c): Likewise.
19259         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
19260         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
19261         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
19262         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
19263         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
19264         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
19265         syscall from auto-generation.
19266         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
19267         [WORDSIZE == 64] (preadv64): Remove macro.
19268         [!PREADV] (PREADV): Likewise.
19269         [!PREADV] (PREADV_REPLACEMENT): Likewise.
19270         [!PREADV] (PREAD): Likewise.
19271         [!PREADV] (OFF_T): Likewise.
19272         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
19273         (LO_HI_LONG): Remove macro.
19274         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
19275         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
19276         (PREADV): Remove macro.
19277         (PREADV_REPLACEMENTE): Likewise.
19278         (PREAD): Likewise.
19279         (OFF_T): Likewise.
19280         (preadv64): New function.
19281         * nptl/tst-cancel4.c (tf_preadv): Add test.
19283 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
19285         [BZ #20212]
19286         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
19287         argument to itself.
19288         * math/libm-test.inc (acos_test_data): Add sNaN tests.
19290 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19292         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
19293         New symbol defined as libc_hidden_def.
19294         (strcasestr): Became a weak alias to __strcasestr.
19295         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
19296         according to multi-arch support.  Move __stpncpy hidden
19297         definition from here to...
19298         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
19299         symbol stpncpy.
19300         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
19301         libc_hidden_builtin_def.
19302         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
19303         memset symbol to use when multi-arch support is available.
19305 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
19307         * dlfcn/tst-rec-dlopen.c: Include string.h.
19309 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19311         * manual/install.texi: Remove mention of --without-tls
19312         * INSTALL: Regenerate.
19314 2016-06-05  Florian Weimer  <fweimer@redhat.com>
19316         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
19317         Remove.
19318         (call_function, interposed_malloc_called): New variables.
19319         (malloc): New function.
19320         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
19321         and clear call_function as needed.
19323 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
19325         * include/wchar.h (__wmemset): Use __typeof.
19327 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
19329         * include/wchar.h (__wmemset): Declare function without typeof.
19331 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
19333         [BZ #20205]
19334         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
19335         exponent when incrementing negative subnormal with low mantissa
19336         word zero.
19337         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19338         Add another test.
19340 2016-06-03  Florian Weimer  <fweimer@redhat.com>
19342         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
19343         __wmemset instead of wmemset.
19345 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
19347         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
19348         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
19349         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
19350         __USE_KERNEL_IPV6_DEFS to 0.
19351         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
19352         Update comment.
19354 2016-06-01  Florian Weimer  <fweimer@redhat.com>
19356         [BZ #19861]
19357         Do not use IFUNC resolver with potentially unrelocated symbol.
19358         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
19359         (DEFINE_FORK): Remove macro and inline definition.
19360         (fork_alias): Renamed from fork_ifunc.
19361         (__fork_alias): Renamed from __fork_ifunc.
19363 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
19365         [BZ 19653]
19366         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
19367         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
19369 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19371         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
19372         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
19373         i386-linux-gnu).
19374         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
19375         Set to no.
19376         * sysdeps/mach/hurd/configure: Refresh.
19378 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19380         [BZ #20178]
19381         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
19382         on failure instead of exit.
19384 2016-05-30  Roland McGrath  <roland@hack.frob.com>
19386         [BZ #3629]
19387         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
19388         of POSIX.1-2008.
19390 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19392         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
19393           Use PLT entry for calling _hurd_self_sigstate.
19395 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
19397         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
19398         available logical processors with SMT level type sharing L2
19399         cache for Intel processors.
19401 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19403         [BZ #20160]
19404         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
19405         argument to itself before returning the result.
19406         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19407         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19408         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19409         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19410         Likewise.
19411         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19412         Likewise.
19413         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
19414         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
19415         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19416         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19417         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19418         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19420         [BZ #20160]
19421         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
19422         argument to itself before returning the result.
19423         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19424         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19425         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19426         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
19427         Likewise.
19428         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19429         Likewise.
19430         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
19431         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
19432         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
19433         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19434         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19435         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19437 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19439         * libm-test.inc: Replace usage of M_El with
19440         (lit_e): New macro.
19442 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19444         * libm-test.inc: Replace usage of M_PI_4l with
19445         (lit_pi_4_d): New macro.
19447 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19449         * libm-test.inc: Replace usage of M_PIl with
19450         (lit_pi): New macro.
19452 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19454         * libm-test.inc: Replace usage of M_PI2l with
19455         (lit_pi_2_d): New macro.
19457         * math/test-double.h (LITM): New macro.
19458         * math/test-float.h (LITM): Likewise.
19459         * math/test-ldouble.h (LITM): Likewise.
19461 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19463         * libm-test.inc (M_PI_34l): Rename to
19464         (lit_pi_3_m_4_d): New Macro.
19465         (M_PI_34_LOG10El): Rename to
19466         (lit_pi_3_m_4_ln10_m_d): New Macro.
19467         (M_PI2_LOG10El): Rename to
19468         (lit_pi_2_ln10_m_d):  New Macro.
19469         (M_PI4_LOG10El): Rename to
19470         (lit_pi_4_ln10_m_d):  New Macro.
19471         (M_PI_LOG10El): Rename to
19472         (lit_pi_ln10_d):  New Macro.
19474 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19476         [BZ #20157]
19477         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
19478         determine whether to negate low half if [_ARCH_PPCGR], and integer
19479         comparison otherwise.
19480         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
19481         determine whether to negate low half.
19483         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
19484         (NO_TEST_INLINE_DOUBLE): Likewise.
19485         (TEST_COND_x86_64): Likewise.
19486         (TEST_COND_x86): Likewise.
19487         (M_PI_6l): Likewise.
19489 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19491         * math/libm-test.inc:
19492         (TEST_FLOAT): Change usage to TEST_COND_binary32.
19493         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
19494         (TEST_LDOUBLE): Update usage to evaluate as true if
19495         the guarded tests match the property being tested.
19496         (LDBL_MAX_EXP): Change to MAX_EXP.
19497         (LDBL_MIN_EXP): Change to MIN_EXP.
19498         (LDBL_MANT_DIG): Change to MANT_DIG, except for
19499         nexttoward tests.
19501 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19503         * math/libm-test.inc:
19504         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
19505         (TYPE_MIN): Likewise.
19506         (TYPE_TRUE_MIN): Likewise.
19507         (TYPE_MAX): Likewise.
19508         (MIN_EXP): Likewise.
19509         (MAX_EXP): Likewise.
19510         (MANT_DIG): Likewise.
19512         (FSTR_MAX): New macro.
19513         (__CONCATX): Likewise.
19514         (QTYPE_STR): Likewise.
19515         (TEST_COND_binary32): Likewise.
19516         (TEST_COND_binary64): Likewise.
19517         (TEST_COND_binary128): Likewise.
19518         (TEST_COND_ibm128): Likewise.
19519         (TEST_COND_intel96): Likewise.
19520         (TEST_COND_m68k96): Likewise.
19522         (TEST_COND_flt_32): Redefine as equivalent format test macro.
19523         (TEST_COND_dbl_64): Likewise.
19524         (TEST_COND_ldbl_96_intel): Likewise.
19525         (TEST_COND_ldbl_96_m68k): Likewise.
19526         (TEST_COND_ldbl_128): Likewise.
19527         (TEST_COND_ldbl_128ibm): Likewise.
19529         (plus_zero): Redefine using LIT macro.
19530         (minus_zero): Likewise.
19531         (plus_infty): Redefine as (INF).
19532         (minux_infty): Redefine as (-INF).
19533         (max_value): Redefine as TYPE_MAX.
19534         (min_value): Redefine as TYPE_MIN.
19535         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
19537         (print_float): Refactor to use snprintf to convert FLOAT values
19538         to string. This brings it closer to dropin replacement of strtof
19539         for the TS 18661 defined types.
19540         (update_stats): Likewise.
19541         (print_complex_function_ulps): Likewise.
19542         (print_max_error): Likewise.
19543         (print_complex_max_error): Likewise.
19544         (check_float_internal): Likewise.
19546         * math/test-float.h (PREFIX): New macro.
19547         (LIT): Likewise.
19548         (TYPE_STR): Likewise.
19549         (FTOSTR): Likewise.
19551         * math/test-double.h (PREFIX): New macro.
19552         (LIT): Likewise.
19553         (TYPE_STR): Likewise.
19554         (FTOSTR): Likewise.
19556         * math/test-ldouble.h (PREFIX): New macro.
19557         (LIT): Likewise.
19558         (TYPE_STR): Likewise.
19559         (FTOSTR): Likewise.
19561 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19563         [BZ #20156]
19564         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
19565         to itself when zero or not finite.
19566         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
19567         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19568         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
19569         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
19571 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
19573         [BZ #20153]
19574         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
19575         x * x + x for infinities and NaNs.
19577         [BZ #20151]
19578         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
19579         argument to itself before returning result.
19580         (__ieee754_y0l): Likewise.
19581         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19582         (__ieee754_y1l).
19584         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
19585         (atan_test_data): Likewise.
19586         (ceil_test_data): Likewise.
19587         (cos_test_data): Likewise.
19588         (cosh_test_data): Likewise.
19589         (erf_test_data): Likewise.
19590         (exp2_test_data): Likewise.
19591         (fabs_test_data): Likewise.
19592         (floor_test_data): Likewise.
19593         (ilogb_test_data): Likewise.
19594         (j0_test_data): Likewise.
19595         (j1_test_data): Likewise.
19596         (jn_test_data): Likewise.
19597         (lgamma_test_data): Likewise.
19598         (lrint_test_data): Likewise.
19599         (llrint_test_data): Likewise.
19600         (logb_test_data): Likewise.
19601         (lround_test_data): Likewise.
19602         (llround_test_data): Likewise.
19603         (nearbyint_test_data): Likewise.
19604         (rint_test_data): Likewise.
19605         (round_test_data): Likewise.
19606         (sin_test_data): Likewise.
19607         (sincos_test_data): Likewise.
19608         (sinh_test_data): Likewise.
19609         (sqrt_test_data): Likewise.
19610         (tan_test_data): Likewise.
19611         (tanh_test_data): Likewise.
19612         (tgamma_test_data): Likewise.
19613         (trunc_test_data): Likewise.
19614         (y0_test_data): Likewise.
19615         (y1_test_data): Likewise.
19616         (yn_test_data): Likewise.
19618         * math/libm-test.inc: Update comment about NaN testing.
19619         (TEST_SNAN): New macro.
19620         (snan_value): Likewise.
19621         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
19622         (fpclassify_test_data): Add sNaN tests.
19623         (isfinite_test_data): Likewise.
19624         (isinf_test_data): Likewise.
19625         (isnan_test_data): Likewise.
19626         (isnormal_test_data): Likewise.
19627         (issignaling_test_data): Likewise.
19628         (signbit_test_data): Likewise.
19629         * math/gen-libm-test.pl (%beautify): Add snan_value.
19630         (show_exceptions): Add argument $test_snan.
19631         (parse_args): Handle snan_value as non-finite.  Update call to
19632         show_exceptions.
19633         * math/Makefile (libm-test-no-inline-cflags): Add
19634         -fsignaling-nans.
19636 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19638         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
19639         (CFLAGS-oldsendmsg.c): Add rule.
19640         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19641         Correct recvmsg symbol name.
19642         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
19643         Likewise.
19645 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19647         * sysdeps/unix/sysv/linux/Makefile
19648         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
19649         oldsendmmsg.
19650         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
19651         sendmmsg.
19652         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19653         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19654         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19655         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19657         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19658         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19660         Likewise.
19661         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19662         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
19663         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19664         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
19665         iovlen and controllen fields to adjust to POSIX specification.
19666         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19668         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
19669         and change to correct expected type.
19670         (msghdr.msg_controllen): Likewise.
19671         (cmsghdr.cmsg_len): Likewise.
19672         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
19673         expected POSIX assumption about the size.
19674         (msghdr.msg_controllen): Likewise.
19675         (msghdr.__glibc_reserved1): Likewise.
19676         (msghdr.__glibc_reserved2): Likewise.
19677         (cmsghdr.cmsg_len): Likewise.
19678         (cmsghdr.__glibc_reserved1): Likewise.
19679         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
19680         Add ptw-oldrecvmsg and ptw-oldsendmsg.
19681         (CFLAGS-sendmsg.c): Remove rule.
19682         (CFLAGS-recvmsg.c): Likewise.
19683         (CFLAGS-oldsendmsg.c): Add rule.
19684         (CFLAGS-oldrecvmsg.c): Likewise.
19685         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
19686         recvmsg and sendmsg.
19687         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
19688         Likewise.
19689         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
19690         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
19691         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19692         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
19693         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19694         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19695         Likewise.
19696         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19697         Likewise.
19698         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
19699         Likewise.
19700         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
19701         Likewise.
19702         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19703         Likewise.
19704         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19705         Likewise.
19706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
19707         (GLIBC_2.24): Likewise.
19708         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19709         Likewise.
19710         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19711         Likewise.
19712         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19713         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19714         Likewise.
19715         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19716         Likewise.
19717         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19718         Likewise.
19719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
19720         (GLIBC_2.24): Likewise.
19721         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
19722         Likewise.
19723         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
19724         Likewise.
19725         * sysdeps/unix/sysv/linux/Makefile
19726         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
19727         (CFLAGS-sendmsg.c): Add rule.
19728         (CFLAGS-recvmsg.c): Likewise.
19729         (CFLAGS-oldsendmsg.c): Likewise.
19730         (CFLAGS-oldrecvmsg.c): Likewise.
19731         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
19732         initialization.
19733         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19734         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19735         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
19736         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19737         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
19738         iovlen and controllen fields to adjust to POSIX specification.
19739         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
19740         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
19741         added recvmsg and sendmsg.
19742         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19743         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19744         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19745         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19746         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19747         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19748         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19749         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19750         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19751         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19752         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19753         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19755         Likewise.
19756         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
19757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19758         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19759         Likewise.
19760         Likewise.
19761         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19762         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19763         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19764         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19765         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19766         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19768         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19770         Likewise.
19771         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19772         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19774         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
19775         from auto-generation.
19776         (sendmsg): Likewise.
19777         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
19778         (sendmsg): Likewise.
19779         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
19780         (sendmsg): Likewise.
19781         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
19782         (sendmsg): Likewise.
19783         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
19784         (sendmsg): Likewise.
19785         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
19786         (sendmsg): Likewise.
19787         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
19788         Likewise.
19789         (sendmsg): Likewise.
19790         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
19791         (sendmsg): Likewise.
19792         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19793         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19794         Remove.
19795         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19796         Likewise.
19797         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19798         Undefine.
19799         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19800         Likewise.
19801         * sysdeps/unix/sysv/linux/kernel-features.h
19802         (__ASSUME_SENDMSG_SYSCALL): Define.
19803         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19804         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19805         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19806         Remove.
19807         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19808         Likewise.
19809         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19810         Undefine.
19811         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19812         Likewise.
19813         * sysdeps/unix/sysv/linux/s390/kernel-features.h
19814         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19815         Remove.
19816         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19817         Likewise.
19818         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19819         Undefine.
19820         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19821         Likewise.
19822         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19823         (__ASSUME_SENDMSG_SYSCALL): Undefine.
19824         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19825         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19826         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19827         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19828         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19829         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19830         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19832 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19834         * stdlib/gen-tst-strtod-round.c: Add backslash to
19835         compile command in comment.
19836         (printfp): Remove the literal suffix, and define an infinite
19837         value as INF to avoid expansion clash with INFINITY.
19838         (round_str): Remove the literal suffix.
19839         (round_for_all): Likewise, remove the now duplicate ldbl-64
19840         entry, and remove some magic constants.
19842         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
19843         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
19844         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
19845         (_CONCAT): New macro.
19846         (CONCAT): Likewise.
19847         (CHOOSE_ld): Likewise.
19848         (CHOOSE_f): Likewise.
19849         (CHOOSE_d): Likewise.
19850         (FTYPE_MEMBER): Likewise.
19851         (BOOL_MEMBER): Likewise.
19852         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
19853         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
19854         (_XNTRY): Likewise.
19855         (XNTRY): Likewise.
19856         (_ENTRY): Likewise.
19857         (ENTRY): Likewise.
19858         (test_exactness): Generate members via macro.
19859         (test_results): Likewise.
19860         (test): Update members.
19861         (TEST): Redefine using new macros.
19862         (INF): New macro.
19863         (fetestmodes): New structure.
19864         (do_test): Refactor to be type generic.
19865         (test_in_one_mode): Refactor duplicate code into
19866         (GEN_ONE_TEST): New macro.
19868         * stdlib/tst-strtod-round-data.h: Regenerate.
19870         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
19871         Extend to pass additional arbitrary parameters to
19872         generators.
19874 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
19876         [BZ #15479]
19877         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
19878         floating-point state after first floating-point operation on
19879         input.  Restore full floating-point state instead of just rounding
19880         mode.
19881         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19882         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19883         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19884         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19885         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19887         [BZ #15479]
19888         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
19889         floating-point state after first floating-point operation on
19890         input.  Restore full floating-point state instead of just rounding
19891         mode.
19892         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19893         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19894         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19895         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19896         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19898 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19900         [BZ #19727]
19901         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
19902         valid high surrogate.
19903         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
19904         of an utf16 surrogate.
19905         * iconv/gconv_simple.c (BODY): Likewise.
19906         * iconvdata/bug-iconv12.c: New file.
19907         * iconvdata/Makefile (tests): Add bug-iconv12.
19909 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19911         [BZ #19726]
19912         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
19913         outptrp in case of an illegal input.
19914         * iconv/tst-iconv6.c: New file.
19915         * iconv/Makefile (tests): Add tst-iconv6.
19917 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19919         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
19920         an error in case of a value in range of an utf16 low surrogate.
19922 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19924         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
19925         an error in case of a value in range of an utf16 low surrogate.
19927 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19929         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
19930         Move to ...
19931         * sysdeps/s390/Makefile: ... here.
19932         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
19933         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
19934         (BRANCH_ON_COUNT): New define.
19935         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
19936         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
19937         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
19938         run on s390-32, too.
19939         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
19940         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
19941         run on s390-32, too.
19942         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
19943         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
19944         run on s390-32, too.
19946 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19948         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
19949         etf3eh or new vector loop-variant.
19951 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19953         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
19954         etf3eh or new vector loop-variant.
19956 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19958         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
19959         or new vector loop-variant.
19961 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19963         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
19964         Rename to TR_LOOP and usage of tr instead of troo instruction.
19966 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19968         * sysdeps/s390/multiarch/gconv_simple.c: New File.
19969         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
19971 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19973         * sysdeps/s390/multiarch/8bit-generic.c: New File.
19974         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
19975         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
19976         New override define.
19977         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
19979 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19981         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
19982         * sysdeps/s390/configure.ac: Add test for S390 vector register
19983         support in gcc.
19984         * sysdeps/s390/configure: Regenerated.
19986 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19988         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
19989         Install file from $(objpfx)gconv-modules.
19990         ($(objpfx)gconv-modules): Concatenate architecture specific file
19991         in variable sysdeps-gconv-modules and gconv-modules in src dir.
19992         * sysdeps/s390/gconv-modules: New file.
19993         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
19994         Deleted.
19995         ($(objpfx)gconv-modules-s390): Deleted.
19996         (sysdeps-gconv-modules): New variable.
19998 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
20000         [BZ #15479]
20001         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
20002         of immediate operand to rounding instruction.
20003         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
20004         Likewise.
20005         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
20006         Likewise.
20007         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
20008         Likewise.
20010 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20012         * math/libm-test.inc (MIN_EXP): Directly define as
20013         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
20015 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20017         * math/libm-test.inc (MANT_DIG): Directly define as
20018         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
20020 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20022         * stdlib/gen-tst-strtod-round.c (main):
20023           Change usage to more closely match the generated
20024           output.  Add usage and compilation instructions.
20025           (string_to_fp): Add and use FILE* parameter as
20026           output target.
20027           (print_fp): Likewise.
20028           (round_str): Likewise.
20029           (round_for_all): Likewise.
20030         * stdlib/tst-strtod-round.c (tests): Move into
20031         * stdlib/tst-strtod-round-data.h: New file.
20033 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
20035         [BZ #15479]
20036         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
20037         (__round): Do not force "inexact" exception.
20038         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
20039         variable.
20040         (__round): Do not force "inexact" exception.
20041         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
20042         (__roundf): Do not force "inexact" exception.
20043         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
20044         (__roundl): Do not force "inexact" exception.
20045         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
20046         (__roundl): Do not force "inexact" exception.
20047         * math/libm-test.inc (round_test_data): Do not allow spurious
20048         "inexact" exceptions.
20050         [BZ #15479]
20051         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
20052         exception in comment.
20053         (huge): Remove variable.
20054         (__floor): Do not force "inexact" exception.
20055         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
20056         "inexact" exception in comment.
20057         (huge): Remove variable.
20058         (__floor): Do not force "inexact" exception.
20059         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
20060         exception in comment.
20061         (huge): Remove variable.
20062         (__floorf): Do not force "inexact" exception.
20063         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
20064         exception in comment.
20065         (huge): Remove variable.
20066         (__floorl): Do not force "inexact" exception.
20068         [BZ #15479]
20069         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
20070         exception in comment.
20071         (huge): Remove variable.
20072         (__ceil): Do not force "inexact" exception.
20073         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
20074         "inexact" exception in comment.
20075         (huge): Remove variable.
20076         (__ceil): Do not force "inexact" exception.
20077         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
20078         (__ceilf): Do not force "inexact" exception.
20079         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
20080         exception in comment.
20081         (huge): Remove variable.
20082         (__ceill): Do not force "inexact" exception.
20084 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20086         * config.h.in (BIND_NOW): New.
20087         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
20088         * configure: Regenerated.
20089         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
20090         indirect branch via the GOT slot.
20092 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20094         [BZ #19765]
20095         * sysdeps/s390/mempcpy.S: New File.
20096         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
20097         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
20098         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20099         Add mempcpy variants.
20100         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
20101         (memcpy): Adjust to be usable from mempcpy entry point.
20102         (__memcpy_mvcle): Likewise.
20103         * sysdeps/s390/s390-64/memcpy.S: Likewise.
20104         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
20105         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
20106         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
20107         (__memcpy_z10): Likewise.
20108         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
20110 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20112         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
20113         Remove __GI_ symbol.
20114         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
20115         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
20116         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
20117         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
20118         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
20119         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
20121 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20123         * sysdeps/s390/s390-64/memcpy.S (memcpy):
20124         Use cghi instead of chi to compare 64bit value.
20126 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20128         * sysdeps/s390/s390-32/memcpy.S (memcpy):
20129         Jump to 1MB check before executing mvc-loop.
20131 2016-05-24  Florian Weimer  <fweimer@redhat.com>
20133         [BZ #6527]
20134         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
20135         unconditionally.
20136         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
20138 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20140         * stdlib/tst-strtod6.c (do_test): Use new type generic
20141         invocation of the test function.
20142         (test): Refactor into ...
20143         (TEST_STRTOD): New macro base function.
20145 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20147         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
20148         (TEST_STRTOD): New macro.
20149         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
20151 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20153         * stdlib/tst-strtod6.c (do_test): Use new type generic
20154         invocation of the test function.
20155         (test): Refactor into ...
20156         (TEST_STRTOD): New macro base function.
20158 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20160         CVE-2016-4429
20161         [BZ #20112]
20162         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
20163         payload.
20165 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20167         [BZ #20111]
20168         * bits/sockaddr.h (_SS_SIZE): Define.
20169         * bits/socket.h (_SS_SIZE): Remove.
20170         (_SS_PADSIZE): Adjust to account for all padding.
20171         (struct sockaddr_storage): Update comment.  Avoid implicit
20172         padding.
20173         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
20174         (_SS_PADSIZE): Adjust to account for all padding.
20175         (struct sockaddr_storage): Update comment.  Avoid implicit
20176         padding.
20177         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
20178         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
20179         (_SS_PADSIZE): Adjust to account for all padding.
20180         (struct sockaddr_storage): Update comment.  Avoid implicit
20181         padding.
20182         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
20183         __SS_SIZE is 126 in this version.
20184         * inet/tst-sockaddr.c: New file.
20185         * inet/Makefile (tests): Add tst-sockaddr.c
20186         (tst-sockaddr.c): Compile with non-strict aliasing.
20188 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
20190         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
20191         [XPG3 || XPG4].
20192         (NL_ARGMAX): Also expect for [XPG3].
20193         (NL_LANGMAX): Likewise.
20194         (NL_MSGMAX): Likewise.
20195         (NL_NMAX): Likewise.
20196         (NL_SETMAX): Likewise.
20197         (NL_TEXTMAX): Likewise.
20198         (NZERO): Likewise.
20199         (TMP_MAX): Likewise.
20200         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
20201         variable.
20203         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
20204         (PF_MAX): Update value.
20205         (AF_KCM): New macro.
20206         (SOL_NETBEUI): Likewise.
20207         (SOL_LLC): Likewise.
20208         (SOL_DCCP): Likewise.
20209         (SOL_NETLINK): Likewise.
20210         (SOL_TIPC): Likewise.
20211         (SOL_RXRPC): Likewise.
20212         (SOL_PPPOL2TP): Likewise.
20213         (SOL_BLUETOOTH): Likewise.
20214         (SOL_PNPIPE): Likewise.
20215         (SOL_RDS): Likewise.
20216         (SOL_IUCV): Likewise.
20217         (SOL_CAIF): Likewise.
20218         (SOL_ALG): Likewise.
20219         (SOL_NFC): Likewise.
20220         (SOL_KCM): Likewise.
20221         (MSG_BATCH): New enum value and macro.
20223 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
20225         [BZ #18185]
20226         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
20227         sharing L2 cache to 2 for Knights Landing.
20229 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
20231         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
20232         (FTW_DP): Do not expect for [XPG3 || XPG4].
20233         (FTW_SL): Do not expect for [XPG3].
20234         (FTW_SLN): Likewise.
20235         (FTW_PHYS): Likewise.
20236         (FTW_MOUNT): Likewise.
20237         (FTW_DEPTH): Likewise.
20238         (FTW_CHDIR): Likewise.
20239         (nftw): Likewise.
20240         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
20241         variable.
20243 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
20245         * manual/errno.texi: Fix various typos & grammar errors.
20247 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
20249         * manual/intro.texi: Fix duplicated typo.
20251 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
20253         [BZ #13304]
20254         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
20255         <float.h>, <math_private.h> and <stdlib.h>.
20256         (add_split): New function.
20257         (mul_split): Likewise.
20258         (ext_val): New typedef.
20259         (store_ext_val): New function.
20260         (mul_ext_val): New function.
20261         (compare): New function.
20262         (add_split_ext): New function.
20263         (__fmal): After checking for Inf, NaN and zero, compute result as
20264         an exact sum of scaled double values in round-to-nearest before
20265         adding those up and adjusting for other rounding modes.
20266         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
20267         tests of fma.
20268         * math/auto-libm-test-out: Regenerated.
20270 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20272         [BZ #20119]
20273         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
20274         processor level type mask for CPUID with EAX == 11.
20276 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20278         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
20279         logical threads if the HTT bit is 0.
20280         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
20281         (index_cpu_HTT): Likewise.
20282         (reg_HTT): Likewise.
20284 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20286         [BZ #20115]
20287         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
20288         Remove alignments on jump targets.
20290 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
20292         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
20293         (getpwent): Likewise.
20294         (setpwent): Likewise.
20295         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
20296         variable.
20298         * conform/data/search.h-data (insque): Do not expect for [XPG3].
20299         (remque): Likewise.
20300         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
20301         variable.
20303 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
20305         * math/libm-test.inc: Update comment not to refer to signs of NaNs
20306         not being tested.
20308 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20310         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20311         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
20312         call.
20313         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20314         (__condvar_cleanup1): Likewise.
20316 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20318         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
20319         New
20320         (__pthread_unwind): Renamed to ...
20321         (PTHREAD_UNWIND): This.
20322         (__pthread_enable_asynccancel): Replace
20323         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
20325 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
20327         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
20328         (CLONE_NEWCGROUP): New macro.
20330         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
20331         (Q_GETNEXTQUOTA): New macro.
20333 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20335         [BZ #19907]
20336         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
20337         buffer updated by the previous run.
20338         * string/test-memcpy.c (do_one_test): Likewise.
20339         * benchtests/bench-memmove.c (do_one_test): Add a comment.
20340         * string/test-memmove.c (do_one_test): Likewise.
20342 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
20344         [BZ #20094]
20345         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
20346         not [__USE_XOPEN].
20347         (unlockpt): Likewise.
20348         (ptsname): Likewise.
20349         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
20350         variable.
20352         [BZ #20076]
20353         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
20354         instead of [__USE_UNIX98].
20355         (S_ISSOCK): Likewise.
20356         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
20357         variable.
20359         [BZ #20074]
20360         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
20361         [__USE_POSIX].
20362         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
20363         variable.
20365         [BZ #20051]
20366         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
20367         (ttyslot): Do not declare.
20368         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
20369         (ttyslot): New prototype.
20370         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
20371         variable.
20372         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20374 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20376         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
20378 2016-05-13  Florian Weimer  <fweimer@redhat.com>
20380         Fix race condition in tst-mallocfork2, use fewer resources.
20381         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
20382         to current process group.
20383         (signal_sender): Yield in the non-sleeping case.
20385 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
20387         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
20388         (ecvt): Likewise.
20389         (fcvt): Likewise.
20390         (gcvt): Likewise.
20391         (getsubopt): Likewise.
20392         (grantpt): Likewise.
20393         (initstate): Likewise.
20394         (l64a): Likewise.
20395         (mktemp): Likewise.
20396         (mkstemp): Likewise.
20397         (ptsname): Likewise.
20398         (random): Likewise.
20399         (realpath): Likewise.
20400         (setstate): Likewise.
20401         (srandom): Likewise.
20402         (ttyslot): Likewise.
20403         (unlockpt): Likewise.
20404         (valloc): Likewise.
20406         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
20407         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
20408         variable.
20410 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20412         [BZ #20072]
20413         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
20414         init_cpu_features only if SHARED is defined.
20415         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
20417 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20419         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
20420         non-inclusive caches on Intel processors.
20422 2016-05-13  Florian Weimer  <fweimer@redhat.com>
20424         * malloc/malloc.c (dumped_main_arena_start)
20425         (dumped_main_arena_end): New variables.
20426         (DUMPED_MAIN_ARENA_CHUNK): New macro.
20427         (do_check_chunk): Skip dumped fake mmapped chunks.
20428         (munmap_chunk): Likewise.
20429         (__libc_free): Do not adjust statistics for fake mmapped chunks.
20430         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
20431         mmapped chunks.
20432         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
20433         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
20434         and dumped_main_arena_end to cover the dumped heap.
20436 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
20438         * conform/data/time.h-data (getdate_err): Do not expect for
20439         [XPG3].
20440         (getdate): Likewise.
20441         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
20442         variable.
20444         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
20445         (F_ULOCK): Likewise.
20446         (F_TEST): Likewise.
20447         (F_TLOCK): Likewise.
20448         (useconds_t): Likewise.
20449         (intptr_t): Do not expect for [XPG3] or [XPG4].
20450         (brk): Do not expect for [XPG3]
20451         (fchown): Likewise.
20452         (fchdir): Likewise.
20453         (ftruncate): Likewise.
20454         (getdtablesize): Likewise.
20455         (gethostid): Likewise.
20456         (getpagesize): Likewise.
20457         (getpgid): Likewise.
20458         (getsid): Likewise.
20459         (getwd): Likewise.
20460         (lchown): Likewise.
20461         (lockf): Likewise.
20462         (readlink): Likewise.
20463         (sbrk): Likewise.
20464         (setpgrp): Likewise.
20465         (setregid): Likewise.
20466         (setreuid): Likewise.
20467         (symlink): Likewise.
20468         (sync): Likewise.
20469         (truncate): Likewise.
20470         (ualarm): Likewise.
20471         (usleep): Likewise.
20472         (vfork): Likewise.
20473         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
20474         variable.
20476         [BZ #20054]
20477         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
20478         not [__USE_UNIX98].
20479         * conform/data/unistd.h-data (gethostname): Do not expect for
20480         [XPG3].
20482         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
20483         [!POSIX] (S_IFBLK): Likewise.
20484         [!POSIX] (S_IFCHR): Likewise.
20485         [!POSIX] (S_IFIFO): Likewise.
20486         [!POSIX] (S_IFREG): Likewise.
20487         [!POSIX] (S_IFDIR): Likewise.
20488         [!POSIX] (S_IFLNK): Likewise.
20489         [!POSIX] (S_IFSOCK): Likewise.
20490         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
20491         variable.
20492         (test-xfail-XPG4/fcntl.h/conform): Likewise.
20494 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
20496         * sysdeps/aarch64/memset.S (__memset):
20497         Rewrite of optimized memset.
20499 2016-05-12  Florian Weimer  <fweimer@redhat.com>
20501         [BZ #19703]
20502         Partially async-signal-safe fork for single-threaded processes.
20503         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
20504         variable.  Do not acquire and reset/release malloc and libio locks
20505         in single-threaded processes.
20506         * malloc/tst-mallocfork2.c: New file.
20507         * malloc/Makefile (tests): Add it.
20509 2016-05-12  Florian Weimer  <fweimer@redhat.com>
20511         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
20512         argument.  Use scratch buffer instead of extend_alloca.
20513         (gethosts): Use scratch buffer instead of extend_alloca.
20514         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
20515         extend_alloca.
20516         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
20518 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
20520         [BZ #20055]
20521         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
20522         instead of [__USE_UNIX98].
20523         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
20524         [__USE_UNIX98].
20525         * conform/data/termios.h-data (tcgetsid): Do not expect for
20526         [XPG3].
20527         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
20528         variable.
20529         (test-xfail-XPG4/termios.h/conform): Likewise.
20531 2016-05-11  Florian Weimer  <fweimer@redhat.com>
20533         Do not use mcheck in localedef.
20534         * locale/programs/localedef.c (turn_on_mcheck)
20535         (__malloc_initialize_hook): Remove.
20537 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20539         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
20540         * sysdeps/s390/s390-64/Makefile: Likewise.
20542 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20544         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
20545         Remove ifunc-defines.sym.
20546         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
20547         Likewise.
20548         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
20549         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20550         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
20551         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
20552         rtld-global-offsets.sym.
20553         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
20554         * sysdeps/x86/cpu-features-offsets.sym: This.
20555         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
20556         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
20558 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
20560         [BZ #20073]
20561         * io/sys/stat.h (fchmod): Declare for
20562         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
20563         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
20564         variable.
20566         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
20567         [XPG3] (S_IFSOCK): Likewise.
20568         [XPG3] (S_ISVTX): Likewise.
20569         [XPG3] (S_ISLNK): Likewise.
20570         [XPG3] (S_ISSOCK): Likewise.
20571         [XPG3] (fchmod): Likewise.
20572         [XPG3] (lstat): Likewise.
20573         [XPG3] (mknod): Likewise.
20575         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
20576         [XPG3].  Expect type long and XFAIL for [XPG4].
20577         (st_blocks): Likewise.
20579         [BZ #20044]
20580         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
20581         (pthread_atfork): New prototype.
20582         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
20583         variable.
20585         [BZ #20043]
20586         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
20587         prototype.
20589 2016-05-10  Florian Weimer  <fweimer@redhat.com>
20591         [BZ #20017]
20592         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
20593         gmtime.
20595 2016-05-10  Florian Weimer  <fweimer@redhat.com>
20597         [BZ #19994]
20598         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
20599         flag in _res.options.
20601 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
20603         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
20604         [XPG3 || XPG4].
20605         (blksize_t): Likewise.
20606         (clockid_t): Likewise.
20607         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
20608         variable.
20609         (test-xfail-XPG4/sys/types.h/conform): Likewise.
20611 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20613         * sysdeps/unix/sysv/linux/s390/init-first.c:
20614         Add VDSO_SYMBOL(getcpu).
20615         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
20616         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
20617         Add VDSO_SYMBOL(getcpu).
20618         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
20619         New define HAVE_GETCPU_VSYSCALL.
20620         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20622 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
20624         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
20625         instead of <sysdeps/x86_64/cacheinfo.c>.
20626         * sysdeps/x86_64/cacheinfo.c: Moved to ...
20627         * sysdeps/x86/cacheinfo.c: Here.
20629 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20631         * malloc/malloc-internal.h: Adjust header file guard.
20633 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20635         [BZ #19787]
20636         * inet/getnameinfo.c (check_sprintf_result): New function.
20637         (CHECKED_SNPRINTF): New macro.
20638         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
20639         to the host buffer.
20640         (gni_host_local): Use checked_copy to copy the host name.
20641         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
20642         (gni_serv_local): Use checked_copy to copy the service name.
20643         (getnameinfo): Remove unnecessary truncation of result buffers.
20645 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20647         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
20648         in case of inet_ntop failure.
20650 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20652         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
20653         avoid long lines.
20654         (gni_host_inet_numeric): Likewise.  Reduce scope of local
20655         variables.
20656         (gni_host_inet, gni_host_local): Add comment.
20657         (gni_host): Add comment.  Use temporary to avoid long lines.
20659 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20661         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
20662         registers specifiers where general purpose registers specifiers should
20663         have been used.
20665 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20667         [BZ #19779]
20668         CVE-2016-1234
20669         Avoid copying names of directory entries.
20670         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
20671         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
20672         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
20673         (struct readdir_result): New type.
20674         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
20675         (GL_READDIR): New macros.
20676         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
20677         (convert_dirent, convert_dirent64): New functions.
20678         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
20679         convert_dirent64.  Adjust references to the readdir result.
20680         * sysdeps/unix/sysv/linux/i386/glob64.c:
20681         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
20682         * posix/bug-glob2.c (LONG_NAME): Define.
20683         (filesystem): Add LONG_NAME.
20684         (my_DIR): Increase the size of room_for_dirent.
20686 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
20688         [BZ #20041]
20689         * misc/sys/select.h (__need_timespec): Only define if
20690         [__USE_XOPEN2K].
20691         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
20692         variable.
20693         (test-xfail-XPG4/utmpx.h/conform): Likewise.
20694         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20695         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20697 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20698             Segher Boessenkool  <segher@gcc.gnu.org>
20700         [BZ #20004]
20701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
20702         (__novec_swapcontext): Add missing load.
20704 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
20706         [BZ #20023]
20707         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
20708         <time.h>.
20709         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
20710         variable.
20711         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20713 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
20716         flags CLONE_VM compare.
20718 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20720         [BZ #20031]
20721         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
20722         completely empty.
20724 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20726         [BZ #19573]
20727         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
20728         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
20729         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
20730         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
20731         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
20732         (hesiod_free_list): Mark as hidden.
20733         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
20734         res_set, res_get.
20735         * hesiod/hesiod.c: Remove unnecessary forward declarations.
20736         (init, __hesiod_res_get, __hesiod_res_set): Remove.
20737         (hesiod_init): Remove obsolete res_ninit call.
20738         (hesiod_end): Do not free resolver state.  Do not invoke callback.
20739         (hesiod_bind): Do not call init.
20740         (get_txt_records): Use res_mkquery, res_send instead of
20741         res_nmkquery, res_nsend.
20742         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
20743         instead of _nss_hesiod_init.
20744         (_nss_hesiod_initgroups_dyn): Likewise.
20745         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
20746         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
20747         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
20749 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20751         * hesiod/hesiod_p.h (DEF_RHS): Remove.
20752         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
20754 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20756         * hesiod/hesiod.h: Remove RCS keyword.
20757         * hesiod/hesiod_p.h: Likewise.
20759         * hesiod/hesiod.c: Likewise.
20761 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
20763         [BZ #12450]
20764         * locale/iso-639.def: Add Samogitian/sgs.
20766 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
20768         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
20770         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
20772 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
20773             Carlos O'Donell  <carlos@redhat.com>
20775         [BZ #19072]
20776         * grp/Makefile (headers): Add grp-merge.h
20777         (routines): Add grp-merge.
20778         * grp/getgrgid_r.c: Include grp-merge.h.
20779         (DEEPCOPY_FN): Define.
20780         (MERGE_FN): Define.
20781         * grp/getgrname_r.c: Include grp-merge.h.
20782         (DEEPCOPY_FN): Define.
20783         (MERGE_FN): Define.
20784         * grp/grp-merge.c: New file.
20785         * grp/grp-merge.h: New file.
20786         * include/grp-merge.h: New file.
20787         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
20788         __copy_grp@GLIBC_PRIVATE.
20789         * manual/nss.texi (Actions in the NSS configuration): Describe
20790         return, continue, and merge.
20791         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
20792         (DEEPCOPY_FN): Define.
20793         (MERGE_FN): Define.
20794         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
20795         (DEEPCOPY_FN): Define.
20796         (MERGE_FN): Define.
20797         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
20798         [!MERGE_FN]: Define __merge_einval.
20799         (CHECK_MERGE): Define.
20800         (REENTRANT_NAME): Process merge if do_merge is true.
20801         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
20802         (__nss_getent_r): Likewise.
20803         * nss/nsswitch.c (nss_parse_service_list): Likewise.
20804         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
20806 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20808         [BZ #20012]
20809         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
20810         length to calculate the buffer to read.
20811         (fmemopen_write): Set the buffer position based on bytes written.
20812         (fmemopen_seek): Return EINVAL for invalid whence modes.
20814         [BZ #19957]
20815         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
20816         tst-getpid2.
20817         (test): Add tst-clone2.
20818         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
20819         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
20820         pid/tid fields for CLONE_VM.
20821         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20822         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20823         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20824         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
20825         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20826         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20827         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20828         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20830         Likewise.
20831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20832         Likewise.
20833         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20834         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20835         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20836         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20837         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20838         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20839         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20840         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
20842 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20844         [BZ #19642]
20845         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
20846         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
20847         (gni_serv_local, gni_serv): New functions extracted from
20848         getnameinfo.
20849         (getnameinfo): Call gni_host and gni_serv to perform the
20850         processing.  Always free scratch buffer.
20852 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20854         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
20855         remaining bytes in the dest string, with zeros.
20857 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20859         [BZ #20010]
20860         CVE-2016-3706
20861         * sysdeps/posix/getaddrinfo.c
20862         (convert_hostent_to_gaih_addrtuple): New function.
20863         (gethosts): Call convert_hostent_to_gaih_addrtuple.
20864         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
20865         AF_INET data.
20867 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20869         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
20870         callback function gl_readdir.
20871         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
20872         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
20873         (glob_in_dir): Remove len.  Use strdup instead of malloc and
20874         memcpy to copy the name.
20875         * manual/pattern.texi (Calling Glob): Document requirements for
20876         implementations of the gl_readdir callback function.
20877         * manual/examples/mkdirent.c: New example.
20878         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
20879         per the manual guidance.
20880         * posix/tst-gnuglob.c (my_readdir): Likewise.
20882 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
20884         [BZ #20014]
20885         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
20886         not [__USE_POSIX].
20887         (getchar_unlocked): Likewise.
20888         (putc_unlocked): Likewise.
20889         (putchar_unlocked): Likewise.
20890         (flockfile): Likewise.
20891         (ftrylockfile): Likewise.
20892         (funlockfile): Likewise.
20893         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
20894         variable.
20895         (test-xfail-XPG4/stdio.h/conform): Likewise.
20897         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
20898         Expect constant.
20899         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
20900         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
20901         variable.
20902         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20903         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20905         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
20906         [__USE_LARGEFILE64] (off64_t): Likewise.
20907         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
20908         variable.
20910 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20912         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
20914 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20916         * resolv/inet_addr.c: Reindent preprocessor conditionals.
20917         * resolv/res_init.c: Likewise.
20918         * resolv/res_mkquery.c: Likewise.
20920 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20922         * resolv/res_init.c (isascii): Do not define.  Use definition in
20923         <ctype.h>.
20924         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
20925         (LOG_AUTH): Remove.
20926         (SPRINTF): Remove, adjust caller.
20927         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
20929 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20931         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
20932         SUNSECURITY conditional.
20933         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
20935 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20937         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
20938         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
20939         Remove BSD-related preprocessor conditionals.
20940         * conf/portability.h: Remove.
20942 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20944         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
20945         * resolv/res_data.c: Likewise.
20947 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20949         * resolv/res_comp.c: Remove code conditional on __ultrix__.
20950         * resolv/res_data.c: Remove code conditional on ultrix.
20952 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20954         * resolv/res_init.c (RFC1535): Do not define.  Remove
20955         RFC1535 preprocessor conditionals.
20956         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
20957         because there configuration options which make the resolver
20958         behavior different.
20960 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20962         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
20963         RESOLVSORT preprocessor conditionals.
20964         * resolv/nss_dns/dns-host.c: Likewise.
20965         * resolv/res_init.c: Likewise.
20967 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20969         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
20970         is never defined.
20972 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20974         * inet/inet_lnaof.c: Remove SCSS keyword.
20975         * inet/inet_mkadr.c: Likewise.
20976         * inet/inet_net.c: Likewise.
20977         * inet/inet_netof.c: Likewise.
20978         * inet/rcmd.c: Likewise.
20979         * inet/rexec.c: Likewise.
20980         * inet/ruserpass.c: Likewise.
20982 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20984         * resolv/inet_addr.c: Remove _LIBC conditionals.
20985         * resolv/res_data.c: Likewise.
20986         * resolv/res_init.c: Likewise.
20987         * resolv/res_mkquery.c: Likewise.
20988         * resolv/res_libc.c: Update comment.
20989         * resolv/README: Update.
20991 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20993         * resolv/gethnamaddr.c: Remove SCSS keyword.
20994         * resolv/herror.c: Likewise.
20995         * resolv/inet_addr.c: Likewise.
20996         * resolv/inet_net_ntop.c: Likewise.
20997         * resolv/inet_net_pton.c: Likewise.
20998         * resolv/inet_neta.c: Likewise.
20999         * resolv/inet_ntop.c: Likewise.
21000         * resolv/inet_pton.c: Likewise.
21001         * resolv/ns_date.c: Remove RCS keyword.
21002         * resolv/ns_name.c: Likewise.
21003         * resolv/ns_netint.c: Likewise.
21004         * resolv/ns_parse.c: Likewise.
21005         * resolv/ns_print.c: Likewise.
21006         * resolv/ns_samedomain.c: Likewise.
21007         * resolv/ns_ttl.c: Likewise.
21008         * resolv/nsap_addr.c: Likewise.
21009         * resolv/res_comp.c: Remove SCSS and RCS keyword.
21010         * resolv/res_data.c: Remove RCS keyword.
21011         * resolv/res_debug.c: Remove SCSS and RCS keyword.
21012         * resolv/res_init.c: Likewise.
21013         * resolv/res_mkquery.c: Likewise.
21014         * resolv/res_query.c: Likewise.
21015         * resolv/res_send.c: Likewise.
21017 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
21019         * conform/data/stdio.h-data (fdopen): Expect also for
21020         [XPG3 || XPG4].
21022         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
21023         (fseeko): Likewise.
21024         (ftello): Likewise.
21025         (ftrylockfile): Likewise.
21026         (funlockfile): Likewise.
21027         (getc_unlocked): Likewise.
21028         (getchar_unlocked): Likewise.
21029         (putc_unlocked): Likewise.
21030         (putchar_unlocked): Likewise.
21032 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21034         [BZ #19868]
21035         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
21036         DNS packet syntax checks (which were not needed before).  Skip
21037         over non-PTR records.
21039 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21041         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
21042         definition.  Include <stddef.h> instead.
21044 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21046         [BZ #19831]
21047         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
21048         function.
21049         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
21050         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
21052 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21054         [BZ #19862]
21055         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
21056         (getanswer_r): Do not call syslog.
21057         (gaih_getanswer_slice): Likewise.
21058         * resolv/gethnamaddr.c (AskedForGot): Remove.
21059         (getanswer): Do not call syslog.
21060         (gethostbyaddr): Likewise.
21062 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
21064         * conform/data/signal.h-data (union sigval): Expect also if
21065         [XOPEN2K].
21066         (struct sigevent): Likewise.
21067         (SIGEV_NONE): Likewise.
21068         (SIGEV_SIGNAL): Likewise.
21069         (SIGEV_THREAD): Likewise.
21070         (SIGRTMIN): Likewise.
21071         (SIGRTMAX): Likewise.
21072         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
21073         variable.
21074         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21076 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21078         [BZ #19830]
21079         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
21080         (gaih_getanswer_slice): Likewise.
21081         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
21082         Also check for availability of RR metadata.
21084 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21086         [BZ #19825]
21087         * resolv/res_send.c (send_vc): Remove early *resplen2
21088         initialization.  Set *resplen2 on socket error.  Call
21089         close_and_return_error for other errors.
21091 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
21093         * sysdeps/unix/sysv/linux/netiucv/iucv.h
21094         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
21095         (SCM_IUCV_TRGCLS): New define.
21097 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21099         [BZ #20005]
21100         * libio/fmemopen.c (fmemopen_write): Update internal position after
21101         write.
21102         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
21103         * stdio-common/tst-fmemopen4.c: New file..
21105 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
21107         [BZ #19996]
21108         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
21109         not [__USE_XOPEN2K].
21110         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
21111         variable.
21113         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
21114         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
21115         variable.
21117         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
21118         [__USE_XOPEN2K8].
21119         [__USE_LARGEFILE64] (off64_t): Likewise.
21120         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
21121         variable.
21123 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
21125         [BZ #19989]
21126         * libio/stdio.h (cuserid): Do not declare if
21127         [__USE_XOPEN2K && !__USE_GNU].
21128         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
21129         variable.
21131 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21133         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21134         (sysdep_routines): Add P8 and PPC64 strcspn targets.
21135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21136         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
21137         ifunc'ed strcspn.
21138         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21139         [EALIGN]: Removed.
21140         [END]: Likewise
21141         [STRSPN]: Define instead of the above to control symbol name.
21142         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
21143         New file.
21144         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
21145         Likewise.
21146         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
21147         Likewise.
21148         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
21149         Likewise.
21150         * sysdeps/powerpc/powerpc64/power8/strspn.S:
21151         [INITIAL_MASK]: New macro.
21152         [STRCSPN]: Likewise.
21153         [UPDATE_MASK]: Likewise.
21154         [USE_AS_STRCSPN]: Likewise.
21156 2016-04-25  Florian Weimer  <fweimer@redhat.com>
21158         [BZ #19931]
21159         * stdio-common/tst-vfprintf-width-prec.c: New file.
21160         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
21161         (tests-special): Add tst-vfprintf-width-prec-mem.out.
21162         (generated): Add mtrace-related files.
21163         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
21164         (tst-%-mem.out): New pattern rule, replaces
21165         tst-printf-bz18872-mem.out.
21166         * stdio-common/vfprintf.c (vfprintf): When handling a precision
21167         specifier, deallocate any previously allocated work buffer.
21169 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
21171         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
21172         Add nop before __startcontext, add explaining comments.
21174 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
21176         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
21177         any more. Notably since IPV6_PKTINFO has been reintroduced with a
21178         completely different API.
21180         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
21181         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
21182         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
21183         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
21184         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
21185         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
21186         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
21187         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
21188         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
21189         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
21191 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
21193         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
21195 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
21197         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
21198         when it is the default of 0.
21200 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21202         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
21203         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21204         (sysdep_routines): Add new strcasestr targets.
21205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21206         (__libc_ifunc_impl_list): Likewise.
21207         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
21208         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
21209         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
21210         * sysdeps/powerpc/powerpc64/power8/Makefile:
21211         New file to add strcasestr-ppc64 to sysdep_routines.
21212         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
21213         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
21215 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
21217         * benchtests/Makefile (wcsmbs-benchset): Include only for
21218         native builds and runs.
21219         (LOCALES): Likewise.
21220         (bench-build): Build timing-type here instead of the bench
21221         target.  Generate locale only for native builds.
21222         * benchtests/README: Add note for cross-building.
21224         * benchtests/Makefile (bench-clean): Clean up extra-objs.
21226         * benchtests/README: Update README to include instructions on
21227         using bench-build.
21229         * Makefile.in (bench-build): New target.
21230         * Rules (PHONY): Add bench-build target.
21231         * benchtests/Makefile (bench): Depend on bench-build.
21232         (bench-build): New target.
21234 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21236         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
21237         profil_reply_port.
21238         (profile_waiter): Do not initialize profil_reply_port.
21239         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
21240         frequency instead of tick length in us.
21242 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
21244         [BZ #18712]
21245         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
21246         (__old_mempcpy_small): Likewise.
21247         (__old_strcpy_small): Likewise.
21248         (__old_stpcpy_small): Likewise.
21249         (__old_strpbrk_c2): Fix compat symbol name.
21250         (__old_strpbrk_c3): Likewise.
21251         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
21252         (__mempcpy_small): Remove.
21253         (__strcpy_small): Remove.
21254         (__stpcpy_small): Remove.
21256 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
21258         [BZ #19400]
21259         * locale/iso-639.def: Add the Talossan/tzl language.
21261 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
21263         [BZ #16983]
21264         * locale/programs/ld-address.c (address_finish): Update postal_fmt
21265         comment.  Add "ln" to strchr check on postal_fmt.
21267 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
21269         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
21270         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
21271         tel_dom_fmt.
21273 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21275         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21276         (sysdep_routines): Added __strlen_power8.
21277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
21278         __strlen_power8 entry.
21279         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
21280         Implementation for POWER8.
21281         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
21282         for __strlen_power8.
21283         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
21284         Implementation for POWER8.
21286 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
21288         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
21290 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
21292         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
21293         Goldmont and Airmont processors.
21295 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
21297         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
21298         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
21299         (__STRING2_SMALL_GET32): Remove.
21300         (memset): Remove.
21301         (__memset_1): Remove.
21302         (__memset_gc): Remove.
21303         (__mempcpy): Remove.
21304         (mempcpy): Remove.
21305         (__mempcpy_args): Remove.
21306         (strchr): Remove.
21307         (strcpy): Remove.
21308         (strcpy_args): Remove.
21309         (__stpcpy_args): Remove.
21310         (__strcmp_cc): Remove.
21311         (__strcmp_gc): Remove.
21312         (strstr): Remove.
21314 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
21316         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
21317         * nis/nis_call.c (nis_server_cache_add): Likewise.
21319 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21321         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
21323 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21325         * malloc/arena.c (__malloc_fork_lock_parent)
21326         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
21327         internal_function attribute.
21329 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
21331         * stdio-common/printf_fp.c (__printf_fp_l):
21332         Rename ___printf_fp_l to __printf_fp_l and
21333         remove strong alias. Use libc_hidden_def instead
21334         of ldbl_hidden_def macro.
21336 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21338         Remove malloc hooks from fork handler.  They are no longer needed
21339         because malloc runs right before fork, and no malloc calls from
21340         other fork handlers are not possible anymore.
21341         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
21342         declarations.
21343         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
21344         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
21345         (atfork_recursive_cntr): Remove.
21346         (__malloc_fork_lock_parent): Do not override malloc hooks and
21347         thread_arena.
21348         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
21349         thread_arena.
21350         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
21351         thread_arena instead of save_arena.
21353 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21355         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
21356         (thread_atfork, thread_atfork_static): Remove.
21357         * sysdeps/mach/hurd/malloc-machine.h:
21358         (thread_atfork, thread_atfork_static): Remove.
21360 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21362         [BZ #19431]
21363         Run the malloc fork handler as late as possible to avoid deadlocks.
21364         * malloc/malloc-internal.h: New file.
21365         * malloc/malloc.c: Include it.
21366         * malloc/arena.c (ATFORK_MEM): Remove.
21367         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
21368         Update comment.
21369         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
21370         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
21371         Remove outdated comment.
21372         (ptmalloc_init): Do not call thread_atfork.  Remove
21373         thread_atfork_static.
21374         * malloc/tst-malloc-fork-deadlock.c: New file.
21375         * Makefile (tests): Add tst-malloc-fork-deadlock.
21376         (tst-malloc-fork-deadlock): Link against libpthread.
21377         * manual/memory.texi (Aligned Memory Blocks): Update safety
21378         annotation comments.
21379         * sysdeps/nptl/fork.c (__libc_fork): Call
21380         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
21381         __malloc_fork_unlock_child.
21382         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
21384 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21386         [BZ #19613]
21387         Remove union wait.
21388         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
21389         (w_stopsig, w_stopval): Remove.
21390         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
21391         stat_loc argument.
21392         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
21393         (__WAIT_STATUS_DEFN): Remove.
21394         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21395         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
21396         (wait, wait3, wait4): Use int * for the stat_loc argument.
21397         * posix/wait.c (__wait): Likewise.
21398         * posix/wait3.c (__wait3): Likewise.
21399         * posix/wait4.c (__wait4): Likewise.
21400         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
21401         (__WAIT_STATUS_DEFN): Remove.
21402         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21403         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
21404         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
21405         argument.
21406         * sysdeps/posix/wait.c (__libc_wait): Likewise.
21407         * sysdeps/posix/wait3.c (__wait3): Likewise.
21408         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
21409         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21410         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
21411         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
21412         stat_loc argument.
21413         * manual/process.texi (BSD Wait Functions): Remove union wait.
21415 2016-04-13  Andreas Schwab  <schwab@suse.de>
21417         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
21418         (test-extras): Add tst-tlsalign-vars.
21419         * math/Makefile: Wrap long lines.
21420         (libm-vec-test-wrappers): Define.
21421         (test-extras): Add $(libm-vec-test-wrappers).
21422         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
21423         * nss/Makefile (extra-test-objs): Add nss_test1.os.
21424         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
21425         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
21426         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
21427         (extra-test-objs): Add corresponding objects.
21429 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
21431         [BZ #19928]
21432         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
21433         New.
21434         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
21435         times of shared cache size.
21436         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
21437         (VMOVNT): New.
21438         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
21439         (VMOVNT): Likewise.
21440         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
21441         (VMOVNT): Likewise.
21442         (VMOVU): Changed to movups for smaller code sizes.
21443         (VMOVA): Changed to movaps for smaller code sizes.
21444         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
21445         comments.
21446         (PREFETCH): New.
21447         (PREFETCH_SIZE): Likewise.
21448         (PREFETCHED_LOAD_SIZE): Likewise.
21449         (PREFETCH_ONE_SET): Likewise.
21450         Rewrite to use forward and backward loops, which move 4 vector
21451         registers at a time, to support overlapping addresses and use
21452         non temporal store if size is above the threshold and there is
21453         no overlap between destination and source.
21455 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
21457         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
21458         Include dl-vdso.
21459         * sysdeps/unix/sysv/linux/mips/Versions: Add
21460         __vdso_clock_gettime.
21461         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
21462         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
21463         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
21464         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
21465         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
21466         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
21467         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21468         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
21469         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
21471 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21473         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
21474         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
21475         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21476         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21477         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21478         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21481         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
21482         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
21483         syscalls generation.
21484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21485         [__NR_pwrite64] (__NR_write): Remove define.
21486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21487         [__NR_pwrite64] (__NR_write): Remove define.
21488         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
21489         Remove define.
21490         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
21491         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
21492         Remove define.
21493         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
21494         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
21495         Linux implementation as base.
21496         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21498         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
21499         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
21500         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
21501         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
21502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
21503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21504         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
21505         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
21506         syscall generation.
21507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21508         [__NR_pread64] (__NR_pread): Remove define.
21509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21510         [__NR_pread64] (__NR_pread): Likewise.
21511         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
21512         define.
21513         (__libc_pread): Use SYSCALL_LL macro on offset argument.
21514         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
21515         Remove define.
21516         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
21517         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
21518         Linux implementation as base.
21519         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21520         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21521         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21523         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
21524         definition.
21525         (__ALIGNMENT_COUNT): Likewise.
21526         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
21527         (__ALIGNMENT_COUNT): Likewise.
21528         (SYSCALL_LL): New define.
21529         (SYSCALL_LL64): Likewise.
21530         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
21531         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
21532         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
21533         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
21535         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21536         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
21537         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21538         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21539         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21540         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21542 2016-04-11  Florian Weimer  <fweimer@redhat.com>
21544         [BZ #19865]
21545         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
21546         original buffer before retry.
21548 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21550         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
21551         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
21552         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
21553         GLRO(dl_auxv) list.
21554         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
21555         including <ldsodefs.h>.
21556         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
21558 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
21560         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
21561         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
21562         $(CPPFLAGS).
21564 2016-04-09  Khem Raj  <raj.khem@gmail.com>
21566         [BZ #17950]
21567         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
21568         Add -mfpmath=387.
21570 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
21572         * sysdeps/i386/configure.ac: Change == to = when calling test.
21573         * sysdeps/x86_64/configure.ac: Likewise.
21574         * sysdeps/i386/configure: Regenerated.
21575         * sysdeps/x86_64/configure: Likewise.
21577 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
21579         [BZ #16137]
21580         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
21581         * benchtests/bench-strcoll.c (input_files): Likewise.
21582         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21583         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
21584         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
21586 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
21588         [BZ #19929]
21589         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
21590         [__USE_XOPEN2K8 && !__USE_GNU].
21591         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
21592         variable.
21594         [BZ #19925]
21595         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
21596         define if [!__USE_MISC && __USE_XOPEN2K].
21597         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
21598         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
21599         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
21600         Likewise.
21601         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
21602         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
21603         variable.
21604         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21606 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21608         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21609         (sysdep_routines): Add new strspn targets.
21610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21611         (__libc_ifunc_impl_list): Add strspn.
21612         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21613         New file.
21614         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
21615         Likewise.
21616         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
21617         Likewise.
21618         * sysdeps/powerpc/powerpc64/power8/strspn.S:
21619         Likewise.
21621 2016-04-07  Florian Weimer  <fweimer@redhat.com>
21623         * misc/hsearch_r.c: Include <limits.h>.
21625 2016-04-07  Florian Weimer  <fweimer@redhat.com>
21627         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
21629 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21631         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
21632         (MEMCPY_SYMBOL): New.
21633         (MEMPCPY_SYMBOL): Likewise.
21634         (MEMMOVE_CHK_SYMBOL): Likewise.
21635         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
21636         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
21637         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
21638         Provide alias for memcpy in libc.a and ld.so.
21640 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21642         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
21643         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
21644         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
21645         Disabled fro now.
21646         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
21647         symbols.  Properly check USE_MULTIARCH on __memset symbols.
21649 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21651         * benchtests/Makefile (string-benchset): Add memcpy-large,
21652         memmove-large and memset-large.
21653         * benchtests/bench-memcpy-large.c: New file.
21654         * benchtests/bench-memmove-large.c: Likewise.
21655         * benchtests/bench-memmove-large.c: Likewise.
21656         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
21658 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
21660         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
21661         32-bit displacement to avoid long nop between instructions.
21663 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
21665         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
21666         a comment on VMOVU and VMOVA.
21668 2016-04-04  Florian Weimer  <fweimer@redhat.com>
21670         [BZ #19633]
21671         Use specified locale for number formatting in strfmon_l.
21672         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
21673         (__nl_lookup_word): New inline functions.
21674         * include/printf.h (__print_fp_l): Declare.
21675         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
21676         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
21677         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
21678         (___printf_fp): New function.
21679         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
21680         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
21681         * stdlib/tst-strfmon_l.c (do_test): New test.
21682         * stdlib/Makefile (tests): Add kt.
21683         (LOCALES): Build additional locales.
21684         (tst-strfmon_l.out): Require locales.
21686 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
21688         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
21689         if not in libc.
21690         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21691         Likewise.
21692         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
21693         Likewise.
21694         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21695         Likewise.
21697 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
21699         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21700         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
21701         with unaligned_erms.
21702         (__memmove_erms): Skip if source == destination.
21703         (__memmove_unaligned_erms): Don't check source == destination
21704         first.
21706 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21708         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
21709         bit_arch_Fast_Copy_Backward for Intel Core proessors.
21711 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21713         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
21714         * string/strspn.c (strspn): Likewise.
21716 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21718         * benchtests/bench-memset.c (do_test): Support 64-byte
21719         alignment.
21720         (test_main): Test 64-byte alignment.
21722 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21724         * benchtests/bench-memmove.c (test_main): Test 64-byte
21725         alignment.
21727 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21729         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
21731 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21733         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
21734         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
21735         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
21737         * string/strpbrk.c (strpbrk): Rewrite function.
21738         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
21739         (__strpbrk_c2): Likewise.
21740         (__strpbrk_c3): Likewise.
21741         * string/string-inlines.c
21742         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
21743         Likewise.
21744         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
21745         Likewise.
21747         * string/strspn.c (strcspn): Rewrite function.
21748         * string/bits/string2.h (strspn): Use __builtin_strcspn.
21749         (__strspn_c1): Remove inline function.
21750         (__strspn_c2): Likewise.
21751         (__strspn_c3): Likewise.
21752         * string/string-inlines.c
21753         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
21754         compatibility symbol.
21755         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
21756         Likewise.
21757         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
21758         Likewise.
21759         * string/string-inlines.c: Include generic version.
21761 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
21762             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21764         * string/Version (libc): Add GLIBC_2.24.
21765         * string/strcspn.c (strcspn): Rewrite function.
21766         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
21767         (__strcspn_c1): Remove inline function.
21768         (__strcspn_c2): Likewise.
21769         (__strcspn_c3): Likewise.
21770         * string/string-inline.c
21771         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
21772         compatibility symbol.
21773         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
21774         Likewise.
21775         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
21776         Likewise.
21777         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
21779 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21781         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21782         Use ahi instead of aghi to adjust stack pointer.
21784 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21786         [BZ #19853]
21787         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
21788         TEST to take significant digits as second parameter.
21789         [TEST]: Redefine in terms of TEST_N taking 30
21790         significant digits.
21791         (do_test): Add test case to demonstrate precision
21792         failure in the ldbl-128ibm printf.
21793         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
21794         (__mpn_extract_long_double): Carry 7 extra intermediate
21795         bits of precision to aide computing difference when
21796         signs differ.
21798 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21800         [BZ #19881]
21801         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21802         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
21803         memset-avx512-unaligned-erms.
21804         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21805         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
21806         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
21807         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
21808         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
21809         __memset_sse2_unaligned_erms, __memset_erms,
21810         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
21811         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
21812         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
21813         file.
21814         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21815         Likewise.
21816         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
21817         Likewise.
21818         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
21819         Likewise.
21821 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21823         [BZ #19776]
21824         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21825         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
21826         memmove-avx512-unaligned-erms.
21827         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21828         (__libc_ifunc_impl_list): Test
21829         __memmove_chk_avx512_unaligned_2,
21830         __memmove_chk_avx512_unaligned_erms,
21831         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
21832         __memmove_chk_sse2_unaligned_2,
21833         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
21834         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
21835         __memmove_avx512_unaligned_erms, __memmove_erms,
21836         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
21837         __memcpy_chk_avx512_unaligned_2,
21838         __memcpy_chk_avx512_unaligned_erms,
21839         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
21840         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
21841         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
21842         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
21843         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
21844         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
21845         __mempcpy_chk_avx512_unaligned_erms,
21846         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
21847         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
21848         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
21849         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
21850         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
21851         __mempcpy_erms.
21852         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
21853         file.
21854         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21855         Likewise.
21856         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
21857         Likewise.
21858         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21859         Likewise.
21861 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21863         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
21864         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
21865         (La_s390_64_regs): Likewise.
21866         (La_s390_32_retval): Append vector register lrv_v24.
21867         (La_s390_64_retval): Likeweise.
21868         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
21869         Handle extended structs La_s390_32_regs and La_s390_32_retval.
21870         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
21871         Handle extended structs La_s390_64_regs and La_s390_64_retval.
21873 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21875         [BZ #19916]
21876         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
21877         to create a non-vector/vector version for _dl_runtime_resolve and
21878         _dl_runtime_profile. Move implementation to ...
21879         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
21880         (_dl_runtime_resolve) Save and restore fpr/vrs.
21881         (_dl_runtime_profile) Save and restore vrs and fix some issues
21882         if _dl_call_pltexit is called.
21883         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
21884         Choose the correct resolver function if running on a machine with vx.
21885         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
21886         to create a non-vector/vector version for _dl_runtime_resolve and
21887         _dl_runtime_profile. Move implementation to ...
21888         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
21889         (_dl_runtime_resolve) Save and restore fpr/vrs.
21890         (_dl_runtime_profile) Save and restore vrs and fix some issues
21891         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
21892         Choose the correct resolver function if running on a machine with vx.
21894 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21896         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
21898 2016-03-31  Florian Weimer  <fweimer@redhat.com>
21900         [BZ #19509]
21901         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
21902         skip_map != NULL.
21903         * elf/tst-dlsym-error.c: New file.
21904         * elf/Makefile (tests): Add tst-dlsym-error.
21905         (tst-dlsym-error): Link against libdl.
21907 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
21909         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21910         (__ASSUME_FUTIMESAT): Remove macro.
21911         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
21913 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21915         [BZ #19879]
21916         CVE-2016-3075
21917         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
21918         copy name.
21920 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21922         [BZ #19837]
21923         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
21924         error if parse_line fails.
21926 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21928         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
21929         (index_cpu_ERMS): Likewise.
21930         (reg_ERMS): Likewise.
21932 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
21934         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
21935         PER_LINUX_FDPIC): Add.
21937 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21939         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21940         memcpy-avx512-no-vzeroupper.
21941         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
21942         to ...
21943         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
21944         (MEMCPY): Don't define.
21945         (MEMCPY_CHK): Likewise.
21946         (MEMPCPY): Likewise.
21947         (MEMPCPY_CHK): Likewise.
21948         (MEMPCPY_CHK): Renamed to ...
21949         (__mempcpy_chk_avx512_no_vzeroupper): This.
21950         (MEMPCPY_CHK): Renamed to ...
21951         (__mempcpy_chk_avx512_no_vzeroupper): This.
21952         (MEMCPY_CHK): Renamed to ...
21953         (__memmove_chk_avx512_no_vzeroupper): This.
21954         (MEMCPY): Renamed to ...
21955         (__memmove_avx512_no_vzeroupper): This.
21956         (__memcpy_avx512_no_vzeroupper): New alias.
21957         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
21959 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21961         [BZ #18858]
21962         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21963         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
21964         and mempcpy-avx512-no-vzeroupper.
21965         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
21966         New.
21967         (MEMPCPY): Likewise.
21968         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
21969         (MEMPCPY_CHK): New.
21970         (MEMPCPY): Likewise.
21971         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
21972         (MEMPCPY): Likewise.
21973         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
21974         (MEMPCPY): Likewise.
21975         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
21976         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
21977         Likewise.
21978         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
21979         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
21981 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21982              Amit Pawar  <Amit.Pawar@amd.com>
21984         [BZ #19583]
21985         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21986         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
21987         processors.  Set Fast_Copy_Backward for AMD Excavator
21988         processors.
21989         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
21990         New.
21991         (index_arch_Fast_Unaligned_Copy): Likewise.
21992         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
21993         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
21995 2016-03-25  Florian Weimer  <fweimer@redhat.com>
21997         [BZ #19791]
21998         * resolv/res_send.c (close_and_return_error): New function.
21999         (send_dg): Initialize *resplen2 after reopen failure.  Call
22000         close_and_return_error for error returns.  On error paths without
22001         __res_iclose, initialze *resplen2 explicitly.  Update comment for
22002         successful return.
22004 2016-03-25  Florian Weimer  <fweimer@redhat.com>
22006         [BZ #19860]
22007         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
22008         zero if the compiler does not provide the AVX512F bit.
22010 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
22012         [BZ #19848]
22013         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
22014         from 8 to 4.
22015         (__ieee754_powl): Compare integer exponent against 4 not 8.
22016         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
22017         from 8 to 4.
22018         (__ieee754_powl): Compare integer exponent against 4 not 8.
22019         * math/auto-libm-test-in: Add more tests of pow.
22020         * math/auto-libm-test-out: Regenerated.
22021         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
22022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22024 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
22026         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
22027         Make code unconditional.
22028         [!__NR_utimensat]: Remove conditional code.
22029         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
22030         Make code unconditional.
22031         [!__NR_utimensat]: Remove conditional code.
22032         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
22033         Make code unconditional.
22034         [!__NR_utimensat]: Remove conditional code.
22036 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
22038         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
22039         Make code unconditional.
22041 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
22043         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
22044         call-clobbered %eax on retry path.
22045         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22047 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22049         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
22050         Don't set %rcx twice before "rep movsb".
22052 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22054         [BZ #19583]
22055         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
22056         inline.  Check family before setting family, model and
22057         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
22058         bits here.
22059         (init_cpu_features): Replace HAS_CPU_FEATURE and
22060         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
22061         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
22062         for Intel processors with usable AVX2.  Call get_common_indeces
22063         for other processors with family == NULL.
22064         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
22065         (CPU_FEATURES_ARCH_P): Likewise.
22066         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
22067         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
22069 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22071         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
22072         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
22073         $(shared-thread-library) instead of hardcoding the path to libpthread.
22075 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
22077         * sysdeps/unix/sysv/linux/kernel-features.h
22078         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
22079         * sysdeps/unix/sysv/linux/getdents.c
22080         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
22081         [!have_no_getdents64_defined]: Likewise.
22082         (__GETDENTS): Remove __have_no_getdents64 conditional.
22084 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
22086         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
22087         Remove macro.
22088         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
22089         <kernel-features.h>.
22090         (signalfd) [__NR_signalfd4]: Make code unconditional.
22091         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
22093 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22095         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
22096         style.
22098 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22100         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
22101         (__pthread_enable_asynccancel): Use JUMPTARGET to call
22102         __pthread_unwind.
22103         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22104         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
22105         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22106         (__condvar_cleanup1): Likewise.
22108 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
22110         [BZ #19822]
22111         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
22112         move it to the final $@ location.
22114 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22116         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
22117         access where posix_spawn success and pid argument is null.
22118         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
22119         success case.
22121 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
22123         * sysdeps/mach/hurd/i386/c++-types.data: New file.
22125         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
22127         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
22128         and __fcntl.
22129         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
22130         __fcntl only.
22131         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
22132         adding attribute_hidden to __open and __fcntl.
22134         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
22135         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
22136         depend on libc-modules.h,
22137         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
22139 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
22141         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
22142         Remove macro.
22143         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
22144         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
22145         entry.
22147         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
22148         Remove macro.
22149         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
22150         include <kernel-features.h>.
22151         [!__ASSUME_FALLOCATE]: Remove conditional code.
22152         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
22154 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22156         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
22157         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
22158         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
22159         (_ZGVdN4v_cos_avx2): Likewise.
22160         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
22161         (_ZGVdN4v_cos): Likewise.
22162         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
22163         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
22164         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
22165         (_ZGVdN4v_exp_avx2): Likewise.
22166         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
22167         (_ZGVdN4v_exp): Likewise.
22168         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
22169         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
22170         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
22171         (_ZGVdN4v_log_avx2): Likewise.
22172         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
22173         (_ZGVdN4v_log): Likewise.
22174         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
22175         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
22176         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
22177         (_ZGVdN4vv_pow_avx2): Likewise.
22178         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
22179         (_ZGVdN4vv_pow): Likewise.
22180         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
22181         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
22182         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
22183         (_ZGVdN4v_sin_avx2): Likewise.
22184         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
22185         (_ZGVdN4v_sin): Likewise.
22186         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
22187         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
22188         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
22189         (_ZGVdN4vvv_sincos_avx2): Likewise.
22190         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
22191         (_ZGVdN4vvv_sincos): Likewise.
22192         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
22193         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
22194         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
22195         (_ZGVbN4v_cosf_sse4): Likewise.
22196         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
22197         (_ZGVdN8v_cosf_avx2): Likewise.
22198         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
22199         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
22200         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
22201         (_ZGVbN4v_expf_sse4): Likewise.
22202         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
22203         (_ZGVdN8v_expf_avx2): Likewise.
22204         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
22205         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
22206         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
22207         (_ZGVbN4v_logf_sse4): Likewise.
22208         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
22209         (_ZGVdN8v_logf_avx2): Likewise.
22210         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
22211         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
22212         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
22213         (_ZGVbN4vv_powf_sse4): Likewise.
22214         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
22215         (_ZGVdN8vv_powf_avx2): Likewise.
22216         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22217         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
22218         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22219         (_ZGVbN4vvv_sincosf_sse4): Likewise.
22220         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22221         (_ZGVdN8vvv_sincosf_avx2): Likewise.
22222         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
22223         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
22224         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
22225         (_ZGVbN4v_sinf_sse4): Likewise.
22226         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
22227         (_ZGVdN8v_sinf_avx2): Likewise.
22228         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
22229         Use JUMPTARGET to call callee.
22230         (WRAPPER_IMPL_SSE2_ff): Likewise.
22231         (WRAPPER_IMPL_SSE2_fFF): Likewise.
22232         (WRAPPER_IMPL_AVX): Likewise.
22233         (WRAPPER_IMPL_AVX_ff): Likewise.
22234         (WRAPPER_IMPL_AVX_fFF): Likewise.
22235         (WRAPPER_IMPL_AVX512): Likewise.
22236         (WRAPPER_IMPL_AVX512_ff): Likewise.
22237         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
22238         Likewise.
22239         (WRAPPER_IMPL_SSE2_ff): Likewise.
22240         (WRAPPER_IMPL_SSE2_fFF): Likewise.
22241         (WRAPPER_IMPL_AVX): Likewise.
22242         (WRAPPER_IMPL_AVX_ff): Likewise.
22243         (WRAPPER_IMPL_AVX_fFF): Likewise.
22244         (WRAPPER_IMPL_AVX512): Likewise.
22245         (WRAPPER_IMPL_AVX512_ff): Likewise.
22246         (WRAPPER_IMPL_AVX512_fFF): Likewise.
22248 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22250         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
22251         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
22252         qualifier.
22253         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
22254         internal_function qualifiers.
22256 2016-03-15  Carlos O'Donell <carlos@redhat.com>
22258         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
22259         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
22260         * math/atest-exp.c (exp_mpn): Mark chk unused.
22261         * math/atest-exp2.c (exp_mpn): Likewise.
22262         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
22263         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
22265 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
22267         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
22268         Remove macro.
22269         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
22270         <kernel-features.h>.
22271         [__NR_ppoll]: Make code unconditional.
22272         [!__ASSUME_PPOLL]: Remove conditional code.
22274         * sysdeps/unix/sysv/linux/kernel-features.h
22275         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
22276         (__ASSUME_ACCEPT4): Likewise.
22277         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22278         Define.
22279         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
22280         Likewise.
22281         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22282         Likewise.
22283         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
22284         Likewise.
22285         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
22286         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
22287         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22288         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22289         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22290         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22291         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22292         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22293         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22294         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22295         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22296         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22297         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22298         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22299         * sysdeps/unix/sysv/linux/i386/kernel-features.h
22300         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22301         Likewise.
22302         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22303         Likewise.
22304         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22305         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22306         0x040300].
22307         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22308         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22309         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22310         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22311         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
22312         0x030300].
22313         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
22314         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22315         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22316         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22317         0x040300].
22318         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22319         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22320         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22321         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22322         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22323         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22324         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
22325         0x030300].
22326         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22327         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22328         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22329         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22330         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22331         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22332         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22333         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22334         * sysdeps/unix/sysv/linux/s390/kernel-features.h
22335         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22336         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22337         0x040300].
22338         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22339         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22340         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22341         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22342         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22343         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22344         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22345         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22346         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22347         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22348         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22349         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22350         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22351         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22352         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
22353         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22354         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22355         Likewise.
22356         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22357         Likewise.
22359 2016-03-15  Andreas Schwab  <schwab@suse.de>
22361         [BZ #19257]
22362         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
22363         statp->_u._ext.nscount as loop count.
22365 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22367         * math/test-signgam-finite-c99.c: Also #undef
22368         __LIBC_INTERNAL_MATH_INLINES.
22369         * math/test-signgam-main.c: Likewise.
22371 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
22373         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
22374         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22375         (MADV_FREE): Likewise.
22376         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
22377         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
22378         EPOLLEXCLUSIVE.
22380 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
22382         * timezone/README: Remove mention of checktab.awk. Mention wiki
22383         SharedSourceFiles.
22385 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
22387         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
22388         WUNTRACED.
22390 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22392         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
22393         order to match the type of p when calling atomic_exchange_acq().
22395 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22397         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
22398         cfi_offset calls.
22399         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
22400         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
22401         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
22402         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
22403         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
22405 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
22407         * timezone/checktab.awk: Removed.
22409 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
22411         * manual/math.texi (Errors in Math Functions): Document relaxed
22412         accuracy goals for IBM long double.
22413         * math/libm-test.inc (test_exceptions): Always allow spurious
22414         "underflow" and "inexact" exceptions for IBM long double.
22416 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
22418         [BZ #19762]
22419         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22420         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
22421         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
22422         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
22423         (bit_arch_*): This for feature array.
22424         (bit_*): Renamed to ...
22425         (bit_cpu_*): This for cpu array.
22426         (index_*): Renamed to ...
22427         (index_arch_*): This for feature array.
22428         (index_*): Renamed to ...
22429         (index_cpu_*): This for cpu array.
22430         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
22431         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
22432         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
22433         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
22434         bit_##name with index_cpu_##name and bit_cpu_##name.
22435         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
22436         bit_##name with index_arch_##name and bit_arch_##name.
22438 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
22440         [BZ #19792]
22441         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
22442         Terminate FDE before return label.
22444 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
22446         [BZ #19790]
22447         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
22448         (rintl): Define as macro.
22449         [USE_AS_NEARBYINTL] (__rintl): Likewise.
22450         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
22451         of fesetround.  Ensure results are evaluated before end of scope.
22452         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
22453         USE_AS_NEARBYINTL and include s_rintl.c.
22454         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
22455         Disable exception traps in new environment.
22456         (libc_feholdsetround_ppc_ctx): Likewise.
22458 2016-03-08  Roland McGrath  <roland@hack.frob.com>
22460         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
22461         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
22462         (tst_audit10_aux) [__AVX512F__]: ... here.
22464 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
22466         * include/sys/auxv.h: New file.
22468 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
22470         [BZ #19759]
22471         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
22473 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22475         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
22476         operand modifier.
22477         (feclearexcept): Likewise.
22479 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22481         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
22482         to reflect the entire 32-bit HWCAP.
22483         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
22484         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
22486 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
22488         [BZ #19783]
22489         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
22490         $(test-via-rtld-prefix).
22491         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
22493 2016-03-08  Florian Weimer  <fweimer@redhat.com>
22495         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
22496         union wait.  Report any non-zero exit status as error.
22498 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22500         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
22501         configured with --enable-hardcoded-path-in-tests.
22503 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
22505         [BZ #19677]
22506         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22507         (__ieee754_remainderl): Put zero low parts in canonical form.
22508         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
22509         file.  Based on
22510         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
22511         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
22512         with wrapper round test-fmodrem-ldbl-128ibm.c.
22513         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
22514         file.
22515         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
22516         Likewise.
22517         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
22518         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
22520 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22522         [BZ #19610]
22523         * elf/ldconfig.c (opt_link): Update comment.
22524         (options): Update help string for option -X.
22525         (search_dir): Unlink stale symbolic link only if updating symbolic
22526         links.
22527         * elf/tst-ldconfig-X.sh: New file.
22528         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
22529         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
22531 2016-03-07  Andreas Schwab  <schwab@suse.de>
22533         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
22534         needed arguments.
22536 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
22538         [BZ #15333]
22539         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
22540         to lstat64.
22542 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22544         * libio/filedoalloc.c (isatty): Remove.
22545         (local_isatty): Add comment.  Call __isatty directly.
22546         (_IO_file_doallocate): Update comment.  Assume _LIBC.
22547         * libio/wfiledoalloc.c (isatty): Remove.
22548         (_IO_wfile_doallocate): Update comment.
22550 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22552         [BZ #19269]
22553         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
22554         tst-audit4-aux.o.
22555         (tst-audit10): Depend on tst-audit10-aux.o.
22556         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
22557         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
22558         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
22559         instead of inline AVX code.
22560         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
22561         instead of inline AVX512 code.
22562         * sysdeps/x86_64/tst-audit4-aux.c: New file
22563         * sysdeps/x86_64/tst-audit10-aux.c: New file
22565         [BZ #19648]
22566         * test-skeleton.c (main): Do not set RLIMIT_DATA.
22568 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22570         [BZ #14750]
22571         [BZ #10354]
22572         [BZ #18433]
22573         * include/sched.h (__clone): Add hidden prototype.
22574         (__clone2): Likewise.
22575         * include/unistd.h (__dup): Likewise.
22576         * posix/Makefile (tests): Add tst-spawn2.
22577         * posix/tst-spawn2.c: New file.
22578         * sysdeps/posix/dup.c (__dup): Add hidden definition.
22579         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
22580         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22581         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22582         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22583         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22584         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
22585         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22586         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
22587         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22588         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22590         Likewise.
22591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22592         Likewise.
22593         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22594         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22595         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22596         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22597         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22598         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22599         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22600         * sysdeps/unix/sysv/linux/nptl-signals.h
22601         (____nptl_is_internal_signal): New function.
22602         * sysdeps/unix/sysv/linux/spawni.c: New file.
22604         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
22605         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
22606         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
22607         * posix/tst-execvp2.c (do_test): Likewise.
22608         * posix/tst-execvp3.c (do_test): Likewise.
22609         * posix/tst-execvp4.c (do_test): Likewise.
22610         * posix/tst-execvpe1.c: New file.
22611         * posix/tst-execvpe2.c: Likewise.
22612         * posix/tst-execvpe3.c: Likewise.
22613         * posix/tst-execvpe4.c: Likewise.
22614         * posix/tst-execvpe5.c: Likewise.
22615         * posix/tst-execvpe6.c: Likewise.
22617         [BZ #19534]
22618         * posix/execl.c (execl): Remove dynamic memory allocation.
22619         * posix/execle.c (execle): Likewise.
22620         * posix/execlp.c (execlp): Likewise.
22622 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22624         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
22625         Replace .text with .text.avx512.
22626         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
22627         Likewise.
22629 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
22631         * sysdeps/generic/libnsl.abilist: New file.
22632         * sysdeps/generic/libutil.abilist: New file.
22634 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22636         [BZ #19762]
22637         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
22638         HAS_ARCH_FEATURE with Fast_Rep_String.
22639         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
22640         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
22641         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
22642         Likewise.
22643         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
22644         Likewise.
22645         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
22646         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
22647         Likewise.
22648         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
22649         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
22650         Likewise.
22652 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22654         [BZ #19745]
22655         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
22656         with *%rax in call.
22658 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22660         [BZ #19745]
22661         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
22662         with *__libc_start_main@GOTPCREL(%rip) in call.
22664 2016-03-04  Roland McGrath  <roland@hack.frob.com>
22666         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
22667         inside conditional for nonempty $(CXX).
22669         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
22670         nonempty.
22672         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
22673         to test for empty $(CXX) rather than $(CXX) of "no".
22675 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22677         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
22679 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
22680             H.J. Lu  <hongjiu.lu@intel.com>
22682         [BZ #18880]
22683         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
22684         instead of Slow_BSF, and also check for Fast_Copy_Backward to
22685         enable __memcpy_ssse3_back.
22687 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
22689         [BZ #19758]
22690         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22691         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
22693 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
22695         [BZ #19490]
22696         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
22697         (__fentry__): Likewise.
22699 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
22701         * gmon/Makefile (noprof): Add $(sysdep_noprof).
22702         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
22704 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
22706         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
22707         __mcount_internal directly.
22708         (C_LABEL(__fentry__)): Likewise.
22709         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
22710         directly.
22712 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
22714         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22715         (__start_context): Call __setcontext directly.
22717 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
22719         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22720         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22721         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
22722         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22723         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22724         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22725         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
22726         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22727         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22728         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
22729         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22730         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22731         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22732         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22733         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22734         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22735         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
22736         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22737         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22738         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22739         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
22740         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22741         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22742         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22743         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
22744         Remove conditional code.
22745         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22746         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
22747         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22748         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22749         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
22750         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22751         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22752         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22753         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22754         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22755         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22756         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22758 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
22760         * NEWS (2.23): Fix typo in bug 19048 text.
22762 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
22764         [BZ #14259]
22765         * Makeconfig: Rename msgcatdir to localedir.
22766         Rename inst_msgcatdir to inst_localedir.
22767         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
22768         * config.make.in: Add localedir.
22769         * elf/Makefile ($(objpfx)sotruss): Use localedir.
22770         (ldd-rewrite): Likewise.
22771         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
22772         (install-others): Use inst_localedir.
22773         (CPPFLAGS): Use localedir.
22774         * locale/Makefile (locale-CPPFLAGS): Likewise.
22775         * po/Makefile (mo-installed): Use inst_localedir.
22777         [BZ #19575]
22778         * localedata/charmaps/GB18030: Update comments regarding PAU to
22779         non-PUA mappings.
22781 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
22783         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
22784         test for header.
22785         * sysdeps/unix/sysv/linux/configure: Regenerated.
22786         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
22787         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
22788         Remove conditional code.
22789         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
22791         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22792         Define to 3.2.0.
22793         (arch_minimum_kernel): Likewise.
22794         * sysdeps/unix/sysv/linux/configure: Regenerated.
22795         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
22796         Define to 2.6.32.
22797         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
22798         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
22799         (arch_minimum_kernel): Define to 2.6.32.
22800         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
22801         * README: Document Linux 3.2 requirement.
22802         * manual/install.texi (Linux): Document Linux 3.2 headers
22803         requirement.
22804         * INSTALL: Regenerated.
22806 2016-02-24  Andreas Schwab  <schwab@suse.de>
22808         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
22809         if !NO_LONG_DOUBLE.
22811 2016-02-22  Roland McGrath  <roland@hack.frob.com>
22813         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
22814         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
22816 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
22818         [BZ #19512]
22819         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
22821 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
22823         * posix/tst-dir.c: Include libc-internal.h.
22825 2016-02-20  Florian Weimer  <fweimer@redhat.com>
22827         [BZ #19056]
22828         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
22829         * manual/filesys.texi (Reading/Closing Directory): Mention
22830         deprecaion.
22831         * posix/tst-dir.c (main): Disable deprecation warning in test.
22833 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
22835         [BZ #19679]
22836         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
22837         Renamed to ...
22838         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
22839         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22840         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
22841         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22842         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22843         * sysdeps/x86_64/dl-trampoline.h
22844         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22845         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22847 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22849         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
22851 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22853         * elf/elf.h (R_386_GOT32X): New.
22854         (R_386_NUM): Update.
22855         (R_X86_64_GOTPCRELX: New.
22856         (R_X86_64_REX_GOTPCRELX): New.
22857         (R_X86_64_NUM): Update.
22859 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
22861         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
22863 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
22865         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
22866         assign attr->stackaddr to it, and adjust it down when
22867         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
22868         [_STACK_GROWS_UP]: Delete assert.
22869         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
22870         Implement stack grows up logic.
22871         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
22872         stack grows up logic.
22874 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22876         * NEWS: Update with 2.24 template.
22878 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22880         [BZ #19678]
22881         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22882         Ensure +0.0 is returned when taking the next value below the least
22883         positive value.
22885 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22887         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
22888         available.  Do not define NO_THREADS.
22889         * malloc/malloc.c: Do not check NO_THREADS.
22890         * malloc/arena.c: Likewise.
22892 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22894         * malloc/malloc.c (__libc_mallinfo): Update comment.
22895         (struct malloc_par): Remove max_total_mem member, it was always 0.
22896         (int_mallinfo): Store 0 into usmblks (no functional change).
22897         * malloc/hooks.c (struct malloc_state): Document that
22898         max_total_mem is always 0.
22899         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
22900         always 0.
22901         * manual/memory.texi (Statistics of Malloc): Likewise.
22903 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22905         * malloc/malloc.c (sysmalloc): Do not update arena_max.
22906         * malloc/arena.c (arena_max): Remove.
22907         (heap_trim, _int_new_arena): Do not update arena_max.
22909 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22911         * resolv/res_init.c (res_ninit): Update comment.
22913 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22915         [BZ #19505]
22916         * posix/spawn_int.h: Add headers and include guard.
22917         (__spawn_valid_fd): New function.
22918         * posix/spawn_faction_addopen.c
22919         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
22920         * posix/spawn_faction_addclose.c
22921         (posix_spawn_file_actions_addclose): Likewise.
22922         * posix/spawn_faction_adddup2.c
22923         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
22924         second file descriptor.
22925         * posix/spawn_valid_fd.c: New file.
22926         * posix/tst-posix_spawn-fd.c: New file.
22927         * posix/Makefile (routines): Add spawn_valid_fd.
22928         (tests): Add tst-posix_spawn-fd.
22930 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22932         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
22933         (do_test): Limit the number of arenas, so that we can use fewer
22934         outer threads.  Limit timeout to 3 seconds, in preparation for a
22935         larger TIMEOUT value.
22937 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22939         [BZ #19674]
22940         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
22941         sign in overflowing and underflowing results when overflow or
22942         underflow is detected early.  Include sign in result before rather
22943         than after scaling.
22945         [BZ #19603]
22946         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22947         (__ieee754_remainderl): Adjust sign of integer version of low part
22948         when taking absolute value of high part.
22949         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22950         * math/libm-test.inc (remainder_test_data): Add another test.
22951         (remquo_test_data): Likewise.
22953 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
22955         [BZ #19602]
22956         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
22957         equal high parts and both low parts zero specially.
22958         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
22959         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
22960         Add test-fmodl-ldbl-128ibm.
22962         [BZ #19595]
22963         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
22964         common logic for all cases of shifting subnormal results.  Do not
22965         insert sign bit in shifted mantissa.  Always pass -1023 as biased
22966         exponent to ldbl_insert_mantissa in subnormal case.
22968         [BZ #19594]
22969         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
22970         on high and low parts then adjust result and use
22971         ldbl_canonicalize_int if needed.
22973         [BZ #19593]
22974         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
22975         on high part and __floor or __ceil on low part then use
22976         ldbl_canonicalize_int if needed.
22978         [BZ #19592]
22979         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
22980         high and low parts then use ldbl_canonicalize_int if needed.
22982         [BZ #17899]
22983         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
22984         New function.
22985         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
22986         on high and low parts then use ldbl_canonicalize_int if needed.
22988 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22990         * configure: Regenerated.
22992         * po/libc.pot: Regenerated.
22994         * po/be.po: Updated translation.
22995         * po/bg.po: Likewise.
22996         * po/ca.po: Likewise.
22997         * po/cs.po: Likewise.
22998         * po/da.po: Likewise.
22999         * po/el.po: Likewise.
23000         * po/eo.po: Likewise.
23001         * po/es.po: Likewise.
23002         * po/fi.po: Likewise.
23003         * po/fr.po: Likewise.
23004         * po/gl.po: Likewise.
23005         * po/hr.po: Likewise.
23006         * po/hu.po: Likewise.
23007         * po/ia.po: Likewise.
23008         * po/id.po: Likewise.
23009         * po/it.po: Likewise.
23010         * po/ja.po: Likewise.
23011         * po/lt.po: Likewise.
23012         * po/nb.po: Likewise.
23013         * po/nl.po: Likewise.
23014         * po/pt_BR.po: Likewise.
23015         * po/rw.po: Likewise.
23016         * po/sk.po: Likewise.
23017         * po/sl.po: Likewise.
23018         * po/sv.po: Likewise.
23019         * po/tr.po: Likewise.
23020         * po/zh_CN.po: Likewise.
23021         * po/zh_TW.po: Likewise.
23023         * version.h (RELEAES): Set to "development".
23024         (VERSION): Set to 2.23.90.
23026         * version.h (RELEASE): Set to "stable".
23027         (VERSION): Set to 2.23.
23028         * include/feature.h (__GLIBC_MINOR__): Set to 23.
23030         * NEWS: Updated fixed bugs.
23032 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
23033             Wilco Dijkstra  <wdijkstr@arm.com>
23035         [BZ #19462]
23036         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
23037         (_STRING_INLINE_unaligned): This.
23038         * include/string.h: Include <string_private.h>.
23039         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
23040         _STRING_INLINE_unaligned.
23041         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
23042         (_STRING_INLINE_unaligned): New.
23043         * sysdeps/aarch64/string_private.h: New file.
23044         * sysdeps/generic/string_private.h: Likewise.
23045         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
23046         * sysdeps/s390/string_private.h: Likewise.
23047         * sysdeps/x86/string_private.h: Likewise.
23048         * sysdeps/m68k/m680x0/m68020/bits/string.h
23049         (_STRING_ARCH_unaligned): Renamed to ...
23050         (_STRING_INLINE_unaligned): This.
23051         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
23052         to ...
23053         (_STRING_INLINE_unaligned): This.
23054         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
23055         to ...
23056         (_STRING_INLINE_unaligned): This.
23057         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
23058         to ...
23059         (_STRING_INLINE_unaligned): This.
23061 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
23062             H.J. Lu  <hongjiu.lu@intel.com>
23064         [BZ #19590]
23065         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
23066         relocation.
23068 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
23070         [BZ #18665]
23071         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
23072         *herrno_p.
23073         (gaih_getanswer): Document functional behviour. Return tryagain
23074         if any result is tryagain.
23075         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
23076         when freed.
23077         * resolv/res_send.c: Add copyright text.
23078         (__libc_res_nsend): Document that MAXPACKET is expected.
23079         (send_vc): Document. Remove buffer reuse.
23080         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
23081         size of the buffer. Add Dprint for truncated UDP buffer.
23083 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
23085         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
23086         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
23087         * INSTALL: Regenerate.
23089 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
23090             Jonathan Wakely  <jwakely@redhat.com>
23091             Carlos O'Donell  <carlos@redhat.com>
23093         [BZ 19439]
23094         * math/Makefile (tests): Add test-math-isinff.
23095         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
23096         * math/bits/mathcalls.h [__USE_MISC]: Use
23097         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
23098         functions not in C++11 and which don't conflict e.g. isinff,
23099         isinfl etc.
23100         * math/test-math-isinff.cc: New file.
23102 2016-02-12  Florian Weimer  <fweimer@redhat.com>
23104         * misc/bug18240.c (do_test): Set RLIMIT_AS.
23106 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23108         [BZ #19529]
23109         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
23111 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23113         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23115 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
23117         [BZ #19550]
23118         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
23119         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
23120         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
23121         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
23122         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
23123         New syscall entry.
23124         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
23125         New syscall entry.
23126         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
23127         syscall entry.
23129 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
23131         [BZ #18240]
23132         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
23133         unsigned int wraparound.
23135 2016-01-27  Florian Weimer  <fweimer@redhat.com>
23137         [BZ #18240]
23138         * misc/bug18240.c: New test.
23139         * misc/Makefile (tests): Add it.
23141 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
23142             Joseph Myers  <joseph@codesourcery.com>
23144         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
23145         load in branch delay slot when less than a word of input left.
23147 2016-01-27  Andreas Schwab  <schwab@suse.de>
23149         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
23150         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
23151         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
23152         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
23154 2016-01-26  David S. Miller  <davem@davemloft.net>
23156         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
23158 2016-01-25  David S. Miller  <davem@davemloft.net>
23160         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
23161         __sqrtl_finite.
23162         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
23163         instead using versioned_symbol.
23164         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
23165         of entries.
23167         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
23168         __sqrtl_finite to GLIBC_2.23
23170 2016-01-25  Ricchard Henderson  <rth@redhat.com>
23172         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23174 2016-01-25  Andreas Schwab  <schwab@suse.de>
23176         [BZ #17514]
23177         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
23178         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
23179         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
23180         * nptl/tst-mutex-errorcheck.c: New file.
23182 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23184         [BZ #18560]
23185         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
23186         (IPCOP_semop): Likewise.
23187         (IPCOP_semget): Likewise.
23188         (IPCOP_semctl): Likewise.
23189         (IPCOP_msgsnd): Likewise.
23190         (IPCOP_msgrcv): Likewise.
23191         (IPCOP_msgget): Likewise.
23192         (IPCOP_msgctl): Likewise.
23193         (IPCOP_shmat): Likewise.
23194         (IPCOP_shmdt): Likewise.
23195         (IPCOP_shmget): Likewise.
23196         (IPCOP_shmctl): Likewise.
23198 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
23200         * string/tst-endian.c: Include <libc-internal.h>.
23201         (do_test): Ignore tautological-compare warnings around
23202         "htobeXX (beXXtoh (i)) != i" and
23203         "htoleXX (leXXtoh (i)) != i" if-statements.
23205 2016-01-24  David S. Miller  <davem@davemloft.net>
23207         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
23208         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
23209         alias.
23210         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
23211         __sqrtl_finite.
23213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23215 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
23217         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
23218         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
23219         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23221 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23223         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
23224         (thread_func): Use new function to simplify barrier check.
23225         (do_test): Use new function to simplify checking barrier exit
23226         code, and actually join the child thread.
23228 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23230         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
23231         semicolon.
23232         (__libc_tend): Likewise.
23233         (__libc_tabort): Likewise.
23235 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
23237         * sysdeps/nios2/libm-test-ulps: Update.
23238         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
23239         (__gtsf2): Likewise.
23240         (__unorddf2): Likewise.
23241         (__unordsf2): Likewise.
23242         (__ledf2): Likewise.
23244 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
23246         * nis/nis_table.c (__follow_path): Disable diagnostic for
23247         uninitialized variable that is a false positive for gcc 4.7.
23248         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
23250 2016-01-20  Roland McGrath  <roland@hack.frob.com>
23252         * sysdeps/nacl/lowlevellock-futex.h
23253         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
23254         Always evaluate PRIVATE argument.
23256 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
23258         [BZ #19490]
23259         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
23260         (pthread_cond_broadcast): Use ENTRY/END
23261         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
23262         (pthread_cond_signal): Likewise.
23263         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
23264         Likewise.
23265         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
23266         Likewise.
23267         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
23268         Likewise.
23270 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
23272         * sysdeps/ieee754/dbl-64/s_finite.c
23273         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
23274         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
23275         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
23276         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
23277         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
23279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
23280         (__gtsf2): Add as optional for libc.so.
23281         (__unordsf2): Likewise.
23282         (__signbit): Remove for libc.so.
23283         (__signbitl): Likewise.
23285 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
23287         * iconvdata/bug-iconv11.c (test_ibm93x):
23288         Use %zu printf format specifier for size_t argument.
23290 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
23292         * math/gen-libm-test.pl (parse_ulps): Do not reduce
23293         already-recorded ulps.
23294         * sysdeps/arm/libm-test-ulps: Regenerated.
23295         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23296         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23297         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23299 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23300             Paul Pluzhnikov  <ppluzhnikov@google.com>
23302         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
23303         assembler not supporting AVX-512.
23305 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
23307         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23309 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
23311         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23312         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23314         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23316         * sysdeps/arm/libm-test-ulps: Regenerated.
23318 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23320         [BZ #19451]
23321         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
23323 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23325         [BZ #19486]
23326         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
23327         * sysdeps/generic/fix-fp-int-convert-overflow.h
23328         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
23329         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
23330         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
23331         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
23332         Likewise.
23333         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
23334         Avoid conversions to long int where inexact exceptions
23335         could be raised.
23336         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
23337         Likewise.
23338         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
23339         Avoid conversions to long long int where inexact exceptions
23340         could be raised.
23341         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
23342         Likewise.
23344 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
23346         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
23347         * configure: Regenerated.
23349 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
23351         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
23353 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
23355         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
23356         outside of comment.
23358 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23360         * nptl/tst-barrier1.c: Add description on first line.
23361         * nptl/tst-barrier2.c: Likewise.
23362         * nptl/tst-barrier3.c: Likewise.
23363         * nptl/tst-barrier4.c: Likewise.
23364         * nptl/tst-barrier5.c: Likewise.
23366 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23368         [BZ #18868]
23369         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
23371 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
23373         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
23374         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23375         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
23376         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
23377         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
23378         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
23379         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23380         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23381         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23382         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23383         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23385 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23387         [BZ #13065]
23388         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
23389         new implementation.
23390         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
23391         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
23392         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
23393         (BARRIER_IN_THRESHOLD): New macro.
23394         * nptl/pthread_barrierattr_setpshared.c
23395         (pthread_barrierattr_setpshared): Clean up.
23396         * nptl/tst-barrier4.c: Correct comment.
23397         * nptl/tst-barrier5.c: New file.
23398         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
23399         (gen-as-const-headers): Remove lowlevelbarrier.sym.
23400         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
23401         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
23402         * nptl/lowlevelbarrier.sym: Remove.
23403         * nptl/DESIGN-barrier.txt: Remove.
23404         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
23405         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
23406         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
23407         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
23408         error.
23409         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
23410         implementation.
23412 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23414         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
23415         (do_child): Mask SIGRTMIN while thr is running.
23417 2016-01-15  Martin Sebor  <msebor@redhat.com>
23419         [BZ #19432]
23420         * iconvdata/Makefile: Add bug-iconv11.
23421         * iconvdata/bug-iconv11.c: New test.
23422         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
23423         * iconvdata/ibm933.c: Same.
23424         * iconvdata/ibm935.c: Same.
23425         * iconvdata/ibm937.c: Same.
23426         * iconvdata/ibm939.c: Same.
23428 2016-01-15  Martin Sebor  <msebor@redhat.com>
23430         [BZ #19443]
23431         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
23432         [DEBUG] (_ufc_set_bits): Declare used.
23433         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
23434         [DEBUG] (print_all): Declare used.
23435         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
23436         operands of the ternary ?: expression to target type.
23437         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
23438         calling the undeclared abort.
23439         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
23441 2016-01-15  Martin Sebor  <msebor@redhat.com>
23443         [BZ #18755]
23444         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
23445         warnings.
23446         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
23447         (__gai_create_helper_thread): Same.
23448         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
23449         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
23450         to suppress -Wmaybe-uninitialized warnings.
23452 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
23454         [BZ #19465]
23455         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
23456         inside if.
23457         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23458         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23459         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23461 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
23463         [BZ #19466]
23464         * time/tst-mktime2.c (time_t_max): Removed.
23465         (time_t_min): Likewise.
23466         (TYPE_SIGNED): New.
23467         (TYPE_MINIMUM): Likewise.
23468         (TYPE_MAXIMUM): Likewise.
23469         (TIME_T_MIN): Likewise.
23470         (TIME_T_MAX): Likewise.
23471         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
23472         and TIME_T_MIN.
23473         (do_test): Likewise.
23475 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
23477         [BZ #19467]
23478         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23479         index_Fast_Unaligned_Load flag for Excavator family CPUs.
23481 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
23483         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
23485 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
23487         * benchtests/Makefile (PYTHON): Define.
23488         (bench-func): Use $(PYTHON) to run python scripts.
23489         ($(objpfx)bench-%.c): Likewise.
23491 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
23493         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
23494         leading slash when `file_name' is "/".
23496 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
23498         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
23499         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
23500         Likewise.
23501         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
23502         Likewise.
23503         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
23504         Likewise.
23505         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
23506         enum constant and macro.
23507         (PTRACE_SETSIGMASK): Likewise.
23508         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23509         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
23510         (PTRACE_GETSIGMASK): Likewise.
23511         (PTRACE_SETSIGMASK): Likewise.
23512         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23513         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
23514         Likewise.
23515         (PTRACE_SETSIGMASK): Likewise.
23516         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23517         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
23518         (PTRACE_GETSIGMASK): Likewise.
23519         (PTRACE_SETSIGMASK): Likewise.
23520         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23521         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
23522         Likewise.
23523         (PTRACE_SETSIGMASK): Likewise.
23524         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23525         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
23526         Likewise.
23527         (PTRACE_SETSIGMASK): Likewise.
23528         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23529         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
23530         Likewise.
23531         (PTRACE_SETSIGMASK): Likewise.
23532         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23534 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
23535             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23537         [BZ #19439]
23538         * math/bits/mathcalls.h
23539         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
23540         prototype.
23541         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
23543 2016-01-11  Andreas Schwab  <schwab@suse.de>
23545         [BZ #19253]
23546         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
23547         cache when TZDEFRULES was used.
23548         * time/tst-tzname.c: New file.
23549         * time/Makefile (test): Add tst-tzname.
23550         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
23551         * timezone/Makefile (test-zones): Add $(posixrules-file).
23552         ($(testdata)/$(posixrules-file)): New rule.
23554 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
23556         Fix doc quoting problems with Texinfo 5
23557         Without this change, in the info file output, Texinfo 5 quotes code
23558         in text with undirected single quotes 'like this' and generates
23559         code examples that with many PDF readers cannot be cut out of PDFs
23560         and pasted into code.
23561         * manual/libc.texinfo: Configure the libc manual like the GNU
23562         Emacs manual, by using @documentencoding and setting
23563         txicodequoteundirected and txicodequotebacktick.  This way,
23564         Texinfo 5 quotes code in text with directed single quotes ‘like
23565         this’ and produces examples that can be cut out of PDFs.  This
23566         change causes Texinfo 5 to generate info files that contain UTF-8
23567         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
23568         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
23570 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23572         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
23573         __libc_tabort, __libc_tend): New wrappers that enforce compiler
23574         barriers to their respective compiler built-ins.
23575         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
23576         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
23577         * sysdeps/powerpc/sysdep.h: Likewise.
23578         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
23579         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
23580         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
23582 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
23584         * scripts/config.guess: Revert previous shebang change.
23585         * scripts/config.sub: Likewise.
23586         * scripts/mkinstalldirs: Likewise.
23588 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23590         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
23591         PPC_FEATURE2_HAS_IEEE128.
23592         * sysdeps/powerpc/dl-procinfo.c:
23593         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
23595 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
23597         [BZ #19415]
23598         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
23599         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
23600         (_dl_lookup_address): Rewrite using function resolver trampoline.
23601         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
23602         two bits in address.
23604 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
23606         * longlong.h: Change !__SHMEDIA__ to
23607         (!defined (__SHMEDIA__) || !__SHMEDIA__).
23608         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
23610 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
23611             Joseph Myers  <joseph@codesourcery.com>
23612             Mark Shinwell  <shinwell@codesourcery.com>
23613             Andrew Stubbs  <ams@codesourcery.com>
23614             Rich Felker <dalias@libc.org>
23616         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
23618 2016-01-07  Richard Henderson  <rth@redhat.com>
23620         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
23622 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
23624         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
23625         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
23626         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23627         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23628         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
23630 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
23631             Joseph Myers  <joseph@codesourcery.com>
23633         * timezone/private.h: Update from tzcode 2015g.
23634         * timezone/tzfile.h: Likewise.
23635         * timezone/tzselect.ksh: Likewise.
23636         * timezone/zdump.c: Likewise.
23637         * timezone/zic.c: Likewise.
23638         * timezone/ialloc.c: Remove file.
23639         * timezone/scheck.c: Likewise.
23640         * timezone/Makefile (extra-objs): Remove variable.
23641         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
23642         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
23643         -Wno-maybe-uninitialized.
23644         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
23645         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
23646         (CFLAGS-ialloc.c): Remove variable.
23647         (CFLAGS-scheck.c): Likewise.
23648         * timezone/README: Update list of files from tzcode.
23650 2016-01-07  Khem Raj  <raj.khem@gmail.com>
23652         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
23653         instead of __fxprintf when _LIBC is undefined.
23655 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
23657         * catgets/test-gencat.sh: Remove space after shebang.
23658         * conform/GlibcConform.pm: Likewise.
23659         * conform/check-header-lists.sh: Likewise.
23660         * conform/conformtest.pl: Likewise.
23661         * conform/linknamespace.pl: Likewise.
23662         * conform/list-header-symbols.pl: Likewise.
23663         * debug/catchsegv.sh: Likewise.
23664         * elf/genrtldtbl.awk: Likewise.
23665         * elf/tst-pathopt.sh: Likewise.
23666         * elf/tst-rtld-load-self.sh: Likewise.
23667         * grp/tst_fgetgrent.sh: Likewise.
23668         * iconvdata/gen-8bit-gap-1.sh: Likewise.
23669         * iconvdata/gen-8bit-gap.sh: Likewise.
23670         * iconvdata/gen-8bit.sh: Likewise.
23671         * iconvdata/run-iconv-test.sh: Likewise.
23672         * intl/tst-gettext.sh: Likewise.
23673         * intl/tst-gettext2.sh: Likewise.
23674         * intl/tst-gettext4.sh: Likewise.
23675         * intl/tst-gettext6.sh: Likewise.
23676         * intl/tst-translit.sh: Likewise.
23677         * io/ftwtest-sh: Likewise.
23678         * libio/test-freopen.sh: Likewise.
23679         * locale/gen-translit.pl: Likewise.
23680         * malloc/tst-mtrace.sh: Likewise.
23681         * manual/check-safety.sh: Likewise.
23682         * manual/libc-texinfo.sh: Likewise.
23683         * manual/tsort.awk: Likewise.
23684         * manual/xtract-typefun.awk: Likewise.
23685         * nptl/tst-cancel-wrappers.sh: Likewise.
23686         * nptl/tst-tls6.sh: Likewise.
23687         * posix/globtest.sh: Likewise.
23688         * posix/tst-getconf.sh: Likewise.
23689         * posix/wordexp-tst.sh: Likewise.
23690         * scripts/check-c++-types.sh: Likewise.
23691         * scripts/check-local-headers.sh: Likewise.
23692         * scripts/config.guess: Likewise.
23693         * scripts/config.sub: Likewise.
23694         * scripts/cpp: Likewise.
23695         * scripts/cross-test-ssh.sh: Likewise.
23696         * scripts/documented.sh: Likewise.
23697         * scripts/evaluate-test.sh: Likewise.
23698         * scripts/gen-libc-abis: Likewise.
23699         * scripts/gen-sorted.awk: Likewise.
23700         * scripts/list-fixed-bugs.py: Likewise.
23701         * scripts/merge-test-results.sh: Likewise.
23702         * scripts/mkinstalldirs: Likewise.
23703         * scripts/rellns-sh: Likewise.
23704         * scripts/test-installation.pl: Likewise.
23705         * scripts/update-copyrights: Likewise.
23706         * stdio-common/tst-printf.sh: Likewise.
23707         * stdio-common/tst-unbputc.sh: Likewise.
23708         * stdlib/tst-fmtmsg.sh: Likewise.
23709         * stdlib/tst-setcontext3.sh: Likewise.
23710         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
23711         * sysdeps/unix/make-syscalls.sh: Likewise.
23713 2016-01-06  John David Anglin  <dave.anglin@bell.net>
23715         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
23716         asm stw with atomic_exchange_rel.  Add explanatory comment.
23717         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23718         Likewise.
23720 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
23722         [BZ #19122]
23723         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
23724         * sysdeps/generic/dl-unistd.h: New file.
23725         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
23727 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
23729          [BZ #19122]
23730          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
23731          * sysdeps/generic/dl-mman.h: New file.
23732          * sysdeps/mach/hurd/dl-mman.h: Likewise.
23734 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
23736         * manual/texinfo.tex: Update to version 2016-01-04.21 with
23737         trailing whitespace removed.
23738         * scripts/config.guess: Update to version 2016-01-01.
23739         * scripts/config.sub: Update to version 2016-01-01.
23740         * scripts/move-if-change: Update from gnulib.
23742 2016-01-04  Anton Blanchard  <anton@samba.org>
23744         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
23745         for array indices.
23746         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
23748 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
23750         * NEWS: Update copyright dates.
23751         * catgets/gencat.c (print_version): Likewise.
23752         * csu/version.c (banner): Likewise.
23753         * debug/catchsegv.sh: Likewise.
23754         * debug/pcprofiledump.c (print_version): Likewise.
23755         * debug/xtrace.sh (do_version): Likewise.
23756         * elf/ldconfig.c (print_version): Likewise.
23757         * elf/ldd.bash.in: Likewise.
23758         * elf/pldd.c (print_version): Likewise.
23759         * elf/sotruss.sh: Likewise.
23760         * elf/sprof.c (print_version): Likewise.
23761         * iconv/iconv_prog.c (print_version): Likewise.
23762         * iconv/iconvconfig.c (print_version): Likewise.
23763         * locale/programs/locale.c (print_version): Likewise.
23764         * locale/programs/localedef.c (print_version): Likewise.
23765         * login/programs/pt_chown.c (print_version): Likewise.
23766         * malloc/memusage.sh (do_version): Likewise.
23767         * malloc/memusagestat.c (print_version): Likewise.
23768         * malloc/mtrace.pl: Likewise.
23769         * manual/libc.texinfo: Likewise.
23770         * nptl/version.c (banner): Likewise.
23771         * nscd/nscd.c (print_version): Likewise.
23772         * nss/getent.c (print_version): Likewise.
23773         * nss/makedb.c (print_version): Likewise.
23774         * posix/getconf.c (main): Likewise.
23775         * scripts/test-installation.pl: Likewise.
23776         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23778         * All files with FSF copyright notices: Update copyright dates
23779         using scripts/update-copyrights.
23780         * intl/plural.c: Regenerated.
23781         * locale/programs/charmap-kw.h: Likewise.
23782         * locale/programs/locfile-kw.h: Likewise.
23784 2016-01-02  Helge Deller  <deller@gmx.de>
23786         [BZ #19285]
23787         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
23788         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
23789         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
23790         (MADV_xxK_PAGES): Remove.
23792 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
23794         [BZ #15421]
23795         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
23796         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
23797         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
23798         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
23800 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
23802         [BZ #19408]
23803         * sysdeps/unix/sysv/linux/personality.c: New file.
23804         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
23805         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
23806         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
23807         (sysdep_routines): Add personality.
23808         (tests): Add tst-personality.
23809         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
23810         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
23811         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
23812         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
23813         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
23814         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
23815         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
23816         Likewise.
23817         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
23818         Likewise.
23819         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
23820         Likewise.
23821         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
23822         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
23823         Likewise.
23825 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
23827         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
23828         (PATH_ARM_SYSTYPE): Remove.
23829         (PATH_CPUINFO): Likewise.
23830         (IO_BASE_FOOTBRIDGE): Likewise.
23831         (IO_SHIFT_FOOTBRIDGE): Likewise.
23832         (struct platform): Likewise.
23833         (init_iosys): Remove compatibility code for 2.4 kernels.
23834         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
23836 2015-12-29  Florian Weimer  <fweimer@redhat.com>
23838         * malloc/tst-malloc-thread-fail.c: New file.
23839         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
23840         (tst-malloc-thread-fail): Link against libpthread.
23842 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
23844         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
23845         (get_parser): New function.
23846         (main): New function.
23848 2015-12-29  Rob Wu  <rob@robwu.nl>
23850         [BZ #19369]
23851         * resolv/res_init.c (__res_vinit): Reset defdname before use.
23853 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
23855         [BZ #19270]
23856         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23858 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
23860         [BZ #15421]
23861         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
23863 2015-12-23  Torvald Riegel  <triegel@redhat.com>
23865         [BZ #13690]
23866         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
23867         after releasing it.
23868         (__lll_robust_unlock): Likewise.
23869         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23870         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
23871         (lll_robust_unlock): Likewise.
23872         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
23873         Prevent warnings in callers.
23875 2015-12-23  Florian Weimer  <fweimer@redhat.com>
23877         * malloc/arena.c (list_lock): Update comment.
23879 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23881         * sysdeps/powerpc/hwcapinfo.c: Export symbol
23882         __parse_hwcap_and_convert_at_platform to libc.a.
23884 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23886         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
23887         platform and feature support for POWER9.
23888         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23889         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
23890         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
23891         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
23892         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
23893         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
23894         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
23895         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
23897 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23899         Harmonize generic stdio-lock support with nptl
23901         This fixes build when _IO_funlockfile is a macro, fixes build where
23902         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
23903         stack unwind.
23905         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
23906         _IO_release_lock ): Use cleanup attribute on new
23907         _IO_acquire_lock_file variable instead of assuming that
23908         _IO_release_lock will be called.
23909         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
23910         _IO_acquire_lock_needs_exceptions_enabled.
23911         (_IO_acquire_lock_clear_flags2): New macro.
23913 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23915         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23917 2015-12-21  Florian Weimer  <fweimer@redhat.com>
23919         [BZ #19182]
23920         * malloc/arena.c (list_lock): Document lock ordering requirements.
23921         (free_list_lock): New lock.
23922         (ptmalloc_lock_all): Comment on free_list_lock.
23923         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
23924         (detach_arena): Update comment.  free_list_lock is now needed.
23925         (_int_new_arena): Use free_list_lock around detach_arena call.
23926         Acquire arena lock after list_lock.  Add comment, including FIXME
23927         about incorrect synchronization.
23928         (get_free_list): Switch to free_list_lock.
23929         (reused_arena): Acquire free_list_lock around detach_arena call
23930         and attached threads counter update.  Add two FIXMEs about
23931         incorrect synchronization.
23932         (arena_thread_freeres): Switch to free_list_lock.
23933         * malloc/malloc.c (struct malloc_state): Update comments to
23934         mention free_list_lock.
23936 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
23938         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
23939         Remove functions.
23940         (sloww, sloww1): Accept argument to offset quadrant.
23941         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
23942         quadrant.
23943         (__sin, __cos): Consolidate common code into new functions.
23944         (reduce_sincos_1, do_sincos_1): New functions.
23945         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23947         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
23948         code to new functions.
23949         (reduce_sincos_2, do_sincos_2): New functions.
23950         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23952         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
23953         common code for sincos.
23954         (__cos) [!IN_SINCOS]: Likewise.
23955         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
23956         New function.
23957         (__sincos): Use it.
23959 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
23961         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
23962         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
23963         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23965 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23967         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
23968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
23969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23970         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
23971         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23972         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
23973         index_Prefer_No_VZEROUPPER): New feature.
23974         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
23975         Prefer_No_VZEROUPPER for Knights Landing.
23977 015-12-18  Torvald Riegel  <triegel@redhat.com>
23979         * math/atest-exp2.c (mp_exp_m1): Remove.
23981 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23983         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
23984         syscalls.
23985         (__SYSCALL0): New macro.
23986         (__SYSCALL1): Likewise.
23987         (__SYSCALL2): Likewise.
23988         (__SYSCALL3): Likewise.
23989         (__SYSCALL4): Likewise.
23990         (__SYSCALL5): Likewise.
23991         (__SYSCALL6): Likewise.
23992         (__SYSCALL_CONCAT_X): Likewise.
23993         (__SYSCALL_CONCAT): Likewise.
23994         (__SYSCALL_DIST): Likewise.
23995         (__SYSCALL_CALL): Likewise.
23997 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
23999         [BZ #19363]
24000         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
24002 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24004         [BZ #19375]
24005         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
24006         negative subnormals.
24008 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
24010         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
24011         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
24012         (INTERNAL_SYSCALL_NCS): Use it.
24013         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24015 2015-12-16  Florian Weimer  <fweimer@redhat.com>
24017         [BZ #19243]
24018         * malloc/arena.c (get_free_list): Remove assert and adjust
24019         reference count handling.  Add comment about reused_arena
24020         interaction.
24021         (reused_arena): Add comments abount get_free_list interaction.
24022         * malloc/tst-malloc-thread-exit.c: New file.
24023         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
24024         (tst-malloc-thread-exit): Link against libpthread.
24026 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
24028         [BZ #19367]
24029         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
24030         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
24031         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
24032         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
24033         (index_Prefer_MAP_32BIT_EXEC): Likewise.
24035 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
24037         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
24038         Silvermont optimizations for Knights Landing.
24040 2015-12-15  Andreas Schwab  <schwab@suse.de>
24042         [BZ #17197]
24043         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
24044         immediately after emitting SI.
24045         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
24046         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
24047         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
24048         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
24049         * iconvdata/bug-iconv10.c: New file.
24050         * iconvdata/Makefile (tests): Add bug-iconv10.
24051         ($(objpfx)bug-iconv10.out): New rule.
24053 2015-12-15  Florian Weimer  <fweimer@redhat.com>
24055         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
24056         aliasing violation.
24058 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
24060         [BZ #18472]
24061         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
24062         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
24063         conditionals for them.
24064         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
24065         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
24066         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
24067         sys/kdaemon.h.
24068         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
24069         compat-only syscall, obsoleted in glibc 2.23.
24070         (create_module): Likewise.
24071         (get_kernel_syms): Likewise.
24072         (query_module): Likewise.
24073         (uselib): Likewise.
24074         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
24076 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
24078         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
24079         <linux/version.h>.
24080         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
24081         conditional code.
24082         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
24083         and ioshift_name initialization.
24085 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
24087         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24088         Fix indentation.
24090 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
24092         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
24094 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
24096         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
24098 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
24099             Jakub Wilk  <jwilk@debian.org>
24101         [BZ #19347]
24102         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
24103         to change the group of the device to the tty group.
24105 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
24107         Split large string section; add truncation advice
24108         * manual/examples/strncat.c: Remove.
24109         This example was misleading, as the code would have undefined
24110         behavior if "hello" was longer than SIZE.  Anyway, the manual
24111         shouldn't encourage strncpy+strncat for this sort of thing.
24112         * manual/string.texi (Copying Strings and Arrays): Split into
24113         three sections Copying Strings and Arrays, Concatenating Strings,
24114         and Truncating Strings, as this section was way too long.  All
24115         cross-referenced changed.  Add advice about string-truncation
24116         functions.  Remove misleading strncat example.
24118 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
24120         * manual/nss.texi (NSS Modules Interface): Document
24121         NSS_STATUS_NOTFOUND and SUCCESS.
24123 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
24125         [BZ 18568]
24126         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24127         201505L, for Unicode 8.
24129 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
24131         * locale/C-translit.h: Regenerate.
24133 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
24135         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
24136         and U+0153.
24138 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
24140         [BZ #19351]
24141         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
24142         expanding log(1+z), compare z rather than its square with epsilon
24143         to determine when to avoid evaluating the expansion.
24145         [BZ #19350]
24146         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24147         Increase overflow threshold.
24149         [BZ #19349]
24150         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
24151         when small.
24153         * sysdeps/unix/sysv/linux/i386/kernel-features.h
24154         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24155         New macro.
24156         [__LINUX_KERNEL_VERSION >= 0x040300]
24157         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24158         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24159         Likewise.
24160         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24161         Likewise.
24162         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24163         Likewise.
24164         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24165         Likewise.
24166         [__LINUX_KERNEL_VERSION >= 0x040300]
24167         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24168         [__LINUX_KERNEL_VERSION >= 0x040300]
24169         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24170         [__LINUX_KERNEL_VERSION >= 0x040300]
24171         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24172         [__LINUX_KERNEL_VERSION >= 0x040300]
24173         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24174         [__LINUX_KERNEL_VERSION >= 0x040300]
24175         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24176         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24177         Likewise.
24178         [__LINUX_KERNEL_VERSION >= 0x040300]
24179         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24180         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24181         Likewise.
24182         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24183         Likewise.
24184         [__LINUX_KERNEL_VERSION >= 0x040300]
24185         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24186         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24187         Likewise.
24188         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24189         Likewise.
24190         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24191         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
24192         Likewise.
24193         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
24194         Likewise.
24195         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24196         Likewise.
24197         [__LINUX_KERNEL_VERSION >= 0x040300]
24198         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24199         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24200         Likewise.
24201         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24202         Likewise.
24203         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24204         Likewise.
24205         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24206         Likewise.
24207         [__LINUX_KERNEL_VERSION >= 0x040300]
24208         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24209         [__LINUX_KERNEL_VERSION >= 0x040300]
24210         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24211         [__LINUX_KERNEL_VERSION >= 0x040300]
24212         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24213         [__LINUX_KERNEL_VERSION >= 0x040300]
24214         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24215         [__LINUX_KERNEL_VERSION >= 0x040300]
24216         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24217         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24218         Likewise.
24219         [__LINUX_KERNEL_VERSION >= 0x040300]
24220         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24221         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24222         Likewise.
24223         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24224         Likewise.
24225         [__LINUX_KERNEL_VERSION >= 0x040300]
24226         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24227         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24228         Likewise.
24229         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24230         Likewise.
24231         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24232         (__ASSUME_SOCKET_SYSCALL): Likewise.
24233         (__ASSUME_BIND_SYSCALL): Likewise.
24234         (__ASSUME_CONNECT_SYSCALL): Likewise.
24235         (__ASSUME_LISTEN_SYSCALL): Likewise.
24236         (__ASSUME_ACCEPT_SYSCALL): Likewise.
24237         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24238         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24239         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24240         (__ASSUME_SEND_SYSCALL): Likewise.
24241         (__ASSUME_SENDTO_SYSCALL): Likewise.
24242         (__ASSUME_RECV_SYSCALL): Likewise.
24243         (__ASSUME_RECVFROM_SYSCALL): Likewise.
24244         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
24245         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24246         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24247         (__ASSUME_SENDMSG_SYSCALL): Likewise.
24248         (__ASSUME_RECVMSG_SYSCALL): Likewise.
24249         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24250         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
24251         Likewise.
24252         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
24253         Likewise.
24254         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
24255         Likewise.
24256         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
24257         Likewise.
24258         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
24259         Likewise.
24260         [__LINUX_KERNEL_VERSION >= 0x020625]
24261         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24262         [__LINUX_KERNEL_VERSION >= 0x020625]
24263         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24264         [__LINUX_KERNEL_VERSION >= 0x020625]
24265         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24266         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
24267         Likewise.
24268         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
24269         Likewise.
24270         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
24271         Likewise.
24272         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
24273         Likewise.
24274         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
24275         Likewise.
24276         [__LINUX_KERNEL_VERSION >= 0x020625]
24277         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24278         [__LINUX_KERNEL_VERSION >= 0x020625]
24279         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24280         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
24281         Likewise.
24282         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
24283         Likewise.
24285 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
24287         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
24288         record the current if the current ABI and CPU support the FP64
24289         extension.
24290         (has-modd-spreg): Define to record the current if the current ABI and
24291         CPU support 32-bit floating point values in odd FPU registers.
24292         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24293         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
24294         $(has-modd-spreg) equals yes.
24295         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
24296         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
24297         $(has-modd-spreg) equal yes.
24299 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
24301         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
24302         basename.
24304 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
24306         * benchtests/Makefile (bench-math): Move ffs and ffsll...
24307         (bench-string): ... here.
24308         (bench): Add bench-string.
24309         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
24310         to *-benchset to reflect what they are.
24311         (benchset): Adjust.
24313         * benchtests/sincos-inputs: Add inputs from sin-inputs and
24314         cos-inputs.
24316 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
24318         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
24319         __attribute__ ((__simd__)) for vector math function declarations.
24321 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24323         Fix typo in strncat, wcsncat manual entries
24324         * manual/string.texi (Copying and Concatenation): Fix typos in
24325         sample implementations of strncat and wcsncat, by having them use
24326         the old value of the destination length, not the new one.
24328 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
24330         [BZ #16961]
24331         [BZ #16962]
24332         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
24333         string on the stack for strtod.
24334         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
24335         a string on the stack for strtof.
24336         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
24337         constructing a string on the stack for strtold.
24338         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
24339         __strtold_nan to GLIBC_PRIVATE.
24340         * math/test-nan-overflow.c: New file.
24341         * math/test-nan-payload.c: Likewise.
24342         * math/Makefile (tests): Add test-nan-overflow and
24343         test-nan-payload.
24345 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24347         Consistency about byte vs character in string.texi
24348         * manual/string.texi (String and Array Utilities):
24349         Distinguish more carefully among bytes, multibyte characters,
24350         and wide characters.  Use "byte" when talking about C 'char',
24351         to distinguish it more clearly from multibyte characters.
24352         Say "wide character" or "multibyte character" instead of
24353         "character", when a wide or multibyte character is intended.
24354         Similarly for "multibyte string" versus "string".
24355         Define these terms more carefully.
24357 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
24359         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
24360         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
24361         Likewise.
24362         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24363         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24364         * sysdeps/sh/math_private.h: New file.
24365         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
24366         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
24367         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
24368         long double function name.
24369         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24370         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24371         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24372         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24373         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24375         Remove __finitel, __isinfl, and __isnanl.
24376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24377         Likewise.
24378         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24380         Remove __finitel.
24381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24382         Likewise.
24383         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24385 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
24387         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
24388         installed libmvec_nonshared.a.
24390 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24392         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
24393         (sysdep_routines): Likewise.
24394         (sysdep-rtld-routines): Likewise.
24395         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
24396         [$(subdir) = nptl](tests-static): test-get_hwcap-static
24397         * sysdeps/powerpc/Versions: Added new
24398         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
24399         * sysdeps/powerpc/hwcapinfo.c: New file.
24400         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
24401         and parse hwcap, hwcap2 and platform number information.
24402         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
24403         to store HWCAP+HWCAP2 and platform number.
24404         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
24405         for HWCAP+HWCAP2 and platform number in the TCB.
24406         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
24407         the HWCAP, HWCAP2 and platform number in the TCB.
24408         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
24409         (TLS_INIT_TP): Included calls to add the hwcap and
24410         at_platform values in the TCB in TP initialization.
24411         (TLS_DEFINE_INIT_TP): Likewise.
24412         (THREAD_GET_HWCAP): New macro.
24413         (THREAD_SET_HWCAP): Likewise.
24414         (THREAD_GET_AT_PLATFORM): Likewise.
24415         (THREAD_SET_AT_PLATFORM): Likewise.
24416         * sysdeps/powerpc/powerpc32/dl-machine.h:
24417         (dl_platform_init): New function that calls
24418         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
24419         powerpc32.
24420         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
24421         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
24422         this functionality, static linking case.
24423         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
24424         linking case.
24425         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
24426         __parse_hwcap_and_convert_at_platform for the static linking case.
24427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
24428         Included the new __parse_hwcap_and_convert_at_platform symbol in the
24429         ABI list for GLIBC 2.23.
24430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
24431         Likewise.
24432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
24433         Likewise.
24435 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
24437         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
24438         * configure: Regenerate.
24439         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
24440         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
24442 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
24444         * iconvdata/ibm930.c: Add comment explaining encoding uses.
24445         * iconvdata/ibm933.c: Likewise.
24446         * iconvdata/ibm935.c: Likewise.
24447         * iconvdata/ibm937.c: Likewise.
24448         * iconvdata/ibm939.c: Likewise.
24450 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24452         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
24453         pthread_join.
24454         * nptl/tst-cancel21.c (tf): Likewise.
24456 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
24458         [BZ #19313]
24459         * bits/typesizes.h (__CPU_MASK_TYPE): New.
24460         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24461         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24462         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
24463         Likewise.
24464         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
24465         Likewise.
24466         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
24467         Likewise.
24468         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
24469         Likewise.
24470         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
24471         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
24472         unsigned long int with __CPU_MASK_TYPE.
24474 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24476         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24478 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
24480         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
24481         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
24482         t512.x.
24483         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
24485 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
24487         [BZ #19214]
24488         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
24489         argument to return extended model.  Update family and model
24490         with extended family and model when family == 0x0f.
24491         (init_cpu_features): Updated.
24493 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24495         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
24496         signed off_t, so 32bit bigger than 2GiB values are fine actually.
24498         * sysdeps/mach/hurd/mmap64.c: New file.
24500 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
24502         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
24503         rights for its main user thread in NEWTASK.
24505 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
24507         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
24508         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
24510 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
24512         [BZ #14259]
24513         * Makeconfig: Rename localedir to complocaledir.
24514         Rename inst_localedir to inst_complocaledir.
24515         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
24516         * config.make.in: Use complocaledir and libc_cv_complocaledir.
24517         * configure.ac: Use libc_cv_complocaledir.
24518         * configure: Regenerate.
24519         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
24520         -DCOMPLOCALEDIR.
24521         * locale/findlocale.c: Use COMPLOCALEDIR.
24522         * locale/loadarchive.c: Likewise.
24523         * locale/programs/locale.c: Likewise.
24524         * locale/programs/localedef.c: Likewise.
24525         * locale/programs/locarchive.c: Likewise.
24526         * localedata/Makefile: Use inst_complocaledir.
24527         * sysdeps/gnu/configure: Regenerate.
24528         * sysdeps/hppa/configure: Regenerate.
24529         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
24530         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
24532         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
24533         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
24534         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
24535         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
24537 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
24539         [BZ #19058]
24540         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
24541         AS_NEEDED.
24542         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
24543         workaround.
24544         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
24545         libmvec-static-only-routines): Added new file.
24546         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
24548 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24550         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
24551         of interrupted RPC instead of restoring it.
24553         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
24554         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
24555         libc_hidden_def.
24556         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
24557         into initialized data instead of common. Define rtld_hidden_data_def.
24558         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
24559         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
24560         libc_hidden_def.
24561         (if_freenameindex): Add libc_hidden_weak.
24562         (if_nameindex): Add libc_hidden_weak.
24563         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
24564         __open64.
24565         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
24566         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
24567         * sysdeps/mach/nanosleep.c: Include <time.h>
24568         (__nanosleep): Rename to __libc_nanosleep.
24569         (__nanosleep): Add weak_alias.
24570         (nanosleep): Update alias.
24572 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
24574         * stdlib/strtod_nan.c: New file.
24575         * stdlib/strtod_nan_double.h: Likewise.
24576         * stdlib/strtod_nan_float.h: Likewise.
24577         * stdlib/strtod_nan_main.c: Likewise.
24578         * stdlib/strtod_nan_narrow.h: Likewise.
24579         * stdlib/strtod_nan_wide.h: Likewise.
24580         * stdlib/strtof_nan.c: Likewise.
24581         * stdlib/strtold_nan.c: Likewise.
24582         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
24583         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
24584         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
24585         * wcsmbs/wcstod_nan.c: Likewise.
24586         * wcsmbs/wcstof_nan.c: Likewise.
24587         * wcsmbs/wcstold_nan.c: Likewise.
24588         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
24589         strtold_nan.
24590         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
24591         wcstof_nan.
24592         * include/stdlib.h (__strtof_nan): Declare and use
24593         libc_hidden_proto.
24594         (__strtod_nan): Likewise.
24595         (__strtold_nan): Likewise.
24596         (__wcstof_nan): Likewise.
24597         (__wcstod_nan): Likewise.
24598         (__wcstold_nan): Likewise.
24599         * include/wchar.h (____wcstoull_l_internal): Declare.
24600         * stdlib/strtod_l.c: Do not include <ieee754.h>.
24601         (____strtoull_l_internal): Remove declaration.
24602         (STRTOF_NAN): Define macro.
24603         (SET_MANTISSA): Remove macro.
24604         (STRTOULL): Likewise.
24605         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
24606         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
24607         (STRTOF_NAN): Define macro.
24608         (SET_MANTISSA): Remove macro.
24609         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
24610         (SET_MANTISSA): Remove macro.
24611         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
24612         macro.
24613         (SET_MANTISSA): Remove macro.
24614         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
24615         macro.
24616         (SET_MANTISSA): Remove macro.
24617         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
24618         (SET_MANTISSA): Remove macro.
24619         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
24620         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
24621         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
24623         [BZ #19266]
24624         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
24625         upper case and lower case letters inside NAN(), not using TOLOWER.
24626         * stdlib/tst-strtod-nan-locale-main.c: New file.
24627         * stdlib/tst-strtod-nan-locale.c: Likewise.
24628         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
24629         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
24630         Depend on $(gen-locales).
24631         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
24632         * wcsmbs/tst-wcstod-nan-locale.c: New file.
24633         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
24634         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
24635         Depend on $(gen-locales).
24636         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
24638 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
24640         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
24642         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
24643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
24644         __finitel, __isinfl, and __isnanl.
24645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24646         Likewise.
24647         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
24649         __finitel.
24650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24651         Likewise.
24652         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24654 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24656         * malloc/memusage.c (me): Remove redundant getenv call.
24658 2015-10-24  Florian Weimer  <fweimer@redhat.com>
24660         [BZ #19143]
24661         [BZ #19164]
24662         * nptl/check-cpuset.h: Remove.
24663         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24664         Remove CPU set size check.
24665         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24666         Likewise.
24667         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
24668         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
24669         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
24670         (__pthread_setaffinity_new): Remove CPU set size check.
24671         * sysdeps/unix/sysv/linux/sched_setaffinity.c
24672         (__kernel_cpumask_size): Remove.
24673         (__sched_setaffinity_new): Remove CPU set size check.
24674         * manual/threads.texi (Default Thread Attributes): Remove stale
24675         reference to check_cpuset_attr, determine_cpumask_size in comment.
24676         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
24677         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
24678         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
24679         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
24680         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
24681         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
24682         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
24683         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
24684         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
24685         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
24686         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
24687         skeleton test file.
24688         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
24689         tst-affinity-pid.
24691 2015-11-24  Florian Weimer  <fweimer@redhat.com>
24693         * scripts/update-abilist.sh: New file.
24694         * Makefile (+subdir_targets): Add subdir_update-all-abi.
24695         * Makerules (update-all-abi-%, update-all-abi)
24696         (subdir_update-all-abi): New targets.
24697         * elf/Makefile (update-all-abi): New target.
24699 2015-11-24  Florian Weimer  <fweimer@redhat.com>
24701         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
24702         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
24703         (__libc_lock_define_initialized): Use it.
24704         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
24705         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
24706         * malloc/malloc.c (main_arena): Likewise.
24707         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24708         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24710 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
24712         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24713         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
24714         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24715         (PTRACE_O_MASK): Update value.
24716         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
24717         New value in enum __ptrace_setoptions.
24718         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24719         (PTRACE_O_MASK): Update value.
24720         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24721         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24722         (PTRACE_O_MASK): Update value.
24723         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
24724         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24725         (PTRACE_O_MASK): Update value.
24726         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
24727         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24728         (PTRACE_O_MASK): Update value.
24729         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
24730         New value in enum __ptrace_setoptions.
24731         (PTRACE_O_MASK): Update value.
24732         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
24733         New value in enum __ptrace_setoptions.
24734         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24735         (PTRACE_O_MASK): Update value.
24737         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
24738         New macro.
24739         (PACKET_AUXDATA): Likewise.
24740         (PACKET_ORIGDEV): Likewise.
24741         (PACKET_VERSION): Likewise.
24742         (PACKET_HDRLEN): Likewise.
24743         (PACKET_RESERVE): Likewise.
24744         (PACKET_TX_RING): Likewise.
24745         (PACKET_LOSS): Likewise.
24746         (PACKET_VNET_HDR): Likewise.
24747         (PACKET_TX_TIMESTAMP): Likewise.
24748         (PACKET_TIMESTAMP): Likewise.
24749         (PACKET_FANOUT): Likewise.
24750         (PACKET_TX_HAS_OFF): Likewise.
24751         (PACKET_QDISC_BYPASS): Likewise.
24752         (PACKET_ROLLOVER_STATS): Likewise.
24753         (PACKET_FANOUT_DATA): Likewise.
24754         (PACKET_MR_UNICAST): Likewise.
24756         [BZ #19242]
24757         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
24758         (TOUPPER): Likewise.
24759         * stdlib/tst-strtol-locale-main.c: New file.
24760         * stdlib/tst-strtol-locale.c: Likewise.
24761         * stdlib/Makefile (tests): Add tst-strtol-locale.
24762         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
24763         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
24764         Depend on $(gen-locales).
24765         * wcsmbs/tst-wcstol-locale.c: New file.
24766         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
24767         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
24768         tr_TR.ISO-8859-9.
24769         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
24770         Depend on $(gen-locales).
24772 2015-11-20  Roland McGrath  <roland@hack.frob.com>
24774         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
24775         __glibc_likely instead of __builtin_expect.  After falling back to
24776         dyncode_create in a non-ET_DYN case, use the allocate_code_data
24777         system interface to register the code pages as occupied.
24779 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
24781         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24782         [!ARM_MATH_PRIVATE_H].
24783         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
24784         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24785         [!HPPA_MATH_PRIVATE_H].
24786         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
24787         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
24788         to [!I386_MATH_PRIVATE_H].
24789         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
24790         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
24791         Change guard to [!M68K_MATH_PRIVATE_H].
24792         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
24793         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
24794         guard to [!MICROBLAZE_MATH_PRIVATE_H].
24795         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
24796         macro.
24797         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24798         [!MIPS_MATH_PRIVATE_H].
24799         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
24800         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24801         [!NIO2_MATH_PRIVATE_H].
24802         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
24803         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24804         [!TILE_MATH_PRIVATE_H].
24805         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
24807         [BZ #15421]
24808         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
24809         initialize with 0 and define as weak alias of __signgam.
24810         * include/math.h [!_ISOMAC] (__signgam): Declare.
24811         * math/Makefile (libm-calls): Add w_lgamma_compat.
24812         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
24813         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
24814         test-signgam-ullong-init.
24815         (tests-static): Add test-signgam-uchar-static,
24816         test-signgam-uchar-init-static, test-signgam-uint-static,
24817         test-signgam-uint-init-static, test-signgam-ullong-static and
24818         test-signgam-ullong-init-static.
24819         (CFLAGS-test-signgam-uchar.c): New variable.
24820         (CFLAGS-test-signgam-uchar-init.c): Likewise.
24821         (CFLAGS-test-signgam-uchar-static.c): Likewise.
24822         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24823         (CFLAGS-test-signgam-uint.c): Likewise.
24824         (CFLAGS-test-signgam-uint-init.c): Likewise.
24825         (CFLAGS-test-signgam-uint-static.c): Likewise.
24826         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24827         (CFLAGS-test-signgam-ullong.c): Likewise.
24828         (CFLAGS-test-signgam-ullong-init.c): Likewise.
24829         (CFLAGS-test-signgam-ullong-static.c): Likewise.
24830         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24831         * math/Versions (libm): Add GLIBC_2.23.
24832         * math/lgamma-compat.h: New file.
24833         * math/test-signgam-main.c: Likewise.
24834         * math/test-signgam-uchar-init-static.c: Likewise.
24835         * math/test-signgam-uchar-init.c: Likewise.
24836         * math/test-signgam-uchar-static.c: Likewise.
24837         * math/test-signgam-uchar.c: Likewise.
24838         * math/test-signgam-uint-init-static.c: Likewise.
24839         * math/test-signgam-uint-init.c: Likewise.
24840         * math/test-signgam-uint-static.c: Likewise.
24841         * math/test-signgam-uint.c: Likewise.
24842         * math/test-signgam-ullong-init-static.c: Likewise.
24843         * math/test-signgam-ullong-init.c: Likewise.
24844         * math/test-signgam-ullong-static.c: Likewise.
24845         * math/test-signgam-ullong.c: Likewise.
24846         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
24847         wrapper of w_lgamma_main.c.
24848         * math/w_lgamma_compat.c: New file.
24849         * math/w_lgamma_compatf.c: Likewise.
24850         * math/w_lgamma_compatl.c: Likewise.
24851         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
24852         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24853         defining compatibility symbols.
24854         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
24855         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
24856         wrapper of w_lgammaf_main.c.
24857         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
24858         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24859         defining compatibility symbols.
24860         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
24861         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
24862         wrapper of w_lgammal_main.c.
24863         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
24864         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24865         defining compatibility symbols.
24866         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
24867         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
24868         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
24869         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
24870         <lgamma-compat.h>.
24871         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
24872         (__ieee754_gamma): Define as alias.
24873         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
24874         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
24875         <lgamma-compat.h>.
24876         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
24877         (__ieee754_gammaf): Define as alias.
24878         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
24879         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
24880         <lgamma-compat.h>.
24881         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
24882         (__ieee754_gammal): Define as alias.
24883         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
24884         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
24885         <math/w_lgamma_compat.c>.
24886         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
24887         Define as alias of __lgamma_compat and use in defining lgammal.
24888         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
24889         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
24890         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
24891         (USE_AS_COMPAT): New macro.
24892         (LGAMMA_OLD_VER): Undefine and redefine.
24893         (lgammal): Do not define here.
24894         (gammal): Only define here if [GAMMA_ALIAS].
24895         * conform/linknamespace.pl (@whitelist): Remove signgam.
24896         * sysdeps/nacl/libm.abilist: Update.
24897         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24898         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24899         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24900         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24901         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24902         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24903         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24904         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24905         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24906         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24907         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24908         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24910         Likewise.
24911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24912         Likewise.
24913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24914         Likewise.
24915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24916         Likewise.
24917         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24918         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24919         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24920         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24921         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24923         Likewise.
24924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24925         Likewise.
24926         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24927         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24928         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24930 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24932         [BZ #16364]
24933         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
24934         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
24936 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24938         * sysdeps/s390/fpu/bits/mathinline.h:
24939         Use __asm__ [__volatile__] instead of asm [volatile].
24940         * sysdeps/s390/abort-instr.h: Likewise.
24941         * sysdeps/s390/atomic-machine.h: Likewise.
24942         * sysdeps/s390/bits/string.h: Likewise.
24943         * sysdeps/s390/dl-tls.h: Likewise.
24944         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24945         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24946         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24947         * sysdeps/s390/fpu/fesetround.c: Likewise.
24948         * sysdeps/s390/fpu/fpu_control.h: Likewise.
24949         * sysdeps/s390/fpu/s_fma.c: Likewise.
24950         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
24951         * sysdeps/s390/memusage.h: Likewise.
24952         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
24953         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
24954         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
24955         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
24956         * sysdeps/s390/nptl/tls.h: Likewise.
24957         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
24958         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24959         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24960         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
24961         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24962         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24963         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
24964         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24965         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24966         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
24967         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
24968         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24969         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24970         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
24971         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24972         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24973         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
24974         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
24975         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
24976         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24977         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
24978         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24979         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
24981 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24982             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24984         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24985         Add lwarx hint, and use macro for acquire instruction.
24986         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24987         Likewise.
24988         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
24989         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
24990         update to use new atomic macros.
24992 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24994         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
24995         (__lll_trylock_elision): Fix setting of adapt_count.
24996         * sysdeps/unix/sysv/linux/powerpc/htm.h
24997         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
24998         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
24999         (_ABORT_SYSCALL): Renumber, and clarify definition.
25000         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
25002 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25004         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
25005         after system headers to prevent MIN/MAX redefinition.  Define
25006         HAVE_ALLOCA to preserve builtin alloca usage.
25008 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
25010         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
25011         static and don't set or restore rounding.
25012         (__cos)[IN_SINCOS]: Likewise.
25013         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
25014         (__sincos): Set and restore rounding mode.  Remove check for infinite
25015         or NaN input.
25017         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
25019         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
25020         as used.
25022 2015-11-16  Florian Weimer  <fweimer@redhat.com>
25024         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
25026 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25028         * config.make.in (have-glob-dat-reloc): New.
25029         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
25030         target supports GLOB_DAT relocaton. AC_SUBST.
25031         * configure: Regenerated.
25032         * elf/Makefile (tests): Add tst-prelink.
25033         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
25034         (tst-prelink-ENV): New.
25035         ($(objpfx)tst-prelink-conflict.out): Likewise.
25036         ($(objpfx)tst-prelink-cmp.out): Likewise.
25037         * sysdeps/x86/tst-prelink.c: Moved to ...
25038         * elf/tst-prelink.c: Here.
25039         * sysdeps/x86/tst-prelink.exp: Moved to ...
25040         * elf/tst-prelink.exp: Here.
25041         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
25042         (tst-prelink-ENV): Removed.
25043         ($(objpfx)tst-prelink-conflict.out): Likewise.
25044         ($(objpfx)tst-prelink-cmp.out): Likewise.
25045         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
25047 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
25049         [BZ #14551]
25050         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
25051         (__mpn_construct_long_double): If high part overflows to infinity,
25052         set errno and recompute overflowed result of the correct sign.
25053         * sysdeps/ieee754/ldbl-128ibm/Makefile
25054         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
25055         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
25056         $(libm).
25057         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
25059 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
25061         [BZ #15479]
25062         [BZ #19238]
25063         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
25064         floating-point state after first operation on input.  Restore full
25065         state rather than just rounding mode.
25066         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
25067         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
25068         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
25070         [BZ #19235]
25071         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
25072         add 0.5 to integer arguments.
25073         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
25074         Likewise.
25075         (.LC2): New object.
25077 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
25079         * scripts/pylintrc (reports): Set to no.
25081 2015-11-10  Roland McGrath  <roland@hack.frob.com>
25083         * elf/dl-load.c (open_verify): Take new argument FD.
25084         Skip __open call if passed FD is not -1.
25085         (_dl_map_object, open_path): Update callers.
25086         * elf/dl-sysdep-open.h: New file.
25087         * elf/dl-load.c: Include it.
25088         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
25089         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
25090         * sysdeps/nacl/dl-sysdep-open.h: New file.
25091         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
25092         from libc to rtld.
25094 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
25096         [BZ #19228]
25097         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
25098         and restore full floating-point state.
25099         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
25100         Likewise.
25101         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
25102         Likewise.
25103         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
25104         Likewise.
25105         * math/test-nearbyint-except-2.c: New file.
25106         * math/Makefile (tests): Add test-nearbyint-except-2.
25108 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
25110         [BZ #19178]
25111         * sysdeps/x86/Makefile (tests): Add tst-prelink.
25112         (tst-prelink-ENV): New.
25113         ($(objpfx)tst-prelink-conflict.out): Likewise.
25114         ($(objpfx)tst-prelink-cmp.out): Likewise.
25115         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
25116         * sysdeps/x86/tst-prelink.c: New file.
25117         * sysdeps/x86/tst-prelink.exp: Likewise.
25119 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
25121         * math/auto-libm-test-in: Add another test of pow.
25122         * math/auto-libm-test-out: Regenerated.
25123         * math/libm-test.inc (pow_test_data): Add another test.
25125 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25127         [BZ #19219]
25128         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
25129         weak_alias to nearbyintl.
25131 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
25133         * sysdeps/aarch64/bits/string.h: New file.
25134         (_STRING_ARCH_unaligned): Define.
25136 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
25138         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
25139         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25140         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25141         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
25142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
25144 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
25146         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
25147         for original name of the DSO.  Add it to the name list of the DSO
25148         if it is actually given.
25149         (_dl_map_object): Keep track of whether an audit module rewrote
25150         the file name.  If yes, pass the original name to
25151         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
25152         debugging is enabled, log the change of the file name.
25153         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
25154         _dl_map_object_from_fd.
25155         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
25156         * elf/tst-audit11.c: New file
25157         * elf/tst-auditmod11.c: New file.
25158         * elf/tst-audit11mod1.c: New file.
25159         * elf/tst-audit11mod2.c: New file.
25160         * elf/tst-audit11mod2.map: New file.
25161         * elf/tst-audit12.c: New file
25162         * elf/tst-auditmod12.c: New file.
25163         * elf/tst-audit12mod1.c: New file.
25164         * elf/tst-audit12mod2.c: New file.
25165         * elf/tst-audit12mod2.map: New file.
25166         * elf/tst-audit12mod3.c: New file.
25168 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25170         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
25171         Don't create weak aliases,
25172         because versioned symbols are created later.
25173         * sysdeps/s390/s390-32/setjmp.S
25174         (setjmp, _setjmp): Remove weak and rename to an unique name
25175         in SHARED case due to existing versioned symbols.
25176         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25177         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
25178         (getcontext): Create weak alias only in non SHARED case.
25179         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25181 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25183         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
25184         (__ASSUME_*_SYSCALL) Define new macros.
25185         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
25186         Remove socketcall syscalls.
25187         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
25188         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
25189         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
25190         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
25191         * sysdeps/unix/sysv/linux/send.c (__libc_send):
25192         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
25194 2015-11-09  Florian Weimer  <fweimer@redhat.com>
25196         [BZ #12926]
25197         Terminate process on invalid netlink response.
25198         * sysdeps/unix/sysv/linux/netlinkaccess.h
25199         (__netlink_assert_response): Declare.
25200         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
25201         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
25202         (sysdep_routines): Add netlink_assert_response.
25203         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
25204         __netlink_assert_response.
25205         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
25206         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
25207         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
25208         __netlink_assert_response.
25210 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25212         [BZ #19178]
25213         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
25214         (RTYPE_CLASS_PLT): Likewise.
25215         (RTYPE_CLASS_COPY): Likewise.
25216         (RTYPE_CLASS_TLS): Likewise.
25217         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
25218         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
25219         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
25220         DL_DEBUG_PRELINK.
25222 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
25224         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
25225         calls with argument -0.5.
25226         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
25228         * configure.ac (libc_cv_z_nodelete): Remove configure test.
25229         (libc_cv_z_nodlopen): Likewise.
25230         (libc_cv_z_initfirst): Likewise.
25231         * configure: Regenerated.
25233 2015-11-06  Florian Weimer  <fweimer@redhat.com>
25235         Simplify abilist format to be line-based.
25236         * scripts/abilist.awk: Collect descriptors in the descs variable.
25237         (emit): Write descs variable and sort it
25238         externally, with sort.
25239         * sysdeps/**/*.abilist: Convert to new format.
25241 2015-11-06  Mark Wielaard  <mjw@redhat.com>
25243         [BZ #11460]
25244         * io/Makefile (routines): Add fts64.
25245         (tests): Add tst-fts and tst-fts-lfs.
25246         (CFLAGS-fts64.c): New.
25247         * io/Versions (GLIBC_2.23): New.
25248         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
25249         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
25250         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
25251         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
25252         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
25253         (FTSENT64): Likewise.
25254         (fts64_children): Likewise.
25255         (fts64_close): Likewise.
25256         (fts64_open): Likewise.
25257         (fts64_read): Likewise.
25258         (fts64_set): Likewise.
25259         * io/fts64.c: New file.
25260         * io/tst-fts.c: New test.
25261         * io/tst-fts-lfs.c: Likewise.
25262         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
25263         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
25264         fts64_set.
25265         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25266         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25267         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25268         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25269         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25270         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25271         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25272         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25273         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25274         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
25275         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25276         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25277         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25279         Likewise.
25280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25281         Likewise.
25282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
25283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
25284         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25285         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25286         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25287         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25288         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
25290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
25291         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25292         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25293         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25294         * sysdeps/wordsize-64/fts.c: New file.
25295         * sysdeps/wordsize-64/fts64.c: Likewise.
25296         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
25297         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
25298         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
25299         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
25301 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
25303         * math/libm-test.inc (NON_FINITE): New macro.
25304         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
25305         * math/gen-libm-test.pl (show_exceptions): Add argument
25306         $non_finite.
25307         (parse_args): Update call to show_exceptions.
25308         * math/test-math-finite.h: New file.
25309         * math/test-math-no-finite.h: Likewise.
25310         * math/test-double-finite.c: Likewise.
25311         * math/test-float-finite.c: Likewise.
25312         * math/test-ldouble-finite.c: Likewise.
25313         * math/test-double.c: Include "test-math-no-finite.h".
25314         * math/test-float.c: Include "test-math-no-finite.h".
25315         * math/test-ldouble.c: Include "test-math-no-finite.h".
25316         * math/test-math-inline.h (TEST_FINITE): New macro.
25317         * math/test-math-vector.h (TEST_FINITE): Likewise.
25318         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
25319         (libm-tests): Add test-float-finite and test-double-finite.
25320         ($(objpfx)test-float-finite.o): New dependency on
25321         $(objpfx)libm-test.stmp.
25322         ($(objpfx)test-double-finite.o): Likewise.
25323         ($(objpfx)test-ldouble-finite.o): Likewise.
25324         (libm-test-no-inline-cflags): New variable.
25325         (libm-test-finite-cflags): Likewise.
25326         (CFLAGS-test-float-finite.c): Likewise.
25327         (CFLAGS-test-double-finite.c): Likewise.
25328         (CFLAGS-test-ldouble-finite.c): Likewise.
25329         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
25330         (CFLAGS-test-double.c): Likewise.
25331         (CFLAGS-test-ldouble.c): Likewise.
25333 2015-11-05  Roland McGrath  <roland@hack.frob.com>
25335         * io/fcntl.c (__fcntl): Add ... to prototype.
25336         * misc/ioctl.c (__ioctl): Likewise.
25337         * misc/syscall.c (syscall): Likewise.
25339 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
25341         * scripts/list-fixed-bugs.py: New file.
25343         [BZ #19213]
25344         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
25345         returned for argument 1.
25346         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
25347         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
25348         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
25349         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
25350         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
25351         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
25353         [BZ #19211]
25354         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
25355         __USE_XOPEN], not if [!__USE_ISOC99].
25356         (lgammaf): Likewise.
25357         (lgammal): Likewise.
25358         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
25359         (gammaf): Likewise.
25360         (gammal): Likewise.
25361         * math/test-signgam-finite-c11.c: New file.
25362         * math/test-signgam-finite-c99.c: Likewise.
25363         * math/test-signgam-finite.c: Likewise.
25364         * math/Makefile (tests): Add test-signgam-finite,
25365         test-signgam-finite-c99 and test-signgam-finite-c11.
25366         (CFLAGS-test-signgam-finite.c): New variable.
25367         (CFLAGS-test-signgam-finite-c99.c): Likewise.
25368         (CFLAGS-test-signgam-finite-c11.c): Likewise.
25370         [BZ #19212]
25371         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
25372         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
25373         500].
25374         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
25375         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
25376         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
25377         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
25378         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
25379         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
25380         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
25381         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
25382         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
25383         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
25385         [BZ #19209]
25386         * math/bits/math-finite.h (ldexp): Remove declaration.
25387         (ldexpf): Likewise.
25388         (ldexpl): Likewise.
25390         [BZ #19205]
25391         * math/bits/math-finite.h (acosf): Condition declaration on
25392         [__USE_ISOC99].
25393         (acosl): Likewise.
25394         (acoshf): Likewise.
25395         (acoshl): Likewise.
25396         (asinf): Likewise.
25397         (asinl): Likewise.
25398         (atan2f): Likewise.
25399         (atan2l): Likewise.
25400         (atanhf): Likewise.
25401         (atanhl): Likewise.
25402         (coshf): Likewise.
25403         (coshl): Likewise.
25404         (expf): Likewise.
25405         (expl): Likewise.
25406         (fmodf): Likewise.
25407         (fmodl): Likewise.
25408         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
25409         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
25410         (j0l): Likewise.
25411         (y0f): Likewise.
25412         (y0l): Likewise.
25413         (j1f): Likewise.
25414         (j1l): Likewise.
25415         (y1f): Likewise.
25416         (y1l): Likewise.
25417         (jnf): Likewise.
25418         (jnl): Likewise.
25419         (ynf): Likewise.
25420         (ynl): Likewise.
25421         (lgammaf_r): Condition declaration on [__USE_ISOC99].
25422         (lgammal_r): Likewise.
25423         (__lgamma_r_finite): New declaration.
25424         (__lgammaf_r_finite): Likewise.
25425         (__lgammal_r_finite): Likewise.
25426         (lgamma): Use __lgamma_r_finite.
25427         (lgammaf): Condition definition on [__USE_ISOC99].  Use
25428         __lgammaf_r_finite.
25429         (lgammal): Condition definition on [__USE_ISOC99].  Use
25430         __lgammal_r_finite.
25431         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
25432         __lgamma_r_finite.
25433         (gammaf): Condition definition on [__USE_ISOC99].  Use
25434         __lgammaf_r_finite.
25435         (gammal): Condition definition on [__USE_ISOC99].  Use
25436         __lgammal_r_finite.
25437         (logf): Condition declaration on [__USE_ISOC99].
25438         (logl): Likewise.
25439         (log10f): Likewise.
25440         (log10l): Likewise.
25441         (ldexpf): Likewise.
25442         (ldexpl): Likewise.
25443         (powf): Likewise.
25444         (powl): Likewise.
25445         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
25446         __USE_ISOC99].
25447         (remainderf): Condition declaration on [__USE_ISOC99].
25448         (remainderl): Likewise.
25449         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
25450         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
25451         (scalbl): Likewise.
25452         (sinhf): Condition declaration on [__USE_ISOC99].
25453         (sinhl): Likewise.
25454         (sqrtf): Likewise.
25455         (sqrtl): Likewise.
25457 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
25459         * sysdeps/arm/atomic-machine.h
25460         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25461         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25462         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
25463         Remove conditional code.
25464         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25465         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25466         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
25467         Change conditional to [__ASSEMBLER__].
25468         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25469         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
25470         [!__ASSEMBLER__].
25471         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
25472         code.
25473         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
25474         conditional macro definitions.
25475         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
25476         (__arch_compare_and_exchange_val_16_acq): Likewise.
25477         (__arch_compare_and_exchange_val_32_acq): Likewise.
25478         (atomic_exchange_and_add): Likewise.
25479         (atomic_add): Likewise.
25480         (atomic_add_negative): Likewise.
25481         (atomic_add_zero): Likewise.
25482         (atomic_bit_set): Likewise.
25483         (atomic_bit_test_set): Likewise.
25484         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
25485         code unconditional.
25486         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25488         * math/test-math-errno.h: New file.
25489         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
25490         empty.
25491         (TEST_ERRNO): New macro.
25492         (TEST_EXCEPTIONS): Likewise.
25493         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
25494         (TEST_EXCEPTIONS): Likewise.
25495         * math/test-math-vector.h (TEST_ERRNO): Likewise.
25496         * math/test-double.c: Include "test-math-errno.h".
25497         * math/test-float.c: Likewise.
25498         * math/test-ldouble.c: Likewise.
25499         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
25500         code unconditional.
25501         (test_exceptions): Only run code if TEST_EXCEPTIONS.
25502         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
25503         unconditional.
25504         (test_errno): Only run code if TEST_ERRNO.
25505         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
25507 2015-11-04  Florian Weimer  <fweimer@redhat.com>
25509         * nptl/tst-once5.cc: Remove attribution.
25511 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
25513         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
25514         sqrt, tan, tanh, y0, y1 and yn.
25515         * math/auto-libm-test-out: Regenerated.
25516         * math/libm-test.inc (scalb_test_data): Add more tests.
25517         (scalbn_test_data): Likewise.
25518         (scalbln_test_data): Likewise.
25519         (signbit_test_data): Likewise.
25520         (sin_test_data): Likewise.
25521         (sincos_test_data): Likewise.
25522         (sinh_test_data): Likewise.
25523         (sqrt_test_data): Likewise.
25524         (tan_test_data): Likewise.
25525         (tanh_test_data): Likewise.
25526         (tgamma_test_data): Likewise.
25527         (y0_test_data): Likewise.
25528         (y1_test_data): Likewise.
25529         (yn_test_data): Likewise.
25530         (significand_test_data): Likewise.
25531         * sysdeps/i386/fpu/libm-test-ulps: Update.
25533 2015-11-03  David Kastrup  <dak@gnu.org>
25535         [BZ #18604]
25536         * assert/assert.h (assert): Don't macro-expand failed assertion
25537         expression in error message.
25538         * malloc/malloc.c (assert): Likewise.
25540 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
25542         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
25543         test.
25544         * configure: Regenerated.
25546 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
25548         * math/libm-test.inc (modf_test_data): Add more tests.
25549         (nearbyint_test_data): Likewise.
25550         (nextafter_test_data): Likewise.
25551         (nexttoward_test_data): Likewise.
25552         (pow_test_data): Likewise.
25553         (remainder_test_data): Likewise.
25554         (remquo_test_data): Likewise.
25555         (rint_test_data): Likewise.
25557         [BZ #19201]
25558         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25559         Check for zero remainder in case of large exponents and ensure
25560         correct sign of result in that case.
25561         * math/libm-test.inc (remainder_test_data): Add more tests.
25563         [BZ #6799]
25564         * math/s_nextafter.c: Include <errno.h>.
25565         (__nextafter): Set errno on overflow and underflow.
25566         * math/s_nexttowardf.c: Include <errno.h>.
25567         (__nexttowardf): Set errno on overflow and underflow.
25568         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
25569         (__nextafterl): Set errno on overflow and underflow.
25570         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
25571         (__nexttoward): Set errno on overflow and underflow.
25572         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
25573         (__nexttowardf): Set errno on overflow and underflow.
25574         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
25575         (__nextafterf): Set errno on overflow and underflow.
25576         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
25577         (__nextafterl): Set errno on overflow and underflow.
25578         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
25579         (__nexttoward): Set errno on overflow and underflow.
25580         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
25581         (__nexttowardf): Set errno on overflow and underflow.
25582         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
25583         (__nextafterl): Set errno on overflow and underflow.
25584         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
25585         (__nexttoward): Set errno on overflow and underflow.
25586         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
25587         (__nexttowardf): Set errno on overflow and underflow.
25588         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
25589         (__nexttoward): Set errno on overflow and underflow.
25590         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
25591         (__nexttowardf): Set errno on overflow and underflow.
25592         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
25593         (__nldbl_nexttowardf): Set errno on overflow and underflow.
25594         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
25595         (__nextafterl): Set errno on overflow and underflow.
25596         * math/libm-test.inc (nextafter_test_data): Do not allow errno
25597         setting to be missing on overflow.  Add more tests.
25598         (nexttoward_test_data): Likewise.
25600         * configure.ac (libc_cv_initfini_array): Remove configure test.
25601         * configure: Regenerated.
25603 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
25605         [BZ #19189]
25606         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
25607         non-finite argument handle arguments with negative sign.
25609         * math/libm-test.inc (j0_test_data): Do not test sign of zero
25610         result from infinite argument.
25611         (j1_test_data): Likewise.
25612         (jn_test_data): Likewise.
25613         (y0_test_data): Likewise.
25614         (y1_test_data): Likewise.
25615         (yn_test_data): Likewise.
25617         [BZ #16171]
25618         * math/w_remainder.c (drem): Define as weak alias of __remainder.
25619         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
25620         * math/w_remainderf.c (dremf): Define as weak alias of
25621         __remainderf.
25622         * math/w_remainderl.c (dreml): Define as weak alias of
25623         __remainderl.
25624         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
25625         __remainder.
25626         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
25627         __remainderf.
25628         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
25629         __remainderl.
25630         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
25631         weak alias of remainderl.
25632         * sysdeps/ieee754/ldbl-opt/w_remainder.c
25633         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
25634         alias of __remainder.
25635         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
25636         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
25637         strong alias of __remainderl.
25638         (dreml): Use long_double_symbol.
25639         * math/Makefile (libm-calls): Remove w_drem.
25640         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
25641         (CFLAGS-nldbl-drem.c): Remove variable.
25642         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
25643         * math/w_drem.c: Remove file.
25644         * math/w_dremf.c: Likewise.
25645         * math/w_dreml.c: Likewise.
25646         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
25647         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
25648         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
25650         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
25651         * sysdeps/i386/configure: Regenerated.
25652         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
25653         * sysdeps/x86_64/configure: Regenerated.
25655         * configure.ac (libc_cv_asm_protected_directive): Remove configure
25656         test.
25657         (libc_cv_visibility_attribute): Likewise.
25658         (libc_cv_protected_data): Test unconditionally.
25659         (libc_cv_broken_visibility_attribute): Remove configure test.
25660         (libc_cv_have_sdata_section): Test unconditionally.
25661         * configure: Regenerated.
25663         * include/libc-internal.h (libc_max_align_t): Remove typedef.
25664         * include/scratch_buffer.h: Include <stddef.h> instead of
25665         <libc-internal.h>.
25666         (struct scratch_buffer): Use max_align_t instead of
25667         libc_max_align_t.
25669 2015-10-29  Florian Weimer  <fweimer@redhat.com>
25671         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
25672         instead of extend_alloca.  Change control flow to avoid a goto.
25673         Remove assert which is trivially always true.
25675 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25677         [BZ #16068]
25678         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
25679         (FE_ALL_EXCEPT_X86): New macro.
25680         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25681         FE_ALL_EXCEPT.  Ensure precision control is included in
25682         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25683         handle "denormal operand exception" and clear FZ and DAZ bits.
25684         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
25685         (FE_ALL_EXCEPT_X86): New macro.
25686         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25687         FE_ALL_EXCEPT.  Ensure precision control is included in
25688         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25689         handle "denormal operand exception" and clear FZ and DAZ bits.
25690         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
25691         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
25692         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25693         test-fenv-x87 and test-fenv-sse-2.
25694         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
25696         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
25697         * math/test-double.h (BUILD_COMPLEX): New macro.
25698         * math/test-float.h (BUILD_COMPLEX): Likewise.
25699         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
25701         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
25702         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
25703         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
25704         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
25705         instead of DBL_DENORM_MIN in comment.
25706         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
25707         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25708         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
25709         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
25710         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
25711         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25713 2015-10-28  Florian Weimer  <fweimer@redhat.com>
25715         [BZ #19048]
25716         * malloc/malloc.c (struct malloc_state): Update comment.  Add
25717         attached_threads member.
25718         (main_arena): Initialize attached_threads.
25719         * malloc/arena.c (list_lock): Update comment.
25720         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
25721         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
25722         (deattach_arena): New function.
25723         (_int_new_arena): Initialize arena reference count and deattach
25724         replaced arena.
25725         (get_free_list, reused_arena): Update reference count and deattach
25726         replaced arena.
25727         (arena_thread_freeres): Update arena reference count and only put
25728         unreferenced arenas on the free list.
25730 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25732         [BZ #19181]
25733         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
25734         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
25735         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
25736         * math/test-fenv-clear-main.c: New file.
25737         * math/test-fenv-clear.c: Likewise.
25738         * math/Makefile (tests): Add test-fenv-clear.
25739         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
25740         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25741         test-fenv-clear-sse.
25742         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
25744         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
25745         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
25746         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
25748 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25750         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
25751         static libc.
25753 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25755         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
25756         test.
25757         * sysdeps/i386/configure: Regenerated.
25758         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
25759         test.
25760         * sysdeps/x86_64/configure: Regenerated.
25761         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
25762         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25763         memset-avx2 unconditionally instead of conditionally on
25764         [$(config-cflags-avx2) = yes].
25765         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25766         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
25767         unconditional.
25768         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
25769         * sysdeps/x86_64/multiarch/memset_chk.S
25770         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
25771         to [IS_IN (libc) && SHARED].
25773 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25775         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
25776         configure test.
25777         * sysdeps/arm/configure: Regenerated.
25778         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
25779         Define variable if not already defined.
25781         [BZ #17404]
25782         * sysdeps/mips/atomic-machine.h
25783         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
25784         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
25785         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25787         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
25788         unconditional.
25789         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
25790         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25791         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
25792         unconditional.
25793         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25794         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
25795         unconditional.
25796         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25797         * stdlib/setenv.c
25798         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
25799         code unconditional.
25800         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
25801         Remove conditional code.
25802         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25803         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
25804         unconditional.
25805         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25806         code.
25807         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25808         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
25809         unconditional.
25810         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25811         code.
25812         * sysdeps/ieee754/ldbl-128/k_tanl.c
25813         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25814         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25815         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
25816         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25817         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25818         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
25819         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
25820         unconditional.
25821         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25822         code.
25823         * sysdeps/ieee754/ldbl-96/k_tanl.c
25824         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25825         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25827         * nptl/tst-initializers1-c11.c: New file.
25828         * nptl/tst-initializers1-gnu11.c: Likewise.
25829         * nptl/Makefile (tests): Add these new tests.
25830         (CFLAGS-tst-initializers1-c11.c): New variable.
25831         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25833         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
25834         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
25835         instead of -std=gnu99.
25836         * configure.ac (systemtap): Test with -std=gnu11 instead of
25837         -std=gnu99.
25838         * configure: Regenerated.
25839         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
25840         in compilation command in comment.
25842         * sysdeps/nptl/configure.ac: Remove file.
25843         * sysdeps/nptl/configure: Remove generated file.
25844         * configure.ac (libc_cv_forced_unwind): Do not substitute.
25845         * configure: Regenerated.
25846         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
25847         * config.make.in (have-forced-unwind): Remove variable.
25848         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25849         unconditional.
25850         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
25851         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
25852         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
25853         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
25854         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25855         unconditional.
25857 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25859         [BZ #19174]
25860         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
25861         .skip_lock_out_of_tbegin_retries.
25862         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25863         (__lll_lock_elision): Likewise, and respect a value of
25864         try_tbegin <= 0.
25866 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25868         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
25869         statement.
25871 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25873         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
25874         variable.
25875         (test-xfail-ISO11/stdalign.h/conform): Likewise.
25876         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25878         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
25879         of -std=c1x -D_ISOC11_SOURCE.
25881         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
25882         * configure: Regenerated.
25883         * manual/install.texi (Tools for Compilation): Document
25884         requirement for GCC 4.7 or later.
25885         * INSTALL: Regenerated.
25887 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
25889         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
25890         on CNT to a conditional jump to 'puntdata'.
25892 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25894         * configure.ac (libc_cv_gcc___thread): Remove configure test.
25895         (libc_cv_gcc_tls_model_attr): Likewise.
25896         * configure: Regenerated.
25898         * configure.ac (libc_cv_need_minus_P): Remove configure test.
25899         * configure: Regenerated.
25900         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
25902 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
25904         * configure.ac (old_glibc_headers): Remove configure test.
25905         * configure: Regenerated.
25906         * config.make.in (old-glibc-headers): Remove variable.
25907         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
25908         (install): Remove dependency on remove-old-headers.
25909         (headers2_0): Remove variable.
25910         (remove-old-headers): Remove rule.
25912         * configure.ac (libc_cv_dot_text): Remove configure test.
25913         (libc_cv_asm_set_directive): Use .text instead of
25914         ${libc_cv_dot_text} in configure test.
25915         * configure: Regenerated.
25917 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25919         [BZ #19168]
25920         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25922 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25924         * configure.ac (CXX): Clear the variable if the C++ toolchain does
25925         not support static linking.
25926         * configure: Regenerate.
25928 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
25930         * math/libm-test.inc (check_float_internal): Do not special-case
25931         errors up to 0.5 ulp.
25933         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25934         log2.
25935         * math/auto-libm-test-out: Regenerated.
25936         * math/libm-test.inc (MAX_EXP): New macro.
25937         (ilogb_test_data): Add more tests.
25938         (isfinite_test_data): Likewise.
25939         (isgreater_test_data): Likewise.
25940         (isgreaterequal_test_data): Likewise.
25941         (isinf_test_data): Likewise.
25942         (isless_test_data): Likewise.
25943         (islessequal_test_data): Likewise.
25944         (islessgreater_test_data): Likewise.
25945         (isnan_test_data): Likewise.
25946         (isnormal_test_data): Likewise.
25947         (issignaling_test_data): Likewise.
25948         (isunordered_test_data): Likewise.
25949         (j0_test_data): Likewise.
25950         (j1_test_data): Likewise.
25951         (jn_test_data): Likewise.
25952         (lgamma_test_data): Likewise.
25953         (log_test_data): Likewise.
25954         (log10_test_data): Likewise.
25955         (log1p_test_data): Likewise.
25956         (log2_test_data): Likewise.
25957         (logb_test_data): Likewise.
25958         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25960         [BZ #18611]
25961         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
25962         avoid excess range and precision on underflow.
25963         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25964         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
25965         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25966         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
25967         underflow.
25968         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25969         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25970         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25971         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25972         * math/auto-libm-test-in: Do not allow missing errno setting for
25973         tests of j1 and jn.
25974         * math/auto-libm-test-out: Regenerated.
25976 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
25978         [BZ #15491]
25979         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
25980         floating-point environment instead of clearing all exceptions.
25981         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
25982         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
25983         merging in "invalid" exceptions from frndint.
25984         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
25985         * math/test-nearbyint-except.c: New file.
25986         * math/Makefile (tests): Add test-nearbyint-except.
25988 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
25990         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
25992         * sysdeps/tile/libm-test-ulps: Regenerated.
25994 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
25997         (__NR_sync_file_range2): Assume it is always defined.
25998         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25999         (__NR_sync_file_range): Assume it is always defined.
26001 2015-10-22  Andreas Schwab  <schwab@suse.de>
26003         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
26004         INTERNAL_SYSCALL_ERRNO.
26005         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26006         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
26007         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26008         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
26009         Likewise.
26010         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26012 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
26014         * io/tst-fcntl.c (fd): New static variable.
26015         (do_prepare): Open temporary file here....
26016         (do_test): ...not here.
26018         * io/ftwtest-sh: Also trap on exit to remove temporary files.
26020 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
26022         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
26023         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
26024         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
26025         Moved before "#ifdef __ASSEMBLER__".
26027 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
26029         [BZ #19156]
26030         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
26031         arguments very close to 0.
26033 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
26035         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
26036         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
26038 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
26040         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
26041         New.  Defined for GCC 5 and above when not compiling for
26042         profiling.
26043         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
26045         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
26046         Renamed to ...
26047         (CFLAGS-epoll_pwait.o): This.
26048         (CFLAGS-mmap.c): Renamed to ...
26049         (CFLAGS-mmap.o): This.
26050         (CFLAGS-mmap64.c): Renamed to ...
26051         (CFLAGS-mmap64.o): This.
26052         (CFLAGS-epoll_pwait.os): New.
26053         (CFLAGS-mmap.os): Likewise.
26054         (CFLAGS-mmap64.os): Likewise.
26055         (CFLAGS-semtimedop.os): Likewise.
26056         (CFLAGS-semtimedop.c): Renamed to ...
26057         (CFLAGS-semtimedop.o): This.
26059 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26061         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
26062         warning message.
26064 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
26066         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
26067         * Makefile ($(objpfx)c++-types-check.out): Filter out
26068         $(+gccwarn-c) instead of -Wstrict-prototypes.
26070         * io/fts.c (fts_open): Convert to prototype-style function
26071         definition.
26072         * malloc/mcheck.c (mcheck): Likewise.
26073         (mcheck_pedantic): Likewise.
26074         * posix/regexec.c (re_search_2_stub): Likewise.  Use
26075         internal_function.
26076         (re_search_internal): Likewise.
26077         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
26078         prototype-style function definition.
26079         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26080         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
26081         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
26082         (xdr_utmpptr): Likewise.
26083         (xdr_utmparr): Likewise.
26084         (xdr_utmpidle): Likewise.
26085         (xdr_utmpidleptr): Likewise.
26086         (xdr_utmpidlearr): Likewise.
26088         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
26089         log, log10 and log2.
26090         * math/auto-libm-test-out: Regenerated.
26091         * math/libm-test.inc (fmod_test_data): Add more tests.
26092         (fpclassify_test_data): Likewise.
26093         (frexp_test_data): Likewise.
26094         (hypot_test_data): Likewise.
26095         (ilogb_test_data): Likewise.
26097 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
26099         * debug/fortify_fail.c (__fortify_fail): Convert to
26100         prototype-style function definition.  Use internal_function.
26101         * libio/genops.c (save_for_backup): Convert to prototype-style
26102         function definition.
26103         * libio/wgenops.c (save_for_wbackup): Likewise.
26104         * login/grantpt.c (grantpt): Likewise.
26105         * login/ptsname.c (ptsname): Likewise.
26106         (__ptsname_r): Likewise.
26107         * login/unlockpt.c (unlockpt): Likewise.
26108         * mach/msgserver.c (__mach_msg_server): Likewise.
26109         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
26110         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
26111         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
26112         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
26113         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
26114         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
26115         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
26116         Likewise.
26117         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
26118         internal_function.
26119         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
26120         prototype-style function definition.
26121         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
26122         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
26123         (__pthread_create_2_0): Likewise.
26124         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
26125         * nptl/register-atfork.c (__register_atfork): Likewise.
26126         * posix/glob.c (glob): Likewise.
26127         * posix/regcomp.c (re_comp): Likewise.
26128         * posix/regexec.c (re_exec): Likewise.
26129         * stdlib/add_n.c [__STDC__]: Make code unconditional.
26130         [!__STDC__]: Remove conditional code.
26131         * stdlib/cmp.c [__STDC__]: Make code unconditional.
26132         [!__STDC__]: Remove conditional code.
26133         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
26134         [!__STDC__]: Remove conditional code.
26135         * stdlib/divrem.c [__STDC__]: Make code unconditional.
26136         [!__STDC__]: Remove conditional code.
26137         * stdlib/lshift.c [__STDC__]: Make code unconditional.
26138         [!__STDC__]: Remove conditional code.
26139         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
26140         [!__STDC__]: Remove conditional code.
26141         * stdlib/mul.c [__STDC__]: Make code unconditional.
26142         [!__STDC__]: Remove conditional code.
26143         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
26144         [!__STDC__]: Remove conditional code.
26145         * stdlib/rshift.c [__STDC__]: Make code unconditional.
26146         [!__STDC__]: Remove conditional code.
26147         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
26148         function definition.
26149         (STRTOF): Likewise.
26150         * stdlib/strtod_l.c (__STRTOF): Likewise.
26151         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
26152         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
26153         (__strtol_l): Likewise.
26154         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
26155         [!__STDC__]: Remove conditional code.
26156         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
26157         definition.
26158         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26159         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26160         type.
26161         (__strcasecmp): Convert to prototype-style function definition.
26162         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
26163         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26164         type.
26165         (__strncasecmp): Convert to prototype-style function definition.
26166         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
26167         * sunrpc/xdr.c (xdr_union): Likewise.
26168         * sunrpc/xdr_array.c (xdr_array): Likewise.
26169         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
26170         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
26171         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
26172         Likewise.
26173         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
26174         Likewise.
26175         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
26176         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26177         Likewise.
26178         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
26179         (LOCALE_PARAM_PROTO): Likewise.
26180         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
26181         argument type.
26182         (ut_argument_spec): Remove macro.
26183         (ut_argument_spec_iso): Rename to ut_argument_spec.
26184         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
26185         prototype-style function definition.
26186         (memcpy_uppcase): Likewise.
26187         (__strftime_internal): Likewise.
26188         (my_strftime): Likewise.
26189         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
26190         (LOCALE_PARAM_DECL): Likewise.
26191         [_LIBC] (LOCALE_PARAM): Include argument type.
26192         (__strptime_internal): Convert to prototype-style function
26193         definition.
26194         (strptime): Likewise.
26195         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26196         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26197         type.
26198         (__wcscasecmp): Convert to prototype-style function definition.
26199         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
26200         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26201         type.
26202         (__wcsncasecmp): Convert to prototype-style function definition.
26204         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
26205         function definition.
26206         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26207         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26208         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
26209         * elf/dl-minimal.c (_itoa): Likewise.
26210         * hurd/hurdmalloc.c (malloc): Likewise.
26211         (free): Likewise.
26212         (realloc): Likewise.
26213         * inet/inet6_option.c (inet6_option_space): Likewise.
26214         (inet6_option_init): Likewise.
26215         (inet6_option_append): Likewise.
26216         (inet6_option_alloc): Likewise.
26217         (inet6_option_next): Likewise.
26218         (inet6_option_find): Likewise.
26219         * io/ftw.c (FTW_NAME): Likewise.
26220         (NFTW_NAME): Likewise.
26221         (NFTW_NEW_NAME): Likewise.
26222         (NFTW_OLD_NAME): Likewise.
26223         * libio/iofwide.c (_IO_fwide): Likewise.
26224         * libio/strops.c (_IO_str_init_static_internal): Likewise.
26225         (_IO_str_init_static): Likewise.
26226         (_IO_str_init_readonly): Likewise.
26227         (_IO_str_overflow): Likewise.
26228         (_IO_str_underflow): Likewise.
26229         (_IO_str_count): Likewise.
26230         (_IO_str_seekoff): Likewise.
26231         (_IO_str_pbackfail): Likewise.
26232         (_IO_str_finish): Likewise.
26233         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
26234         (_IO_wstr_overflow): Likewise.
26235         (_IO_wstr_underflow): Likewise.
26236         (_IO_wstr_count): Likewise.
26237         (_IO_wstr_seekoff): Likewise.
26238         (_IO_wstr_pbackfail): Likewise.
26239         (_IO_wstr_finish): Likewise.
26240         * locale/programs/localedef.c (normalize_codeset): Likewise.
26241         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26242         (add_locales_to_archive): Likewise.
26243         (delete_locales_from_archive): Likewise.
26244         * malloc/malloc.c (__libc_mallinfo): Likewise.
26245         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
26246         * misc/tsearch.c (__tfind): Likewise.
26247         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
26248         * nptl/pthread_attr_getdetachstate.c
26249         (__pthread_attr_getdetachstate): Likewise.
26250         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26251         Likewise.
26252         * nptl/pthread_attr_getinheritsched.c
26253         (__pthread_attr_getinheritsched): Likewise.
26254         * nptl/pthread_attr_getschedparam.c
26255         (__pthread_attr_getschedparam): Likewise.
26256         * nptl/pthread_attr_getschedpolicy.c
26257         (__pthread_attr_getschedpolicy): Likewise.
26258         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
26259         Likewise.
26260         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
26261         Likewise.
26262         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26263         Likewise.
26264         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26265         Likewise.
26266         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
26267         (__pthread_attr_init_2_0): Likewise.
26268         * nptl/pthread_attr_setdetachstate.c
26269         (__pthread_attr_setdetachstate): Likewise.
26270         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26271         Likewise.
26272         * nptl/pthread_attr_setinheritsched.c
26273         (__pthread_attr_setinheritsched): Likewise.
26274         * nptl/pthread_attr_setschedparam.c
26275         (__pthread_attr_setschedparam): Likewise.
26276         * nptl/pthread_attr_setschedpolicy.c
26277         (__pthread_attr_setschedpolicy): Likewise.
26278         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
26279         Likewise.
26280         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
26281         Likewise.
26282         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26283         Likewise.
26284         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26285         Likewise.
26286         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
26287         Likewise.
26288         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
26289         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
26290         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
26291         use internal_function.
26292         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
26293         prototype-style function definition.
26294         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26295         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
26296         internal_function.
26297         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
26298         Convert to prototype-style function definition.
26299         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
26300         Likewise.
26301         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
26302         Likewise.
26303         (__pthread_mutex_unlock): Likewise.
26304         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
26305         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
26306         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
26307         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
26308         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
26309         * nss/makedb.c (process_input): Likewise.
26310         * posix/fnmatch.c (__strchrnul): Likewise.
26311         (__wcschrnul): Likewise.
26312         (fnmatch): Likewise.
26313         * posix/fnmatch_loop.c (FCT): Likewise.
26314         * posix/glob.c (globfree): Likewise.
26315         (__glob_pattern_type): Likewise.
26316         (__glob_pattern_p): Likewise.
26317         * posix/regcomp.c (re_compile_pattern): Likewise.
26318         (re_set_syntax): Likewise.
26319         (re_compile_fastmap): Likewise.
26320         (regcomp): Likewise.
26321         (regerror): Likewise.
26322         (regfree): Likewise.
26323         * posix/regexec.c (regexec): Likewise.
26324         (re_match): Likewise.
26325         (re_search): Likewise.
26326         (re_match_2): Likewise.
26327         (re_search_2): Likewise.
26328         (re_search_stub): Likewise.  Use internal_function
26329         (re_copy_regs): Likewise.
26330         (re_set_registers): Convert to prototype-style function
26331         definition.
26332         (prune_impossible_nodes): Likewise.  Use internal_function.
26333         * resolv/inet_net_pton.c (inet_net_pton): Convert to
26334         prototype-style function definition.
26335         (inet_net_pton_ipv4): Likewise.
26336         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26337         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
26338         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
26339         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
26340         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26341         Make variadic.
26342         * time/strptime_l.c (localtime_r): Convert to prototype-style
26343         function definition.
26344         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26345         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26346         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26347         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26349         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
26350         definition.
26351         (_ufc_doit_r): Likewise.
26352         * crypt/crypt_util.c (_ufc_copymem): Likewise.
26353         (_ufc_output_conversion_r): Likewise.
26354         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
26355         * inet/rcmd.c (rcmd_af): Likewise.
26356         (rcmd): Likewise.
26357         (ruserok_af): Likewise.
26358         (ruserok): Likewise.
26359         (ruserok2_sa): Likewise.
26360         (ruserok_sa): Likewise.
26361         (iruserok_af): Likewise.
26362         (iruserok): Likewise.
26363         (__ivaliduser): Likewise.
26364         (__validuser2_sa): Likewise.
26365         * inet/rexec.c (rexec_af): Likewise.
26366         (rexec): Likewise.
26367         * inet/ruserpass.c (ruserpass): Likewise.
26368         * locale/programs/xmalloc.c (xcalloc): Likewise.
26369         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
26370         * math/w_drem.c (__drem): Likewise.
26371         * math/w_dremf.c (__dremf): Likewise.
26372         * math/w_dreml.c (__dreml): Likewise.
26373         * misc/daemon.c (daemon): Likewise.
26374         * resolv/res_debug.c (p_fqnname): Likewise.
26375         * stdlib/div.c (div): Likewise.
26376         * string/memcmp.c (memcmp_bytes): Likewise.
26377         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
26378         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
26380         * crypt/cert.c (main): Convert to prototype-style function
26381         definition.
26382         * io/pipe.c (__pipe): Likewise.
26383         * io/pipe2.c (__pipe2): Likewise.
26384         * misc/futimesat.c (futimesat): Likewise.
26385         * misc/utimes.c (__utimes): Likewise.
26386         * posix/execve.c (__execve): Likewise.
26387         * posix/execvp.c (execvp): Likewise.
26388         * posix/execvpe.c (__execvpe): Likewise.
26389         * posix/fexecve.c (fexecve): Likewise.
26390         * socket/socketpair.c (socketpair): Likewise.
26391         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26392         * stdlib/erand48.c (erand48): Likewise.
26393         * stdlib/erand48_r.c (__erand48_r): Likewise.
26394         * stdlib/jrand48.c (jrand48): Likewise.
26395         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
26396         * stdlib/lcong48.c (lcong48): Likewise.
26397         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
26398         * stdlib/nrand48.c (nrand48): Likewise.
26399         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
26400         * stdlib/seed48.c (seed48): Likewise.
26401         * stdlib/seed48_r.c (__seed48_r): Likewise.
26402         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
26403         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
26404         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
26406 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
26408         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
26409         * configure: Regenerated.
26410         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
26411         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
26412         unconditional.
26413         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26414         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26415         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26416         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
26417         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
26418         unconditional.
26419         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26421         * posix/Makefile (CFLAGS-regex.c): Remove variable.
26422         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
26424         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
26425         function definition.
26426         * crypt/crypt_util.c (__encrypt_r): Likewise.
26427         * libio/genops.c (_IO_no_init): Likewise.
26428         * libio/iofopncook.c (_IO_fopencookie): Likewise.
26429         (_IO_old_fopencookie): Likewise.
26430         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26431         * libio/iogetline.c (_IO_getline): Likewise.
26432         (_IO_getline_info): Likewise.
26433         * libio/iogetwline.c (_IO_getwline): Likewise.
26434         (_IO_getwline_info): Likewise.
26435         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
26436         * libio/vswprintf.c (_IO_vswprintf): Likewise.
26437         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
26438         (find_entry): Likewise.
26439         (iterate_table): Likewise.
26440         (lookup): Likewise.
26441         * login/forkpty.c (forkpty): Likewise.
26442         * misc/hsearch_r.c (__hsearch_r): Likewise.
26443         * misc/select.c (__select): Likewise.
26444         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
26445         Likewise.
26446         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
26447         Likewise.
26448         * nptl/old_pthread_cond_timedwait.c
26449         (__pthread_cond_timedwait_2_0): Likewise.
26450         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26451         * nptl/pthread_barrierattr_getpshared.c
26452         (pthread_barrierattr_getpshared): Likewise.
26453         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
26454         Likewise.
26455         * nptl/pthread_mutex_setprioceiling.c
26456         (pthread_mutex_setprioceiling): Likewise.
26457         * nptl/pthread_mutexattr_getprioceiling.c
26458         (pthread_mutexattr_getprioceiling): Likewise.
26459         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26460         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26461         Likewise.
26462         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26463         Likewise.
26464         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
26465         Likewise.
26466         * socket/recvfrom.c (__recvfrom): Likewise.
26467         * socket/sendto.c (__sendto): Likewise.
26468         * socket/setsockopt.c (__setsockopt): Likewise.
26469         * stdio-common/_itoa.c (_itoa): Likewise.
26470         * stdio-common/_itowa.c (_itowa): Likewise.
26471         * stdio-common/reg-printf.c (__register_printf_specifier):
26472         Likewise.
26473         (__register_printf_function): Likewise.
26474         * stdio-common/tempname.c (__path_search): Likewise.
26475         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
26476         * stdlib/mul_1.c (mpn_mul_1): Likewise.
26477         * stdlib/random_r.c (__initstate_r): Likewise.
26478         * stdlib/setenv.c (__add_to_environ): Likewise.
26479         * stdlib/submul_1.c (mpn_submul_1): Likewise.
26480         * streams/getpmsg.c (getpmsg): Likewise.
26481         * streams/putmsg.c (putmsg): Likewise.
26482         * streams/putpmsg.c (putpmsg): Likewise.
26483         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
26484         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
26485         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
26486         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
26487         * sunrpc/pm_getport.c (pmap_getport): Likewise.
26488         * sunrpc/svc_udp.c (cache_get): Likewise.
26489         * sunrpc/xdr_array.c (xdr_vector): Likewise.
26490         * sysdeps/mach/hurd/getcwd.c
26491         (__canonicalize_directory_name_internal): Likewise.
26492         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
26493         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
26494         * sysdeps/mach/hurd/select.c (__select): Likewise.
26495         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
26496         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
26497         * sysdeps/sparc/nptl/pthread_barrier_init.c
26498         (__pthread_barrier_init): Likewise.
26499         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
26500         (__pthread_cond_timedwait): Likewise.
26501         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
26502         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
26503         Likewise.
26504         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
26505         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
26506         Likewise.
26507         * sysvipc/semtimedop.c (semtimedop): Likewise.
26508         * time/setitimer.c (__setitimer): Likewise.
26509         * time/strftime_l.c (emacs_strftime): Likewise.
26511 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
26513         * config.make.in (have-ssp): Delete.
26514         (stack-protector): New variable.
26515         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
26516         cache test for -fstack-protector-strong.  Export stack_protector to
26517         the best ssp flag.
26518         * configure: Regenerated.
26519         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
26520         * nscd/Makefile (CFLAGS-nscd): Likewise.
26521         * resolv/Makefile (CFLAGS-libresolv): Likewise.
26523 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
26525         [BZ #19122]
26526         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
26527         attribute_hidden.
26529 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26531         [BZ #18743]
26532         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
26533         code to...
26534         (ELIDE_LOCK): ...here.
26535         (__get_new_count): New function with part of the code from
26536         __elide_lock that updates the value of adapt_count after a
26537         transaction abort.
26538         (__elided_trylock): Moved this code to...
26539         (ELIDE_TRYLOCK): ...here.
26541 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
26543         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
26544         * configure: Regenerate.
26545         * INSTALL: Regenerate.
26546         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
26547         and tweak grammar.
26549 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
26551         * login/programs/pt_chown.c: Include signal.h
26552         (main): Clear any signal mask from the parent process.
26554 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
26556         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
26557         * configure: Regenerated.
26558         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
26559         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
26560         $(gnu89-inline-CFLAGS).
26562         * configure.ac (libc_cv_asm_weak_directive): Remove configure
26563         test.
26564         (libc_cv_asm_weakext_directive): Likewise.
26565         * configure: Regenerated.
26566         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
26567         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
26568         * include/libc-symbols.h
26569         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
26570         #error.
26571         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
26572         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
26574         * sysdeps/arm/backtrace.c (__backtrace): Convert to
26575         prototype-style function definition.
26576         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26577         * sysdeps/i386/ffs.c (__ffs): Likewise.
26578         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26579         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
26580         Likewise.
26581         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26582         Likewise.
26583         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26584         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26585         Likewise.
26586         * sysdeps/m68k/ffs.c (__ffs): Likewise.
26587         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
26588         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
26589         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
26590         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
26591         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
26592         * sysdeps/mach/hurd/access.c (__access): Likewise.
26593         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
26594         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
26595         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
26596         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
26597         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
26598         (cthread_getspecific): Likewise.
26599         (cthread_setspecific): Likewise.
26600         (__libc_getspecific): Likewise.
26601         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
26602         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
26603         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
26604         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
26605         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
26606         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
26607         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
26608         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
26609         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
26610         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
26611         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
26612         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
26613         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
26614         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
26615         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
26616         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
26617         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
26618         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
26619         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
26620         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
26621         * sysdeps/mach/hurd/link.c (__link): Likewise.
26622         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
26623         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
26624         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
26625         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
26626         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26627         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
26628         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
26629         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
26630         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
26631         * sysdeps/mach/hurd/rename.c (rename): Likewise.
26632         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
26633         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26634         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
26635         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
26636         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
26637         * sysdeps/mach/hurd/send.c (__send): Likewise.
26638         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
26639         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
26640         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
26641         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
26642         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
26643         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
26644         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
26645         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
26646         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
26647         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
26648         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
26649         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
26650         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
26651         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
26652         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
26653         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26654         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
26655         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26656         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
26657         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
26658         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
26659         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
26660         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
26661         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
26662         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
26663         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
26664         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
26665         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
26666         * sysdeps/posix/alarm.c (alarm): Likewise.
26667         * sysdeps/posix/cuserid.c (cuserid): Likewise.
26668         * sysdeps/posix/dirfd.c (dirfd): Likewise.
26669         * sysdeps/posix/dup.c (__dup): Likewise.
26670         * sysdeps/posix/dup2.c (__dup2): Likewise.
26671         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
26672         (main): Likewise.
26673         * sysdeps/posix/flock.c (__flock): Likewise.
26674         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
26675         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
26676         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
26677         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
26678         * sysdeps/posix/isatty.c (__isatty): Likewise.
26679         * sysdeps/posix/killpg.c (killpg): Likewise.
26680         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26681         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
26682         * sysdeps/posix/raise.c (raise): Likewise.
26683         * sysdeps/posix/remove.c (remove): Likewise.
26684         * sysdeps/posix/rename.c (rename): Likewise.
26685         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
26686         * sysdeps/posix/seekdir.c (seekdir): Likewise.
26687         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26688         * sysdeps/posix/sigignore.c (sigignore): Likewise.
26689         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
26690         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
26691         * sysdeps/posix/sigset.c (sigset): Likewise.
26692         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
26693         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
26694         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
26695         * sysdeps/posix/time.c (time): Likewise.
26696         * sysdeps/posix/ttyname.c (getttyname): Likewise.
26697         (ttyname): Likewise.
26698         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
26699         * sysdeps/posix/utime.c (utime): Likewise.
26700         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
26701         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26702         Likewise.
26703         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
26704         (pthread_spin_trylock): Likewise.
26705         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
26706         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
26707         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
26708         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
26709         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
26710         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
26711         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
26712         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
26713         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
26714         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
26715         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
26716         * sysdeps/s390/ffs.c (__ffs): Likewise.
26717         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
26718         Likewise.
26719         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26720         Likewise.
26721         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
26722         Likewise.
26723         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
26724         (pthread_barrier_destroy): Likewise.
26725         * sysdeps/sparc/nptl/pthread_barrier_wait.c
26726         (__pthread_barrier_wait): Likewise.
26727         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
26728         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
26729         (__pthread_barrier_wait): Likewise.
26730         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
26731         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
26732         (memcmp_not_common_alignment): Likewise.
26733         (MEMCMP): Likewise.
26734         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
26735         (_wordcopy_fwd_dest_aligned): Likewise.
26736         (_wordcopy_bwd_aligned): Likewise.
26737         (_wordcopy_bwd_dest_aligned): Likewise.
26738         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
26739         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
26740         * sysdeps/unix/bsd/stty.c (stty): Likewise.
26741         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
26742         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
26743         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
26744         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
26745         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
26746         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
26747         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
26748         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
26749         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
26750         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
26751         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
26752         * sysdeps/unix/stime.c (stime): Likewise.
26753         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
26754         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
26755         Likewise.  Use internal_function.
26756         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
26757         Convert to prototype-style function definition.
26758         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26759         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26760         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
26761         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26762         Likewise.  Use internal_function.
26763         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
26764         prototype-style function definition
26765         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26766         Likewise.
26767         (__getlogin_r): Likewise.
26768         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
26769         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
26770         (__pthread_cond_broadcast): Likewise.
26771         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
26772         (__pthread_cond_destroy): Likewise.
26773         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
26774         (__pthread_cond_init): Likewise.
26775         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
26776         (__pthread_cond_signal): Likewise.
26777         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
26778         (__pthread_cond_wait): Likewise.
26779         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
26780         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26781         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
26782         Likewise.
26783         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
26784         Likewise.
26785         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26786         Likewise.
26787         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
26788         Likewise.
26789         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
26790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
26791         (__ftruncate64): Likewise.
26792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
26793         (truncate64): Likewise.
26794         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
26795         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
26796         (pthread_getcpuclockid): Likewise.
26797         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
26798         Likewise.
26799         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
26800         Likewise.
26801         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
26802         Likewise.
26803         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
26804         Likewise.
26805         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
26806         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
26807         (__libc_sigaction): Likewise.
26808         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
26809         Likewise.
26810         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26811         (__sigprocmask): Likewise.
26812         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
26813         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
26814         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
26815         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26816         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26817         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
26818         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26819         Likewise.
26820         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
26821         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
26822         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26823         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
26824         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
26825         Likewise.
26826         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26827         (__sigprocmask): Likewise.
26828         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
26829         (cfgetispeed): Likewise.
26830         (cfsetospeed): Likewise.
26831         (cfsetispeed): Likewise.
26832         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
26833         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
26834         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26835         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26836         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
26837         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
26838         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
26839         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
26840         Likewise.
26841         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
26842         Likewise.
26843         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
26844         Likewise.
26845         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26846         Likewise.
26847         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26849 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26851         sunrpc: Rewrite with explicit TLS access using __thread.
26852         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
26853         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
26854         directly.
26855         (__rpc_thread_variables): Access thread_rpc_vars directly.
26856         Eliminate redundant assignment of the tvp variable.
26858 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26860         malloc: Rewrite with explicit TLS access using __thread.
26861         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
26862         (tsd_setspecific, tsd_getspecific): Remove.
26863         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
26864         (tsd_setspecific, tsd_getspecific): Likewise.
26865         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
26866         (tsd_setspecific, tsd_getspecific): Likewise.
26867         * malloc/arena.c (thread_arena): New TLS variable.
26868         (arena_key): Remove variable.
26869         (arena_get): Use thread_arena.
26870         (arena_lookup): Remove macro.
26871         (malloc_atfork, free_atfork, ptmalloc_lock_all)
26872         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
26873         (_int_new_arena, get_free_list, reused_arena)
26874         (arena_thread_freeres): Use thread_arena.
26875         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
26876         tsd_getspecific, tsd_setspecific from safety annotations.
26877         (Allocating Cleared Space): Remove arena_lookup from safety
26878         annotations.
26880 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26882         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
26883         struct scratch_buffer instead of extend_alloca.
26885 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26887         * sysdeps/unix/sysv/linux/kernel-features.h
26888         (__ASSUME_SOCK_CLOEXEC): Remove.
26889         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
26890         (__have_paccept): Remove unused macro.
26891         * include/unistd.h (__have_sock_cloexec): Remove declaration.
26892         * misc/syslog.c (openlog_internal): Remove fallback code for
26893         !__ASSUME_SOCK_CLOEXEC.
26894         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
26895         missing SOCK_CLOEXEC.
26896         * nscd/connections.c (have_sock_cloexec): Remove definition.
26897         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26898         * nscd/nscd_helper.c (open_socket): Remove fallback code for
26899         !__ASSUME_SOCK_CLOEXEC.
26900         * resolv/res_send.c (__have_o_nonblock): Remove definition.
26901         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26902         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
26903         definition.
26904         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
26905         code for !__ASSUME_SOCK_CLOEXEC.
26907 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26909         [BZ #18982]
26910         * manual/stdio.texi (Variable Arguments Output): Add portability
26911         note, explaining that vfprintf clobbers the va_list pointer.
26913 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26915         * math/libm-test.inc (fabs_test_data): Add more tests.
26916         (fdim_test_data): Likewise.
26917         (fma_test_data): Likewise.
26918         (fmax_test_data): Likewise.
26919         (fmin_test_data): Likewise.
26920         (fmod_test_data): Likewise.
26922 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
26924         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
26925         data.
26927 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26929         * math/libm-test.inc (ceil_test_data): Add more tests and more
26930         expectations for "inexact".
26931         (floor_test_data): Add more tests.
26932         (round_test_data): Likewise.
26933         (trunc_test_data): Likewise.
26935         * crypt/cert.c (good_bye): Convert to prototype-style function
26936         definition.
26937         (get8): Likewise.
26938         (put8): Likewise.
26939         * crypt/crypt-entry.c (crypt): Likewise.
26940         (__fcrypt): Likewise.
26941         * crypt/crypt_util.c (_ufc_prbits): Likewise.
26942         (_ufc_set_bits): Likewise.
26943         (_ufc_clearmem): Likewise.
26944         (__init_des_r): Likewise.
26945         (shuffle_sb): Likewise.
26946         (shuffle_sb): Likewise.
26947         (_ufc_setup_salt_r): Likewise.
26948         (_ufc_mk_keytab_r): Likewise.
26949         (_ufc_dofinalperm_r): Likewise.
26950         (encrypt): Likewise.
26951         (__setkey_r): Likewise.
26952         (setkey): Likewise.
26953         * crypt/md5.c (md5_init_ctx): Likewise.
26954         (md5_read_ctx): Likewise.
26955         (md5_finish_ctx): Likewise.
26956         (md5_stream): Likewise.
26957         (md5_buffer): Likewise.
26958         (md5_process_bytes): Likewise.
26959         * crypt/sha256.c (__sha256_init_ctx): Likewise.
26960         (__sha256_finish_ctx): Likewise.
26961         (__sha256_process_bytes): Likewise.
26962         * crypt/sha512.c (__sha512_init_ctx): Likewise.
26963         (__sha512_finish_ctx): Likewise.
26964         (__sha512_process_bytes): Likewise.
26965         * ctype/isctype.c (__isctype): Likewise.
26966         * debug/backtrace.c (__backtrace): Likewise.
26967         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
26968         * debug/fgets_chk.c (__fgets_chk): Likewise.
26969         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
26970         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
26971         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26972         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26973         * debug/memset_chk.c (__memset_chk): Likewise.
26974         * debug/strcat_chk.c (__strcat_chk): Likewise.
26975         * debug/strncat_chk.c (__strncat_chk): Likewise.
26976         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
26977         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
26978         * dirent/dirfd.c (dirfd): Likewise.
26979         * dirent/getdents.c (__getdirentries): Likewise.
26980         * dirent/getdents64.c (getdirentries64): Likewise.
26981         * dirent/rewinddir.c (__rewinddir): Likewise.
26982         * dirent/seekdir.c (seekdir): Likewise.
26983         * dirent/telldir.c (telldir): Likewise.
26984         * elf/sln.c (makesymlinks): Likewise.
26985         (makesymlink): Likewise.
26986         * gmon/gmon.c (__moncontrol): Likewise.
26987         (__monstartup): Likewise.
26988         (write_hist): Likewise.
26989         (write_call_graph): Likewise.
26990         (write_bb_counts): Likewise.
26991         * grp/setgroups.c (setgroups): Likewise.
26992         * inet/inet_lnaof.c (inet_lnaof): Likewise.
26993         * inet/inet_net.c (inet_network): Likewise.
26994         * inet/inet_netof.c (inet_netof): Likewise.
26995         * inet/rcmd.c (rresvport_af): Likewise.
26996         (rresvport): Likewise.
26997         * io/access.c (__access): Likewise.
26998         * io/chdir.c (__chdir): Likewise.
26999         * io/chmod.c (__chmod): Likewise.
27000         * io/chown.c (__chown): Likewise.
27001         * io/close.c (__close): Likewise.
27002         * io/creat.c (creat): Likewise.
27003         * io/creat64.c (creat64): Likewise.
27004         * io/dup.c (__dup): Likewise.
27005         * io/dup2.c (__dup2): Likewise.
27006         * io/dup3.c (__dup3): Likewise.
27007         * io/euidaccess.c (__euidaccess): Likewise.
27008         * io/faccessat.c (faccessat): Likewise.
27009         * io/fchmod.c (__fchmod): Likewise.
27010         * io/fchmodat.c (fchmodat): Likewise.
27011         * io/fchown.c (__fchown): Likewise.
27012         * io/fchownat.c (fchownat): Likewise.
27013         * io/fcntl.c (__fcntl): Likewise.
27014         * io/flock.c (__flock): Likewise.
27015         * io/fts.c (fts_load): Likewise.
27016         (fts_close): Likewise.
27017         (fts_read): Likewise.
27018         (fts_set): Likewise.
27019         (fts_children): Likewise.
27020         (fts_build): Likewise.
27021         (fts_stat): Likewise.
27022         (fts_sort): Likewise.
27023         (fts_alloc): Likewise.
27024         (fts_lfree): Likewise.
27025         (fts_palloc): Likewise.
27026         (fts_padjust): Likewise.
27027         (fts_maxarglen): Likewise.
27028         (fts_safe_changedir): Likewise.
27029         * io/getwd.c (getwd): Likewise.
27030         * io/isatty.c (__isatty): Likewise.
27031         * io/lchown.c (__lchown): Likewise.
27032         * io/link.c (__link): Likewise.
27033         * io/linkat.c (linkat): Likewise.
27034         * io/lseek.c (__libc_lseek): Likewise.
27035         * io/mkdir.c (__mkdir): Likewise.
27036         * io/mkdirat.c (mkdirat): Likewise.
27037         * io/mkfifo.c (mkfifo): Likewise.
27038         * io/mkfifoat.c (mkfifoat): Likewise.
27039         * io/open.c (__libc_open): Likewise.
27040         * io/open64.c (__libc_open64): Likewise.
27041         * io/readlink.c (__readlink): Likewise.
27042         * io/readlinkat.c (readlinkat): Likewise.
27043         * io/rmdir.c (__rmdir): Likewise.
27044         * io/symlink.c (__symlink): Likewise.
27045         * io/symlinkat.c (symlinkat): Likewise.
27046         * io/ttyname.c (ttyname): Likewise.
27047         * io/ttyname_r.c (__ttyname_r): Likewise.
27048         * io/umask.c (__umask): Likewise.
27049         * io/unlink.c (__unlink): Likewise.
27050         * io/unlinkat.c (unlinkat): Likewise.
27051         * io/utime.c (utime): Likewise.
27052         * libio/clearerr.c (clearerr): Likewise.
27053         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
27054         * libio/feof.c (_IO_feof): Likewise.
27055         * libio/feof_u.c (feof_unlocked): Likewise.
27056         * libio/ferror.c (_IO_ferror): Likewise.
27057         * libio/ferror_u.c (ferror_unlocked): Likewise.
27058         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27059         * libio/fileno.c (__fileno): Likewise.
27060         * libio/fputc.c (fputc): Likewise.
27061         * libio/fputc_u.c (fputc_unlocked): Likewise.
27062         * libio/fputwc.c (fputwc): Likewise.
27063         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
27064         * libio/freopen.c (freopen): Likewise.
27065         * libio/freopen64.c (freopen64): Likewise.
27066         * libio/fseek.c (fseek): Likewise.
27067         * libio/fseeko.c (fseeko): Likewise.
27068         * libio/fseeko64.c (fseeko64): Likewise.
27069         * libio/ftello.c (__ftello): Likewise.
27070         * libio/ftello64.c (ftello64): Likewise.
27071         * libio/fwide.c (fwide): Likewise.
27072         * libio/genops.c (_IO_un_link): Likewise.
27073         (_IO_link_in): Likewise.
27074         (_IO_least_marker): Likewise.
27075         (_IO_switch_to_main_get_area): Likewise.
27076         (_IO_switch_to_backup_area): Likewise.
27077         (_IO_switch_to_get_mode): Likewise.
27078         (_IO_free_backup_area): Likewise.
27079         (_IO_switch_to_put_mode): Likewise.
27080         (__overflow): Likewise.
27081         (__underflow): Likewise.
27082         (__uflow): Likewise.
27083         (_IO_setb): Likewise.
27084         (_IO_doallocbuf): Likewise.
27085         (_IO_default_underflow): Likewise.
27086         (_IO_default_uflow): Likewise.
27087         (_IO_default_xsputn): Likewise.
27088         (_IO_sgetn): Likewise.
27089         (_IO_default_xsgetn): Likewise.
27090         (_IO_sync): Likewise.
27091         (_IO_default_setbuf): Likewise.
27092         (_IO_default_seekpos): Likewise.
27093         (_IO_default_doallocate): Likewise.
27094         (_IO_init): Likewise.
27095         (_IO_old_init): Likewise.
27096         (_IO_default_sync): Likewise.
27097         (_IO_default_finish): Likewise.
27098         (_IO_default_seekoff): Likewise.
27099         (_IO_sputbackc): Likewise.
27100         (_IO_sungetc): Likewise.
27101         (_IO_set_column): Likewise.
27102         (_IO_set_column): Likewise.
27103         (_IO_adjust_column): Likewise.
27104         (_IO_get_column): Likewise.
27105         (_IO_init_marker): Likewise.
27106         (_IO_remove_marker): Likewise.
27107         (_IO_marker_difference): Likewise.
27108         (_IO_marker_delta): Likewise.
27109         (_IO_seekmark): Likewise.
27110         (_IO_unsave_markers): Likewise.
27111         (_IO_nobackup_pbackfail): Likewise.
27112         (_IO_default_pbackfail): Likewise.
27113         (_IO_default_seek): Likewise.
27114         (_IO_default_stat): Likewise.
27115         (_IO_default_read): Likewise.
27116         (_IO_default_write): Likewise.
27117         (_IO_default_showmanyc): Likewise.
27118         (_IO_default_imbue): Likewise.
27119         (_IO_iter_next): Likewise.
27120         (_IO_iter_file): Likewise.
27121         * libio/getc.c (_IO_getc): Likewise.
27122         * libio/getwc.c (_IO_getwc): Likewise.
27123         * libio/iofclose.c (_IO_new_fclose): Likewise.
27124         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27125         * libio/iofflush.c (_IO_fflush): Likewise.
27126         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
27127         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
27128         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
27129         * libio/iofgets.c (_IO_fgets): Likewise.
27130         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
27131         * libio/iofgetws.c (fgetws): Likewise.
27132         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27133         * libio/iofopen64.c (_IO_fopen64): Likewise.
27134         * libio/iofopncook.c (_IO_cookie_read): Likewise.
27135         (_IO_cookie_write): Likewise.
27136         (_IO_cookie_seek): Likewise.
27137         (_IO_cookie_close): Likewise.
27138         (_IO_cookie_seekoff): Likewise.
27139         (_IO_old_cookie_seek): Likewise.
27140         * libio/iofputs.c (_IO_fputs): Likewise.
27141         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
27142         * libio/iofputws.c (fputws): Likewise.
27143         * libio/iofputws_u.c (fputws_unlocked): Likewise.
27144         * libio/iofread.c (_IO_fread): Likewise.
27145         * libio/iofread_u.c (__fread_unlocked): Likewise.
27146         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
27147         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
27148         * libio/ioftell.c (_IO_ftell): Likewise.
27149         * libio/iofwrite.c (_IO_fwrite): Likewise.
27150         * libio/iogetdelim.c (_IO_getdelim): Likewise.
27151         * libio/iogets.c (_IO_gets): Likewise.
27152         * libio/iopadn.c (_IO_padn): Likewise.
27153         * libio/iopopen.c (_IO_new_proc_open): Likewise.
27154         (_IO_new_popen): Likewise.
27155         (_IO_new_proc_close): Likewise.
27156         * libio/ioputs.c (_IO_puts): Likewise.
27157         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
27158         (_IO_seekoff): Likewise.
27159         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
27160         (_IO_seekpos): Likewise.
27161         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
27162         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
27163         * libio/ioungetc.c (_IO_ungetc): Likewise.
27164         * libio/ioungetwc.c (ungetwc): Likewise.
27165         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27166         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
27167         * libio/iowpadn.c (_IO_wpadn): Likewise.
27168         * libio/libc_fatal.c (__libc_fatal): Likewise.
27169         * libio/memstream.c (__open_memstream): Likewise.
27170         (_IO_mem_sync): Likewise.
27171         (_IO_mem_finish): Likewise.
27172         * libio/oldfileops.c (_IO_old_file_init): Likewise.
27173         (_IO_old_file_close_it): Likewise.
27174         (_IO_old_file_finish): Likewise.
27175         (_IO_old_file_fopen): Likewise.
27176         (_IO_old_file_attach): Likewise.
27177         (_IO_old_file_setbuf): Likewise.
27178         (_IO_old_do_write): Likewise.
27179         (old_do_write): Likewise.
27180         (_IO_old_file_underflow): Likewise.
27181         (_IO_old_file_overflow): Likewise.
27182         (_IO_old_file_sync): Likewise.
27183         (_IO_old_file_seekoff): Likewise.
27184         (_IO_old_file_write): Likewise.
27185         (_IO_old_file_xsputn): Likewise.
27186         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
27187         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27188         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
27189         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
27190         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
27191         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
27192         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
27193         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
27194         (_IO_old_popen): Likewise.
27195         (_IO_old_proc_close): Likewise.
27196         * libio/oldpclose.c (__old_pclose): Likewise.
27197         * libio/pclose.c (__new_pclose): Likewise.
27198         * libio/peekc.c (_IO_peekc_locked): Likewise.
27199         * libio/putc.c (_IO_putc): Likewise.
27200         * libio/putc_u.c (putc_unlocked): Likewise.
27201         * libio/putchar.c (putchar): Likewise.
27202         * libio/putchar_u.c (putchar_unlocked): Likewise.
27203         * libio/putwc.c (putwc): Likewise.
27204         * libio/putwc_u.c (putwc_unlocked): Likewise.
27205         * libio/putwchar.c (putwchar): Likewise.
27206         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
27207         * libio/rewind.c (rewind): Likewise.
27208         * libio/setbuf.c (setbuf): Likewise.
27209         * libio/setlinebuf.c (setlinebuf): Likewise.
27210         * libio/vasprintf.c (_IO_vasprintf): Likewise.
27211         * libio/vscanf.c (_IO_vscanf): Likewise.
27212         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
27213         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
27214         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27215         * libio/wgenops.c (_IO_least_wmarker): Likewise.
27216         (_IO_switch_to_main_wget_area): Likewise.
27217         (_IO_switch_to_wbackup_area): Likewise.
27218         (_IO_wsetb): Likewise.
27219         (_IO_wdefault_pbackfail): Likewise.
27220         (_IO_wdefault_finish): Likewise.
27221         (_IO_wdefault_uflow): Likewise.
27222         (__woverflow): Likewise.
27223         (__wuflow): Likewise.
27224         (__wunderflow): Likewise.
27225         (_IO_wdefault_xsputn): Likewise.
27226         (_IO_wdefault_xsgetn): Likewise.
27227         (_IO_wdoallocbuf): Likewise.
27228         (_IO_wdefault_doallocate): Likewise.
27229         (_IO_switch_to_wget_mode): Likewise.
27230         (_IO_free_wbackup_area): Likewise.
27231         (_IO_switch_to_wput_mode): Likewise.
27232         (_IO_sputbackwc): Likewise.
27233         (_IO_sungetwc): Likewise.
27234         (_IO_adjust_wcolumn): Likewise.
27235         (_IO_init_wmarker): Likewise.
27236         (_IO_wmarker_delta): Likewise.
27237         (_IO_seekwmark): Likewise.
27238         (_IO_unsave_wmarkers): Likewise.
27239         * libio/wmemstream.c (open_wmemstream): Likewise.
27240         (_IO_wmem_sync): Likewise.
27241         (_IO_wmem_finish): Likewise.
27242         * locale/nl_langinfo.c (nl_langinfo): Likewise.
27243         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
27244         * locale/programs/simple-hash.c (init_hash): Likewise.
27245         (delete_hash): Likewise.
27246         (insert_entry): Likewise.
27247         (set_entry): Likewise.
27248         (next_prime): Likewise.
27249         (is_prime): Likewise.
27250         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
27251         (xmalloc): Likewise.
27252         (xrealloc): Likewise.
27253         * locale/programs/xstrdup.c (xstrdup): Likewise.
27254         * localedata/collate-test.c (xstrcoll): Likewise.
27255         * localedata/xfrm-test.c (xstrcmp): Likewise.
27256         * login/getlogin_r.c (__getlogin_r): Likewise.
27257         * login/getpt.c (__posix_openpt): Likewise.
27258         * login/login_tty.c (login_tty): Likewise.
27259         * login/setlogin.c (setlogin): Likewise.
27260         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
27261         (mach_msg_destroy_port): Likewise.
27262         (mach_msg_destroy_memory): Likewise.
27263         * malloc/mcheck.c (flood): Likewise.
27264         * misc/acct.c (acct): Likewise.
27265         * misc/brk.c (__brk): Likewise.
27266         * misc/chflags.c (chflags): Likewise.
27267         * misc/chroot.c (chroot): Likewise.
27268         * misc/fchflags.c (fchflags): Likewise.
27269         * misc/fstab.c (getfsspec): Likewise.
27270         (getfsfile): Likewise.
27271         * misc/fsync.c (fsync): Likewise.
27272         * misc/ftruncate.c (__ftruncate): Likewise.
27273         * misc/ftruncate64.c (__ftruncate64): Likewise.
27274         * misc/getdomain.c (getdomainname): Likewise.
27275         (getdomainname): Likewise.
27276         * misc/gethostname.c (__gethostname): Likewise.
27277         * misc/getpass.c (getpass): Likewise.
27278         * misc/getttyent.c (skip): Likewise.
27279         (value): Likewise.
27280         * misc/gtty.c (gtty): Likewise.
27281         * misc/hsearch.c (hsearch): Likewise.
27282         (hcreate): Likewise.
27283         * misc/hsearch_r.c (__hcreate_r): Likewise.
27284         (__hdestroy_r): Likewise.
27285         * misc/ioctl.c (__ioctl): Likewise.
27286         * misc/mkdtemp.c (mkdtemp): Likewise.
27287         * misc/mkostemp.c (mkostemp): Likewise.
27288         * misc/mkostemp64.c (mkostemp64): Likewise.
27289         * misc/mkostemps.c (mkostemps): Likewise.
27290         * misc/mkostemps64.c (mkostemps64): Likewise.
27291         * misc/mkstemp.c (mkstemp): Likewise.
27292         * misc/mkstemp64.c (mkstemp64): Likewise.
27293         * misc/mkstemps.c (mkstemps): Likewise.
27294         * misc/mkstemps64.c (mkstemps64): Likewise.
27295         * misc/mktemp.c (__mktemp): Likewise.
27296         * misc/preadv.c (preadv): Likewise.
27297         * misc/preadv64.c (preadv64): Likewise.
27298         * misc/pwritev.c (pwritev): Likewise.
27299         * misc/pwritev64.c (pwritev64): Likewise.
27300         * misc/readv.c (__readv): Likewise.
27301         * misc/revoke.c (revoke): Likewise.
27302         * misc/setdomain.c (setdomainname): Likewise.
27303         * misc/setegid.c (setegid): Likewise.
27304         * misc/seteuid.c (seteuid): Likewise.
27305         * misc/sethostid.c (sethostid): Likewise.
27306         * misc/sethostname.c (sethostname): Likewise.
27307         * misc/setregid.c (__setregid): Likewise.
27308         * misc/setreuid.c (__setreuid): Likewise.
27309         * misc/sstk.c (sstk): Likewise.
27310         * misc/stty.c (stty): Likewise.
27311         * misc/syscall.c (syscall): Likewise.
27312         * misc/syslog.c (setlogmask): Likewise.
27313         * misc/truncate.c (__truncate): Likewise.
27314         * misc/truncate64.c (truncate64): Likewise.
27315         * misc/ualarm.c (ualarm): Likewise.
27316         * misc/usleep.c (usleep): Likewise.
27317         * misc/ustat.c (ustat): Likewise.
27318         * misc/writev.c (__writev): Likewise.
27319         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
27320         * nptl/old_pthread_cond_broadcast.c
27321         (__pthread_cond_broadcast_2_0): Likewise.
27322         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
27323         Likewise.
27324         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
27325         Likewise.
27326         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
27327         Likewise.
27328         * nptl/pt-raise.c (raise): Likewise.
27329         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
27330         Likewise.
27331         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
27332         * nptl/pthread_barrierattr_destroy.c
27333         (pthread_barrierattr_destroy): Likewise.
27334         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
27335         Likewise.
27336         * nptl/pthread_barrierattr_setpshared.c
27337         (pthread_barrierattr_setpshared): Likewise.
27338         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27339         Likewise.
27340         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
27341         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
27342         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
27343         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
27344         Likewise.
27345         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
27346         Likewise.
27347         * nptl/pthread_condattr_getpshared.c
27348         (pthread_condattr_getpshared): Likewise.
27349         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
27350         Likewise.
27351         * nptl/pthread_condattr_setpshared.c
27352         (pthread_condattr_setpshared): Likewise.
27353         * nptl/pthread_detach.c (pthread_detach): Likewise.
27354         * nptl/pthread_equal.c (__pthread_equal): Likewise.
27355         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
27356         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
27357         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
27358         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
27359         Likewise.
27360         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
27361         Likewise.
27362         * nptl/pthread_mutex_getprioceiling.c
27363         (pthread_mutex_getprioceiling): Likewise.
27364         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
27365         Likewise.
27366         * nptl/pthread_mutexattr_getprotocol.c
27367         (pthread_mutexattr_getprotocol): Likewise.
27368         * nptl/pthread_mutexattr_getpshared.c
27369         (pthread_mutexattr_getpshared): Likewise.
27370         * nptl/pthread_mutexattr_getrobust.c
27371         (pthread_mutexattr_getrobust): Likewise.
27372         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
27373         Likewise.
27374         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
27375         Likewise.
27376         * nptl/pthread_mutexattr_setprioceiling.c
27377         (pthread_mutexattr_setprioceiling): Likewise.
27378         * nptl/pthread_mutexattr_setprotocol.c
27379         (pthread_mutexattr_setprotocol): Likewise.
27380         * nptl/pthread_mutexattr_setpshared.c
27381         (pthread_mutexattr_setpshared): Likewise.
27382         * nptl/pthread_mutexattr_setrobust.c
27383         (pthread_mutexattr_setrobust): Likewise.
27384         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
27385         Likewise.
27386         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
27387         Likewise.
27388         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
27389         Likewise.
27390         * nptl/pthread_rwlockattr_getkind_np.c
27391         (pthread_rwlockattr_getkind_np): Likewise.
27392         * nptl/pthread_rwlockattr_getpshared.c
27393         (pthread_rwlockattr_getpshared): Likewise.
27394         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
27395         Likewise.
27396         * nptl/pthread_rwlockattr_setkind_np.c
27397         (pthread_rwlockattr_setkind_np): Likewise.
27398         * nptl/pthread_rwlockattr_setpshared.c
27399         (pthread_rwlockattr_setpshared): Likewise.
27400         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
27401         Likewise.
27402         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
27403         Likewise.
27404         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
27405         Likewise.
27406         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
27407         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
27408         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
27409         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
27410         * nptl/sem_close.c (sem_close): Likewise.
27411         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
27412         * nptl/sem_init.c (__old_sem_init): Likewise.
27413         * nptl/sigaction.c (__sigaction): Likewise.
27414         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27415         * posix/_exit.c (_exit): Likewise.
27416         * posix/alarm.c (alarm): Likewise.
27417         * posix/confstr.c (confstr): Likewise.
27418         * posix/fpathconf.c (__fpathconf): Likewise.
27419         * posix/getgroups.c (__getgroups): Likewise.
27420         * posix/getpgid.c (__getpgid): Likewise.
27421         * posix/group_member.c (__group_member): Likewise.
27422         * posix/pathconf.c (__pathconf): Likewise.
27423         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
27424         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
27425         * posix/setgid.c (__setgid): Likewise.
27426         * posix/setpgid.c (__setpgid): Likewise.
27427         * posix/setuid.c (__setuid): Likewise.
27428         * posix/sleep.c (__sleep): Likewise.
27429         * posix/sysconf.c (__sysconf): Likewise.
27430         * posix/times.c (__times): Likewise.
27431         * posix/uname.c (__uname): Likewise.
27432         * posix/waitid.c (__waitid): Likewise.
27433         * pwd/getpw.c (__getpw): Likewise.
27434         * resolv/base64.c (b64_pton): Likewise.
27435         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27436         * resolv/gethnamaddr.c (Dprintf): Likewise.
27437         (gethostbyname): Likewise.
27438         (gethostbyname2): Likewise.
27439         (gethostbyaddr): Likewise.
27440         (_sethtent): Likewise.
27441         (_gethtbyname): Likewise.
27442         (_gethtbyname2): Likewise.
27443         (_gethtbyaddr): Likewise.
27444         (map_v4v6_address): Likewise.
27445         (map_v4v6_hostent): Likewise.
27446         (addrsort): Likewise.
27447         (ht_sethostent): Likewise.
27448         (ht_gethostbyname): Likewise.
27449         (ht_gethostbyaddr): Likewise.
27450         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
27451         (inet_net_ntop_ipv4): Likewise.
27452         * resolv/inet_neta.c (inet_neta): Likewise.
27453         * resolv/inet_ntop.c (inet_ntop): Likewise.
27454         (inet_ntop4): Likewise.
27455         (inet_ntop6): Likewise.
27456         * resolv/inet_pton.c (__inet_pton): Likewise.
27457         (inet_pton4): Likewise.
27458         (inet_pton6): Likewise.
27459         * resolv/res_debug.c (loc_aton): Likewise.
27460         (loc_ntoa): Likewise.
27461         * resource/getpriority.c (__getpriority): Likewise.
27462         * resource/getrusage.c (__getrusage): Likewise.
27463         * resource/nice.c (nice): Likewise.
27464         * resource/setpriority.c (__setpriority): Likewise.
27465         * resource/setrlimit64.c (setrlimit64): Likewise.
27466         * resource/vlimit.c (vlimit): Likewise.
27467         * resource/vtimes.c (vtimes): Likewise.
27468         * rt/aio_error.c (aio_error): Likewise.
27469         * rt/aio_return.c (aio_return): Likewise.
27470         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
27471         * signal/kill.c (__kill): Likewise.
27472         * signal/killpg.c (killpg): Likewise.
27473         * signal/raise.c (raise): Likewise.
27474         * signal/sigaction.c (__sigaction): Likewise.
27475         * signal/sigaddset.c (sigaddset): Likewise.
27476         * signal/sigaltstack.c (sigaltstack): Likewise.
27477         * signal/sigandset.c (sigandset): Likewise.
27478         * signal/sigblock.c (__sigblock): Likewise.
27479         * signal/sigdelset.c (sigdelset): Likewise.
27480         * signal/sigempty.c (sigemptyset): Likewise.
27481         * signal/sigfillset.c (sigfillset): Likewise.
27482         * signal/sighold.c (sighold): Likewise.
27483         * signal/sigignore.c (sigignore): Likewise.
27484         * signal/sigintr.c (siginterrupt): Likewise.
27485         * signal/sigisempty.c (sigisemptyset): Likewise.
27486         * signal/sigismem.c (sigismember): Likewise.
27487         * signal/signal.c (signal): Likewise.
27488         * signal/sigorset.c (sigorset): Likewise.
27489         * signal/sigpause.c (__sigpause): Likewise.
27490         * signal/sigpending.c (sigpending): Likewise.
27491         * signal/sigprocmask.c (__sigprocmask): Likewise.
27492         * signal/sigrelse.c (sigrelse): Likewise.
27493         * signal/sigreturn.c (__sigreturn): Likewise.
27494         * signal/sigset.c (sigset): Likewise.
27495         * signal/sigsetmask.c (__sigsetmask): Likewise.
27496         * signal/sigstack.c (sigstack): Likewise.
27497         * signal/sigsuspend.c (__sigsuspend): Likewise.
27498         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
27499         * signal/sysv_signal.c (__sysv_signal): Likewise.
27500         * socket/accept.c (accept): Likewise.
27501         * socket/accept4.c (__libc_accept4): Likewise.
27502         * socket/bind.c (__bind): Likewise.
27503         * socket/connect.c (__connect): Likewise.
27504         * socket/getpeername.c (getpeername): Likewise.
27505         * socket/getsockname.c (__getsockname): Likewise.
27506         * socket/getsockopt.c (getsockopt): Likewise.
27507         * socket/listen.c (__listen): Likewise.
27508         * socket/recv.c (__recv): Likewise.
27509         * socket/recvmsg.c (__recvmsg): Likewise.
27510         * socket/send.c (__send): Likewise.
27511         * socket/sendmsg.c (__sendmsg): Likewise.
27512         * socket/shutdown.c (shutdown): Likewise.
27513         * socket/sockatmark.c (sockatmark): Likewise.
27514         * socket/socket.c (__socket): Likewise.
27515         * stdio-common/ctermid.c (ctermid): Likewise.
27516         * stdio-common/cuserid.c (cuserid): Likewise.
27517         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
27518         * stdio-common/remove.c (remove): Likewise.
27519         * stdio-common/rename.c (rename): Likewise.
27520         * stdio-common/renameat.c (renameat): Likewise.
27521         * stdio-common/tempname.c (__gen_tempname): Likewise.
27522         * stdio-common/xbug.c (InitBuffer): Likewise.
27523         (AppendToBuffer): Likewise.
27524         (ReadFile): Likewise.
27525         * stdlib/a64l.c (a64l): Likewise.
27526         * stdlib/drand48_r.c (drand48_r): Likewise.
27527         * stdlib/getcontext.c (getcontext): Likewise.
27528         * stdlib/getenv.c (getenv): Likewise.
27529         * stdlib/l64a.c (l64a): Likewise.
27530         * stdlib/llabs.c (llabs): Likewise.
27531         * stdlib/lldiv.c (lldiv): Likewise.
27532         * stdlib/lrand48_r.c (lrand48_r): Likewise.
27533         * stdlib/mrand48_r.c (mrand48_r): Likewise.
27534         * stdlib/putenv.c (putenv): Likewise.
27535         * stdlib/random.c (__srandom): Likewise.
27536         (__initstate): Likewise.
27537         (__setstate): Likewise.
27538         * stdlib/random_r.c (__srandom_r): Likewise.
27539         (__setstate_r): Likewise.
27540         (__random_r): Likewise.
27541         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
27542         * stdlib/setcontext.c (setcontext): Likewise.
27543         * stdlib/setenv.c (setenv): Likewise.
27544         (unsetenv): Likewise.
27545         * stdlib/srand48.c (srand48): Likewise.
27546         * stdlib/srand48_r.c (__srand48_r): Likewise.
27547         * stdlib/swapcontext.c (swapcontext): Likewise.
27548         * stdlib/system.c (__libc_system): Likewise.
27549         * stdlib/tst-strtod.c (expand): Likewise.
27550         * stdlib/tst-strtol.c (expand): Likewise.
27551         * stdlib/tst-strtoll.c (expand): Likewise.
27552         * streams/fattach.c (fattach): Likewise.
27553         * streams/fdetach.c (fdetach): Likewise.
27554         * streams/getmsg.c (getmsg): Likewise.
27555         * streams/isastream.c (isastream): Likewise.
27556         * string/ffs.c (__ffs): Likewise.
27557         * string/ffsll.c (ffsll): Likewise.
27558         * string/memcmp.c (memcmp_common_alignment): Likewise.
27559         (memcmp_not_common_alignment): Likewise.
27560         (MEMCMP): Likewise.
27561         * string/memcpy.c (memcpy): Likewise.
27562         * string/memmove.c (MEMMOVE): Likewise.
27563         * string/memset.c (memset): Likewise.
27564         * string/rawmemchr.c (RAWMEMCHR): Likewise.
27565         * string/strchrnul.c (STRCHRNUL): Likewise.
27566         * string/strerror.c (strerror): Likewise.
27567         * string/strndup.c (__strndup): Likewise.
27568         * string/strverscmp.c (__strverscmp): Likewise.
27569         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
27570         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
27571         (clnttcp_freeres): Likewise.
27572         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
27573         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
27574         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
27575         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
27576         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
27577         (xdr_callhdr): Likewise.
27578         * sunrpc/rpcinfo.c (udpping): Likewise.
27579         (tcpping): Likewise.
27580         (pstatus): Likewise.
27581         (pmapdump): Likewise.
27582         (brdcst): Likewise.
27583         (deletereg): Likewise.
27584         (getprognum): Likewise.
27585         (getvers): Likewise.
27586         (get_inet_address): Likewise.
27587         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
27588         * sunrpc/svc_udp.c (svcudp_create): Likewise.
27589         (svcudp_stat): Likewise.
27590         (svcudp_recv): Likewise.
27591         (svcudp_reply): Likewise.
27592         (svcudp_getargs): Likewise.
27593         (svcudp_freeargs): Likewise.
27594         (svcudp_destroy): Likewise.
27595         * sunrpc/xdr.c (xdr_bytes): Likewise.
27596         (xdr_netobj): Likewise.
27597         (xdr_string): Likewise.
27598         (xdr_wrapstring): Likewise.
27599         * sunrpc/xdr_float.c (xdr_float): Likewise.
27600         (xdr_double): Likewise.
27601         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
27602         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
27603         * sysvipc/ftok.c (ftok): Likewise.
27604         * sysvipc/msgctl.c (msgctl): Likewise.
27605         * sysvipc/msgget.c (msgget): Likewise.
27606         * sysvipc/msgrcv.c (msgrcv): Likewise.
27607         * sysvipc/msgsnd.c (msgsnd): Likewise.
27608         * sysvipc/semget.c (semget): Likewise.
27609         * sysvipc/semop.c (semop): Likewise.
27610         * sysvipc/shmat.c (shmat): Likewise.
27611         * sysvipc/shmctl.c (shmctl): Likewise.
27612         * sysvipc/shmdt.c (shmdt): Likewise.
27613         * sysvipc/shmget.c (shmget): Likewise.
27614         * termios/cfmakeraw.c (cfmakeraw): Likewise.
27615         * termios/speed.c (cfgetospeed): Likewise.
27616         (cfgetispeed): Likewise.
27617         (cfsetospeed): Likewise.
27618         (cfsetispeed): Likewise.
27619         * termios/tcflow.c (tcflow): Likewise.
27620         * termios/tcflush.c (tcflush): Likewise.
27621         * termios/tcgetattr.c (__tcgetattr): Likewise.
27622         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
27623         * termios/tcgetsid.c (tcgetsid): Likewise.
27624         * termios/tcsendbrk.c (tcsendbreak): Likewise.
27625         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
27626         * time/adjtime.c (__adjtime): Likewise.
27627         * time/dysize.c (dysize): Likewise.
27628         * time/ftime.c (ftime): Likewise.
27629         * time/getitimer.c (__getitimer): Likewise.
27630         * time/gettimeofday.c (__gettimeofday): Likewise.
27631         * time/gmtime.c (__gmtime_r): Likewise.
27632         (gmtime): Likewise.
27633         * time/localtime.c (__localtime_r): Likewise.
27634         (localtime): Likewise.
27635         * time/offtime.c (__offtime): Likewise.
27636         * time/settimeofday.c (__settimeofday): Likewise.
27637         * time/stime.c (stime): Likewise.
27638         * time/strftime_l.c (tm_diff): Likewise.
27639         (iso_week_days): Likewise.
27640         * time/strptime.c (strptime): Likewise.
27641         * time/time.c (time): Likewise.
27642         * time/timespec_get.c (timespec_get): Likewise.
27643         * time/tzset.c (tzset_internal): Likewise.
27644         (compute_change): Likewise.
27645         (__tz_compute): Likewise.
27646         * wcsmbs/btowc.c (__btowc): Likewise.
27647         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
27648         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
27649         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
27650         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
27651         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
27652         * wcsmbs/wcscat.c (__wcscat): Likewise.
27653         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27654         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
27655         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
27656         * wcsmbs/wcscspn.c (wcscspn): Likewise.
27657         * wcsmbs/wcsdup.c (wcsdup): Likewise.
27658         * wcsmbs/wcslen.c (__wcslen): Likewise.
27659         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
27660         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
27661         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
27662         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
27663         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27664         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
27665         * wcsmbs/wcsspn.c (wcsspn): Likewise.
27666         * wcsmbs/wcsstr.c (wcsstr): Likewise.
27667         * wcsmbs/wcstok.c (wcstok): Likewise.
27668         * wcsmbs/wctob.c (wctob): Likewise.
27669         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
27670         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27671         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
27672         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
27673         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
27674         * wcsmbs/wmemset.c (__wmemset): Likewise.
27675         * wctype/wcfuncs.c (__towlower): Likewise.
27676         (__towupper): Likewise.
27678         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
27679         (lll_unlock_elision): Add adapt_count parameter.
27681 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
27683         * sysdeps/nptl/configure.ac: Do not give errors based on the
27684         results of top-level configure tests.
27685         * sysdeps/nptl/configure: Regenerated.
27687         * configure.ac (libc_cv_Bgroup): Remove configure test.
27688         * configure: Regenerated.
27689         * config.make.in (have-Bgroup): Remove variable.
27691         * configure.ac (sizeof_long_double): Remove configure test.
27692         * configure: Regenerated.
27693         * config.make.in (sizeof-long-double): Remove variable.
27695         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
27696         * configure: Regenerated.
27697         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
27698         variable.
27699         (exceptions): Likewise.
27700         * sysdeps/arm/configure: Regenerated.
27701         * config.make.in (exceptions): Remove variable.
27702         * Makeconfig (uses-callbacks): Use -fexceptions instead of
27703         $(exceptions).
27704         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
27705         (CFLAGS-vdprintf_chk.c): Likewise.
27706         (CFLAGS-printf_chk.c): Likewise.
27707         (CFLAGS-fprintf_chk.c): Likewise.
27708         (CFLAGS-vprintf_chk.c): Likewise.
27709         (CFLAGS-vfprintf_chk.c): Likewise.
27710         (CFLAGS-gets_chk.c): Likewise.
27711         (CFLAGS-fgets_chk.c): Likewise.
27712         (CFLAGS-fgets_u_chk.c): Likewise.
27713         (CFLAGS-fread_chk.c): Likewise.
27714         (CFLAGS-fread_u_chk.c): Likewise.
27715         (CFLAGS-wprintf_chk.c): Likewise.
27716         (CFLAGS-fwprintf_chk.c): Likewise.
27717         (CFLAGS-vwprintf_chk.c): Likewise.
27718         (CFLAGS-vfwprintf_chk.c): Likewise.
27719         (CFLAGS-fgetws_chk.c): Likewise.
27720         (CFLAGS-fgetws_u_chk.c): Likewise.
27721         * libio/Makefile (CFLAGS-fileops.c): Likewise.
27722         (CFLAGS-fputc.c): Likewise.
27723         (CFLAGS-fputwc.c): Likewise.
27724         (CFLAGS-freopen64.c): Likewise.
27725         (CFLAGS-freopen.c): Likewise.
27726         (CFLAGS-fseek.c): Likewise.
27727         (CFLAGS-fseeko64.c): Likewise.
27728         (CFLAGS-fseeko.c): Likewise.
27729         (CFLAGS-ftello64.c): Likewise.
27730         (CFLAGS-ftello.c): Likewise.
27731         (CFLAGS-fwide.c): Likewise.
27732         (CFLAGS-genops.c): Likewise.
27733         (CFLAGS-getc.c): Likewise.
27734         (CFLAGS-getchar.c): Likewise.
27735         (CFLAGS-getwc.c): Likewise.
27736         (CFLAGS-getwchar.c): Likewise.
27737         (CFLAGS-iofclose.c): Likewise.
27738         (CFLAGS-iofflush.c): Likewise.
27739         (CFLAGS-iofgetpos64.c): Likewise.
27740         (CFLAGS-iofgetpos.c): Likewise.
27741         (CFLAGS-iofgets.c): Likewise.
27742         (CFLAGS-iofgetws.c): Likewise.
27743         (CFLAGS-iofputs.c): Likewise.
27744         (CFLAGS-iofputws.c): Likewise.
27745         (CFLAGS-iofread.c): Likewise.
27746         (CFLAGS-iofsetpos64.c): Likewise.
27747         (CFLAGS-iofsetpos.c): Likewise.
27748         (CFLAGS-ioftell.c): Likewise.
27749         (CFLAGS-iofwrite.c): Likewise.
27750         (CFLAGS-iogetdelim.c): Likewise.
27751         (CFLAGS-iogetline.c): Likewise.
27752         (CFLAGS-iogets.c): Likewise.
27753         (CFLAGS-iogetwline.c): Likewise.
27754         (CFLAGS-ioputs.c): Likewise.
27755         (CFLAGS-ioseekoff.c): Likewise.
27756         (CFLAGS-ioseekpos.c): Likewise.
27757         (CFLAGS-iosetbuffer.c): Likewise.
27758         (CFLAGS-iosetvbuf.c): Likewise.
27759         (CFLAGS-ioungetc.c): Likewise.
27760         (CFLAGS-ioungetwc.c): Likewise.
27761         (CFLAGS-oldfileops.c): Likewise.
27762         (CFLAGS-oldiofclose.c): Likewise.
27763         (CFLAGS-oldiofgetpos64.c): Likewise.
27764         (CFLAGS-oldiofgetpos.c): Likewise.
27765         (CFLAGS-oldiofsetpos64.c): Likewise.
27766         (CFLAGS-oldiofsetpos.c): Likewise.
27767         (CFLAGS-peekc.c): Likewise.
27768         (CFLAGS-putc.c): Likewise.
27769         (CFLAGS-putchar.c): Likewise.
27770         (CFLAGS-putwc.c): Likewise.
27771         (CFLAGS-putwchar.c): Likewise.
27772         (CFLAGS-rewind.c): Likewise.
27773         (CFLAGS-wfileops.c): Likewise.
27774         (CFLAGS-wgenops.c): Likewise.
27775         (CFLAGS-oldiofopen.c): Likewise.
27776         (CFLAGS-iofopen.c): Likewise.
27777         (CFLAGS-iofopen64.c): Likewise.
27778         (CFLAGS-oldtmpfile.c): Likewise.
27779         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
27780         (CFLAGS-fprintf.c): Likewise.
27781         (CFLAGS-printf.c): Likewise.
27782         (CFLAGS-vfwprintf.c): Likewise.
27783         (CFLAGS-vfscanf.c): Likewise.
27784         (CFLAGS-vfwscanf.c): Likewise.
27785         (CFLAGS-fscanf.c): Likewise.
27786         (CFLAGS-scanf.c): Likewise.
27787         (CFLAGS-isoc99_vfscanf.c): Likewise.
27788         (CFLAGS-isoc99_vscanf.c): Likewise.
27789         (CFLAGS-isoc99_fscanf.c): Likewise.
27790         (CFLAGS-isoc99_scanf.c): Likewise.
27791         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
27792         (CFLAGS-isoc99_fwscanf.c): Likewise.
27793         (CFLAGS-isoc99_vwscanf.c): Likewise.
27794         (CFLAGS-isoc99_vfwscanf.c): Likewise.
27796         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
27797         after mkstemp64.
27798         * login/tst-utmp.c (do_prepare): Likewise.
27799         * rt/tst-aio.c (do_prepare): Likewise.
27800         * rt/tst-aio64.c (do_prepare): Likewise.
27802 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27804         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27805         (__lll_lock_elision): Remove adapt_count decrement...
27806         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
27807         (__lll_trylock_elision): Likewise.
27808         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
27809         (__lll_unlock_elision): ... to here. And utilize
27810         new adapt_count parameter.
27811         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27812         (__lll_unlock_elision): Update to include adapt_count
27813         parameter.
27814         (lll_unlock_elision): Pass pointer to adapt_count
27815         variable.
27817 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27819         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
27820         Add elision adapt_count parameter to list of arguments.
27821         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27822         (lll_unlock_elision): Update with new parameter list
27823         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
27824         (lll_unlock_elision): Likewise.
27825         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
27826         (lll_unlock_elision): Likewise.
27828 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27830         [BZ #19122]
27831         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
27832         attribute_hidden.
27834         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
27835         attribute_hidden.
27836         [IS_IN (rtld)] (__strdup): Likewise.
27837         [IS_IN (rtld)] (__strerror_r): Likewise.
27838         [IS_IN (rtld)] (__strsep_g): Likewise.
27839         [IS_IN (rtld)] (memchr): Likewise.
27840         [IS_IN (rtld)] (memcmp): Likewise.
27841         [IS_IN (rtld)] (memcpy): Likewise.
27842         [IS_IN (rtld)] (memmove): Likewise.
27843         [IS_IN (rtld)] (memset): Likewise.
27844         [IS_IN (rtld)] (rawmemchr): Likewise.
27845         [IS_IN (rtld)] (stpcpy): Likewise.
27846         [IS_IN (rtld)] (strchr): Likewise.
27847         [IS_IN (rtld)] (strcmp): Likewise.
27848         [IS_IN (rtld)] (strlen): Likewise.
27849         [IS_IN (rtld)] (strnlen): Likewise.
27850         [IS_IN (rtld)] (strsep): Likewise.
27852         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
27853         attribute_hidden.
27854         [IS_IN (rtld)] (__strtoul_internal): Likewise.
27856         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
27857         attribute_hidden.
27858         [IS_IN (rtld)] (__libc_sigaction): Likewise.
27860         * include/setjmp.h (__longjmp): Add attribute_hidden.
27861         [IS_IN (rtld)] (__sigsetjmp): Likewise.
27863         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
27864         Add attribute_hidden.
27866         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
27867         [IS_IN (rtld)] (__open): Likewise.
27868         [IS_IN (rtld)] (__fcntl): Likewise.
27870         * include/dirent.h (__opendirat): Add attribute_hidden.
27871         (__getdents): Likewise.
27872         (__getdents64): Likewise.
27873         (__alloc_dir): Likewise.
27874         [IS_IN (rtld)] (__closedir): Likewise.
27875         [IS_IN (rtld)] (__fdopendir): Likewise.
27876         [IS_IN (rtld)] (__readdir): Likewise.
27877         [IS_IN (rtld)] (__readdir64): Likewise.
27878         [IS_IN (rtld)] (__rewinddir): Likewise.
27880         * include/dlfcn.h (_dl_catch_error): Moved to ...
27881         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
27882         attribute_hidden.
27884         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
27885         (_itoa_word): Likewise.
27887         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
27888         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27889         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27890         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
27891         (_dl_higher_prime_number): Likewise.
27892         (_dl_debug_printf_c): Likewise.
27893         (_dl_signal_cerror): Likewise.
27894         (_dl_receive_error): Likewise.
27895         (_dl_reloc_bad_type): Likewise.
27896         (_dl_resolve_conflicts): Likewise.
27897         (_dl_check_all_versions): Likewise.
27898         (_dl_check_map_versions): Likewise.
27899         (_dl_sort_fini): Likewise.
27900         (_dl_debug_initialize): Likewise.
27901         (_dl_init_paths): Likewise.
27902         (_dl_show_auxv): Likewise.
27903         (_dl_next_ld_env_entry): Likewise.
27904         (_dl_important_hwcaps): Likewise.
27905         (_dl_load_cache_lookup): Likewise.
27906         (_dl_update_slotinfo): Likewise.
27907         (_dl_show_scope): Likewise.
27909         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
27910         attribute_hidden.
27911         (_wordcopy_fwd_dest_aligned): Likewise.
27912         (_wordcopy_bwd_aligned): Likewise.
27913         (_wordcopy_bwd_dest_aligned): Likewise.
27915         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27916         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27917         Likewise.
27918         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27919         Likewise.
27920         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27922 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27924         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
27925         GCC 5 requirement.
27927 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
27929         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
27930         test.
27931         * sysdeps/i386/configure: Regenerated.
27932         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
27933         code unconditional.
27935         * configure.ac (libc_cv_asm_previous_directive): Remove configure
27936         test.
27937         (libc_cv_asm_popsection_directive): Likewise.
27938         * configure: Regenerated.
27939         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
27940         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
27941         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
27942         (__make_section_unallocated): Make definition unconditional.
27943         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
27944         Remove conditional definition.
27945         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
27946         (__make_section_unallocated): Likewise.
27948         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
27949         * configure: Regenerated.
27950         * config.make.in (static-libgcc): Remove variable.
27951         * Makerules (build-shlib-helper): Use -static-libgcc instead of
27952         $(static-libgcc).
27953         (build-module-helper): Likewise.
27955         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
27956         * configure: Regenerated.
27958 2015-10-15  Florian Weimer  <fweimer@redhat.com>
27960         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
27961         (struct char_buffer): New type.
27962         (char_buffer_start, char_buffer_size, char_buffer_error)
27963         (char_buffer_rewind, char_buffer_add): New functions.
27964         (ADDW): Remove macro, replaced by the char_buffer_add function.
27965         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
27966         of extend_alloca.  Make control flow more explicit.
27968 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27970         [BZ #19137]
27971         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27972         Add -fomit-frame-pointer.
27973         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
27975 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27977         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
27978         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
27979         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
27980         only if !__GNUC_PREREQ (5,0).
27981         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
27982         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
27983         (INTERNAL_SYSCALL_NCS): Likewise.
27984         (LOADREGS_0): New macro for GCC 5.
27985         (ASMARGS_0): Likewise.
27986         (LOADREGS_1): Likewise.
27987         (ASMARGS_1): Likewise.
27988         (LOADREGS_2): Likewise.
27989         (ASMARGS_2): Likewise.
27990         (LOADREGS_3): Likewise.
27991         (ASMARGS_3): Likewise.
27992         (LOADREGS_4): Likewise.
27993         (ASMARGS_4): Likewise.
27994         (LOADREGS_5): Likewise.
27995         (ASMARGS_5): Likewise.
27996         (LOADREGS_6): Likewise.
27997         (ASMARGS_6): Likewise.
27999 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28001         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
28002         -fomit-frame-pointer.
28003         (CFLAGS-mmap64.c): Likewise.
28004         (CFLAGS-semtimedop.c): Likewise.
28005         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
28006         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
28007         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28008         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28010 2015-10-15  Florian Weimer  <fweimer@redhat.com>
28012         [BZ #18928]
28013         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
28014         _dl_pointer_guard member.
28015         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
28016         initializer.
28017         (security_init): Always set up pointer guard.
28018         (process_envvars): Do not process LD_POINTER_GUARD.
28020 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
28022         [BZ #19134]
28023         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
28024         (.LC2): Likewise.
28025         (.LC3): Likewise.
28026         (__lround): Do not add 0.5 to integer or out-of-range arguments.
28028 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28030         [BZ #19129]
28031         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
28032         r0 and r1.
28034 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
28036         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
28038 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
28040         * include/stap-probe.h: Fix macro definition formatting.
28042 2015-10-14  Florian Weimer  <fweimer@redhat.com>
28044         [BZ #19074]
28045         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
28046         load and store num_ifs.
28048 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
28050         [BZ #18822]
28051         * sysdeps/unix/sysv/linux/sched_getaffinity.c
28052         (__sched_getaffinity_new): Add libc_hidden_proto and
28053         libc_hidden_def.
28055 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
28057         [BZ #19007]
28058         * scripts/localplt.awk: Also allow GOT references.
28059         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
28060         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
28061         with "+ REL R_386_GLOB_DAT".
28062         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
28063         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
28065 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
28067         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
28068         INLINE_SYSCALL_ERROR_RETURN_VALUE.
28069         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
28070         Likewise.
28071         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28072         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
28073         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
28074         INTERNAL_SYSCALLINTERNAL_SYSCALL and
28075         INLINE_SYSCALL_ERROR_RETURN_VALUE.
28076         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
28077         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28078         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
28079         Likewise.
28080         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28082 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
28084         [BZ #19125]
28085         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
28086         <math_private.h> and <stdint.h>.
28087         (__llround): Avoid conversions to and from long long int, and
28088         subtractions, where those might raise spurious exceptions.
28089         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
28090         <math_private.h> and <stdint.h>.
28091         (__llroundf): Avoid conversions to and from long long int, and
28092         subtractions, where those might raise spurious exceptions.
28094 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28096         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
28097         INLINE_SYSCALL_ERROR_RETURN_VALUE.
28098         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28099         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
28100         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28101         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28102         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
28103         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
28104         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
28105         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28106         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28107         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28108         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
28109         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28110         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28111         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
28112         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
28113         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
28114         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
28115         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
28116         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28117         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
28118         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
28119         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28120         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
28121         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28122         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
28123         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
28124         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28125         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
28126         (__xstat64_conv): Likewise.
28127         (__xstat32_conv): Likewise.
28129 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28131         * sysdeps/unix/sysv/linux/sysdep.h: New file.
28132         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
28133         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
28134         <sysdeps/unix/sysv/linux/sysdep.h>.
28135         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28136         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
28137         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
28138         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28139         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28140         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
28141         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
28142         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
28143         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
28144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28146         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28147         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28148         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28149         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28150         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28151         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
28152         (sysdep-dl-routines): Add sysdep.
28153         [$(subdir) == nptl] (libpthread-routines): Likewise.
28154         [$(subdir) == rt] (librt-routines): Likewise.
28155         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
28156         PIC when branching to SYSCALL_ERROR_LABEL.
28157         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
28158         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
28159         <sysdeps/unix/sysv/linux/sysdep.h>.
28160         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
28161         (SYSCALL_ERROR_ERRNO): Removed.
28162         (SYSCALL_ERROR_HANDLER): Changed to empty.
28163         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
28164         (__syscall_error): New prototype.
28165         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
28166         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
28168 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28170         [BZ #19124]
28171         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
28172         (_dl_runtime_resolve_avx512): Make it a hidden alias of
28173         _dl_runtime_resolve_avx.
28174         (_dl_runtime_profile_avx512): Make it a hidden alias of
28175         _dl_runtime_profile_avx.
28177 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
28179         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
28180         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
28181         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
28182         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
28184         [BZ #16422]
28185         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
28186         New configure test.
28187         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
28188         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
28189         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
28190         <math_private.h> and <stdint.h>.
28191         (__llrint): Avoid conversions to long long int where those might
28192         raise spurious exceptions.
28193         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
28194         <math_private.h> and <stdint.h>.
28195         (__llrintf): Avoid conversions to long long int where those might
28196         raise spurious exceptions.
28198 2015-10-12  Andreas Schwab  <schwab@suse.de>
28200         [BZ #18969]
28201         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
28202         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
28203         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
28204         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
28205         $(gen-locales).
28206         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
28207         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
28208         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
28209         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
28210         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
28211         $(gen-locales).
28212         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
28213         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
28214         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
28215         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
28216         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
28217         ($(objpfx)tst-ftell-active-handler.out)
28218         ($(objpfx)tst-ftell-append.out)
28219         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
28220         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
28221         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
28222         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
28223         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
28224         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
28225         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
28226         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
28227         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
28228         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
28229         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
28230         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
28231         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
28232         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
28233         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
28234         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
28235         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
28236         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
28237         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
28238         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
28239         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
28240         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
28241         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
28242         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
28243         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
28244         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
28245         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
28246         $(gen-locales).
28247         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
28248         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
28249         $(gen-locales).
28250         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
28251         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
28252         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
28253         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
28254         $(gen-locales).
28255         * libio/tst_wprintf2.c (main): Use explicit locale.
28256         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
28258 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28260         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
28261         __msg_sig_post.
28262         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
28264 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
28266         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28267         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28269         * sysdeps/arm/libm-test-ulps: Regenerated.
28271         [BZ #15470]
28272         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
28274         [BZ #16399]
28275         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
28276         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
28277         and <fix-fp-int-convert-overflow.h>.
28278         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
28279         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28280         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
28281         and <fix-fp-int-convert-overflow.h>.
28282         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
28283         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28284         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
28285         <fix-fp-int-convert-overflow.h>.
28286         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
28287         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28288         * sysdeps/ieee754/dbl-64/s_lround.c: Include
28289         <fix-fp-int-convert-overflow.h>.
28290         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
28291         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28292         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
28293         and <fix-fp-int-convert-overflow.h>.
28294         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
28295         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28296         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
28297         <limits.h> and <fix-fp-int-convert-overflow.h>.
28298         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
28299         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28300         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
28301         and <fix-fp-int-convert-overflow.h>.
28302         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
28303         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28304         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
28305         and <fix-fp-int-convert-overflow.h>.
28306         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
28307         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28308         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
28310 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
28312         [BZ #18589]
28313         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
28314         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
28315         $(gen-locales).
28317 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28318             Phil Blundell <pb@pbcl.net>
28320         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
28321         * nptl/tst-cancel26.c: New file.
28322         * nptl/tst-cancel27.c: Likewise.
28324 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
28326         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
28327         __ILP32__ isn't defined.
28328         (lrint): Likewise.
28329         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
28330         (lrintf): Likewise.
28331         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
28332         (lrintl): Likewise.
28333         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
28334         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
28335         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
28337 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28339         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
28340         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
28342         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
28343         file.
28344         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
28345         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
28347 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
28349         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
28350         configure test.
28351         * sysdeps/i386/configure: Regenerated.
28352         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
28353         configure test.
28354         * sysdeps/x86_64/configure: Regenerated.
28355         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
28356         Make code unconditional.
28358         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
28359         test.
28360         * sysdeps/i386/configure: Regenerated.
28361         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
28362         test.
28363         * sysdeps/x86_64/configure: Regenerated.
28364         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
28365         Make code unconditional.
28366         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28367         Likewise.
28368         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
28369         Likewise.
28370         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28371         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
28372         code unconditional.
28373         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28374         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
28375         code unconditional.
28376         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28377         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
28378         code unconditional.
28379         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
28380         code unconditional.
28381         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28382         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
28383         code unconditional.
28384         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28385         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
28386         code unconditional.
28387         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28388         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
28389         code unconditional.
28390         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28391         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
28392         code unconditional.
28393         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28394         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
28396         [BZ #19095]
28397         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
28398         mantissa to long int before shifting left.
28400 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
28402         [BZ #19094]
28403         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
28404         <limits.h>.
28405         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28406         when result overflows but exception would not result from cast.
28407         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
28408         <limits.h>.
28409         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28410         when result overflows but exception would not result from cast.
28411         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
28412         <limits.h>.
28413         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28414         when result overflows but exception would not result from cast.
28415         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
28416         <limits.h>.
28417         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28418         when result overflows but exception would not result from cast.
28419         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
28420         <limits.h>.
28421         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28422         when result overflows but exception would not result from cast.
28423         * math/libm-test.inc (lrint_test_data): Add more tests.
28424         (llrint_test_data): Likewise.
28426 2015-10-08  Roland McGrath  <roland@hack.frob.com>
28428         [BZ #18872]
28429         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
28430         Move out from under [$(run-built-tests) = yes] conditional.
28431         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
28432         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
28434 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
28436         [BZ #18589]
28437         * string/Makefile (tests): Add bug-strcoll2.
28438         (LOCALES): Add cs_CZ.UTF-8.
28439         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
28441         [BZ #18589]
28442         * string/bug-strcoll2.c: New file.
28443         * locale/categories.def: Revert commit
28444         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
28445         * locale/langinfo.h: Likewise.
28446         * locale/localeinfo.h: Likewise.
28447         * locale/C-collate.c: Likewise.
28448         * locale/programs/ld-collate.c (collate_output): Likewise.
28449         * string/strcoll_l.c (STRDIFF): Likewise.
28450         (STRCOLL): Likewise.
28451         * wcsmbs/wcscoll_l.c: Likewise.
28453 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
28455         * math/libm-test.inc (lround_test_data): Do not expect the absence
28456         of "inexact" for some tests with non-integer arguments.
28457         (llround_test_data): Likewise.
28459         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
28460         test.
28461         (libc_cv_cc_sse2avx): Likewise.
28462         * sysdeps/i386/configure: Regenerated.
28463         * sysdeps/i386/i686/multiarch/Makefile
28464         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
28465         [$(subdir) = math].
28466         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
28467         code unconditional.
28468         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28469         Likewise.
28470         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
28471         Likewise.
28472         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28473         Likewise.
28474         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
28475         test.
28476         (libc_cv_cc_sse2avx): Likewise.
28477         * sysdeps/x86_64/configure: Regenerated.
28478         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
28479         unconditional.
28480         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
28481         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
28482         unconditional.
28483         (_dl_runtime_profile)
28484         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
28485         conditional code.
28486         * sysdeps/x86_64/fpu/multiarch/Makefile
28487         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
28488         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28489         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28490         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28491         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28492         * sysdeps/x86_64/fpu/multiarch/e_log.c
28493         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28494         * sysdeps/x86_64/fpu/multiarch/s_atan.c
28495         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28496         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28497         Likewise.
28498         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28499         Likewise.
28500         * sysdeps/x86_64/fpu/multiarch/s_sin.c
28501         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28502         * sysdeps/x86_64/fpu/multiarch/s_tan.c
28503         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28504         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
28505         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
28506         (HAVE_SSE2AVX_SUPPORT): Likewise.
28508 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
28510         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
28511         instead of #pragma optimize.
28513 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
28515         [BZ #17195]
28516         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
28517         as is similarly done in systrim and _int_free already.
28519 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28521         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
28523 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28525         [BZ #19088]
28526         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
28527         <limits.h>.
28528         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28529         overflows but exception would not result from cast.
28530         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
28531         and <limits.h>.
28532         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28533         overflows but exception would not result from cast.
28534         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
28535         <limits.h>.
28536         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28537         overflows but exception would not result from cast.
28538         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
28539         <limits.h>.
28540         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28541         overflows but exception would not result from cast.
28542         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
28543         <limits.h>.
28544         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28545         overflows but exception would not result from cast.
28546         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
28547         <limits.h>.
28548         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28549         overflows but exception would not result from cast.
28550         * math/libm-test.inc (lround_test_data): Add more tests.
28551         (llround_test_data): Likewise.
28553 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
28555         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
28556         (CFLAGS-ialloc.c): Ditto.
28557         (CFLAGS-scheck.c): Ditto.
28559 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
28561         [BZ #19086]
28562         * manual/filesys.texi (Storage Allocation): Fix argument order for
28563         posix_fallocate64.
28565 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28567         [BZ #19085]
28568         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
28569         exponent below 48 inside case for non-overflowing exponent.
28570         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
28572 2015-10-07  Florian Weimer  <fweimer@redhat.com>
28574         * iconvdata/cp737.h (from_idx): Add const.
28575         * iconvdata/cp775.h (from_idx): Likewise.
28577 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28579         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
28580         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
28581         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
28583         [BZ #19079]
28584         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
28585         file, conditioned on [!_LP64].
28586         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
28587         [!_LP64] (__lround): Do not define as function or alias.
28588         [!_LP64] (lround): Likewise.
28589         [!_LP64] (__lroundl): Likewise.
28590         [!_LP64] (lroundl): Likewise.
28591         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
28592         macro.
28593         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28594         Likewise.
28596 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
28598         * math/libm-test.inc (lrint_test_data): Add more tests.
28599         (llrint_test_data): Likewise.
28600         (lround_test_data): Likewise.
28601         (llround_test_data): Likewise.
28603         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
28604         (llrint_test_data): Add tests used for lrint.
28606         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
28607         test.
28608         * sysdeps/i386/configure: Regenerated.
28609         * sysdeps/i386/i686/multiarch/Makefile
28610         [$(config-cflags-sse4) = yes]: Make code unconditional.
28611         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28612         Likewise.
28613         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
28614         Likewise.
28615         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
28616         test.
28617         * sysdeps/x86_64/configure: Regenerated.
28618         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
28619         Make code unconditional.
28620         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28621         Likewise.
28622         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
28623         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
28625         * scripts/rpm2dynsym.sh: Remove file.
28627 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28629         * configure.ac (libc_cv_cxx_thread_local): Define.
28630         * configure: Regenerate.
28631         * config.make.in (have-cxx-thread_local): Define.
28632         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
28633         (LDLIBS-tst-thread_local1): Define.
28634         (tests): Add tst-thread_local1.
28635         [have-cxx-thread_local != yes] (tests-unsupported): Add
28636         tst-thread_local1.
28637         * nptl/tst-thread_local1.cc: New file.
28639 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
28641         [BZ #19078]
28642         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
28643         (u_thres): Likewise.
28644         (__expl): Determine whether to call __kernel_standard_l based on
28645         value of result, not argument.
28647         * math/libm-test.inc (scalb_test_data): Add more expectations for
28648         the "inexact" exception.
28650         [BZ #19077]
28651         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
28652         0.0L for argument 1.0L.
28654         [BZ #19076]
28655         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
28656         constant 0.0L when computing infinite result.
28658 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28660         [BZ #10432]
28661         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
28662         malloc_usable_size.
28664 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28666         [BZ #19018]
28667         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28668         Mangle function pointer before storing it.
28669         (__call_tls_dtors): Demangle function pointer before calling it.
28671 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28673         [BZ #19012]
28674         * iconv/gconv_db.c (gen_steps): Check for additional errors.
28675         Clean up on failure.
28677 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
28679         [BZ #19071]
28680         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
28681         long int variable to store possibly incremented high part of
28682         mantissa.
28683         * math/libm-test.inc (lround_test_data): Add tests used for
28684         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
28685         for tests requiring 64-bit long.  Do not condition tests on
28686         [TEST_FLOAT] unnecessarily.
28687         (llround_test_data): Add tests used for lround.  Add another
28688         expectation for the "inexact" exception.  Do not condition tests
28689         on [TEST_FLOAT] unnecessarily.
28691         [BZ #887]
28692         [BZ #19049]
28693         [BZ #19050]
28694         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
28695         * sysdeps/ieee754/dbl-64/e_log10.c: Include
28696         <fix-int-fp-convert-zero.h>.
28697         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28698         * sysdeps/ieee754/dbl-64/e_log2.c: Include
28699         <fix-int-fp-convert-zero.h>.
28700         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28701         * sysdeps/ieee754/dbl-64/s_erf.c: Include
28702         <fix-int-fp-convert-zero.h>.
28703         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28704         * sysdeps/ieee754/dbl-64/s_logb.c: Include
28705         <fix-int-fp-convert-zero.h>.
28706         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28707         * sysdeps/ieee754/flt-32/e_log10f.c: Include
28708         <fix-int-fp-convert-zero.h>.
28709         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28710         * sysdeps/ieee754/flt-32/e_log2f.c: Include
28711         <fix-int-fp-convert-zero.h>.
28712         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28713         * sysdeps/ieee754/flt-32/s_erff.c: Include
28714         <fix-int-fp-convert-zero.h>.
28715         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28716         * sysdeps/ieee754/flt-32/s_logbf.c: Include
28717         <fix-int-fp-convert-zero.h>.
28718         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28719         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
28720         <fix-int-fp-convert-zero.h>.
28721         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28722         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
28723         <fix-int-fp-convert-zero.h>.
28724         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28725         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
28726         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
28727         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
28728         file.
28729         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
28731 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
28733         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28735 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
28737         [BZ #19059]
28738         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
28739         overflowing computation.
28740         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28741         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28742         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28743         Likewise.
28744         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28745         Likewise.
28746         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
28747         Likewise.
28748         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28749         Likewise.
28750         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28751         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28752         Likewise.
28753         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28754         Likewise.
28755         * math/libm-test.inc (nexttoward_test_data): Add more tests.
28757         * nss/rewrite_field.c (__nss_rewrite_field): Use
28758         internal_function.
28759         * nss/valid_field.c (__nss_valid_field): Likewise.
28760         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28762 2015-10-02  Florian Weimer  <fweimer@redhat.com>
28764         [BZ #18724]
28765         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
28766         (__nss_invalid_field_characters, __nss_valid_field)
28767         (__nss_valid_list_field, __nss_rewrite_field): Declare.
28768         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
28769         tst-field.c: New file.
28770         * nss/Makefile (routines): Add valid_field, rewrite_field.
28771         (tests-static): Define unconditionally.
28772         (tests): Include tests-static.
28773         [build-static-nss] (tests-static): Use append.
28774         [build-static-nss] (tests): Remove modification.
28775         * nss/getent.c (print_group): Call putgrent.  Report error.
28776         (print_gshadow): Call putsgent.  Report error.
28777         (print_passwd): Call putpwent.  Report error.
28778         (print_shadow): Call putspent.  Report error.
28779         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
28780         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
28781         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
28782         name, password, directory, shell fields for valid syntax.  Rewrite
28783         GECOS field to match syntax.
28784         * pwd/Makefile (tests): Add tst-putpwent.
28785         * pwd/tst-putpwent.c: New file.
28786         * grp/putgrent.c (putgrent): Convert to ISO function definition.
28787         Check grName, grpasswd, gr_mem fields for valid syntax.
28788         Change loop variable i to size_t.
28789         * grp/Makefile (tests): Add tst-putgrent.
28790         * grp/tst-putgrent.c: New file.
28791         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
28792         valid syntax.
28793         * shadow/Makefile (tests): Add tst-putspent.
28794         * shadow/tst-putspent.c: New file.
28795         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
28796         sg_mem fields for valid syntax.
28797         * gshadow/Makefile (tests): Add tst-putsgent.
28798         * gshadow/tst-putsgent.c: New file.
28800 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28802         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
28803         assembly instructions.
28805 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28807         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
28808         prefix from operands.
28810 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
28812         [BZ #16347]
28813         [BZ #19046]
28814         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
28815         <libc-internal.h>.
28816         (MAXLGM): Do not use diagnostic control macros.
28817         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
28818         threshold for ldbl-128ibm.
28819         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
28820         instead of multiplying by log then subtracting.
28821         * math/auto-libm-test-in: Add more tests of lgamma.
28822         * math/auto-libm-test-out: Regenerated.
28824         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
28825         (TYPE_HEX_DIG): Likewise.
28826         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
28827         precisions when printing floating-point numbers.
28828         (check_float_internal): Likewise.
28830 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28832         [BZ #16620]
28833         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
28834         of log (10) rounded downward to 48 bits.
28835         (log10_low): Use corresponding low part of log (10).
28837         [BZ #19032]
28838         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
28839         compute result as (x - x) / (x - x) not as 0 / 0.
28840         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28841         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
28843         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28844         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
28845         and expm1.
28846         * math/auto-libm-test-out: Regenerated.
28847         * math/libm-test.inc (acos_test_data): Add more tests.
28848         (asin_test_data): Likewise.
28849         (asinh_test_data): Likewise.
28850         (atan_test_data): Likewise.
28851         (atanh_test_data): Likewise.
28852         (atan2_test_data): Likewise.
28853         (cbrt_test_data): Likewise.
28854         (ceil_test_data): Likewise.
28855         (copysign_test_data): Likewise.
28856         (cos_test_data): Likewise.
28857         (cosh_test_data): Likewise.
28858         (erf_test_data): Likewise.
28859         (erfc_test_data): Likewise.
28860         (exp_test_data): Likewise.
28861         (exp10_test_data): Likewise.
28862         (exp2_test_data): Likewise.
28863         (expm1_test_data): Likewise.
28864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28866 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
28868         [BZ #19006]
28869         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
28870         to ...
28871         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
28872         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
28873         to ...
28874         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
28875         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
28876         to ...
28877         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
28878         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
28879         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
28880         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
28881         to ...
28882         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
28883         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28884         Moved to ...
28885         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
28886         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28887         Moved to ...
28888         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
28889         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
28890         to ...
28891         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
28892         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28893         Moved to ...
28894         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
28895         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
28896         to ...
28897         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
28898         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
28899         Removed.
28900         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
28901         Likewise.
28902         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
28903         Likewise.
28904         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
28905         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
28906         Likewise.
28907         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28908         Likewise.
28909         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28910         Likewise.
28911         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28912         Likewise.
28913         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28914         Likewise.
28915         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
28916         Likewise.
28917         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
28918         Likewise.
28919         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
28920         Likewise.
28921         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
28922         Likewise.
28923         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
28924         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
28925         Likewise.
28926         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28927         Likewise.
28928         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28929         Likewise.
28930         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28931         Likewise.
28932         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
28933         Likewise.
28934         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28935         Replace ../i486/pthread_cond_timedwait.S with
28936         ../pthread_cond_timedwait.S.
28938 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28940         * math/libm-test.inc (acos_test_data): Refine expectations for
28941         errno and "inexact" exceptions.
28942         (acosh_test_data): Likewise.
28943         (asin_test_data): Likewise.
28944         (asinh_test_data): Likewise.
28945         (atan_test_data): Likewise.
28946         (atanh_test_data): Likewise.
28947         (atan2_test_data): Likewise.
28948         (cbrt_test_data): Likewise.
28949         (ceil_test_data): Likewise.
28950         (copysign_test_data): Likewise.
28951         (cosh_test_data): Likewise.
28952         (erf_test_data): Likewise.
28953         (erfc_test_data): Likewise.
28954         (exp_test_data): Likewise.
28955         (exp10_test_data): Likewise.
28956         (exp2_test_data): Likewise.
28957         (expm1_test_data): Likewise.
28958         (fabs_test_data): Likewise.
28959         (floor_test_data): Likewise.
28960         (fma_test_data): Likewise.
28961         (fmax_test_data): Likewise.
28962         (fmin_test_data): Likewise.
28963         (fmod_test_data): Likewise.
28964         (fpclassify_test_data): Likewise.
28965         (frexp_test_data): Likewise.
28966         (hypot_test_data): Likewise.
28967         (ilogb_test_data): Likewise.
28968         (isgreater_test_data): Likewise.
28969         (isgreaterequal_test_data): Likewise.
28970         (isinf_test_data): Likewise.
28971         (isless_test_data): Likewise.
28972         (islessequal_test_data): Likewise.
28973         (islessgreater_test_data): Likewise.
28974         (isnan_test_data): Likewise.
28975         (isnormal_test_data): Likewise.
28976         (issignaling_test_data): Likewise.
28977         (isunordered_test_data): Likewise.
28978         (j0_test_data): Likewise.
28979         (j1_test_data): Likewise.
28980         (jn_test_data): Likewise.
28981         (lgamma_test_data): Likewise.
28982         (lrint_test_data): Likewise.
28983         (llrint_test_data): Likewise.
28984         (log_test_data): Likewise.
28985         (log10_test_data): Likewise.
28986         (log1p_test_data): Likewise.
28987         (log2_test_data): Likewise.
28988         (logb_test_data): Likewise.
28989         (lround_test_data): Likewise.
28990         (llround_test_data): Likewise.
28991         (modf_test_data): Likewise.
28992         (nearbyint_test_data): Likewise.
28993         (nextafter_test_data): Likewise.
28994         (nexttoward_test_data): Likewise.
28995         (pow_test_data): Likewise.
28996         (remainder_test_data): Likewise.
28997         (remquo_test_data): Likewise.
28998         (rint_test_data): Likewise.
28999         (round_test_data): Likewise.
29000         (signbit_test_data): Likewise.
29001         (sinh_test_data): Likewise.
29002         (sqrt_test_data): Likewise.
29003         (tanh_test_data): Likewise.
29004         (tgamma_test_data): Likewise.
29005         (trunc_test_data): Likewise.
29006         (y0_test_data): Likewise.
29007         (y1_test_data): Likewise.
29008         (yn_test_data): Likewise.
29009         (significand_test_data): Likewise.
29011 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
29013         * manual/filesys.texi (Storage Allocation): Document that
29014         posix_fallocate emulation fails when fd is open with O_WRONLY.
29016 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
29018         [BZ #19016]
29019         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
29020         allow more cases with X^2 + Y^2 >= 0.5.
29021         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
29022         normal element in sum instead of special-casing based on values of
29023         arguments.
29024         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
29025         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
29026         -1 as normal element in sum instead of special-casing based on
29027         values of arguments.
29028         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
29029         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
29030         (__x2y2m1): Update comment.
29031         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
29032         as normal element in sum instead of special-casing based on values
29033         of arguments.
29034         * math/s_clog.c (__clog): Handle more cases using log1p without
29035         hypot.
29036         * math/s_clog10.c (__clog10): Likewise.
29037         * math/s_clog10f.c (__clog10f): Likewise.
29038         * math/s_clog10l.c (__clog10l): Likewise.
29039         * math/s_clogf.c (__clogf): Likewise.
29040         * math/s_clogl.c (__clogl): Likewise.
29041         * math/auto-libm-test-in: Add more tests of clog and clog10.
29042         * math/auto-libm-test-out: Regenerated.
29043         * sysdeps/i386/fpu/libm-test-ulps: Update.
29044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29046 2015-09-28  Martin Sebor  <msebor@redhat.com>
29048         [BZ #18969]
29049         * string/Makefile (LOCALES): Define.
29050         (gen-locales.mk): Include.
29051         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
29052         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
29053         * string/tst-strxfrm2.c (do_test): Print the name of the locale
29054         on setlocale failure.
29056 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
29058         [BZ #18985]
29059         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
29060         (__strftime_internal): Likewise.
29061         * time/tst-strftime.c (do_bz18985): New test.
29062         (do_test): Call it.
29064 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
29066         [BZ #18956]
29067         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
29068         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
29069         extracting high part.
29070         * math/auto-libm-test-in: Add another test of pow.
29071         * math/auto-libm-test-out: Regenerated.
29072         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29074 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
29076         [BZ #18825]
29077         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
29078         New macro.
29079         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
29080         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29081         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
29082         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
29083         DBL_NARROW_EVAL, reloading the PIC register as needed.
29084         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
29085         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
29086         FLT_NARROW_EVAL.  Use separate return path for case when first
29087         argument is NaN.
29088         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
29089         DEFINE_LDBL_MIN.
29090         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
29091         PIC register.
29092         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
29093         math_check_force_underflow_nonneg.
29094         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
29095         underflow for subnormal result.
29096         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
29097         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
29098         math_check_force_underflow_nonneg.
29099         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
29100         math_check_force_underflow.
29101         * sysdeps/x86_64/fpu/x86_64-math-asm.h
29102         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
29103         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
29104         DEFINE_LDBL_MIN.
29105         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
29106         * math/auto-libm-test-in: Add more tests of pow.
29107         * math/auto-libm-test-out: Regenerated.
29109 2015-09-25  Florian Weimer  <fweimer@redhat.com>
29111         * nss/bug17079.c (init_test_items): Add diagnostic for
29112         inconsistent entries.
29113         (test_buffer_size): Skip inconsistent entries.
29115 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
29117         [BZ #13304]
29118         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
29119         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
29120         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
29122         [BZ #13304]
29123         * sysdeps/microblaze/s_fma.c: New file.
29124         * sysdeps/microblaze/s_fmaf.c: Likewise.
29125         * sysdeps/microblaze/sfp-machine.h: Likewise.
29127 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
29129         [BZ #17250]
29130         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
29131         member.
29133 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
29135         [BZ #18803]
29136         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
29137         (MO): New macro.
29138         (__ieee754_hypot) [PIC]: Load PIC register.
29139         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
29140         DBL_NARROW_EVAL.
29141         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
29142         math_check_force_underflow_nonneg in case where result might be
29143         tiny.
29144         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29145         Likewise.
29146         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29147         Likewise.
29148         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
29149         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
29150         * math/auto-libm-test-in: Add more tests of hypot.
29151         * math/auto-libm-test-out: Regenerated.
29153 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
29155         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
29157 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
29159         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
29160         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
29161         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29162         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29163         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
29164         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29165         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29167         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
29168         LOAD_PIC_REG.
29170         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
29171         (FLT_CHECK_FORCE_UFLOW): Likewise.
29172         (DBL_CHECK_FORCE_UFLOW): Likewise.
29173         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
29174         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
29175         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
29176         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29177         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29178         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29179         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29180         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29181         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
29182         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29183         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
29184         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
29185         (flt_min): Replace with use of DEFINE_FLT_MIN.
29186         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
29187         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
29188         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29189         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
29190         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
29191         (flt_min): Replace with use of DEFINE_FLT_MIN.
29192         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
29193         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
29194         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29195         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
29196         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
29197         (flt_min): Replace with use of DEFINE_FLT_MIN.
29198         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
29199         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
29200         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29201         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29202         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
29203         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29204         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29205         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
29206         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29207         (__atan): Use DBL_CHECK_FORCE_UFLOW.
29208         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
29209         (flt_min): Replace with use of DEFINE_FLT_MIN.
29210         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
29211         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
29212         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29213         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
29214         main computation.
29215         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
29216         (flt_min): Replace with use of DEFINE_FLT_MIN.
29217         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
29218         main computation.
29219         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
29220         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29221         (MO): New macro.
29222         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
29223         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
29224         (flt_min): Replace with use of DEFINE_FLT_MIN.
29225         (MO): New macro.
29226         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
29227         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
29228         (__log1pl): Use MO.
29230         [BZ #19003]
29231         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
29232         $(config-cflags-nofma).
29234 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29236         * sysdeps/aarch64/libm-test-ulps: Regenerated.
29238 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
29240         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
29241         (TWO127): Likewise.
29243         * sysdeps/generic/math_private.h (fabs_tg): New macro.
29244         (min_of_type): Likewise.
29245         (math_check_force_underflow): Likewise.
29246         (math_check_force_underflow_nonneg): Likewise.
29247         (math_check_force_underflow_complex): Likewise.
29248         * math/e_exp2l.c (__ieee754_exp2l): Use
29249         math_check_force_underflow_nonneg.
29250         * math/k_casinh.c (__kernel_casinh): Likewise.
29251         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29252         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29253         * math/s_catan.c (__catan): Use
29254         math_check_force_underflow_complex.
29255         * math/s_catanf.c (__catanf): Likewise.
29256         * math/s_catanh.c (__catanh): Likewise.
29257         * math/s_catanhf.c (__catanhf): Likewise.
29258         * math/s_catanhl.c (__catanhl): Likewise.
29259         * math/s_catanl.c (__catanl): Likewise.
29260         * math/s_ccosh.c (__ccosh): Likewise.
29261         * math/s_ccoshf.c (__ccoshf): Likewise.
29262         * math/s_ccoshl.c (__ccoshl): Likewise.
29263         * math/s_cexp.c (__cexp): Likewise.
29264         * math/s_cexpf.c (__cexpf): Likewise.
29265         * math/s_cexpl.c (__cexpl): Likewise.
29266         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
29267         * math/s_clog10.c (__clog10): Likewise.
29268         * math/s_clog10f.c (__clog10f): Likewise.
29269         * math/s_clog10l.c (__clog10l): Likewise.
29270         * math/s_clogf.c (__clogf): Likewise.
29271         * math/s_clogl.c (__clogl): Likewise.
29272         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
29273         * math/s_csinf.c (__csinf): Likewise.
29274         * math/s_csinh.c (__csinh): Likewise.
29275         * math/s_csinhf.c (__csinhf): Likewise.
29276         * math/s_csinhl.c (__csinhl): Likewise.
29277         * math/s_csinl.c (__csinl): Likewise.
29278         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
29279         * math/s_csqrtf.c (__csqrtf): Likewise.
29280         * math/s_csqrtl.c (__csqrtl): Likewise.
29281         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
29282         * math/s_ctanf.c (__ctanf): Likewise.
29283         * math/s_ctanh.c (__ctanh): Likewise.
29284         * math/s_ctanhf.c (__ctanhf): Likewise.
29285         * math/s_ctanhl.c (__ctanhl): Likewise.
29286         * math/s_ctanl.c (__ctanl): Likewise.
29287         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
29288         instead of volatile.
29289         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
29290         math_check_force_underflow.
29291         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
29292         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
29293         volatile when forcing underflow.
29294         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29295         math_check_force_underflow_nonneg.
29296         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
29297         Likewise.
29298         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
29299         math_check_force_underflow.
29300         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29301         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29302         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
29303         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
29304         math_check_force_underflow_nonneg.
29305         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
29306         math_check_force_underflow.
29307         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
29308         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
29309         instead of volatile.
29310         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
29311         math_check_force_underflow.
29312         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29313         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29314         math_check_force_underflow_nonneg.
29315         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
29316         math_check_force_underflow.
29317         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
29318         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
29319         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
29320         math_check_force_underflow_nonneg.
29321         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29322         Likewise.
29323         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
29324         math_check_force_underflow.
29325         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29326         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
29327         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
29328         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
29329         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
29330         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
29331         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
29332         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
29333         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29334         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
29335         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
29336         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
29337         Likewise.
29338         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
29339         math_check_force_underflow_nonneg.
29340         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29341         Likewise.
29342         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
29343         math_check_force_underflow.
29344         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29345         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
29346         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29347         Likewise.
29348         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
29349         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
29350         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
29351         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
29352         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
29353         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
29354         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
29355         instead of volatile.
29356         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
29357         math_check_force_underflow.
29358         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
29359         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
29360         math_check_force_underflow.
29361         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
29362         Likewise.
29363         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29364         Use math_check_force_underflow_nonneg.
29365         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
29366         math_check_force_underflow.
29367         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
29368         Likewise.
29369         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29370         Likewise.
29371         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29372         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29373         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29374         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29375         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
29376         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29377         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
29378         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
29379         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
29380         math_check_force_underflow_nonneg.
29381         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
29382         math_check_force_underflow.
29383         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29384         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
29385         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
29386         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
29387         math_check_force_underflow_nonneg.
29388         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
29389         math_check_force_underflow.
29390         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
29391         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
29392         instead of volatile.
29393         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
29394         math_check_force_underflow.
29396         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
29397         * stdlib/strtod_l.c: Include <math_private.h>.
29398         (overflow_value): Use math_narrow_eval.
29399         (underflow_value): Likewise.
29400         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29401         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29402         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
29403         (__ieee754_gamma_r): Likewise.
29404         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
29405         Likewise.
29406         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
29407         Likewise.
29408         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
29409         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
29410         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
29411         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
29412         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
29413         (__ieee754_gammaf_r): Likewise.
29414         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
29415         Likewise.
29416         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
29417         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
29418         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
29419         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
29420         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
29421         volatile.
29422         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
29423         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
29424         math_narrow_eval.
29425         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29426         Likewise.
29427         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29428         Likewise.
29429         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
29430         Likewise.
29431         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
29432         volatile.
29433         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
29434         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
29435         math_narrow_eval.
29436         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29437         Likewise.
29438         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29439         Likewise.
29441 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
29443         * nptl/Versions: Remove ignored symbols.
29445 2015-09-22  Florian Weimer  <fweimer@redhat.com>
29447         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
29448         * nss/Makefile (tests): Update.
29450 2015-09-22  Florian Weimer  <fweimer@redhat.com>
29452         * nss/bug18287.c: New file.
29453         * nss/Makefile (tests): Add bug18287.
29455 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29457         * mach/Versions (__mach_host_self_): Add symbol.
29459 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29461         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
29462         vm_page_size.
29464 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29466         Really fix sysdeps/i386/fpu/s_scalbn.S build
29468         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
29469         (libc: GLIBC_2_22): Remove unused version set.
29471 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
29473         * config.make.in (enable-timezone-tools): New variable.
29474         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
29475         (enable_timezone_tools): Export to generated files.
29476         * configure: Regenerate.
29477         * INSTALL: Regenerate.
29478         * manual/install.texi (--disable-timezone-tools): Document new flag.
29479         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
29480         ifeq ($(enable-timezone-tools),yes) check.
29482 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29484         * timezone/Makefile: Revert previous change.
29486         [BZ #18980]
29487         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
29488         (DEFINE_DBL_MIN): Likewise.
29489         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29490         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29491         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29492         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29493         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
29494         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29495         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29496         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
29497         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
29498         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29499         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29500         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
29501         (flt_min): Replace with use of DEFINE_FLT_MIN.
29502         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29503         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
29504         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29505         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29506         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
29507         (flt_min): Replace with use of DEFINE_FLT_MIN.
29508         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29509         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
29510         (flt_min): Replace with use of DEFINE_FLT_MIN.
29511         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29512         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
29513         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
29514         (__ieee754_hypot): Use DBL_NARROW_EVAL.
29515         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
29516         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
29517         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
29518         (__ieee754_pow): Use DBL_NARROW_EVAL.
29519         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
29520         (__ieee754_powf): Use FLT_NARROW_EVAL.
29521         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
29522         (__ieee754_expf_sse2): Convert double-precision result to single
29523         precision.
29524         * sysdeps/i386/fpu/libm-test-ulps: Update.
29526 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29528         * timezone/Makefile: Ignore unused variable errors due to private.h
29529         (time_t_min) and (time_t_max).
29530         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
29531         Likewise.
29533 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29535         [BZ #18981]
29536         * sysdeps/i386/fpu/i386-math-asm.h: New file.
29537         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
29538         (__ieee754_scalb): Use DBL_NARROW_EVAL.
29539         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
29540         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
29541         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
29542         (__scalbn): Use DBL_NARROW_EVAL.
29543         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
29544         (__scalbnf): Use FLT_NARROW_EVAL.
29546 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29548         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
29549         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
29550         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
29551         * stdio-common/printf_fp.c (___printf_fp):
29552         Use signbit to get the sign. Use isinf macro to allow inlining.
29553         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
29554         * stdio-common/printf_size.c (__printf_size): Likewise.
29556 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
29558         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
29560 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29562         [BZ #18980]
29563         * sysdeps/generic/math_private.h: Include <float.h>.
29564         (math_narrow_eval): New macro.
29565         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
29566         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
29567         math_narrow_eval on overflowing return value.
29568         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
29569         Likewise.
29570         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29571         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
29572         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
29573         Likewise.
29574         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
29576 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29578         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
29579         * math/Makefile: Remove isinf_ns.c.
29580         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
29581         * math/multc3.c (__multc3): Likewise.
29582         * math/s_casin.c (__casin): Likewise.
29583         * math/s_casinf.c (__casinf): Likewise.
29584         * math/s_casinl.c (__casinl): Likewise.
29585         * math/s_cproj.c (__cproj): Likewise.
29586         * math/s_cprojf.c (__cprojf): Likewise.
29587         * math/s_cprojl.c (__cprofl): Likewise.
29588         * math/s_ctan.c (__ctan): Likewise.
29589         * math/s_ctanf.c (__ctanf): Likewise.
29590         * math/s_ctanh.c (__ctanh): Likewise.
29591         * math/s_ctanhf.c (__ctanhf): Likewise.
29592         * math/s_ctanhl.c (__ctanhl): Likewise.
29593         * math/s_ctanl.c (__ctanl): Likewise.
29594         * math/w_fmod.c (__fmod): Likewise.
29595         * math/w_fmodf.c (__fmodf): Likewise.
29596         * math/w_fmodl.c (_fmodl): Likewise.
29597         * math/w_remainder.c (__remainder): Likewise.
29598         * math/w_remainderf.c (__remainderf): Likewise.
29599         * math/w_remainderl.c (__remainderl): Likewise.
29600         * math/w_scalb.c (__scalb): Likewise.
29601         * math/w_scalbf.c (__scalbf): Likewise.
29602         * math/w_scalbl.c (__scalbl): Likewise.
29603         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
29604         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
29605         with isinf.
29606         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
29607         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
29608         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
29609         __isinf_nsf with isinf.
29610         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
29611         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
29612         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
29613         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
29614         with isinf.
29615         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
29616         __isinf_nsl with isinf.
29617         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
29618         with isinf.
29619         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
29620         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
29621         __isinf_nsl with isinf.
29622         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
29623         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
29624         with isinf.
29626 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29628         * resolv/base64.c (rcsid): Remove unused static.
29629         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
29630         static.  (tqpi1): Likewise.
29631         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
29632         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
29633         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
29634         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
29635         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
29636         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
29637         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
29638         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
29639         Likewise.
29641 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
29643         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
29644         <nptl/pthreadP.h>.
29645         (_longjmp_unwind): Use __libc_ptf_call.
29646         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
29648 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
29650         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
29651         * sysdeps/arm/__longjmp.S: Likewise.
29653 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29655         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
29656         Use __builtin_signbit.
29657         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
29658         Use __builtin_signbitf.
29659         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
29660         Use __builtin_signbitl.
29661         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29662         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
29664 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29666         [BZ #15367]
29667         [BZ #17441]
29669         * math/Makefile: Build test-snan.c with -fsignaling-nans.
29670         * math/math.h (fpclassify): Use __builtin_fpclassify when
29671         available.  (signbit): Use __builtin_signbit(f/l).
29672         (isfinite): Use__builtin_isfinite.  (isnormal): Use
29673         __builtin_isnormal.  (isnan): Use __builtin_isnan.
29674         (isinf): Use __builtin_isinf_sign.
29676 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29678         * benchtests/Makefile: Add bench-math-inlines, link with libm.
29679         * benchtests/bench-math-inlines.c: New benchmark.
29680         * benchtests/bench-util.h: New file.
29681         * benchtests/bench-util.c: New file.
29682         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
29684 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
29686         * elf/tst-dlmopen1.c: Define TEST_SO.
29687         (do_test): Use TEST_SO.
29689         * elf/dl-load.c: Include libc-internal.h.
29690         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
29692 2015-09-18  Vincent Bernat  <vincent@bernat.im>
29694         [BZ #17887]
29695         * time/strptime_l.c (__strptime_internal): Make %z accept
29696         [+-]HH:MM time zones.
29698 2015-09-18  Vincent Bernat  <vincent@bernat.im>
29700         [BZ #17886]
29701         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
29702         valid time zone.
29704 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
29706         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
29707         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
29708         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29709         (__ASSUME_FDATASYNC): Delete.
29711 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29713         * conform/linknamespace.pl: Require weak undefined symbols to be
29714         in the standard namespace.
29715         (%strong_syms): Rename to %seen_syms.
29716         (%strong_seen): Rename to %seen_where.
29718 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
29720         [BZ #18970]
29721         * misc/error.c (error): Replace pthread_setcancelstate with
29722         __pthread_setcancelstate.
29723         (error_at_line): Likewise.
29724         * posix/wordexp.c (parse_comm): Likewise.
29725         * stdlib/fmtmsg.c (fmtmsg): Likewise.
29726         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
29727         (__pthread_setcancelstate): This.
29728         (pthread_setcancelstate): Add an alias.
29729         * nptl/nptl-init.c (pthread_functions): Replace
29730         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
29731         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
29732         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
29733         hidden_proto.
29734         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
29735         it with hidden_def.
29736         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
29737         (pthread_setcancelstate): Renamed to ...
29738         (__pthread_setcancelstate): This.
29739         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
29740         __libc_ptf_call with __pthread_setcancelstate.
29742 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29743             Andreas Schwab  <schwab@suse.de>
29745         [BZ #17118]
29746         * math/s_ctan.c (__ctan): Determine sign of zero real part of
29747         result when imaginary part of argument is infinite using sine and
29748         cosine.
29749         * math/s_ctanf.c (__ctanf): Likewise.
29750         * math/s_ctanl.c (__ctanl): Likewise.
29751         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
29752         of result when real part of argument is infinite using sine and
29753         cosine.
29754         * math/s_ctanhf.c (__ctanhf): Likewise.
29755         * math/s_ctanhl.c (__ctanhl): Likewise.
29756         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
29757         (ctanh_test_data): Add more tests of ctanh.
29759 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29761         [BZ #15384]
29762         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
29763         bit-mask as in subtraction.
29764         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
29765         Likewise.
29766         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
29767         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
29768         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
29770         [BZ #18951]
29771         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
29772         underflow exception for small results.
29773         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29774         Likewise.
29775         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29776         Likewise.
29777         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29778         Likewise.
29779         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29780         Likewise.
29781         * math/auto-libm-test-in: Add more tests of tgamma.
29782         * math/auto-libm-test-out: Regenerated.
29784 2015-09-17  Andreas Schwab  <schwab@suse.de>
29786         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
29788 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29790         [BZ #18977]
29791         * math/bits/mathcalls.h
29792         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
29793         not declare.
29794         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
29795         Likewise.
29796         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
29797         Likewise.
29798         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
29799         Likewise.
29800         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
29801         Likewise.
29802         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
29803         Likewise.
29804         * conform/data/math.h-data
29805         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
29806         function.
29807         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
29808         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
29809         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
29810         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
29811         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
29812         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
29813         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
29814         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
29815         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
29816         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
29817         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
29819         [BZ #6803]
29820         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
29821         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
29822         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
29823         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
29824         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
29825         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
29826         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
29827         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
29828         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29829         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
29830         Likewise.
29831         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29832         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
29833         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
29834         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
29835         long_double_symbol calls.
29836         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
29837         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
29838         strong alias of __ldexpl.
29839         (scalbnl): Define using long_double_symbol.
29840         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
29841         Remove alias.
29842         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
29843         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
29844         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
29845         (scalbln_test_data): Add more errno expectations.
29847 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
29849         Cache the host port like we cache the task port.  This way we do not
29850         need to call the kernel just to get the port.  Furthermore, we no
29851         longer increase the reference count on every invocation of
29852         `mach_host_self'.
29854         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
29855         Protect declarations against the macro expansion.
29856         * mach/mach_init.c (__mach_host_self_): New variable.
29857         (mach_init): Initialize `__mach_host_self_'.
29858         * mach/mach_init.h (__mach_host_self_): New declaration.
29859         (__mach_host_self, mach_host_self): New macros.
29860         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
29861         Release reference.
29863 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29865         [BZ #4404]
29866         * po/de.po: Update from Translation Project.
29868         [BZ #16415]
29869         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
29870         (__expm1l): Remove code to handle positive infinity and overflow.
29871         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
29872         variable.
29873         (__expm1l): Remove code to handle positive infinity and overflow.
29875 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
29876             Paul Pluzhnikov  <ppluzhnikov@google.com>
29878         [BZ #18872]
29879         * stdio-common/Makefile (tst-printf-bz18872): New test.
29880         (tst-printf-bz18872-mem.out): Likewise.
29881         * stdio-common/tst-printf-bz18872.sh: Generate new test.
29882         * stdio-common/vfprintf.c: Fix memory leaks.
29884 2015-09-16  Andreas Schwab  <schwab@suse.de>
29886         [BZ #17244]
29887         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
29888         Remove extra va_start/va_end calls.
29890         [BZ #17243]
29891         * posix/execl.c (execl): Add missing va_end.
29892         * posix/execle.c (execle): Likewise.
29893         * posix/execlp.c (execlp): Likewise.
29895 2015-09-15  Roland McGrath  <roland@hack.frob.com>
29897         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
29898         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
29900 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
29902         [BZ #18967]
29903         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
29904         undefine around includes of <bits/mathcalls.h>.
29905         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
29906         not declare function.
29907         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
29908         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
29909         (scalb): Likewise.
29910         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
29911         not define macro.
29912         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
29913         variable.
29914         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29915         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29916         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29918         [BZ #18857]
29919         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
29920         return non-finite argument without doing ordered comparisons on
29921         it.
29923         [BZ #16296]
29924         * math/fenv.h (fegetround): Use __attribute_pure__.
29925         * include/fenv.h (__fegetround): Likewise.
29927         [BZ #18595]
29928         * math/s_ctan.c (__ctan): Force underflow exception for results
29929         whose real or imaginary part has small absolute value.
29930         * math/s_ctanf.c (__ctanf): Likewise.
29931         * math/s_ctanh.c (__ctanh): Likewise.
29932         * math/s_ctanhf.c (__ctanhf): Likewise.
29933         * math/s_ctanhl.c (__ctanhl): Likewise.
29934         * math/s_ctanl.c (__ctanl): Likewise.
29935         * math/auto-libm-test-in: Do not allow missing underflow for ctan
29936         and ctanh.  Add more tests of ctan and ctanh.
29938         [BZ #15918]
29939         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
29940         handling of cases where one argument is an infinity.
29942         [BZ #18875]
29943         [BZ #18966]
29944         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
29945         (MO): New macro.
29946         (__ieee754_exp10): For small results, force underflow exception
29947         and remove excess range and precision from return value.
29948         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
29949         (MO): New macro.
29950         (__ieee754_exp10f): For small results, force underflow exception
29951         and remove excess range and precision from return value.
29952         * math/auto-libm-test-in: Add more tests of exp10.
29953         * math/auto-libm-test-out: Regenerated.
29955 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
29957         [BZ #18875]
29958         [BZ #18961]
29959         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
29960         (MO): New macro.
29961         (__ieee754_exp): For small results, force underflow exception and
29962         remove excess range and precision from return value.
29963         (__exp_finite): Likewise.
29964         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
29965         (MO): New macro.
29966         (__ieee754_expf): For small results, force underflow exception and
29967         remove excess range and precision from return value.
29968         (__expf_finite): Likewise.
29969         * math/auto-libm-test-in: Add more tests of exp.
29970         * math/auto-libm-test-out: Regenerated.
29972         [BZ #16521]
29973         [BZ #18875]
29974         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
29975         small results.
29976         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
29977         (MO): New macro.
29978         (__ieee754_exp2): For small results, force underflow exception and
29979         remove excess range and precision from return value.
29980         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
29981         (MO): New macro.
29982         (__ieee754_exp2f): For small results, force underflow exception
29983         and remove excess range and precision from return value.
29984         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
29985         (MO): New macro.
29986         (__ieee754_exp2l): Force underflow exception for small results.
29987         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29988         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29989         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
29990         (MO): New macro.
29991         (__ieee754_exp2l): Force underflow exception for small results.
29992         * math/auto-libm-test-in: Add more tests or exp2.
29993         * math/auto-libm-test-out: Regenerated.
29995 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
29997         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
29999         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
30000         /dev/null.
30002 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30004         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30005         io fs process)): Drop spurious backslash.
30007 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30009         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
30010         Use sysinfo system call instead of parsing /proc/meminfo.
30011         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
30012         Likewise.
30014 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
30016         [BZ #16985]
30017         * programs/localedef.c (main): Display argv[remaining] when
30018         output_path is NULL.
30020 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
30022         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30023         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
30024         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
30025         tanh.
30026         * math/auto-libm-test-out: Regenerated.
30027         * sysdeps/i386/fpu/libm-test-ulps: Update.
30028         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30029         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30032 2015-09-11  Roland McGrath  <roland@hack.frob.com>
30034         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
30035         Use 'override' keyword to freeze the value here, preventing
30036         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
30038 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
30040         [BZ #14912]
30041         * sysdeps/aarch64/bits/atomic.h: Move to ...
30042         * sysdeps/aarch64/atomic-machine.h: ...here.
30043         (_AARCH64_BITS_ATOMIC_H): Rename macro to
30044         _AARCH64_ATOMIC_MACHINE_H.
30045         * sysdeps/alpha/bits/atomic.h: Move to ...
30046         * sysdeps/alpha/atomic-machine.h: ...here.
30047         * sysdeps/arm/bits/atomic.h: Move to ...
30048         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
30049         * bits/atomic.h: Move to ...
30050         * sysdeps/generic/atomic-machine.h: ...here.
30051         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30052         * sysdeps/i386/bits/atomic.h: Move to ...
30053         * sysdeps/i386/atomic-machine.h: ...here.
30054         * sysdeps/ia64/bits/atomic.h: Move to ...
30055         * sysdeps/ia64/atomic-machine.h: ...here.
30056         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
30057         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
30058         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30059         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
30060         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
30061         * sysdeps/microblaze/bits/atomic.h: Move to ...
30062         * sysdeps/microblaze/atomic-machine.h: ...here.
30063         * sysdeps/mips/bits/atomic.h: Move to ...
30064         * sysdeps/mips/atomic-machine.h: ...here.
30065         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
30066         * sysdeps/powerpc/bits/atomic.h: Move to ...
30067         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
30068         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
30069         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
30070         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
30071         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
30072         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
30073         <atomic-machine.h> instead of <bits/atomic.h>.
30074         * sysdeps/s390/bits/atomic.h: Move to ...
30075         * sysdeps/s390/atomic-machine.h: ...here.
30076         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
30077         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
30078         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30079         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
30080         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
30081         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
30082         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
30083         * sysdeps/tile/bits/atomic.h: Move to ...
30084         * sysdeps/tile/atomic-machine.h: ...here.
30085         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
30086         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
30087         <sysdeps/tile/atomic-machine.h> instead of
30088         <sysdeps/tile/bits/atomic.h>.
30089         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30090         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
30091         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
30092         <sysdeps/tile/atomic-machine.h> instead of
30093         <sysdeps/tile/bits/atomic.h>.
30094         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30095         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
30096         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
30097         <sysdeps/arm/atomic-machine.h> instead of
30098         <sysdeps/arm/bits/atomic.h>.
30099         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
30100         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
30101         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30102         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
30103         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
30104         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30105         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
30106         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
30107         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
30108         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
30109         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
30110         * sysdeps/x86_64/bits/atomic.h: Move to ...
30111         * sysdeps/x86_64/atomic-machine.h: ...here.
30112         * include/atomic.h: Include <atomic-machine.h> instead of
30113         <bits/atomic.h>.
30115         * sysdeps/mips/mips32/libm-test-ulps: Update.
30116         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30118         [BZ #18952]
30119         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
30120         not convert non-integer negative arguments to int to determine the
30121         value of signgam.
30122         * math/auto-libm-test-in: Add more tests of lgamma.
30123         * math/auto-libm-test-out: Regenerated.
30125         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
30126         cosh, csqrt, erfc, expm1 and lgamma.
30127         * math/auto-libm-test-out: Regenerated.
30128         * sysdeps/i386/fpu/libm-test-ulps: Update.
30129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30131 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
30133         [BZ #2542]
30134         [BZ #2543]
30135         [BZ #2558]
30136         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
30137         __lgamma_neg for arguments from -28.0 to -2.0.
30138         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
30139         __lgamma_negf for arguments from -15.0 to -2.0.
30140         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30141         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
30142         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
30143         Call __lgamma_negl for arguments from -33.0 to -2.0.
30144         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
30145         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
30146         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
30147         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
30148         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
30149         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
30150         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
30151         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
30152         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
30153         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
30154         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
30155         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
30156         (__lgamma_neg): Likewise.
30157         (__lgamma_negl): Likewise.
30158         (__lgamma_product): Likewise.
30159         (__lgamma_productl): Likewise.
30160         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
30161         * math/auto-libm-test-in: Add more tests of lgamma.
30162         * math/auto-libm-test-out: Regenerated.
30163         * sysdeps/i386/fpu/libm-test-ulps: Update.
30164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30166 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
30168         [BZ #18675]
30169         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
30171 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
30173         [BZ #14912]
30174         * bits/libc-lock.h: Move to ...
30175         * sysdeps/generic/libc-lock.h: ...here.
30176         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30177         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
30178         * sysdeps/mach/hurd/libc-lock.h: ...here.
30179         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30180         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
30181         * sysdeps/mach/bits/libc-lock.h: Move to ...
30182         * sysdeps/mach/libc-lock.h: ...here.
30183         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30184         * sysdeps/nptl/bits/libc-lock.h: Move to ...
30185         * sysdeps/nptl/libc-lock.h: ...here.
30186         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30187         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
30188         * sysdeps/nptl/libc-lockP.h: ...here.
30189         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
30190         * crypt/crypt_util.c: Include <libc-lock.h> instead of
30191         <bits/libc-lock.h>.
30192         * dirent/scandir-tail.c: Likewise.
30193         * dlfcn/dlerror.c: Likewise.
30194         * elf/dl-close.c: Likewise.
30195         * elf/dl-iteratephdr.c: Likewise.
30196         * elf/dl-lookup.c: Likewise.
30197         * elf/dl-open.c: Likewise.
30198         * elf/dl-support.c: Likewise.
30199         * elf/dl-writev.h: Likewise.
30200         * elf/rtld.c: Likewise.
30201         * grp/fgetgrent.c: Likewise.
30202         * gshadow/fgetsgent.c: Likewise.
30203         * gshadow/sgetsgent.c: Likewise.
30204         * iconv/gconv_conf.c: Likewise.
30205         * iconv/gconv_db.c: Likewise.
30206         * iconv/gconv_dl.c: Likewise.
30207         * iconv/gconv_int.h: Likewise.
30208         * iconv/gconv_trans.c: Likewise.
30209         * include/link.h: Likewise.
30210         * inet/getnameinfo.c: Likewise.
30211         * inet/getnetgrent.c: Likewise.
30212         * inet/getnetgrent_r.c: Likewise.
30213         * intl/bindtextdom.c: Likewise.
30214         * intl/dcigettext.c: Likewise.
30215         * intl/finddomain.c: Likewise.
30216         * intl/gettextP.h: Likewise.
30217         * intl/loadmsgcat.c: Likewise.
30218         * intl/localealias.c: Likewise.
30219         * intl/textdomain.c: Likewise.
30220         * libidn/idn-stub.c: Likewise.
30221         * libio/libioP.h: Likewise.
30222         * locale/duplocale.c: Likewise.
30223         * locale/freelocale.c: Likewise.
30224         * locale/newlocale.c: Likewise.
30225         * locale/setlocale.c: Likewise.
30226         * login/getutent_r.c: Likewise.
30227         * login/getutid_r.c: Likewise.
30228         * login/getutline_r.c: Likewise.
30229         * login/utmp-private.h: Likewise.
30230         * login/utmpname.c: Likewise.
30231         * malloc/mtrace.c: Likewise.
30232         * misc/efgcvt.c: Likewise.
30233         * misc/error.c: Likewise.
30234         * misc/fstab.c: Likewise.
30235         * misc/getpass.c: Likewise.
30236         * misc/mntent.c: Likewise.
30237         * misc/syslog.c: Likewise.
30238         * nis/nis_call.c: Likewise.
30239         * nis/nis_callback.c: Likewise.
30240         * nis/nss-default.c: Likewise.
30241         * nis/nss_compat/compat-grp.c: Likewise.
30242         * nis/nss_compat/compat-initgroups.c: Likewise.
30243         * nis/nss_compat/compat-pwd.c: Likewise.
30244         * nis/nss_compat/compat-spwd.c: Likewise.
30245         * nis/nss_nis/nis-alias.c: Likewise.
30246         * nis/nss_nis/nis-ethers.c: Likewise.
30247         * nis/nss_nis/nis-grp.c: Likewise.
30248         * nis/nss_nis/nis-hosts.c: Likewise.
30249         * nis/nss_nis/nis-network.c: Likewise.
30250         * nis/nss_nis/nis-proto.c: Likewise.
30251         * nis/nss_nis/nis-pwd.c: Likewise.
30252         * nis/nss_nis/nis-rpc.c: Likewise.
30253         * nis/nss_nis/nis-service.c: Likewise.
30254         * nis/nss_nis/nis-spwd.c: Likewise.
30255         * nis/nss_nisplus/nisplus-alias.c: Likewise.
30256         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
30257         * nis/nss_nisplus/nisplus-grp.c: Likewise.
30258         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
30259         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
30260         * nis/nss_nisplus/nisplus-network.c: Likewise.
30261         * nis/nss_nisplus/nisplus-proto.c: Likewise.
30262         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
30263         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
30264         * nis/nss_nisplus/nisplus-service.c: Likewise.
30265         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
30266         * nis/ypclnt.c: Likewise.
30267         * nptl/libc_pthread_init.c: Likewise.
30268         * nss/getXXbyYY.c: Likewise.
30269         * nss/getXXent.c: Likewise.
30270         * nss/getXXent_r.c: Likewise.
30271         * nss/nss_db/db-XXX.c: Likewise.
30272         * nss/nss_db/db-netgrp.c: Likewise.
30273         * nss/nss_db/nss_db.h: Likewise.
30274         * nss/nss_files/files-XXX.c: Likewise.
30275         * nss/nss_files/files-alias.c: Likewise.
30276         * nss/nsswitch.c: Likewise.
30277         * posix/regex_internal.h: Likewise.
30278         * posix/wordexp.c: Likewise.
30279         * pwd/fgetpwent.c: Likewise.
30280         * resolv/res_hconf.c: Likewise.
30281         * resolv/res_libc.c: Likewise.
30282         * shadow/fgetspent.c: Likewise.
30283         * shadow/lckpwdf.c: Likewise.
30284         * shadow/sgetspent.c: Likewise.
30285         * socket/opensock.c: Likewise.
30286         * stdio-common/reg-modifier.c: Likewise.
30287         * stdio-common/reg-printf.c: Likewise.
30288         * stdio-common/reg-type.c: Likewise.
30289         * stdio-common/vfprintf.c: Likewise.
30290         * stdio-common/vfscanf.c: Likewise.
30291         * stdlib/abort.c: Likewise.
30292         * stdlib/cxa_atexit.c: Likewise.
30293         * stdlib/fmtmsg.c: Likewise.
30294         * stdlib/random.c: Likewise.
30295         * stdlib/setenv.c: Likewise.
30296         * string/strsignal.c: Likewise.
30297         * sunrpc/auth_none.c: Likewise.
30298         * sunrpc/bindrsvprt.c: Likewise.
30299         * sunrpc/create_xid.c: Likewise.
30300         * sunrpc/key_call.c: Likewise.
30301         * sunrpc/rpc_thread.c: Likewise.
30302         * sysdeps/arm/backtrace.c: Likewise.
30303         * sysdeps/generic/ldsodefs.h: Likewise.
30304         * sysdeps/generic/stdio-lock.h: Likewise.
30305         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
30306         * sysdeps/i386/backtrace.c: Likewise.
30307         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30308         * sysdeps/m68k/backtrace.c: Likewise.
30309         * sysdeps/mach/hurd/cthreads.c: Likewise.
30310         * sysdeps/mach/hurd/dirstream.h: Likewise.
30311         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
30312         * sysdeps/nptl/malloc-machine.h: Likewise.
30313         * sysdeps/nptl/stdio-lock.h: Likewise.
30314         * sysdeps/posix/dirstream.h: Likewise.
30315         * sysdeps/posix/getaddrinfo.c: Likewise.
30316         * sysdeps/posix/system.c: Likewise.
30317         * sysdeps/pthread/aio_suspend.c: Likewise.
30318         * sysdeps/s390/s390-32/backtrace.c: Likewise.
30319         * sysdeps/s390/s390-64/backtrace.c: Likewise.
30320         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30321         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30322         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
30323         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
30324         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
30325         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
30326         * sysdeps/unix/sysv/linux/system.c: Likewise.
30327         * sysdeps/x86_64/backtrace.c: Likewise.
30328         * time/alt_digit.c: Likewise.
30329         * time/era.c: Likewise.
30330         * time/tzset.c: Likewise.
30331         * wcsmbs/wcsmbsload.c: Likewise.
30332         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
30333         instead of <bits/libc-lock.h> in comment.
30335 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
30337         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
30338         Only use .set mips2 if the current ISA is below mips2.
30339         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
30340         Likewise.
30341         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
30342         mips32r2 if the current ISA is below mips32r2.
30343         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
30344         (TLS_IE): Updated to use the TLD_RDHWR macro.
30345         (TLS_LE): Likewise.
30346         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
30347         __ASSEMBLER__ condition.
30349 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30351         Fix parallel build of before-compile targets.
30353         * sysdeps/mach/Makefile ($(patsubst
30354         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
30355         mach-before-compile target.
30356         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30357         io fs process)): Move rule to dedicated hurd-before-compile target.
30359 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30361         Fix rules generating headers in hurd/ and mach/ when initial make call
30362         has subdir= explicitly set.
30364         * sysdeps/mach/Makefile ($(patsubst
30365         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
30366         calling $(MAKE).
30367         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30368         io fs process)): Force subdir to hurd when calling $(MAKE).
30369         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
30370         subdir to mach when calling $(MAKE).
30372 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
30374         Check sysheaders when looking for Mach and Hurd headers
30376         * sysdeps/mach/configure.ac: Add sysheaders check.
30377         * sysdeps/mach/configure: Regenerate.
30378         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
30379         * sysdeps/mach/hurd/configure: Regenerate.
30381 2015-09-04  Roland McGrath  <roland@hack.frob.com>
30383         [BZ #18921]
30384         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
30385         Fix inverted sense of test of 'o_directory_works' value.
30386         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
30387         Bernhard Voelker <mail@bernhard-voelker.de>.
30389 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
30391         [BZ #14912]
30392         * bits/linkmap.h: Move to ...
30393         * sysdeps/generic/linkmap.h: ...here.
30394         * sysdeps/aarch64/bits/linkmap.h: Move to ...
30395         * sysdeps/aarch64/linkmap.h: ...here.
30396         * sysdeps/arm/bits/linkmap.h: Move to ...
30397         * sysdeps/arm/linkmap.h: ...here.
30398         * sysdeps/hppa/bits/linkmap.h: Move to ...
30399         * sysdeps/hppa/linkmap.h: ...here.
30400         * sysdeps/ia64/bits/linkmap.h: Move to ...
30401         * sysdeps/ia64/linkmap.h: ...here.
30402         * sysdeps/mips/bits/linkmap.h: Move to ...
30403         * sysdeps/mips/linkmap.h: ...here.
30404         * sysdeps/s390/bits/linkmap.h: Move to ...
30405         * sysdeps/s390/linkmap.h: ...here.
30406         * sysdeps/sh/bits/linkmap.h: Move to ...
30407         * sysdeps/sh/linkmap.h: ...here.
30408         * sysdeps/x86/bits/linkmap.h: Move to ...
30409         * sysdeps/x86/linkmap.h: ...here.
30410         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
30412 2015-09-04  Andreas Schwab  <schwab@suse.de>
30414         [BZ #18635]
30415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
30416         (__makecontext): Terminate FDE before return label.
30417         (__novec_makecontext): Likewise.
30419 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30421         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
30422         first member of struct sv in syscall macro.
30424 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
30426         [BZ #14912]
30427         * bits/stdio-lock.h: Move to ...
30428         * sysdeps/generic/stdio-lock.h: ...here.
30429         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30430         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
30431         * sysdeps/nptl/stdio-lock.h: ...here.
30432         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30433         * include/libio.h: Include <stdio-lock.h> instead of
30434         <bits/stdio-lock.h>.
30435         * sysdeps/nptl/fork.c: Likewise.
30436         * sysdeps/pthread/flockfile.c: Likewise.
30437         * sysdeps/pthread/ftrylockfile.c: Likewise.
30438         * sysdeps/pthread/funlockfile.c: Likewise.
30440         [BZ #14912]
30441         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
30442         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
30443         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
30444         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
30445         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
30446         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30447         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
30449 2015-09-03  Roland McGrath  <roland@hack.frob.com>
30451         * elf/Makefile (test-xfail-tst-protected1a): New variable.
30452         (test-xfail-tst-protected1b): New variable.
30454 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
30456         [BZ #14912]
30457         * bits/libc-tsd.h: Move to ...
30458         * sysdeps/generic/libc-tsd.h: ...here.
30459         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
30460         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
30461         * sysdeps/mach/hurd/libc-tsd.h: ...here.
30462         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
30463         * include/ctype.h: Include <libc-tsd.h> instead of
30464         <bits/libc-tsd.h>.
30465         * include/rpc/rpc.h: Likewise.
30466         * locale/localeinfo.h: Likewise.
30467         * sunrpc/rpc_thread.c: Likewise.
30468         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
30469         * sysdeps/nptl/malloc-machine.h: Likewise.
30471         * Makefile (headers): Remove bits/libc-lock.h.
30472         * libio/Makefile (headers): Remove bits/stdio-lock.h.
30474         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
30475         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
30476         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
30477         <bits/stdio-lock.h>.
30478         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
30479         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
30481 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
30483         [BZ #18757]
30484         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
30485         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
30486         BZ #18757.
30488 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
30490         * malloc/mtrace.pl: Filter out NULL entries.
30492 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
30494         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
30495         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
30496         macro.
30498         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
30499         (TCP_CC_INFO): Likewise.
30500         (TCP_SAVE_SYN): Likewise.
30501         (TCP_SAVED_SYN): Likewise.
30503 2015-08-31  Brett Neumeier <brett@neumeier.us>
30505         [BZ #18870]
30506         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
30508 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
30510         [BZ #18873]
30511         Fix broken overflow check in posix_fallocate
30512         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
30513         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30514         Fix parenthesization typo.
30516 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
30518         [BZ #18887]
30519         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
30520         tst-mntent-blank-passno.
30521         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
30522         * misc/tst-mntent-blank-corrupt.c: New test.
30523         * misc/tst-mntent-blank-passno.c: New test ripped from ...
30524         * misc/tst-mntent.c (do_test): ... here.
30526 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
30528         [BZ #4404]
30529         * po/de.po: Fix SIGALRM typo.
30531 2015-08-28  James Perkins  <james@loowit.net>
30533         * time/tst-strptime2.c (tests): Replace short list of test
30534         strings for strptime %z specifier with code which exhaustively
30535         tests every combination of sign and 0 to 5 digits. Tests for
30536         rejection of invalid strings.
30538 2015-08-28  James Perkins  <james@loowit.net>
30540         [BZ #16141]
30541         * time/strptime_l.c (__strptime_internal): Fix %z minutes
30542         calculation, removing incorrect decimal time rounding, so that
30543         all minute values result in a valid seconds value.
30544         * time/strptime_l.c (__strptime_internal): Extend %z time zone
30545         offset range limits to UTC-99:59 through UTC+99:59 to parse
30546         current and historical use cases.
30547         * time/tst-strptime2.c (tests): Modify and add tests for the
30548         strptime %z input field descriptor, specifically conversion of
30549         minutes to seconds and validating an offset range of -9959 to
30550         +9959.
30552 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30553             Dmitry V. Levin  <ldv@altlinux.org>
30555         [BZ #18877]
30556         * posix/Makefile (tests): Add tst-mmap-offset.
30557         * posix/tst-mmap.c: New file.
30558         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
30559         offset calculation for negative values.
30561 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30563         * sysdeps/i386/init-arch.h: New file.
30564         * sysdeps/i386/i586/init-arch.h: Likewise.
30565         * sysdeps/i386/i686/init-arch.h: Likewise.
30566         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
30567         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
30568         * sysdeps/x86/cpu-features.h (bit_I586): New.
30569         (bit_I686): Likewise.
30570         (bit_CX8): Likewise.
30571         (bit_CMOV): Likewise.
30572         (index_CX8): Likewise.
30573         (index_CMOV): Likewise.
30574         (index_I586): Likewise.
30575         (index_I686): Likewise.
30576         (reg_CX8): Likewise.
30577         (reg_CMOV): Likewise.
30578         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
30579         available at compile-time.
30580         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
30581         available at compile-time.
30582         * sysdeps/x86/init-arch.h (USE_I586): New macro.
30583         (USE_I686): Likewise.
30585 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30587         * sysdeps/i386/bcopy.S: New file.
30588         * sysdeps/i386/bzero.S: Likewise.
30589         * sysdeps/i386/memcpy.S: Likewise.
30590         * sysdeps/i386/memmove.S: Likewise.
30591         * sysdeps/i386/mempcpy.S: Likewise.
30592         * sysdeps/i386/memset.S: Likewise.
30593         * sysdeps/i386/bzero.c: Removed.
30594         * sysdeps/i386/memset.c: Likewise.
30595         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
30596         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
30597         * sysdeps/i386/i586/memset_chk.S: Likewise.
30598         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
30599         * sysdeps/i386/memcpy_chk.S: Here.
30600         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
30601         * sysdeps/i386/memmove_chk.S: Here.
30602         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
30603         * sysdeps/i386/mempcpy_chk.S: Likewise.
30604         * sysdeps/i386/i686/memset_chk.S: Moved to ...
30605         * sysdeps/i386/memset_chk.S: Likewise.
30607 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
30609         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
30610         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
30611         file, move DIAG_POP_NEEDS_COMMENT to end of file.
30612         * soft-fp/fmadf4.c: Ditto.
30613         * soft-fp/fmatf4.c: Ditto.
30615 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30617         * sysdeps/i386/i586/Implies: Removed.
30618         * sysdeps/i386/i686/Implies: Likewise.
30620 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30622         * sysdeps/i386/i486/strlen.S: Moved to ...
30623         * sysdeps/i386/strlen.S: Here.
30625 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30627         * sysdeps/i386/i486/strcat.S: Moved to ...
30628         * sysdeps/i386/strcat.S: Here.
30630 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30632         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
30633         * sysdeps/i386/pthread_spin_trylock.S: Here.
30634         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
30635         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
30637 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30639         * sysdeps/i386/i486/string-inlines.c: Moved to ...
30640         * sysdeps/i386/string-inlines.c: Here.
30642 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30644         * sysdeps/i386/i486/htonl.S: Moved ...
30645         * sysdeps/i386/htonl.S: here.
30647 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30649         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
30650         * sysdeps/i386/bits/atomic.h: Here.
30652 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30654         * sysdeps/i386/i486/Versions: Removed.
30656 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30658         [BZ #2898]
30659         * misc/mktemp.c: Add mkdtemp to the link_warning message.
30660         Based on patch by Aurelien Jarno.
30662 2015-08-26  Stan Shebs  <stanshebs@google.com>
30664         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
30665         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30667 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30669         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
30670         * sysdeps/powerpc/dl-procinfo.c:
30671         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
30672         feature so it shows when LD_SHOW_AUXV=1.
30674 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
30676         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
30677         (__arch_compare_and_exchange_val_32_acq): Remove and use common
30678         definition.  ISA 2.07B no longer requires full sync.
30680 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
30682         [BZ #18863]
30683         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
30684         (si_call_addr): Define.
30685         (si_syscall): Define.
30686         (si_arch): Define.
30688 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
30690         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
30691         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
30692         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
30693         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30694         (__memset_zero_constant_len_parameter): New.
30695         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
30696         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30697         (__memset_zero_constant_len_parameter): Don't define if
30698         __memset_chk or USE_AS_BZERO are defined.
30700         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
30701         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
30702         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
30704         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
30705         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
30706         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
30707         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
30708         comments.
30709         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
30710         -mno-mmx for $(all-rtld-routines).
30711         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
30712         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
30713         i386.
30715 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30717         * sysdeps/generic/unwind.h
30718         (_Unwind_Word): Use __mode__(__unwind_word__)
30719         instead of __mode__(__word__).
30720         (_Unwind_Sword): Likewise.
30722         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30723         (MAX_NEEDED_INPUT): New define.
30724         (MAX_NEEDED_OUTPUT): New define.
30726         * NEWS: New item for IBM z13 string optimizations.
30728         * sysdeps/s390/multiarch/memrchr-c.c: New File.
30729         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
30730         * sysdeps/s390/multiarch/memrchr.c: Likewise.
30731         * sysdeps/s390/multiarch/Makefile
30732         (sysdep_routines): Add memrchr functions.
30733         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30734         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
30736         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
30737         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
30738         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
30739         * sysdeps/s390/multiarch/Makefile
30740         (sysdep_routines): Add wmemcmp functions.
30741         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30742         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
30743         * benchtests/bench-wmemcmp.c: New File.
30744         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
30746         * sysdeps/s390/multiarch/wmemset-c.c: New File.
30747         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
30748         * sysdeps/s390/multiarch/wmemset.c: Likewise.
30749         * sysdeps/s390/multiarch/Makefile
30750         (sysdep_routines): Add wmemset functions.
30751         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30752         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
30753         * wcsmbs/wmemset.c: Use WMEMSET if defined.
30754         * string/test-memset.c: Add wmemset support.
30755         * wcsmbs/test-wmemset.c: New File.
30756         * wcsmbs/Makefile (strop-tests): Add wmemset.
30757         * benchtests/bench-memset.c: Add wmemset support.
30758         * benchtests/bench-wmemset.c: New File.
30759         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
30761         * sysdeps/s390/multiarch/memccpy-c.c: New File.
30762         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
30763         * sysdeps/s390/multiarch/memccpy.c: Likewise.
30764         * sysdeps/s390/multiarch/Makefile
30765         (sysdep_routines): Add memccpy functions.
30766         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30767         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
30768         * string/memccpy.c: Use MEMCCPY if defined.
30770         * sysdeps/s390/multiarch/memchr-vx.S: New File.
30771         * sysdeps/s390/multiarch/memchr.c: Likewise.
30772         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
30773         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
30774         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
30775         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
30776         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
30777         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
30778         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
30779         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
30780         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
30781         and rawmemchr functions.
30782         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30783         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
30784         and wmemchr.
30785         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
30786         * string/test-memchr.c: Add wmemchr support.
30787         * wcsmbs/test-wmemchr.c: New File.
30788         * wcsmbs/Makefile (strop-tests): Add wmemchr.
30789         * benchtests/bench-memchr.c: Add wmemchr support.
30790         * benchtests/bench-wmemchr.c: New File.
30791         * benchtests/Makefile (wcsmbs-bench): wmemchr.
30793         * sysdeps/s390/multiarch/strcspn-c.c: New File.
30794         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
30795         * sysdeps/s390/multiarch/strcspn.c: Likewise.
30796         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
30797         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
30798         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
30799         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
30800         wcscspn functions.
30801         * sysdeps/s390/multiarch/ifunc-impl-list.c
30802         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
30803         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
30804         * string/test-strcspn.c: Add wcscspn support.
30805         * wcsmbs/test-wcscspn.c: New File.
30806         * wcsmbs/Makefile (strop-tests): Add wcscspn.
30807         * benchtests/bench-strcspn.c: Add wcscspn support.
30808         * benchtests/bench-wcscspn.c: New File.
30809         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
30811         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
30812         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
30813         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
30814         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
30815         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
30816         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
30817         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
30818         wcspbrk functions.
30819         * sysdeps/s390/multiarch/ifunc-impl-list.c
30820         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
30821         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
30822         * string/test-strpbrk.c: Add wcspbrk support.
30823         * wcsmbs/test-wcspbrk.c: New File.
30824         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
30825         * benchtests/bench-strpbrk.c: Add wcspbrk support.
30826         * benchtests/bench-wcspbrk.c: New File.
30827         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
30829         * sysdeps/s390/multiarch/strspn-c.c: New File.
30830         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
30831         * sysdeps/s390/multiarch/strspn.c: Likewise.
30832         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
30833         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
30834         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
30835         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
30836         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
30837         wcsspn functions.
30838         * sysdeps/s390/multiarch/ifunc-impl-list.c
30839         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
30840         * string/test-strspn.c: Add wcsspn support.
30841         * wcsmbs/test-wcsspn.c: New File.
30842         * wcsmbs/Makefile (strop-tests): Add wcsspn.
30843         * benchtests/bench-strspn.c: Add wcsspn support.
30844         * benchtests/bench-wcsspn.c: New File.
30845         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
30847         * sysdeps/s390/multiarch/strrchr-c.c: New File.
30848         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
30849         * sysdeps/s390/multiarch/strrchr.c: Likewise.
30850         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
30851         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
30852         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
30853         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
30854         wcsrchr functions.
30855         * sysdeps/s390/multiarch/ifunc-impl-list.c
30856         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
30857         * benchtests/bench-wcsrchr.c: New File.
30858         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
30860         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
30861         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
30862         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
30863         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
30864         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
30865         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
30866         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
30867         wcschrnul functions.
30868         * sysdeps/s390/multiarch/ifunc-impl-list.c
30869         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
30870         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
30871         * string/test-strchr.c: Add wcschrnul support.
30872         * wcsmbs/test-wcschrnul.c: New File.
30873         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
30874         * benchtests/bench-strchr.c: Add wcschrnul support.
30875         * benchtests/bench-wcschrnul.c: New File.
30876         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
30878         * sysdeps/s390/multiarch/strchr-c.c: New File.
30879         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
30880         * sysdeps/s390/multiarch/strchr.c: Likewise.
30881         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
30882         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
30883         * sysdeps/s390/multiarch/wcschr.c: Likewise.
30884         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
30885         wcschr functions.
30886         * sysdeps/s390/multiarch/ifunc-impl-list.c
30887         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
30888         * string/strchr.c (STRCHR): Define and use macro.
30889         * benchtests/bench-wcschr.c: New File.
30890         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
30892         * sysdeps/s390/multiarch/strncmp-c.c: New File.
30893         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
30894         * sysdeps/s390/multiarch/strncmp.c: Likewise.
30895         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
30896         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
30897         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
30898         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
30899         wcsncmp functions.
30900         * sysdeps/s390/multiarch/ifunc-impl-list.c
30901         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
30902         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
30903         * benchtests/bench-strncmp.c: Add wcsncmp support.
30904         * benchtests/bench-wcsncmp.c: New File.
30905         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
30907         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
30908         * sysdeps/s390/multiarch/strcmp.c: Likewise.
30909         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
30910         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
30911         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
30912         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
30913         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
30914         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
30915         wcscmp functions.
30916         * sysdeps/s390/multiarch/ifunc-impl-list.c
30917         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
30918         * string/strcmp.c (STRCMP): Define and use macro.
30919         * benchtests/bench-wcscmp.c: New File.
30920         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
30921         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
30922         instead of _HAVE_STRING_ARCH_memchr.
30924         * sysdeps/s390/multiarch/strncat-c.c: New File.
30925         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
30926         * sysdeps/s390/multiarch/strncat.c: Likewise.
30927         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
30928         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
30929         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
30930         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
30931         wcsncat functions.
30932         * sysdeps/s390/multiarch/ifunc-impl-list.c
30933         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
30934         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
30935         * string/test-strncat.c: Add wcsncat support.
30936         * wcsmbs/test-wcsncat.c: New File.
30937         * wcsmbs/Makefile (strop-tests): Add wcsncat.
30938         * benchtests/bench-strncat.c: Add wcsncat support.
30939         * benchtests/bench-wcsncat.c: New File.
30940         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
30942         * sysdeps/s390/multiarch/strcat-c.c: New File.
30943         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
30944         * sysdeps/s390/multiarch/strcat.c: Likewise.
30945         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
30946         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
30947         * sysdeps/s390/multiarch/wcscat.c: Likewise.
30948         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
30949         wcscat functions.
30950         * sysdeps/s390/multiarch/ifunc-impl-list.c
30951         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
30952         * string/strcat.c (STRCAT): Define and use macro.
30953         * wcsmbs/wcscat.c: Use WCSCAT if defined.
30954         * string/test-strcat.c: Add wcscat support.
30955         * wcsmbs/test-wcscat.c: New File.
30956         * wcsmbs/Makefile (strop-tests): Add wcscat.
30957         * benchtests/bench-strcat.c: Add wcscat support.
30958         * benchtests/bench-wcscat.c: New File.
30959         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
30961         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
30962         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
30963         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
30964         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
30965         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
30966         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
30967         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
30968         wcpncpy functions.
30969         * sysdeps/s390/multiarch/ifunc-impl-list.c
30970         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
30971         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
30972         * string/test-stpncpy.c: Add wcpncpy support.
30973         * wcsmbs/test-wcpncpy.c: New File.
30974         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
30975         * benchtests/bench-stpncpy.c: Add wcpncpy support.
30976         * benchtests/bench-wcpncpy.c: New File.
30977         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
30979         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
30980         * sysdeps/s390/multiarch/strncpy.c: Likewise.
30981         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
30982         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
30983         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
30984         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
30985         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
30986         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
30987         wcsncpy functions.
30988         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
30989         * sysdeps/s390/multiarch/ifunc-impl-list.c
30990         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
30991         * string/test-strncpy.c: Add wcsncpy support.
30992         * wcsmbs/test-wcsncpy.c: New File.
30993         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
30994         * benchtests/bench-strncpy.c: Add wcsncpy support.
30995         * benchtests/bench-wcsncpy.c: New File.
30996         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
30998         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
30999         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
31000         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
31001         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
31002         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
31003         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
31004         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
31005         wcpcpy functions.
31006         * string/stpcpy.c: Use STPCPY if defined.
31007         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
31008         * sysdeps/s390/multiarch/ifunc-impl-list.c
31009         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
31010         * string/test-stpcpy.c: Add wcpcpy support.
31011         * wcsmbs/test-wcpcpy.c: New File.
31012         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
31013         * benchtests/bench-stpcpy.c: Add wcpcpy support.
31014         * benchtests/bench-wcpcpy.c: New File.
31015         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
31017         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
31018         * sysdeps/s390/multiarch/strcpy.c: Likewise.
31019         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
31020         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
31021         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
31022         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
31023         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
31024         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
31025         wcscpy functions.
31026         * sysdeps/s390/multiarch/ifunc-impl-list.c
31027         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
31028         * benchtests/bench-wcscpy.c: New File.
31029         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
31031         * sysdeps/s390/multiarch/strnlen-c.c: New File.
31032         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
31033         * sysdeps/s390/multiarch/strnlen.c: Likewise.
31034         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
31035         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
31036         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
31037         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
31038         wcsnlen functions.
31039         * sysdeps/s390/multiarch/ifunc-impl-list.c
31040         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
31041         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
31042         * string/test-strnlen.c: Add wcsnlen support.
31043         * wcsmbs/test-wcsnlen.c: New File.
31044         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
31045         * benchtests/bench-strnlen.c: Add wcsnlen support.
31046         * benchtests/bench-wcsnlen.c: New File.
31047         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
31049         * sysdeps/s390/multiarch/Makefile: New File.
31050         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
31051         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
31052         * sysdeps/s390/multiarch/strlen.c: Likewise.
31053         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
31054         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
31055         * sysdeps/s390/multiarch/wcslen.c: Likewise.
31056         * string/strlen.c (STRLEN): Define and use macro.
31057         * sysdeps/s390/multiarch/ifunc-impl-list.c
31058         (IFUNC_VX_IMPL): New macro function.
31059         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
31060         * benchtests/Makefile (wcsmbs-bench): New variable.
31061         (string-bench-all): Added wcsmbs-bench.
31062         * benchtests/bench-wcslen.c: New File.
31064         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
31065         s390_vx_libc_ifunc2): New macro function.
31067         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
31068         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
31069         assembler support.
31070         * sysdeps/s390/configure: Regenerated.
31072         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
31073         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31075         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
31076         * sysdeps/s390/dl-procinfo.h: Add vector capability.
31077         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
31079         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
31080         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
31081         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
31082         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
31083         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
31084         (memcmp, bcmp): Use __memcmp_default as alias source.
31085         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
31086         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
31087         Rename to __memcmp_default.
31088         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
31089         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
31090         (memcpy): Use __memcpy_default as alias source.
31091         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
31092         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
31093         Rename to __memcpy_default.
31094         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
31095         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
31096         (memset): Use __memset_default as alias source.
31097         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
31098         * sysdeps/s390/s390-32/memset.S (__memset_g5):
31099         Rename to __memset_default.
31100         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
31101         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
31102         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
31103         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
31104         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
31105         (memcmp, bcmp): Use __memcmp_default as alias source.
31106         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
31107         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
31108         Rename to __memcmp_default.
31109         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
31110         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
31111         (memcpy): Use __memcpy_default as alias source.
31112         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
31113         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
31114         Rename to __memcpy_default.
31115         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
31116         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
31117         (memset): Use __memset_default as alias source.
31118         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
31119         * sysdeps/s390/s390-64/memset.S (__memset_z900):
31120         Rename to __memset_default.
31121         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
31122         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
31124         [BZ #18610]
31125         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
31126         __ieee_instruction_pointer to __unused.
31127         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
31128         __ieee_instruction_pointer.
31129         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
31130         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
31131         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31132         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31133         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
31134         Mark dxc-field as reserved.
31136 2015-08-25  Roland McGrath  <roland@hack.frob.com>
31138         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
31139         if the weak reference is not null.
31141 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31143         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
31145         [BZ #11214]
31146         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
31148 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31150         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
31151         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
31152         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
31153         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
31154         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
31155         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
31156         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
31157         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
31158         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
31159         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
31160         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
31161         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
31162         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
31163         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
31164         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
31165         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
31166         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
31167         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
31169 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
31171         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
31172         register other than r0 for tabort, it has special meaning.
31173         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
31174         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
31175         transaction before starting syscall.
31177 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31179         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
31181 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31183         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
31185         * sysdeps/x86_64/rtld-memcmp.c: Removed.
31186         * sysdeps/x86_64/rtld-memset.S: Likewise.
31187         * sysdeps/x86_64/rtld-strchr.S: Likewise.
31188         * sysdeps/x86_64/rtld-strlen.S: Likewise.
31189         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
31190         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31192         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
31194 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
31196         * debug/strcpy_chk.c: Improve performance.
31197         * debug/stpcpy_chk.c: Likewise.
31198         * sysdeps/x86_64/strcpy_chk.S: Remove.
31199         * sysdeps/x86_64/stpcpy_chk.S: Remove.
31201         [BZ #18240]
31202         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
31204 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31206         [BZ #15128]
31207         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
31208         ifuncmain8.
31209         (modules-names): Add ifuncmod8.
31210         ($(objpfx)ifuncmain8): New rule.
31211         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
31212         <cpuid.h>.
31213         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
31214         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
31215         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
31216         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
31217         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
31218         * sysdeps/x86_64/dl-trampoline.h: Likewise.
31219         * sysdeps/x86_64/ifuncmain8.c: New file.
31220         * sysdeps/x86_64/ifuncmod8.c: Likewise.
31221         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
31222         Removed.
31223         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
31224         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
31225         Change rtld_savespace_sse to __glibc_unused2.
31226         (RTLD_CHECK_FOREIGN_CALL): Removed.
31227         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
31228         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
31229         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
31231 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
31233         * sysdeps/aarch64/bzero.S (__bzero): Remove.
31235 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
31237         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
31238         Unconditionally set __fpcr to avoid uninialized warning.
31239         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
31241 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31243         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
31244         is corrupt.
31246         * malloc/arena.c (arena_get2): Drop unused argument.
31247         (arena_lock): Adjust.
31248         (arena_get_retry): Likewise.
31250 2015-08-24  Andreas Schwab  <schwab@suse.de>
31252         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
31253         Don't define.
31254         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
31255         (__ASSUME_IPC64): Don't undef.
31256         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
31257         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31258         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31259         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
31260         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
31261         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
31262         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
31263         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
31264         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
31265         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
31266         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
31267         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
31268         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
31269         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
31270         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
31271         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
31272         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
31273         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
31274         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
31275         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
31276         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
31278 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
31280         * manual/Makefile (install): Only build manual when perl is available.
31282 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31284         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
31285         '#undef memcpy' by '#undef memchr'.
31287 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31289         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
31290         memchr not point to the internal __GI_memchr implementation.
31292 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
31294         * timezone/Makefile (CFLAGS-zdump.c): Remove
31295         -Wno-strict-prototypes.
31296         (CFLAGS-zic.c): Likewise.
31297         (CFLAGS-ialloc.c): Likewise.
31298         (CFLAGS-scheck.c): Likewise.
31300         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
31301         -Wno-error=undef.
31303 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31305         * i386/i686/multiarch/strcasestr-c.c: Removed.
31306         * x86_64/multiarch/strcasestr.c: Likewise.
31307         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31308         Remove strcasestr.
31310 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
31312         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
31314         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
31315         variables for high and low parts before possibly modifying them.
31317 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31319         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
31320         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
31321         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
31322         of "multiarch/init-arch.h".
31323         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
31324         * sysdeps/x86/init-arch.h: This.
31326 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31328         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
31329         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
31331 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
31333         [BZ #17787]
31334         * manual/macros.texi: Add twoexp macro.
31335         * manual/filesys.texi: Fix exponents.
31336         * manual/llio.texi: Likewise.
31337         * manual/stdio.texi: Likewise.
31339 2015-08-20  Florian Weimer  <fweimer@redhat.com>
31341         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
31342         incorrect use.
31344 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
31346         [BZ #18370]
31347         * math/s_csqrt.c (__csqrt): Force underflow exception for results
31348         whose real or imaginary part has small absolute value.
31349         * math/s_csqrtf.c (__csqrtf): Likewise.
31350         * math/s_csqrtl.c (__csqrtl): Likewise.
31351         * math/auto-libm-test-in: Add more tests of csqrt.
31352         * math/auto-libm-test-out: Regenerated.
31353         * sysdeps/i386/fpu/libm-test-ulps: Update.
31355 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
31357         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
31358         __ppc_set_ppr_very_low): New functions.
31359         * manual/platform.texi: Add documentation about
31360         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
31362 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
31364         * string/stpncpy.c (stpncpy): Improve performance using
31365         __strnlen/memcpy/memset.
31367 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
31369         [BZ #18796]
31370         * scripts/test-installation.pl: Don't add -lmvec to build options if
31371         libmvec wasn't built.
31373 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
31375         [BZ #14341]
31376         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
31377         case when there is a gap between DT_REL and DT_JMPREL sections.
31378         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
31379         (LDFLAGS-tst-split-dynreloc): New.
31380         (tst-split-dynreloc-ENV): Likewise.
31381         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
31382         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
31384 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31386         [BZ #18822]
31387         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
31388         attribute_hidden.
31389         (__xstat64_conv): Likewise.
31390         (__xstat32_conv): Likewise.
31392 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31394         [BZ #18822]
31395         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
31396         Don't load %ebx when calling __setcontext.  Call __setcontext
31397         with HIDDEN_JUMPTARGET.
31398         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
31399         libc_hidden_def.
31401 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31403         * sysdeps/i386/i686/Makefile
31404         [$(subdir) == string] (sysdep_routines): Moved to ...
31405         * sysdeps/i386/Makefile: Here.
31406         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
31407         * sysdeps/i386/cacheinfo.c: Here.
31408         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
31409         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
31410         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
31411         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
31413 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31415         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
31416         __i586__ is defined.
31417         (HAS_I686): Defined to 1 if __i686__ is defined.
31419 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
31421         * elf/Makefile [$(have-z-execstack) = yes]
31422         (CPPFLAGS-tst-execstack.c): New variable.
31424         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
31425         conditional to [defined UTMPX || _HAVE_UT_TYPE].
31426         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
31427         UTMPX || _HAVE_UT_TV].
31428         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
31429         UTMPX || _HAVE_UT_TV - 0].
31431 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
31433         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
31434         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
31435         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
31437 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31439         * sysdeps/powerpc/dl-procinfo.c:
31440         (_dl_powerpc_cap_flags): Added missing strings for some
31441         hwcap features.
31442         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
31444 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
31446         Port the 0x7efe...feff pattern to GCC 6.
31447         See Steve Ellcey's bug report in:
31448         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
31449         * string/memrchr.c (MEMRCHR):
31450         * string/rawmemchr.c (RAWMEMCHR):
31451         * string/strchr.c (strchr):
31452         * string/strchrnul.c (STRCHRNUL):
31453         Rewrite code to avoid issues with signed shift overflow.
31455 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
31457         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
31458         whether cpuid is available only if HAS_CPUID is 0.
31459         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
31460         (HAS_I586): Likewise.
31461         (HAS_I686): Likewise.
31463 2015-08-18  Zack Weinberg  <zackw@panix.com>
31465         * misc/Versions (libc): Add GLIBC_2.23.
31467 2015-08-18  Alan Modra  <amodra@gmail.com>
31469         [BZ #18421]
31470         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
31471         .Lp__global.
31472         (_start): Load %dp via .Lp__global.
31473         [!SHARED]: Use .section .rodata.
31475 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31477         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
31478         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
31480 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31482         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
31483         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
31485 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31487         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
31488         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
31490 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31492         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
31493         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
31495 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31497         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
31498         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
31500 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31502         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
31503         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
31505 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31507         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
31509 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31511         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
31512         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
31513         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31514         (__ASSUME_LWS_CAS): Delete.
31516 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31518         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
31519         * sysdeps/hppa/configure: Regenerated.
31520         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
31521         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
31522         * sysdeps/hppa/nptl/tls.h: Likewise.
31524 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
31526         [BZ #18823]
31527         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
31528         for scaling up small arguments.
31529         * math/s_csqrtf.c (__csqrtf): Likewise.
31530         * math/s_csqrtl.c (__csqrtl): Likewise.
31531         * math/auto-libm-test-in: Add more tests of csqrt.
31532         * math/auto-libm-test-out: Regenerated.
31534 2015-08-17  Andreas Schwab  <schwab@suse.de>
31536         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
31537         version set GLIBC_2.19.
31539 2015-08-16  Zack Weinberg  <zackw@panix.com>
31541         [BZ #18681]
31542         * misc/regexp.h: This interface is no longer supported.
31543         Remove all contents, leaving only an #error directive.
31544         * misc/regexp.c (loc1, loc2, locs, step, advance):
31545         Demote to compatibility symbols.
31547 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
31549         [BZ #18084]
31550         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
31551         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
31552         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
31553         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
31554         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
31555         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
31556         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
31557         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
31558         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
31560 2015-08-15  Zack Weinberg  <zackw@panix.com>
31562         [BZ #18795]
31563         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
31564         buffer length is known to be too large, not if it's known to be
31565         small enough.
31566         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
31567         overflow at runtime, involving a length parameter, twice: once
31568         with a compile-time constant length parameter, once without.
31570 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
31572         [BZ #18824]
31573         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
31574         scaling x * y up instead of down.
31575         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31576         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31577         * math/auto-libm-test-in: Add more tests of fma.
31578         * math/auto-libm-test-out: Regenerated.
31580 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
31582         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31584 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31586         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
31587         unnecessary movq.
31588         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
31589         Likewise.
31591 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
31593         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31594         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
31595         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
31596         and tgamma.
31597         * math/auto-libm-test-out: Regenerated.
31598         * sysdeps/i386/fpu/libm-test-ulps: Update.
31599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31601         [BZ #16520]
31602         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
31603         (__tanh): Force underflow exception for arguments with small
31604         absolute value.
31605         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
31606         (__tanhf): Force underflow exception for arguments with small
31607         absolute value.
31608         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
31609         (__tanhl): Force underflow exception for arguments with small
31610         absolute value.
31611         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
31612         (__tanhl): Force underflow exception for arguments with small
31613         absolute value.
31614         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
31615         (__tanhl): Force underflow exception for arguments with small
31616         absolute value.
31617         * math/auto-libm-test-in: Add more tests of tanh.
31618         * math/auto-libm-test-out: Regenerated.
31619         * sysdeps/i386/fpu/libm-test-ulps: Update.
31621 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31623         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
31624         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
31626 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31628         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
31629         <cpuid.h>.
31631 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31633         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
31634         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
31636 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31638         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
31639         Remove $(objpfx)init-arch.o.
31640         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
31641         init-arch.
31642         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
31643         (INIT_ARCH_EXT): Defined as empty.
31644         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
31645         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
31646         __init_cpu_features call.  Replace HAS_XXX with
31647         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31648         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
31649         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
31650         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
31651         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
31652         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
31653         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
31654         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
31655         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
31656         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
31657         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
31658         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
31659         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
31660         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
31661         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
31662         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
31663         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
31664         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
31665         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
31666         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
31667         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
31668         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
31669         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
31670         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
31671         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
31672         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
31673         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
31674         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
31675         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
31676         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
31677         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
31678         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
31679         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
31680         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
31681         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
31682         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
31684 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31686         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
31687         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31688         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31689         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31690         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
31691         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
31692         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
31693         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
31694         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
31695         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
31696         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
31697         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
31698         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31699         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31700         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31701         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31702         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31703         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31704         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31705         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31706         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31707         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31708         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31709         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31710         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31711         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31712         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31713         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31714         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31715         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31716         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31717         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31718         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31719         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31720         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31721         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31722         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31723         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31724         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31725         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31726         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31727         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31728         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31730 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31732         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
31733         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31734         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31735         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31736         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31737         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31738         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31739         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
31740         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31741         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31742         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31743         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
31744         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
31745         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
31746         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
31747         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
31748         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
31749         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
31750         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
31751         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
31752         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
31753         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
31754         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
31755         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31756         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31757         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
31758         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
31759         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
31760         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31761         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31762         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31763         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31764         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31765         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31766         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31767         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31768         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31769         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31770         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31771         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31772         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31773         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31774         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31776 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31778         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
31779         (dl_platform_init): Call init_cpu_features.
31780         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
31781         * sysdeps/i386/i686/cacheinfo.c
31782         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
31783         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
31784         * sysdeps/i386/i686/multiarch/Versions: Removed.
31785         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
31786         Removed.
31787         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
31788         * sysdeps/unix/sysv/linux/x86/Makefile
31789         (libpthread-sysdep_routines): Remove init-arch.
31790         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
31791         <sysdeps/x86_64/dl-procinfo.c> instead of
31792         sysdeps/generic/dl-procinfo.c>.
31793         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
31794         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
31795         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
31796         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
31797         [$(subdir) == elf] (tests-static): Add
31798         tst-get-cpu-features-static.
31799         * sysdeps/x86/Versions: New file.
31800         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
31801         * sysdeps/x86/cpu-features.c: Likewise.
31802         * sysdeps/x86/cpu-features.h: Likewise.
31803         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
31804         * sysdeps/x86/libc-start.c: Likewise.
31805         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
31806         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
31807         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
31808         * sysdeps/x86_64/dl-procinfo.c: Likewise.
31809         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
31810         Assume USE_MULTIARCH is defined and don't check it.
31811         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
31812         (is_amd): Likewise.
31813         (max_cpuid): Likewise.
31814         (intel_check_word): Likewise.
31815         (__cache_sysconf): Don't call __init_cpu_features.
31816         (__x86_preferred_memory_instruction): Removed.
31817         (init_cacheinfo): Don't call __init_cpu_features. Replace
31818         __cpu_features with GLRO(dl_x86_cpu_features).
31819         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
31820         (dl_platform_init): Call init_cpu_features.
31821         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
31822         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
31823         * sysdeps/x86_64/multiarch/Versions: Removed.
31824         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
31825         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
31826         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
31827         Removed.
31828         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
31830 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31832         [BZ #18820]
31833         * libio/Makefile (test-fmemopen-mem): New test.
31834         * libio/test-fmemopen.c (do_bz18820): New test.
31835         * libio/fmemopen.c (__fmemopen): Fix memory leak.
31836         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
31838 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31840         [BZ #16734]
31841         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
31842         (FREE_BUF): Delete.
31843         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
31844         * libio/genops.c (_IO_setb): Use malloc and free directly.
31845         (_IO_default_doallocate, _IO_default_finish): Likewise.
31846         ( _IO_unbuffer_all): Likewise.
31847         ( libc_freeres_fn): Likewise.
31848         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31849         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
31850         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
31851         (_IO_wdefault_doallocate): Likewise.
31853 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31855         [BZ #18086]
31856         * sysdeps/posix/nice.c (nice): Restore old errno.
31857         * posix/tst-nice.c (do_test): Add test for BZ #18086.
31859 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
31861         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
31863 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31865         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
31866         __bcopy and add a weak_alias to bcopy.
31867         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
31868         for static build.
31870         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
31871         cleanup macro usage.
31872         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
31873         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
31874         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
31875         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
31876         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
31877         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
31878         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
31879         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31880         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31881         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
31882         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31883         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
31884         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31885         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
31886         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31887         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
31888         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
31889         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
31890         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31892         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
31893         libc_hidden_def.
31894         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
31896         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
31897         (sysdep_routines): Add strstr-ppc64.
31898         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
31900 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
31902         [BZ #18778]
31903         * elf/Makefile (tests): Add Add tst-nodelete2.
31904         (modules-names): Add tst-nodelete2mod.
31905         (tst-nodelete2mod.so-no-z-defs): New.
31906         ($(objpfx)tst-nodelete2): Likewise.
31907         ($(objpfx)tst-nodelete2.out): Likewise.
31908         (LDFLAGS-tst-nodelete2): Likewise.
31909         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
31910         out of loop through all loaded libraries.
31911         * elf/tst-nodelete2.c: New file.
31912         * elf/tst-nodelete2mod.c: Likewise.
31913         * elf/tst-znodelete-zlib.cc: Delete.
31915 2015-08-11  Andreas Schwab  <schwab@suse.de>
31917         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
31918         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
31919         (__openat64_nocancel): Likewise.
31921 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
31923         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
31924         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
31925         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
31926         * math/auto-libm-test-out: Regenerated.
31927         * sysdeps/i386/fpu/libm-test-ulps: Update.
31928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31930 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31932         [BZ #18790]
31933         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
31934         threshold for returning +/- 1.
31935         * math/auto-libm-test-in: Add more tests of tanh.
31936         * math/auto-libm-test-out: Regenerated.
31937         * sysdeps/i386/fpu/libm-test-ulps: Update.
31939 2015-08-10  Andreas Schwab  <schwab@suse.de>
31941         [BZ #18781]
31942         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
31943         MORE_OFLAGS to oflag.
31944         * io/test-lfs.c (do_test): Test openat64.
31946 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31948         [BZ #18789]
31949         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
31950         smaller threshold for returning the argument.
31951         * math/auto-libm-test-in: Add more tests of sinh.
31952         * math/auto-libm-test-out: Regenerated.
31953         * sysdeps/i386/fpu/libm-test-ulps: Update.
31955 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31957         [BZ #18674]
31958         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
31959         break.
31961 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
31963         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
31964         (generated): Don't add $(addprefix z.,$(tzfiles)).
31966 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31968         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
31969         * scripts/sysd-rules.awk: Likewise.
31971 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31973         * iconvdata/tst-tables.sh: Change echo -n to printf.
31974         * nss/db-Makefile: Likewise.
31975         * posix/tst-getconf.sh: Likewise.
31976         * stdio-common/tst-unbputc.sh: Likewise.
31978 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31980         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
31981         MADV_*_PAGES defines behind this feature check.
31983 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
31985         [BZ #18480]
31986         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
31987         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
31988         Define.
31989         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
31990         LOAD_REGS_5, LOAD_REGS_6): Update.
31991         (INTERNAL_SYSCALL): Update using new LOAD defines.
31992         (INTERNAL_SYSCALL_NCS): Likewise.
31993         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
31995 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31997         [BZ #16734]
31998         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
32000 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32002         [BZ #17905]
32003         * catgets/Makefile (tst-catgets-mem): New test.
32004         * catgets/catgets.c (catopen): Don't use unbounded alloca.
32005         * catgets/open_catalog.c (__open_catalog): Likewise.
32006         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
32008 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
32010         [BZ #18787]
32011         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
32012         clobber registers.
32013         (atomic_compare_and_exchange_val_acq): Use register asms to assign
32014         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
32015         Cast return to __typeof (oldval).
32017 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
32019         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
32020         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
32021         and delete sys/syscall.h include.
32023 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
32025         [BZ #16517]
32026         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
32027         (tan): Force underflow exception for arguments with small absolute
32028         value.
32029         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
32030         (__kernel_tanf): Force underflow exception for arguments with
32031         small absolute value.
32032         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
32033         (__kernel_tanl): Force underflow exception for arguments with
32034         small absolute value.
32035         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
32036         (__kernel_tanl): Force underflow exception for arguments with
32037         small absolute value.
32038         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
32039         (__kernel_tanl): Force underflow exception for arguments with
32040         small absolute value.
32041         * math/auto-libm-test-in: Add more tests of tan.
32042         * math/auto-libm-test-out: Regenerated.
32044 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32046         Fix sysdeps/i386/fpu/s_scalbn.S build
32048         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
32050 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
32052         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
32054 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32056         Fix gcrt0.o compilation
32058         When static-start-installed-name is different from
32059         start-installed-name, we must not use the shared objects.
32061         * csu/Makefile
32062         (extra-objs): Add gmon-start.o when building shared library and
32063         $(static-start-installed-name) is different from
32064         $(start-installed-name).
32065         $(objpfx)g$(static-start-installed-name): When building shared
32066         library and $(static-start-installed-name) is different from
32067         $(static-start-installed-name), revert to non-shared rule,
32068         i.e. using $(objpfx)% and gmon-start.o.
32070 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
32072         [BZ #16519]
32073         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
32074         (__ieee754_sinh): Force underflow exception for arguments with
32075         small absolute value.
32076         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
32077         (__ieee754_sinhf): Force underflow exception for arguments with
32078         small absolute value.
32079         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
32080         (__ieee754_sinhl): Force underflow exception for arguments with
32081         small absolute value.
32082         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
32083         (__ieee754_sinhl): Force underflow exception for arguments with
32084         small absolute value.
32085         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
32086         (__ieee754_sinhl): Force underflow exception for arguments with
32087         small absolute value.
32088         * math/auto-libm-test-in: Add more tests of sinh.
32089         * math/auto-libm-test-out: Regenerated.
32090         * sysdeps/i386/fpu/libm-test-ulps: Update.
32092 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32094         * libio/oldfileops.c: Include unistd.h.
32096 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
32098         * stdlib/isomac.c: Include ctype.h.
32100 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
32102         * dirent/tst-seekdir.c (main): Converted to ...
32103         (do_test): ... this.
32104         (TEST_FUNCTION): New macro.
32105         Include test-skeleton.c.
32106         * elf/tst-dlmodcount.c (main): Converted to ...
32107         (do_test): ... this.
32108         (TEST_FUNCTION): New macro.
32109         Include test-skeleton.c.
32110         * elf/tst-order-main.c (main): Converted to ...
32111         (do_test): ... this.
32112         (TEST_FUNCTION): New macro.
32113         Include test-skeleton.c.
32114         * elf/tst-pie2.c (main): Converted to ...
32115         (do_test): ... this.
32116         (TEST_FUNCTION): New macro.
32117         Include test-skeleton.c.
32118         * inet/tst-ether_aton.c (main): Converted to ...
32119         (do_test): ... this.
32120         (TEST_FUNCTION): New macro.
32121         Include test-skeleton.c.
32122         * misc/tst-mntent.c (main): Converted to ...
32123         (do_test): ... this.
32124         (TEST_FUNCTION): New macro.
32125         Include test-skeleton.c.
32126         * misc/tst-tsearch.c (main): Converted to ...
32127         (do_test): ... this.
32128         (TEST_FUNCTION): New macro.
32129         Include test-skeleton.c.
32130         * posix/tst-regexloc.c (main): Converted to ...
32131         (do_test): ... this.
32132         (TEST_FUNCTION): New macro.
32133         Include test-skeleton.c.
32134         * resolv/tst-aton.c (main): Converted to ...
32135         (do_test): ... this.
32136         (TEST_FUNCTION): New macro.
32137         Include test-skeleton.c.
32138         * stdio-common/test-fwrite.c (main): Converted to ...
32139         (do_test): ... this.
32140         (TEST_FUNCTION): New macro.
32141         Include test-skeleton.c.
32142         * stdio-common/tst-ferror.c (main): Converted to ...
32143         (do_test): ... this.
32144         (TEST_FUNCTION): New macro.
32145         Include test-skeleton.c.
32146         * stdio-common/tst-printf.c (main): Converted to ...
32147         (do_test): ... this.
32148         (TEST_FUNCTION): New macro.
32149         Include test-skeleton.c.
32150         * stdio-common/tst-printfsz.c (main): Converted to ...
32151         (do_test): ... this.
32152         (TEST_FUNCTION): New macro.
32153         Include test-skeleton.c.
32154         * stdlib/tst-strtod.c (main): Converted to ...
32155         (do_test): ... this.
32156         (TEST_FUNCTION): New macro.
32157         Include test-skeleton.c.
32158         * string/tst-strlen.c (main): Converted to ...
32159         (do_test): ... this.
32160         (TEST_FUNCTION): New macro.
32161         Include test-skeleton.c.
32162         * string/tst-svc.c (main): Converted to ...
32163         (do_test): ... this.
32164         (TEST_FUNCTION): New macro.
32165         Include test-skeleton.c.
32166         * time/tst-strptime.c (main): Converted to ...
32167         (do_test): ... this.
32168         (TEST_FUNCTION): New macro.
32169         Include test-skeleton.c.
32170         * timezone/tst-timezone.c (main): Converted to ...
32171         (do_test): ... this.
32172         (TEST_FUNCTION): New macro.
32173         Include test-skeleton.c.
32175 2015-08-05  Zack Weinberg  <zackw@panix.com>
32177         * misc/regexp.h: Update comments.
32179 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
32181         [BZ #18635]
32182         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
32183         before return label.
32185 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32187         [BZ #18661]
32188         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
32189         when calling __errno_location.
32190         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
32191         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
32193 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32195         [BZ #18661]
32196         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
32197         (__lll_timedwait_tid): Align stack to 16 bytes when calling
32198         __gettimeofday.
32200 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32202         [BZ #18661]
32203         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32204         (__start_context): Don't use pop to restore %rdi so that stack
32205         is aligned to 16 bytes when calling __setcontext.
32207 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32209         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
32210         only for libc.
32211         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32213 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32215         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
32216         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
32217         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
32219 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32221         * string/memccpy.c (memccpy):
32222         Improve performance by using memchr/memcpy/__mempcpy.
32224 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32226         * string/strncpy.c (strncpy):
32227         Improve performance by using __strnlen/memcpy.
32229 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32231         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32232         Optimize to avoid an unnecessary FPCR read.
32234 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32236         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
32237         Optimize to reduce FPCR/FPSR accesses.
32239 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32241         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
32242         dead->data[category] != NULL.
32244 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
32246         [BZ #18647]
32247         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
32248         and |x| close to 1, use absolute value of x when computing log.
32249         * math/auto-libm-test-in: Add more tests of pow.
32250         * math/auto-libm-test-out: Regenerated.
32252 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32254         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
32255         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
32256         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
32258 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
32260         [BZ #18525]
32261         * locales/km_KH: Remove timezone definition.
32262         * locales/lo_LA: Likewise.
32263         * locales/my_MM: Likewise.
32264         * locales/nan_TW@latin: Likewise.
32265         * locales/th_TH: Likewise.
32266         * locales/uk_UA: Likewise.
32268 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
32270         [BZ #18265]
32271         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
32272         (wcsncat): Likewise.
32273         (wcscmp): Likewise.
32274         (wcsncmp): Likewise.
32276 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32278         * test-skeleton.c (usage): New function.
32279         (main): Call usage when opt is '?'.
32281 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32283         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
32284         before first use.
32286 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32288         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
32289         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
32290         in there too.
32292 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
32294         * version.h (RELEASE): Set to "development".
32295         (VERSION): Set to "2.22.90"
32297         * version.h (RELEASE): Set to "stable".
32298         (VERSION): Set to "2.22"
32299         * include/features.h (__GLIBC_MINOR__): Set to 22.
32301 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
32303         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
32304         Restructure macro to avoid "value computed is not used" warning.
32305         (atomic_compare_and_exchange_val_acq): Likewise.
32307 2015-08-04  Andreas Schwab  <schwab@suse.de>
32309         [BZ #18635]
32310         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
32311         ret.
32312         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
32314 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
32316         * po/pl.po: Updated translation.
32317         * po/uk.po: Likewise.
32318         * po/fi.po: Likewise.
32319         * po/ko.po: Likewise.
32320         * po/ru.po: Likewise.
32321         * po/vi.po: Likewise.
32323 2015-07-31  Zack Weinberg  <zackw@panix.com>
32325         [BZ #18681]
32326         * regexp.h: Add unconditional #warning stating that this header
32327         will be removed soon.  Revise banner comment to match.
32328         (compile): Consistently use ERROR instead of RETURN to report
32329         errors (partial fix for BZ #18681).
32330         * regexp.c: Don't include regexp.h. Remove some unnecessary
32331         declarations.
32333 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
32335         * po/libc.pot: Regenerated.
32337 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
32339         [BZ #18740]
32340         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
32341         float-vlen4-arch-ext-cflags): Removed.
32342         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
32343         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
32345 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32347         [BZ #14113]
32348         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
32349         aligned to __aligned__.
32350         (pthread_cond_t, pthread_rwlock_t): Likewise.
32352 2015-07-30  Torvald Riegel  <triegel@redhat.com>
32354         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
32356 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32358         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
32359         (struct sigaction): Change sa_flags from a long to an int, and add
32360         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
32362 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32364         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
32365         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
32366         sysdeps/generic/sysdep.h include.
32367         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
32368         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
32369         sysdeps/hppa/sysdep.h.
32370         (ENTRY, PSEUDO): Undefine before defining.
32372 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32374         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
32375         from scratch to use INTERNAL_SYSCALL.
32377 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
32379         [BZ #18078]
32380         * scripts/check-localplt.awk: Support alternate relocations.
32381         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
32382         sections.
32383         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
32384         malloc entries with + REL R_386_GLOB_DAT.
32385         * sysdeps/x86_64/localplt.data: New file.
32387 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
32389         [BZ #18731]
32390         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
32391         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32392         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32394 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32396         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
32398 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32400         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
32401         directly in terms of __sync_fetch_and_add and delete (int) cast.
32403 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32405         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
32406         the -D_ASM_IA64_CURRENT_H flag.
32408 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32410         [BZ #18641]
32411         * pwd/pwd.h (putpwent): Delete __nonnull markings.
32413 2015-07-27  Andreas Schwab  <schwab@suse.de>
32415         * conform/conformtest.pl (checknamespace): Filter out string
32416         literals while tokenizing.
32418 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
32420         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32421         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
32422         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32424 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
32426         * nptl/tst-join7mod.c: Add #include <string.h>.
32428 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
32430         * sysdeps/nios2/libm-test-ulps: Update.
32432 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
32434         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
32435         Fix order of arguments to the rt_sigprocmask syscall.
32436         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
32437         Likewise.
32439 2015-07-24  Roland McGrath  <roland@hack.frob.com>
32441         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
32443 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32445         [BZ #18457]
32446         * nptl/Makefile (tests): New test case tst-join7.
32447         (modules-names): New test case module tst-join7mod.
32448         * nptl/tst-join7.c: New file.
32449         * nptl/tst-join7mod.c: New file.
32450         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
32451         all translation units in libc.so, libpthread.so and rtld.
32453 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32457 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
32459         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
32460         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32461         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32462         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32463         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32464         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32465         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32466         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32467         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32468         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32469         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32470         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32471         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
32472         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32473         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
32474         implementation.
32476 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32478         [BZ #17711]
32479         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32480         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
32481         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32482         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32483         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
32484         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32486 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32488         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
32489         instead of just saying load lock in the comments.
32491 2015-07-23  Roland McGrath  <roland@hack.frob.com>
32493         * sysdeps/unix/Subdirs: Moved ...
32494         * sysdeps/posix/Subdirs: ... here.
32495         * login/pty.h (struct termios, struct winsize): Add forward decls.
32496         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
32497         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
32498         * sysdeps/arm/nacl/libc.abilist: Updated.
32499         * sysdeps/nacl/libutil.abilist: New file.
32501         * bits/signum.h: Update comments to mention 1003.1-2013 too.
32502         (SIGWINCH): New macro.
32504         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
32505         * sysdeps/arm/nacl/libc.abilist: Add it.
32507 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
32509         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
32511 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
32513         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32514         Swap __glibc_reserved0 and sa_flags order.
32516 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32518         [BZ #18657]
32519         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
32520         are pending TLS destructor calls.
32521         * include/link.h (struct link_map): Add concurrency note for
32522         L_TLS_DTOR_COUNT.
32523         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32524         Don't touch the link map flag.  Atomically increment
32525         l_tls_dtor_count.
32526         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
32527         Avoid taking the load lock and don't touch the link map flag.
32528         * stdlib/tst-tls-atexit-nodelete.c: New test case.
32529         * stdlib/Makefile (tests): Use it.
32530         * stdlib/tst-tls-atexit.c (do_test): dlopen
32531         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
32532         to allow tst-tls-atexit-nodelete test case to use it.
32534 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32536         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
32537         to bits/types.h.
32538         (msgqnum_t): New typedef.
32539         (msglen_t): Likewise.
32540         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
32541         and msg_qbytes type to msglen_t.
32543 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32545         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
32546         pad0 to __glibc_reserved0.
32547         (struct stat64): Likewise.
32549 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32551         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32552         Change sa_flags from a long to an int and add __glibc_reserved0 before
32553         it for padding.
32555 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32557         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
32558         anonymous by deleting "siginfo" name.
32560 2015-07-21  Roland McGrath  <roland@hack.frob.com>
32562         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
32563         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
32564         rather than __nacl_irt_filename.
32565         * sysdeps/nacl/xstat.c (__xstat): Likewise.
32567         * NEWS: New item for arm-nacl port.
32568         * sysdeps/arm/nacl/libc.abilist: New file.
32569         * sysdeps/nacl/ld.abilist: New file.
32570         * sysdeps/nacl/libBrokenLocale.abilist: New file.
32571         * sysdeps/nacl/libanl.abilist: New file.
32572         * sysdeps/nacl/libcrypt.abilist: New file.
32573         * sysdeps/nacl/libdl.abilist: New file.
32574         * sysdeps/nacl/libm.abilist: New file.
32575         * sysdeps/nacl/libpthread.abilist: New file.
32576         * sysdeps/nacl/libresolv.abilist: New file.
32577         * sysdeps/nacl/librt.abilist: New file.
32579 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
32581         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
32582         __startcontext to initialize the new context.
32583         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
32584         up CFI directive to forbid further backtracing.
32586 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
32588         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
32589         reference.
32590         * charmaps/ANSI_X3.4-1968: Likewise.
32591         * charmaps/BS_4730: Likewise.
32592         * charmaps/BS_VIEWDATA: Likewise.
32593         * charmaps/CP1250: Likewise.
32594         * charmaps/CP1251: Likewise.
32595         * charmaps/CP1252: Likewise.
32596         * charmaps/CP1253: Likewise.
32597         * charmaps/CP1254: Likewise.
32598         * charmaps/CP1255: Likewise.
32599         * charmaps/CP1256: Likewise.
32600         * charmaps/CSN_369103: Likewise.
32601         * charmaps/EBCDIC-DK-NO: Likewise.
32602         * charmaps/GB_1988-80: Likewise.
32603         * charmaps/GREEK-CCITT: Likewise.
32604         * charmaps/GREEK7: Likewise.
32605         * charmaps/INIS-8: Likewise.
32606         * charmaps/ISIRI-3342: Likewise.
32607         * charmaps/ISO_2033-1983: Likewise.
32608         * charmaps/ISO_5427-EXT: Likewise.
32609         * locales/POSIX: Likewise.
32610         * locales/ar_SA: Likewise.
32611         * locales/be_BY: Likewise.
32612         * locales/be_BY@latin: Likewise.
32613         * locales/ca_ES: Likewise.
32614         * locales/cs_CZ: Likewise.
32615         * locales/da_DK: Likewise.
32616         * locales/de_BE: Likewise.
32617         * locales/de_CH: Likewise.
32618         * locales/de_LU: Likewise.
32619         * locales/en_AU: Likewise.
32620         * locales/en_BW: Likewise.
32621         * locales/en_CA: Likewise.
32622         * locales/en_DK: Likewise.
32623         * locales/en_GB: Likewise.
32624         * locales/en_IE: Likewise.
32625         * locales/en_NZ: Likewise.
32626         * locales/en_ZA: Likewise.
32627         * locales/en_ZW: Likewise.
32628         * locales/es_AR: Likewise.
32629         * locales/es_BO: Likewise.
32630         * locales/es_CL: Likewise.
32631         * locales/es_CO: Likewise.
32632         * locales/es_DO: Likewise.
32633         * locales/es_EC: Likewise.
32634         * locales/es_ES: Likewise.
32635         * locales/es_HN: Likewise.
32636         * locales/es_MX: Likewise.
32637         * locales/es_PA: Likewise.
32638         * locales/es_PE: Likewise.
32639         * locales/es_PY: Likewise.
32640         * locales/es_SV: Likewise.
32641         * locales/es_US: Likewise.
32642         * locales/es_UY: Likewise.
32643         * locales/es_VE: Likewise.
32644         * locales/et_EE: Likewise.
32645         * locales/fa_IR: Likewise.
32646         * locales/fo_FO: Likewise.
32647         * locales/fr_CA: Likewise.
32648         * locales/fr_CH: Likewise.
32649         * locales/gv_GB: Likewise.
32650         * locales/he_IL: Likewise.
32651         * locales/hr_HR: Likewise.
32652         * locales/id_ID: Likewise.
32653         * locales/is_IS: Likewise.
32654         * locales/it_CH: Likewise.
32655         * locales/iw_IL: Likewise.
32656         * locales/kl_GL: Likewise.
32657         * locales/ko_KR: Likewise.
32658         * locales/kw_GB: Likewise.
32659         * locales/lg_UG: Likewise.
32660         * locales/lt_LT: Likewise.
32661         * locales/lv_LV: Likewise.
32662         * locales/mi_NZ: Likewise.
32663         * locales/nhn_MX: Likewise.
32664         * locales/nl_BE: Likewise.
32665         * locales/pl_PL: Likewise.
32666         * locales/sk_SK: Likewise.
32667         * locales/sl_SI: Likewise.
32668         * locales/sv_FI: Likewise.
32669         * locales/tl_PH: Likewise.
32670         * locales/tr_TR: Likewise.
32671         * locales/vi_VN: Likewise.
32673 2015-07-21  Khem Raj  <raj.khem@gmail.com>
32675         [BZ #17475]
32676         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
32677         of tu_IN and bh_IN.
32679 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
32681         [BZ #18694]
32682         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
32683         bits/wordsize.h.
32684         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
32686 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32688         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
32689         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
32690         (spawn_thread): New function.
32691         (load): Rename to reg_dtor_and_close.  Move dlopen to...
32692         (do_test): ... here.  Use IS_LOADED to test for its
32693         availability.
32695 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
32697         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32699 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
32701         [BZ #18696]
32702         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
32703         si_addr_bnd.
32704         (si_lower): New.
32705         (si_upper): Likewise.
32707 2015-07-16  David S. Miller  <davem@davemloft.net>
32709         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
32711 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32713         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
32714         buffer.
32715         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
32716         fail output information.
32718 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
32721         and strstr-ppc64..
32722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
32723         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
32724         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
32725         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
32726         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
32728 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
32730         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32731         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32732         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32733         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32735 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
32737         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
32738         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
32739         rtld_hidden_proto.
32740         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
32742 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32744         * tst-nodelete-opened.c (do_test): Add comment to clarify how
32745         the test can fail.
32747         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
32749         [BZ #18676]
32750         * elf/tst-nodelete-opened.c: New test case.
32751         * elf/tst-nodelete-opened-lib.c: New test case module.
32752         * elf/Makefile (tests, modules-names): Use them.
32753         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
32754         early.
32756 2015-07-15  David S. Miller  <davem@davemloft.net>
32758         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
32759         futex-intenal.h
32760         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
32761         * sysdeps/sparc/sparc64/Makefile: Likewise.
32762         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
32763         Remove space from macro define.
32764         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
32766 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
32768         [BZ #17475]
32769         * locale/iso-639.def: Update Bhili and Tulu language codes as
32770         per iso639-3.
32772 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
32774         * elf/tst-leaks1.c (main): Converted to ...
32775         (do_test): ... this.
32776         (TEST_FUNCTION): New macro.
32777         Include test-skeleton.c.
32778         * localedata/tst-langinfo.c (main): Converted to ...
32779         (do_test): ... this.
32780         (TEST_FUNCTION): New macro.
32781         Include test-skeleton.c.
32782         * math/test-fpucw.c (main): Converted to ...
32783         (do_test): ... this.
32784         (TEST_FUNCTION): New macro.
32785         Include test-skeleton.c.
32786         * math/test-tgmath.c (main): Converted to ...
32787         (do_test): ... this.
32788         (TEST_FUNCTION): New macro.
32789         Include test-skeleton.c.
32790         * math/test-tgmath2.c (main): Converted to ...
32791         (do_test): ... this.
32792         (TEST_FUNCTION): New macro.
32793         Include test-skeleton.c.
32794         * setjmp/tst-setjmp.c (main): Converted to ...
32795         (do_test): ... this.
32796         (TEST_FUNCTION): New macro.
32797         Include test-skeleton.c.
32798         * stdio-common/tst-sscanf.c (main): Converted to ...
32799         (do_test): ... this.
32800         (TEST_FUNCTION): New macro.
32801         Include test-skeleton.c.
32802         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
32803         (do_test): ... this.
32804         (TEST_FUNCTION): New macro.
32805         Include test-skeleton.c.
32807         * elf/tst-audit9.c (main): Converted to ...
32808         (do_test): ... this.
32809         (TEST_FUNCTION): New macro.
32810         Include test-skeleton.c.
32812 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
32814         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
32816 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32818         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
32819         New variable.
32821 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32823         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32825 2015-07-14  Roland McGrath  <roland@hack.frob.com>
32827         * sysdeps/generic/dl-fileid.h: New file.
32828         * sysdeps/posix/dl-fileid.h: New file.
32829         * sysdeps/nacl/dl-fileid.h: New file.
32830         * include/link.h: Include <dl-fileid.h>.
32831         (struct link_map): Replace l_dev and l_ino with l_file_id.
32832         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
32833         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
32834         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
32836 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32838         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
32840 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32842         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
32843         Add iff $CXX is set.
32844         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
32845         Likewise.
32846         (tst-nodelete-zmodiff): Likewise.
32847         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
32849 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32851         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
32853 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32855         * sysdeps/aarch64/fpu/math_private.h
32856         (define math_opt_barrier): Add AArch64 version.
32857         (math_force_eval): Likewise.
32859 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32861         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
32863 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
32865         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
32866         %ld with %jd and cast to intmax_t.
32867         (do_test_length_zero): Likewise.
32869 2015-07-10  Roland McGrath  <roland@hack.frob.com>
32871         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
32873 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
32875         * sysdeps/tile/libm-test-ulps: Regenerated.
32877         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
32878         Comment out the whole function, not just its body.
32880 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32882         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
32883         locks.
32885         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
32887 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32889         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
32890         (sem_assume_only_signals_cause_futex_EINTR): Remove.
32892 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32894         * sysdeps/nptl/futex-internal.h: New file.
32895         * sysdeps/nacl/futex-internal.h: New file.
32896         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
32897         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
32898         error checking.
32899         (setxid_unmark_thread): Likewise.
32900         (__nptl_setxid): Likewise.
32901         (__wait_lookup_done): Likewise.
32902         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32903         * nptl/nptl-init.c (sighandler_setxid): Likewise.
32904         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
32905         * nptl/pthread_once.c (clear_once_control): Likewise.
32906         (__pthread_once_slow): Likewise.
32907         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
32908         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
32909         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
32910         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
32911         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
32912         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
32913         Likewise.
32914         (__pthread_rwlock_rdlock): Likewise.
32915         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32916         Likewise.
32917         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32918         Likewise.
32919         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32920         Likewise.
32921         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
32922         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
32923         Likewise.
32924         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
32925         __ASSUME_PRIVATE_FUTEX check.
32926         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
32927         Check that shared futexes are supported.
32928         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
32929         wrappers with error checking.
32930         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
32931         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
32932         * nptl/pthread_barrierattr_setpshared.c
32933         (pthread_barrierattr_setpshared): Check that shared futexes are
32934         supported.
32935         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
32936         Likewise.
32937         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
32938         Likewise.
32939         * nptl/sem_init.c (futex_private_if_supported): Remove.
32940         (__new_sem_init): Adapt and check that shared futexes are supported.
32941         * nptl/sem_open.c (sem_open): Likewise.
32942         * nptl/sem_post.c (futex_wake): Remove.
32943         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
32944         (do_futex_wait): Use futex wrappers with error checking.
32945         * nptl/sem_wait.c: Include lowlevellock.h.
32946         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
32947         Use futex_supports_pshared.
32948         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
32949         Use futex wrappers with error checking.
32950         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
32951         Likewise.
32952         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
32953         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
32954         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
32955         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
32956         (futex_wake): Likewise.
32957         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
32958         (do_futex_wait): Use futex wrappers with error checking.
32959         (__new_sem_wait_slow): Update EINTR handling.
32960         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
32962 2015-07-09  Martin Sebor  <msebor@redhat.com>
32964         [BZ #18435]
32965         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32966         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
32967         * nptl/Makefile (test-xfail-tst-once5): Define.
32969 2015-07-09  Roland McGrath  <roland@hack.frob.com>
32971         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
32972         * elf/dl-minimal.c: For readability, reorder some definitions and
32973         introduce more page breaks.  Include <stdio.h>.
32974         (__libc_fatal): New function.
32976         * include/unistd.h: Add rtld_hidden_proto for _exit.
32977         * posix/_exit.c: Add rtld_hidden_def.
32978         * sysdeps/mach/hurd/_exit.c: Likewise.
32979         * sysdeps/nacl/_exit.c: Likewise.
32980         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
32981         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
32983 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
32985         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
32986         bndmov encoding with zero displacement.
32988 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32989             H.J. Lu  <hongjiu.lu@intel.com>
32991         [BZ #18134]
32992         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
32993         * sysdeps/i386/configure: Regenerated.
32994         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32995         (_dl_runtime_profile): Save and restore Intel MPX return bound
32996         registers when calling _dl_call_pltexit.  Add
32997         PRESERVE_BND_REGS_PREFIX before return.
32998         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
32999         (LRV_BND1_OFFSET): Likewise.
33000         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
33001         lrv_bnd1.
33002         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
33003         typo in bndmov encoding.
33004         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
33005         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
33006         branch instructions to preserve bounds.
33008 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
33011         [GLIBC_2.22]: Add fmemopen.
33013 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33015         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
33016         returns an error, also try to use host port from __mach_host_self for
33017         the __vm_wire call.
33018         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
33020 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33022         [BZ #18400]
33023         [BZ #18648]
33024         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
33025         Fix pr_uid and pr_gid members.
33026         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
33027         definition to elf_greg_t.
33029 2015-07-08  Roland McGrath  <roland@hack.frob.com>
33031         [BZ #18383]
33032         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
33033         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
33034         * sysdeps/arm/configure: Regenerated.
33035         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
33036         (test-xfail-tst-tlsalign-static): Variable removed.
33038         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
33039         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
33040         rather than explicit 'ln -s'.
33042         * resolv/rpc/netdb.h: New file.
33043         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
33045 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33047         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
33048         length buffers.
33049         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33050         test-skeleton.c.
33052         [BZ #6544]
33053         [BZ #11216]
33054         [BZ #12836]
33055         [BZ #13151]
33056         [BZ #13152]
33057         [BZ #14292]
33058         * include/stdio.h (fmemopen): Remove hidden prototype.
33059         (__fmemopen): Add new hidden prototype.
33060         * libio/Makefile: Add oldfmemopen object.
33061         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
33062         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
33063         compliance.
33064         * libio/oldfmemopen.c: New file: old fmemopen implementation for
33065         symbol compatibility.
33066         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
33067         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
33068         fmemopen.
33069         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
33070         on append and read mode.
33071         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
33072         fmemopen.
33073         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
33074         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
33075         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
33076         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
33077         Likewise.
33078         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
33079         [GLIBC_2.22]: Likewise.
33080         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
33081         Likewise.
33082         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
33083         Likewise.
33084         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
33085         [GLIBC_2.22]: Likewise.
33086         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
33087         [GLIBC_2.22]: Likewise.
33088         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
33089         [GLIBC_2.22]: Likewise.
33090         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
33091         [GLIBC_2.22]: Likewise.
33092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
33093         [GLIBC_2.22]: Likewise.
33094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
33095         [GLIBC_2.22]: Likewise.
33096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
33097         [GLIBC_2.22]: Likewise.
33098         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
33099         Likewise.
33100         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
33101         Likewise.
33102         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
33103         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
33104         [GLIBC_2.22]: Likewise.
33105         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
33106         [GLIBC_2.22]: Likewise.
33107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
33108         [GLIBC_2.22]: Likewise.
33109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
33110         [GLIBC_2.22]: Likewise.
33111         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
33112         Likewise.
33113         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
33114         Likewise.
33115         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
33116         Likewise.
33117         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
33118         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
33120 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
33122         [BZ #18643]
33123         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
33124         IPV6_PATHMTU, and IPV6_DONTFRAG.
33126 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
33128         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
33129         and _IO_UNBUFFERED.
33130         * libio/oldfileops.c: Likewise.
33131         * libio/wfileops.c: Likewise.
33133 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
33135         * nscd/selinux.c: Delete selinux/flask.h include.
33137 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
33139         [BZ #18641]
33140         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
33141         (putpwent): Likewise.
33142         (getpwnam): Likewise.
33143         (getpwent_r): Likewise.
33144         (getpwuid_r): Likewise.
33145         (getpwnam_r): Likewise.
33146         (fgetpwent_r): Likewise.
33148 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
33150         [BZ #18557]
33151         * inet/rcmd.c (__validuser2_sa): Check user first to
33152         short-circuit host check.
33154 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
33155             Mikhail Ilin  <m.ilin@samsung.com>
33157         [BZ #17833]
33158         * elf/Makefile (tests): Add tst-nodelete.
33159         (modules-names): Add tst-nodelete-uniquemod.
33160         (tst-nodelete-uniquemod.so-no-z-defs): New.
33161         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
33162         (tst-nodelete-zmod.so-no-z-defs): Likewise.
33163         ($(objpfx)tst-nodelete): Likewise.
33164         ($(objpfx)tst-nodelete.out): Likewise.
33165         (LDFLAGS-tst-nodelete): Likewise.
33166         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
33167         * elf/dl-close.c (_dl_close_worker): Add a parameter to
33168         implement forced object deletion.
33169         (_dl_close): Pass false to _dl_close_worker.
33170         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
33171         * elf/tst-nodelete.cc: New file.
33172         * elf/tst-nodeletelib.cc: Likewise.
33173         * elf/tst-znodeletelib.cc: Likewise.
33174         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
33176 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33178         [BZ #18508]
33179         * stdlib/Makefile ($(objpfx)tst-makecontext3):
33180         Depend on $(libdl).
33181         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
33182         is not called infinitely times.
33183         (backtrace_helper): New function.
33184         (trace_arg): New struct.
33185         (st1): Enlarge stack size.
33186         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33187         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
33188         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33189         Likewise.
33191 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33193         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33195 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33197         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
33198         Include sys/types.h instead of bits/types.h.
33199         Remove inclusion of bits/wordsize.h.
33201 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33203         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
33204         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
33205         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
33206         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
33207         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
33208         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
33210 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33212         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
33213         link-defines.sym.
33214         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
33215         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
33216         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
33217         and LR_SIZE.
33218         * sysdeps/i386/link-defines.sym: New file.
33220 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33222         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
33223         (modules-names): Add tst-auditmod3a tst-auditmod3b.
33224         ($(objpfx)tst-audit3): New rule.
33225         ($(objpfx)tst-audit3.out): Likewise.
33226         * sysdeps/i386/tst-audit3.c: New file.
33227         * sysdeps/i386/tst-audit3.h: Likewise.
33228         * sysdeps/i386/tst-auditmod3a.c: Likewise.
33229         * sysdeps/i386/tst-auditmod3b.c: Likewise.
33231 2015-07-07  Torvald Riegel  <triegel@redhat.com>
33233         [BZ #18633]
33234         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
33235         pointer in C code.
33236         (__strcat_c): Likewise.
33237         (__strcat_g): Likewise.
33239 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
33241         [BZ #18592]
33242         * misc/sbrk.c: Set errno to ENOMEM on overflow.
33244 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
33246         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
33247         New function.  (__ieee754_sqrtf): New function.
33248         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
33249         New function.
33250         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
33251         New function.
33253 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
33255         * sysdeps/ieee754/support.c: Remove unused file.
33257 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33259         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
33260         registers instead of d ones so the layout is kernel abi compatible.
33261         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
33262         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
33263         Likewise.
33265 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33267         * sysdeps/aarch64/libm-test-ulps: Regenerated.
33269 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
33271         [BZ #18619]
33272         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
33273         and return argument in case of subnormal argument.
33275 2015-07-01  Martin Sebor  <msebor@redhat.com>
33277         [BZ #18435]
33278         * nptl/Makefile: Add tst-once5.cc.
33279         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
33280         Remove macro redefinitions.
33281         * nptl/tst-once5.cc: New test.
33283 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
33285         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33287         * sysdeps/arm/libm-test-ulps: Regenerated.
33289         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
33290         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33292 2015-06-30  Torvald Riegel  <triegel@redhat.com>
33294         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
33295         lll_lock_wait_private and lll_futex_wake probes.
33297         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
33298         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
33299         Likewise.
33300         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
33301         atomic_spin_nop.
33302         * sysdeps/x86_64/bits/atomic.h: Likewise.
33303         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
33304         to atomic_spin_nop and move ...
33305         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
33306         ... here and ...
33307         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
33308         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
33309         atomic_spin_nop instead of BUSY_WAIT_NOP.
33310         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
33311         Likewise.
33312         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
33313         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
33314         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
33315         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
33316         instead of atomic_delay.
33318 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
33320         [BZ #18613]
33321         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
33322         X_ADJ not X when adjusting exponent.
33323         (__ieee754_gamma_r): Do intermediate computations in
33324         round-to-nearest then adjust overflowing and underflowing results
33325         as needed.
33326         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
33327         of X_ADJ not X when adjusting exponent.
33328         (__ieee754_gammaf_r): Do intermediate computations in
33329         round-to-nearest then adjust overflowing and underflowing results
33330         as needed.
33331         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
33332         log of X_ADJ not X when adjusting exponent.
33333         (__ieee754_gammal_r): Do intermediate computations in
33334         round-to-nearest then adjust overflowing and underflowing results
33335         as needed.  Use 1.0L not 1.0f as numerator of division.
33336         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
33337         log of X_ADJ not X when adjusting exponent.
33338         (__ieee754_gammal_r): Do intermediate computations in
33339         round-to-nearest then adjust overflowing and underflowing results
33340         as needed.  Use 1.0L not 1.0f as numerator of division.
33341         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
33342         of X_ADJ not X when adjusting exponent.
33343         (__ieee754_gammal_r): Do intermediate computations in
33344         round-to-nearest then adjust overflowing and underflowing results
33345         as needed.  Use 1.0L not 1.0f as numerator of division.
33346         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
33347         to auto-libm-test-in.
33348         (tgamma_test): Use ALL_RM_TEST.
33349         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
33350         tests of tgamma with spurious-overflow.
33351         * math/auto-libm-test-out: Regenerated.
33352         * math/gen-libm-have-vector-test.sh: Do not check for START.
33353         * sysdeps/i386/fpu/libm-test-ulps: Update.
33354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33356         [BZ #18612]
33357         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
33358         arguments, just return 0.5 times the argument, with underflow
33359         forced as needed.
33360         * math/auto-libm-test-in: Add more tests of j1.
33361         * math/auto-libm-test-out: Regenerated.
33363         [BZ #16559]
33364         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
33365         (__ieee754_j1): Force underflow exception for small results.
33366         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33367         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
33368         (__ieee754_j1f): Force underflow exception for small results.
33369         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33370         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33371         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33372         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
33373         (__ieee754_j1l): Force underflow exception for small results.
33374         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33375         * math/auto-libm-test-in: Add more tests of j1 and jn.
33376         * math/auto-libm-test-out: Regenerated.
33378         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
33379         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
33380         (PF_MPLS): Likewise.
33381         (AF_IB): Likewise.
33382         (AF_MPLS): Likewise.
33383         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
33384         value and macro.
33385         (MS_RMT_MASK): Include MS_LAZYTIME.
33387 2015-06-26  Mel Gorman  <mgorman@suse.de>
33389         [BZ #18502]
33390         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
33391         already minimal.
33393 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
33395         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
33396         (DT_MIPS_NUM): Update.
33397         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
33398         DT_MIPS_RLD_MAP_REL.
33400 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
33402         [BZ #16559]
33403         [BZ #18602]
33404         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
33405         round-to-nearest internally then recompute results that
33406         underflowed to zero in the original rounding mode.
33407         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33408         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33409         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33410         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33411         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
33412         * sysdeps/i386/fpu/libm-test-ulps: Update.
33413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33415 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
33417         * NEWS: Fixed description of link with vector math library.
33419 2015-06-25  Andreas Schwab  <schwab@suse.de>
33421         [BZ #18549]
33422         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
33423         * libio/test-fmemopen.c (do_test): Add test for it.
33425 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
33427         [BZ #17841]
33428         * Makeconfig (no-pie-ldflag): New.
33429         (+link): Set to $(+link-pie) if default to PIE.
33430         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
33431         * config.make.in (build-pie-default): New.
33432         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
33433         is default.  AC_SUBST.
33434         * configure: Regenerated.
33435         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
33437 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33439         * nptl/descr.h (struct pthread): Change type of field setxid_futex
33440         to 'unsigned int'.
33442         * resolv/gai_misc.h (struct waitlist): Change type of field
33443         counterp to 'volatile unsigned int *'.
33444         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
33445         FUTEXADDR and OLDVAL.
33446         * resolv/getaddrinfo_a.c (getaddrinfo_a):
33447         Give local variable TOTAL type 'volatile unsigned int'.
33448         (struct async_waitlist): Change type of field counter to 'unsigned int'.
33449         * resolv/gai_suspend.c (gai_suspend):
33450         Give local variable CNTR type 'unsigned int'.
33452         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
33453         counterp to 'volatile unsigned int *'.
33454         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
33455         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
33456         (aio_suspend): Give local variable CNTR type 'unsigned int'.
33457         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
33458         Give local variable TOTAL type 'volatile unsigned int'.
33459         (struct async_waitlist): Change type of field counter to 'unsigned int'.
33461 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33463         [BZ #18383]
33464         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
33465         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
33466         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
33467         comment for i386/x86-64.
33468         (test-xfail-tst-tlsalign-extern-static): Removed.
33470 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33472         * math/test-double.h: New file.
33473         * math/test-float.h: Likewise.
33474         * math/test-ldouble.h: Likewise.
33475         * math/test-math-inline.h: Likewise.
33476         * math/test-math-no-inline.h: Likewise.
33477         * math/test-math-scalar.h: Likewise.
33478         * math/test-math-vector.h: Likewise.
33479         * math/test-vec-loop.h: Remove file.  Contents moved into
33480         test-math-vector.h.
33481         * math/libm-test.inc (MATHCONST): Do not document macro.
33482         * math/test-double.c: Include test-double.h, test-math-no-inline.h
33483         and test-math-scalar.h.
33484         (FUNC): Remove macro.
33485         (FUNC_TEST): Likewise.
33486         (FLOAT): Likewise.
33487         (MATHCONST): Likewise.
33488         (PRINTF_EXPR): Likewise.
33489         (PRINTF_XEXPR): Likewise.
33490         (PRINTF_NEXPR): Likewise.
33491         (TEST_DOUBLE): Likewise.
33492         (TEST_MATHVEC): Likewise.
33493         (__NO_MATH_INLINES): Likewise.
33494         * math/test-float.c: Include test-float.h, test-math-no-inline.h
33495         and test-math-scalar.h.
33496         (FUNC): Remove macro.
33497         (FUNC_TEST): Likewise.
33498         (FLOAT): Likewise.
33499         (MATHCONST): Likewise.
33500         (PRINTF_EXPR): Likewise.
33501         (PRINTF_XEXPR): Likewise.
33502         (PRINTF_NEXPR): Likewise.
33503         (TEST_FLOAT): Likewise.
33504         (TEST_MATHVEC): Likewise.
33505         (__NO_MATH_INLINES): Likewise.
33506         * math/test-idouble.c: Include test-double.h, test-math-inline.h
33507         and test-math-scalar.h.
33508         (FUNC): Remove macro.
33509         (FUNC_TEST): Likewise.
33510         (FLOAT): Likewise.
33511         (MATHCONST): Likewise.
33512         (PRINTF_EXPR): Likewise.
33513         (PRINTF_XEXPR): Likewise.
33514         (PRINTF_NEXPR): Likewise.
33515         (TEST_DOUBLE): Likewise.
33516         (TEST_MATHVEC): Likewise.
33517         (TEST_INLINE): Likewise.
33518         (__NO_MATH_INLINES): Likewise.
33519         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
33520         test-math-scalar.h.
33521         (FUNC): Remove macro.
33522         (FUNC_TEST): Likewise.
33523         (FLOAT): Likewise.
33524         (MATHCONST): Likewise.
33525         (PRINTF_EXPR): Likewise.
33526         (PRINTF_XEXPR): Likewise.
33527         (PRINTF_NEXPR): Likewise.
33528         (TEST_FLOAT): Likewise.
33529         (TEST_MATHVEC): Likewise.
33530         (TEST_INLINE): Likewise.
33531         (__NO_MATH_INLINES): Likewise.
33532         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
33533         and test-math-scalar.h.
33534         (FUNC): Remove macro.
33535         (FUNC_TEST): Likewise.
33536         (FLOAT): Likewise.
33537         (MATHCONST): Likewise.
33538         (PRINTF_EXPR): Likewise.
33539         (PRINTF_XEXPR): Likewise.
33540         (PRINTF_NEXPR): Likewise.
33541         (TEST_LDOUBLE): Likewise.
33542         (TEST_MATHVEC): Likewise.
33543         (TEST_INLINE): Likewise.
33544         (__NO_MATH_INLINES): Likewise.
33545         * math/test-ldouble.c: Include test-ldouble.h,
33546         test-math-no-inline.h and test-math-scalar.h.
33547         (FUNC): Remove macro.
33548         (FUNC_TEST): Likewise.
33549         (FLOAT): Likewise.
33550         (MATHCONST): Likewise.
33551         (PRINTF_EXPR): Likewise.
33552         (PRINTF_XEXPR): Likewise.
33553         (PRINTF_NEXPR): Likewise.
33554         (TEST_LDOUBLE): Likewise.
33555         (TEST_MATHVEC): Likewise.
33556         (__NO_MATH_INLINES): Likewise.
33557         * math/test-double-vlen2.h: Include test-double.h,
33558         test-math-no-inline.h and test-math-vector.h.
33559         (FLOAT): Remove macro.
33560         (FUNC): Likewise.
33561         (MATHCONST): Likewise.
33562         (PRINTF_EXPR): Likewise.
33563         (PRINTF_XEXPR): Likewise.
33564         (PRINTF_NEXPR): Likewise.
33565         (TEST_DOUBLE): Likewise.
33566         (TEST_MATHVEC): Likewise.
33567         (__NO_MATH_INLINES): Likewise.
33568         (CNCT): Likewise.
33569         (CONCAT): Likewise.
33570         (WRAPPER_NAME): Likewise.
33571         (WRAPPER_DECL): Likewise.
33572         (WRAPPER_DECL_ff): Likewise.
33573         (WRAPPER_DECL_fFF): Likewise.
33574         (VECTOR_WRAPPER): Likewise.
33575         (VECTOR_WRAPPER_ff): Likewise.
33576         (VECTOR_WRAPPER_fFF): Likewise.
33577         (VEC_LEN): New macro.
33578         * math/test-double-vlen4.h: Include test-double.h,
33579         test-math-no-inline.h and test-math-vector.h.
33580         (FLOAT): Remove macro.
33581         (FUNC): Likewise.
33582         (MATHCONST): Likewise.
33583         (PRINTF_EXPR): Likewise.
33584         (PRINTF_XEXPR): Likewise.
33585         (PRINTF_NEXPR): Likewise.
33586         (TEST_DOUBLE): Likewise.
33587         (TEST_MATHVEC): Likewise.
33588         (__NO_MATH_INLINES): Likewise.
33589         (CNCT): Likewise.
33590         (CONCAT): Likewise.
33591         (WRAPPER_NAME): Likewise.
33592         (WRAPPER_DECL): Likewise.
33593         (WRAPPER_DECL_ff): Likewise.
33594         (WRAPPER_DECL_fFF): Likewise.
33595         (VECTOR_WRAPPER): Likewise.
33596         (VECTOR_WRAPPER_ff): Likewise.
33597         (VECTOR_WRAPPER_fFF): Likewise.
33598         (VEC_LEN): New macro.
33599         * math/test-double-vlen8.h: Include test-double.h,
33600         test-math-no-inline.h and test-math-vector.h.
33601         (FLOAT): Remove macro.
33602         (FUNC): Likewise.
33603         (MATHCONST): Likewise.
33604         (PRINTF_EXPR): Likewise.
33605         (PRINTF_XEXPR): Likewise.
33606         (PRINTF_NEXPR): Likewise.
33607         (TEST_DOUBLE): Likewise.
33608         (TEST_MATHVEC): Likewise.
33609         (__NO_MATH_INLINES): Likewise.
33610         (CNCT): Likewise.
33611         (CONCAT): Likewise.
33612         (WRAPPER_NAME): Likewise.
33613         (WRAPPER_DECL): Likewise.
33614         (WRAPPER_DECL_ff): Likewise.
33615         (WRAPPER_DECL_fFF): Likewise.
33616         (VECTOR_WRAPPER): Likewise.
33617         (VECTOR_WRAPPER_ff): Likewise.
33618         (VECTOR_WRAPPER_fFF): Likewise.
33619         (VEC_LEN): New macro.
33620         * math/test-float-vlen4.h: Include test-float.h,
33621         test-math-no-inline.h and test-math-vector.h.
33622         (FLOAT): Remove macro.
33623         (FUNC): Likewise.
33624         (MATHCONST): Likewise.
33625         (PRINTF_EXPR): Likewise.
33626         (PRINTF_XEXPR): Likewise.
33627         (PRINTF_NEXPR): Likewise.
33628         (TEST_FLOAT): Likewise.
33629         (TEST_MATHVEC): Likewise.
33630         (__NO_MATH_INLINES): Likewise.
33631         (CNCT): Likewise.
33632         (CONCAT): Likewise.
33633         (WRAPPER_NAME): Likewise.
33634         (WRAPPER_DECL): Likewise.
33635         (WRAPPER_DECL_ff): Likewise.
33636         (WRAPPER_DECL_fFF): Likewise.
33637         (VECTOR_WRAPPER): Likewise.
33638         (VECTOR_WRAPPER_ff): Likewise.
33639         (VECTOR_WRAPPER_fFF): Likewise.
33640         (VEC_LEN): New macro.
33641         * math/test-float-vlen8.h: Include test-float.h,
33642         test-math-no-inline.h and test-math-vector.h.
33643         (FLOAT): Remove macro.
33644         (FUNC): Likewise.
33645         (MATHCONST): Likewise.
33646         (PRINTF_EXPR): Likewise.
33647         (PRINTF_XEXPR): Likewise.
33648         (PRINTF_NEXPR): Likewise.
33649         (TEST_FLOAT): Likewise.
33650         (TEST_MATHVEC): Likewise.
33651         (__NO_MATH_INLINES): Likewise.
33652         (CNCT): Likewise.
33653         (CONCAT): Likewise.
33654         (WRAPPER_NAME): Likewise.
33655         (WRAPPER_DECL): Likewise.
33656         (WRAPPER_DECL_ff): Likewise.
33657         (WRAPPER_DECL_fFF): Likewise.
33658         (VECTOR_WRAPPER): Likewise.
33659         (VECTOR_WRAPPER_ff): Likewise.
33660         (VECTOR_WRAPPER_fFF): Likewise.
33661         (VEC_LEN): New macro.
33662         * math/test-float-vlen16.h: Include test-float.h,
33663         test-math-no-inline.h and test-math-vector.h.
33664         (FLOAT): Remove macro.
33665         (FUNC): Likewise.
33666         (MATHCONST): Likewise.
33667         (PRINTF_EXPR): Likewise.
33668         (PRINTF_XEXPR): Likewise.
33669         (PRINTF_NEXPR): Likewise.
33670         (TEST_FLOAT): Likewise.
33671         (TEST_MATHVEC): Likewise.
33672         (__NO_MATH_INLINES): Likewise.
33673         (CNCT): Likewise.
33674         (CONCAT): Likewise.
33675         (WRAPPER_NAME): Likewise.
33676         (WRAPPER_DECL): Likewise.
33677         (WRAPPER_DECL_ff): Likewise.
33678         (WRAPPER_DECL_fFF): Likewise.
33679         (VECTOR_WRAPPER): Likewise.
33680         (VECTOR_WRAPPER_ff): Likewise.
33681         (VECTOR_WRAPPER_fFF): Likewise.
33682         (VEC_LEN): New macro.
33683         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
33684         test-vec-loop.h.
33685         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33686         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33687         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33688         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33689         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33690         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33691         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33693 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33695         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
33696         (__getlogin_r): ... this.
33698 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33700         [BZ #18594]
33701         * math/s_ccosh.c (__ccosh): Compare with least normal value
33702         instead of comparing class with FP_SUBNORMAL.
33703         * math/s_ccoshf.c (__ccoshf): Likewise.
33704         * math/s_ccoshl.c (__ccoshl): Likewise.
33705         * math/s_cexp.c (__cexp): Likewise.
33706         * math/s_cexpf.c (__cexpf): Likewise.
33707         * math/s_cexpl.c (__cexpl): Likewise.
33708         * math/s_csin.c (__csin): Likewise.
33709         * math/s_csinf.c (__csinf): Likewise.
33710         * math/s_csinh.c (__csinh): Likewise.
33711         * math/s_csinhf.c (__csinhf): Likewise.
33712         * math/s_csinhl.c (__csinhl): Likewise.
33713         * math/s_csinl.c (__csinl): Likewise.
33714         * math/s_ctan.c (__ctan): Likewise.
33715         * math/s_ctanf.c (__ctanf): Likewise.
33716         * math/s_ctanh.c (__ctanh): Likewise.
33717         * math/s_ctanhf.c (__ctanhf): Likewise.
33718         * math/s_ctanhl.c (__ctanhl): Likewise.
33719         * math/s_ctanl.c (__ctanl): Likewise.
33720         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
33721         csin, csinh, ctan and ctanh.
33722         * math/auto-libm-test-out: Regenerated.
33723         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
33724         * sysdeps/i386/fpu/libm-test-ulps: Update.
33725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33727 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33729         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
33730         return value is wrong, print the expected value too.
33732 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33734         [BZ #18585]
33735         * elf/readlib.c (is_gdb_python_file): New.
33736         (process_file): Don't issue errors on filenames with -gdb.py
33737         suffix.
33739 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33741         * math/auto-libm-test-in: Add more tests of csin and csinh.
33742         * math/auto-libm-test-out: Regenerated.
33743         * math/libm-test.inc (csin_test_data): Remove tests moved to
33744         auto-libm-test-in.
33745         (csinh_test_data): Likewise.
33747         [BZ #18593]
33748         * math/s_csin.c (__csin): Negate before rather than after possibly
33749         overflowing multiplication.
33750         * math/s_csinf.c (__csinf): Likewise.
33751         * math/s_csinh.c (__csinh): Likewise.
33752         * math/s_csinhf.c (__csinhf): Likewise.
33753         * math/s_csinhl.c (__csinhl): Likewise.
33754         * math/s_csinl.c (__csinl): Likewise.
33755         * math/auto-libm-test-in: Add some tests of csin and csinh.
33756         * math/auto-libm-test-out: Regenerated.
33757         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
33758         (csinh_test_data): Likewise.
33759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33761         [BZ #18586]
33762         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
33763         underflow exception for small results.
33765 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
33767         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33768         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
33769         variable and included header.
33770         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
33771         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
33772         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
33773         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
33774         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
33775         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
33776         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
33777         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
33778         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
33779         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
33780         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
33781         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
33782         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
33783         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
33784         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
33785         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
33787 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33789         [BZ #16526]
33790         [BZ #16538]
33791         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
33792         (__sin): Force underflow exception for arguments with small
33793         absolute value.
33794         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
33795         (__kernel_sinf): Force underflow exception for arguments with
33796         small absolute value.
33797         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
33798         (__kernel_sincosl): Force underflow exception for arguments with
33799         small absolute value.
33800         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
33801         (__kernel_sinl): Force underflow exception for arguments with
33802         small absolute value.
33803         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
33804         (__kernel_sincosl): Force underflow exception for arguments with
33805         small absolute value.
33806         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
33807         (__kernel_sinl): Force underflow exception for arguments with
33808         small absolute value.
33809         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
33810         (__kernel_sinl): Force underflow exception for arguments with
33811         small absolute value.
33812         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
33813         (__kernel_sinf): Force underflow exception for arguments with
33814         small absolute value.
33815         * math/auto-libm-test-in: Add more tests of sin and sincos.
33816         * math/auto-libm-test-out: Regenerated.
33818         [BZ #18245]
33819         [BZ #18583]
33820         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
33821         (__kernel_standard_l): Use feholdexcept and fesetenv around
33822         conversion to double instead of special-casing overflow and
33823         underflow.
33824         * math/libm-test.inc (fmod_test_data): Add more tests.
33825         (remainder_test_data): Likewise.
33826         (sqrt_test_data): Likewise.
33828 2015-06-23  Torvald Riegel  <triegel@redhat.com>
33830         [BZ #17403]
33831         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
33832         atomic_read_barrier, atomic_write_barrier): Define.
33833         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
33834         atomic_read_barrier, atomic_write_barrier): Define.
33836 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33838         * math/Makefile [$(PERL) != no]
33839         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
33840         dependency on libm-test.stmp below the inclusion of Rules.
33842 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
33844         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33845         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
33846         and included header.
33847         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
33848         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
33849         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
33850         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
33851         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
33852         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
33853         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
33854         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
33855         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
33856         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
33857         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
33858         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
33859         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
33860         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
33861         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
33862         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
33863         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
33864         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
33865         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
33867 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33869         [BZ #18371]
33870         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
33871         intermediate but not final result might underflow.
33872         * math/s_csqrtf.c (__csqrtf): Likewise.
33873         * math/s_csqrtl.c (__csqrtl): Likewise.
33874         * math/auto-libm-test-in: Add more tests of csqrt.
33875         * math/auto-libm-test-out: Regenerated.
33876         * sysdeps/i386/fpu/libm-test-ulps: Update.
33878         [BZ #18219]
33879         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
33880         threshold on absolute value of exponent for which scaling is used.
33881         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33882         * math/auto-libm-test-in: Add more tests of exp2.
33883         * math/auto-libm-test-out: Regenerated.
33885 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
33887         [BZ #17977]
33888         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
33889         when initializing interface list, based on the bug analysis
33890         and the patch proposed by Eric Newton.
33891         * resolv/tst-res_hconf_reorder.c: New test.
33892         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
33893         tst-res_hconf_reorder.
33894         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
33895         and $(shared-thread-library).
33896         (tst-res_hconf_reorder-ENV): New variable.
33898         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
33899         in comment.
33901 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
33903         [BZ #16353]
33904         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
33905         (__expm1): Force underflow exception for arguments with small
33906         absolute value.
33907         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
33908         (__expm1f): Force underflow exception for arguments with small
33909         absolute value.
33910         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
33911         (__expm1): Force underflow exception for arguments with small
33912         absolute value.
33913         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
33914         (__expm1f): Force underflow exception for arguments with small
33915         absolute value.
33916         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33917         Check for small arguments before calling __expm1.
33918         * math/auto-libm-test-in: Do not mark underflow exceptions as
33919         possibly missing for bug 16353.
33920         * math/auto-libm-test-out: Regenerated.
33922 2015-06-22  Andreas Schwab  <schwab@suse.de>
33924         [BZ #18513]
33925         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
33926         PTR queries.
33928 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
33930         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
33932         * string/strcoll_l.c: Remove unused struct element idxnow.
33934 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
33936         [BZ #18569]
33937         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
33938         underflow and return argument in case of subnormal argument.
33939         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33940         Likewise.
33941         * math/auto-libm-test-in: Add more tests of expm1.
33942         * math/auto-libm-test-out: Regenerated.
33944         [BZ #16361]
33945         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33946         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33947         tiny results.
33948         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33949         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33950         tiny results.
33951         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
33952         mark underflow exceptions as possibly missing for bug 16361.
33953         * math/auto-libm-test-out: Regenerated.
33955 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
33957         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
33958         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
33959         Remove variable.
33960         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33961         (test-xfail-XOPEN2K8/utmpx.h/conform).
33963         * conform/conformtest.pl ($xerrors): New variable.
33964         (note_error): New function.
33965         (compiletest): New argument $xfail.  Use not_error.
33966         (runtest): Likewise.
33967         (top level): Handle xfail- lines.  Update calls to compiletest and
33968         runtest.  Handle xfail- and optional- in headers listed with
33969         allow-header.
33970         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
33971         (O_EXEC): Likewise.
33972         (O_SEARCH): Likewise.
33973         * conform/data/stropts.h-data (ioctl): Likewise.
33974         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
33975         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
33976         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
33977         (msghdr.msg_controllen): Likewise.
33978         (cmsghdr.cmsg_len): Likewise.
33979         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
33980         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
33981         variable.
33982         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33983         (test-xfail-XPG4/stropts.h/conform): Likewise.
33984         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33985         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33986         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33987         (test-xfail-UNIX98/stropts.h/conform): Likewise.
33988         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33989         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33990         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33991         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33992         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33993         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33994         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33995         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33996         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33997         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33998         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33999         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34000         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34001         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34002         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34004 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
34006         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
34007         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
34008         definitions for proper unfolding of __MATHDECL_VEC.
34010 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
34012         * benchtests/bench-strcoll.c:
34013         Include string.h.
34014         (main): Remove unused variable res.
34016 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
34018         * timezone/Makefile (%/UTC %/Universal):
34019         Generate test-result files for UTC and Universal.
34021 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
34023         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34025 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
34027         [BZ #16350]
34028         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
34029         for arguments with small absolute value.
34030         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
34031         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
34032         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
34033         (__asinh): Force underflow exception for arguments with small
34034         absolute value.
34035         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
34036         (__asinhf): Force underflow exception for arguments with small
34037         absolute value.
34038         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
34039         (__asinhl): Force underflow exception for arguments with small
34040         absolute value.
34041         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
34042         (__asinhl): Force underflow exception for arguments with small
34043         absolute value.
34044         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
34045         (__asinhl): Force underflow exception for arguments with small
34046         absolute value.
34047         * math/auto-libm-test-in: Do not mark underflow exceptions as
34048         possibly missing for bug 16350.
34049         * math/auto-libm-test-out: Regenerated.
34051         * include/bits/ipc.h: Remove file.
34052         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
34053         variable.
34054         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34055         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34056         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34057         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34058         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34059         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34060         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34061         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34062         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34064         * math/auto-libm-test-in: Remove spurious underflow allowance for
34065         tests of cexp.
34066         * math/auto-libm-test-out: Regenerated.
34068         [BZ #18558]
34069         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
34070         unconditional definition.
34071         (MCAST_BLOCK_SOURCE): Likewise.
34072         (MCAST_UNBLOCK_SOURCE): Likewise.
34073         (MCAST_LEAVE_GROUP): Likewise.
34074         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34075         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34076         (MCAST_MSFILTER): Likewise.
34077         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
34078         Remove variable.
34079         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34080         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34081         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34082         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34083         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34085 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
34087         * NEWS: Mention addition of x86_64 vector sincosf.
34088         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
34089         * math/test-float-vlen4.h: Likewise.
34090         * math/test-float-vlen8.h: Likewise.
34091         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34092         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
34093         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34094         * sysdeps/x86_64/fpu/Versions: New versions added.
34095         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34096         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34097         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34098         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
34099         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
34100         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
34101         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
34102         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
34103         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
34104         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
34105         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
34106         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
34107         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
34108         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
34109         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
34110         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
34111         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
34112         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34113         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34114         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34115         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34116         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34117         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34118         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34120         * NEWS: Mention addition of x86_64 vector sincos.
34121         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
34122         * math/math.h (__MATHDECL_VEC): New macro.
34123         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
34124         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
34125         declaration under condition.
34126         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
34127         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
34128         TEST_VEC_LOOP change.
34129         * math/test-double-vlen4.h: Likewise.
34130         * math/test-double-vlen8.h: Likewise.
34131         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
34132         * math/test-float-vlen4.h: Likewise.
34133         * math/test-float-vlen8.h: Likewise.
34134         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34135         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
34136         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34137         * sysdeps/x86_64/fpu/Versions: New versions added.
34138         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34139         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34140         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34141         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
34142         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
34143         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
34144         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
34145         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
34146         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
34147         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
34148         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
34149         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
34150         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
34151         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
34152         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
34153         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
34154         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
34155         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34156         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34157         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34158         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34159         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34160         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34161         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34163         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34164         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34165         redirections for powf.
34166         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34167         * sysdeps/x86_64/fpu/Versions: New versions added.
34168         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34169         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34170         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34171         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
34172         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
34173         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
34174         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
34175         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
34176         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
34177         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
34178         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
34179         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
34180         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
34181         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
34182         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
34183         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
34184         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
34185         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34186         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34187         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34188         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34189         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34190         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34191         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34192         * math/test-float-vlen16.h: Fixed 2 argument macro.
34193         * math/test-float-vlen4.h: Likewise.
34194         * math/test-float-vlen8.h: Likewise.
34195         * NEWS: Mention addition of x86_64 vector powf.
34197 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
34199         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34200         and redefine.
34201         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34202         and redefine.
34203         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
34204         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34205         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34207         [BZ #18553]
34208         * resource/getpriority.c (getpriority): Rename to __getpriority
34209         and define as weak alias of __getpriority.
34210         * resource/setpriority.c (setpriority): Rename to __setpriority
34211         and define as weak alias of __setpriority.
34212         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
34213         __getpriority and define as weak alias of __getpriority.
34214         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
34215         __setpriority and define as weak alias of __setpriority.
34216         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
34217         strong name.
34218         (setpriority): Use __setpriority as strong name.
34219         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
34220         __getpriority and define as weak alias of __getpriority.
34221         * include/sys/resource.h (__getpriority): Declare.  Use
34222         libc_hidden_proto.
34223         (__setpriority): Likewise.
34224         (getpriority): Don't use libc_hidden_proto.
34225         (setpriority): Likewise.
34226         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
34227         getpriority.  Call __setpriority instead of setpriority.
34228         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
34229         Remove variable.
34231         [BZ #18547]
34232         * misc/getttyent.c (getttynam): Rename to __getttynam and define
34233         as weak alias of __getttynam.  Use prototype function definition.
34234         Call __setttyent, __getttyent and __endttyent instead of
34235         setttyent, getttyent and endttyent.
34236         (getttyent): Rename to __getttyent and define as weak alias of
34237         __getttyent.  Call __setttyent instead of setttyent.  Call
34238         __fgets_unlocked instead of fgets_unlocked.
34239         (setttyent): Rename to __setttyent and define as weak alias of
34240         __setttyent.
34241         (endttyent): Rename to __endttyent and define as weak alias of
34242         __endttyent.
34243         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
34244         (__setttyent): Likewise.
34245         (__endttyent): Likewise.
34246         (getttyent): Don't use libc_hidden_proto.
34247         (setttyent): Likewise.
34248         (endttyent): Likewise.
34249         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
34250         __endttyent instead of setttyent, getttyent and endttyent.
34251         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
34252         Remove variable.
34254         [BZ #18546]
34255         * socket/recv.c (__recv): Use libc_hidden_def.
34256         * socket/socket.c (__socket): Likewise.
34257         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
34258         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
34259         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
34260         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
34261         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
34262         libc_hidden_def.
34263         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
34264         libc_hidden_weak.
34265         * include/sys/socket.h (__socket): Do not use attribute_hidden.
34266         Use libc_hidden_proto.
34267         (__recv): Likewise.
34268         * socket/Versions (libc): Export __recv and __socket at version
34269         GLIBC_PRIVATE.
34270         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
34271         instead of recv.
34272         (init_mq_netlink): Call __socket instead of socket.
34273         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
34274         Remove variable.
34276         [BZ #18545]
34277         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
34278         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
34279         hidden_weak.
34280         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
34281         define as alias of __mq_timedsend.  Use hidden_weak.
34282         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
34283         __mq_timedsend as strong name.
34284         (mq_timedreceive): Use __mq_timedreceive as strong name.
34285         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
34286         (__mq_timedreceive): Likewise.
34287         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
34288         __mq_timedreceive instead of mq_timedreceive.
34289         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
34290         instead of mq_timedsend.
34291         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
34292         Remove variable.
34294         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
34295         hidden_def and hidden_weak instead of libc_hidden_def and
34296         libc_hidden_weak.
34297         (top level): Refer to hidden_def in comment.
34298         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
34299         macro.  Use it instead of libc_hidden_def.
34300         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
34301         specify __GI_* name explicitly.
34302         (mq_timedreceive): Likewise.
34303         (mq_setattr): Likewise.
34305         [BZ #18544]
34306         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
34307         __pthread_barrier_init and define as weak alias of
34308         __pthread_barrier_init.
34309         * sysdeps/sparc/nptl/pthread_barrier_init.c
34310         (pthread_barrier_init): Likewise.
34311         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
34312         __pthread_barrier_wait and define as weak alias of
34313         __pthread_barrier_wait.
34314         * sysdeps/sparc/nptl/pthread_barrier_wait.c
34315         (pthread_barrier_wait): Likewise.
34316         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
34317         (pthread_barrier_wait): Likewise.
34318         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
34319         (pthread_barrier_wait): Likewise.
34320         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
34321         (pthread_barrier_wait): Likewise.
34322         * nptl/Versions (libpthread): Export __pthread_barrier_init and
34323         __pthread_barrier_wait at version GLIBC_PRIVATE.
34324         * include/pthread.h (__pthread_barrier_init): Declare.
34325         (__pthread_barrier_wait): Likewise.
34326         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
34327         Call __pthread_barrier_wait instead of pthread_barrier_wait.
34328         (helper_thread): Likewise.
34329         (init_mq_netlink): Call __pthread_barrier_init instead of
34330         pthread_barrier_init.
34332         [BZ #18542]
34333         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
34334         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
34335         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
34336         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
34337         vswscanf.
34338         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
34339         Remove variable.
34341         [BZ #18540]
34342         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
34343         strong alias of _IO_fflush.  Use libc_hidden_def.
34344         * libio/iofflush_u.c (fflush_unlocked): Rename to
34345         __fflush_unlocked and define as weak alias of __fflush_unlocked.
34346         Use libc_hidden_weak.
34347         * include/stdio.h (__fflush_unlocked): Declare.  Use
34348         libc_hidden_proto.
34349         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
34350         fflush_unlocked.
34351         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
34352         Remove variable.
34354         [BZ #18539]
34355         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
34356         define as weak alias of __addseverity.
34357         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
34358         Remove variable.
34359         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
34360         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
34361         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
34363         [BZ #18536]
34364         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
34365         (__tfind): Likewise.
34366         (__tdelete): Likewise.
34367         (__twalk): Likewise.
34368         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
34369         __twalk to GLIBC_PRIVATE.
34370         * include/search.h (__tsearch): Use libc_hidden_proto.
34371         (__tfind): Likewise.
34372         (__tdelete): Likewise.
34373         (__twalk): Likewise.
34374         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
34375         Call __tdelete instead of tdelete.
34376         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
34377         tfind.  Call __tsearch instead of tsearch.
34378         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
34379         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
34380         Remove variable.
34381         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
34383         [BZ #18534]
34384         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
34385         (dprintf): Define as a weak alias of __dprintf, not a strong
34386         alias.
34387         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
34388         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
34389         dprintf.
34390         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
34391         Remove variable.
34392         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
34393         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
34395         [BZ #18533]
34396         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
34397         not a strong alias.
34398         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
34399         Remove variable.
34401         [BZ #18532]
34402         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
34403         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
34404         (in6addr_loopback): Rename to __in6addr_loopback and define as
34405         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
34406         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
34407         libc_hidden_proto.
34408         (__in6addr_any): Likewise.
34409         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
34410         in6addr_any.
34411         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
34412         variable.
34413         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
34415 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
34417         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
34418         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
34419         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34420         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34421         redirections for pow.
34422         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34423         * sysdeps/x86_64/fpu/Versions: New versions added.
34424         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34425         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34426         build of SSE, AVX2 and AVX512 IFUNC versions.
34427         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
34428         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
34429         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
34430         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
34431         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
34432         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
34433         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
34434         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
34435         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
34436         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
34437         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
34438         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
34439         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
34440         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
34441         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34442         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34443         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34444         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34445         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34446         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34447         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34448         * NEWS: Mention addition of x86_64 vector pow.
34450         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34451         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34452         redirections for expf.
34453         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34454         * sysdeps/x86_64/fpu/Versions: New versions added.
34455         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34456         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34457         build of SSE, AVX2 and AVX512 IFUNC versions.
34458         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
34459         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
34460         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
34461         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
34462         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
34463         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
34464         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
34465         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
34466         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
34467         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
34468         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
34469         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
34470         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
34471         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34472         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34473         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34474         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34475         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34476         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34477         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34478         * NEWS: Mention addition of x86_64 vector expf.
34480         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
34481         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
34482         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34483         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34484         redirections for exp.
34485         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34486         * sysdeps/x86_64/fpu/Versions: New versions added.
34487         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34488         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34489         build of SSE, AVX2 and AVX512 IFUNC versions.
34490         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
34491         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
34492         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
34493         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
34494         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
34495         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
34496         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
34497         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
34498         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
34499         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
34500         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
34501         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
34502         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
34503         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34504         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34505         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34506         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34507         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34508         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34509         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34510         * NEWS: Mention addition of x86_64 vector exp.
34512         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34513         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34514         redirections for logf.
34515         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34516         * sysdeps/x86_64/fpu/Versions: New versions added.
34517         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34518         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34519         build of SSE, AVX2 and AVX512 IFUNC versions.
34520         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
34521         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
34522         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
34523         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
34524         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
34525         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
34526         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
34527         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
34528         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
34529         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
34530         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
34531         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
34532         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
34533         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34534         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34535         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34536         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34537         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34538         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34539         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34540         * NEWS: Mention addition of x86_64 vector logf.
34542         * bits/libm-simd-decl-stubs.h: Added stubs for log.
34543         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
34544         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34545         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34546         redirections for log.
34547         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34548         * sysdeps/x86_64/fpu/Versions: New versions added.
34549         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34550         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34551         build of SSE, AVX2 and AVX512 IFUNC versions.
34552         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
34553         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
34554         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
34555         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
34556         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
34557         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
34558         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
34559         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
34560         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
34561         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
34562         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
34563         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
34564         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
34565         test.
34566         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34567         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34568         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34569         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34570         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34571         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34572         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34573         * NEWS: Mention addition of x86_64 vector log.
34575 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34577         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
34578         cfi_adjust_cfa_offset argument.
34579         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
34580         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
34582         [BZ #18034]
34583         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
34584         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
34585         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
34586         ordering using ldar.
34587         (_dl_tlsdesc_dynamic): Likewise.
34588         (_dl_tlsdesc_return_lazy): Likewise.
34589         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
34590         relaxed atomics instead of volatile and synchronize with release store.
34591         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
34592         volatile.
34593         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34595 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
34597         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34598         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
34599         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34600         * sysdeps/x86_64/fpu/Versions: New versions added.
34601         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34602         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34603         build of SSE, AVX2 and AVX512 IFUNC versions.
34604         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
34605         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
34606         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
34607         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
34608         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
34609         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
34610         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
34611         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
34612         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
34613         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
34614         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
34615         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
34616         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
34617         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34618         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34619         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34620         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34621         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34622         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34623         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34624         * NEWS: Mention addition of x86_64 vector sinf.
34626 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
34628         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
34629         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
34630         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
34631         Remove variable.
34632         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
34633         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
34635 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
34637         [BZ #18530]
34638         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
34639         strong alias of _IO_fputs.  Use libc_hidden_def.
34640         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
34641         and define as weak alias of __fputs_unlocked.  Use
34642         libc_hidden_weak.
34643         * include/stdio.h (__fputs_unlocked): Declare.  Use
34644         libc_hidden_proto.
34645         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
34646         fputs_unlocked.
34648         [BZ #18529]
34649         * resolv/netdb.h [__USE_POSIX]: Change condition to
34650         [__USE_XOPEN2K].
34651         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
34652         not expect.
34653         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
34654         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
34655         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
34656         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
34657         [XPG4 || UNIX98] (AI_ALL): Likewise.
34658         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
34659         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
34660         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
34661         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
34662         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
34663         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
34664         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
34665         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
34666         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
34667         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
34668         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
34669         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
34670         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
34671         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
34672         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
34673         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34674         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34675         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
34676         [XPG4 || UNIX98] (gai_strerror): Likewise.
34677         [XPG4 || UNIX98] (getaddrinfo): Likewise.
34678         [XPG4 || UNIX98] (getnameinfo): Likewise.
34680         [BZ #18528]
34681         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
34682         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
34683         __USE_XOPEN2K8].
34684         (getgrent): Likewise.
34685         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
34686         expect.
34687         [XPG3 || POSIX2008] (endgrent): Likewise.
34688         [XPG3] (setgrent): Likewise.
34689         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
34690         variable.
34691         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
34693         [BZ #18527]
34694         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
34695         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
34696         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
34697         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
34698         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
34699         * include/unistd.h (__getlogin_r): Declare.  Use
34700         libc_hidden_proto.
34701         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
34702         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
34703         variable.
34704         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
34705         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
34706         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
34708 2015-06-12  Martin Sebor  <msebor@redhat.com>
34710         [BZ #18512]
34711         * Makerules (check-install-supported): New target.
34712         (install): Add check-install-supported as a dependency.
34713         * manual/install.texi (Installing the C Library): Document
34714         that overriding prefix and exec_prefix is not supported.
34715         Mention DESTDIR.
34716         * INSTALL: Regenerate from the above.
34718 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
34720         [BZ #18519]
34721         * posix/Versions (libc): Export __libc_pread at version
34722         GLIBC_PRIVATE.
34723         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
34724         instead of pread.
34725         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
34726         variable.
34728         [BZ #18522]
34729         * misc/efgcvt_r.c
34730         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
34731         (cvt_symbol): Use weak_alias instead of strong_alias.
34732         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
34733         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
34734         Remove variable.
34735         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
34736         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
34738         [BZ #18520]
34739         * inet/herrno.c (h_errno): Rename to __h_errno.
34740         (__libc_h_errno): Define as alias of __h_errno not h_errno.
34741         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
34742         to __h_errno instead of h_errno.
34743         * nptl/herrno.c (h_errno): Rename to __h_errno.
34744         (__h_errno_location): Refer to __h_errno not h_errno.
34745         * resolv/Versions (h_errno): Rename to __h_errno.
34746         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
34747         Remove variable.
34748         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
34750 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
34752         * configure.ac: More strict check for AVX512 assembler support.
34753         * configure: Regenerated.
34755         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
34756         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
34757         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34758         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
34759         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34760         * sysdeps/x86_64/fpu/Versions: New versions added.
34761         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34762         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34763         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34764         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
34765         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
34766         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
34767         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
34768         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
34769         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
34770         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
34771         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
34772         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
34773         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
34774         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
34775         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
34776         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
34777         test.
34778         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34779         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34780         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34781         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34782         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34783         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34784         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34785         * NEWS: Mention addition of x86_64 vector sin.
34787 2015-06-11  Florian Weimer  <fweimer@redhat.com>
34789         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
34790         comment.
34792 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
34794         [BZ #18479]
34795         * nptl/pt-interp.c: New file.
34796         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
34797         Add pt-interp.
34798         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
34799         $(common-objpfx)runtime-linker.h.
34801 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
34803         * Makeconfig (+interp): Remove unused variable.
34804         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
34805         only.  Depend on $(common-objpfx)runtime-linker.h instead of
34806         $(elf-objpfx)runtime-linker.h.
34807         ($(elf-objpfx)runtime-linker.h): Rename to
34808         $(common-objpfx)runtime-linker.h and move ...
34809         * Makerules [$(build-shared) = yes]: ... here.
34810         * elf/interp.c: Include <runtime-linker.h> instead of
34811         <elf/runtime-linker.h>.
34813 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34815         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
34816         (__gettimeofday_syscall): Remove vsyscall fallback.
34817         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
34818         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
34819         Add syscall fallback function.
34820         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
34821         if vDSO is not present.
34822         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
34823         fallback function.
34824         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
34825         present.
34826         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
34827         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34829 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
34831         [BZ #18497]
34832         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
34833         of wcscmp.
34834         (wcscmp): Define as weak alias of WCSCMP.
34835         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
34836         wcscoll.
34837         (USE_HIDDEN_DEF): Define.
34838         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
34839         __wcscoll.  Don't use libc_hidden_weak.
34840         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
34841         wcscmp.
34842         * sysdeps/i386/i686/multiarch/wcscmp-c.c
34843         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
34844         __GI_wcscmp.
34845         (weak_alias): Undefine and redefine.
34846         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
34847         __wcscmp and define as weak alias of __wcscmp.
34848         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
34849         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
34850         (__wcscoll): Likewise.
34851         (wcscmp): Don't use libc_hidden_proto.
34852         (wcscoll): Likewise.
34853         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
34854         wcscoll.
34855         * posix/regexec.c (check_node_accept_bytes): Likewise.
34856         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
34857         variable.
34858         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
34859         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
34861         [BZ #18507]
34862         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
34863         __fstatvfs and define as weak alias of __fstatvfs.  Use
34864         libc_hidden_weak.
34865         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
34866         and define as weak alias of __statvfs.  Use libc_hidden_weak.
34867         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
34868         Define as alias of __fstatvfs, not fstatvfs.
34869         (fstatvfs64): Likewise.
34870         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
34871         Define as alias of __statvfs, not statvfs.
34872         (statvfs64): Likewise.
34873         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
34874         Remove variable.
34876 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34879         (HAVE_GETCPU_VSYSCALL): Define.
34880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34881         (HAVE_GETCPU_VSYSCALL): Likewise.
34882         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
34883         * sysdeps/unix/sysv/linux/sched_getcpu.c
34884         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
34885         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
34886         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
34887         prototype.
34888         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34889         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
34890         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
34891         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
34892         Define.
34893         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
34894         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34895         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
34896         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34898 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
34900         * sysdeps/x86_64/fpu/Makefile: New file.
34901         * sysdeps/x86_64/fpu/Versions: New file.
34902         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
34903         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
34904         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
34905         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
34906         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
34907         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
34908         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
34909         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
34910         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
34911         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
34912         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
34913         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
34914         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
34915         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34916         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34917         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
34918         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
34919         * sysdeps/x86_64/configure.ac: Options for libmvec build.
34920         * sysdeps/x86_64/configure: Regenerated.
34921         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
34922         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
34923         * manual/install.texi (Configuring and compiling): Document
34924         --disable-mathvec.
34925         * INSTALL: Regenerated.
34926         * NEWS: Mention addition of libmvec and x86_64 vector cos.
34928         * math/Makefile: Added rules for vector tests.
34929         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
34930         declaration under condition.
34931         * math/test-double-vlen2.h: New file.
34932         * math/test-double-vlen4.h: New file.
34933         * math/test-double-vlen8.h: New file.
34934         * math/test-vec-loop.h: Added initialization macro.
34935         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
34936         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
34937         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
34938         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
34939         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
34940         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
34941         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
34942         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
34943         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
34944         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
34945         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
34947         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34948         * sysdeps/x86_64/fpu/Versions: New versions added.
34949         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
34950         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
34951         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
34952         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
34953         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
34954         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
34955         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
34956         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
34957         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
34958         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
34959         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
34960         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
34961         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
34962         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34963         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34964         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34965         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
34966         * NEWS: Mention addition of x86_64 vector cosf.
34968         * math/Makefile: Added CFLAGS for new tests.
34969         * math/test-float-vlen16.h: New file.
34970         * math/test-float-vlen4.h: New file.
34971         * math/test-float-vlen8.h: New file.
34972         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
34973         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
34974         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34975         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
34976         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
34977         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
34978         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
34979         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
34980         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
34981         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
34982         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
34984 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
34986         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
34987         * locale/programs/ld-ctype.c: Likewise.
34989 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
34991         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
34992         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
34993         bit_ZMM16_31_state): New macro.
34994         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34995         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
34997 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
34999         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
35001 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
35003         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
35005 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
35007         [BZ #18498]
35008         * libio/memstream.c (open_memstream): Rename to __open_memstream
35009         and define as weak alias of __open_memstream.
35010         * include/stdio.h (__open_memstream): Declare.  Use
35011         libc_hidden_proto.
35012         (open_memstream): Don't use libc_hidden_proto.
35013         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
35014         open_memstream.
35015         * posix/getopt.c (_getopt_internal_r): Likewise.
35016         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
35017         variable.
35018         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35019         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35020         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35022         [BZ #18496]
35023         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
35024         instead of wcrtomb.
35026         [BZ #18483]
35027         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
35028         [__USE_XOPEN2K8].  Remove redundant #endif.
35029         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
35030         Remove redundant #if.
35031         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
35032         Remove variable.
35033         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35034         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35036         [BZ #18495]
35037         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
35038         (__iswlower): Likewise.
35039         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
35040         (__iswlower): Likewise.
35041         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
35042         instead of towlower.
35043         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
35044         instead of iswlower.  Call __towupper instead of towupper.
35045         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
35046         instead of iswalnum.
35048 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35050         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
35051         errors to stderr.
35053 2015-06-05  Florian Weimer  <fweimer@redhat.com>
35055         [BZ #15661]
35056         [BZ #17322]
35057         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
35058         Check for overflow properly.  Check for O_APPEND.  Ignore large
35059         file system block sizes.  Add comments about problems.
35060         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
35061         * manual/filesys.texi (Storage Allocation): New node.
35063 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35065         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
35066         cancellable syscalls.
35067         (SYS_ify): Add guard to no redefine it.
35068         (INLINE_SYSCALL): Likewise.
35069         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
35070         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
35071         SYSCALL_CANCEL instead.
35072         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
35073         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35074         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35075         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35076         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35077         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
35078         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
35079         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
35080         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
35081         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
35082         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
35083         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
35084         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
35085         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
35086         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
35087         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35088         Likewise.
35089         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35090         (__libc_pread64): Likewise.
35091         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
35092         (__libc_preadv): Likewise.
35093         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
35094         (__libc_readv64): Likewise.
35095         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35096         (__libc_pwrite): Likewise.
35097         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35098         (__libc_pwrite64): Likewise.
35099         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
35100         (__libc_pwritev): Likewise.
35101         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
35102         (__libc_pwritev64): Likewise.
35103         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
35104         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
35105         (sync_file_range): Likewise.
35106         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
35107         Likewise.
35108         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
35109         Likewise.
35110         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35111         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35112         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35113         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35114         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35115         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35116         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
35117         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
35118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35119         Likewise.
35120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35121         (__libc_read64): Likewise.
35122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
35123         Likewise.
35124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
35125         Likewise.
35126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
35127         Likewise.
35128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
35129         Likewise.
35130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35131         (__libc_pread64): Likewise.
35132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
35133         Likewise.
35134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35135         (__libc_pwrite64): Likewise.
35136         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
35137         (sync_file_range): Likewise.
35138         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
35139         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35140         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35141         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
35142         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
35143         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35144         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35145         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
35146         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
35147         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
35148         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35149         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35150         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35151         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35152         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
35153         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35154         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35155         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35156         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35157         Likewise.
35158         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
35159         Likewise.
35160         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
35161         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
35162         Likewise.
35163         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
35164         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
35165         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
35166         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
35167         Likewise.
35168         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
35169         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
35170         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
35171         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
35172         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
35174 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
35176         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
35177         Include dl-vdso.
35178         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
35179         Use VDSO routines for gettimeofday, clock_gettime if
35180         available.
35181         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
35182         Declare VDSO symbols.
35183         * sysdeps/unix/sysv/linux/arm/sysdep.h:
35184         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
35185         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35186         * sysdeps/unix/sysv/linux/arm/Versions: Add
35187         __vdso_clock_gettime.
35189 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35191         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
35192         be an inline implementation regardless of library is built within.
35193         (open_not_cancel_2): Likewise.
35194         (__read_nocancel): Likewise.
35195         (__write_nocancel): Likewise.
35196         (openat_not_cancel): Likewise.
35197         (openat_not_cancel_3): Likewise.
35198         (openat64_not_cancel): Likewise.
35199         (openat64_not_cancel_3): Likewise.
35200         (__close_nocancel): Likewise.
35201         (pause_not_cancel): Likewise.
35202         (nanosleep_not_cancel): Likewise.
35203         (sigsuspend_not_cancel): Likewise.
35205 2015-06-04  Torvald Riegel  <triegel@redhat.com>
35207         [BZ #14958]
35208         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
35209         wake-up.
35210         (__pthread_rwlock_rdlock_slow): Likewise.
35211         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35212         Likewise.
35213         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
35214         Likewise.
35215         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
35216         * nptl/tst-rwlock16.c: New file.
35217         * nptl/Makefile (tests): Add new test.
35219 2015-06-04  Torvald Riegel  <triegel@redhat.com>
35221         [BZ #18324]
35222         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
35223         missing wake-up of readers.
35224         * nptl/tst-rwlock15.c: New file.
35225         * nptl/Makefile (tests): Add new test.
35227 2015-06-03  Roland McGrath  <roland@hack.frob.com>
35229         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
35230         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
35231         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
35232         and __nacl_supply_interface_rtld.
35233         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
35234         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
35235         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
35236         Add __nacl_supply_interface_rtld.
35237         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
35239 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
35241         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
35242         isfinite.
35243         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35244         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
35246 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
35248         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
35249         __signbit* with standard C99 macros.
35250         * math/e_exp10l.c: Likewise.
35251         * math/e_exp2l.c: Likewise.
35252         * math/e_scalb.c: Likewise.
35253         * math/e_scalbf.c: Likewise.
35254         * math/e_scalbl.c: Likewise.
35255         * math/s_ldexp.c: Likewise.
35256         * math/s_ldexpf.c: Likewise.
35257         * math/s_ldexpl.c: Likewise.
35258         * math/w_atan2.c: Likewise.
35259         * math/w_atan2f.c: Likewise.
35260         * math/w_atan2l.c: Likewise.
35261         * math/w_cosh.c: Likewise.
35262         * math/w_coshf.c: Likewise.
35263         * math/w_coshl.c: Likewise.
35264         * math/w_exp10.c: Likewise.
35265         * math/w_exp10f.c: Likewise.
35266         * math/w_exp10l.c: Likewise.
35267         * math/w_exp2.c: Likewise.
35268         * math/w_exp2f.c: Likewise.
35269         * math/w_exp2l.c: Likewise.
35270         * math/w_fmod.c: Likewise.
35271         * math/w_fmodf.c: Likewise.
35272         * math/w_fmodl.c: Likewise.
35273         * math/w_hypot.c: Likewise.
35274         * math/w_hypotf.c: Likewise.
35275         * math/w_hypotl.c: Likewise.
35276         * math/w_jnl.c: Likewise.
35277         * math/w_lgamma.c: Likewise.
35278         * math/w_lgamma_r.c: Likewise.
35279         * math/w_lgammaf.c: Likewise.
35280         * math/w_lgammaf_r.c: Likewise.
35281         * math/w_lgammal.c: Likewise.
35282         * math/w_lgammal_r.c: Likewise.
35283         * math/w_pow.c: Likewise.
35284         * math/w_powf.c: Likewise.
35285         * math/w_powl.c: Likewise.
35286         * math/w_remainder.c: Likewise.
35287         * math/w_remainderf.c: Likewise.
35288         * math/w_remainderl.c: Likewise.
35289         * math/w_scalb.c: Likewise.
35290         * math/w_scalbf.c: Likewise.
35291         * math/w_scalbl.c: Likewise.
35292         * math/w_scalbln.c: Likewise.
35293         * math/w_scalblnf.c: Likewise.
35294         * math/w_scalblnl.c: Likewise.
35295         * math/w_sinh.c: Likewise.
35296         * math/w_sinhf.c: Likewise.
35297         * math/w_sinhl.c: Likewise.
35298         * math/w_tgamma.c: Likewise.
35299         * math/w_tgammaf.c: Likewise.
35300         * math/w_tgammal.c: Likewise.
35301         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35302         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
35303         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35304         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35305         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35306         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35307         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35308         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35309         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35310         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35311         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35312         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35313         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35314         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35315         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35316         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35317         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35318         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35319         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35320         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35321         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35322         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35323         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35324         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35325         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35326         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35327         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
35328         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35329         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35330         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35331         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
35332         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
35333         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
35334         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
35335         * stdio-common/printf_fp.c: Likewise.
35336         * stdio-common/printf_fphex.c: Likewise.
35337         * stdio-common/printf_size.c: Likewise.
35339 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
35341         [BZ #18470]
35342         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
35343         strnlen.
35344         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
35345         Remove variable.
35346         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35347         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35348         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35349         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35350         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35351         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35352         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35353         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35354         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35355         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35357         [BZ #18468]
35358         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
35359         weak alias of __wmemchr.  Use libc_hidden_weak.
35360         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
35361         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
35362         instead of wmemchr.
35364 2015-06-02  Roland McGrath  <roland@hack.frob.com>
35366         [BZ #18383]
35367         * elf/tst-tlsalign-extern.c: New file.
35368         * elf/tst-tlsalign-extern-static.c: New file.
35369         * elf/tst-tlsalign-vars.c: New file.
35370         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
35371         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
35372         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
35373         ($(objpfx)tst-tlsalign-extern-static): Likewise.
35374         (test-xfail-tst-tlsalign-extern-static): New variable.
35376 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
35378         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
35379         Use variable name _sc_err instead of err.
35380         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
35381         instead of ret.
35382         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
35383         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
35384         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
35385         (INLINE_SYSCALL): Likewise.
35387         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
35388         * include/string.h (__strnlen): Use libc_hidden_proto.
35389         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
35390         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
35391         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
35392         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
35393         (libc_hidden_def): Undefine and redefine.
35394         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
35395         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
35396         __GI_strnlen.
35397         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
35398         libc_hidden_def.
35399         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
35401         [BZ #18469]
35402         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
35403         weak alias of __towlower.  Use libc_hidden_weak.
35404         (towupper): Rename to __towupper and define as weak alias of
35405         __towupper.  Use libc_hidden_weak.
35406         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
35407         (__towupper): Likewise.
35408         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
35409         __towlower instead of towlower.
35411 2015-06-02  Roland McGrath  <roland@hack.frob.com>
35413         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
35414         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
35416 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35418         * sysdeps/aarch64/libm-test-ulps: Update.
35420 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35422         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
35423         Define.
35424         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35425         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35426         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35427         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35428         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
35429         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
35430         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
35432 2015-06-01  Martin Sebor  <msebor@redhat.com>
35434         [BZ #18116]
35435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35436         (__setcontext): Use extended four-operand version of mtsf whenever
35437         possible.
35438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35439         (__novec_swapcontext): Likewise.
35441 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35443         * benchtests/scripts/compare_bench.py: New file.
35444         * benchtests/scripts/import_bench.py (mean): New function.
35445         (split_list): Likewise.
35446         (do_for_all_timings): Likewise.
35447         (compress_timings): Likewise.
35449         * benchtests/scripts/import_bench.py: New file.
35450         * benchtests/scripts/validate_benchout.py: Import import_bench
35451         instead of jsonschema.
35452         (validate_bench): Remove function.
35453         (main): Use import_bench.
35455 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
35457         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
35458         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
35460 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35464 2015-05-28  Roland McGrath  <roland@hack.frob.com>
35466         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
35467         set THREAD_SELF->tid to a magic value and futex-wake it.
35468         Pass its address to the thread_exit system call.
35469         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
35470         bit is clear.
35471         * sysdeps/nacl/lowlevellock.h: New file.
35472         * sysdeps/nacl/lll_timedwait_tid.c: New file.
35474         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
35475         Add TIMEOUT to current time, don't subtract it.
35477 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
35479         [BZ #2981]
35480         [BZ #18422]
35481         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
35482         ($(objpfx)tst-audit2.out): Also depend on
35483         $(objpfx)tst-auditmod9b.so.
35484         * elf/tst-audit2.c: Include <dlfcn.h>.
35485         (calloc_called): New.
35486         (calloc): Allow to be called more than once.
35487         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
35489 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
35491         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
35492         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
35494 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
35496         * stdlib/monetary.h: Fix comment.
35498 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
35500         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
35501         Avoid using variables in #defines that might cause shadowing.
35502         (INTERNAL_VSYSCALL_CALL): Likewise.
35504 2015-05-26  Roland McGrath  <roland@hack.frob.com>
35506         * sysdeps/nacl/lll_timedlock_wait.c: New file.
35508         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
35509         * nptl/lll_timedlock_wait.c: ... to this new file.
35510         * nptl/Makefile (libpthread-routines): Add it.
35511         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
35512         * nptl/lll_timedwait_tid.c: ... to this new file.
35513         * nptl/Makefile (libpthread-routines): Add it.
35514         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
35515         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
35516         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
35517         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
35518         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
35519         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
35520         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
35521         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
35522         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
35523         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
35525 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35527         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
35528         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35529         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
35530         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
35531         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
35532         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35533         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35534         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35535         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35536         * sysdeps/unix/sysv/linux/tile/sysdep.h
35537         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35538         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
35539         using vDSO syscall macro.
35541 2015-05-26  Andriy Rysin  <arysin@gmail.com>
35543         [BZ #17293]
35544         * uk_UA: Fix sorting order for Ukrainian locale
35546 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
35548         * stdlib/monetary.h: Fix comment.
35550 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35552         [BZ #18234]
35553         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
35554         st_mtim and st_ctim members.
35555         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
35556         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
35557         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
35558         (struct stat64): Likewise.
35559         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
35560         (struct stat64): Likewise.
35561         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
35562         (struct stat64): Likewise.
35564 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35566         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
35567         Define and include sysdep-vdso.h.
35568         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
35569         Likewise.
35570         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
35571         Likewise.
35572         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
35573         Define with VDSO_SYMBOL and use PTR_MANGLE.
35574         (__vdso_clock_gettime): Likewise.
35575         (__vdso_clock_getres): Likewise.
35576         (_libc_vdso_platform_setup): Likewise.
35577         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
35578         Likewise.
35579         (_libc_vdso_platform_setup): Likewise.
35580         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
35581         Likewise.
35582         (__vdso_clock_gettime): Likewise.
35583         (__vdso_clock_getres): Likewise.
35584         (__vdso_get_tbfreq): Likewise.
35585         (__vdso_getcpu): Likewise.
35586         (__vdso_time): Likewise.
35587         (__vdso_sigtramp_rt64): Likewise.
35588         (__vdso_signtramp32): Likewise.
35589         (__vdso_sigtramp_rt32): Likewise.
35590         (_libc_vdso_platform_setup): Likewise.
35591         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
35592         Likewise.
35593         (__vdso_clock_gettime): Likewise.
35594         (__vdso_clock_getres): Likewise.
35595         (_libc_vdso_platform_setup): Likewise.
35596         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
35597         Likewise.
35598         (__vdso_clock_gettime): Likewise.
35599         (_libc_vdso_platform_setup): Likewise.
35600         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
35601         Likewise.
35602         (__vdso_getcpu): Likewise.
35603         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
35604         Use VDSO_SYMBOL macro to define.
35605         (__vdso_clock_gettime): Likewise.
35606         (__vdso_clock_getres): Likewise.
35607         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
35608         Likewise.
35609         (__vdso_clock_gettime): Likewise.
35610         (__vdso_clock_getres): Likewise.
35611         (__vdso_get_tbfreq): Likewise.
35612         (__vdso_getcpu): Likewise.
35613         (__vdso_time): Likewise.
35614         (__vdso_sigtramp_rt64): Likewise.
35615         (__vdso_signtramp32): Likewise.
35616         (__vdso_sigtramp_rt32): Likewise.
35617         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
35618         Likewise.
35619         (__vdso_clock_gettime): Likewise.
35620         (__vdso_clock_getres): Likewise.
35621         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
35622         Likewise.
35623         (__vdso_clock_gettime): Likewise.
35624         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
35625         Likewise.
35626         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
35627         macro.
35628         (INTERNAL_VSYSCALL): Likewise.
35629         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
35630         Remove macro.
35631         (INTERNAL_VSYSCALL): Likewise.
35632         (INTERNAL_VSYSCALL_NCS): Likewise.
35633         (INTERNAL_VSYSCALL_CALL): New macro.
35634         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35635         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
35636         Likewise.
35637         (INTERNAL_VSYSCALL): Likewise.
35638         (INTERNAL_VSYSCALL_NCS): Likewise.
35639         (INTERNAL_VSYSCALL_CALL): New macro.
35640         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35642         (INLINE_VSYSCALL): Remove macro.
35643         (INTERNAL_VSYSCALL): Remove macro.
35644         (INTERNAL_VSYSCALL_NCS): Remove macro.
35645         (INTERNAL_VSYSCALL_CALL): New macro.
35646         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
35647         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
35648         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35649         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
35650         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35652         (INLINE_VSYSCALL): Remove macro.
35653         (INTERNAL_VSYSCALL): Likewise.
35654         (INTERNAL_VSYSCALL_NCS): Likewise.
35655         (INTERNAL_VSYSCALL_CALL): New macro.
35656         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
35657         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
35658         PTR_DEMANGLE on vDSO pointer.
35659         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35660         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
35661         macro.
35662         (INTERNAL_SYSCALL): Likewise.
35663         (INTERNAL_VSYSCALL_NCS): Remove macro.
35664         (INTERNAL_VSYSCALL_CALL): New macro.
35665         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
35666         Remove macro.
35667         (INTERNAL_VSYSCALL): Likewise.
35668         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
35669         sysdep-vdso.h instead of libc-vdso.h.
35670         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
35671         definition.
35672         (INLINE_VSYSCALL): Likewise.
35673         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
35674         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
35675         definition.
35676         (INLINE_VSYSCALL): Likewise.
35677         (INTERNAL_VSYSCALL): Likewise.
35678         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35679         * sysdeps/unix/sysv/linux/timespec_get.c
35680         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35681         (timespec_get): Use ANSI prototype.
35682         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
35683         and definition for Linux.
35685 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
35687         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
35688         * include/libc-symbols.h: libmvec_hidden_* macro series added.
35690 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35692         [BZ #2981]
35693         [BZ #18410]
35694         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
35695         for missing DT_PLTRELSZ.
35697 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35699         Remove obsolete aliases that broke 'locale -a'
35700         [BZ #18412]
35701         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
35702         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
35703         breaking some applications that use 'locale -a' output.
35704         Change the encoding of this file from Latin-1 to ASCII to avoid
35705         other potential problems with people grepping this file.
35707 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35709         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
35710         -fasynchronous-unwind-tables.
35711         (CFLAGS-sendto.c): Likewise.
35712         (CFLAGS-sendmsg.c): Likewise.
35713         (CFLAGS-connect.c): Likewise.
35714         (CFLAGS-recvmsg.c): Likewise.
35715         (CFLAGS-recvfrom.c): Likewise.
35716         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
35717         (SOCKETCALL): New macro: non-cancellable socketcall.
35718         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
35719         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
35720         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
35721         * sysdeps/unix/sysv/linux/accept.c: New file.
35722         * sysdeps/unix/sysv/linux/bind.c: Likewise.
35723         * sysdeps/unix/sysv/linux/connect.c: Likewise.
35724         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
35725         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
35726         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
35727         * sysdeps/unix/sysv/linux/listen.c: Likewise.
35728         * sysdeps/unix/sysv/linux/recv.c: Likewise.
35729         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
35730         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
35731         * sysdeps/unix/sysv/linux/send.c: Likewise.
35732         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
35733         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
35734         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
35735         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
35736         * sysdeps/unix/sysv/linux/socket.c: Likewise.
35737         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
35738         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
35739         prototype.
35740         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
35741         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35742         instead of __internal_xxx function.
35743         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
35744         prototype.
35745         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
35746         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35747         instead of __internal_xxx function.
35748         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
35749         prototype.
35750         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
35751         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35752         instead of __internal_xxx function.
35753         * sysdeps/unix/sysv/linux/accept.S: Remove file.
35754         * sysdeps/unix/sysv/linux/bind.S: Likewise.
35755         * sysdeps/unix/sysv/linux/connect.S: Likewise.
35756         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
35757         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
35758         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
35759         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
35760         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
35761         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
35762         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
35763         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
35764         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35765         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
35766         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
35767         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
35768         * sysdeps/unix/sysv/linux/listen.S: Likewise.
35769         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
35770         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
35771         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
35772         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
35773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
35774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
35775         * sysdeps/unix/sysv/linux/recv.S: Likewise.
35776         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
35777         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
35778         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
35779         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35780         * sysdeps/unix/sysv/linux/send.S: Likewise.
35781         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
35782         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
35783         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
35784         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
35785         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
35786         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
35787         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
35788         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
35789         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
35790         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
35791         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
35792         socketcall is implemented in GLIBC.
35794 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35796         * soft-fp/fmadf4.c: Include <libc-internal.h>.
35797         (__fma): Ignore uninitialized warnings around packing.
35798         * soft-fp/fmasf4.c: Include <libc-internal.h>.
35799         (__fmaf): Ignore uninitialized warnings around packing.
35800         * soft-fp/fmatf4.c: Include <libc-internal.h>.
35801         (__fmal): Ignore uninitialized warnings around packing.
35803         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
35804         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35805         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
35806         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35808         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
35809         switch statement into default case.
35810         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
35812         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
35813         a conditional in forcing "inexact".
35814         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35815         Likewise.
35817 2015-05-22  Roland McGrath  <roland@hack.frob.com>
35819         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35820         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
35821         for each INTERNAL_SYSCALL use.
35823 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35825         [BZ #438]
35826         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
35827         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
35828         variable.
35830         [BZ #18444]
35831         * string/basename.c (basename): Rename to __basename and define as
35832         weak alias of __basename.  Use libc_hidden_weak.
35833         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
35834         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
35835         __basename instead of basename.
35836         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
35837         Remove variable.
35838         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35840 2015-05-18  Florian Weimer  <fweimer@redhat.com>
35842         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
35843         (_IO_JUMPS_FILE_plus): New.
35844         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
35845         _IO_CAST_FIELD_ACCESS.
35846         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
35847         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
35848         * libio/freopen.c (freopen): Likewise.
35849         * libio/freopen64.c (freopen64): Likewise.
35850         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
35851         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
35852         * libio/iofwide.c (_IO_fwide): Likewise.
35853         * libio/memstream.c (open_memstream): Likewise.
35854         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35855         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
35856         * libio/oldiopopen.c (_IO_old_popen): Likewise.
35858 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
35860         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
35861         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
35862         NADJ.
35863         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
35864         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
35865         NADJ.
35866         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
35867         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
35868         NADJ.
35870         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
35871         (p == 4) case.
35873         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
35874         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
35875         Remove variable.
35876         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35877         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35878         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35880 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35882         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
35883         Adjust jump table label generation macros.
35885 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35887         * stdio-common/vfprintf.c (vfprintf): Move local variables
35888         args_malloced, specs, specs_malloced, and the code after
35889         do_positional to the printf_positional function.
35890         (printf_positional): New function.
35892 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35894         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
35895         function.
35896         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
35897         STEP4_TABLE, process_arg): Move macro definitions
35898         out of the vfprintf function.  (Cosmetic change only.)
35900 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
35902         * benchtests/Makefile (stdio-common-bench): Define.
35903         (benchset): Add stdio-common-bench.
35904         * sprintf-inputs: New file.
35905         * sprintf-source.c: New file.
35907 2015-05-21  Andreas Schwab  <schwab@suse.de>
35909         [BZ #13028]
35910         [BZ #17053]
35911         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
35912         of struct __res_state.
35913         * resolv/res_send.c (__libc_res_nsend): Likewise.
35914         (get_nsaddr): New function.
35915         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
35916         statp directly.
35918 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
35920         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
35921         -D_POSIX_C_SOURCE=199506L.
35923         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
35925         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
35926         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
35927         Do not mention otherwise.
35928         [POSIX] (_XOPEN_VERSION): Do not expect.
35929         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
35930         [POSIX] (_POSIX2_C_BIND): Likewise.
35931         [POSIX] (_POSIX2_VERSION): Likewise.
35932         [POSIX] (_XOPEN_XPG2): Likewise.
35933         [POSIX] (_XOPEN_XPG3): Likewise.
35934         [POSIX] (_XOPEN_XPG4): Likewise.
35935         [POSIX] (_XOPEN_UNIX): Likewise.
35936         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
35937         [POSIX] (_POSIX_BARRIERS): Likewise.
35938         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
35939         [POSIX] (_POSIX_CPUTIME): Likewise.
35940         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
35941         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
35942         [POSIX] (_POSIX_SHELL): Likewise.
35943         [POSIX] (_POSIX_SPAWN): Likewise.
35944         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
35945         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
35946         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
35947         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
35948         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
35949         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
35950         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
35951         [POSIX] (_XBS5_LP64_OFF64): Likewise.
35952         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
35953         [POSIX] (_POSIX_TIMEOUTS): Likewise.
35954         [POSIX] (_POSIX2_PBS): Likewise.
35955         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
35956         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
35957         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
35958         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
35959         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
35960         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
35961         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
35962         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
35963         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
35964         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
35965         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
35966         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
35967         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
35968         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
35969         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
35970         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
35971         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
35972         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
35973         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
35974         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
35975         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
35976         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
35977         [POSIX] (_SC_2_C_BIND): Likewise.
35978         [POSIX] (_SC_2_C_VERSION): Likewise.
35979         [POSIX] (_SC_2_PBS): Likewise.
35980         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
35981         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
35982         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
35983         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
35984         [POSIX] (_SC_2_PBS_TRACK): Likewise.
35985         [POSIX] (_SC_ATEXIT_MAX): Likewise.
35986         [POSIX] (_SC_BARRIERS): Likewise.
35987         [POSIX] (_SC_BASE): Likewise.
35988         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
35989         [POSIX] (_SC_DEVICE_IO): Likewise.
35990         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
35991         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
35992         [POSIX] (_SC_FD_MGMT): Likewise.
35993         [POSIX] (_SC_FIFO): Likewise.
35994         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
35995         [POSIX] (_SC_FILE_LOCKING): Likewise.
35996         [POSIX] (_SC_FILE_SYSTEM): Likewise.
35997         [POSIX] (_SC_IOV_MAX): Likewise.
35998         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
35999         [POSIX] (_SC_NETWORKING): Likewise.
36000         [POSIX] (_SC_PAGE_SIZE): Likewise.
36001         [POSIX] (_SC_PASS_MAX): Likewise.
36002         [POSIX] (_SC_PIPE): Likewise.
36003         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
36004         [POSIX] (_SC_REGEXP): Likewise.
36005         [POSIX] (_SC_SHELL): Likewise.
36006         [POSIX] (_SC_SIGNALS): Likewise.
36007         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
36008         [POSIX] (_SC_SPIN_LOCKS): Likewise.
36009         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
36010         [POSIX] (_SC_USER_GROUPS): Likewise.
36011         [POSIX] (_SC_USER_GROUPS_R): Likewise.
36012         [POSIX] (_SC_STREAMS): Likewise.
36013         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
36014         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
36015         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
36016         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
36017         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
36018         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
36019         [POSIX] (_PC_FILESIZEBITS): Likewise.
36020         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
36021         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
36022         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
36023         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
36024         [POSIX] (uid_t): Likewise.
36025         [POSIX] (gid_t): Likewise.
36026         [POSIX] (off_t): Likewise.
36027         [POSIX] (pid_t): Likewise.
36028         [POSIX] (cuserid): Allow.
36029         (_SC_2_CHAR_TERM): Require constant.
36030         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
36031         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
36032         variable.
36034 2015-05-20  Roland McGrath  <roland@hack.frob.com>
36036         * sysdeps/nacl/pthread-pids.h: New file.
36037         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
36038         (create_thread): Use __nacl_get_tid to initialize PD->tid.
36040         * nptl/pthread-pids.h: New file.
36041         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
36042         * nptl/nptl-init.c: Include <pthread-pids.h>.
36043         (__pthread_initialize_minimal_internal):
36044         Call __pthread_initialize_pids instead of set_tid_address syscall.
36046         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
36047         * sysdeps/posix/usleep.c: ... here.
36049 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36051         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
36052         call_pselect6 object.
36053         [$(subdir) = io]: Remove call_sync_file_range object.
36054         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
36055         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
36056         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
36057         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
36059 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
36061         * math/s_cproj.c: Add include "math_private.h".
36062         * math/s_cprojf.c: Likewise.
36063         * math/s_cprojl.c: Likewise.
36065 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
36067         [BZ #18244]
36068         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
36069         high mantissa bit when testing whether P is a NaN.
36070         * math/libm-test.inc (remainder_test_data): Add more tests.
36071         (remquo_test_data): Likewise.
36073         [BZ #18049]
36074         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
36075         below -32, return the argument, with underflow if subnormal.
36076         * math/auto-libm-test-in: Add more tests of atanh.
36077         * math/auto-libm-test-out: Regenerated.
36079 2015-05-19  Roland McGrath  <roland@hack.frob.com>
36081         [BZ #18434]
36082         * nptl/tst-sem15.c: New file.
36083         * nptl/Makefile (tests): Add it.
36084         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
36085         s/<</>>/ to fix typo in EOVERFLOW check.
36086         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
36088 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36090         * manual/strings.texi (envz_remove): Fix typo in safety
36091         annotations.
36093 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
36094             Steve Ellcey  <sellcey@imgtec.com>
36096         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
36097         in order to avoid strict alias warnings.
36098         (iruserok_af): Ditto for ra.
36100 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
36102         [BZ #17581]
36103         * malloc/hooks.c
36104         (magicbyte): Convert to a function and avoid returning 0x01.
36105         (mem2mem_check): Avoid using a length byte equal to the magic byte.
36106         (mem2chunk_check): Fix unsigned comparisons to zero.
36107         Hoist defs of sz and magic.
36109 2015-05-19  Richard Henderson  <rth@redhat.com>
36111         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
36113         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36115 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36117         [BZ #16159]
36118         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
36119         * malloc/arena.c (arena_lock): Check if arena is corrupt.
36120         (reused_arena): Find a non-corrupt arena.
36121         (heap_trim): Pass arena to unlink.
36122         * malloc/hooks.c (malloc_check_get_size): Pass arena to
36123         malloc_printerr.
36124         (top_check): Likewise.
36125         (free_check): Likewise.
36126         (realloc_check): Likewise.
36127         * malloc/malloc.c (malloc_printerr): Add arena argument.
36128         (unlink): Likewise.
36129         (munmap_chunk): Adjust.
36130         (ARENA_CORRUPTION_BIT): New macro.
36131         (arena_is_corrupt): Likewise.
36132         (set_arena_corrupt): Likewise.
36133         (sysmalloc): Use mmap if there are no usable arenas.
36134         (_int_malloc): Likewise.
36135         (__libc_malloc): Don't fail if arena_get returns NULL.
36136         (_mid_memalign): Likewise.
36137         (__libc_calloc): Likewise.
36138         (__libc_realloc): Adjust for additional argument to
36139         malloc_printerr.
36140         (_int_free): Likewise.
36141         (malloc_consolidate): Likewise.
36142         (_int_realloc): Likewise.
36143         (_int_memalign): Don't touch corrupt arenas.
36144         * malloc/tst-malloc-backtrace.c: New test case.
36146         * Makefile (summarize-tests): Fix return value on success.
36148         * manual/string.texi (Envz Functions): Add envz_remove.
36150 2015-05-18  Roland McGrath  <roland@hack.frob.com>
36152         * sysdeps/posix/opendir.c: Include <stdbool.h>.
36153         (invalid_name): New function, broken out of ...
36154         (__opendirat): ... here.  Call it.
36155         (need_isdir_precheck): New function, broken out of ...
36156         (__opendirat): ... here.  Call it.
36157         Use __fxstatat64, not __xstatat64.
36158         (opendir_oflags): New function, broken out of ...
36159         (__opendirat): ... here.  Call it.
36160         (opendir_tail): New function, broken out of ...
36161         (__opendirat): ... here.  Call it.
36162         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
36163         opendir_tail, rather than punting to __opendirat.
36164         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
36166 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36168         * .gitignore: Ignore generated *.pyc.
36170 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
36172         * include/stdio.h: Define __need_wint_t.
36173         * test-skeleton.c: Avoid `for' loop initial declaration.
36174         * nptl/tst-initializers1.c: Use test-skeleton.c.
36176 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36178         [BZ #18418]
36179         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
36181 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
36183         [BZ #16352]
36184         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
36185         (__ieee754_atanh): Force underflow exception for results with
36186         small absolute value.
36187         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
36188         (__ieee754_atanhf): Force underflow exception for results with
36189         small absolute value.
36190         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
36191         (__ieee754_atanh): Force underflow exception for results with
36192         small absolute value.
36193         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
36194         (__ieee754_atanhf): Force underflow exception for results with
36195         small absolute value.
36196         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
36197         (__ieee754_atanhl): Force underflow exception for results with
36198         small absolute value.
36199         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
36200         (__ieee754_atanhl): Force underflow exception for results with
36201         small absolute value.
36202         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
36203         (__ieee754_atanhl): Force underflow exception for results with
36204         small absolute value.
36205         * math/auto-libm-test-in: Do not allow missing underflow
36206         exceptions from atanh.
36207         * math/auto-libm-test-out: Regenerated.
36209         [BZ #18221]
36210         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
36211         2**-28 as threshold for returning x or +/- 1/x.
36212         * math/auto-libm-test-in: Add more tests of tan.
36213         * math/auto-libm-test-out: Regenerated.
36215         [BZ #18220]
36216         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36217         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
36218         * math/auto-libm-test-in: Add another test of lgamma.
36219         * math/auto-libm-test-out: Regenerated.
36221 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
36223         * stdio-common/printf_fp.c (___printf_fp): Use abs.
36224         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
36225         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
36226         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
36227         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
36228         (ADD2A): Use fabs.  (SUB2A): Use fabs.
36229         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
36230         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
36231         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
36232         (log1): Use fabs.  (my_log2): Use fabs.
36233         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
36234         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
36235         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
36236         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
36237         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
36238         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
36239         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
36240         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
36241         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
36242         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
36243         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
36245 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
36247         [BZ #18217]
36248         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
36249         as threshold for returning 1 - x.
36250         * math/auto-libm-test-in: Add more tests of erfc.
36251         * math/auto-libm-test-out: Regenerated.
36253 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
36255         [BZ #18196]
36256         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
36257         threshold for large arguments.
36258         * math/auto-libm-test-in: Add another test of atan.
36259         * math/auto-libm-test-out: Regenerated.
36261         [BZ #16339]
36262         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
36263         (__log1p): Force underflow exception for results with small
36264         absolute value.
36265         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
36266         (__log1pf): Force underflow exception for results with small
36267         absolute value.
36268         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
36269         (__log1p): Force underflow exception for results with small
36270         absolute value.
36271         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
36272         (__log1pf): Force underflow exception for results with small
36273         absolute value.
36274         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
36275         (__log1pl): Force underflow exception for results with small
36276         absolute value.
36277         * math/auto-libm-test-in: Do not allow missing underflow
36278         exceptions from log1p.
36279         * math/auto-libm-test-out: Regenerated.
36281 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
36282             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36284         [BZ #16704]
36285         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
36287 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
36289         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
36290         (libmvec): New variable.
36291         * configure.ac: Added option for mathvec build.
36292         * configure: Regenerated.
36293         * mathvec/Depend: New file.
36294         * mathvec/Makefile: New file.
36295         * shlib-versions: Added libmvec.
36296         * math/Makefile: Added rule for libm.so installation.
36298         * bits/math-vector.h: New file.
36299         * bits/libm-simd-decl-stubs.h: New header.
36300         * math/Makefile (headers): Added new header
36301         libm-simd-decl-stubs.h.
36302         * math/math.h (__MATHCALL_VEC): New macro.
36304         * math/gen-libm-have-vector-test.sh: Script generates series of macros
36305         for conditions in testing functions.
36306         * math/Makefile: Added call of libm-have-vector-test.sh.
36307         * math/libm-test.inc (HAVE_VECTOR): New macros.
36309         * math/libm-test.inc: START refactored.
36310         * math/test-double.c (TEST_MATHVEC): Add define.
36311         * math/test-float.c: Likewise.
36312         * math/test-idouble.c: Likewise.
36313         * math/test-ifloat.c: Likewise.
36314         * math/test-ildoubl.c: Likewise.
36315         * math/test-ldouble.c: Likewise.
36316         * sysdeps/generic/math-tests-arch.h
36317         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
36318         architecture check.
36320         * math/test-double.c (FUNC_TEST): New macro.
36321         * math/test-float.c: Likewise.
36322         * math/test-idouble.c: Likewise.
36323         * math/test-ifloat.c: Likewise.
36324         * math/test-ildoubl.c: Likewise.
36325         * math/test-ldouble.c: Likewise.
36326         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
36328 2015-05-13  Roland McGrath  <roland@hack.frob.com>
36330         * sysdeps/nacl/fdopendir.c: New file.
36332         * dirent/scandir-tail.c: New file.
36333         * dirent/scandir64-tail.c: New file.
36334         * dirent/Makefile (routines): Add them.
36335         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
36336         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
36337         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
36338         [!SCANDIR] (SCANDIR_TAIL): New macro.
36339         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
36340         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
36341         (SCANDIRAT): Macro removed.
36342         (SCANDIR_TAIL): New macro.
36343         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
36344         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
36345         (SCANDIRAT): Just call __opendirat and __scandir_tail.
36346         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
36347         (READDIR): Macro removed.
36348         (SCANDIR_TAIL): New macro.
36349         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
36350         (SCANDIR_TAIL): New macro.
36352         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
36353         * dirent/scandir-cancel.c: ... to this new file.
36354         * dirent/Makefile (routines): Add it.
36355         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
36356         * sysdeps/unix/sysv/linux/i386/scandir64.c
36357         (SKIP_SCANDIR_CANCEL): Macro removed.
36358         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
36360         * dirent/tst-scandir.c: New file.
36361         * dirent/tst-scandir64.c: New file.
36362         * dirent/Makefile (tests): Add them.
36364 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
36366         [BZ #18409]
36367         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
36369 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36371         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
36372         list.
36374 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
36376         * benchtests/bench-strcoll.c: New benchmark.
36377         * benchtests/Makefile: Generate locales and run benchmark.
36378         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
36379         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
36380         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
36381         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
36382         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
36383         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
36384         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
36385         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
36386         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
36387         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
36388         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
36389         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
36390         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
36391         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
36392         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
36393         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
36394         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
36395         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
36396         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
36397         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
36398         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
36399         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
36400         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
36401         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
36403 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
36405         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
36406         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36408 2015-05-12  Roland McGrath  <roland@hack.frob.com>
36410         * posix/uname-values.h: New file.
36411         * posix/uname.c: Include that instead of <config-name.h>.
36412         * sysdeps/nacl/uname-values.h: New file.
36413         * sysdeps/arm/nacl/uname-values.h: New file.
36415 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
36417         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
36418         splitting into fields.
36420 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
36422         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
36423         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
36424         * locale/localeinfo.h: Add enum collation_encoding_type.
36425         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
36426         * programs/ld-collate.c (collate_output): Add encoding type info.
36427         * string/strcoll_l.c (STRDIFF): New function.
36428         * (STRCOLL): Use STRDIFF to skip over equal prefix.
36429         * wcsmbs/wcscoll_l.c: Define STRDIFF.
36431 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
36433         [BZ #18397]
36434         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
36435         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
36436         <fpu_control.h> instead of <math/fpu_control.c>.
36437         * sysdeps/mips/mips32/fpu/Makefile: New file.
36439 2015-05-11  Andreas Schwab  <schwab@suse.de>
36441         [BZ #18007]
36442         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
36443         nss_endgrent.
36444         (_nss_compat_endgrent): Call nss_endgrent.
36445         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
36446         nss_endpwent.
36447         (_nss_compat_endpwent): Call nss_endpwent.
36448         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
36449         needent, call nss_setspent only if non-zero.
36450         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
36451         (internal_endspent): Don't call nss_endspent.
36452         (_nss_compat_endspent): Call nss_endspent.
36453         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
36454         Remove.  All uses removed.
36455         (internal_setent): Remove parameter stayopen, add parameter
36456         stream.  Use it instead of global variable.
36457         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
36458         (internal_endent, internal_getent): Add parameter stream.  Use it
36459         instead of global variable.
36460         (CONCAT(_nss_files_end,ENTNAME))
36461         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
36462         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
36463         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
36464         uses removed.
36465         (internal_setent, internal_endent): Add parameter stream.  Use it
36466         instead of global variable.
36467         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
36468         stream.
36469         (get_next_alias): Add parameter stream.
36470         (_nss_files_getaliasent_r): Pass global stream.
36471         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
36472         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
36473         (_nss_files_gethostbyname4_r): Pass local stream to
36474         internal_setent, internal_getent and internal_endent.  Remove
36475         locking.
36477 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36479         * tst-strfmon1.c (tests): Update expected currency symbol.
36481 2015-05-08  Roland McGrath  <roland@hack.frob.com>
36483         * sysdeps/nacl/gethostname.c: New file.
36485 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
36487         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
36488         and sinh.
36489         * math/auto-libm-test-out: Regenerated.
36490         * sysdeps/i386/fpu/libm-test-ulps: Update.
36491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36493 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
36495         [BZ #18125]
36496         * stdlib/tst-setcontext3.c: New file.
36497         * stdlib/tst-setcontext3.sh: New file.
36498         * stdlib/Makefile (tests): Add tst-setcontext3.
36499         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
36500         to verify test program created output file.
36501         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
36502         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
36503         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
36504         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
36506 2015-05-06  Roland McGrath  <roland@hack.frob.com>
36508         [BZ #18383]
36509         * elf/tst-tlsalign.c: New file.
36510         * elf/tst-tlsalign-static.c: New file.
36511         * elf/tst-tlsalign-lib.c: New file.
36512         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
36513         (tests-static): Add tst-tlsalign-static.
36514         (modules-names): Add tst-tlsalign-lib.
36515         (test-xfail-tst-tlsalign): New variable.
36516         (test-xfail-tst-tlsalign-static): New variable.
36518         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
36519         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
36521 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
36523         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
36524         csqrt, erfc, sin and sincos.
36525         * math/auto-libm-test-out: Regenerated.
36526         * sysdeps/i386/fpu/libm-test-ulps: Update.
36527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36529 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36531         * sysdeps/aarch64/libm-test-ulps: Update.
36533 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
36535         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
36536         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
36537         * math/auto-libm-test-out: Regenerated.
36538         * sysdeps/i386/fpu/libm-test-ulps: Update.
36539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36541 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
36543         [BZ #18265]
36544         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
36545         (wcsncpy): Likewise.
36547 2015-05-05  Florian Weimer  <fweimer@redhat.com>
36549         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36550         Assume __ASSUME_FALLOCATE is always true.
36551         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36552         (__posix_fallocate64_l64): Likewise.
36553         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
36554         (posix_fallocate): Likewise.
36555         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
36556         (__posix_fallocate64_l64): Likewise.
36557         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36558         [!__ASSUME_FALLOCATE]: Add comment.
36560 2015-05-05  Florian Weimer  <fweimer@redhat.com>
36562         * sysdeps/unix/sysv/linux/i386/Makefile
36563         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
36564         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
36565         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
36566         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36567         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36568         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
36569         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
36571 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
36573         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
36574         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
36575         tgamma.
36576         * math/auto-libm-test-out: Regenerated.
36577         * sysdeps/i386/fpu/libm-test-ulps: Update.
36578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36580 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
36582         * math/auto-libm-test-in: Add more tests of tgamma.
36583         * math/auto-libm-test-out: Regenerated.
36584         * sysdeps/i386/fpu/libm-test-ulps: Update.
36585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36587         * math/auto-libm-test-in: Add more tests of tanh.
36588         * math/auto-libm-test-out: Regenerated.
36589         * sysdeps/i386/fpu/libm-test-ulps: Update.
36590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36592         * math/auto-libm-test-in: Add more tests of tan.
36593         * math/auto-libm-test-out: Regenerated.
36594         * sysdeps/i386/fpu/libm-test-ulps: Update.
36595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36597         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
36598         * math/auto-libm-test-out: Regenerated.
36599         * sysdeps/i386/fpu/libm-test-ulps: Update.
36600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36602         * math/auto-libm-test-in: Add another test of pow.
36603         * math/auto-libm-test-out: Regenerated.
36604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36606         * math/auto-libm-test-in: Add more tests of lgamma.
36607         * math/auto-libm-test-out: Regenerated.
36608         * sysdeps/i386/fpu/libm-test-ulps: Update.
36609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36611         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
36612         log1p.
36613         * math/auto-libm-test-out: Regenerated.
36614         * sysdeps/i386/fpu/libm-test-ulps: Update.
36615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36617 2015-05-01  Mark Wielaard  <mjw@redhat.com>
36619         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
36620         Elf64_Chdr structs and ELFCOMPRESS constants.
36622 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
36624         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
36625         expm1.
36626         * math/auto-libm-test-out: Regenerated.
36627         * sysdeps/i386/fpu/libm-test-ulps: Update.
36628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36630         * math/auto-libm-test-in: Add more tests of erf and erfc.
36631         * math/auto-libm-test-out: Regenerated.
36632         * sysdeps/i386/fpu/libm-test-ulps: Update.
36633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36635 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36637         * config.h.in (HAVE_AARCH64_BE): Add.
36639 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
36641         * math/auto-libm-test-in: Add more tests of csqrt.
36642         * math/auto-libm-test-out: Regenerated.
36643         * sysdeps/i386/fpu/libm-test-ulps: Update.
36644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36646         * math/auto-libm-test-in: Add more tests of cosh and sinh.
36647         * math/auto-libm-test-out: Regenerated.
36648         * sysdeps/i386/fpu/libm-test-ulps: Update.
36649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36651         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
36653 2015-04-29  Roland McGrath  <roland@hack.frob.com>
36655         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
36656         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
36658         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
36659         (euidaccess, eaccess): Define as weak aliases.
36661         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
36662         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
36663         but __suseconds_t is often 'long int' so some sources assume that
36664         type is being used (e.g. they use %ld to print tv_usec).
36666 2015-04-29  Florian Weimer  <fweimer@redhat.com>
36668         [BZ #18007]
36669         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
36670         (CVE-2014-8121)
36671         * nss/tst-nss-getpwent.c: New file.
36672         * nss/Makefile (tests): Add new test.
36674 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
36676         [BZ #18346]
36677         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
36678         exponents less than 48 as cases where high part of mantissa needs
36679         examining to determine whether argument is integral.
36680         * math/libm-test.inc (round_test_data): Add more tests.
36682 2015-04-28  Mark Wielaard  <mjw@redhat.com>
36684         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
36686 2015-04-27  David S. Miller  <davem@davemloft.net>
36688         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
36689         __tls_get_addr.
36690         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36692 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
36694         [BZ #18333]
36695         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
36697 2015-04-27  Florian Weimer  <fweimer@redhat.com>
36699         [BZ #18333]
36700         * time/tzset.c (parse_tzname): Return error on memory allocation
36701         failure.
36702         * test-skeleton.c (struct temp_name_list): Change type of name
36703         member to non-const.
36704         (add_temp_file): Create a copy of the file name.
36705         (delete_temp_files): Deallocate memory.
36706         (create_temp_file): Add comment.
36708 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36710         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
36711         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
36713 2015-04-24  Roland McGrath  <roland@hack.frob.com>
36715         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
36716         * sysdeps/arm/configure: Regenerated.
36718 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36720         [BZ #17715]
36721         * time/tzfile.c (__tzfile_read): Check for large values of
36722         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
36723         * time/tzset.c (__tzstring_len): New function, based on the old
36724         __tzstring function.
36725         (__tzstring): Call __tzstring_len.
36726         (parse_tzname): New helper function extracted from
36727         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
36728         the input string.
36729         (parse_offset): New helper function extracted from
36730         __tzset_parse_tz.  Replace switch with fallthrough with
36731         initialization before sscanf.
36732         (parse_rule): Likewise.
36733         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
36734         new-style function definition.
36735         * timezone/Makefile (tests): Add tst-tzset.
36736         (tst-tzset.out): Dependencies on time zone files.
36737         (tst-tzset-ENV): Set TZDIR.
36738         (testdata/XT%): Copy crafted time zone files.
36739         * timezone/README: Mention crafted time zone files.
36740         * timezone/testdata/XT1, timezone/testdata/XT2,
36741         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
36742         files.
36743         * timezone/tst-tzset.c: New test.
36745 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36747         * Makeconfig (+gccwarn): Remove -Winline.
36749 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36751         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
36753 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36755         * NEWS: Mention sysconf() cache information support for s390.
36756         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
36758 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
36760         * math/k_casinh.c (__kernel_casinh): Use __copysign.
36761         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
36762         (__nearbyint): Likewise.
36763         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
36764         (copysignl): Likewise.
36766 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
36768         [BZ #18287]
36769         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
36770         based on padding.  (CVE-2015-1781)
36772 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36774         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
36775         libc-vdso.h.
36776         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
36777         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
36778         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
36779         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
36780         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
36781         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
36782         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
36783         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36784         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36785         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
36786         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36787         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36788         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36789         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
36790         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
36791         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
36792         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
36793         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
36794         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
36795         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
36796         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
36797         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
36798         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
36800 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
36802         * stdlib/setenv.c (__add_to_environ):
36803         Dump core quickly if setenv (..., NULL, ...) is called.
36804         This time, do it the right way, and pacify GCC with a pragma.
36806 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36808         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
36809         IMAP->l_prev cannot be null, and #if out the code for the contrary
36810         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
36811         believe that NS (&_dl_ns[NSID]) could point outside the array.
36813         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
36814         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
36815         before using NSID as an index.
36817 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
36819         [BZ #17825]
36820         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
36821         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
36822         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
36824 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36826         Add preliminary port to Google Native Client on ARM.
36827         * abi-tags (.*-.*-nacl.*): New entry.
36828         * sysdeps/arm/nacl: New directory.
36829         * sysdeps/nacl: New directory.
36831 2015-04-16  David S. Miller  <davem@davemloft.net>
36833         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
36834         lowlevellock-futex.h
36836 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
36838         * sysdeps/tile/configure.ac: New file.
36839         * sysdeps/tile/configure: Regenerated.
36841 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36843         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
36844         conditionals for weak_alias and libc_hidden_weak.
36845         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
36846         libc_hidden_weak and weak_alias.
36847         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
36848         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
36849         and weak_alias for static one.
36851 2015-04-15  David S. Miller  <davem@davemloft.net>
36853         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36855 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36857         [BZ #18206]
36858         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
36859           Use signed comparision instead of substraction to avoid
36860           overflow bug.
36861         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
36862           Take the sign of ret.
36863         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
36864           Do not expect precise return values. Only the sign matters.
36865         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
36866         * wcsmbs/test-wcsncmp.c: New File.
36867         * string/test-strncmp.c: Add wcsncmp support.
36869 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36871         [BZ #6792]
36872         * math/w_log1p.c: New file.
36873         * math/w_log1pf.c: Likewise.
36874         * math/w_log1pl.c: Likewise.
36875         * math/Makefile (libm-calls): Add w_log1p.
36876         * math/s_log1pl.c (log1pl): Remove weak_alias.
36877         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
36878         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
36879         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
36880         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
36881         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
36882         [NO_LONG_DOUBLE] (log1pl): Likewise.
36883         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
36884         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
36885         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
36886         (log1p): Remove long_double_symbol.
36887         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
36888         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
36889         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
36890         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
36891         remove weak_alias for corresponding log1p function.
36892         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
36893         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
36894         * sysdeps/ia64/fpu/w_log1p.c: New file.
36895         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
36896         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
36897         * math/libm-test.inc (log1p_test_data): Add errno expectations.
36899 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
36901         [BZ #18247]
36902         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
36903         decimal exponent by 1.
36904         * stdlib/tst-strtod-round-data: Add more tests.
36905         * stdlib/tst-strtod-round.c (tests): Regenerated.
36907 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
36909         * math/auto-libm-test-in: Add more tests of clog and clog10.
36910         * math/auto-libm-test-out: Regenerated.
36911         * sysdeps/i386/fpu/libm-test-ulps: Update.
36912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36914 2015-04-09  Roland McGrath  <roland@hack.frob.com>
36916         * Makeconfig (module-cppflags): Exclude all .v.i files.
36917         (skip-module-cppflags): Variable removed.
36919         * configure.ac (libc_config_ok): Initialize before reading
36920         preconfigure scripts, not after.
36921         * configure: Regenerated.
36923         * test-skeleton.c (TIMEOUT): Move #define to top level.
36924         (main): Grok environment variable TEST_DIRECT.  If set, print
36925         test expectation details into that file and then behave as if
36926         given --direct.
36928 2015-04-09  Florian Weimer  <fweimer@redhat.com>
36930         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
36931         warning on 32-bit.
36933 2015-04-08  David S. Miller  <davem@davemloft.net>
36935         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36937 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36939         * math/auto-libm-test-in: Add more tests of atanh.
36940         * math/auto-libm-test-out: Regenerated.
36941         * sysdeps/i386/fpu/libm-test-ulps: Update.
36942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36944         * math/auto-libm-test-in: Add more tests of atan.
36945         * math/auto-libm-test-out: Regenerated.
36946         * sysdeps/i386/fpu/libm-test-ulps: Update.
36947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36949 2015-04-08  Florian Weimer  <fweimer@redhat.com>
36951         * elf/pldd.c (main): Rewrite to use struct
36952         scratch_buffer instead of extend_alloca.
36953         * elf/pldd-xx.c (find_maps): Likewise.
36954         * grp/initgroups.c: Include <scratch_buffer.h> instead of
36955         <alloca.h>.
36956         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
36957         scratch_buffer instead of extend_alloca.
36958         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
36959         grp/compat-initgroups.c.
36960         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
36961         Rewrite to use struct scratch_buffer instead of extend_alloca.
36962         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
36963         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36965 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36967         * math/auto-libm-test-in: Add more tests of cbrt.
36968         * math/auto-libm-test-out: Regenerated.
36969         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36971         * math/auto-libm-test-in: Add more tests of cabs.
36972         * math/auto-libm-test-out: Regenerated.
36973         * sysdeps/i386/fpu/libm-test-ulps: Update.
36974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36976         [BZ #18210]
36977         [BZ #18211]
36978         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
36979         (__ieee754_atan2): Set FE_TONEAREST mode for internal
36980         computations.
36981         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
36982         clog10.
36983         * math/auto-libm-test-out: Regenerated.
36984         * sysdeps/i386/fpu/libm-test-ulps: Update.
36985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36987         [BZ #18197]
36988         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
36989         (atan): Set FE_TONEAREST mode for internal computations.
36990         * math/auto-libm-test-in: Add more tests of atan.
36991         * math/auto-libm-test-out: Regenerated.
36993 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
36995         [BZ #17930]
36996         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
36998 2015-04-07  Florian Weimer  <fweimer@redhat.com>
37000         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
37002 2015-04-07  Florian Weimer  <fweimer@redhat.com>
37004         * include/scratch_buffer.h: New file.
37005         * malloc/scratch_buffer_grow.c: Likewise.
37006         * malloc/scratch_buffer_grow_preserve.c: Likewise.
37007         * malloc/scratch_buffer_set_array_size.c: Likewise.
37008         * malloc/tst-scratch_buffer.c: Likewise.
37009         * malloc/Makefile (routines): Add scratch_buffer_grow.
37010         (tests): Add test case.
37011         * malloc/Versions (GLIBC_PRIVATE): Export
37012         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
37013         __libc_scratch_buffer_set_array_size.
37015 2015-04-06  Richard Henderson  <rth@redhat.com>
37017         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
37018         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37020         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
37021         unsigned int before printing.
37023 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37025         [BZ #17596]
37026         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
37027         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37029 2015-04-02  Florian Weimer  <fweimer@redhat.com>
37031         * include/libc-internal.h (libc_max_align_t): Define.
37033 2015-04-02  Andreas Schwab  <schwab@suse.de>
37035         [BZ #16850]
37036         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
37038 2015-04-02  Mel Gorman  <mgorman@suse.de>
37040         [BZ #17195]
37041         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
37042         as well as the main arena.
37044 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
37046         [BZ #18185]
37047         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
37048         sharing L2 cache to 2 for Silvermont/Knights Landing.
37050 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
37052         [BZ #17711]
37053         * config.make.in (have-protected-data): New.
37054         * configure.ac: Check linker support for protected data symbol.
37055         * configure: Regenerated.
37056         * elf/Makefile (modules-names): Add tst-protected1moda and
37057         tst-protected1modb if $(have-protected-data) is yes.
37058         (tests): Add tst-protected1a and tst-protected1b if
37059         $(have-protected-data) is yes.
37060         ($(objpfx)tst-protected1a): New.
37061         ($(objpfx)tst-protected1b): Likewise.
37062         (tst-protected1modb.so-no-z-defs): Likewise.
37063         * elf/tst-protected1a.c: New file.
37064         * elf/tst-protected1b.c: Likewise.
37065         * elf/tst-protected1mod.h: Likewise.
37066         * elf/tst-protected1moda.c: Likewise.
37067         * elf/tst-protected1modb.c: Likewise.
37069 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
37071         [BZ #17711]
37072         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
37073         indicates it is called from do_lookup_x on relocation against
37074         protected data, skip the data definion in the executable from
37075         copy reloc.
37076         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
37077         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
37078         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
37079         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
37080         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
37081         otherwise to 0.
37082         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
37083         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
37084         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
37085         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
37086         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
37087         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
37089 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
37091         * sysdeps/nptl/pthread.h: Remove duplicate definition of
37092         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
37094 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
37096         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
37097         THREAD_SETMEM_NC.
37098         * sysdeps/x86_64/nptl/tls.h: Ditto.
37100 2015-03-27  Roland McGrath  <roland@hack.frob.com>
37102         * dlfcn/tststatic.c (main): Converted to ...
37103         (do_test): ... this.
37104         (TEST_FUNCTION): New macro.
37105         Include test-skeleton.c.
37107 2015-03-26  Alan Modra  <amodra@gmail.com>
37109         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
37110         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
37111         zero for undefined weak.
37112         (elf_machine_plt_conflict): Similarly.
37114 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
37116         * math/auto-libm-test-in: Add more tests of acosh, asinh and
37117         atanh.
37118         * math/auto-libm-test-out: Regenerated.
37119         * sysdeps/i386/fpu/libm-test-ulps: Update.
37120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37122         * math/auto-libm-test-in: Add another test of asin.
37123         * math/auto-libm-test-out: Regenerated.
37124         * sysdeps/i386/fpu/libm-test-ulps: Update.
37125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37127         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
37128         Remove macro.
37129         (LLL_EBX_REG): Likewise.
37130         (LLL_ENTER_KERNEL): Likewise.
37132         * math/auto-libm-test-in: Add more tests of asin.
37133         * math/auto-libm-test-out: Regenerated.
37134         * sysdeps/i386/fpu/libm-test-ulps: Update.
37135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37137         [BZ #18138]
37138         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
37139         libc_do_syscall_args): New structure.
37140         (INTERNAL_SYSCALL_MAIN_0): New macro.
37141         (INTERNAL_SYSCALL_MAIN_1): Likewise.
37142         (INTERNAL_SYSCALL_MAIN_2): Likewise.
37143         (INTERNAL_SYSCALL_MAIN_3): Likewise.
37144         (INTERNAL_SYSCALL_MAIN_4): Likewise.
37145         (INTERNAL_SYSCALL_MAIN_5): Likewise.
37146         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
37147         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
37148         Replace conditional definitions by conditional definitions of ....
37149         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
37150         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
37151         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
37152         (libpthread-sysdep_routines): Add libc-do-syscall.
37153         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
37154         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
37155         to __NR_futex not 240.
37157 2015-03-25  Alan Modra  <amodra@gmail.com>
37159         * NEWS: Advertise TLS optimization.
37160         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
37161         (DT_PPC_NUM): Increment.
37162         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
37163         (CHECK_STATIC_TLS): Use here.
37164         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
37165         TLS descriptors.
37166         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37167         * sysdeps/powerpc/dl-tls.c: New file.
37168         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
37169         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
37170         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
37171         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
37172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
37173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
37174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
37176 2015-03-25  Alan Modra  <amodra@gmail.com>
37178         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
37179         for overlapping .opd entries" to "support...".
37180         * sysdeps/powerpc/powerpc64/configure: Regenerate
37182 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
37184         * math/auto-libm-test-in: Add more tests of acos.
37185         * math/auto-libm-test-out: Regenerated.
37186         * sysdeps/i386/fpu/libm-test-ulps: Update.
37187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37189         * math/auto-libm-test-in: Add more tests of expm1.
37190         * math/auto-libm-test-out: Regenerated.
37191         * sysdeps/i386/fpu/libm-test-ulps: Update.
37192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37194 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
37196         * math/auto-libm-test-in: Add more tests of cosh and sinh.
37197         * math/auto-libm-test-out: Regenerated.
37198         * sysdeps/i386/fpu/libm-test-ulps: Update.
37199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37201         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37204         * math/auto-libm-test-in: Add more tests of log2.
37205         * math/auto-libm-test-out: Regenerated.
37206         * sysdeps/i386/fpu/libm-test-ulps: Update.
37207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37209 2015-03-23  Roland McGrath  <roland@hack.frob.com>
37211         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
37212         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
37213         _IO_IS_APPENDING bit in READ_WRITE instead.
37215 2015-03-23  Florian Weimer  <fweimer@redhat.com>
37217         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
37218         (__determine_cpumask_size): Replace extend_alloca with a
37219         variable-length array.  Do not treat res == 0 as an error.
37221 2015-03-23  Florian Weimer  <fweimer@redhat.com>
37223         [BZ #18100]
37224         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
37225         and integer overflow.
37226         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
37227         (main): Add integer overflow tests.
37228         * manual/pattern.texi (Calling Wordexp): Document additional use
37229         for WRDE_SYNTAX.
37231 2015-03-23  Alan Modra  <amodra@gmail.com>
37233         * config.h.in: Remove HAVE_ASM_PPC_REL16.
37234         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
37235         and false branch of conditional.
37236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
37237         Likewise.
37239 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
37241         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
37242         libc-modules.h
37243         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
37244         unused declaration of _hurd_intr_rpc_msg_in_trap.
37245         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
37246         defined instead of whether it is non-zero.
37247         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
37248         input constraint instead of both input and output constraint.  Use ecx
37249         clobber instead of %ecx.
37250         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
37251         mutex_unlock): Use a statement expression instead of an expression list.
37252         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
37253         type to vm_size_t instead of vm_address_t.
37254         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
37255         defined instead of whether it is non-zero.
37256         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
37257         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
37258         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
37259         comparisons with mapaddr.
37260         * nscd/nscd-client.h: Include <time.h>.
37261         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
37262         9th parameter to __vm_region instead of int.
37263         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
37264         * scripts/check-local-headers.sh (exclude): Add device/,
37265         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
37266         cthreads.h.
37268 2015-03-19  Roland McGrath  <roland@hack.frob.com>
37270         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
37271         to account for alignment padding.
37272         * sysdeps/arm/memmove.S: Likewise.
37274 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
37276         * sysdeps/unix/sysv/linux/generic/README: New file.
37278 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
37280         [BZ #18138]
37281         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
37282         (futex_abstimed_wait)
37283         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
37284         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
37285         of lll_futex_timed_wait.
37287 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
37289         [BZ #17542]
37290         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
37292 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
37294         [BZ #17090]
37295         [BZ #17620]
37296         [BZ #17621]
37297         [BZ #17628]
37298         * NEWS: Update.
37299         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
37300         entries with Static TLS too.  Skip entries past the end of the
37301         allocated DTV, from Alan Modra.
37302         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
37303         Static TLS DTV entry set up from...
37304         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
37305         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
37306         * nptl/allocatestack.c (init_one_static_tls): ... and here...
37307         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
37308         for Static TLS.
37309         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
37310         that the slot we find is associated with the given map before
37311         using its generation count.
37312         * nptl_db/db_info.c: Include ldsodefs.h.
37313         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
37314         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
37315         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
37316         (link_map::l_tls_offset): New struct field.
37317         (dtv_t::counter): Likewise.
37318         (rtld_global): New struct.
37319         (_rtld_global): New rtld variable.
37320         (dl_tls_dtv_slotinfo_list): New rtld global field.
37321         (dtv_slotinfo_list): New struct.
37322         (dtv_slotinfo): Likewise.
37323         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
37324         (td_lookup): Rename to...
37325         (td_mod_lookup): ... this.  Use new mod parameter instead of
37326         LIBPTHREAD_SO.
37327         * nptl_db/td_thr_tlsbase.c: Include link.h.
37328         (dtv_slotinfo_list, dtv_slotinfo): New functions.
37329         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
37330         addresses even if the DTV is out of date or missing them.
37331         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
37332         index zero-length arrays.
37333         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
37334         (td_lookup): Make it a macro implemented in terms of...
37335         (td_mod_lookup): ... this declaration.
37336         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
37337         (DB_MAIN_VARIABLE): Likewise.
37339 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37341         [BZ #18134]
37342         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
37344 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
37346         * stdlib/setenv.c (__add_to_environ): Revert previous change.
37348 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
37350         [BZ #18128]
37351         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
37352         (atomic_add, atomic_increment_and_test)
37353         (atomic_decrement_and_test): Fix 64-bit arithmetic.
37355 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
37357         * stdlib/setenv.c (__add_to_environ):
37358         Dump core quickly if setenv (..., NULL, ...) is called.
37360 2015-03-13  Roland McGrath  <roland@hack.frob.com>
37362         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
37363         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
37364         all the necessary asm magic in one place.
37365         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
37366         using those.
37368 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
37370         [BZ #14906]
37371         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
37372         traced file mtime. Use consistent log message.
37373         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
37374         (register_traced_file): Call install_watches. Always set mtime.
37375         (invalidate_cache): Iterate over all trace files. Call install_watches.
37376         (inotify_check_files): Don't inline. Handle watching parent
37377         directories and configuration file movement in and out.
37378         (handle_inotify_events): New function.
37379         (main_loop_poll): Call handle_inotify_events.
37380         (main_loop_epoll): Likewise.
37381         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
37382         (struct traced_file): Use array of inotify fds. Add parent directory,
37383         and basename.
37384         (struct database_dyn): Remove unused file_mtime.
37385         (init_traced_file): New inline function.
37386         (define_traced_file): New macro.
37387         * nss/nss_db/db-init.c: Use define_traced_file.
37388         (_nss_db_init): Use init_traced_file.
37389         * nss/nss_files/files-init.c: Use define_traced_file.
37390         (_nss_files_init): Use init_traced_file.
37392 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
37394         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
37395         [_LIBC]: Do not include <stdlib.h>.
37396         [!_LIBC] (abort): Remove declaration.
37397         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
37398         _FP_STATIC_ASSERT instead of conditionally calling abort.
37399         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
37400         (_FP_EXTEND_CNAN): Likewise.
37401         (FP_TRUNC): Likewise.
37402         (__FP_CLZ): Likewise.
37403         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
37405 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
37407         * manual/string.texi (XPG basename): Fix prototype.
37409 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37411         [BZ #18080]
37412         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
37413         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37414         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
37415         (__setcontext): Likewise.
37416         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
37417         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37418         Call rt_sigprocmask syscall one time to set new signal mask
37419         and retrieve the current signal mask instead of two calls.
37420         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
37421         (__swapcontext): Likewise.
37422         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
37423         * stdlib/tst-setcontext2.c: New file.
37425 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37427         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37429 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
37431         [BZ #18093]
37432         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
37433         the wrong size.
37435 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37437         [BZ #18043]
37438         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
37440 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37442         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
37443         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
37444         Remove define.
37445         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
37446         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
37447         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
37448         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
37449         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
37450         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
37451         define.
37452         * nptl_db/td_symbol_list.c (td_lookup): Remove
37453         HAVE_ASM_GLOBAL_DOT_NAME code.
37454         * sysdeps/powerpc/powerpc64/configure.ac: Remove
37455         HAVE_ASM_GLOBAL_DOT_NAME check.
37456         * sysdeps/powerpc/powerpc64/configure: Regenerate.
37457         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
37458         (DOT_LABEL): Remove define.
37459         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
37460         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
37461         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
37462         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
37463         (__TLS_GET_ADDR): Likewise.
37464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
37465         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
37467 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
37469         [BZ #18111]
37470         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
37471         (_FPU_SETCW): Initialize cw from fpsr before storing.
37472         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
37473         (fesetexceptflag): Rewrite using fpu_control.h.
37474         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
37476 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
37478         [BZ #18110]
37479         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
37480         asms.
37481         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37483 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
37485         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
37486         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
37487         abort.
37488         (_FP_FMA): Likewise.
37489         (_FP_DIV): Likewise.
37491 2015-03-10  Roland McGrath  <roland@hack.frob.com>
37493         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
37494         with 0 in that case.
37495         * Makefile (summarize-tests): New canned sequence, factored out of
37496         commands for targets tests and xtests.  Display summary lines that
37497         don't start with PASS: or XFAIL: rather than ones that do start with
37498         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
37499         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
37500         do start with ERROR: or FAIL:.
37501         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
37502         (except for [$(build-shared) = yes]).
37503         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
37504         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
37505         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
37506         * nptl/Makefile: Revert 2015-03-04 changes.
37507         [$(CXX) empty] (tests-unsupported): New variable.
37508         * debug/Makefile: Likewise.
37510         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
37511         gnulib file.  Replace __attribute with __attribute__ throughout.
37513 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
37515         * sysdeps/hppa/fpu/libm-test-ulps: Update.
37517 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
37519         [BZ #18104]
37520         * math/auto-libm-test-in: Add another test of pow.
37521         * math/auto-libm-test-out: Regenerated.
37523 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37525         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
37526         $(config-cflags-nofma).
37528 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
37530         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
37531         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
37532         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
37533         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
37534         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
37535         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
37536         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
37537         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
37538         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
37539         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
37540         Add comment on closing #endif.
37542 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37544         * posix/wordexp.c (CHAR_IN_SET): New macro.
37545         (parse_param): Use it.
37547 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37549         * sysdeps/powerpc/fpu/libm-test-ulps: update.
37551 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37553         [BZ #18043]
37554         * posix/wordexp.c (parse_param): Fix buffer overflow.
37555         * posix/wordexp-test.c (test_case): Add test case.
37557 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37559         [BZ #18042]
37560         * posix/wordexp.c (parse_backtick): Fix off-by-one.
37561         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
37563 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37565         [BZ #18043]
37566         * posix/wordexp-test.c (test_case): Add test for BZ #18043
37567         (do_bz18043): Delete.
37568         (at_page_end): New.
37569         (testit): Refactor to have words at the edge of unreadable page.
37571 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37573         [BZ #16734]
37574         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
37575         Cleanup read-only streams as well.
37576         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
37578 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37580         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
37581         <bits/libc-lockP.h>
37583 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
37585         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
37586         on [__KERNEL__].
37587         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
37588         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
37589         * soft-fp/op-common.h (_FP_DECL): Likewise.
37591 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
37593         * elf/ifuncdep2.c (global): Replace
37594         __attribute__((visibility("protected"))) with
37595         asm (".protected global").
37596         * elf/ifuncmod1.c (global): Likewise.
37597         * elf/ifuncmod5.c (global): Likewise.
37599 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
37601         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
37602         <asm/sfp-machine.h> instead of <sfp-machine.h>.
37604 2015-03-06  Roland McGrath  <roland@hack.frob.com>
37606         * manual/install.texi (Configuring and compiling):
37607         Document test-wrapper-env-only.
37608         * INSTALL: Regenerated.
37610 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37612         [BZ #18043]
37613         * posix/wordexp.c (parse_param): Fix buffer overflow.
37614         * posix/wordexp-test.c (do_bz18043): Add test case.
37616 2015-03-06  Vincent Bernat  <vincent@bernat.im>
37618         * time/tst-strptime2.c (do_test): Ensure failing tests are
37619         reported correctly.
37620         * time/tst-strptime3.c (do_test): Likewise.
37622 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
37624         Fix aio_error thread-safety.
37625         * sysdeps/pthread/aio_error.c: New file
37626         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
37627         synchronization.
37629 2015-03-06  Florian Weimer  <fweimer@redhat.com>
37631         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
37632         (group_number, vfprintf): Use it.
37633         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
37634         (JUMP, REF): Use it.
37635         (WORK_BUFFER_SIZE): New enum constant.
37636         (process_arg, vfprintf): Use it.
37638 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
37640         * manual/errno.texi (Error Messages): Complete example function
37641         by adding missing #define.
37642         (program_invocation_name): Add statement indicating GNU
37643         extension and reference which header file declares the variable.
37644         (program_invocation_short_name): Likewise.
37646 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
37648         * manual/errno.texi (Error Messages): Delete strerror ISO C89
37649         compatibility note.
37651 2015-03-05  Roland McGrath  <roland@hack.frob.com>
37653         * Makeconfig (test-wrapper-env-only): New variable.
37654         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
37655         then use that with $(test-wrapper-env-only) rather than using
37656         $(test-wrapper-env) $(run-program-env) $($*-ENV).
37658 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37660         [BZ #18082]
37661         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
37662         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
37663         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
37664         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
37665         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
37666         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
37667         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
37668         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
37669         Likewise.
37670         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
37671         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
37672         Likewise.
37673         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
37674         Likewise.
37675         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
37676         Likewise.
37677         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
37678         Likewise.
37679         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
37680         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
37681         Likewise.
37682         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
37683         Likewise.
37684         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
37685         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
37687 2015-03-04  Roland McGrath  <roland@hack.frob.com>
37689         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
37690         (ETH_ALEN): New macro.
37691         (struct ether_addr): Use it for length of ether_addr_octet.
37693         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
37694         (setdb): Don't call __nss_configure_lookup for "rpc".
37695         (do_test): Don't call test_rpc.
37696         (output_rpcent, test_rpc): Functions moved ...
37697         * sunrpc/test-rpcent.c: ... to this new file.
37698         * sunrpc/Makefile (tests): Add it.
37700         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
37701         __xpg_sigpause.
37702         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
37703         * nptl/tst-signal6.c: Likewise.
37704         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
37705         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
37707         * configure.ac (libc_cv_cxx_link_ok): New check.
37708         Reset CXX to empty if it fails to link.
37709         * configure: Regenerated.
37710         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
37711         bug-atexit3-lib only if $(CXX) is nonempty.
37712         * nptl/Makefile (tests): Likewise for tst-cancel24.
37713         (tests, tests-static): Likewise for tst-cancel24-static.
37714         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
37715         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
37716         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
37717         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
37719 2015-03-04  Andreas Schwab  <schwab@suse.de>
37721         [BZ #17631]
37722         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
37723         for non-GCC compilers.
37724         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37725         Likewise.
37727 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37729         [BZ #17776]
37730         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
37731         integer before bitwise and assembly operations.
37732         (feclearexcept): Likewise.
37733         * math/test-fenvinline.c: New file.
37734         * math/Makefile: Add test-fenvinline test.
37736 2015-03-03  Alan Modra  <amodra@gmail.com>
37738         [BZ #16512]
37739         * scripts/localplt.awk: Strip off symbol version.
37740         * NEWS: Mention bug fix.
37742 2015-03-02  Roland McGrath  <roland@hack.frob.com>
37744         * sysdeps/pthread/timer_routines.c
37745         (timer_free_list, thread_free_list, thread_active_list): Make static.
37747 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
37749         [BZ #17779]
37750         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37751         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37752         Undefine.
37753         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37754         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37755         Likewise.
37756         * sysdeps/unix/sysv/linux/sh/kernel-features.h
37757         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37758         Likewise.
37760 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37762         [BZ #18036]
37763         * posix/fnmatch_loop.c (END): Detect invalid pattern.
37764         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
37766 2015-03-02  Andreas Schwab  <schwab@suse.de>
37768         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
37769         variable name.
37771 2015-03-02  Florian Weimer  <fweimer@redhat.com>
37773         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
37774         Return error status.
37776 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
37778         [BZ #15969]
37779         * locale/findlocale.c (_nl_find_locale): Introduce const
37780         version of loc_name and drop unsafe type casts.
37782 2015-02-27  Roland McGrath  <roland@hack.frob.com>
37784         * dlfcn/tststatic2.c (main): Converted to ...
37785         (do_test): ... this.
37786         (TEST_FUNCTION): New macro.
37787         Include test-skeleton.c.
37789 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
37791         [BZ #17711]
37792         * elf/Makefile (tests): Add vismain only if PIE is enabled.
37793         (tests-pie): Add vismain.
37794         (CFLAGS-vismain.c): New.
37795         * elf/vismain.c: Add comments for PIE requirement.
37797 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37799         [BZ #18046]
37800         [BZ #18047]
37801         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
37802         0x1p-56L as threshold for just returning the argument.
37803         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
37804         0x1p-32L as threshold for just returning the argument.
37805         * math/auto-libm-test-in: Add more tests of atanh.
37806         * math/auto-libm-test-out: Regenerated.
37807         * sysdeps/i386/fpu/libm-test-ulps: Update.
37808         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
37810 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37812         * string/bcopy.c (bcopy): Call memmove for performance.
37814 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37816         * string/bzero.c (__bzero): Call memset for performance.
37818 2015-02-27  John David Anglin  <dave.anglin@bell.net>
37820         [BZ #18068]
37821         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
37822         to 00100000.
37824 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37826         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
37828 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37830         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
37831         (__kernel_standard): Use CSTR macro when setting exc.name.
37832         * sysdeps/ieee754/Makefile [$(subdir) = math]
37833         (CFLAGS-k_standard.c): Remove variable.
37835         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
37836         setting p and q from "else if" to "else".
37837         (qzero): Likewise.
37838         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
37839         (qone): Likewise.
37840         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
37841         (qzerof): Likewise.
37842         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
37843         (qonef): Likewise.
37844         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
37845         (qzero): Likewise.
37846         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
37847         (qone): Likewise.
37849         [BZ #18038]
37850         [BZ #18039]
37851         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
37852         return pi/2 for arguments below 0x1p-113L.
37853         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
37854         return pi/2 for arguments below 0x1p-106L.
37855         * math/auto-libm-test-in: Add more tests of acos.
37856         * math/auto-libm-test-out: Regenerated.
37858         [BZ #16351]
37859         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
37860         (MO): New macro.
37861         (__ieee754_asin): Force underflow exception for results with small
37862         absolute value.
37863         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
37864         (MO): New macro.
37865         (__ieee754_asinf): Force underflow exception for results with
37866         small absolute value.
37867         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
37868         (__ieee754_asin): Force underflow exception for results with small
37869         absolute value.
37870         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
37871         (__ieee754_asinf): Force underflow exception for results with
37872         small absolute value.
37873         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
37874         (__ieee754_asinl): Force underflow exception for results with
37875         small absolute value.
37876         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
37877         (__ieee754_asinl): Force underflow exception for results with
37878         small absolute value.
37879         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
37880         (__ieee754_asinl): Force underflow exception for results with
37881         small absolute value.
37882         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
37883         Include <math.h>.
37884         * math/auto-libm-test-in: Do not mark underflow exceptions as
37885         possibly missing for bug 16351.
37886         * math/auto-libm-test-out: Regenerated.
37888         [BZ #18030]
37889         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
37890         of power of 2 down when low part has opposite sign.
37891         * math/libm-test.inc (logb_test_data): Add more tests.
37893 2015-02-26  Andreas Schwab  <schwab@suse.de>
37895         [BZ #18032]
37896         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
37897         over collating symbol inside a bracket expression.  Minor cleanup.
37898         * posix/tst-fnmatch3.c (do_test): Add test case.
37900 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37902         [BZ #18029]
37903         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
37904         Adjust exponent of power of 2 down when low part has opposite
37905         sign.
37906         * math/libm-test.inc (ilogb_test_data): Add more tests.
37908 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
37910         [BZ #15969]
37911         * locale/findlocale.c (_nl_find_locale): Fix constness error in
37912         the previous change.
37914         [BZ #15969]
37915         * locale/findlocale.c (_nl_find_locale): Retry archive search
37916         after alias expansion.
37918 2015-02-25  Roland McGrath  <roland@hack.frob.com>
37920         * iconv/tst-iconv3.c (main): Converted to ...
37921         (do_test): ... this.
37922         (TEST_FUNCTION): New macro.
37923         Include test-skeleton.c.
37925         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
37926         (convert): Make function static.
37927         (test_unalign): Likewise.  Add const to argument pointee types.
37928         (main): Replace with static function do_test.
37929         Print "Succeeded." only if RET is zero.
37930         (TEST_FUNCTION): New macro.
37931         Include test-skeleton.c.
37933         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
37934         returns a null pointer.
37936 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37938         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
37939         to __memcpy_ppc only for static builds.
37941 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
37943         [BZ #18020]
37944         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
37945         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
37946         * math/auto-libm-test-in: Add more tests of asinh.
37947         * math/auto-libm-test-out: Regenerated.
37948         * sysdeps/i386/fpu/libm-test-ulps: Update.
37949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37951 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
37953         [BZ #15850]
37954         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
37955         and ip6_mtuinfo definitions here.
37956         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
37957         in this define too.  Update comment.
37959 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
37961         * elf/sprof.c (load_shobj): Tweak error message to match others.
37963 2015-02-24  Kevin Easton  <kevin@guarana.org>
37965         [BZ #16145] (partial fix)
37966         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
37967         to reduce lock contention.
37969 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
37971         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
37972         (struct timex): Update time comment.
37973         (ADJ_SETOFFSET): Define.
37975 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37977         [BZ #18019]
37978         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37979         2**56 not 2**28 as threshold for log (2x) formula.
37980         * math/auto-libm-test-in: Add more tests of acosh.
37981         * math/auto-libm-test-out: Regenerated.
37982         * sysdeps/i386/fpu/libm-test-ulps: Update.
37983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37985 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
37987         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
37988         parenthesis around the buf assignment.
37989         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
37991 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37993         [BZ #16783]
37994         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
37995         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
37996         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
37997         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37998         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37999         * math/libm-test.inc (scalb_test_data): Add more tests.
38001 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38003         [BZ #17916]
38004         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
38005         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
38007 2015-02-24  Eric Rannaud  <e@nanocritical.com>
38009         [BZ #17523]
38010         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
38011         * io/bits/fcntl2.h (open): Use it.
38012         (openat): Likewise.
38013         * io/open.c (__libc_open): Likewise.
38014         * io/open64.c (__libc_open64): Likewise.
38015         * io/open64_2.c (__open64_2): Likewise.
38016         * io/open_2.c (__open_2): Likewise.
38017         * io/openat.c (__openat): Likewise.
38018         * io/openat64.c (__openat64): Likewise.
38019         * io/openat64_2.c (__openat64_2): Likewise.
38020         * io/openat_2.c (__openat_2): Likewise.
38021         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
38022         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
38023         * sysdeps/posix/open64.c (__libc_open64): Likewise.
38024         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
38025         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
38026         (__open_nocancel): Likewise.
38027         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
38028         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
38029         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
38031 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38033         [BZ #14841]
38034         * resolv/gethnamaddr.c (getanswer): Skip logging if
38035         RES_USE_DNSSEC is set.
38036         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
38038 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
38040         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
38042 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
38044         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
38045         201304L, for Unicode 7.
38047 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
38049         [BZ #17836]
38050         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
38051         shared library.  Add gmon-start.os otherwise.
38052         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
38053         $(objpfx)gmon-start.os if builing shared library.
38054         ($(objpfx)g$(static-start-installed-name)): Likewise.
38056 2015-02-23  Andreas Schwab  <schwab@suse.de>
38058         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
38060 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
38062         [BZ #17269]
38063         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
38064         (enlarge_userbuf): Likewise.
38066 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
38068         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
38069         * math/atest-exp.c (TIMEOUT): Adjust to 200.
38070         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
38071         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
38073 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
38075         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
38076         expression inside statement expression.
38078 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
38080         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
38081         <sysdeps/nptl/lowlevellock.h> and remove macros and
38082         functions that are now defined there.
38083         (SYS_futex): Remove.
38084         (lll_compare_and_swap): Remove.
38085         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
38087 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
38089         [BZ #17999]
38090         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
38091         instead of scandirat.
38092         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
38093         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
38094         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
38095         __scandirat.
38096         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
38097         (__scandirat): Declare.  Use libc_hidden_proto.
38098         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
38099         Remove variable.
38100         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38102 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
38104         [BZ #15319]
38105         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
38106         (MO): New macro.
38107         (__ieee754_atan2): For results with small absolute value, force
38108         underflow exception and remove excess range and precision from
38109         return value.
38110         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
38111         (MO): New macro.
38112         (__ieee754_atan2f): For results with small absolute value, force
38113         underflow exception and remove excess range and precision from
38114         return value.
38115         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
38116         (MO): New macro.
38117         (__atan): For results with small absolute value, force underflow
38118         exception and remove excess range and precision from return value.
38119         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
38120         (MO): New macro.
38121         (__atanf): For results with small absolute value, force underflow
38122         exception and remove excess range and precision from return value.
38123         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
38124         <math.h>.
38125         (__ieee754_atan2): Force underflow exception for results with
38126         small absolute value.
38127         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
38128         <math_private.h>.
38129         (atan): Force underflow exception for results with small absolute
38130         value.
38131         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
38132         (__atanf): Force underflow exception for results with small
38133         absolute value.
38134         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
38135         <math.h>.
38136         (__atanl): Force underflow exception for results with small
38137         absolute value.
38138         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
38139         (__atanl): Force underflow exception for results with small
38140         absolute value.
38141         * sysdeps/x86/fpu/bits/mathinline.h
38142         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
38143         (__ieee754_atan2): Only define inline for long double.
38144         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
38145         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
38146         * math/auto-libm-test-in: Do not mark underflow exceptions as
38147         possibly missing for bug 15319.  Add more tests of atan2.
38148         * math/auto-libm-test-out: Regenerated.
38149         * math/libm-test.inc (casin_test_data): Do not mark underflow
38150         exceptions as possibly missing for bug 15319.
38151         (casinh_test_data): Likewise.
38152         * sysdeps/i386/fpu/libm-test-ulps: Update.
38154 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
38156         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
38157         * sysdeps/mips/bits/endian.h: Fix comments.
38159 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
38161         [BZ #17996]
38162         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
38163         (hdestroy_r): Likewise.
38164         (hsearch_r): Likewise.
38165         (__hcreate_r): Declare and use libc_hidden_proto.
38166         (__hdestroy_r): Likewise.
38167         (__hsearch_r): Likewise.
38168         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
38169         (hcreate): Call __hcreate_r instead of hcreate_r.
38170         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
38171         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
38172         as weak alias of __hcreate_r.
38173         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
38174         __hdestroy_r.
38175         (hsearch_r): Rename to __hsearch_r and define as weak alias of
38176         __hsearch_r.
38177         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
38178         Remove variable.
38179         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38180         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38181         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38182         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38184 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38186         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
38187         arena_lock into a single arena_get.
38189 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
38191         * dl-reloc.c: Inlucde libc-internal.h.
38192         (_dl_try_allocate_static_tls): Call ALIGN_UP.
38193         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
38194         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
38195         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
38196         (grow_heap): Likewise.
38197         * malloc/malloc.c: Include libc-internal.h.
38198         (do_check_malloc): Call powerof2.
38199         (sysmalloc): Use pagesize. Call ALIGN_UP.
38200         (systrim): Use pagesize.
38201         (mremap_chunk): Use pagesize. Call ALIGN_UP.
38202         (__libc_valloc): Use pagesize.
38203         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
38205 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
38207         [BZ #17991]
38208         * include/sys/resource.h (__getrlimit64): Declare.  Use
38209         libc_hidden_proto.
38210         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
38211         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
38212         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
38213         getrlimit64.
38214         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
38215         __getrlimit64.
38216         [!getrlimit64] (getrlimit64): Define as weak alias of
38217         __getrlimit64.  Use libc_hidden_weak.
38218         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
38219         using __getrlimit64 not __new_getrlimit64.
38220         (__GI_getrlimit64): Likewise.
38221         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
38222         Likewise.
38223         (__GI_getrlimit64): Likewise.
38224         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
38225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
38226         (getrlimit): Add __getrlimit64 alias.
38227         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
38228         Likewise.
38229         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
38230         Remove variable.
38231         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38232         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38234 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
38236         * libio/fileops.c: Add missing sys/mman.h
38237         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
38239 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
38241         * manual/math.texi (Errors in Math Functions): Clarify goals
38242         regarding inexact and underflow exceptions.
38244 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
38246         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
38247         * sysdeps/mips/memset.S: Ditto.
38249 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
38251         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
38253 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38255         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
38256         (__v1longjmp): Remove versioned symbol.
38257         (__v1siglongjmp): Remove alias and versioned symbol.
38258         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
38259         (__v2siglongjmp): Likewise.
38261 2015-02-16  Torvald Riegel  <triegel@redhat.com>
38263         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
38265 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
38267         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
38269 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
38271         [BZ #17987]
38272         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
38273         zero result does not depend on the sign resulting from
38274         subtraction.
38275         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38276         Likewise.
38277         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38278         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38279         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38280         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38281         * math/libm-test.inc (remquo_test_data): Add more tests.
38283 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
38285         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
38286         Problem reported by J William Piggott.
38288 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
38290         [BZ #17978]
38291         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
38292         products 4 * y and 2 * y where those would overflow.
38293         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38294         Likewise.
38295         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38296         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38297         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38298         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38299         * math/libm-test.inc (remquo_test_data): Add more tests.
38301         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
38303         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
38304         [defined _COMPILING_NEWLIB].
38305         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
38306         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
38308         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
38309         [!defined __mips_isa_rev || __mips_isa_rev < 6].
38311 2015-02-16  Torvald Riegel  <triegel@redhat.com>
38313         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
38314         acquired.
38316 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
38318         [BZ #17792]
38319         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
38320         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
38321         HOST_STACK_END_ADDR): Likewise.
38323 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
38325         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
38326         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
38327         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
38329 2015-02-13  Roland McGrath  <roland@hack.frob.com>
38331         * sysdeps/generic/c++-types.data: New file.
38332         * sysdeps/generic/ld.abilist: New file.
38333         * sysdeps/generic/libBrokenLocale.abilist: New file.
38334         * sysdeps/generic/libanl.abilist: New file.
38335         * sysdeps/generic/libc.abilist: New file.
38336         * sysdeps/generic/libcrypt.abilist: New file.
38337         * sysdeps/generic/libdl.abilist: New file.
38338         * sysdeps/generic/libm.abilist: New file.
38339         * sysdeps/generic/libpthread.abilist: New file.
38340         * sysdeps/generic/libresolv.abilist: New file.
38341         * sysdeps/generic/librt.abilist: New file.
38343 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
38345         [BZ #17569]
38346         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38347         Compute absolute value of x as modified by fmod, not original
38348         value of x.
38349         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
38350         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
38351         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
38352         RUN_TEST_ffI_f1_mod8.
38353         (remquo_test_data): Add more tests.
38355 2015-02-13  Roland McGrath  <roland@hack.frob.com>
38357         * sysdeps/init_array/pt-crti.S: New file.
38359 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
38361         [BZ #17967]
38362         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
38363         __builtin_fmaf instead of relying on contraction of a * b + c.
38365 2015-02-12  J William Piggott  <elseifthen@gmx.com>
38367         [BZ #17969]
38368         * manual/time.texi: correct the zoneinfo path in the TZ Variable
38369         node.
38371 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
38373         [BZ #17964]
38374         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
38375         __builtin_fma instead of relying on contraction of a * b + c.
38377 2015-02-12  Roland McGrath  <roland@hack.frob.com>
38379         * Makeconfig (ASFLAGS): Add -Werror=undef.
38380         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
38381         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
38382         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
38384         * Makeconfig (after-link): New variable.
38385         (+link-pie, +link-pie-tests): Use it.
38386         (+link-static, +link-static-tests): Likewise.
38387         (+link, +link-tests): Likewise.
38388         * Makerules (build-module, build-module-asneeded): Likewise.
38389         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
38390         Likewise.
38391         * elf/Makefile ($(objpfx)ld.so): Likewise.
38393 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
38395         [BZ #17965]
38396         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
38397         both struct timeval and struct timespec.
38399 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
38401         [BZ #16560]
38402         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38403         and redefine.
38404         (__ieee754_exp2l): Do not multiply small fractional parts by
38405         M_LN2l.
38406         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
38407         small argument.
38408         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38409         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
38410         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
38411         * math/auto-libm-test-in: Add more tests of exp2.
38412         * math/auto-libm-test-out: Regenerated.
38414 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38416         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
38417         unaligned path.
38419 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38421         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
38422         little endian.
38424 2015-02-12  Andreas Schwab  <schwab@suse.de>
38426         [BZ #15790]
38427         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
38428         Filter out elision flags from value returned in kind.
38429         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
38430         * nptl/tst-pthread-mutexattr.c: New file.
38432 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38434         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
38435         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
38436         into gnu-gnu, and update comment to refer to abi-tags.
38438 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
38440         [BZ #15467]
38441         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
38442         (__sincos): Set errno to EDOM for infinite argument.
38443         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
38444         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
38445         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
38446         (__sincosl): Set errno to EDOM for infinite argument.
38447         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
38448         (__sincosl): Set errno to EDOM for infinite argument.
38449         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
38450         (__sincosl): Set errno to EDOM for infinite argument.
38451         * math/libm-test.inc (sincos_test_data): Test errno setting.
38453 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
38455         * string/strxfrm_l.c: Remove #define STRCMP.
38456         * string/strcoll_l.c: Remove #define STRLEN.
38457         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
38458         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
38460 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
38462         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
38463         * sysdeps/mips/mips32/sfp-machine.h: ... here.
38464         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
38465         * sysdeps/mips/mips64/Makefile: ... here.
38466         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
38467         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
38468         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
38469         * sysdeps/mips/mips64/sfp-machine.h: ... here.
38470         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
38471         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
38472         * sysdeps/mips/mips64/n64/Implies: Likewise.
38474 2015-02-10  Roland McGrath  <roland@hack.frob.com>
38476         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
38477         <sys/time.h>, <string.h>, and <errno.h>.
38478         (dest_offset, dest_address, value, zero): Remove unused variables.
38479         (ldouble): Remove typedef.
38480         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
38481         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
38482         1).  Fix code style.
38483         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
38484         (check): Function removed.
38485         (CHECK): New macro.
38486         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
38487         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
38488         Don't call set_sigaction_FP and remove_sigaction_FP here.
38489         (ldouble_test): Just use 'long double' as macro argument, no need for
38490         the 'ldouble' typedef.
38491         (do_test): Set up SIGFPE handler at start, using plain signal rather
38492         than sigaction.  Fix code style.
38494 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
38496         [BZ #17949]
38497         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
38498         jump label.
38500 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38502         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
38503         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38505         * sysdeps/powerpc/configure.ac: Remove file.
38506         * sysdeps/powerpc/configure: Likewise.
38508         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38509         [sysdep_routines]: Remove wordcopy-power6 object.
38510         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38511         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
38512         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
38513         (__memmove_ppc32): Likewise.
38514         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
38515         file.
38516         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
38517         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
38518         Remove preprocessor.
38520         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38521         [sysdep_routines]: Remove wide chars objects.
38522         [wcsmbs]: New rule for wide char objects.
38524         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38525         Remove wordcopy-power6 obejct.
38526         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
38527         Use local call for wordcopy and memcpy symbols.
38528         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
38529         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
38530         implementation for loader.
38531         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
38533         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38534         Remove wordcopy-power7 object.
38535         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
38536         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
38537         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
38538         (_wordcopy_fwd_dest_aligned): Likewise.
38539         (_wordcopy_bwd_aligned): Likewise.
38540         (_wordcopy_bwd_dest_aligned): Likewise.
38542         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
38543         Rewrite to call __memmove_ppc instead of include default
38544         implementation.
38546         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38547         Remove wide chars objects.
38548         [wcsmbs]: New rule for wide char objects.
38550 2015-02-09  Andreas Schwab  <schwab@suse.de>
38552         [BZ #17912]
38553         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38554         in terms of __O_DIRECTORY.
38556 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38558         * time/getdate.c: Include <stdbool.h>.
38559         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
38560         call PTR_MANGLE.
38561         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
38562         PTR_DEMANGLE.
38564 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
38566         Add ersatz _Static_assert on older C hosts
38567         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
38568         pre-C11 C platform that is not known to support _Static_assert.
38570 2015-02-07  Richard Braun  <rbraun@sceen.net>
38572         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
38573         sigstate.
38574         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
38576 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38578         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
38579         priority against unexistent AIO_PRIO_DELTA_MAX.
38580         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
38581         instead of int.
38582         * misc/fchflags.c (fchflags): Likewise.
38583         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
38584         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
38585         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
38586         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
38587         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
38588         Declare macros.
38589         [__USE_MISC] (chflags, fchflags): Declare functions.
38590         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
38591         EINVAL when nfds is greater than FD_SETSIZE.
38592         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
38593         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
38594         45.
38595         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
38596         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
38597         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
38598         MACH_RCV_TIMED_OUT.
38599         * hurd/hurd/signal.h (_hurd_self_sigstate,
38600         _hurd_critical_section_lock, _hurd_critical_section_unlock):
38601         Explicit casts from void *.
38602         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
38603         * abi-tags: Rename gnu-gnu os into gnu.
38605         [BZ #4719]
38606         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
38607         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
38608         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
38609         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
38610         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
38611         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
38613         [BZ #17944]
38614         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
38615         duplicates ADDR->sun_path with sockaddr LEN limitation.
38616         * sysdeps/mach/hurd/connect.c: Include <string.h>
38617         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
38618         * sysdeps/mach/hurd/sendmsg.c: Likewise.
38619         * sysdeps/mach/hurd/sendto.c: Likewise.
38620         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
38621         implementing it by hand.
38623 2015-02-06  Roland McGrath  <roland@hack.frob.com>
38625         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
38626         Use sfi_breg on ldr.
38627         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
38628         Likewise.
38630         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
38631         it's defined.
38632         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
38633         Test SIGSETXID only if it's defined.
38635         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
38637         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
38638         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
38640         * nptl/tst-align2.c: Moved ...
38641         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
38642         * nptl/Makefile (tests): Remove tst-align2.
38643         * sysdeps/unix/sysv/linux/Makefile
38644         [$(subdir) = nptl] (tests): Add tst-align-clone.
38645         * nptl/tst-getpid1.c: Moved ...
38646         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
38647         * nptl/tst-getpid2.c: Moved ...
38648         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
38649         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
38650         * sysdeps/unix/sysv/linux/Makefile
38651         [$(subdir) = nptl] (tests): ... here.
38652         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
38653         * sysdeps/unix/sysv/linux/Makefile
38654         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
38656         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
38657         Drop trailing \n from perror argument.  Use return rather than exit.
38659         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
38660         on [SA_SIGINFO].
38661         * nptl/tst-cancel21.c (do_test): Likewise.
38662         * debug/tst-backtrace6.c: Include <signal.h> first thing.
38663         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
38664         [!SA_SIGINFO]: Make it a stub test.
38666         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
38667         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
38669         * posix/tst-getlogin.c: Move to ...
38670         * login/tst-getlogin.c: ... here.
38671         * posix/Makefile (tests): Move tst-getlogin to ...
38672         * login/Makefile (tests): ... here.
38674         * libio/tst-atime.c (do_test): Move local variables SV and E
38675         inside [ST_NOATIME] conditional.
38677         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
38679         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
38681         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
38682         (wait_code): New function replaces macro.
38683         Call nanosleep rather than syscall.
38685         * nptl/pt-system.c: Rewritten.  Put everything under
38686         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38687         Use IFUNC to redirect when possible.
38689         * nptl/pt-longjmp.c: Rewritten.  Put everything under
38690         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38691         Use IFUNC to redirect when possible.
38693         * nptl/pt-fork.c: Rewritten.  Put everything under
38694         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38695         Use IFUNC to redirect when possible.
38696         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
38698         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
38699         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
38700         unconditionally nowadays.  This included the only reference to
38701         __vdso_clock_gettime that appears outside libc proper.
38702         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
38703         Remove version set (containing only __vdso_clock_gettime).
38704         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
38705         Add attribute_hidden.
38706         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
38707         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
38708         libc_hidden_data_def.
38709         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38710         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38712         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
38713         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
38714         setrpcent, and getrpcport to ...
38715         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
38716         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
38717         getrpcbynumber_r, and getrpcent_r to ...
38718         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
38719         * inet/getrpcbyname.c: Moved ...
38720         * sunrpc/getrpcbyname.c: ... here.
38721         * inet/getrpcbyname_r.c: Moved ...
38722         * sunrpc/getrpcbyname_r.c: ... here.
38723         * inet/getrpcbynumber.c: Moved ...
38724         * sunrpc/getrpcbynumber.c: ... here.
38725         * inet/getrpcbynumber_r.c: Moved ...
38726         * sunrpc/getrpcbynumber_r.c: ... here.
38727         * inet/getrpcent.c: Moved ...
38728         * sunrpc/getrpcent.c: ... here.
38729         * inet/getrpcent_r.c: Moved ...
38730         * sunrpc/getrpcent_r.c: ... here.
38731         * inet/Makefile (routines): Move those to ...
38732         * sunrpc/Makefile (routines): ... here.
38733         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
38734         the $(subdirs) list.
38735         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
38736         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
38737         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
38738         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
38740         * elf/Makefile (routines): Include $(all-dl-routines), not just
38741         $(dl-routines).
38742         (rtld-routines): Likewise.  Use = rather than :=.
38743         * sysdeps/aarch64/Makefile [$(subdir) = elf]
38744         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
38745         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
38746         * sysdeps/arm/Makefile: Likewise.
38747         * sysdeps/i386/Makefile: Likewise.
38748         * sysdeps/x86_64/Makefile: Likewise.
38749         * sysdeps/hppa/Makefile [$(subdir) = elf]
38750         (sysdep_routines, sysdep-rtld-routines): Don't add
38751         $(sysdep-dl-routines) to these.
38752         * sysdeps/ia64/Makefile: Likewise.
38753         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
38754         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
38755         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
38756         Don't add dl-static to these; sysdep-dl-routines alone is enough.
38757         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
38758         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
38759         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
38760         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
38761         * sysdeps/powerpc/Makefile [$(subdir) = elf]
38762         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
38763         these; sysdep-dl-routines alone is enough.
38765 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
38767         [BZ #17932]
38768         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
38769         where multiplication results in zero and third argument is finite
38770         and nonzero.
38771         * math/auto-libm-test-in: Add more tests of fma.
38772         * math/auto-libm-test-out: Regenerated.
38774         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
38775         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
38776         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
38777         (_FP_CMP_EQ): Likewise.
38778         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
38780         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
38781         extra argument CHECK_NAN.  Redefine as wrapper around
38782         _FP_EXTEND_CNAN.
38784 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
38786         * version.h (RELEASE): Set to "stable".
38787         (VERSION): Set to "2.21"
38788         * include/features.h (__GLIBC_MINOR__): Set to 21.
38790         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
38792 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38793             Paul Eggert  <eggert@cs.ucla.edu>
38795         [BZ #16618]
38796         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
38797         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
38798         size in bytes. Store needed elements in wpmax. Use needed size
38799         in bytes for extend_alloca.
38801 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
38803         * manual/install.texi: Latest tested versions are GCC 4.9.2,
38804         binutls 2.25, and texinfo 5.2.
38805         * INSTALL: Regenerate.
38806         * sysdeps/nios2/configure: Regenerate.
38807         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
38808         * manual/contrib.texi: Update.
38809         * po/be.po: Update.
38810         * po/bg.po: Update.
38811         * po/ca.po: Update.
38812         * po/cs.po: Update.
38813         * po/da.po: Update.
38814         * po/de.po: Update.
38815         * po/el.po: Update.
38816         * po/eo.po: Update.
38817         * po/es.po: Update.
38818         * po/fi.po: Update.
38819         * po/fr.po: Update.
38820         * po/gl.po: Update.
38821         * po/hr.po: Update.
38822         * po/hu.po: Update.
38823         * po/ia.po: Update.
38824         * po/id.po: Update.
38825         * po/it.po: Update.
38826         * po/ja.po: Update.
38827         * po/ko.po: Update.
38828         * po/lt.po: Update.
38829         * po/nb.po: Update.
38830         * po/nl.po: Update.
38831         * po/pl.po: Update.
38832         * po/pt_BR.po: Update.
38833         * po/ru.po: Update.
38834         * po/rw.po: Update.
38835         * po/sk.po: Update.
38836         * po/sl.po: Update.
38837         * po/sv.po: Update.
38838         * po/tr.po: Update.
38839         * po/uk.po: Update.
38840         * po/vi.po: Update.
38841         * po/zh_CN.po: Update.
38842         * po/zh_TW.po: Update.
38844         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
38845         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
38846         * sysdeps/hppa/dl-irel.h: Remove #warning.
38847         * sysdeps/hppa/entry.h: Provide prototype for
38848         __canonicalize_funcptr_for_compare and cast argument.
38849         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
38850         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
38851         * sysdeps/hppa/sotruss-lib.c: New file.
38852         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
38853         (atomic_compare_and_exchange_val_acq): Use __typeof__.
38854         (atomic_compare_and_exchange_bool_acq): Likewise.
38855         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
38856         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
38858         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
38859         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
38860         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
38862 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
38864         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
38865         called function in non-PIC case.
38867 2015-01-31  David S. Miller  <davem@davemloft.net>
38869         * sysdeps/sparc/sparc32/bits/atomic.h
38870         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
38871         unlock not after it.
38872         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
38873         volatile register usage warnings from the compiler.
38875         * sysdeps/sparc/nptl/sem_init.c: Delete.
38876         * sysdeps/sparc/nptl/sem_post.c: Delete.
38877         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
38878         * sysdeps/sparc/nptl/sem_wait.c: Delete.
38879         * sysdeps/sparc/sparc32/sem_init.c: New file.
38880         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
38881         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
38882         padding explicitly initialized.
38883         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
38884         padding for in-semaphore spinlock.
38885         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
38886         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
38887         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
38888         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
38889         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
38890         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
38891         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
38892         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
38893         version.
38894         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
38895         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
38897 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
38899         [BZ #17801]
38900         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38901         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
38902         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
38903         New.
38904         (index_AVX_Fast_Unaligned_Load): Likewise.
38905         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
38906         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
38907         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
38908         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
38909         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
38910         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
38911         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
38912         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
38913         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
38915 2015-01-29  Andreas Schwab  <schwab@suse.de>
38917         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
38919 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
38921         [BZ #17892]
38922         * nscd/nscd_stat.c (send_stats): Initialize DATA.
38924 2015-01-28  Martin Sebor  <msebor@redhat.com>
38926         * math/README.libm-test: Clarify. Add "How to read the test output."
38928 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
38930         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
38931         Define to 0.
38933 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
38935         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
38936         (__HAVE_64B_ATOMICS): Define to 0.
38938 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38940         [BZ #17885]
38941         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
38942         value to set as new flag.
38944         [BZ #16576]
38945         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
38946         and use _ARCH_PPCSQ instead.
38947         (__ieee754_sqrt): Likewise.
38948         (__ieee754_sqrtf): Likewise.
38949         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
38950         _ARCH_PPCSQ is defined.
38951         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
38952         fsqrt instruction.
38953         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
38954         _ARCH_PPCSQ is defined.
38955         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
38956         fsqrts instruction.
38957         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
38959 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38961         * iconv/loop.c: Suppress array out of bound warning caused by GCC
38962         bug (GCC BZ #64739).
38964 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
38966         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
38967         Mark _retval as used.
38968         (lll_futex_wake_unlock): Likewise.
38969         (lll_futex_timed_wait_requeue_pi): Likewise.
38971         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38972         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
38973         register variables.
38975         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
38976         libm_hidden_def.
38978         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
38979         (__bswap_64): Mark as __always_inline.
38981 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
38983         [BZ #15378]
38984         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
38985         when none of the search directories exist.
38987 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38989         [BZ #17869]
38990         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
38991         power8 in .machine directive.
38993         [BZ #17868]
38994         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
38995         set dependency from opd value.
38997 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39000         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
39001         architecture.
39003 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
39005         [BZ #17870]
39006         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
39007         with uint64_t.
39008         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
39009         (uint64_t) 1.
39010         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
39011         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
39012         Replace 1UL with (uint64_t) 1.
39013         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
39014         int with uint64_t.
39016 2015-01-23  Roland McGrath  <roland@hack.frob.com>
39018         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
39019         (if_freenameindex): Likewise.
39021         * resource/getrlimit64.c: Add missing libc_hidden_def.
39023 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
39025         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
39026         __label__.
39027         (_FP_FMA): Likewise.
39028         (_FP_TO_INT_ROUND): Likewise.
39029         (_FP_FROM_INT): Likewise.
39031 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39033         [BZ #16418]
39034         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
39035         Make code racy and cancel safe.
39037 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
39039         * sysdeps/arm/unwind-resume.h: Fix copyright year.
39040         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
39041         attribution.
39043         * pwd/tst-getpw.c: Rewrite.
39045         [BZ #17702]
39046         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
39047         (modules-names): Add moddummy1 and moddummy2.
39048         ($(objpfx)tst-rec-dlopen): Define.
39049         * dlfcn/moddummy1.c: New file.
39050         * dlfcn/moddummy2.c: New file.
39051         * dlfcn/tst-rec-dlopen.c: New file.
39052         * elf/dl-cache.c (_dl_load_cache_lookup):
39053         Return char*. Copy result with alloca/strcpy/strdup.
39054         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
39055         returns char*. Free cached. If not saving realname
39056         free cached.
39057         * elf/dl-open.c (dl_open_worker): Do not assert that
39058         _r_debug->r_state is RT_CONSISTENT.
39059         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
39060         returns char*.
39062 2015-01-21  Torvald Riegel  <triegel@redhat.com>
39063             Carlos O'Donell  <carlos@redhat.com>
39065         [BZ #12674]
39066         * nptl/sem_waitcommon.c: New file.
39067         * nptl/sem_wait.c: Include sem_waitcommon.c.
39068         (__sem_wait_cleanup, do_futex_wait): Remove.
39069         (__new_sem_wait): Adapt.
39070         (__new_sem_trywait): New function.
39071         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
39072         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
39073         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
39074         (sem_timedwait): Adapt.
39075         * nptl/sem_post.c (__new_sem_post): Adapt.
39076         (futex_wake): New function.
39077         (__old_sem_post): Add release MO fence.
39078         * nptl/sem_open.c (sem_open): Adapt.
39079         * nptl/sem_init.c (__new_sem_init): Adapt.
39080         (futex_private_if_supported): New function.
39081         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
39082         (__old_sem_getvalue): Add using previous code.
39083         * sysdeps/nptl/internaltypes.h: Adapt.
39084         * nptl/tst-sem13.c (do_test): Adapt.
39085         * nptl/tst-sem11.c (main): Adapt.
39086         * nptl/sem_trywait.c: Remove.
39087         * nptl/DESIGN-sem.txt: Remove.
39088         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
39089         (gen-as-const-headers): Remove structsem.sym.
39090         * nptl/structsem.sym: Remove.
39091         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
39092         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
39093         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
39094         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
39095         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
39096         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
39097         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
39098         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
39099         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
39100         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
39101         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
39102         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
39103         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
39104         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
39105         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
39106         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
39107         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
39108         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
39109         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
39110         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
39111         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
39112         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
39114 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
39116         * INSTALL: Regenerated.
39118         * po/libc.pot: Regenerated.
39120 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
39121             Sandra Loosemore  <sandra@codesourcery.com>
39122             Andrew Jenner  <andrew@codesourcery.com>
39123             Joseph Myers  <joseph@codesourcery.com>
39124             Nathan Sidwell  <nathan@codesourcery.com>
39126         * NEWS: Mention new Nios II port.
39127         * sysdeps/nios2/Implies: New file.
39128         * sysdeps/nios2/Makefile: New file.
39129         * sysdeps/nios2/Subdirs: New file.
39130         * sysdeps/nios2/Versions: New file.
39131         * sysdeps/nios2/__longjmp.S: New file.
39132         * sysdeps/nios2/abort-instr.h: New file.
39133         * sysdeps/nios2/backtrace.c: New file.
39134         * sysdeps/nios2/bits/endian.h: New file.
39135         * sysdeps/nios2/bits/fenv.h: New file.
39136         * sysdeps/nios2/bits/link.h: New file.
39137         * sysdeps/nios2/bits/setjmp.h: New file.
39138         * sysdeps/nios2/bsd-_setjmp.S: New file.
39139         * sysdeps/nios2/bsd-setjmp.S: New file.
39140         * sysdeps/nios2/configure: New generated file.
39141         * sysdeps/nios2/configure.ac: New file.
39142         * sysdeps/nios2/crti.S: New file.
39143         * sysdeps/nios2/crtn.S: New file.
39144         * sysdeps/nios2/dl-init.c: New file.
39145         * sysdeps/nios2/dl-machine.h: New file.
39146         * sysdeps/nios2/dl-sysdep.h: New file.
39147         * sysdeps/nios2/dl-tls.h: New file.
39148         * sysdeps/nios2/dl-trampoline.S: New file.
39149         * sysdeps/nios2/gccframe.h: New file.
39150         * sysdeps/nios2/gmp-mparam.h: New file.
39151         * sysdeps/nios2/jmpbuf-offsets.h: New file.
39152         * sysdeps/nios2/jmpbuf-unwind.h: New file.
39153         * sysdeps/nios2/ldsodefs.h: New file.
39154         * sysdeps/nios2/libc-tls.c: New file.
39155         * sysdeps/nios2/libm-test-ulps: New file.
39156         * sysdeps/nios2/machine-gmon.h: New file.
39157         * sysdeps/nios2/math-tests.h: New file.
39158         * sysdeps/nios2/math_private.h: New file.
39159         * sysdeps/nios2/memusage.h: New file.
39160         * sysdeps/nios2/nptl/Makefile: New file.
39161         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
39162         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
39163         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
39164         * sysdeps/nios2/nptl/pthreaddef.h: New file.
39165         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
39166         * sysdeps/nios2/nptl/tls.h: New file.
39167         * sysdeps/nios2/preconfigure: New file.
39168         * sysdeps/nios2/s_fma.c: New file.
39169         * sysdeps/nios2/s_fmaf.c: New file.
39170         * sysdeps/nios2/setjmp.S: New file.
39171         * sysdeps/nios2/sfp-machine.h: New file.
39172         * sysdeps/nios2/sotruss-lib.c: New file.
39173         * sysdeps/nios2/stackguard-macros.h: New file.
39174         * sysdeps/nios2/stackinfo.h: New file.
39175         * sysdeps/nios2/start.S: New file.
39176         * sysdeps/nios2/sysdep.h: New file.
39177         * sysdeps/nios2/tls-macros.h: New file.
39178         * sysdeps/nios2/tst-audit.h: New file.
39179         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
39180         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
39181         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
39182         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
39183         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
39184         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
39185         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
39186         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
39187         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
39188         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
39189         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
39190         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
39191         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
39192         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
39193         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
39194         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
39195         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
39196         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
39197         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
39198         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
39199         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
39200         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
39201         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
39202         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
39203         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
39204         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
39205         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
39206         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
39207         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
39208         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
39209         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
39210         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
39211         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
39212         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
39213         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
39214         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
39215         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
39216         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
39217         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
39218         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
39219         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
39220         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
39221         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
39222         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
39224 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39226         [BZ #17844]
39227         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
39228         (getutent): Use weak_alias in non SHARED case
39229         and default_symbol_version in SHARED case.
39230         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
39231         (getutent_r, pututline): Likewise.
39232         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
39233         (getutid): Likewise.
39234         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
39235         (getutid_r): Likewise.
39236         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
39237         (getutline): Likewise.
39238         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
39239         (getutline_r): Likewise.
39240         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
39241         (updwtmp): Likewise.
39243 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39245         [BZ #17848]
39246         * sysdeps/s390/s390-32/memcmp.S
39247         (memcmp_g5): Rename to __memcmp_g5.
39248         * sysdeps/s390/s390-32/memcpy.S
39249         (memcpy_g5): Rename to __memcpy_g5.
39250         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39251         (memcpy_mvcle) Rename to __memcpy_mvcle.
39252         * sysdeps/s390/s390-32/memset.S
39253         (memset_g5): Rename to __memset_g5.
39254         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39255         (IFUNC_RESOLVE): Prefix ifunc-resolve function
39256         and use prefixed functions.
39257         * sysdeps/s390/s390-32/multiarch/memcmp.S
39258         (memcmp_z196): Rename to __memcmp_z196.
39259         (memcmp_z10): Rename to __memcmp_z10.
39260         (memcmp): Set alias to __memcmp_g5.
39261         (bcmp): Set alias to __memcmp_g5.
39262         * sysdeps/s390/s390-32/multiarch/memcpy.S
39263         (memcpy_z196): Rename to __memcpy_z196.
39264         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39265         (memcpy_z10): Rename to __memcpy_z10.
39266         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39267         (memcpy): Set alias to __memcpy_g5.
39268         * sysdeps/s390/s390-32/multiarch/memset.S
39269         (memset_z196): Rename to __memset_z196.
39270         Jump to __memset_mvcle instead of memset_mvcle.
39271         (memset_z10): Rename to __memset_z10.
39272         Jump to __memset_mvcle instead of memset_mvcle.
39273         (memset_mvcle) Rename to __memset_mvcle.
39274         (memset): Set alias to __memset_g5.
39275         * sysdeps/s390/s390-64/memcmp.S
39276         (memcmp_z900): Rename to __memcmp_z900.
39277         * sysdeps/s390/s390-64/memcpy.S
39278         (memcpy_z900): Rename to __memcpy_z900.
39279         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39280         (memcpy_mvcle) Rename to __memcpy_mvcle.
39281         * sysdeps/s390/s390-64/memset.S
39282         (memset_z900): Rename to __memset_z900.
39283         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
39284         (IFUNC_RESOLVE): Prefix ifunc-resolve function
39285         and use prefixed functions.
39286         * sysdeps/s390/s390-64/multiarch/memcmp.S
39287         (memcmp_z196): Rename to __memcmp_z196.
39288         (memcmp_z10): Rename to __memcmp_z10.
39289         (memcmp): Set alias to __memcmp_z900.
39290         (bcmp): Set alias to __memcmp_z900.
39291         * sysdeps/s390/s390-64/multiarch/memcpy.S
39292         (memcpy_z196): Rename to __memcpy_z196.
39293         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39294         (memcpy_z10): Rename to __memcpy_z10.
39295         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39296         (memcpy): Set alias to __memcpy_z900.
39297         * sysdeps/s390/s390-64/multiarch/memset.S
39298         (memset_z196): Rename to __memset_z196.
39299         Jump to __memset_mvcle instead of memset_mvcle.
39300         (memset_z10): Rename to __memset_z10.
39301         Jump to __memset_mvcle instead of memset_mvcle.
39302         (memset_mvcle) Rename to __memset_mvcle.
39303         (memset): Set alias to __memset_z900.
39305 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
39307         [BZ #17748]
39308         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
39309         __fesetenv instead of fesetenv.
39311 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39313         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
39314         macro.
39316 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39318         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
39319         regression on LE.
39321         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
39322         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
39323         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39324         strncmp-power8 object.
39325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39326         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
39327         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
39328         * NEWS: Update.
39330 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39331             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39333         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
39334         trailing byte check.
39336 2015-01-13  David S. Miller  <davem@davemloft.net>
39338         * include/signal.h (__sigreturn): Guard with __USE_MISC.
39340 2015-01-13  Roland McGrath  <roland@hack.frob.com>
39342         * login/logout.c (logout): Use memset rather than bzero.
39343         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
39344         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
39345         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
39346         (_gethtbyaddr): Likewise.
39347         * locale/programs/simple-hash.c (bcopy): Macro removed.
39349 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39351         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39352         Add strcmp-power8 object.
39353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39354         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
39355         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
39356         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
39357         __strcmp_power8 implementation.
39358         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
39359         * NEWS: Update.
39361         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39362         Add strncpy-power8 and stpncpy-power8 objects.
39363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39364         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
39365         implementations.
39366         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
39367         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
39368         __stpncpy_power8 implementation.
39369         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
39370         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
39371         __strncpy_power8 implementation.
39372         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
39373         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
39374         * NEWS: Update.
39376         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
39377         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
39378         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
39380         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39381         strncat-power8 object.
39382         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
39383         __strcat_power8 implementation.
39384         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39385         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
39386         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
39387         optimized strcat for power8.
39389         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39390         strcpy-power8 and stpcpy-power8 objects.
39391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39392         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
39393         implementations.
39394         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
39395         multiarch stpcpy implementation for POWER8.
39396         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
39397         multiarch strcpy implementation for POWER8.
39398         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
39399         __strcpy_power8 function.
39400         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
39401         stpcpy for POWER8.
39402         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
39403         strcpy for POWER8.
39404         * NEWS: Update.
39406 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
39408         [BZ #16009]
39409         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
39410         weights and rules. Use do_xfrm_cached if data fits in cache,
39411         do_xfrm otherwise.  Moved former main loop to...
39412         * (do_xfrm_cached): New function.
39413         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
39414         find_idx, find_position and stack_push.
39415         * (find_idx): New function.
39416         * (find_position): Likewise.
39417         * localedata/sort-test.sh: Added test run for do_xfrm.
39418         * localedata/xfrm-test.c (main): Added command line option
39419         -nocache to run the test with strings that are too large for
39420         the STRXFRM cache.
39422 2015-01-13  Torvald Riegel  <triegel@redhat.com>
39424         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
39425         variable to lll_futex_wake call, not the value itself.
39427 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
39429         [BZ #17803]
39430         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
39431         twom64.  Adjust value to 0x1p-64L.
39432         (__scalblnl): Only return standard underflowing result for K <=
39433         -64 not K <= -63; adjust exponent for underflowing result by 64
39434         not 63.
39435         * math/libm-test.inc (scalbn_test_data): Add more tests.
39436         (scalbln_test_data): Likewise.
39438         [BZ #17834]
39439         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
39440         0x1p63L.
39441         (__scalblnl): Get new exponent of adjusted subnormal value from ES
39442         not HX.
39443         * math/libm-test.inc (scalbn_test_data): Add more tests.
39444         (scalbln_test_data): Likewise.
39446 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39447             Stefani Seibold  <stefani@seibold.net>
39449         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
39450         (sysdep_routines): Add dl-vdso here, ...
39451         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
39452         (sysdep_routines): ... not here.
39453         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
39454         fallback when vDSO is not presented.
39455         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
39456         Define with libc_hidden_proto/libc_hidden_data_def definitions.
39457         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
39458         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
39459         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
39460         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
39461         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
39462         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
39463         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
39464         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
39465         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
39466         fallback configurable symbol when vDSO is not available.
39467         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
39468         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
39469         be able to redefine fallback symbol when vDSO is not available.
39470         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
39471         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
39473 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39475         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
39476         (TLS_INIT_TP): Add tm_capable initialization.
39477         (TLS_DEFINE_INIT_TP): Likewise.
39478         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
39479         TCB.
39480         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
39481         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
39482         calculation.
39483         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
39484         transactoion is lock elision is built and TCB tm_capable is set.
39485         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
39486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39487         (INTERNAL_SYSCALL_NCS): Likewise.
39488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39489         (INTERNAL_SYSCALL_NCS): Likewise.
39490         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
39492         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
39493         for powerpc.
39494         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39495         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
39496         and remove it for 32 bits case.
39497         [pthread_rwlock_t] (__rwelision): New field for lock elision.
39498         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
39499         initialization.
39500         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
39501         Disable lock elision with rdlocks if elision is not available.
39503         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
39504         (sysdep_routines): Add lock elision objects.
39505         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39506         [pthread_mutex_t] (__spins): Rework to add lock elision field.
39507         [pthread_mutex_t] (__elision): Add field.
39508         [__PTHREAD_SPINS]: Adjust to init lock elision field.
39509         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
39510         elision definitions for powerpc.
39511         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
39512         implementation of lock elision for powerpc.
39513         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
39514         implementation of timed lock elision for powerpc.
39515         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
39516         implementation of trylock with lock elision for powerpc.
39517         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
39518         implementaion of unlock for lock elision for powerpc.
39519         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
39520         automatic enable lock elision for mutexes.
39521         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
39522         transaction execution definitions for powerpc.
39523         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
39524         definitions.
39525         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
39526         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
39527         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
39528         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
39529         * NEWS: Update.
39531 2015-01-09  Roland McGrath  <roland@hack.frob.com>
39533         * sysdeps/posix/shm-directory.c: Use <> rather than ""
39534         for #include of <shm-directory.h>.
39536 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
39538         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
39539         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
39541 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
39543         [BZ #17791]
39544         * NEWS: Mention bug fix.
39545         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
39546         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
39547         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
39549 2015-01-09  Torvald Riegel <triegel@redhat.com>
39551         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
39553 2015-01-09  Torvald Riegel <triegel@redhat.com>
39555         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
39557 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39559         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
39560         pointer and cast to uintptr_t.
39562 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39564         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
39565         removed.
39566         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
39568 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39570         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
39571         of 0.
39573 2015-01-08  Roland McGrath  <roland@hack.frob.com>
39575         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
39576         <nptl/pthreadP.h> instead.
39577         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
39579         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
39580         already defined.
39581         [__SIGRTMIN] (init): Function removed.
39582         [__SIGRTMIN] (initialized): Variable removed.
39583         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
39584         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
39585         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
39586         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
39587         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
39588         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
39589         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
39590         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
39591         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
39592         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
39593         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
39594         * sysdeps/nptl/allocrtsig.c: New file.
39595         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
39596         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
39597         * sysdeps/generic/testrtsig.h: File removed.
39599         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
39600         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
39602         * nptl/nptl-init.c (pthread_functions): Conditionalize
39603         .ptr__nptl_setxid initialization on [SIGSETXID].
39605         * sysdeps/nptl/sys/procfs.h: New file.
39606         * nptl_db/Makefile (headers): Add it.
39607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
39609         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
39610         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
39611         * nptl/pthread_attr_setaffinity.c: Include it.
39612         * nptl/pthread_setattr_default_np.c: Likewise.
39613         * nptl/check-cpuset.h: New file.
39615 2015-01-08  Richard Henderson  <rth@redhat.com>
39617         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
39618         (CFLAGS-tst-execstack-prog.c): Likewise.
39619         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
39621 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
39622             Sandra Loosemore  <sandra@codesourcery.com>
39623             Andrew Jenner  <andrew@codesourcery.com>
39624             Joseph Myers  <joseph@codesourcery.com>
39625             Nathan Sidwell  <nathan@codesourcery.com>
39627         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
39628         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
39629         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
39630         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
39631         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
39632         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
39633         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
39634         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
39635         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
39636         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
39637         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
39638         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
39639         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
39640         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
39641         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
39642         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
39643         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
39645 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39647         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
39648         timespec struct member in syscall macro.
39649         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
39650         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
39651         first timeval struct member in syscall macro.
39652         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
39654 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
39656         [BZ #17748]
39657         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
39658         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
39659         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
39660         __feupdateenv and define as weak alias of __feupdateenv.  Use
39661         libm_hidden_weak.
39662         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
39663         libm_hidden_def.
39664         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
39665         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
39666         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39667         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
39668         libm_hidden_def.
39669         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
39670         __feupdateenv and define as weak alias of __feupdateenv.  Use
39671         libm_hidden_weak.
39672         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
39673         libm_hidden_def.
39674         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
39675         __feupdateenv and define as weak alias of __feupdateenv.  Use
39676         libm_hidden_weak.
39677         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
39678         libm_hidden_def.
39679         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39680         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39681         (__feupdateenv): Likewise.
39682         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
39683         __feupdateenv and define as weak alias of __feupdateenv.  Use
39684         libm_hidden_weak.
39685         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39686         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
39687         libm_hidden_def.
39688         * sysdeps/tile/math_private.h (__feupdateenv): New inline
39689         function.
39690         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
39691         libm_hidden_def.
39692         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
39693         __feupdateenv instead of feupdateenv.
39694         (default_libc_feupdateenv_test): Likewise.
39695         (libc_feresetround_ctx): Likewise.
39697 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39699         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
39700         prototype.
39702 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
39704         * posix/regcomp.c (parse_bracket_exp): Initialize type to
39705         COLL_SYM in a couple of places to avoid uninitialized variable
39706         wanings on tilegx gcc 4.8.2.
39708 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
39710         * sysdeps/aarch64/strcpy.S: New file.
39711         * sysdeps/aarch64/stpcpy.S: New file.
39712         * NEWS: Updated.
39714 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
39716         * sysdeps/aarch64/strrchr.S: New file.
39717         * NEWS: Updated.
39719 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
39721         [BZ #17658]
39722         * stdlib/setenv.c: Fix memory leak when setting large,
39723         duplicate string.
39725 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
39727         [BZ #17273]
39728         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
39729         and tabs from buffer before parsing fstab entry.
39730         * misc/tst-mntent.c (main): Add test for mount entry with
39731         trailing spaces and tabs.
39733 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
39735         [BZ #17748]
39736         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
39737         * math/fesetround.c (fesetround): Rename to __fesetround and
39738         define as weak alias of __fesetround.  Use libm_hidden_weak.
39739         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
39740         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
39741         * sysdeps/arm/fesetround.c (fesetround): Likewise.
39742         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
39743         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
39744         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
39745         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
39746         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
39747         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
39748         __fesetround_inline.
39749         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
39750         __fesetround_inline instead of __fesetround.
39751         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
39752         __fesetround and define as weak alias of __fesetround.  Use
39753         libm_hidden_weak.  Call __fesetround_inline instead of
39754         __fesetround.
39755         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
39756         __fesetround and define as weak alias of __fesetround.  Use
39757         libm_hidden_weak.
39758         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
39759         Likewise.
39760         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
39761         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39762         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
39763         * sysdeps/tile/math_private.h (__fesetround): New inline function.
39764         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
39765         __fesetround and define as weak alias of __fesetround.  Use
39766         libm_hidden_weak.
39767         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
39768         __fesetround instead of fesetround.
39769         (default_libc_feholdexcept_setround): Likewise.
39770         (libc_feholdsetround_ctx): Likewise.
39771         (libc_feholdsetround_noex_ctx): Likewise.
39773         [BZ #17748]
39774         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
39775         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
39776         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39777         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39778         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39779         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
39780         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39781         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
39782         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39783         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39784         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39785         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39786         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39787         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39788         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
39789         libm_hidden_def.
39790         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
39791         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
39792         Likewise.
39793         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39794         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39795         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39796         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39797         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
39798         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39799         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39800         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
39801         __fesetenv instead of fesetenv.
39802         (libc_feresetround_noex_ctx): Likewise.
39803         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39804         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39805         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
39806         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39807         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39808         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39809         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39810         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39811         (__feupdateenv): Likewise.
39812         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39813         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39814         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39815         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
39817 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39819         [BZ #17806]
39820         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
39821         addresses have been freed.
39823 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39825         * resolv/res_init.c (__res_vinit): Improve comments about nserv
39826         and nservall.
39828 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
39830         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
39831         Clean up check_pf allocation pattern. addresses
39833 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39835         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
39836         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
39837         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
39838         * nptl/pthread_exit.c (__pthread_exit): Likewise.
39839         * nptl/pthread_join.c (pthread_join): Likewise.
39840         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
39841         * sysdeps/posix/waitid.c (__waitid): Likewise.
39842         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
39843         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
39844         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
39845         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
39846         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
39847         Likewise.
39848         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
39849         (__libc_pread64): Likewise.
39850         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
39851         (__libc_pwrite): Likewise.
39852         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
39853         (__libc_pwrite64): Likewsie.
39854         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
39855         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
39856         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
39857         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
39858         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
39859         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
39860         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
39862         Likewise.
39863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39864         (__libc_pread64): Likewise.
39865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
39866         Likewise.
39867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39868         (__libc_pwrite64): Likewise.
39869         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
39870         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
39871         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
39872         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
39873         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
39874         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
39875         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
39876         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
39877         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
39878         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
39879         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
39880         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
39881         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
39882         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
39883         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
39884         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
39885         Likewise.
39887 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
39889         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
39890         (CFLAGS-test-double.c): Likewise.
39891         (CFLAGS-test-ldouble.c): Likewise.
39892         (CPPFLAGS-test-ifloat.c): Likewise.
39893         (CPPFLAGS-test-idouble.c): Likewise.
39894         (CPPFLAGS-test-ildoubl.c): Likewise.
39895         (CFLAGS-test-test-fenv.c): Remove variable.
39896         (CFLAGS-test-misc.c): Likewise.
39898 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
39900         [BZ #17797]
39901         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
39902         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
39903         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
39904         CLOCKS_PER_SEC == 1000000.
39905         * time/clocktest.c (main): Replace %ld with %jd and cast to
39906         intmax_t.
39908 2015-01-05  Roland McGrath  <roland@hack.frob.com>
39910         * sysdeps/generic/unwind-resume.h: New file.
39911         * sysdeps/gnu/unwind-resume.c: Include it.
39912         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
39913         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
39914         argument list.
39915         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
39916         global rather than static.
39917         (_Unwind_Resume): Update user.
39918         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
39919         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
39920         rather than static.  Add __attribute__ ((cold)).
39921         (_Unwind_Resume, __gcc_personality_v0): Update callers.
39922         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
39923         * sysdeps/arm/arm-unwind-resume.S: New file.
39924         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
39925         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
39926         * sysdeps/arm/Makefile [$(subdir) = csu]
39927         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
39928         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39929         Add rt-arm-unwind-resume.
39930         [$(subdir) = nptl]
39931         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39932         Add pt-arm-unwind-resume.
39933         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
39934         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
39936 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39938         [BZ #17748]
39939         * include/fenv.h (__feholdexcept): Declare.  Use
39940         libm_hidden_proto.
39941         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
39942         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
39943         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39944         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
39945         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
39946         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
39947         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
39948         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39949         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
39950         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
39951         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39952         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
39953         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
39954         (feholdexcept): Likewise.
39955         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39956         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39957         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39958         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39959         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
39960         __feholdexcept instead of feholdexcept.
39961         (default_libc_feholdexcept_setround): Likewise.
39963 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39965         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
39966         to avoid using stl/str to align destination.
39968 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39970         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
39972 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39974         [BZ #17796]
39975         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
39976         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
39977         Define as weak alias not strong alias.
39979 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39981         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
39982         bltzal with addiupc.
39983         (RTLD_START): Ditto.
39985 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
39987         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
39988         for __vdso_* functions in declarations.
39989         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
39990         definitions.
39991         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
39992         INTERNAL_VSYSCALL): Use struct return types to check for error.
39994         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
39995         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
39996         function with cast from llround().
39997         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
39998         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
39999         Define.
40001 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
40003         [BZ #17793]
40004         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
40005         Define as weak alias not strong alias.
40007         [BZ #17635]
40008         * ctype/ctype-c99.c: New file.  isblank implementation moved from
40009         ...
40010         * ctype/ctype-extn.c: ... here.
40011         (__isblank_l): Move to ...
40012         * ctype/ctype-c99_l.c: ... here.  New file.
40013         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
40014         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
40015         Remove variable.
40016         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40017         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40018         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
40019         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
40020         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
40022         [BZ #17777]
40023         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
40024         (posix_fadvise64): Define as weak alias not strong alias.
40025         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40026         (posix_fallocate64): Likewise.
40027         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
40028         Remove variable.
40029         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
40030         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
40031         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
40032         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
40033         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
40035 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
40037         [BZ #16191]
40038         * NEWS: Mention bug fix.
40039         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
40040         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
40041         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
40042         (HOST_STACK_END_ADDR): Likewise.
40044 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
40046         [BZ #17748]
40047         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
40048         * math/fegetround.c (fegetround): Rename to __fegetround and
40049         define as weak alias of __fegetround.  Use libm_hidden_weak.
40050         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
40051         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
40052         * sysdeps/arm/fegetround.c (fegetround): Likewise.
40053         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
40054         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40055         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
40056         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
40057         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
40058         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40059         Undefine after rather than before function definition; use
40060         parentheses around function name in definition.
40061         (__fegetround): Also undefine macro after function definition.
40062         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
40063         __fegetround and define as weak alias of __fegetround.  Use
40064         libm_hidden_weak.  Do not undefine as macro.
40065         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40066         Likewise.
40067         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
40068         __fegetround and define as weak alias of __fegetround.  Use
40069         libm_hidden_weak.
40070         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40071         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40072         * sysdeps/tile/math_private.h (__fegetround): New inline function.
40073         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
40074         __fegetround and define as weak alias of __fegetround.  Use
40075         libm_hidden_weak.
40076         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
40077         __fegetround instead of fegetround.
40079         [BZ #17782]
40080         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
40081         Condition macro definition on [__USE_MISC].
40083         [BZ #17781]
40084         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
40085         (struct sigaction): Change type of sa_flags field to int.
40087         [BZ #17780]
40088         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
40089         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
40090         __glibc_reserved0.
40092         * nptl/version.c (banner): Use single year in copyright notice.
40094         * NEWS: Update copyright dates.
40095         * catgets/gencat.c (print_version): Likewise.
40096         * csu/version.c (banner): Likewise.
40097         * debug/catchsegv.sh: Likewise.
40098         * debug/pcprofiledump.c (print_version): Likewise.
40099         * debug/xtrace.sh (do_version): Likewise.
40100         * elf/ldconfig.c (print_version): Likewise.
40101         * elf/ldd.bash.in: Likewise.
40102         * elf/pldd.c (print_version): Likewise.
40103         * elf/sotruss.sh: Likewise.
40104         * elf/sprof.c (print_version): Likewise.
40105         * iconv/iconv_prog.c (print_version): Likewise.
40106         * iconv/iconvconfig.c (print_version): Likewise.
40107         * locale/programs/locale.c (print_version): Likewise.
40108         * locale/programs/localedef.c (print_version): Likewise.
40109         * login/programs/pt_chown.c (print_version): Likewise.
40110         * malloc/memusage.sh (do_version): Likewise.
40111         * malloc/memusagestat.c (print_version): Likewise.
40112         * malloc/mtrace.pl: Likewise.
40113         * manual/libc.texinfo: Likewise.
40114         * nptl/version.c (banner): Likewise.
40115         * nscd/nscd.c (print_version): Likewise.
40116         * nss/getent.c (print_version): Likewise.
40117         * nss/makedb.c (print_version): Likewise.
40118         * posix/getconf.c (main): Likewise.
40119         * scripts/test-installation.pl: Likewise.
40120         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
40122 2015-01-02  Will Newton  <will.newton@linaro.org>
40124         * sysdeps/arm/armv7/configure: Removed.
40125         * sysdeps/arm/armv7/configure.ac: Likewise.
40127 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
40129         * All files with FSF copyright notices: Update copyright dates
40130         using scripts/update-copyrights.
40131         * intl/plural.c: Regenerated.
40132         * locale/programs/charmap-kw.h: Likewise.
40133         * locale/programs/locfile-kw.h: Likewise.
40135 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40137         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
40139 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
40141         [BZ #17748]
40142         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
40143         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
40144         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40145         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
40146         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40147         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
40148         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40149         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
40150         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40151         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40152         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40153         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40154         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40155         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40156         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
40157         libm_hidden_def.
40158         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
40159         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
40160         Likewise.
40161         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40162         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40163         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40164         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40165         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
40166         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40167         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
40168         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
40169         __fegetenv instead of fegetenv.
40170         (libc_feholdsetround_noex_ctx): Likewise.
40172 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
40174         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
40175         (Elf_MIPS_ABIFlags_v0): New structure.
40176         (EF_MIPS_FP64): Define.
40177         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
40178         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
40179         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
40180         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
40181         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
40182         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
40183         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
40184         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
40185         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
40186         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
40187         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
40188         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
40189         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
40190         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
40191         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
40192         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
40193         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
40194         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
40195         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
40196         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
40197         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
40198         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
40199         field.
40200         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
40201         EF_MIPS_FP64.
40202         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
40203         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
40204         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
40205         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
40206         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
40207         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
40208         * sysdeps/mips/tst-abi-interlink.c: Likewise.
40209         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
40210         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
40211         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
40212         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
40213         record the current FP ABI extension.
40214         (mips-mode-switch): Define to show if kernel headers support mode
40215         switching.
40216         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
40217         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
40218         supported SYSV ABI version to 3.
40219         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
40220         feature.
40222 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40223             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40225         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
40226         path.
40227         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
40229 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
40231         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
40232         __fegetround and redefine to call __fegetround.  Remove condition
40233         on [!__NO_MATH_INLINES].
40234         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
40235         function.
40236         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
40237         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40238         Remove macro.
40239         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
40240         instead of <fenv_libc.h>.
40241         (__llrintl): Call fegetround instead of __fegetround.
40242         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
40243         instead of <fenv_libc.h>.
40244         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40245         (__lrintl): Call fegetround instead of __fegetround.
40246         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
40247         instead of <fenv_libc.h>.
40248         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40249         (__rintl): Call fegetround instead of __fegetround.
40251 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40253         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
40254         arrays.
40256 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
40258         [BZ #17775]
40259         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
40260         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
40261         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
40263 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
40265         * sysdeps/i386/tls-macros.h: Include <features.h>.
40266         (TLS_LE): Use non-PIC version for GCC >= 5.0.
40267         (TLS_IE): Likewise.
40268         (TLS_LD): Likewise.
40269         (TLS_GD): Likewise.
40270         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
40271         define for GCC >= 5.0.
40273 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
40275         * math/test-fenv.c (test_single_exception, set_single_exc,
40276         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
40277         feexcp_mask_test, feenable_test, fe_single_test): Add
40278         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
40279         case where they are not used.
40280         * math/libm-test.inc: Likewise.
40281         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
40282         unused in the absence of FP rounding/exception support.
40283         * stdio-common/tst-printf-round.c: Likewise.
40284         * stdlib/tst-strtod-round.c: Likewise.
40285         * stdlib/tst-strtod-underflow.c: Likewise.
40287 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
40289         [BZ #17723]
40290         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
40291         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
40292         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40293         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40294         libm_hidden_weak.
40295         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
40296         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
40297         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
40298         libm_hidden_def.
40299         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40300         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40301         libm_hidden_weak.
40302         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
40303         Likewise.
40304         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
40305         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40306         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40307         libm_hidden_weak.
40308         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
40309         libm_hidden_def.
40310         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
40311         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
40312         (__feraiseexcept): Likewise.
40313         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40314         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40315         libm_hidden_weak.
40316         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
40317         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
40318         libm_hidden_def.
40319         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
40320         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
40321         Use libm_hidden_def.
40322         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
40323         libm_hidden_def.
40324         (feraiseexcept): Define as weak not strong alias.  Use
40325         libm_hidden_weak.
40326         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
40327         New inline function.  Factored out of ...
40328         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
40329         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
40330         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
40331         feraiseexcept.
40332         * math/w_acos.c (__acos): Likewise.
40333         * math/w_asin.c (__asin): Likewise.
40334         * math/w_ilogb.c (__ilogb): Likewise.
40335         * math/w_j0.c (y0): Likewise.
40336         * math/w_j1.c (y1): Likewise.
40337         * math/w_jn.c (yn): Likewise.
40338         * math/w_log.c (__log): Likewise.
40339         * math/w_log10.c (__log10): Likewise.
40340         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
40341         * sysdeps/aarch64/fpu/math_private.h
40342         (libc_feupdateenv_test_aarch64): Likewise.
40343         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
40344         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
40345         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
40346         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
40347         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
40348         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
40349         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
40350         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40351         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40352         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40354 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
40356         [BZ #17732]
40357         * io/test-utime.c (main): Replace %ld with %jd and cast to
40358         intmax_t.
40359         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
40360         * nptl/tst-mutex5.c: Include <stdint.h>.
40361         (do_test): Replace %ld with %jd and cast to intmax_t.
40362         * posix/tst-regex.c (run_test): Likewise.
40363         (run_test_backwards): Likewise.
40364         * rt/tst-clock.c: Include <stdint.h>.
40365         (clock_test): Replace %ld with %jd and cast to intmax_t.
40366         * rt/tst-cpuclock1.c: Include <stdint.h>.
40367         (do_test): Replace %lu with %ju and cast to uintmax_t.
40368         * rt/tst-cpuclock2.c: Include <stdint.h>.
40369         (do_test): Replace %lu with %ju and cast to uintmax_t.
40370         * rt/tst-mqueue1.c: Include <stdint.h>.
40371         (check_attrs): Replace %ld with %jd and cast to intmax_t.
40372         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
40373         intmax_t.
40374         * rt/tst-mqueue4.c (do_test): Likewise.
40375         * rt/tst-timer4.c: Include <stdint.h>.
40376         (check_ts): Replace %ld with %jd and cast to intmax_t.
40377         (do_test): Likewise.
40378         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
40379         and cast to intmax_t.
40380         * sysdeps/pthread/tst-timer.c (main): Likewise.
40381         * time/clocktest.c (main): Likewise.
40382         * time/tst-posixtz.c (do_test): Likewise.
40383         * timezone/tst-timezone.c (main): Likewise.
40385 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
40386             H.J. Lu  <hongjiu.lu@intel.com>
40388         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
40389         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
40390         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
40391         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
40392         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
40393         version if bit_Fast_Unaligned_Load is set.
40394         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40395         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40396         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40397         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40398         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40399         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40400         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40401         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
40402         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
40403         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
40404         to 4.
40405         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
40406         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
40407         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
40408         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
40410 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
40412         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
40413         instead of #if to avoid a Wundef warning.
40414         * stdlib/tst-limits.c (do_test): Likewise.
40416         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
40417         parallel other exception macros.
40418         (fegetenv): Convert from macro to extern inline so that it applies
40419         retroactively to inline functions already seen by the compiler.
40420         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
40422         * posix/Makefile (before-compile): Use $(objpfx) for
40423         posix-conf-vars-def.h.
40425 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40427         * posix/getconf.c (main): Use size_t for type of I.
40428         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
40429         NSPEC.
40431         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
40432         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
40433         * posix/posix-envs.def: Likewise.
40434         * sysdeps/posix/sysconf.c: Likewise.
40435         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
40436         (specs): Remove array.
40437         * scripts/gen-posix-conf-vars.awk: Support generation of specs
40438         array.
40440         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
40441         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
40442         (__sysconf): Use CONF_IS_* macros.
40444         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
40445         ($(objpfx)posix-conf-vars-def.h): New target.
40446         * posix/posix-conf-vars.list: New file.
40447         * posix/posix-conf-vars.h: New file.
40448         * posix/confstr.c: Include posix-conf-vars.h.
40449         (confstr): Use CONF_IS_* macros.
40450         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
40451         CONF_IS_* macros.
40452         * scripts/gen-posix-conf-vars.awk: New file.
40454 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
40456         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
40457         fegetround): Add no-op macros to avoid linknamespace issues.
40459         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
40460         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
40462         * sysdeps/unix/sysv/linux/tile/sysdep.h
40463         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
40464         assembly-specific section to avoid a redefinition warning.
40466         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
40467         long before casting to pointer to avoid a cast warning.
40469 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
40471         * sysdeps/tile/tilegx/Implies: New file.
40473 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
40475         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
40477 2014-12-23  Florian Weimer  <fweimer@redhat.com>
40479         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
40481 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40483         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
40484         not define.
40485         * sysdeps/unix/sysv/linux/utimes.c: Do not include
40486         <kernel-features.h>.
40487         (__utimes) [__NR_utimes]: Make code unconditional.
40488         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
40489         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40490         (__ASSUME_UTIMES): Do not undefine.
40491         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40492         (__ASSUME_UTIMES): Likewise.
40493         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
40494         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
40495         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
40496         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
40498 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
40500         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
40502 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
40504         [BZ #17747]
40505         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
40506         alias to weak alias for j0l, y0l.
40507         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
40508         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
40510         [BZ #17746]
40511         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
40512         conversion.
40514 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
40516         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
40517         to zero if not already defined.
40519 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40521         [BZ #17724]
40522         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
40523         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
40524         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
40525         (char *) casts added.
40526         * sysdeps/ieee754/k_standardf.c: New file.
40527         * sysdeps/ieee754/k_standardl.c: Likewise.
40528         * math/Makefile (libm-support): Remove k_standard.
40529         (libm-calls): Add k_standard.
40531 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40533         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
40534         Optimize to avoid an unnecessary FPCR read.
40536 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40538         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
40539         Optimize to reduce FPCR/FPSR accesses.
40541 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40543         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
40544         Call libc_fetestexcept_aarch64.
40546 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40548         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
40549         Call libc_fesetround_aarch64.
40551 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40553         [BZ #17733]
40554         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
40555         (__bind): Do not define as weak alias.
40556         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
40557         define.
40558         (__getsockname): Do not define as weak alias.
40560 2014-12-22  Will Newton  <will.newton@linaro.org>
40562         * manual/install.texi: Document that we require bison 2.7
40563         or above.
40564         * INSTALL: Regenerate.
40565         * configure.ac: Use AC_CHECK_PROG_VER instead of
40566         AC_PATH_PROG when checking for bison and check for
40567         version 2.7 or above.
40568         * configure: Regenerate.
40570 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
40572         [BZ #17745]
40573         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
40574         * sysdeps/tile/ffsll.c (ffsll): To here.
40576         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
40578 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
40580         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
40581         if not defined.
40582         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
40583         definition.
40584         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40585         hidden ___tls_get_addr.
40586         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40587         hidden __tls_get_addr.
40588         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
40589         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
40590         Likewise.
40592 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40594         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
40595         _dl_init call.
40597 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
40599         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
40600         from "call _dl_init@PLT".
40601         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
40603 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
40605         * manual/search.texi: (Array Sort Function): Clarify stable sorting
40606         guarantees.
40608 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
40610         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
40612 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
40614         [BZ #17744]
40615         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
40616         strnlen.
40618 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
40620         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
40621         of multu on MIPSr6.
40622         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
40623         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
40624         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
40625         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
40626         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
40628 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
40630         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
40631         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
40632         (PTR_SUBU): Use subu for mips32r6/mips64r6.
40633         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
40634         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
40635         mips32r6/mips64r6.
40636         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
40638 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
40640         * string/strncat.c (STRNCAT): Simplify implementation.
40642 2014-12-19  David S. Miller  <davem@davemloft.net>
40644         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
40645         access the quad as both a long double and as a series of 4 words.
40647         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
40648         link_map->l_info array access.
40650 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
40652         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
40654         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
40655         * math/atest-exp2.c (TIMEOUT): Likewise.
40656         * math/atest-sincos.c (TIMEOUT): Likewise.
40658 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40660         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
40661         -Wno-error with -fno-builtin-lround.
40663 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40665         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
40666         Contains futex constants and functions moved over from ...
40667         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
40668         <lowlevellock-futex.h>.
40669         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40670         (lll_timedwait_tid): Add comments and parentheses around macro
40671         arguments.
40673 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40675         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
40676         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
40677         (__lll_private_flag): Remove.
40678         (lll_futex_wait): Likewise.
40679         (lll_futex_timed_wait): Likewise.
40680         (lll_futex_wake): Likewise.
40681         (lll_futex_requeue): Likewise.
40682         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40683         (__lll_timedwait_tid): Spell out argument names.
40684         (lll_timedwait_tid): Add comments and parentheses around macro
40685         arguments.
40686         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
40687         LLL_SHARED and LLL_PRIVATE usable from assembly code.
40689 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40691         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
40692         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40693         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40694         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
40695         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
40696         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
40697         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
40698         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
40699         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
40700         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
40701         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
40702         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
40703         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
40704         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
40705         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
40706         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
40707         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
40708         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
40709         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
40711 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40713         * sysdeps/x86_64/x32/Makefile: New file.
40715 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40717         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
40718         1L with (mp_limb_t) 1.
40720 2014-12-17  Roland McGrath  <roland@hack.frob.com>
40722         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
40723         * nptl/libc_pthread_init.c: ... here.
40724         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
40725         * nptl/register-atfork.c: ... here.
40727         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
40728         Use pthread_sigmask rather than INTERNAL_SYSCALL.
40729         Use assert_perror to check its return value.
40730         (__gai_create_helper_thread): Likewise.
40732         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
40734         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
40736 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
40738         [BZ #17725]
40739         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
40740         __profil_counter.
40741         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
40742         Likewise.
40743         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
40744         Likewise.
40745         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
40746         Likewise.
40747         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
40748         (profil_counter): Likewise.
40749         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
40750         (profil_counter): Likewise.
40751         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
40752         Likewise.
40753         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
40754         Likewise.
40755         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
40756         (profil_counter): Likewise.
40757         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
40758         Likewise.
40759         [!__profil_counter] (profil_counter): Define as weak alias of
40760         __profil_counter.
40761         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
40762         (profil_counter): Rename to __profil_counter.
40763         [!__profil_counter] (profil_counter): Define as weak alias of
40764         __profil_counter.
40765         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
40766         (profil_counter): Rename to __profil_counter.
40767         [!__profil_counter] (profil_counter): Define as weak alias of
40768         __profil_counter.
40769         * sysdeps/posix/profil.c: Update comment referring to
40770         profil_counter.
40771         (__profil): Use __profil_counter instead of profil_counter.
40772         * sysdeps/posix/sprofil.c (profil_counter): Rename to
40773         __profil_counter.  Use __profil_counter_ushort and
40774         __profil_counter_uint in definitions.
40775         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
40776         instead of profil_counter_uint and profil_counter_ushort.
40778         [BZ #17722]
40779         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
40780         define as weak alias of __inet_makeaddr.
40781         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
40782         as weak alias of __inet_addr.
40783         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
40784         as weak alias of __inet_pton.  Use libc_hidden_weak.
40785         * include/arpa/inet.h (__inet_pton): Declare.  Use
40786         libc_hidden_proto.
40787         (inet_makeaddr): Don't use libc_hidden_proto.
40788         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
40789         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
40790         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
40791         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
40792         Remove variable.
40793         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40794         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40796 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
40798         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
40800 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40802         * stdio-common/bug-vfprintf-nargs.c (do_test):
40803         Cast value to intptr_t to avoid format warning
40804         for usage with PRIdPTR printing macro.
40806 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40808         * libio/tst-widetext.c (do_test):
40809         Use format type %td instead of %Zd for ptrdiff_t
40810         in order to avoid format warning.
40812 2014-12-17  Andreas Schwab  <schwab@suse.de>
40814         * nscd/mem.c (gc): Add size_t cast to match printf format.
40816 2014-12-16  Roland McGrath  <roland@hack.frob.com>
40818         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
40819         (init): Apply PTR_MANGLE to pointers before storing them.
40820         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
40821         before using them.
40823 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
40825         [BZ #17719]
40826         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
40827         define as weak alias of __memrchr.
40828         (__memrchr): Do not define as strong alias of memrchr.
40829         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
40830         Remove variable.
40831         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40832         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40833         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40835         [BZ #17717]
40836         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
40837         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
40838         (if_indextoname): Rename to __if_indextoname and define as weak
40839         alias of __if_indextoname.  Use libc_hidden_weak.
40840         (if_freenameindex): Rename to __if_freenameindex and define as
40841         weak alias of __if_freenameindex.
40842         (if_nameindex): Rename to __if_nameindex and define as weak alias
40843         of __if_nameindex.
40844         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
40845         __if_nametoindex and define as weak alias of __if_nametoindex.
40846         Use libc_hidden_weak.
40847         (if_freenameindex): Rename to __if_freenameindex and define as
40848         weak alias of __if_freenameindex.
40849         (if_nameindex): Rename to __if_nameindex and define as weak alias
40850         of __if_nameindex.
40851         (if_indextoname): Rename to __if_indextoname and define as weak
40852         alias of __if_indextoname.  Use libc_hidden_weak.
40853         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
40854         __if_nametoindex and define as weak alias of __if_nametoindex.
40855         Use libc_hidden_weak.
40856         (if_freenameindex): Rename to __if_freenameindex and define as
40857         weak alias of __if_freenameindex.  Use libc_hidden_weak.
40858         (if_nameindex_netlink): Use __if_freenameindex instead of
40859         if_freenameindex.
40860         (if_nameindex): Rename to __if_nameindex and define as weak alias
40861         of __if_nameindex.  Use libc_hidden_weak.
40862         (if_indextoname): Rename to __if_indextoname and define as weak
40863         alias of __if_indextoname.  Use libc_hidden_weak.
40864         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
40865         libc_hidden_proto.
40866         [!_ISOMAC] (__if_freenameindex): Likewise.
40867         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
40868         if_nametoindex.
40869         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
40870         variable.
40871         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40872         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40873         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40874         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40875         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40876         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40877         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40879         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
40880         Remove variable.
40881         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40882         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40884 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40886         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
40887         subscript above bounds'
40889         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
40890         bounds.
40892 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
40894         * libio/tst-fopenloc.c: Use test-skeleton.c.
40896         * stdlib/tst-bsearch.c: Use test-skeleton.c.
40897         (entry): Rename to ITEM.
40898         (do_test, comp): Adjust.
40900         * stdio-common/tst-fseek.c: Use test-skeleton.c.
40902 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40904         * string/tester.c: Include <libc-internal.h>.
40905         (test_memset): Ignore -Wmemset-transposed-args.
40907 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40909         * misc/tst-mntent2.c (do_test): Fix warning.
40911 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40913         * elf/tst-unique4lib.cc(a): Mark as used.
40915 2014-12-16  Florian Weimer  <fweimer@redhat.com>
40917         [BZ #17630]
40918         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
40919         names.
40921 2014-12-16  Allan McRae  <allan@archlinux.org>
40923         * stdio-common/Makefile (tests): Re-add bug26.
40925 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
40927         [BZ #17657]
40928         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
40929         static array.
40931 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
40933         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
40934         (__lll_lock_wait): Likewise.
40935         (__lll_timedlock_wait): Likewise.
40936         (__lll_timedwait_tid): Likewise.
40937         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
40938         (__lll_robust_timedlock_wait): Likewise.
40939         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
40940         (lll_cond_trylock): Likewise.
40941         (__lll_lock): Likewise.
40942         (__lll_robust_lock): Likewise.
40943         (__lll_cond_lock): Likewise.
40944         (lll_robust_cond_lock): Likewise.
40945         (__lll_timedlock): Likewise.
40946         (__lll_robust_timedlock): Likewise.
40947         (__lll_unlock): Likewise.
40948         (__lll_robust_unlock): Likewise.
40949         (lll_wait_tid): Likewise.
40950         (lll_timedwait_tid): Likewise.
40952 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40954         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
40956 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40958         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
40960 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
40962         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
40963         * stdio-common/tst-sprintf.c: Likewise.
40965 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40967         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
40969 2014-12-15  Jeff Law  <law@redhat.com>
40971         [BZ #16617]
40972         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
40973         on the heap.  (CVE-2012-3406)
40974         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
40975         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
40976         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
40978 2014-12-15  Will Newton  <will.newton@linaro.org>
40980         * manual/install.texi: Bump required version of texinfo
40981         to 4.7 from 4.5.
40982         * INSTALL: Regenerated.
40983         * configure.ac: Check for makeinfo version 4.7 and above.
40984         * configure: Regenerated.
40986 2014-12-12  Roland McGrath  <roland@hack.frob.com>
40988         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
40989         PREFIX, string constant to insert between directory and name.
40990         * sysdeps/posix/shm_open.c: Update caller.
40991         * sysdeps/posix/shm_unlink.c: Likewise.
40992         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
40993         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
40994         (SEM_SHM_PREFIX): New macro.
40995         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
40996         [$(have-thread-library) = no].
40997         * nptl/Makefile (libpthread-routines): Add shm-directory.
40998         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
40999         * sysdeps/nptl/shm-directory.h: New file.
41000         * sysdeps/posix/shm-directory.c
41001         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
41002         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
41003         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
41004         INTERNAL_SYSCALL.
41005         (__where_is_shmfs): Function removed.
41006         (mountpoint, defaultmount, defaultdir, __namedsem_once):
41007         Variables removed.
41008         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
41009         Use SHM_GET_NAME.
41010         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
41012         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
41013         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
41014         unconditional for use inside libpthread.
41015         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
41017 2014-12-12  Roland McGrath  <roland@hack.frob.com>
41019         * nptl/pthread_getaffinity.c: New file.
41020         * nptl/pthread_setaffinity.c: New file.
41021         * nptl/pthread_getname.c: New file.
41022         * nptl/pthread_setname.c: New file.
41024         * nptl/pthread_create.c (START_THREAD_DEFN)
41025         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
41027 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41028             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41030         * resolv/res_send.c (send_vc): Disable warning resplen may
41031         be used uninitialized.
41033 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41035         * nptl/tst-mutex6.c
41036         (ATTR_NULL): New define checks ATTR against NULL.
41037         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
41038         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
41040 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
41042         [BZ #17581]
41043         * malloc/hooks.c
41044         (mem2mem_check): Revert my previous change.
41045         (malloc_check_get_size): Revert my previous change.
41046         (mem2chunk_check): Revert my previous change.
41048 2014-12-11  Roland McGrath  <roland@hack.frob.com>
41050         * sysdeps/posix/shm-directory.c: New file.
41051         * sysdeps/posix/shm-directory.h: New file.
41052         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
41053         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
41054         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
41055         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
41056         Transmute EPERM to EACCES.
41057         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
41058         from ...
41059         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
41060         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
41062 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41064         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
41065         pointer and cast to uintptr_t.
41066         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
41067         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
41068         Add cast to avoid warning.
41069         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
41071 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
41073         * nptl/semaphore.h: Move to ...
41074         * sysdeps/pthread/semaphore.h: ... here.
41075         * Makefile (installed-headers): Change nptl/semaphore.h to
41076         sysdeps/pthread/semaphore.h.
41078 2014-12-11  Roland McGrath  <roland@hack.frob.com>
41080         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
41081         generated error format strings.
41083         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
41084         -Wformat-extra-args warnings for scanf formats.
41085         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
41086         test of zero-length format (duh).
41087         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
41088         corner-case scanf format test.
41089         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
41090         generated fprintf format string.
41091         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
41092         corner-case sprintf format tests.
41093         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
41094         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
41095         -Wformat-extra-args warnings throughout.
41096         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
41097         (CFLAGS-scanf4.c): Likewise.
41098         (CFLAGS-scanf7.c): Likewise.
41099         (CFLAGS-tst-sprintf.c): Likewise.
41100         (CFLAGS-tst-printf.c): Likewise.
41101         (CFLAGS-tst-printfsz.c): Likewise.
41103 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
41105         * include/cpio.h: New file.
41106         * include/fmtmsg.h: Likewise.
41108         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
41109         corresponding format argument to size_t.
41110         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
41111         arguments.
41112         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
41113         corresponding format argument to size_t.
41114         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
41115         arguments.
41116         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
41117         corresponding format argument to size_t.
41118         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
41119         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
41120         (CFLAGS-tst-mbswcs2.c): Likewise.
41121         (CFLAGS-tst-mbswcs3.c): Likewise.
41122         (CFLAGS-tst-mbswcs4.c): Likewise.
41123         (CFLAGS-tst-mbswcs5.c): Likewise.
41124         (CFLAGS-tst-trans.c): Likewise.
41126 2014-12-11  Roland McGrath  <roland@hack.frob.com>
41128         * posix/regexbug1.c (main): Use "%s" format with regerror results,
41129         rather than assuming they won't contain any '%'s.
41131 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
41133         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
41134         inhibit_loop_to_libcall to avoid recursive calls.
41135         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
41136         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
41138 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
41140         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
41141         prototype.
41143 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
41145         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
41146         integer value instead of boolean.
41148 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
41150         * malloc/malloc.c: Fix powerof2 check.
41152 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41154         * locale/programs/locfile.h (maybe_swap_uint32):
41155         Remove inline and add unused attribute.
41157 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41159         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41160         Truncating assembler expression to a .long expression.
41162 2014-12-11  Andreas Schwab  <schwab@suse.de>
41164         * elf/rtld.c (struct map_args): Constify str member.
41165         (do_preload): Constify fname argument.
41167 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41169         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
41170         constants definition.
41172 2014-12-11  Andreas Schwab  <schwab@suse.de>
41174         [BZ #16657]
41175         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
41176         FORCE_ELISION instead of DO_ELISION.
41177         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
41178         Remove.
41179         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
41180         Likewise.
41182         * iconvdata/gconv-modules: Remove duplicate entry.
41184 2014-12-11  Will Newton  <will.newton@linaro.org>
41186         Merge gettext 0.19.3 into intl/.
41188         This involves a number of cosmetic changes to comments
41189         and ANSI function definitions and prototypes throughout
41190         all the files. The gettext copyright header is used but
41191         with the date ranges taken from the glibc copy.
41193         * NEWS: Add gettext merge to 2.21.
41194         * intl/bindtextdom.c: Switch to gettext copyright.
41195         Use ANSI definitions and prototypes.
41196         Use gl_* locking primitives rather than __libc_* ones.
41197         Use __builtin_expect rather than __glibc_likely/unlikely.
41198         * intl/dcgettext.c: Switch to gettext copyright.
41199         Use ANSI definitions and prototypes.
41200         * intl/dcigettext.c: Switch to gettext copyright.
41201         Use ANSI definitions and prototypes.
41202         (INTDIV0_RAISES_SIGFPE): New define.
41203         Use gl_* locking primitives rather than __libc_* ones.
41204         Include eval-plural.h instead of plural-eval.c.
41205         Use __builtin_expect rather than __glibc_likely/unlikely.
41206         * intl/dcngettext.c: Switch to gettext copyright.
41207         Use ANSI definitions and prototypes.
41208         * intl/dgettext.c: Likewise.
41209         * intl/dngettext.c: Likewise.
41210         * intl/plural-eval.c: Renamed to...
41211         * intl/eval-plural.h: ...this.
41212         * intl/explodename.c: Switch to gettext copyright.
41213         Use ANSI definitions and prototypes.
41214         (_nl_explode_name): Use strchr instead of __rawmemchr.
41215         * intl/finddomain.c: Switch to gettext copyright.
41216         Use ANSI definitions and prototypes.
41217         Use gl_* locking primitives rather than __libc_* ones.
41218         (_nl_find_domain): Use malloc rather than alloca for
41219         allocation of temporary locale name.
41220         * intl/gettext.c: Switch to gettext copyright.
41221         Use ANSI definitions and prototypes.
41222         * intl/gettextP.h: Switch to gettext copyright.
41223         Use ANSI definitions and prototypes.
41224         Use gl_* locking primitives rather than __libc_* ones.
41225         * intl/gmo.h: Switch to gettext copyright.
41226         (struct sysdep_string): Move struct segment_pair outside of
41227         struct definition.
41228         * intl/hash-string.c: Use ANSI definitions and prototypes.
41229         * intl/hash-string.h: Switch to gettext copyright.
41230         Use ANSI definitions and prototypes.
41231         * intl/l10nflist.c: Switch to gettext copyright.
41232         Use ANSI definitions and prototypes.
41233         (_nl_normalize_codeset): Avoid integer overflow.
41234         * intl/loadinfo.h: Switch to gettext copyright.
41235         Use ANSI definitions and prototypes.
41236         (LIBINTL_DLL_EXPORTED): New define.
41237         (PATH_SEPARATOR): New define.
41238         * intl/loadmsgcat.c: Switch to gettext copyright.
41239         * intl/localealias.c: Switch to gettext copyright.
41240         Use ANSI definitions and prototypes.
41241         (_nl_expand_alias): Use PATH_SEPARATOR.
41242         * intl/ngettext.c: Switch to gettext copyright.
41243         Use ANSI definitions and prototypes.
41244         * intl/plural-exp.c: Likewise.
41245         * intl/plural-exp.h: Switch to gettext copyright.
41246         Use ANSI definitions and prototypes.
41247         (struct expression): Move definition of enum operator outside
41248         of struct definition.
41249         * intl/plural.c: Regenerate.
41250         * intl/plural.y: Switch to gettext copyright.
41251         Use ANSI definitions and prototypes.
41252         Port to bison 3.0.
41253         * intl/textdomain.c: Switch to gettext copyright.
41254         Use ANSI definitions and prototypes.
41255         Use gl_* locking primitives rather than __libc_* ones.
41257 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
41259         * debug/warning-nop.c: Add used atrribute.
41261 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41263         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
41265         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
41266         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
41267         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
41269 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41270             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41272         [BZ #17634]
41273         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
41274         Undefine after defining function.  Define as weak alias of
41275         __wcschr.  Use libc_hidden_weak.
41276         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
41277         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
41278         (libc_hidden_def): Also define __GI___wcschr alias.
41279         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
41280         __wcschr and define as weak alias of __wcschr.
41281         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
41282         __wcschr.
41283         [!WCSCHR] (DEFAULT_WCSCHR): Define.
41284         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
41285         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
41286         libc_hidden_weak.  Do not use libc_hidden_def.
41287         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
41288         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
41289         __GI___wcschr alias.
41290         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
41291         [IS_IN (libc)] (wcschr): Define as macro expanding to
41292         __redirect_wcschr.
41293         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
41294         [IS_IN (libc)] (__wcschr_power6): Likewise.
41295         [IS_IN (libc)] (__wcschr_power7): Likewise.
41296         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
41297         instead of wcschr.
41298         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
41299         __libc_wcschr.
41300         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
41301         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
41302         __wcschr and define as weak alias of __wcschr.  Use
41303         libc_hidden_builtin_def.
41304         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
41305         as weak alias of __wcschr.  Use libc_hidden_weak.
41306         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
41307         wcschr.
41308         * time/era.c (_nl_init_era_entries): Likewise.
41309         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
41310         variable.
41311         (test-xfail-XPG3/time.h/linknamespace): Likewise.
41312         (test-xfail-XPG4/time.h/linknamespace): Likewise.
41314 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41316         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
41317         format for long int variable.
41319 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
41321         [BZ #10672]
41322         * manual/search.texi: (Array Sort Function): Remove claim how to make
41323         qsort stable.
41325 2014-12-10  Andreas Schwab  <schwab@suse.de>
41327         [BZ #12847]
41328         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
41329         user-controlled locks.
41331 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
41333         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
41334         register.
41336 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41338         * configure.ac (--disable-werror): New configure option.
41339         (enable_werror): New AC_SUBST.
41340         * configure: Regenerated.
41341         * config.make.in (enable-werror): New variable.
41342         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
41343         -Wno-error=undef.
41344         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
41345         * manual/install.texi (Configuring and compiling): Document
41346         --disable-werror.
41347         * INSTALL: Regenerated.
41348         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
41349         (CFLAGS-tst-chk2.c): Likewise.
41350         (CFLAGS-tst-chk3.c): Likewise.
41351         (CFLAGS-tst-chk4.cc): Likewise.
41352         (CFLAGS-tst-chk5.cc): Likewise.
41353         (CFLAGS-tst-chk6.cc): Likewise.
41354         (CFLAGS-tst-lfschk1.c): Likewise.
41355         (CFLAGS-tst-lfschk2.c): Likewise.
41356         (CFLAGS-tst-lfschk3.c): Likewise.
41357         (CFLAGS-tst-lfschk4.cc): Likewise.
41358         (CFLAGS-tst-lfschk5.cc): Likewise.
41359         (CFLAGS-tst-lfschk6.cc): Likewise.
41361         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
41362         (main): Disable -Wdeprecated-declarations around calls to
41363         register_printf_function.
41365         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
41366         (do_test): Disable -Wdiv-by-zero around some calls to
41367         fwrite_unlocked and fread_unlocked.
41369         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
41370         (DIAG_POP_NEEDS_COMMENT): Likewise.
41371         (_DIAG_STR1): Likewise.
41372         (_DIAG_STR): Likewise.
41373         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
41374         * stdio-common/bug21.c: Include <libc-internal.h>.
41375         (do_test): Disable -Wformat around call to sscanf.
41376         * stdio-common/scanf14.c: Include <libc-internal.h>.
41377         (main): Disable -Wformat around some calls to scanf functions.
41379 2014-12-09  Torvald Riegel  <triegel@redhat.com>
41381         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
41383 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41385         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
41386         stack variable alignment.
41388 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
41390         [BZ #17682]
41391         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
41392         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
41393         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
41394         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
41395         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
41396         __getrlimit instead of getrlimit.
41397         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
41398         __gettimeofday instead of gettimeofday.
41399         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
41400         Likewise.
41401         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
41402         Likewise.
41403         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41404         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
41405         Remove variable.
41406         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41407         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
41409 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41411         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
41412         for wide-character tests.
41414 2014-12-04  Roland McGrath  <roland@hack.frob.com>
41416         * io/openat64.c: #include <libc-internal.h>
41417         (__openat64): Prototypify.  Use ignore_value on MODE.
41418         * io/openat.c: Likewise.
41419         * misc/reboot.c: #include <libc-internal.h>
41420         (reboot): Prototypify.  Use ignore_value on HOWTO.
41421         * misc/ptrace.c: #include <libc-internal.h>
41422         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
41424 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
41426         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
41427         XPG4, UNIX98 and XOPEN2K.
41428         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
41429         Remove variable.
41430         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41432 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41434         * libio/fileops.c: Use ISO C style for function definitions.
41435         * libio/iofopen.c: Likewise.
41436         * libio/wfileops.c: Likewise.
41438         [BZ #17653]
41439         * libio/fileops.c (_IO_new_file_underflow): Unset cached
41440         offset on EOF.
41441         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
41442         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
41443         (fgets_func): Function pointer to fgets and fgetws.
41444         (do_ftell_test): Add test to verify ftell value after read
41445         EOF.
41446         (do_test): Set fgets_func.
41448         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
41449         O_TRUNC flag for w and w+ modes.
41450         (do_rewind_test): Likewise.
41451         (do_ftell_test): Likewise.
41452         (do_write_test): Likewise.
41454         [BZ #17647]
41455         * libio/fileops.c (do_ftell): Seek only when there are
41456         unflushed writes.
41457         * libio/wfileops.c (do_ftell_wide): Likewise.
41458         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
41459         test case.
41460         (do_one_test): Call it.
41462 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
41464         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
41465         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
41466         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
41467         Remove variable.
41468         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41469         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41470         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41472 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
41474         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
41475         Remove variable.
41476         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41478         [BZ #17668]
41479         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
41480         as weak alias of __getifaddrs.  Use libc_hidden_weak.
41481         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41482         __freeifaddrs.  Use libc_hidden_weak.
41483         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
41484         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
41485         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41486         __freeifaddrs.  Use libc_hidden_weak.
41487         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
41488         __getifaddrs and define as weak alias of __getifaddrs.  Use
41489         libc_hidden_weak.
41490         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41491         __freeifaddrs.  Use libc_hidden_weak.
41492         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
41493         Remove variable.
41494         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
41495         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
41497 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
41499         [BZ #17601]
41500         * sysdeps/mips/start.S (__start): Use indirect jump to call
41501         __libc_start_main.
41503 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
41505         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
41507         * nptl/tst-mutex1.c: Include <stdbool.h>.
41508         [!ATTR] (ATTR_NULL): New macro.
41509         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
41510         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
41511         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
41513         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
41514         to char *.
41516         [BZ #17665]
41517         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
41518         Change conditional to [__USE_MISC].
41520         [BZ #17664]
41521         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
41522         fgets_unlocked.
41523         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
41524         __fgets_unlocked.
41525         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
41526         fgets_unlocked.
41527         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
41528         Remove variable.
41529         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
41530         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
41531         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
41532         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
41533         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
41534         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
41535         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
41536         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
41537         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
41539         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
41541 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41543         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41544         Remove strpbrk objects.
41545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41546         (__libc_ifunc_impl_list): Remove strpbrk implementation.
41547         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
41548         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
41549         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
41550         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
41552         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41553         Remove strcspn objects.
41554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41555         (__libc_ifunc_impl_list): Remove strcspn implementation.
41556         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
41557         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
41558         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
41559         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
41561         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41562         Remove strspn objetcs.
41563         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41564         (__libc_ifunc_impl_list): Remove strspn implementation.
41565         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
41566         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41567         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
41568         * sysdeps/powerpc/powerpc64/strspn.S: New file.
41570 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
41572         [BZ #17581]
41573         * malloc/hooks.c
41574         (mem2mem_check): Add a terminator to the chain of checking blocks.
41575         (malloc_check_get_size): Use it here.
41576         (mem2chunk_check): Ditto.
41578 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41580         * sysdeps/powerpc/powerpc64/strtok.S: New file.
41581         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
41583 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
41585         * bits/ioctl-types.h: Indent preprocessor directives correctly.
41587         * nptl/nptl-init.c: Include libc-internal.h.
41588         (__pthread_initialize_minimal_internal): Use ROUND_UP.
41590         * elf/ldconfig.c (search_dir): Expand comment.
41592 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
41594         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
41595         variable.
41596         (linknamespace-symlist-stdlibs-tests): Likewise.
41597         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
41598         instead of $(objpfx)symlist-stdlibs.
41599         (linknamespace-libs-isoc): New variable.
41600         (linknamespace-libs): Use $(linknamespace-libs-isoc).
41601         (linknamespace-libs-ISO): New variable.
41602         (linknamespace-libs-ISO99): Likewise.
41603         (linknamespace-libs-ISO11): Likewise.
41604         (linknamespace-libs-XPG3): Likewise.
41605         (linknamespace-libs-XPG4): Likewise.
41606         (linknamespace-libs-POSIX): Likewise.
41607         (linknamespace-libs-UNIX98): Likewise.
41608         (linknamespace-libs-XOPEN2K): Likewise.
41609         (linknamespace-libs-POSIX2008): Likewise.
41610         (linknamespace-libs-XOPEN2K8): Likewise.
41611         ($(objpfx)symlist-stdlibs): Replace by
41612         $(linknamespace-symlist-stdlibs-tests).  Use
41613         $(linknamespace-libs-$*) as set of libraries.
41614         ($(linknamespace-header-tests)): Update dependencies.  Use
41615         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
41616         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
41617         * conform/linknamespace.pl: Remove comment about considering
41618         definitions of symbols from irrelevant libraries.
41620 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
41622         [BZ #13862]
41623         * elf/dl-tls.c: Include <atomic.h>.
41624         (oom): Remove #ifdef SHARED/#endif.
41625         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
41626         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
41627         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
41628         big enough.
41629         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
41630         * nptl/Makefile (tests): Add tst-stack4.
41631         (modules-names): Add tst-stack4mod.
41632         ($(objpfx)tst-stack4): New.
41633         (tst-stack4mod.sos): Likewise.
41634         ($(objpfx)tst-stack4.out): Likewise.
41635         ($(tst-stack4mod.sos)): Likewise.
41636         (clean): Likewise.
41637         * nptl/tst-stack4.c: New file.
41638         * nptl/tst-stack4mod.c: Likewise.
41640 2014-11-27  J. Brown  <jb999@gmx.de>
41642         * sysdeps/x86/bits/string.h: Add recent CPUs.
41644 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
41646         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
41647         sigblock.
41649         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
41650         feof.
41652         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
41653         variable.
41655 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
41657         * nscd/connections.c: Include libc-internal.h because of macro
41658         usage ignore_value.
41660 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41662         * string/bits/string3.h (__warn_memset_zero_len): Don't
41663         declare for gcc newer than 5.0.
41664         (memset): Don't test for zero-length __LEN for gcc newer than
41665         5.0.
41667 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
41669         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
41670         size_t for %zu format.
41672         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
41673         difference, not %ju.
41675 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
41677         * include/libc-internal.h (ignore_value): New macro.
41678         * nscd/connections.c (restart): Wrap calls to setuid and setgid
41679         with ignore_value.
41681         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
41682         definition.
41684         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
41685         pthread_cleanup_push to void *.
41687         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
41688         Undefine.
41690         [BZ #16619]
41691         [BZ #16740]
41692         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
41693         instead of 1L << 52.
41695         * libio/bug-rewind.c (do_test): Check fwscanf return values.
41696         * libio/bug-rewind2.c (do_test): Likewise.
41698         * debug/test-stpcpy_chk-ifunc.c: Remove file.
41699         * debug/test-strcpy_chk-ifunc.c: Likewise.
41700         * wcsmbs/test-wcschr-ifunc.c: Likewise.
41701         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41702         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41703         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41704         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41705         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41706         * Rules [$(multi-arch) = no] (tests): Do not filter out
41707         $(tests-ifunc).
41708         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
41709         * debug/Makefile (tests-ifunc): Remove variable.
41710         (tests): Do not add $(tests-ifunc).
41711         * wcsmbs/Makefile (tests-ifunc): Remove variable.
41712         (tests): Do not add $(tests-ifunc).
41713         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
41714         [TEST_IFUNC]: Remove conditionals.
41715         * string/test-string.h (TEST_IFUNC): Remove macro.
41716         [TEST_IFUNC]: Remove conditionals.
41718         * string/test-strchr.c [!WIDE] (L): New macro.
41719         [WIDE] (L): Likewise.
41720         (check1): Use CHAR instead of char.  Use L on string and character
41721         constants.
41723 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
41725         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
41726         tests.
41727         * sysdeps/powerpc/bits/atomic.h
41728         (__arch_atomic_exchange_and_add_32_acq): Add definition.
41729         (__arch_atomic_exchange_and_add_32_rel): Likewise.
41730         (atomic_exchange_and_add_acq): Likewise.
41731         (atomic_exchange_and_add_rel): Likewise.
41732         * sysdeps/powerpc/powerpc32/bits/atomic.h
41733         (__arch_atomic_exchange_and_add_64_acq): Add definition.
41734         (__arch_atomic_exchange_and_add_64_rel): Likewise.
41735         * sysdeps/powerpc/powerpc64/bits/atomic.h
41736         (__arch_atomic_exchange_and_add_64_acq): Add definition.
41737         (__arch_atomic_exchange_and_add_64_rel): Likewise.
41739 2014-11-26  Torvald Riegel  <triegel@redhat.com>
41741         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
41742         Change synchronization of __sched_fifo_min_prio and
41743         __sched_fifo_max_prio.
41744         * nptl/pthread_mutexattr_getprioceiling.c
41745         (pthread_mutexattr_getprioceiling): Likewise.
41746         * nptl/pthread_mutexattr_setprioceiling.c
41747         (pthread_mutexattr_setprioceiling): Likewise.
41748         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
41749         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
41750         Likewise.
41752 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
41754         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
41755         void.
41757 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
41759         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
41760         third argument const.
41762 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
41764         fnmatch: work around GCC compiler warning bug with uninit var
41765         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
41766         This works around a bug with x86-64 GCC 4.9.2 and earlier
41767         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
41768         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
41769         used uninitialized in this function [-Wmaybe-uninitialized]".
41771 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
41773         * posix/bug-regex31.c (main): Return RES not 0.
41775 2014-11-25  Anton Blanchard <anton@samba.org>
41777         * sysdeps/powerpc/bits/atomic.h
41778         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
41780 2014-11-24  Sterling Augustine  <saugustine@google.com>
41782         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
41784 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
41786         [BZ #17608]
41787         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
41789 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
41791         [BZ #17633]
41792         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
41793         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
41794         variable.
41795         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41796         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41798 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41800         * string/strncpy.c (strncpy): Improve performance by using memset.
41802 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41804         * string/strcpy.c (strcpy):
41805         Improve performance by using strlen and memcpy.
41807 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
41809         * string/strcoll_l.c (get_next_seq): __always_inline.
41810         * string/strcoll_l.c (do_compare): __always_inline.
41812 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41814         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
41815         defined.
41816         * include/mqueue.h: Likewise.
41817         * include/stdlib.h: Likewise.
41819         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
41820         (get_null_defines): Adjust.
41821         * sunrpc/Makefile: Adjust comment.
41822         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
41823         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
41824         (CFLAGS-interp.c): Likewise.
41825         (CFLAGS-ldconfig.c): Likewise.
41826         (CPPFLAGS-.os): Likewise.
41827         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41828         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41829         * extra-modules.mk (extra-modules.mk): Likewise.
41830         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
41831         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
41832         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
41833         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
41834         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
41835         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
41836         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
41837         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
41838         * iconvdata/Makefile (CPPFLAGS): Likewise.
41839         (cpp-srcs-left): Add libof for all iconvdata routines.
41840         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
41841         * include/assert.h: Likewise.
41842         * include/ctype.h: Likewise.
41843         * include/errno.h: Likewise.
41844         * include/libc-symbols.h: Likewise.
41845         * include/math.h: Likewise.
41846         * include/netdb.h: Likewise.
41847         * include/resolv.h: Likewise.
41848         * include/stdio.h: Likewise.
41849         * include/stdlib.h: Likewise.
41850         * include/string.h: Likewise.
41851         * include/sys/stat.h: Likewise.
41852         * include/wctype.h: Likewise.
41853         * intl/l10nflist.c: Likewise.
41854         * libidn/idn-stub.c: Likewise.
41855         * libio/libioP.h: Likewise.
41856         * nptl/libc_multiple_threads.c: Likewise.
41857         * nptl/pthreadP.h: Likewise.
41858         * posix/regex_internal.h: Likewise.
41859         * resolv/res_hconf.c: Likewise.
41860         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
41861         * sysdeps/arm/memmove.S: Likewise.
41862         * sysdeps/arm/sysdep.h: Likewise.
41863         * sysdeps/generic/_itoa.h: Likewise.
41864         * sysdeps/generic/symbol-hacks.h: Likewise.
41865         * sysdeps/gnu/errlist.awk: Likewise.
41866         * sysdeps/gnu/errlist.c: Likewise.
41867         * sysdeps/i386/i586/memcpy.S: Likewise.
41868         * sysdeps/i386/i586/memset.S: Likewise.
41869         * sysdeps/i386/i686/memcpy.S: Likewise.
41870         * sysdeps/i386/i686/memmove.S: Likewise.
41871         * sysdeps/i386/i686/mempcpy.S: Likewise.
41872         * sysdeps/i386/i686/memset.S: Likewise.
41873         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41874         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41875         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
41876         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
41877         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41878         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41879         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
41880         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41881         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41882         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41883         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41884         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41885         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41886         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41887         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41888         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41889         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
41890         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
41891         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
41892         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41893         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41894         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41895         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41896         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41897         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41898         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41899         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
41900         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41901         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
41902         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41903         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41904         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41905         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41906         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41907         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41908         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41909         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41910         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41911         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41912         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41913         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41914         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41915         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41916         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41917         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41918         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41919         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
41920         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
41921         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41922         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41923         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41924         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
41925         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
41926         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41927         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41928         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
41929         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41930         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
41931         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
41932         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41933         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41934         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41935         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
41936         * sysdeps/nptl/bits/libc-lock.h: Likewise.
41937         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41938         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
41939         * sysdeps/posix/closedir.c: Likewise.
41940         * sysdeps/posix/opendir.c: Likewise.
41941         * sysdeps/posix/readdir.c: Likewise.
41942         * sysdeps/posix/rewinddir.c: Likewise.
41943         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
41944         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
41945         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41946         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41947         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41948         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
41949         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
41950         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
41951         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
41952         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
41953         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
41954         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
41955         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
41956         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
41957         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
41958         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
41959         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
41960         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
41961         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
41962         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
41963         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
41964         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
41965         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
41966         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
41967         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
41968         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
41969         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
41970         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
41971         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
41972         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
41973         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
41974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
41975         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
41976         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
41977         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
41978         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
41979         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41980         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41981         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
41982         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
41983         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
41984         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
41985         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
41986         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
41987         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
41988         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
41989         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
41990         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
41991         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
41992         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
41993         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
41994         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
41995         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
41996         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
41997         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
41998         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
41999         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
42000         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
42001         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
42002         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
42003         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
42004         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
42005         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
42006         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
42007         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
42008         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
42009         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
42010         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
42011         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
42012         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
42013         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
42014         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
42015         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
42016         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
42017         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
42018         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
42019         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
42020         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
42021         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42022         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
42023         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
42024         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42025         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
42026         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
42027         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42028         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
42029         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
42030         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42031         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42032         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42033         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
42034         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
42035         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
42036         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42037         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42038         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
42039         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42040         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42041         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
42042         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
42043         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42044         * sysdeps/unix/alpha/sysdep.S: Likewise.
42045         * sysdeps/unix/alpha/sysdep.h: Likewise.
42046         * sysdeps/unix/make-syscalls.sh: Likewise.
42047         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42048         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42049         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42050         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
42051         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42052         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
42053         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
42054         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42055         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42056         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
42057         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42058         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42059         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42060         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
42061         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42062         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42063         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42064         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
42065         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
42066         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42067         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
42068         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42069         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42070         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42071         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42072         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42073         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
42075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
42076         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
42077         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42078         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42079         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42080         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42081         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42082         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42083         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42084         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42085         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42086         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42087         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42088         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42089         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42090         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42091         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42092         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42093         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42094         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42095         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42096         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42097         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42098         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42099         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42100         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42101         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
42102         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42103         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42104         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42105         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
42106         * sysdeps/x86_64/memcpy.S: Likewise.
42107         * sysdeps/x86_64/memmove.c: Likewise.
42108         * sysdeps/x86_64/memset.S: Likewise.
42109         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
42110         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42111         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42112         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
42113         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
42114         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42115         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42116         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42117         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42118         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42119         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42120         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42121         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
42122         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42123         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42124         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
42125         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
42126         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42127         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42128         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42129         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
42130         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42131         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42132         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42133         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42134         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42135         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42136         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
42137         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42138         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42139         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
42140         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42141         * sysdeps/x86_64/strcmp.S: Likewise.
42143         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
42145         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
42146         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
42147         * elf/rtld-Rules: Likewise.
42148         * elf/setup-vdso.h: Likewise.
42149         * include/assert.h: Likewise.
42150         * include/bits/stdlib-float.h: Likewise.
42151         * include/errno.h: Likewise.
42152         * include/sys/stat.h: Likewise.
42153         * include/unistd.h: Likewise.
42154         * sysdeps/aarch64/setjmp.S: Likewise.
42155         * sysdeps/alpha/setjmp.S: Likewise.
42156         * sysdeps/arm/__longjmp.S: Likewise.
42157         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
42158         * sysdeps/arm/setjmp.S: Likewise.
42159         * sysdeps/arm/sysdep.h: Likewise.
42160         * sysdeps/generic/_itoa.h: Likewise.
42161         * sysdeps/generic/dl-sysdep.h: Likewise.
42162         * sysdeps/generic/ldsodefs.h: Likewise.
42163         * sysdeps/i386/dl-tls.h: Likewise.
42164         * sysdeps/i386/setjmp.S: Likewise.
42165         * sysdeps/m68k/setjmp.c: Likewise.
42166         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
42167         * sysdeps/mach/hurd/opendir.c: Likewise.
42168         * sysdeps/posix/getcwd.c: Likewise.
42169         * sysdeps/posix/opendir.c: Likewise.
42170         * sysdeps/posix/profil.c: Likewise.
42171         * sysdeps/powerpc/dl-procinfo.h: Likewise.
42172         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42173         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42174         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42175         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42176         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
42177         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42178         * sysdeps/s390/dl-tls.h: Likewise.
42179         * sysdeps/s390/s390-32/setjmp.S: Likewise.
42180         * sysdeps/s390/s390-64/setjmp.S: Likewise.
42181         * sysdeps/sh/sh3/setjmp.S: Likewise.
42182         * sysdeps/sh/sh4/setjmp.S: Likewise.
42183         * sysdeps/unix/alpha/sysdep.h: Likewise.
42184         * sysdeps/unix/arm/sysdep.S: Likewise.
42185         * sysdeps/unix/i386/sysdep.S: Likewise.
42186         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42187         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42188         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42189         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42190         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42191         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
42192         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
42193         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42194         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
42195         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
42196         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
42197         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42198         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42201         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42202         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42203         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42204         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42205         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42206         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42207         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42208         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42209         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42210         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42211         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42212         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42213         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42214         * sysdeps/x86_64/setjmp.S: Likewise.
42216         * include/math.h: Use IS_IN instead of IS_IN_libm.
42217         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
42218         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42219         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42220         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
42221         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42222         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42223         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42224         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42225         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42226         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42227         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
42228         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
42229         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
42230         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
42231         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
42232         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
42233         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
42234         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
42235         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
42236         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
42237         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
42238         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
42239         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
42240         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
42241         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
42242         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
42243         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
42244         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
42245         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
42246         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
42247         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
42248         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42249         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
42251         Likewise.
42252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
42253         Likewise.
42254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
42255         Likewise.
42256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
42257         Likewise.
42258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
42259         Likewise.
42260         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42261         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
42262         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42263         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42264         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42265         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
42267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
42268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
42269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
42270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
42271         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
42272         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
42273         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42274         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42275         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42276         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42277         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42278         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42279         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42280         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
42281         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
42282         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
42283         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
42284         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
42285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42286         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
42288         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
42289         * nptl/pthreadP.h: Likewise.
42290         * nptl_db/structs.def: Likewise.
42291         * sysdeps/arm/sysdep.h: Likewise.
42292         * sysdeps/nptl/bits/libc-lock.h: Likewise.
42293         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
42294         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
42295         * sysdeps/unix/alpha/sysdep.h: Likewise.
42296         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42297         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42298         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42299         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42300         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42301         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42302         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42303         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42304         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42305         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42306         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42307         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42308         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42309         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
42311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
42312         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42313         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42314         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42315         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42316         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42317         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42318         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42319         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42320         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
42321         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42323         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
42324         * nptl/pthreadP.h: Likewise.
42325         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42326         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42327         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42328         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42329         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42330         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42331         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42332         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42333         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42334         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42335         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42336         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42338         Likewise.
42339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42340         Likewise.
42341         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42342         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42343         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42344         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42345         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42346         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42347         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42348         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42350         * dlfcn/dladdr.c: Use IS_IN.
42351         * dlfcn/dladdr1.c: Likewise.
42352         * dlfcn/dlclose.c: Likewise.
42353         * dlfcn/dlerror.c: Likewise.
42354         * dlfcn/dlinfo.c: Likewise.
42355         * dlfcn/dlmopen.c: Likewise.
42356         * dlfcn/dlopen.c: Likewise.
42357         * dlfcn/dlsym.c: Likewise.
42358         * dlfcn/dlvsym.c: Likewise.
42360         * include/ifaddrs.h: Use IS_IN.
42361         * inet/check_pf.c: Likewise.
42362         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42363         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
42365         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
42366         IS_IN_ldconfig.
42367         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
42368         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
42370         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
42371         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
42372         IS_IN (libc).
42374         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
42376         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
42377         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42378         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
42379         * include/libc-symbols.h (IS_IN_LIB): New macro.
42380         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
42381         * include/netdb.h: Likewise.
42382         * include/stap-probe.h: Remove all uses of IN_LIB.
42384         * Makeconfig (module-cppflags-real): Define MODULE_NAME
42385         instead of IN_MODULE.
42386         * include/libc-symbols.h (IN_MODULE): Define using
42387         MODULE_NAME.
42388         (PASTE_NAME, PASTE_NAME1): New macros.
42389         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
42390         of IN_LIB.
42391         (STAP_PROBE_ASM): Likewise.
42393 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42395         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
42396         __mach_init in dlopened libc.
42398 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
42400         * sysdeps/arm/preconfigure.ac: Delete EABI check.
42401         * sysdeps/arm/preconfigure: Regenerate.
42403 2014-11-21  Roland McGrath  <roland@hack.frob.com>
42405         * nptl/pthread_create.c (__pthread_create_2_1): Set
42406         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
42407         when copying values from IATTR into PD.
42409 2014-11-21  Will Newton  <will.newton@linaro.org>
42410             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
42412         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
42413         Refactor inline-asm.  Also add comment.
42415         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
42416         ElfW macro instead of hardcoded Elf64 types.
42417         (la_aarch64_gnu_pltenter): Likewise.
42418         * sysdeps/aarch64/dl-machine.h
42419         (elf_machine_runtime_setup): Use ElfW(Addr).
42421         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
42422         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
42423         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
42424         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
42425         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
42426         (R_AARCH64_TLS_DTPMOD64): Rename to ..
42427         (R_AARCH64_TLS_DTPMOD): This.
42428         (R_AARCH64_TLS_DTPREL64): Rename to ...
42429         (R_AARCH64_TLS_DTPREL): This.
42430         (R_AARCH64_TLS_TPREL64): Rename to ...
42431         (R_AARCH64_TLS_TPREL): This.
42432         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
42433         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
42434         R_AARCH64_TLS_TPREL64.
42435         (elf_machine_rela): Likewise.
42437 2014-11-21  Torvald Riegel  <triegel@redhat.com>
42439         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
42440         by setting it to 0.  64b atomics are not supported currently.
42442 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42444         [BZ #16469]
42445         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
42446         search domain names.
42448 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42450         [BZ #16469]
42451         * NEWS: Update.
42452         * resolv/res_query.c (__libc_res_nquerydomain): Retain
42453         trailing dot.
42454         * posix/tst-getaddrinfo5.c: New.
42455         * posix/Makefile (tests): Add it.
42457 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42459         [BZ #14498]
42460         * NEWS: Fixed.
42461         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
42462         after parsing line but before break_if_match.
42463         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
42464         if there is a protocol mismatch.
42466 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
42468         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
42469         because the potential race is on the user-supplied stream.
42471 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42473         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
42474         string literal if not passed a buffer.
42475         * manual/job.texi (ctermid): Update reasoning, note deviation
42476         from posix, suggest mtasurace when not passed a buffer, for
42477         future non-preliminary safety notes.
42479 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42481         * manual/users.texi (cuserid): Fix MT-Safety note for the case
42482         of not passing it a buffer.
42483         Reported by Peng Haitao.
42485 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42487         * manual/Makefile ($(objpfx)stamp-summary): Require
42488         check-safety.sh to pass.
42489         * manual/check-safety.sh: Wish for verification that every
42490         @deftypefn and @deftypefun is followed by a @safety remark.
42492 2014-11-20  Roland McGrath  <roland@hack.frob.com>
42494         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
42496         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
42497         PTHREAD_CANCEL_ASYNCHRONOUS.
42498         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
42499         send SIGCANCEL.
42501         * nptl/default-sched.h: New file.
42502         * sysdeps/unix/sysv/linux/default-sched.h: New file.
42503         * nptl/pthread_create.c: Include it.
42504         (__pthread_create_2_1): Use collect_default_sched instead of making
42505         Linux syscalls here directly.
42507 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42509         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
42510         __pthread_once): Use C11 atomics.
42512 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42514         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
42516 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42518         * include/atomic.h (__atomic_link_error, __atomic_check_size,
42519         atomic_thread_fence_acquire, atomic_thread_fence_release,
42520         atomic_thread_fence_seq_cst, atomic_load_relaxed,
42521         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
42522         atomic_compare_exchange_weak_relaxed,
42523         atomic_compare_exchange_weak_acquire,
42524         atomic_compare_exchange_weak_release,
42525         atomic_exchange_acquire, atomic_exchange_release,
42526         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
42527         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
42528         atomic_fetch_and_acquire,
42529         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
42531 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42533         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
42534         USE_ATOMIC_COMPILER_BUILTINS): Define.
42535         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
42536         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42537         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
42538         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42539         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
42540         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42541         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
42542         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42543         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
42544         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42545         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
42546         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42547         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
42548         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42549         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
42550         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42551         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42552         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42553         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42554         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42555         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
42556         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42557         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42558         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42559         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
42560         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42561         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42562         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42563         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
42564         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42565         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
42566         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42567         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
42568         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42569         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
42570         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42571         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
42572         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42573         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
42574         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42576 2014-11-19  Roland McGrath  <roland@hack.frob.com>
42578         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
42579         the sched_priority value here.  It was already checked when the user
42580         called pthread_attr_setschedparam.
42582         * nptl/tst-bad-schedattr.c: New file.
42583         * nptl/Makefile (tests): Add it.
42585 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
42586             Florian Weimer  <fweimer@redhat.com>
42587             Joseph Myers  <joseph@codesourcery.com>
42588             Adam Conrad  <adconrad@0c3.net>
42589             Andreas Schwab  <schwab@suse.de>
42590             Brooks  <bmoses@google.com>
42592         [BZ #17625]
42593         * wordexp-test.c (__dso_handle): Add prototype.
42594         (__register_atfork): Likewise.
42595         (__app_register_atfork): New function.
42596         (registered_forks): New global.
42597         (register_fork): New function.
42598         (test_case): Add 3 new tests for WRDE_CMDSUB.
42599         (main): Call __app_register_atfork.
42600         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
42601         fork count is non-zero fail the test.
42602         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
42603         is set.
42604         (parse_dollars): Remove check for WRDE_NOCMD.
42605         (parse_dquote): Likewise.
42607 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42609         * Makeconfig (built-modules): List non-library modules to be
42610         built.
42611         (module-cppflags): Include libc-modules.h for
42612         everything except shlib-versions.v.i.
42613         (CPPFLAGS): Use it.
42614         (before-compile): Add libc-modules.h.
42615         ($(common-objpfx)libc-modules.h,
42616         $(common-objpfx)libc-modules.stmp): New targets.
42617         (common-generated): Add libc-modules.h and libc-modules.stmp.
42618         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
42619         * include/libc-symbols.h: Don't include libc-modules.h.
42620         * include/libc-modules.h: Remove file.
42621         * scripts/gen-libc-modules.awk: New script to generate
42622         libc-modules.h.
42623         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
42624         Depend on libc-modules.stmp.
42626         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
42628         * Makeconfig (in-module): Get value of libof set for the
42629         translation unit.
42630         (CPPFLAGS): Use $(in-module).
42631         * Makerules: Don't suffix routine names for nonlib.
42632         * include/libc-modules.h: New file.
42633         * include/libc-symbols.h: Include libc-modules.h
42634         (IS_IN): New macro to replace IS_IN_* macros.
42635         * elf/Makefile: Set libof-* for each routine.
42636         * elf/rtld-Rules: Likewise.
42637         * extra-modules.mk: Likewise.
42638         * iconv/Makefile: Likewise.
42639         * iconvdata/Makefile: Likewise.
42640         * locale/Makefile: Likewise.
42641         * malloc/Makefile: Likewise.
42642         * nss/Makefile: Likewise.
42643         * sysdeps/gnu/Makefile: Likewise.
42644         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
42645         * sysdeps/unix/sysv/linux/Makefile: Likewise.
42646         * sysdeps/s390/s390-64/Makefile: Likewise.
42647         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
42648         CPPFLAGS for nscd instead of nonlib.
42650 2014-11-18  Roland McGrath  <roland@hack.frob.com>
42652         * nptl/createthread.c: New file.
42654         * nptl/createthread.c: Moved ...
42655         * sysdeps/unix/sysv/linux/createthread.c: ... here.
42657         * nptl/createthread.c: Add proper top-line comment.
42658         (do_clone): Folded into ...
42659         (create_thread): ... here.  Take new arguments STOPPED_START and
42660         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
42661         increment __nptl_threads, do event-reporting logic, do
42662         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
42663         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
42664         resource cleanup if sched_setaffinity or sched_setscheduler fails,
42665         just send SIGCANCEL.
42666         * nptl/pthread_create.c: Forward-declare create_thread before
42667         including createthread.c.
42668         (start_thread): Use new macro START_THREAD_DEFN to replace defining
42669         declaration, and new macro START_THREAD_SELF to replace argument.
42670         Remove return statement.
42671         (report_thread_creation): New function.
42672         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
42673         synchronization logic, and __nptl_nthreads increment here, around
42674         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
42675         PD->parent_cancelhandling here, before create_thread.  When
42676         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
42677         __deallocate_stack, and ENOMEM translation here.
42679 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
42681         [BZ #17616]
42682         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
42683         (mptwo): Rename to __mptwo.
42684         (__inv): Use __mptwo instead of mptwo.
42685         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
42686         (mptwo): Rename to __mptwo.
42687         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
42688         of mpone and __mptwo instead of mptwo.
42689         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
42690         instead of mpone.
42691         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42692         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
42693         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
42694         of mpone and __mptwo instead of mptwo.
42695         (__mpranred): Use __mpone instead of mpone.
42696         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
42697         variable.
42698         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42699         (test-xfail-ISO99/math.h/linknamespace): Likewise.
42700         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42701         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42702         (test-xfail-ISO11/math.h/linknamespace): Likewise.
42703         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42704         (test-xfail-XPG3/math.h/linknamespace): Likewise.
42705         (test-xfail-XPG4/math.h/linknamespace): Likewise.
42706         (test-xfail-POSIX/math.h/linknamespace): Likewise.
42707         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42708         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42709         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42710         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42711         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42712         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42713         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42714         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42715         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42716         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42718 2014-11-18  Tom de Vries  <tom@codesoucery.com>
42720         * manual/signal.texi (Primitives Interrupted by Signals): In section,
42721         replace BSD Handler xref with BSD Signal Handling.
42723 2014-11-17  Richard Henderson  <rth@redhat.com>
42725         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
42726         (_FP_PACK_RAW_2): Remove.
42727         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
42728         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
42729         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
42730         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
42731         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
42732         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
42733         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
42734         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
42735         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
42736         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
42737         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
42738         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
42739         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
42740         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
42741         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
42742         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
42744 2014-11-14  Roland McGrath  <roland@hack.frob.com>
42746         * signal/signal.h [__USE_MISC]
42747         (struct sigvec): Remove type.
42748         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
42749         (sigvec): Remove declaration.
42750         * sysdeps/posix/sigvec.c: Moved ...
42751         * signal/sigvec.c: ... here, replacing old file.
42752         (struct sigvec): New type, copied from old signal.h definition.
42753         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
42754         (__sigvec): Convert definition to prototype.
42755         (sigvec): Replace weak_alias with compat_symbol.
42756         * signal/Versions (libc: GLIBC_2.21): New version set.
42757         * include/signal.h: Remove __sigvec declaration.
42758         * sysdeps/unix/bsd/sigvec.c: Remove file.
42759         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
42760         * manual/signal.texi (BSD Handler): Remove subsection.
42761         Move siginterrupt up to ...
42762         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
42763         (Blocking in BSD): Fold subsection into its parent.
42764         * NEWS: Mention sigvec removal.
42766 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42768         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
42769         (DLA_FMS): Make definition conditional only on [__FMA4__].
42770         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
42771         definition.
42773         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
42774         Make definition conditional only on [PROF].
42775         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
42776         definition.
42777         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
42778         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
42780         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
42781         !__GNUC__].
42782         * include/signal.h (__sigpause): Move declaration above call to
42783         libc_hidden_proto.
42784         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
42785         variable.
42786         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42787         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42789 2014-11-14  David S. Miller  <davem@davemloft.net>
42791         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
42792         Define before including <string/memcpy.c> and <string/mempcpy.c>.
42794 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42796         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
42797         * configure: Regenerated.
42798         * manual/install.texi (Tools for Compilation): Document a
42799         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
42800         compiler verified to work.
42801         * INSTALL: Regenerated.
42803         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
42804         redeclare with asm name.
42805         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
42806         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
42807         including <string.h>.
42808         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42809         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
42810         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42811         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
42812         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42813         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
42814         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42816 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
42818         * stdlib/strtol.c (__strtol): Use prototype definition.
42820         [BZ #17594]
42821         * stdlib/strtol.c (SYM__): New macro.
42822         (SYM__1): Likewise.
42823         (__strtol): Likewise.
42824         (strtol): Rename to __strtol and define as weak alias of
42825         __strtol.  Use libc_hidden_weak.
42827 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42829         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
42830         Use numbered labels in inline assembly.
42832 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42834         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
42835         Add setjmp LIBC_PROBE.
42836         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
42837         Likewise.
42838         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
42839         Add longjmp, longjmp_target LIBC_PROBE.
42840         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
42841         Likewise.
42843 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42845         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42846         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
42847         to get rid of unused variable warning.
42849 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42851         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
42852         Check for unwind_backtrace ==  NULL only in SHARED case.
42853         (__backchain_backtrace): Compile only in SHARED case.
42854         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
42855         Likewise.
42856         (__backchain_backtrace): Declare as static.
42858 2014-11-12  Roland McGrath  <roland@hack.frob.com>
42860         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
42861         (__libc_multiple_threads_ptr): Variable moved ...
42862         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
42864 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
42866         * conform/GlibcConform.pm: New file.
42867         * conform/conformtest.pl: Use GlibcConform module.
42868         * conform/linknamespace.pl: New file.
42869         * conform/list-header-symbols.pl: Likewise.
42870         * conform/Makefile (linknamespace-symlists-base): New variable.
42871         (linknamespace-symlists-tests): Likewise.
42872         (linknamespace-header-base): Likewise.
42873         (linknamespace-header-tests): Likewise.
42874         (tests-special): Add new tests.
42875         ($(linknamespace-symlists-tests)): New rule.
42876         (linknamespace-libs): New variable.
42877         ($(objpfx)symlist-stdlibs): New rule.
42878         ($(linknamespace-header-tests)): Likewise.
42879         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
42880         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
42881         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
42882         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
42883         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
42884         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
42885         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
42886         (test-xfail-ISO/math.h/linknamespace): Likewise.
42887         (test-xfail-ISO/signal.h/linknamespace): Likewise.
42888         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
42889         (test-xfail-ISO/time.h/linknamespace): Likewise.
42890         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42891         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
42892         (test-xfail-ISO99/math.h/linknamespace): Likewise.
42893         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42894         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42895         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42896         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42897         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
42898         (test-xfail-ISO11/math.h/linknamespace): Likewise.
42899         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42900         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42901         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42902         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
42903         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
42904         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
42905         (test-xfail-XPG3/math.h/linknamespace): Likewise.
42906         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
42907         (test-xfail-XPG3/search.h/linknamespace): Likewise.
42908         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
42909         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42910         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
42911         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
42912         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
42913         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
42914         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
42915         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
42916         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
42917         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
42918         (test-xfail-XPG4/math.h/linknamespace): Likewise.
42919         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
42920         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42921         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
42922         (test-xfail-XPG4/search.h/linknamespace): Likewise.
42923         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
42924         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
42925         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
42926         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
42927         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
42928         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42929         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
42930         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
42931         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
42932         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
42933         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
42934         (test-xfail-POSIX/math.h/linknamespace): Likewise.
42935         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
42936         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
42937         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
42938         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42939         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
42940         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42941         (test-xfail-POSIX/time.h/linknamespace): Likewise.
42942         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
42943         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
42944         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42945         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
42946         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
42947         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
42948         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
42949         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42950         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42951         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42952         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
42953         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
42954         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42955         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42956         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
42957         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42958         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
42959         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
42960         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
42961         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
42962         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42963         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42964         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
42965         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42966         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
42967         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
42968         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
42969         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
42970         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42971         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
42972         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
42973         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
42974         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
42975         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
42976         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42977         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42978         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
42979         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
42980         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
42981         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
42982         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42983         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
42984         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
42985         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42986         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
42987         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
42988         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
42989         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42990         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42991         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
42992         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
42993         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42994         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42995         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
42996         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
42997         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
42998         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
42999         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
43000         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
43001         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
43002         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
43003         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
43004         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
43005         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
43006         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
43007         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
43008         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
43009         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
43010         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
43011         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
43012         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
43013         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
43014         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
43015         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
43016         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
43017         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
43018         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
43019         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
43020         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
43021         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
43022         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
43023         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
43024         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
43025         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
43026         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
43027         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
43028         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
43029         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
43030         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
43031         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
43032         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
43033         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
43034         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
43035         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
43036         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
43037         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
43038         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
43039         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
43041         [BZ #17589]
43042         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
43043         of fgets_unlocked.
43045         [BZ #17585]
43046         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
43047         (memmem): Rename to __memmem and define as weak alias of
43048         __memmem.  Use libc_hidden_weak.
43049         (__memmem): Use libc_hidden_def.
43050         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
43051         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
43052         memmem.
43054         [BZ #17582]
43055         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
43056         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
43057         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
43058         and define as weak alias of __fgets_unlocked.  Use
43059         libc_hidden_weak.
43060         (__fgets_unlocked): Use libc_hidden_def.
43061         * include/stdio.h (__fgets_unlocked): Declare.  Use
43062         libc_hidden_proto.
43063         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
43064         __fgets_unlocked instead of fgets_unlocked.
43065         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
43066         (GET_NPROCS_CONF_PARSER): Likewise.
43067         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
43068         (GET_NPROCS_CONF_PARSER): Likewise.
43070         [BZ #17574]
43071         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
43072         weak alias of __wmemset.  Use libc_hidden_weak.
43073         (__wmemset): Use libc_hidden_def.
43074         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
43075         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
43076         of wmemset.
43078         [BZ #17573]
43079         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
43080         with asm name __mempcpy.
43081         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
43083         [BZ #17572]
43084         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
43085         and define as weak alias of __rawmemchr.
43086         (__rawmemchr): Do not define as strong alias of rawmemchr.
43088         [BZ #17571]
43089         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
43090         alias of __qsort_r.
43091         (qsort): Call __qsort_r instead of qsort_r.
43092         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
43093         (__qsort_r): Declare.  Call libc_hidden_proto.
43094         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
43095         instead of qsort_r.
43096         * nscd/gai.c (__qsort_r): Define to qsort_r.
43097         * posix/tst-rfc3484.c (__qsort_r): Likewise.
43098         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
43099         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
43101         [BZ #17570]
43102         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
43103         define as weak alias of __malloc_info.
43105         [BZ #17584]
43106         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
43107         as weak alias of __rewinddir.  Don't use libc_hidden_def.
43108         (__rewinddir): Use libc_hidden_def.
43109         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
43110         as weak alias of __rewinddir.  Don't use libc_hidden_def.
43111         (__rewinddir): Use libc_hidden_def.
43112         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
43113         weak alias of __rewinddir.  Don't use libc_hidden_def.
43114         (__rewinddir): Use libc_hidden_def.
43115         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
43116         (__rewinddir): Use libc_hidden_proto.
43117         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
43118         rewinddir.
43119         (__getcwd): Use __rewinddir instead of rewinddir.
43121         [BZ #17583]
43122         * libio/fileno.c (fileno): Rename to __fileno and define as weak
43123         alias of __fileno.  Use libc_hidden_weak.
43124         (__fileno): Use libc_hidden_def.
43125         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
43126         * libio/ftello.c (ftello): Rename to __ftello and define as weak
43127         alias of __ftello.
43128         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
43129         __ftello.
43130         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
43131         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
43132         libc_hidden_def.
43133         (fread_unlocked): Don't use libc_hidden_ver.
43134         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
43135         and define as weak alias of __fread_unlocked.  Don't use
43136         libc_hidden_def.
43137         (__fread_unlocked): Use libc_hidden_def.
43138         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
43139         (ftello): Don't use libc_hidden_proto.
43140         (__ftello): Declare.  Use libc_hidden_proto.
43141         (fread_unlocked): Don't use libc_hidden_proto.
43142         (__fread_unlocked): Declare.  Use libc_hidden_proto.
43143         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
43144         and __ftello instead of fileno, fread_unlocked and ftello.
43146 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43148         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
43149         GOT12.
43150         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
43151         Likewise.
43152         (_dl_start_user): Likewise.
43153         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
43155 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
43156             Siddhesh Poyarekar  <siddhesh@redhat.com>
43158         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
43159         Move argv and envp down instead of moving argc up.
43160         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
43162 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
43164         [BZ #17506]
43165         * test-skeleton.c (main): Return successful if one of
43166         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
43167         * string/tst-strcoll-overflow.c: Define expected status.
43169 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
43171         [BZ #17475]
43172         * locale/iso-639.def: Define Bhili and Tulu language codes.
43174 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
43176         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
43178 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
43180         [BZ #17555]
43181         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
43183 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
43185         * configure.ac: Updated check of minimal required version to
43186         2.22.
43187         * manual/install.texi (Tools for Compilation): Updated version
43188         number.
43189         * configure: Regenerated.
43190         * INSTALL: Likewise.
43192 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
43194         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
43195         __tls_get_addr.
43197 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
43199         * include/sys/wait.h (__libc_waitpid): Remove declaration.
43200         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
43201         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43202         libc_hidden_weak.
43203         (waitpid): Define as alias of __waitpid.
43204         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
43205         __waitpid.
43206         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43207         libc_hidden_weak.
43208         (waitpid): Define as alias of __waitpid.
43209         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
43210         __libc_waitpid alias.
43211         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
43212         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
43213         Likewise.
43214         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
43215         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
43216         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
43217         alias.
43218         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
43219         __waitpid.
43220         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43221         libc_hidden_weak.
43222         (waitpid): Define as alias of __waitpid.
43224 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
43226         * manual/llio.texi: Add comment that write safety has been
43227         fixed in Linux.
43229         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
43230         (localplt-build-dso): Add elf/ld.so.
43231         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
43232         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
43233         and free for ld.so.
43234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
43235         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
43236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
43237         Likewise.
43238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43239         Likewise.
43240         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
43241         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
43242         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
43243         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
43244         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
43245         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
43246         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
43247         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
43248         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
43249         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
43250         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
43252 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
43254         [BZ #14132]
43255         * include/libc-symbols.h (INTUSE): Remove macro.
43256         (INTDEF): Likewise.
43257         (INTVARDEF): Likewise.
43258         (_INTVARDEF): Likewise.
43259         (INTDEF2): Likewise.
43260         (INTVARDEF2): Likewise.
43261         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
43262         rtld_hidden_def instead of INTVARDEF.
43263         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
43264         (_dl_starting_up_internal): Remove declaration.
43265         (_dl_starting_up): Use rtld_hidden_proto.
43266         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
43267         declaration.
43268         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
43269         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
43270         _dl_starting_up.
43271         * elf/dl-writev.h (_dl_writev): Likewise.
43272         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
43273         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
43274         _dl_starting_up_internal.
43276 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43278         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
43279         test-skeleton.c.
43281 2014-11-05  Will Newton  <will.newton@linaro.org>
43283         * benchtests/Makefile: (bench-malloc): Add malloc thread
43284         scalability benchmark.
43285         * benchtests/bench-malloc-threads.c: New file.
43287 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
43289         * sysdeps/aarch64/strchrnul.S: New file.
43291 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43293         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
43294         definition.
43295         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43296         Likewise.
43297         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43298         Likewise.
43299         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43300         Likewise.
43301         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43302         Likewise.
43303         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43304         Likewise.
43306 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
43308         * catgets/test-gencat.c: Use test-skeleton.c.
43309         * catgets/tst-catgets.c: Likewise.
43310         * csu/tst-empty.c: Likewise.
43311         * elf/tst-audit2.c: Likewise.
43312         * elf/tst-global1.c: Likewise.
43313         * elf/tst-pathopt.c: Likewise.
43314         * elf/tst-piemod1.c: Likewise.
43315         * elf/tst-tls10.c: Likewise.
43316         * elf/tst-tls11.c: Likewise.
43317         * elf/tst-tls12.c: Likewise.
43318         * gnulib/tst-gcc.c: Likewise.
43319         * iconvdata/tst-e2big.c: Likewise.
43320         * iconvdata/tst-loading.c: Likewise.
43321         * iconv/tst-iconv1.c: Likewise.
43322         * iconv/tst-iconv2.c: Likewise.
43323         * inet/test-inet6_opt.c: Likewise.
43324         * inet/tst-gethnm.c: Likewise.
43325         * inet/tst-network.c: Likewise.
43326         * inet/tst-ntoa.c: Likewise.
43327         * intl/tst-codeset.c: Likewise.
43328         * intl/tst-gettext2.c: Likewise.
43329         * intl/tst-gettext3.c: Likewise.
43330         * intl/tst-ngettext.c: Likewise.
43331         * intl/tst-translit.c: Likewise.
43332         * io/test-stat.c: Likewise.
43333         * libio/test-fmemopen.c: Likewise.
43334         * libio/tst-freopen.c: Likewise.
43335         * libio/tst-sscanf.c: Likewise.
43336         * libio/tst-ungetwc1.c: Likewise.
43337         * libio/tst-ungetwc2.c: Likewise.
43338         * libio/tst-widetext.c: Likewise.
43339         * localedata/tst-ctype.c: Likewise.
43340         * localedata/tst-digits.c: Likewise.
43341         * localedata/tst-leaks.c: Likewise.
43342         * localedata/tst-mbswcs1.c: Likewise.
43343         * localedata/tst-mbswcs2.c: Likewise.
43344         * localedata/tst-mbswcs3.c: Likewise.
43345         * localedata/tst-mbswcs4.c: Likewise.
43346         * localedata/tst-mbswcs5.c: Likewise.
43347         * localedata/tst-setlocale.c: Likewise.
43348         * localedata/tst-trans.c: Likewise.
43349         * localedata/tst-wctype.c: Likewise.
43350         * localedata/tst-xlocale1.c: Likewise.
43351         * login/tst-grantpt.c: Likewise.
43352         * malloc/tst-calloc.c: Likewise.
43353         * malloc/tst-malloc.c: Likewise.
43354         * malloc/tst-mallocstate.c: Likewise.
43355         * malloc/tst-mcheck.c: Likewise.
43356         * malloc/tst-mtrace.c: Likewise.
43357         * malloc/tst-obstack.c: Likewise.
43358         * math/atest-exp2.c: Likewise.
43359         * math/atest-exp.c: Likewise.
43360         * math/atest-sincos.c: Likewise.
43361         * math/test-matherr.c: Likewise.
43362         * math/test-misc.c: Likewise.
43363         * math/test-powl.c: Likewise.
43364         * math/tst-definitions.c: Likewise.
43365         * misc/tst-dirname.c: Likewise.
43366         * misc/tst-efgcvt.c: Likewise.
43367         * misc/tst-fdset.c: Likewise.
43368         * misc/tst-hsearch.c: Likewise.
43369         * misc/tst-mntent2.c: Likewise.
43370         * nptl/tst-sem7.c: Likewise.
43371         * nptl/tst-sem8.c: Likewise.
43372         * nptl/tst-sem9.c: Likewise.
43373         * nss/test-netdb.c: Likewise.
43374         * posix/tst-fnmatch.c: Likewise.
43375         * posix/tst-getlogin.c: Likewise.
43376         * posix/tst-gnuglob.c: Likewise.
43377         * posix/tst-mmap.c: Likewise.
43378         * pwd/tst-getpw.c: Likewise.
43379         * resolv/tst-inet_ntop.c: Likewise.
43380         * rt/tst-timer.c: Likewise.
43381         * stdio-common/test-fseek.c: Likewise.
43382         * stdio-common/test-popen.c: Likewise.
43383         * stdio-common/test-vfprintf.c: Likewise.
43384         * stdio-common/tst-cookie.c: Likewise.
43385         * stdio-common/tst-fileno.c: Likewise.
43386         * stdio-common/tst-gets.c: Likewise.
43387         * stdio-common/tst-obprintf.c: Likewise.
43388         * stdio-common/tst-perror.c: Likewise.
43389         * stdio-common/tst-sprintf2.c: Likewise.
43390         * stdio-common/tst-sprintf3.c: Likewise.
43391         * stdio-common/tst-sprintf.c: Likewise.
43392         * stdio-common/tst-swprintf.c: Likewise.
43393         * stdio-common/tst-tmpnam.c: Likewise.
43394         * stdio-common/tst-unbputc.c: Likewise.
43395         * stdio-common/tst-wc-printf.c: Likewise.
43396         * stdlib/tst-environ.c: Likewise.
43397         * stdlib/tst-fmtmsg.c: Likewise.
43398         * stdlib/tst-limits.c: Likewise.
43399         * stdlib/tst-rand48-2.c: Likewise.
43400         * stdlib/tst-rand48.c: Likewise.
43401         * stdlib/tst-random2.c: Likewise.
43402         * stdlib/tst-random.c: Likewise.
43403         * stdlib/tst-strtol.c: Likewise.
43404         * stdlib/tst-strtoll.c: Likewise.
43405         * stdlib/tst-tls-atexit.c: Likewise.
43406         * stdlib/tst-xpg-basename.c: Likewise.
43407         * string/test-ffs.c: Likewise.
43408         * string/tst-bswap.c: Likewise.
43409         * string/tst-inlcall.c: Likewise.
43410         * string/tst-strtok.c: Likewise.
43411         * string/tst-strxfrm.c: Likewise.
43412         * sysdeps/x86_64/tst-audit10.c: Likewise.
43413         * sysdeps/x86_64/tst-audit3.c: Likewise.
43414         * sysdeps/x86_64/tst-audit4.c: Likewise.
43415         * sysdeps/x86_64/tst-audit5.c: Likewise.
43416         * time/tst-ftime_l.c: Likewise.
43417         * time/tst-getdate.c: Likewise.
43418         * time/tst-mktime3.c: Likewise.
43419         * time/tst-mktime.c: Likewise.
43420         * time/tst-posixtz.c: Likewise.
43421         * time/tst-strptime2.c: Likewise.
43422         * time/tst-strptime3.c: Likewise.
43423         * wcsmbs/tst-btowc.c: Likewise.
43424         * wcsmbs/tst-mbrtowc.c: Likewise.
43425         * wcsmbs/tst-mbsrtowcs.c: Likewise.
43426         * wcsmbs/tst-wchar-h.c: Likewise.
43427         * wcsmbs/tst-wcpncpy.c: Likewise.
43428         * wcsmbs/tst-wcrtomb.c: Likewise.
43429         * wcsmbs/tst-wcsnlen.c: Likewise.
43430         * wcsmbs/tst-wcstof.c: Likewise.
43432 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
43434         [BZ #14132]
43435         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
43436         INTDEF.
43437         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
43438         declaration.
43439         (_dl_mcount): Use rtld_hidden_proto.
43440         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
43441         _dl_mcount.
43442         * elf/rtld.c (_rtld_global_ro): Likewise.
43444         [BZ #14132]
43445         * elf/dl-init.c (_dl_init): Don't use INTDEF.
43446         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
43447         of _dl_init_internal.
43448         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
43449         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
43450         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
43451         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
43452         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
43453         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
43454         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
43455         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
43456         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
43457         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
43458         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
43459         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
43460         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43461         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43462         * sysdeps/tile/dl-start.S (_start): Likewise.
43463         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
43464         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
43466         [BZ #14132]
43467         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
43468         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
43469         (rtld_progname): Make macro definition unconditional.
43470         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
43471         INTDEF.
43472         (dlmopen_doit): Do not use INTUSE with _dl_argv.
43473         (dl_main): Likewise.
43474         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
43475         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
43476         instead of _dl_argv_internal.
43477         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43478         __GI__dl_argv instead of INTUSE(_dl_argv).
43479         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
43480         __GI__dl_argv instead of _dl_argv_internal.
43482         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
43483         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
43484         macro.
43485         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
43486         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
43487         New macro.
43488         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
43489         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
43490         macro.
43491         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
43492         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
43494 2014-11-04  Andreas Schwab  <schwab@suse.de>
43496         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
43498 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43500         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
43501         mtvsrd instruction in binary form.
43503 2014-11-03  Andreas Schwab  <schwab@suse.de>
43505         [BZ #17522]
43506         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
43507         for less than MB_LEN_MAX use a local buffer of that size.
43508         * libio/tst-fputws.c: New file.
43509         * libio/Makefile (tests): Add tst-fputws.
43511 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
43513         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
43514         the size of the fpu_fr.fpu_dregs[] array.
43516 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
43518         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
43519         (__nanosleep): Do not define as alias.
43520         (nanosleep): Define as alias of __nanosleep.
43521         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
43522         __libc_nanosleep name.
43524 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
43526         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
43527         install.texi in comment.
43529 2014-10-31  Torvald Riegel  <triegel@redhat.com>
43531         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
43532         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
43533         ... add here and use lwsync or sync ...
43534         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
43535         ... and add here using lwsync.
43537 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
43539         * elf/dl-machine-reject-phdr.h: New file.
43540         * elf/dl-load.c: #include that.
43541         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
43542         if that returned true.
43544 2014-10-31  Roland McGrath  <roland@hack.frob.com>
43546         [BZ #17496]
43547         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
43548         gen-as-const-headers chunk.  Add a big scare comment after the last
43549         safe place to touch before-compile.
43551 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
43553         * manual/install.texi (Tools for Compilation): Update autoconf
43554         version requirements.
43555         * INSTALL: Regenerated.
43557         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
43558         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
43559         (__libc_pselect): Likewise.
43561         [BZ #14138]
43562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
43563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43567 2014-10-31  Torvald Riegel  <triegel@redhat.com>
43569         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
43570         correct barrier instruction.
43571         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
43572         Likewise.
43573         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
43574         Likewise.
43576 2014-10-30  Roland McGrath  <roland@hack.frob.com>
43578         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
43579         after defining inlines.  Instead, just use parens to defeat macro
43580         expansion of __isctype in its declaration.
43582 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
43584         * include/sys/uio.h (__libc_readv): Remove declaration.
43585         (__libc_writev): Likewise.
43586         * misc/readv.c (__libc_readv): Rename to __readv.
43587         (__readv): Do not define as alias.
43588         (readv): Define as alias of __readv.
43589         * misc/writev.c (__libc_writev): Rename to __writev.
43590         (__writev): Do not define as alias.
43591         (writev): Define as alias of __writev.
43592         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
43593         (__readv): Do not define as alias.
43594         (readv): Define unconditionally as alias of __readv.
43595         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
43596         (__writev): Do not define as alias.
43597         (writev): Define unconditionally as alias of __writev.
43598         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
43599         name.
43600         (writev): Do not define __libc_writev name.
43602 2014-10-30  Roland McGrath  <roland@hack.frob.com>
43604         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
43605         (convert_charseq): New function, broken out of ...
43606         (use_from_charmap): ... here.  Call it.
43607         (use_to_charmap): Use convert_charseq and free instead of duplicating
43608         its code with a variable-length stack struct.
43610 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
43612         * include/fcntl.h (__libc_creat): Remove declaration.
43613         * io/creat.c (__libc_creat): Rename to creat.
43614         (creat): Do not define as alias.
43615         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
43616         of creat instead of __libc_creat.
43617         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
43618         to creat.
43619         (creat): Do not define as alias.
43620         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
43621         __libc_creat.
43622         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
43623         __libc_creat name.
43624         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
43625         Likewise.
43627 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
43629         * manual/llio.texi: Add comments discussing why write() may be
43630         considered MT-unsafe on Linux.
43632 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
43634         * dl-load.c (local_strdup): Remove.
43635         (expand_dynamic_string_token): Use __strdup.
43636         (decompose_rpath): Likewise.
43637         (_dl_map_object): Likewise.
43639 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
43641         [BZ #14132]
43642         * sysdeps/generic/unwind-dw2-fde.c
43643         (__register_frame_info_bases_internal): Do not declare.
43644         (__register_frame_info_table_bases_internal): Likewise.
43645         (__deregister_frame_info_bases_internal): Likewise.
43646         (__register_frame_info_bases): Declare and use hidden_proto before
43647         definition.  Use hidden_def instead of INTDEF.
43648         (__register_frame_info_table_bases): Likewise.
43649         (__deregister_frame_info_bases): Likewise.
43650         (__register_frame_info): Do not use INTUSE.
43651         (__register_frame): Likewise.
43652         (__register_frame_info_table): Likewise.
43653         (__register_frame_table): Likewise.
43654         (__deregister_frame_info): Likewise.
43655         (__deregister_frame): Likewise.
43657 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
43659         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43660         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
43661         not undefine.
43662         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
43663         Likewise.
43664         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
43665         Likewise.
43667 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
43669         [BZ #14138]
43670         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
43671         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
43672         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
43673         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
43674         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
43675         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
43676         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
43677         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
43678         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
43679         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
43680         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
43681         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
43682         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
43683         syscall.
43684         (setfsuid): Likewise.
43685         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
43686         (setfsuid): Likewise.
43687         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
43688         (setfsuid): Likewise.
43689         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
43690         Likewise.
43691         (setfsuid): Likewise.
43692         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
43693         (setfsuid): Likewise.
43694         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
43695         Likewise.
43696         (setfsuid): Likewise.
43698 2014-10-27  Andreas Schwab  <schwab@suse.de>
43700         [BZ #17501]
43701         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
43702         check for Slow_SSE4_2 feature bit.
43703         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
43704         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43705         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
43706         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
43708 2014-10-24  Roland McGrath  <roland@hack.frob.com>
43710         * configure.ac: Validate compiler version with a empirical test of
43711         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
43712         $CC -v output.
43713         * configure: Regenerated.
43715         * inet/htons.c (htons): Prototypify.
43716         * inet/htonl.c (htonl): Likewise.
43718 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43720         * string/strncat.c (strncat): Improve performance by using strlen.
43722 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43724         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
43726 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43728         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
43729         Call libc_fetestexcept_aarch64.
43731 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43733         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
43734         Call libc_feholdexcept_aarch64.
43736 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43738         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
43739         Call get_rounding_mode.
43741 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43743         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
43744         Simplify logic.
43746 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43748         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
43749         Simplify logic.
43751 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
43753         [BZ #14138]
43754         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
43755         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
43756         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
43757         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
43758         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
43759         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
43760         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
43761         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
43762         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
43763         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
43764         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
43765         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
43766         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
43767         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
43768         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
43769         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
43770         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
43771         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
43772         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
43773         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
43774         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
43775         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
43776         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
43777         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
43778         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
43779         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
43780         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
43781         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
43782         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
43783         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
43784         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
43785         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
43786         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
43787         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
43788         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
43789         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
43790         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
43791         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
43792         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
43793         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
43794         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
43795         syscall.
43796         (geteuid): Likewise.
43797         (getgid): Likewise.
43798         (getuid): Likewise.
43799         (getresgid): Likewise.
43800         (getresuid): Likewise.
43801         (getgroups): Likewise.
43802         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
43803         (geteuid): Likewise.
43804         (getgid): Likewise.
43805         (getuid): Likewise.
43806         (getresgid): Likewise.
43807         (getresuid): Likewise.
43808         (getgroups): Likewise.
43809         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
43810         (geteuid): Likewise.
43811         (getgid): Likewise.
43812         (getuid): Likewise.
43813         (getresgid): Likewise.
43814         (getresuid): Likewise.
43815         (getgroups): Likewise.
43816         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
43817         Likewise.
43818         (geteuid): Likewise.
43819         (getgid): Likewise.
43820         (getuid): Likewise.
43821         (getresgid): Likewise.
43822         (getresuid): Likewise.
43823         (getgroups): Likewise.
43824         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
43825         (geteuid): Likewise.
43826         (getgid): Likewise.
43827         (getuid): Likewise.
43828         (getresgid): Likewise.
43829         (getresuid): Likewise.
43830         (getgroups): Likewise.
43831         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
43832         Likewise.
43833         (geteuid): Likewise.
43834         (getgid): Likewise.
43835         (getuid): Likewise.
43836         (getgroups): Likewise.
43838         [BZ #14138]
43839         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
43840         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
43841         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
43842         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43843         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
43844         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
43845         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
43846         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
43847         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
43848         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
43849         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
43850         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
43851         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
43852         __chown.
43853         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
43854         (lchown): Likewise.
43855         (fchown): Likewise.
43856         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
43857         Likewise.
43858         (lchown): Likewise.
43859         (fchown): Likewise.
43860         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
43861         (lchown): Likewise.
43862         (fchown): Likewise.
43863         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
43864         Likewise.
43865         (lchown): Likewise.
43866         (fchown): Likewise.
43868 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43870         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
43871         Simplify logic.
43873 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43875         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43876         Cleanup logic.
43878 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43880         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43881         Remove unused include.
43883 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43885         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
43886         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
43887         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
43888         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
43890 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
43891             Helge Deller <deller@gmx.de>
43893         [BZ #17508]
43894         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
43895         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
43896         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
43898 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
43900         [BZ #14132]
43901         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
43902         Remove macro definition.
43903         (__ashrdi3_v_glibc20): Likewise.
43904         (__lshrdi3_v_glibc20): Likewise.
43905         (__cmpdi2_v_glibc20): Likewise.
43906         (__ucmpdi2_v_glibc20): Likewise.
43907         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
43908         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43909         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43910         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43911         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43912         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
43914 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43916         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
43917         old GNU extension [0] syntax.
43918         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
43919         alloca rather than an array member with variable length.
43920         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
43921         * nscd/nscd.c (invalidate_db): New function, broken out of ...
43922         (parse_opt): ... here.  Likewise use alloca there.
43923         Validate the -i argument before checking for rootness.
43924         (send_shutdown): New function, broken out of ...
43925         (parse_opt): ... here.
43927 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43929         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
43930         macro to get at the _rt_local_ro field.
43931         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
43932         ([PIC] case) or _dl_hwcap ([!PIC] case).
43933         * sysdeps/arm/setjmp.S: Likewise.
43935         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
43936         * sysdeps/arm/configure.ac: New check to define it.
43937         * sysdeps/arm/configure: Regenerated.
43938         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
43939         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
43940         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
43941         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
43942         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
43943         Use move/movt pair instead of a load.
43944         (LDST_GLOBAL): Macro removed.
43945         (LDR_GLOBAL): New macro replaces it.
43946         (LDR_HIDDEN): New macro.
43947         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
43948         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
43950         * setjmp/tst-setjmp-static.c: New file.
43951         * setjmp/Makefile (tests): Add it.
43952         (tests-static): New variable.
43954 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
43956         [BZ #17485]
43957         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
43959 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
43961         [BZ #14132]
43962         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
43964 2014-10-21  Roland McGrath  <roland@hack.frob.com>
43966         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
43968 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43970         * io/fts.c (dirent_not_directory): New function.
43971         (fts_build): Call it.
43973 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43975         * nptl/version.c (__nptl_main): Use normal __write rather than
43976         INTERNAL_SYSCALL.
43977         (banner): Update copyright years.
43979         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
43980         gettimeofday.
43981         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43982         * nptl/pthread_cond_timedwait.c: Likewise.
43983         * nptl/pthread_mutex_timedlock.c: Likewise.
43984         * nptl/sem_timedwait.c: Likewise.
43986         * sysdeps/nptl/bits/libc-lock.h
43987         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
43988         (__libc_lock_init_recursive): Return void, not 0.
43989         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
43990         (__libc_rwlock_init): Likewise.
43991         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
43993 2014-10-20  Torvald Riegel  <triegel@redhat.com>
43995         [BZ #15215]
43996         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
43997         (__pthread_once_slow): ... here.
43998         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
43999         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
44001 2014-10-20  Torvald Riegel  <triegel@redhat.com>
44003         [BZ #15215]
44004         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
44005         __PTHREAD_ONCE_FORK_GEN_INCR): New.
44006         * sysdeps/nptl/fork.c (__libc_fork): Use them.
44007         * nptl/pthread_once.c (__pthread_once): Likewise.
44008         Update comments.
44010 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
44012         [BZ #14138]
44013         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
44014         name.
44015         (writev): Use __libc_writev as strong name.
44016         * sysdeps/unix/sysv/linux/readv.c: Remove file.
44017         * sysdeps/unix/sysv/linux/writev.c: Likewise.
44019 2014-10-17  Roland McGrath  <roland@hack.frob.com>
44021         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
44023         * sysdeps/i386/nptl/tls.h
44024         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
44025         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
44026         New macros.
44027         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
44028         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
44029         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
44030         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
44031         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
44032         Call CHECK_THREAD_SYSINFO instead of doing an assert.
44034         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
44035         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
44036         on [__NR_futex].
44037         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
44038         broken out of ...
44039         (__pthread_mutex_init): ... here.  Call it.
44040         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
44041         Conditionalize PI cases on [__NR_futex].
44042         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
44043         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
44044         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
44046         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
44047         conditional on [SIGSETXID].
44048         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
44049         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
44050         is defined.  Likewise for SIGSETXID.
44051         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
44052         Conditionalize definitions on [SIGSETXID].
44053         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
44054         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
44055         unblocking on [SIGCANCEL].
44057         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
44058         [__NR_set_robust_list].
44060 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44062         * string/strcoll_l.c (get_next_seq): Fix up formatting.
44063         (do_compare): Likewise.
44065 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
44067         [BZ #15884]
44068         * string/strcoll_l.c: Don't include stdio.h.
44069         (coll_seq): Remove members idxarr and rulearr.
44070         (get_next_seq_cached): Remove function.
44071         (get_next_seq): Likewise.
44072         (get_next_seq_nocache): Rename to get_next_seq.
44073         (do_compare): Remove function.
44074         (do_compare_nocache): Rename to do_compare.
44075         (STRCOLL): Remove weight and rules cache.
44077 2014-10-16  Roland McGrath  <roland@hack.frob.com>
44079         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
44080         * sysdeps/arm/sfp-machine.h: ... to here.
44081         * sysdeps/arm/Implies: Remove arm/soft-fp.
44083 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
44085         * conform/data/sys/utsname.h-data (*_t): Allow.
44086         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
44087         [POSIX] (WEXITED): Do not expect constant.
44088         [POSIX] (WSTOPPED): Likewise.
44089         [POSIX] (WNOHANG): Likewise.
44090         [POSIX] (WNOWAIT): Likewise.
44091         [POSIX] (siginfo_t): Do not expect type or elements.
44092         [POSIX] (pid_t): Do not expect type.
44093         [POSIX] (signal.h): Do not allow header.
44094         [POSIX] (sys/resource.h): Likewise.
44095         [POSIX] (si_*): Do not allow pattern.
44096         [POSIX] (W*): Likewise.
44097         [POSIX] (P_*): Likewise.
44098         [POSIX] (BUS_*): Likewise.
44099         [POSIX] (CLD_*): Likewise.
44100         [POSIX] (FPE_*): Likewise.
44101         [POSIX] (ILL_*): Likewise.
44102         [POSIX] (POLL_*): Likewise.
44103         [POSIX] (SEGV_*): Likewise.
44104         [POSIX] (SI_*): Likewise.
44105         [POSIX] (TRAP_*): Likewise.
44106         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
44107         variable.
44109 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
44111         [BZ #12926]
44112         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
44113         infinite loop when __recvmsg returns 0.
44115 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
44117         * CANCEL-FCT-WAIVE: Remove file.
44118         * CANCEL-FILE-WAIVE: Likewise.
44120         [BZ #14132]
44121         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
44122         instead of INTVARDEF.
44123         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
44124         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
44125         rtld_hidden_data_def instead of INTVARDEF.
44126         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
44127         * elf/dl-deps.c (expand_dst): Likewise.
44128         * elf/dl-load.c (_dl_dst_count): Likewise.
44129         (_dl_dst_substitute): Likewise.
44130         (decompose_rpath): Likewise.
44131         (_dl_init_paths): Likewise.
44132         (open_path): Likewise.
44133         (_dl_map_object): Likewise.
44134         * elf/rtld.c (dl_main): Likewise.
44135         (process_dl_audit): Likewise.
44136         (process_envvars): Likewise.
44137         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
44138         Remove declaration.
44139         (__libc_enable_secure): Use rtld_hidden_proto.
44141 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44143         * elf/dl-load.c
44144         (add_path): New function broken out of _dl_rtld_di_serinfo.
44145         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
44147 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
44149         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
44150         parentheses around macro arguments.
44151         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
44152         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
44153         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
44154         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
44155         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
44156         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44157         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44158         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
44159         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
44160         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
44161         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
44162         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
44163         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
44164         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
44165         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
44166         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
44167         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
44168         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
44169         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
44170         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
44171         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
44172         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
44173         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
44174         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44175         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44176         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
44177         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
44178         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
44179         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
44180         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
44181         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
44182         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
44183         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
44184         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
44185         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
44186         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
44187         Likewise.
44188         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
44189         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44190         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44191         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
44192         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
44193         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
44194         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
44195         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
44196         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
44197         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
44198         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
44199         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
44200         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
44201         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
44202         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
44203         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44204         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44205         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
44206         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
44207         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
44208         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
44209         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
44210         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
44211         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
44212         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
44213         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
44214         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
44215         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
44216         (_FP_FRAC_SRS_1): Likewise.
44217         (_FP_FRAC_CLZ_1): Likewise.
44218         (_FP_MUL_MEAT_1_imm): Likewise.
44219         (_FP_MUL_MEAT_1_wide): Likewise.
44220         (_FP_MUL_MEAT_1_hard): Likewise.
44221         (_FP_SQRT_MEAT_1): Likewise.
44222         (_FP_FRAC_ASSEMBLE_1): Likewise.
44223         (_FP_FRAC_DISASSEMBLE_1): Likewise.
44224         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
44225         (__FP_CLZ_2): Likewise.
44226         (_FP_MUL_MEAT_2_wide): Likewise.
44227         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
44228         (_FP_MUL_MEAT_2_gmp): Likewise.
44229         (_FP_MUL_MEAT_2_120_240_double): Likewise.
44230         (_FP_SQRT_MEAT_2): Likewise.
44231         (_FP_FRAC_ASSEMBLE_2): Likewise.
44232         (_FP_FRAC_DISASSEMBLE_2): Likewise.
44233         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
44234         (_FP_FRAC_CLZ_4): Likewise.
44235         (_FP_MUL_MEAT_4_wide): Likewise.
44236         (_FP_MUL_MEAT_4_gmp): Likewise.
44237         (_FP_SQRT_MEAT_4): Likewise.
44238         (_FP_FRAC_ASSEMBLE_4): Likewise.
44239         (_FP_FRAC_DISASSEMBLE_4): Likewise.
44240         * soft-fp/op-common.h (_FP_CMP): Likewise.
44241         (_FP_CMP_EQ): Likewise.
44242         (_FP_CMP_UNORD): Likewise.
44243         (_FP_TO_INT): Likewise.
44244         (_FP_FROM_INT): Likewise.
44245         [!__FP_CLZ] (__FP_CLZ): Likewise.
44246         (_FP_DIV_HELP_imm): Likewise.
44247         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
44248         Likewise.
44249         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
44250         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
44251         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
44252         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
44253         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
44254         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
44255         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
44256         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
44257         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
44258         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
44259         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
44260         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
44261         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
44262         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
44263         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
44264         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
44265         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
44266         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
44267         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
44268         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
44269         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
44270         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
44271         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
44272         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
44273         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
44274         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
44275         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
44276         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
44277         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
44278         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
44279         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
44280         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
44281         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
44282         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
44283         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
44284         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
44285         (FP_UNPACK_RAW_SP): Likewise.
44286         (FP_PACK_RAW_S): Likewise.
44287         (FP_PACK_RAW_SP): Likewise.
44288         (FP_UNPACK_S): Likewise.
44289         (FP_UNPACK_SP): Likewise.
44290         (FP_UNPACK_SEMIRAW_S): Likewise.
44291         (FP_UNPACK_SEMIRAW_SP): Likewise.
44292         (FP_PACK_S): Likewise.
44293         (FP_PACK_SP): Likewise.
44294         (FP_PACK_SEMIRAW_S): Likewise.
44295         (FP_PACK_SEMIRAW_SP): Likewise.
44296         (_FP_SQRT_MEAT_S): Likewise.
44297         (FP_CMP_S): Likewise.
44298         (FP_CMP_EQ_S): Likewise.
44299         (FP_CMP_UNORD_S): Likewise.
44300         (FP_TO_INT_S): Likewise.
44301         (FP_FROM_INT_S): Likewise.
44303         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
44305         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
44306         (FP_EX_INVALID_IMZ): Likewise.
44307         (FP_EX_INVALID_IMZ_FMA): Likewise.
44308         (FP_EX_INVALID_ISI): Likewise.
44309         (FP_EX_INVALID_ZDZ): Likewise.
44310         (FP_EX_INVALID_IDI): Likewise.
44311         (FP_EX_INVALID_SQRT): Likewise.
44312         (FP_EX_INVALID_CVI): Likewise.
44313         (FP_EX_INVALID_VC): Likewise.
44314         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
44315         "invalid" exceptions.
44316         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
44317         (_FP_ADD_INTERNAL): Likewise.
44318         (_FP_MUL): Likewise.
44319         (_FP_FMA): Likewise.
44320         (_FP_DIV): Likewise.
44321         (_FP_CMP_CHECK_NAN): Likewise.
44322         (_FP_SQRT): Likewise.
44323         (_FP_TO_INT): Likewise.
44324         (FP_EXTEND): Likewise.
44326 2014-10-09  Allan McRae  <allan@archlinux.org>
44328         * po/fr.po: Update French translation from translation project.
44330 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
44332         [BZ #14132]
44333         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
44334         of INTDEF.
44335         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
44336         (__cxa_atexit): Use libc_hidden_proto.
44337         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
44339         [BZ #14132]
44340         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
44341         declaration.
44342         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
44343         [!_ISOMAC] (__iswspace_l_internal): Likewise.
44344         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
44345         [!_ISOMAC] (__iswctype_internal): Likewise.
44346         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
44347         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
44348         alias.
44349         (fcntl): Remove __fcntl_internal alias.
44350         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
44351         __connect_internal alias.
44352         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
44353         Likewise.
44355         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
44356         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
44357         FP_DENORM_ZERO.
44358         (_FP_CHECK_FLUSH_ZERO): New macro.
44359         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
44360         (_FP_CMP): Likewise.
44361         (_FP_CMP_EQ): Likewise.
44362         (_FP_TO_INT): Do not set inexact for subnormal arguments if
44363         FP_DENORM_ZERO.
44364         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
44365         (FP_TRUNC): Likewise.
44367         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
44368         treated as invalid conversion, not as normal exponent.
44370         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
44371         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
44372         (_FP_CMP_EQ): Likewise.
44373         (_FP_CMP_UNORD): Likewise.
44374         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
44375         (FP_CMP_EQ_D): Likewise.
44376         (FP_CMP_UNORD_D): Likewise.
44377         * soft-fp/extended.h (FP_CMP_E): Likewise.
44378         (FP_CMP_EQ_E): Likewise.
44379         (FP_CMP_UNORD_E): Likewise.
44380         * soft-fp/quad.h (FP_CMP_Q): Likewise.
44381         (FP_CMP_EQ_Q): Likewise.
44382         (FP_CMP_UNORD_Q): Likewise.
44383         * soft-fp/single.h (FP_CMP_S): Likewise.
44384         (FP_CMP_EQ_S): Likewise.
44385         (FP_CMP_UNORD_S): Likewise.
44386         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
44387         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
44388         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
44389         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
44390         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
44391         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
44392         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
44393         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
44394         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
44395         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
44396         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
44397         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
44398         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
44399         to FP_CMP_Q.
44400         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
44401         FP_CMP_Q.
44402         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
44403         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
44404         FP_CMP_EQ_Q.
44405         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
44406         FP_CMP_Q.
44407         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
44408         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
44409         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
44410         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
44411         FP_CMP_EQ_Q.
44412         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
44413         FP_CMP_Q.
44414         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
44415         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
44416         FP_CMP_EQ_Q.
44417         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
44418         FP_CMP_Q.
44419         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
44420         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
44421         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
44422         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
44423         FP_CMP_EQ_Q.
44425         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
44426         a subnormal result, set the underflow exception if trapping on
44427         underflow is enabled.
44428         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
44429         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
44430         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
44431         redefine to 0.
44432         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
44433         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44434         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44435         * soft-fp/extendxftf2.c (__extendxftf2): Use
44436         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
44438         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
44439         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
44440         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44441         FP_HANDLE_EXCEPTIONS.
44442         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
44443         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44444         FP_HANDLE_EXCEPTIONS.
44445         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
44446         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44447         FP_HANDLE_EXCEPTIONS.
44448         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
44449         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44450         FP_HANDLE_EXCEPTIONS.
44452 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
44454         [BZ #14132]
44455         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
44456         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
44457         use INTUSE.
44458         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
44459         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
44460         Remove alias.
44461         (__adjtimex): Define using libc_hidden_ver.
44462         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
44463         Remove declaration.
44464         (ntp_gettime): Call __adjtimex directly.
44465         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
44466         Remove declaration.
44467         (ntp_gettimex): Call __adjtimex directly.
44468         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
44469         __adjtimex_internal alias.
44471 2014-10-08  Roland McGrath  <roland@hack.frob.com>
44473         [BZ #17460]
44474         * nscd/nscd.c (more_help): Rewrite list of tables collection
44475         using xstrdup and asprintf.
44477         * nscd/nscd_conf.c: Remove local xstrdup declaration.
44479 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44480             Roland McGrath  <roland@hack.frob.com>
44482         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
44483         (do_lookup_unique): ... local function 'enter' here; update callers.
44485 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
44487         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
44488         compat_symbol calls on [SHARED].
44489         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
44490         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
44491         Remove.
44492         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44493         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
44494         (oldsetrlimit): Remove.
44495         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44497         (lchown): New syscall entry.
44498         (oldsetrlimit): Remove.
44499         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44500         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
44501         (oldsetrlimit): Remove.
44502         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44504         [BZ #14138]
44505         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
44506         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
44507         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
44508         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
44509         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
44510         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
44511         (fchown): Likewise.
44512         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
44513         (fchown): Likewise.
44514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
44515         Likewise.
44517 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44519         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
44520         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
44521         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
44522         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
44523         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
44524         Likewise.
44525         (__old_sem_post): Likewise.
44527 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
44529         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
44530         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
44531         HAVE_CLOCK_GETTIME_VSYSCALL macros.
44532         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
44533         Use INLINE_VSYSCALL macro.
44534         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
44535         __vdso_clock_gettime.
44536         * sysdeps/unix/sysv/linux/tile/init-first.c
44537         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
44538         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
44539         __vdso_clock_gettime.
44541         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
44542         to set up frame more cleanly.
44544         * sysdeps/tile/memcmp.c: New file.
44546         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
44548         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
44549         * sysdeps/tile/tilegx/strcasestr.c: New file.
44550         * sysdeps/tile/tilegx/strnlen.c: New file.
44551         * sysdeps/tile/tilegx/strstr.c: New file.
44553         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
44555 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
44557         * nptl/tst-setuid3.c: Write errors to stdout.
44559 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44561         * elf/dl-deps.c
44562         (preload): New functions broken out of _dl_map_object_deps.
44563         (_dl_map_object_deps):  Remove a nested function. Update call sites.
44565 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
44567         [BZ #14138]
44568         * sysdeps/unix/sysv/linux/execve.c: Remove file.
44569         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
44571 2014-10-01  Steve Ellcey  <sellcey@mips.com>
44573         * sysdeps/mips/strcmp.S: New.
44575 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
44577         [BZ #14138]
44578         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
44579         (linkat): Likewise.
44580         (mkdirat): Likewise.
44581         (readlinkat): Likewise.
44582         (renameat): Likewise.
44583         (symlinkat): Likewise.
44584         (unlinkat): Likewise.
44585         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
44586         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
44587         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
44588         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
44589         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
44590         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
44591         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
44593 2014-09-30  Will Newton  <will.newton@linaro.org>
44595         * math/math.h: Define long double math functions if
44596         _LIBC_TEST is defined.
44597         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
44599         * localedata/Makefile: Move assignment to tests-special
44600         into an ifdef testing run-built-tests.
44601         * timezone/Makefile: Likewise.
44603 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
44605         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
44606         with $(BASH) not $(SHELL).
44608 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
44609             Matthew LeGendre  <legendre1@llnl.gov>
44611         [BZ #17411]
44612         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
44613         l_reloc_result.
44615 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44617         * stdio-common/printf_fp.c
44618         (hack_digit): New function, broken out of ...
44619         (__printf_fp): ... local function here.  Update call sites.
44620         hack_digit now takes an additional parameter that is a pointer
44621         to a struct of the referenced locals.  Those locals moved inside
44622         the struct and references updated.
44624 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
44626         * aclocal.m4: Require autoconf 2.69.
44627         * configure: Regenerated.
44628         * sysdeps/aarch64/configure: Likewise.
44629         * sysdeps/alpha/configure: Likewise.
44630         * sysdeps/arm/armv7/configure: Likewise.
44631         * sysdeps/arm/configure: Likewise.
44632         * sysdeps/ia64/configure: Likewise.
44633         * sysdeps/mach/configure: Likewise.
44634         * sysdeps/mips/configure: Likewise.
44635         * sysdeps/s390/configure: Likewise.
44636         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
44637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
44639         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
44640         file.
44641         * sysdeps/ia64/configure.ac: Likewise.
44643 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
44645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
44646         specify symbol version for ld.so.  Do not include entry for
44647         libpthread.
44648         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44649         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44650         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44652         [BZ #14171]
44653         * Makeconfig [$(build-shared) = yes]
44654         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
44655         makefiles.
44656         [$(build-shared) = yes && $(soversions.mk-done) = t]
44657         ($(common-objpfx)gnu/lib-names.h): Remove rule.
44658         [$(build-shared) = yes && $(soversions.mk-done) = t]
44659         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
44660         to Makerules.
44661         [$(build-shared) = yes && $(soversions.mk-done) = t]
44662         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
44663         here.
44664         [$(build-shared) = yes && $(soversions.mk-done) = t]
44665         (common-generated): Don't append gnu/lib-names.h and
44666         gnu/lib-names.stmp here.
44667         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
44668         (lib-names-h-abi): New variable.
44669         [$(build-shared) = yes && $(soversions.mk-done) = t]
44670         (lib-names-stmp-abi): Likewise.
44671         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44672         abi-variants] (before-compile): Append
44673         $(common-objpfx)$(lib-names-h-abi).
44674         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44675         abi-variants] (common-generated): Append gnu/lib-names.h.
44676         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44677         abi-variants] (install-others-nosubdir): Depend on
44678         $(inst_includedir)/$(lib-names-h-abi).
44679         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44680         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
44681         [$(build-shared) = yes && $(soversions.mk-done) = t]
44682         ($(common-objpfx)$(lib-names-h-abi)): New rule.
44683         [$(build-shared) = yes && $(soversions.mk-done) = t]
44684         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
44685         [$(build-shared) = yes && $(soversions.mk-done) = t]
44686         (common-generated): Append $(lib-names-h-abi) and
44687         $(lib-names-stmp-abi).
44688         * scripts/lib-names.awk: Do not handle multi being set.
44689         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
44690         Remove variable.
44691         (abi-lp64_be-ld-soname): Likewise.
44692         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
44693         Likewise.
44694         (abi-hard-ld-soname): Likewise.
44695         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
44696         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
44697         Remove variable.
44698         (abi-o32_hard-ld-soname): Likewise.
44699         (abi-o32_soft_2008-ld-soname): Likewise.
44700         (abi-o32_hard_2008-ld-soname): Likewise.
44701         (abi-n32_soft-ld-soname): Likewise.
44702         (abi-n32_hard-ld-soname): Likewise.
44703         (abi-n32_soft_2008-ld-soname): Likewise.
44704         (abi-n32_hard_2008-ld-soname): Likewise.
44705         (abi-n64_soft-ld-soname): Likewise.
44706         (abi-n64_hard-ld-soname): Likewise.
44707         (abi-n64_soft_2008-ld-soname): Likewise.
44708         (abi-n64_hard_2008-ld-soname): Likewise.
44709         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
44710         Likewise.
44711         (abi-64-v2-ld-soname): Likewise.
44712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
44713         ld.so entries.
44714         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
44715         variable.
44716         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
44717         entry.
44718         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
44719         variable.
44720         (abi-64-ld-soname): Likewise.
44721         (abi-x32-ld-soname): Likewise.
44722         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
44723         entry.
44724         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44726 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
44728         [BZ #14138]
44729         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
44730         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
44731         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
44732         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
44733         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
44734         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
44735         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
44736         syscall entry for GLIBC_2.2 symbol version.
44737         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
44738         Likewise.
44739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44740         (setrlimit): Likewise.
44741         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
44742         Likewise.
44744 2014-09-23  Will Newton  <will.newton@linaro.org>
44746         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
44747         _LINUX_ARM_SYSDEP_H include guard too.
44748         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
44749         define.
44751 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44753         * sysdeps/unix/sysv/linux/eventfd.c:
44754         Make first argument unsigned.
44755         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
44756         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
44758 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
44760         [BZ #16852]
44761         * socket/recvmmsg.c (recvmmsg): Drop const argument.
44762         * socket/sys/socket.h: Likewise.
44763         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
44765 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44767         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
44769 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
44771         * time/tst-ftime.c: New test.
44772         * time/Makefile (tests): Add tst-ftime.
44774 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
44776         * soft-fp/extended.h: Fix comment formatting.
44777         * soft-fp/op-1.h: Likewise.
44778         * soft-fp/op-2.h: Likewise.
44779         * soft-fp/op-4.h: Likewise.
44780         * soft-fp/op-8.h: Likewise.
44781         * soft-fp/op-common.h: Likewise.
44782         * soft-fp/soft-fp.h: Likewise.
44784         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
44786 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
44788         [BZ #6652]
44789         * Makeconfig (soversions-default-setname): Remove variable.
44790         ($(common-objpfx)soversions.i): Don't pass default_setname to
44791         soversions.awk.
44792         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
44793         oldest_abi to abi-versions.awk.
44794         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
44795         * config.make.in (oldest-abi): Remove variable.
44796         * configure.ac (--enable-oldest-abi): Remove configure option.
44797         * configure: Regenerated.
44798         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
44799         text.
44800         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
44801         * scripts/soversions.awk: Do not handle default_setname variable.
44802         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
44803         variable.
44804         * sysdeps/mach/hurd/configure: Regenerated.
44805         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
44806         variable.
44807         * sysdeps/unix/sysv/linux/configure: Regenerated.
44809 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44811         * elf/Makefile (CFLAGS-interp.c): Remove.
44812         ($(elf-objpfx)runtime-linker.h): Generate header with linker
44813         path string.
44814         * elf/interp.c: Include generated runtime-linker.h
44816         * Makerules (lib%.so): Don't include $(+interp) in
44817         prerequisites.
44818         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
44819         * dlfcn/eval.c: Remove file.
44821         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
44822         macros.
44824         [BZ #17266]
44825         * misc/sys/cdefs.h: Define __extern_always_inline for clang
44826         4.2 and newer.
44828         [BZ #17370]
44829         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
44831 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44832             Jakub Jelinek  <jakub@redhat.com>
44834         [BZ #17266]
44835         * libio/stdio.h: Check definition of __fortify_function
44836         instead of __extern_always_inline to include bits/stdio2.h.
44837         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
44838         check if __extern_always_inline is defined.
44839         [__USE_MISC || __USE_XOPEN]: Likewise.
44840         [__USE_ISOC99] Likewise.
44841         * misc/sys/cdefs.h (__fortify_function): Define only if
44842         __extern_always_inline is defined.
44843         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
44844         __extern_always_inline and __extern_inline only for g++-4.3
44845         and newer or a compatible gcc.
44847 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
44849         [BZ #17371]
44850         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44851         last change to handle zero prefix length.
44853 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44855         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
44856         _SC_REGEX_VERSION.
44858         * posix/getconf.c (vars): Add _POSIX_IPV6 and
44859         _POSIX_RAW_SOCKETS.
44861 2014-09-13  Allan McRae  <allan@archlinux.org>
44863         * po/ru.po: Update Russian translation from translation project.
44865 2014-09-12  Roland McGrath  <roland@hack.frob.com>
44867         * locale/programs/locale.c (show_locale_vars): Inline local function
44868         into its sole call site.  Clean up some style nits.
44869         (print_item): New function, broken out of ...
44870         (show_info): ... local function here.  Clean up style nits.
44872         * locale/programs/ld-ctype.c (set_one_default): New function, broken
44873         out of ...
44874         (set_class_defaults): ... local function set_default here.
44875         Define set_default as a macro locally to pass constant parameters.
44876         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
44877         rather than a shared local.
44879         * stdlib/rpmatch.c (try): New function, broken out of ...
44880         (rpmatch): ... local function here.  Also, prototypify definition.
44882 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
44884         * scripts/soversions.awk: Do not handle configuration names.
44885         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
44886         vendor and os variables to soversions.awk.
44887         * configure.ac: Do not modify gnu-* host_os.
44888         * configure: Regenerated
44889         * shlib-versions: Remove first column with configuration names.
44890         * nptl/shlib-versions: Likewise.
44891         * nptl_db/shlib-versions: Likewise.
44892         * sysdeps/hppa/shlib-versions: Likewise.
44893         * sysdeps/m68k/shlib-versions: Likewise.
44894         * sysdeps/mach/hurd/shlib-versions: Likewise.
44895         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
44896         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
44897         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
44898         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
44899         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
44900         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
44901         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
44902         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
44903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44904         Likewise.
44905         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44906         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44907         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44908         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44909         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44910         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
44911         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44912         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
44915         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
44916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44917         Regenerated.
44918         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
44919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44920         Condition symbol version definitions on [HAVE_ELFV2_ABI].
44922         * shlib-versions: Remove OS-specific entries.  Moved to files in
44923         sysdeps.
44924         * sysdeps/mach/hurd/shlib-versions: New file.
44925         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44927         * nptl/shlib-versions: Remove architecture-specific entries.
44928         Moved to files in sysdeps.
44929         * shlib-versions: Likewise.
44930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
44931         file.
44932         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44933         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44934         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44935         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44937         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
44938         (UDP_NO_CHECK6_RX): Likewise.
44940 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44942         * sysdeps/posix/sysconf.c (__sysconf): Spell
44943         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
44945 2014-08-12  Florian Weimer  <fweimer@redhat.com>
44947         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
44948         loading.
44949         * iconv/Versions (__gconv_transliterate): Export for use from
44950         gconv modules.
44951         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
44952         (struct __gconv_trans_data, __gconv_trans_fct,
44953         __gconv_trans_context_fct, __gconv_trans_query_fct,
44954         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
44955         definitions.
44956         (struct __gconv_step_data): Remove __trans member.
44957         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
44958         longer hidden.  Remove unused trans_data argument.
44959         * iconv/gconv_int.h (struct trans_struct): Remove definition.
44960         (__gconv_translit_find): Remove declaration.
44961         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
44962         prototype.
44963         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
44964         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
44965         trans_data argument.  Add hidden definition.
44966         (__gconv_translit_find): Remove.
44967         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
44968         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
44969         * iconv/skeleton.c: Remove transliteration initialization.
44970         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
44971         __gconv_step_data initialization.
44972         * libio/iofwide.c (__libio_translit_): Remove.
44973         (_IO_fwide): Adjust struct __gconv_step_data initialization.
44974         * wcsmbs/btowc.c (__btowc): Likewise.
44975         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44976         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44977         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
44978         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
44979         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
44980         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
44981         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
44982         * wcsmbs/wctob.c (wctob): Likewise.
44984 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44986         [BZ #16194]
44987         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
44988         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
44989         register usage.
44990         * sysdeps/x86/Makefile: Adjust.
44992 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44993             Roland McGrath  <roland@hack.frob.com>
44995         * locale/weight.h: Add include guard.
44996         (findidx): Make static rather than auto; take new parameters
44997         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
44998         * locale/weightwc.h: Likewise.
44999         * posix/fnmatch_loop.c
45000         (FCT): Change type of EXTRA from int32_t to wint_t.
45001         Don't include either header inside the function.
45002         Call FINDIDX rather than findidx, and pass new arguments.
45003         #undef FINDIDX at the end of the file.
45004         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
45005         FINDIDX before including fnmatch_loop.c for the non-wide version.
45006         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
45007         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
45008         for the wide version.
45009         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
45010         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
45011         Pass new arguments to findidx.
45012         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
45013         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
45014         Don't #include it inside the function.  Pass new arguments to findidx.
45015         * posix/regex_internal.h
45016         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
45017         (re_string_elem_size_at): Don't #include it inside the function.
45018         Pass new arguments to findidx.
45019         * string/strcoll_l.c: #include WEIGHT_H at top level.
45020         (get_next_seq): Don't #include it inside the function.
45021         Pass new arguments to findidx.
45022         (get_next_seq_nocache): Likewise.
45023         * string/strxfrm_l.c: #include WEIGHT_H at top level.
45024         (STRXFRM): Don't #include it inside the function.
45025         Pass new arguments to findidx.
45027 2014-09-11  Florian Weimer  <fweimer@redhat.com>
45029         [BZ #17344]
45030         * malloc/malloc.c (unlink): Turn asserts into a call to
45031         malloc_printerr.
45033 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
45035         [BZ #17370]
45036         * libio/wfileops (do_ftell_wide): Free OUT.
45038 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
45040         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
45042 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45044         [BZ #17363]
45045         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
45046         group if the current group is empty.
45048 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45050         * benchtests/bench-memset.c (test_main): Add more test from size
45051         from 32 to 512 bytes.
45052         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
45053         Add POWER8 memset object.
45054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45055         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
45056         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
45057         implementation.
45058         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
45059         Likewise.
45060         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
45061         multiarch POWER8 memset optimization.
45062         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
45063         POWER8 memset optimization.
45065         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
45066         Remove bzero multiarch objects.
45067         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
45068         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
45069         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
45070         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
45071         Remove define.
45072         [__bzero]: Redefine to specific name.
45073         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
45074         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
45075         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
45076         define.
45077         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45078         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45080 2014-09-10  Florian Weimer  <fweimer@redhat.com>
45082         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
45083         warnings into errors.
45085         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
45086         __cxa_thread_atexit_impl prototype.
45088 2014-09-09  Steve Ellcey  <sellcey@mips.com>
45090         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
45091         Fix capitalization of error message.
45093 2014-09-09  Steve Ellcey  <sellcey@mips.com>
45095         * sysdeps/mips/preconfigure: Modify ABI tests.
45097 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
45099         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
45101 2014-09-07  Roland McGrath  <roland@hack.frob.com>
45102             Carlos O'Donell  <carlos@systemhalted.org>
45104         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
45105         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
45106         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
45107         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
45108         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
45109         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
45110         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
45111         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
45112         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
45113         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
45114         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
45115         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
45116         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
45117         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
45118         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
45119         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
45120         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
45121         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
45122         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
45123         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
45124         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
45125         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
45126         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
45127         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
45128         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
45129         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
45130         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
45131         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
45132         Deconditionalize the code that was previously under [RESET_PID].
45133         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
45134         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
45135         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
45136         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
45137         include sysdep.h.
45139 2014-09-08  Allan McRae  <allan@archlinux.org>
45141         * version.h (RELEASE): Set to "development".
45142         (VERSION): Set to "2.20.90"
45144 2014-09-07  Allan McRae  <allan@archlinux.org
45146         * version.h (RELEASE): Set to "stable".
45147         (VERSION): Set to "2.20"
45148         * include/features.h (__GLIBC_MINOR__): Set to 20.
45150         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
45151         Liebler.
45153         * po/ko.po: Update Korean translation from translation project.
45155 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
45157         [BZ #17354]
45158         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
45159         macro for handling signed relocations.
45161 2014-09-03  Florian Weimer  <fweimer@redhat.com>
45163         [BZ #17325]
45164         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
45165         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
45166         assert.
45167         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
45168         * iconvdata/ibm935.c (BODY): Likewise.
45169         * iconvdata/ibm937.c (BODY): Likewise.
45170         * iconvdata/ibm939.c (BODY): Likewise.
45171         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
45172         assert.
45173         * iconvdata/Makefile (iconv-test.out): Pass module list to test
45174         script.
45175         * iconvdata/run-iconv-test.sh: New test loop for checking for
45176         decoder crashers.
45178 2014-09-02  Khem Raj  <raj.khem@gmail.com>
45180         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
45181         libm_hidden_ver.
45183 2014-09-01  Allan McRae  <allan@archlinux.org>
45185         * po/eo.po: Update Esperanto translation from translation project.
45187         * po/ca.po: Update Catalan translation from translation project.
45189 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45191         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
45192         __proc_dostop call.
45194 2014-08-27  Mark Wielaard  <mjw@redhat.com>
45196         [BZ #17319]
45197         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
45198         to call set_thread_area instead of hand written asm.
45199         (__NR_set_thread_area): Removed define.
45200         (TLS_FLAG_WRITABLE): Likewise.
45201         (__ASSUME_SET_THREAD_AREA): Remove check.
45202         (TLS_EBX_ARG): Remove define.
45203         (TLS_LOAD_EBX): Likewise.
45205 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45207         Simplify atomicity of socket creation in bind.
45209         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
45210         looking up the name after linking the file.
45212 2014-08-27  Allan McRae  <allan@archlinux.org>
45214         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45216 2014-08-26  Florian Weimer  <fweimer@redhat.com>
45218         [BZ #17187]
45219         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
45220         trans_compare, open_translit, __gconv_translit_find):
45221         Remove module loading code.
45223 2014-08-26  Allan McRae  <allan@archlinux.org>
45225         * po/vi.po: Update Vietnamese translation from translation project.
45227         * po/uk.po: Update Ukrainian translation from translation project.
45229         * po/fr.po: Update French translation from translation project.
45231         * po/ru.po: Update Russian translation from translation project.
45233         * po/pl.po: Update Polish translation from translation project.
45235         * po/cs.po: Update Czech translation from translation project.
45237         * po/de.po: Update German translation from translation project.
45239         * po/bg.po: Update Bulgarian translation from translation project.
45241         * po/sv.po: Update Sweedish translation from translation project.
45243         * po/nl.po: Update Dutch translation from translation project.
45245         * po/es.po: Update Spanish translation from translation project.
45247 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45249         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
45251         * catgets/Makefile (CPPFLAGS-gencat): Remove.
45252         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
45253         (CPPFLAGS-iconvconfig): Likewise.
45254         * timezone/Makefile (CPPFLAGS-zic): Likewise.
45256         * include/libc-symbols.h: Remove unnecessary check for
45257         NOT_IN_libc.
45258         * nptl/pthreadP.h: Likewise.
45259         * sysdeps/aarch64/setjmp.S: Likewise.
45260         * sysdeps/alpha/setjmp.S: Likewise.
45261         * sysdeps/arm/sysdep.h: Likewise.
45262         * sysdeps/i386/setjmp.S: Likewise.
45263         * sysdeps/m68k/setjmp.c: Likewise.
45264         * sysdeps/posix/getcwd.c: Likewise.
45265         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45266         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
45267         * sysdeps/s390/s390-32/setjmp.S: Likewise.
45268         * sysdeps/s390/s390-64/setjmp.S: Likewise.
45269         * sysdeps/sh/sh3/setjmp.S: Likewise.
45270         * sysdeps/sh/sh4/setjmp.S: Likewise.
45271         * sysdeps/unix/alpha/sysdep.h: Likewise.
45272         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
45273         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45274         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
45275         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
45276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45278         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45279         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45280         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45281         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45282         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45283         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
45284         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45285         * sysdeps/x86_64/setjmp.S: Likewise.
45287 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
45289         [BZ #17263]
45290         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
45291         <stdint.h>.
45292         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
45293         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
45295 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45297         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
45299         [BZ #17262]
45300         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
45301         and __x86_64__ when disabling x87 inline functions.
45303 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45305         [BZ #17259]
45306         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
45307         asm statement with __cpuid_count.
45309 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
45311         * configure.ac: Change __ehdr_start code to dereference the struct.
45312         Run readelf on the output to look for relocations.
45313         * configure: Regenerated.
45315 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
45317         [BZ #17261]
45318         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
45319         value to 0.
45320         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
45322 2014-08-12  Roland McGrath  <roland@hack.frob.com>
45324         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
45326 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
45328         [BZ #16892]
45329         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
45330         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
45332 2014-08-12  Sean Anderson  <seanga2@gmail.com>
45334         * malloc/malloc.c: Fix typo in comment.
45336 2014-08-09  Allan McRae  <allan@archlinux.org>
45338         * Regenerate libc.po.
45340 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
45342         * intl/tst-gettext2.sh: Check every lang file for creation.
45344 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
45346         * sysdeps/aarch64/fpu/math_private.h
45347         (libc_feholdsetround_noex_aarch64_ctx): New function.
45349 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
45351         * sysdeps/arm/armv6/strcpy.S (strcpy):
45352         Fix performance issue in misaligned cases.
45354 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45356         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
45357         Move definition from termios.h.
45358         (struct termio): Likewise.
45359         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45360         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
45361         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45362         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45363         Likewise.
45364         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
45365         Move definition to ioctl-types.h
45366         (struct termio): Likewise.
45367         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45368         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
45369         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45370         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45371         Likewise.
45373 2014-08-05  Richard Henderson  <rth@redhat.com>
45375         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
45376         exceptions.
45377         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
45378         Add fraiseexcpt.
45379         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
45380         Use __feraiseexcept.
45381         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
45382         Protect libm symbols with IS_IN_libm.
45384         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
45386 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
45388         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
45390 2014-08-04  Will Newton  <will.newton@linaro.org>
45392         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
45393         file.
45395 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
45397         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
45398         variants for each function.
45400 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45402         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
45403         appended ...
45404         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
45405         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
45406         appended ...
45407         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
45408         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
45409         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
45410         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
45411         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
45412         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
45413         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
45414         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
45415         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
45416         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
45417         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
45418         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
45419         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
45420         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
45421         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
45422         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
45423         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
45424         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
45425         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
45426         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
45427         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
45428         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
45429         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
45430         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
45431         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
45432         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
45433         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
45434         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
45435         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
45436         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
45437         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
45438         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
45439         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
45440         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
45441         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
45442         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
45443         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
45444         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
45445         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
45446         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
45447         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
45448         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
45449         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
45450         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
45451         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
45452         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
45453         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
45454         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
45455         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
45456         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
45457         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
45458         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
45459         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
45460         Update #include.
45461         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
45462         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
45464 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45466         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
45467         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
45468         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
45469         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
45470         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
45471         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
45473 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45475         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
45476         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
45477         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45478         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
45480 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45482         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
45483         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
45484         (__libc_vfork): Define function under this name.
45485         (__vfork): Define as an alias.
45486         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
45487         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
45489 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45491         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
45492         that was previously under [RESET_PID].
45493         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
45495 2014-08-04  Andreas Schwab  <schwab@suse.de>
45497         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
45499 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
45501         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
45502         (main): Likewise.
45504 2014-08-01  Roland McGrath  <roland@hack.frob.com>
45506         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
45508 2014-08-01  Richard Henderon  <rth@redhat.com>
45510         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
45511         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
45512         typo in exact zero test.
45513         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45514         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45515         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45517 2014-08-01  Roland McGrath  <roland@hack.frob.com>
45519         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
45520         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
45521         * sysdeps/arm/sysdep.h: ... here.
45522         [!__ASSEMBLER__]: Include <stdint.h>.
45524 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45526         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
45527         (HAVE_WCTYPE_H): Likewise.
45528         (HAVE_ISWCTYPE): Likewise.
45529         (ENABLE_NLS): Likewise.
45530         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
45531         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
45533         * posix/regex_internal.c: Check if DEBUG is defined and is
45534         set.
45536         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
45537         (HAVE_MBSRTOWCS): Likewise.
45538         * posix/fnmatch.c: Include string.h unconditionally.
45540 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
45542         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
45543         reversal.
45545 2014-07-31  Roland McGrath  <roland@hack.frob.com>
45547         * sysdeps/generic/safe-fatal.h: New file.
45548         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
45549         * nptl/forward.c: Include it.
45550         (__pthread_unwind): Use __safe_fatal as default action, rather
45551         than a bogus use of INTERNAL_SYSCALL that could never work.
45553         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
45554         * configure.ac (libc_cv_builtin_trap): New test.
45555         * configure: Regenerated.
45556         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
45557         (ABORT_INSTRUCTION): Define using __builtin_trap.
45559         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
45560         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
45561         * sysdeps/nptl/nptl-signals.h: New file.
45562         * nptl/pthreadP.h: Include <nptl-signals.h>.
45564 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
45566         * sysdeps/s390/s390-64/utf16-utf32-z9.c
45567         (ONE_DIRECTION): Define.
45568         * sysdeps/s390/s390-64/utf8-utf16-z9.c
45569         (ONE_DIRECTION): Define.
45570         * sysdeps/s390/s390-64/utf8-utf32-z9.c
45571         (ONE_DIRECTION): Define.
45573 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
45575         * sysdeps/s390/Makefile: Delete file.
45576         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
45577         * sysdeps/s390/__longjmp.c: Delete file.
45578         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
45579         Remove fields __flags and __reserved.
45580         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
45581         and add versioning.
45582         * sysdeps/s390/rtld-__longjmp.c: Delete file.
45583         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
45584         * sysdeps/s390/rtld-setjmp.S: Likewise.
45585         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
45586         * sysdeps/s390/s390-32/__longjmp.c: ... here.
45587         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
45588         * sysdeps/s390/s390-32/setjmp.S: ... here.
45589         Add versioning.
45590         (__sigsetjmp): Remove setting __flags field.
45591         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
45592         * sysdeps/s390/s390-64/__longjmp.c: ... here.
45593         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
45594         * sysdeps/s390/s390-64/setjmp.S: ... here.
45595         Add versioning.
45596         (__sigsetjmp): Remove setting __flags field.
45597         * sysdeps/s390/setjmp.S: Delete file.
45598         * sysdeps/s390/sigjmp.c: Likewise.
45599         * sysdeps/s390/v1-longjmp.c: Likewise.
45600         * sysdeps/s390/v1-setjmp.h: Likewise.
45601         * sysdeps/s390/v1-sigjmp.c: Likewise.
45602         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
45603         Remove v1-longjmp_chk.
45604         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
45605         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
45606         Include debug/longjmp_chk.c and add versioning.
45607         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
45608         Include nptl/pt-longjmp.c and add versioning.
45609         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
45610         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
45611         Include __longjmp.c.
45612         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45613         Move to ...
45614         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
45615         (__getcontext): Remove setting __flags field.
45616         Add versioning.
45617         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45618         Don't restore upper high grps.
45619         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
45620         Likewise.
45621         (__swapcontext): Remove setting uc_flags field.
45622         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
45623         Delete file.
45624         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45625         Include __longjmp.c.
45626         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45627         Move to ...
45628         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
45629         (__getcontext): Remove setting __flags field.
45630         Add versioning.
45631         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
45632         (__swapcontext): Remove setting uc_flags field.
45633         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
45634         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
45635         Remove fields uc_high_gprs and __reserved.
45636         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
45637         New file with reverted content.
45638         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
45639         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
45640         Regenerated.
45641         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
45642         Regenerated.
45644 2014-07-31  Andreas Schwab  <schwab@suse.de>
45646         * config.h.in (HAVE_IFUNC): Define to 0.
45647         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
45648         definedness.
45650 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
45652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45653         memmove-avx-unaligned, memcpy-avx-unaligned and
45654         mempcpy-avx-unaligned.
45655         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45656         Add tests for AVX memcpy functions.
45657         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
45658         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
45659         memcpy_chk.
45660         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
45661         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
45662         memmove_chk.
45663         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
45664         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
45665         mempcpy_chk.
45666         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
45667         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
45668         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
45670 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45672         [BZ #17213]
45673         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
45674         powerpc64le.
45676 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
45678         [BZ #16839]
45679         * manual/llio.texi: Add section about open file description locks.
45680         * manual/examples/ofdlocks.c: Example of open file description
45681         lock usage.
45682         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
45683         F_OFD_SETLK, and F_OFD_SETLKW.
45685 2014-07-23  Allan McRae  <allan@archlinux.org>
45687         * po/es.po: Update Spanish translation from translation project.
45689 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
45691         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
45693 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
45695         [BZ #17078]
45696         * sysdeps/arm/dl-machine.h (elf_machine_rela)
45697         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
45698         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
45700 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
45702         [BZ #17088]
45703         * math/fesetenv.c (__fesetenv)
45704         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
45705         * math/feupdateenv.c (__feupdateenv)
45706         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
45708         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
45709         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45710         (__ASSUME_SOCKETCALL): Do not define.
45712         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
45713         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
45714         (__ASSUME_SOCKETCALL): Do not define.
45715         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
45716         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45717         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45718         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45719         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45720         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
45721         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45722         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45724         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
45725         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
45726         (__ASSUME_SOCKETCALL): Do not define.
45727         (__ASSUME_IPC64): Define unconditionally.
45728         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45729         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45730         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45731         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45732         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
45733         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45734         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
45735         Likewise.
45737         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
45738         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
45739         (__ASSUME_SOCKETCALL): Do not define.
45740         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
45741         (__ASSUME_FUTEX_LOCK_PI): Likewise.
45742         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45743         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45744         (__ASSUME_REQUEUE_PI): Define unconditionally.
45745         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
45746         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
45747         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45748         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
45749         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45750         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45752         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
45753         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
45754         (__ASSUME_SOCKETCALL): Do not define.
45755         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
45756         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45757         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45758         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
45759         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45760         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45762         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
45763         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
45764         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45765         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
45766         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45767         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
45768         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45769         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
45770         (__ASSUME_GETCPU_SYSCALL): Likewise.
45772         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
45773         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
45774         cases for individual architectures.
45775         * sysdeps/gnu/configure: Regenerated.
45776         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
45777         LIBC_SLIBDIR_RTLDDIR.
45778         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
45779         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
45780         LIBC_SLIBDIR_RTLDDIR.
45781         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
45782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
45783         LIBC_SLIBDIR_RTLDDIR.
45784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
45785         Regenerated.
45786         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
45787         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
45788         file.
45789         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
45790         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
45791         file.
45792         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
45793         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
45794         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
45795         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
45797         * sysdeps/aarch64/shlib-versions: Move to ...
45798         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
45799         * sysdeps/alpha/shlib-versions: Move to ...
45800         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
45801         * sysdeps/arm/shlib-versions: Move to ...
45802         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
45803         * sysdeps/hppa/shlib-versions: Move all contents except for
45804         libgcc_s entry to ...
45805         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
45806         entry from ...
45807         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
45808         * sysdeps/ia64/shlib-versions: Move to ...
45809         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
45810         entry from ...
45811         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
45812         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
45813         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
45814         * sysdeps/microblaze/shlib-versions: Move to ...
45815         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
45816         * sysdeps/mips/shlib-versions: Move to ...
45817         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
45818         entry from ...
45819         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
45820         * sysdeps/tile/shlib-versions: Move to ...
45821         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
45822         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
45823         from ...
45824         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
45825         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
45826         entry from ...
45827         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
45829 2014-07-17  Will Newton  <will.newton@linaro.org>
45831         * sysdeps/arm/bits/atomic.h
45832         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
45833         (__arch_compare_and_exchange_bool_16_int): Likewise.
45834         (__arch_compare_and_exchange_bool_64_int): Likewise.
45836         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
45837         into an #else block.
45839 2014-07-16  Roland McGrath  <roland@hack.frob.com>
45841         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
45842         just Linux configurations.  Test empirically that the compiler sets
45843         __ARM_EABI__, rather than using the tuple to decide.
45844         * sysdeps/arm/preconfigure: Regenerated.
45845         * sysdeps/unix/sysv/linux/arm/configure: File removed.
45846         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
45847         contents appended ...
45848         * sysdeps/arm/configure.ac: ... here.
45849         * sysdeps/arm/configure: Regenerated.
45851 2014-07-15  Roland McGrath  <roland@hack.frob.com>
45853         * nptl/pthread_kill.c: New file.
45854         * nptl/pthread_sigmask.c: New file.
45855         * nptl/pthread_sigqueue.c: New file.
45857         * sysdeps/nptl/lowlevellock.h: New file.
45858         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
45859         * sysdeps/nptl/lowlevellock-futex.h: New file.
45861         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
45862         Remove dead declarations.
45864 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
45866         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
45867         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
45868         config-cflags-avx2.
45869         * sysdeps/x86_64/configure.ac: Likewise.
45870         * sysdeps/i386/configure: Regenerated.
45871         * sysdeps/x86_64/configure: Likewise.
45872         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45873         memset-avx2 only if config-cflags-avx2 is yes.
45874         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45875         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
45876         defined.
45877         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
45878         only if HAVE_AVX2_SUPPORT is defined.
45879         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45881 2014-07-14  Alan Modra  <amodra@gmail.com>
45883         [BZ #17153]
45884         * elf/elf.h (DT_PPC64_NUM): Correct value.
45885         * NEWS: Add to fixed bug list.
45887 2014-07-13  Jim Meyering  <meyering@fb.com>
45889         [BZ 17150]
45890         regex: don't deref NULL upon heap allocation failure
45891         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
45892         failure in one more place.
45893         To trigger the segfault, configure grep -with-included-regex,
45894         build it, and run these commands:
45895         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
45897 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
45899         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
45901 2014-07-11  Richard Henderson  <rth@redhat.com>
45903         * sysdeps/aarch64/libm-test-ulps: Update.
45905 2014-07-10  Florian Weimer  <fweimer@redhat.com>
45907         [BZ #17135]
45908         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
45909         * nptl/allocatestack.c (__nptl_setxid_error): New function.
45910         (__nptl_setxid): Initialize error member.  Call
45911         __nptl_setxid_error.
45912         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
45913         * nptl/descr.h (struct xid_command): Add error member.
45914         * nptl/tst-setuid3.c: New file.
45915         * nptl/Makefile (tests): Add it.
45917 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45919         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
45920         New define.
45921         (__lll_trylock): Use __lll_base_trylock.
45922         (__lll_cond_trylock): Likewise.
45924 2014-07-10  Roland McGrath  <roland@hack.frob.com>
45926         * nptl/pthread_create.c (start_thread): Use atomic_or and
45927         lll_futex_wake directly rather than lll_robust_dead.
45928         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45929         (lll_robust_dead): Macro removed.
45930         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
45931         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45932         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45933         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45934         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45935         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45936         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45937         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45938         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45939         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45940         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45941         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45942         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45943         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45944         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45946         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
45947         Use atomic_compare_and_exchange_val_acq directly rather than
45948         lll_robust_trylock.
45949         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45950         (__lll_robust_trylock, lll_robust_trylock): Removed.
45951         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45952         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45953         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45954         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45955         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45956         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45957         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45958         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45959         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45960         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45961         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45962         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45963         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45964         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45966 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45968         * manual/locale.texi (Locale Names): New section documenting
45969         locale name syntax.  Adjust menu and node chaining accordingly.
45970         (Choosing Locale): Reference Locale Names, Locale Categories.
45971         Mention setting LC_ALL=C.  Reflect that name syntax is now
45972         documented.
45973         (Locale Categories): New section title.  Reference Locale Names.
45974         LC_ALL is an environment variable, but not a category.
45975         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
45976         description, now in Locale Name.  Reference that section.  Locale
45977         name syntax is now documented.
45979 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45981         [BZ #17137]
45982         * locale/findlocale.c (name_present, valid_locale_name): New
45983         functions.
45984         (_nl_find_locale): Use the loc_name variable to store name
45985         candidates.  Call name_present and valid_locale_name to check and
45986         validate locale names.  Return an error if the locale is invalid.
45988 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45990         * locale/setlocale.c (setlocale): Use strdup for allocating
45991         composite name copy.
45993 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45995         Sync up with gnulib.
45996         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
45997         [!_LIBC && ENABLE_NLS]: Include gettext.h.
45998         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
45999         and _GL_ARG_NONNULL.
46000         [USE_UNLOCKED_IO]: Include unlocked-io.h.
46001         [!_LIBC]: Include code for Windows and Cygwin.
46002         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
46003         Include prototype for int strerror_r.
46004         [!_LIBC] (is_open): New function.
46005         (flush_stdout): New function.
46006         (print_errno_message): Use it.
46007         (error): Likewise.
46008         (error_at_line): Likewise.
46009         (error_tail) Add function attribute macros.  Use
46010         __builtin_expect.
46012         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
46014         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
46016         * io/ftw.c: Include sys/param.h unconditionally.
46018         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
46020         [BZ #17125]
46021         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
46022         libc_freeres_ptr.
46023         (freecache): New function to free CACHE on exit.
46025         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
46026         initialization.
46028 2014-07-09  David S. Miller  <davem@davemloft.net>
46030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46032         * sysdeps/sparc/nptl/internaltypes.h: Delete.
46033         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
46034         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
46035         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
46036         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
46037         * sysdeps/sparc/nptl/sem_init.c: Likewise.
46038         * sysdeps/sparc/nptl/sem_post.c: Likewise.
46039         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
46040         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
46041         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
46042         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
46043         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
46044         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
46046 2014-07-09  Andreas Schwab  <schwab@suse.de>
46048         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
46049         output.
46050         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
46051         (do_test): Likewise.
46053         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46055 2014-07-09  Will Newton  <will.newton@linaro.org>
46057         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
46058         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
46059         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
46060         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
46061         * sysdeps/hppa/start.S (_start): Likewise.
46063 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
46065         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
46067         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
46068         defined.
46070 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46072         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
46073         after checking that it is non-NULL.
46075         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
46077 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46079         * sysdeps/powerpc/memmove.c: Remove file.
46080         * sysdeps/powerpc/powerpc32/power4/memcopy.h
46081         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
46082         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
46083         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
46084         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
46085         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
46086         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
46087         string memmove instead of removed powerpc one.
46089         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
46090         [weak_alias]: Fix compiler warning due trailing data.
46091         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
46092         [weak_alias]: Likewise.
46093         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
46094         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
46096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46097         (__libc_ifunc_impl_list): Add memmove functions.
46099 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46101         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
46102         Remove code.
46103         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
46104         Likewise.
46105         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
46106         Likewise.
46107         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
46108         Likewise.
46109         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
46110         Likewise.
46111         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
46112         Likewise.
46113         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
46114         Likewise.
46115         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
46116         Likewise.
46117         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
46118         Likewise.
46119         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
46120         Likewise.
46121         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
46122         Likewise.
46123         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
46124         Likewise.
46125         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
46126         Likewise.
46127         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
46128         Likewise.
46129         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
46130         Likewise.
46131         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
46132         Likewise.
46133         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
46134         Likewise.
46136 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46138         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
46139         to avoid alignment traps in non-cacheable memory.
46140         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46142         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
46143         multiarch objects.
46144         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
46145         file: multiarch power7 memmove.
46146         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
46147         multiarch default memmove.
46148         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
46149         multiarch memove for powerpc32/power4.
46151         * string/bcopy.c: Use full path to include memmove.c.
46152         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
46153         multiarch objects.
46154         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
46155         bcopy for powerpc64.
46156         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
46157         bcopy for powerpc64.
46158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
46159         and memmove implementations.
46160         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
46161         optimized multiarch memmove for POWER7/powerpc64.
46162         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
46163         default multiarch memmove for powerpc64.
46164         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
46165         multiarch for powerpc64.
46166         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
46167         for POWER7/powerpc64.
46168         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
46169         memmove for POWER7/powerpc64.
46171         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
46172         glibc default one.
46174         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
46175         __ELF_NATIVE_CLASS equal to 64.
46177 2014-07-07  Roland McGrath  <roland@hack.frob.com>
46179         * sysdeps/nptl/lowlevellock.h: File removed.
46181         * NEWS: NPTL is no longer an add-on!
46182         * nptl/internaltypes.h: Moved ...
46183         * sysdeps/nptl/internaltypes.h: ... here.
46184         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
46185         * sysdeps/nptl/fork.c: Likewise.
46186         * sysdeps/nptl/gai_misc.h: Likewise.
46187         * sysdeps/nptl/librt-cancellation.c: Likewise.
46188         * sysdeps/nptl/jmp-unwind.c: Likewise.
46189         * sysdeps/nptl/setxid.h: Likewise.
46190         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
46191         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
46192         * sysdeps/unix/sysv/linux/arm/Implies: New file.
46193         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
46194         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
46195         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
46196         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
46197         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
46198         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
46199         * sysdeps/unix/sysv/linux/mips/Implies: New file.
46200         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
46201         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
46202         * sysdeps/unix/sysv/linux/sh/Implies: New file.
46203         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
46204         * sysdeps/unix/sysv/linux/tile/Implies: New file.
46205         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
46206         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
46207         * nptl/Makeconfig: Moved ...
46208         * sysdeps/nptl/Makeconfig: ... here.
46209         * nptl/configure: File removed.
46210         * nptl/ANNOUNCE: File removed.
46211         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
46212         * sysdeps/unix/sysv/linux/configure: Regenerated.
46214         * nptl/Makefile (routines): Add libc_pthread_init,
46215         libc_multiple_threads, register-atfork and unregister-atfork.
46216         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
46217         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
46218         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
46219         pthread-pi-defines.sym, structsem.sym.
46220         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
46221         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
46222         [$(subdir) = nptl] (tests): Add tst-setgetname.
46223         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
46224         * sysdeps/unix/sysv/linux/sigaction.c: Just include
46225         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
46226         [!LIBC_SIGACTION]: Remove aliases.
46227         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
46228         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
46229         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
46230         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
46231         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
46232         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
46233         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46234         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46235         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
46236         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
46237         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
46238         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
46239         __libc_allocate_rtsig_private.
46240         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
46241         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
46242         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
46243         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
46244         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
46245         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
46246         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
46247         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
46248         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
46249         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
46250         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
46251         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
46252         * nptl/internaltypes.h: ... here.
46253         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
46254         * sysdeps/nptl/jmp-unwind.c: ... here.
46255         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
46256         * nptl/libc-lowlevellock.c: ... here.
46257         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
46258         * nptl/libc_multiple_threads.c: ... here.
46259         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
46260         * nptl/libc_pthread_init.c: ... here.
46261         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
46262         * nptl/lowlevelbarrier.sym: ... here.
46263         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
46264         * nptl/lowlevelcond.sym: ... here.
46265         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
46266         * nptl/lowlevellock.c: ... here.
46267         * nptl/lowlevellock.h: Moved ...
46268         * sysdeps/nptl/lowlevellock.h: ... here.
46269         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
46270         * nptl/lowlevelrobustlock.c: ... here.
46271         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
46272         * nptl/lowlevelrobustlock.sym: ... here.
46273         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
46274         * nptl/lowlevelrwlock.sym: ... here.
46275         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
46276         * nptl/pt-fork.c: ... here.
46277         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
46278         * nptl/pthread-pi-defines.sym: ... here.
46279         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
46280         * nptl/pthread_attr_getaffinity.c: ... here.
46281         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
46282         * nptl/pthread_attr_setaffinity.c: ... here.
46283         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
46284         * nptl/pthread_mutex_cond_lock.c: ... here.
46285         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46286         Update #include.
46287         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
46288         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
46289         * nptl/pthread_once.c: ... here, replacing old file.
46290         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
46291         * nptl/pthread_yield.c: ... here.
46292         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
46293         * nptl/register-atfork.c: ... here.
46294         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
46295         * nptl/sem_post.c: ... here.
46296         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
46297         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
46298         * nptl/sem_timedwait.c: ... here.
46299         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
46300         * nptl/sem_trywait.c: ... here.
46301         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
46302         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
46303         * nptl/sem_wait.c: ... here.
46304         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
46305         * nptl/structsem.sym: ... here.
46306         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
46307         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
46308         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
46309         * nptl/unregister-atfork.c: ... here.
46310         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
46311         * nptl/unwindbuf.sym: ... here.
46312         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
46313         * sysdeps/nptl/fork.c: ... here.
46314         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
46315         * sysdeps/nptl/fork.h: ... here.
46316         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
46317         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
46318         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
46319         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
46320         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
46321         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
46322         * sysdeps/unix/sysv/linux/getpid.c: ... here.
46323         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
46324         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
46325         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
46326         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
46327         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
46328         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
46329         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
46330         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
46331         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
46332         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
46333         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
46334         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
46335         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
46336         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
46337         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
46338         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
46339         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
46340         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
46341         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
46342         * sysdeps/unix/sysv/linux/raise.c: ... here.
46343         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
46344         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
46345         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
46346         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
46347         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
46348         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
46349         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
46350         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
46351         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
46352         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
46353         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
46354         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
46355         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
46356         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
46357         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
46359 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46361         * sysdeps/generic/memcopy.h: Add comment for
46362         MEMCPY_OK_FOR_FWD_MEMMOVE.
46364 2014-07-04  Will Newton  <will.newton@linaro.org>
46366         * string/memchr.c: Merge from gnulib.
46367         [_LIBC]: Remove conditionals.
46368         (__ptr_t): Remove define.
46369         (LONG_MAX_32_BITS): Likewise.
46370         (LONG_MAX): Likewise.
46371         (MEMCHR): Use ANSI prototype and optimize algorithm.
46373         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
46375 2014-07-03  Roland McGrath  <roland@hack.frob.com>
46377         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
46378         (lll_futex_timed_wait_bitset): Fix syscall argument count.
46380         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
46381         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
46382         in a bare environment with no <stdlib.h> installed.
46383         * sysdeps/nptl/configure: Regenerated.
46385         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
46387         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
46388         AC_EGREP_CPP for kernel header checks, so they only succeed if
46389         including <linux/version.h> actually works right.
46390         * sysdeps/unix/sysv/linux/configure: Regenerated.
46392         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
46393         value so it's not diagnosed as unused.
46395         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
46396         thing) with "ifeq ($(subdir),rt)".
46398 2014-07-03  Richard Henderson  <rth@redhat.com>
46400         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
46401         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
46402         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
46404         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
46405         (math_force_eval): New.
46407         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
46408         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
46410         * sysdeps/alpha/fpu/s_round.c: Remove file.
46411         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
46413         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
46414         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
46415         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
46416         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
46417         (_dl_start, print_statistics): Likewise.
46418         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
46419         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
46421         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46422         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46423         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46424         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46425         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46426         (HP_SMALL_TIMING_AVAIL): Define.
46427         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46428         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46429         (HP_SMALL_TIMING_AVAIL): Define.
46430         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46431         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46433         * sysdeps/aarch64/hp-timing.h: New file.
46435         * sysdeps/generic/hp-timing.h: Remove dead comment.
46436         * sysdeps/generic/hp-timing-common.h: New file.
46437         * sysdeps/alpha/hp-timing.h: Include it.
46438         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
46439         * sysdeps/i386/i686/hp-timing.h: Likewise.
46440         * sysdeps/ia64/hp-timing.h: Likewise.
46441         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46442         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46443         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46444         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46445         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
46446         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
46447         (hp_timing_t): New.
46449         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
46450         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
46451         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
46452         * elf/rtld.c (_dl_start_final): Likewise.
46453         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
46454         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46455         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46456         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46457         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46458         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46459         (HP_TIMING_DIFF_INIT): Remove.
46460         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46461         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46462         (HP_TIMING_DIFF_INIT): Remove.
46463         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46464         * sysdeps/i386/i686/hp-timing.c: Remove file.
46465         * sysdeps/x86_64/hp-timing.c: Remove file.
46466         * sysdeps/ia64/hp-timing.c: Remove file.
46467         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
46468         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
46469         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
46470         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
46472         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
46473         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
46474         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
46475         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46476         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46477         (HP_TIMING_ACCUM): Remove.
46478         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46479         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
46480         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46482         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
46483         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
46484         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
46485         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
46486         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
46487         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46488         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
46489         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46491         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
46493 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
46495         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
46497 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46499         Sync up with gettext.
46500         * intl/loadmsgcat.c: Define O_BINARY if not defined.
46501         [_MSC_VER]: Include malloc.h
46502         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
46503         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
46504         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
46505         TEMP_FAILURE_RETRY.  Cast return of alloca.
46506         [!_LIBC] Call gl_rwlock_init.
46507         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
46509 2014-07-02  Roland McGrath  <roland@hack.frob.com>
46511         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
46512         before checking its value.
46514 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46516         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
46518         * debug/memcpy_chk.c: Don't include pagecopy.h.
46519         * debug/mempcpy_chk.c: Likewise.
46520         * string/memcpy.c: Likewise.
46521         * string/memmove.c: Likewise.
46522         * sysdeps/powerpc/memmove.c: Likewise.
46523         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
46524         definition of PAGE_COPY_FWD_MAYBE here...
46525         * sysdeps/generic/pagecopy.h: ... from here.
46526         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
46528 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46529             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46531         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
46532         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
46533         optimizations.
46534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46535         (__libc_ifunc_impl_list): Likewise.
46536         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
46537         multiarch strcat for PPC64.
46538         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
46539         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
46541 2014-07-02  Roland McGrath  <roland@hack.frob.com>
46543         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
46545 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46547         * intl/loadmsgcat.c: Remove declaration of
46548         get_sysdep_segment_value.
46549         (get_sysdep_segment_value): Use ISO C style.
46550         (_nl_load_domain): Use ISO C style.  Get rid of redundant
46551         semicolon.  Fix typo and formatting in comment.
46552         (_nl_unload_domain): Use ISO C style.
46554         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
46556 2014-07-02  Will Newton  <will.newton@linaro.org>
46558         * malloc/obstack.c: Merge from gnulib master.
46559         [HAVE_CONFIG_H]: Remove conditional code.
46560         [!_LIBC]: Include config.h.
46561         [!ELIDE_CODE]: Don't include inttypes.h, include
46562         stdint.h unconditionally.
46563         (print_and_abort): Mark as _Noreturn.
46564         (_obstack_allocated_p): Mark as __attribute_pure__.
46565         (obstack_free): Rename to __obstack_free.
46566         [!__attribute__]: Remove conditional code.
46567         * malloc/obstack.h: Merge from gnulib master.
46568         [__cplusplus]: Move conditional down.
46569         [!__attribute_pure__]: Define __attribute_pure__ here
46570         if it is not already defined.
46571         (_obstack_memory_used): Mark as __attribute_pure__.
46572         [!__obstack_free]: Define as obstack_free.
46573         [__GNUC__]: Remove check for ancient NeXT gcc.
46575 2014-07-02  Will Newton  <will.newton@linaro.org>
46576             Paul Eggert  <eggert@cs.ucla.edu>
46578         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
46580 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46582         * resolv/gethnamaddr.c: Add comment warning that the file is
46583         not maintained.
46585 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
46587         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
46588         entries.
46590         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
46591         entry for aio_cancel and aio_cancel64.
46592         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
46593         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
46594         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
46595         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
46596         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
46597         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
46598         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
46599         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
46600         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
46601         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
46602         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
46603         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
46604         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
46606 2014-07-01  Roland McGrath  <roland@hack.frob.com>
46608         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
46609         * nptl/pthread_mutex_lock.c: Likewise.
46610         * nptl/pthread_mutex_timedlock.c: Likewise.
46611         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
46613 2014-07-01  Richard henderson  <rth@redhat.com>
46615         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
46616         (__isnan, __isnanl): Remove.
46617         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
46619         * sysdeps/alpha/fpu/libm-test-ulps: Update.
46621 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
46623         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46625 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46627         * resolv/nss_dns/dns-host.c (getanswer_r)
46628         [MULTI_PTRS_ARE_ALIASES]: Remove code.
46630 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
46632         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46633         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
46634         undefine.
46635         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
46636         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
46638 2014-07-01  Roland McGrath <roland@hack.frob.com>
46640         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
46641         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
46643         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
46644         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
46646         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
46647         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
46648         ... here.
46649         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
46650         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
46652         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
46653         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
46654         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
46655         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
46657         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
46658         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
46659         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
46660         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
46661         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
46662         Moved ...
46663         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
46664         ... here.
46665         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
46666         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
46667         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
46668         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
46669         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
46670         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
46671         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
46672         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
46673         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
46674         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
46675         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
46676         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
46677         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
46678         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
46679         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
46680         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
46681         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
46682         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
46683         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
46684         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
46685         ... here.
46686         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
46687         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
46688         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
46689         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
46690         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
46691         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
46692         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
46693         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
46695 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
46697         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
46698         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
46699         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
46700         Add sysdep.
46702 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46706 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
46708         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
46709         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
46711         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46713         * sysdeps/arm/libm-test-ulps: Regenerated.
46715 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46716             Roland McGrath <roland@hack.frob.com>
46718         * test-skeleton.c (signal_handler): Kill the whole process group
46719         before killing the child individually.
46720         (main): Report any failure on `setpgid'.
46722 2014-06-30  Roland McGrath  <roland@hack.frob.com>
46724         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
46725         from _TLS_H to _ARM_NPTL_TLS_H.
46726         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
46727         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
46729 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
46731         [BZ #16539]
46732         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
46733         (__expm1l): Return argument unchanged when small but not
46734         subnormal.
46736         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
46737         include macro name.
46738         (_FP_UNPACK_RAW_1_P): Likewise.
46739         (_FP_PACK_RAW_1): Likewise.
46740         (_FP_PACK_RAW_1_P): Likewise.
46741         (_FP_MUL_MEAT_1_wide): Likewise.
46742         (_FP_MUL_MEAT_DW_1_hard): Likewise.
46743         (_FP_MUL_MEAT_1_hard): Likewise.
46744         (_FP_DIV_MEAT_1_imm): Likewise.
46745         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
46746         (_FP_DIV_MEAT_1_udiv): Likewise.
46747         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
46748         (_FP_UNPACK_RAW_2): Likewise.
46749         (_FP_UNPACK_RAW_2_P): Likewise.
46750         (_FP_PACK_RAW_2): Likewise.
46751         (_FP_PACK_RAW_2_P): Likewise.
46752         (_FP_MUL_MEAT_DW_2_wide): Likewise.
46753         (_FP_MUL_MEAT_2_wide): Likewise.
46754         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
46755         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
46756         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
46757         (_FP_MUL_MEAT_2_gmp): Likewise.
46758         (_FP_DIV_MEAT_2_udiv): Likewise.
46759         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
46760         (_FP_FRAC_SRL_4): Likewise.
46761         (_FP_FRAC_SRST_4): Likewise.
46762         (_FP_FRAC_SRS_4): Likewise.
46763         (_FP_UNPACK_RAW_4): Likewise.
46764         (_FP_UNPACK_RAW_4_P): Likewise.
46765         (_FP_PACK_RAW_4): Likewise.
46766         (_FP_PACK_RAW_4_P): Likewise.
46767         (_FP_MUL_MEAT_DW_4_wide): Likewise.
46768         (_FP_MUL_MEAT_4_wide): Likewise.
46769         (_FP_MUL_MEAT_4_gmp): Likewise.
46770         (umul_ppppmnnn): Likewise.
46771         (_FP_DIV_MEAT_4_udiv): Likewise.
46772         (__FP_FRAC_ADD_4): Likewise.
46773         (__FP_FRAC_SUB_3): Likewise.
46774         (__FP_FRAC_SUB_4): Likewise.
46775         (__FP_FRAC_DEC_3): Likewise.
46776         (__FP_FRAC_DEC_4): Likewise.
46777         (__FP_FRAC_ADDI_4): Likewise.
46778         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
46779         (_FP_FRAC_SRL_8): Likewise.
46780         (_FP_FRAC_SRS_8): Likewise.
46782         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
46783         include macro name.
46784         (FP_UNPACK_RAW_EP): Likewise.
46785         (FP_PACK_RAW_E): Likewise.
46786         (FP_PACK_RAW_EP): Likewise.
46787         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
46788         (_FP_ISSIGNAN): Likewise.
46789         (_FP_ADD_INTERNAL): Likewise.
46790         (_FP_FMA): Likewise.
46791         (_FP_CMP): Likewise.
46792         (_FP_SQRT): Likewise.
46793         (_FP_TO_INT): Likewise.
46794         (_FP_FROM_INT): Likewise.
46795         (FP_EXTEND): Likewise.
46796         (_FP_DIV_MEAT_N_loop): Likewise.
46798 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46800         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
46801         throughout.
46803 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
46805         [BZ #17097]
46806         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
46807         result with correct sign in case of exponents that produce
46808         overflow except for X very close to 1.
46810 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
46812         mktime: merge #if/#ifdef usage from glibc
46813         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
46814         as that works with both Glibc's and Gnulib's style.
46815         See thread starting at Siddhesh Poyarekar's bug report at:
46816         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
46818 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46820         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
46821         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
46822         * sysdeps/tile/tilegx/memmove.c: Remove file.
46824 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46826         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
46827         abi-name definition.
46828         * scripts/soversions.awk: Do not handle or generate ABI lines.
46829         * shlib-versions: Remove ABI entries.
46830         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
46831         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
46833 2014-06-27  Roland McGrath  <roland@hack.frob.com>
46835         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
46836         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
46837         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
46838         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
46839         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
46840         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
46841         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
46842         Moved ...
46843         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
46844         ... here.
46845         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
46846         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
46847         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
46848         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
46849         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
46850         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
46851         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
46852         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
46853         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
46854         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
46855         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
46856         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
46857         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
46858         Moved ...
46859         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
46860         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
46861         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
46862         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
46863         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
46864         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
46865         Moved ...
46866         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
46867         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
46868         Moved ...
46869         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
46870         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
46871         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
46872         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
46873         Moved ...
46874         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
46875         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
46876         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
46877         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
46878         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
46879         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
46880         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
46881         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
46882         Moved ...
46883         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
46884         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
46885         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
46886         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
46887         Moved ...
46888         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
46889         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
46890         Moved ...
46891         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
46892         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
46893         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
46894         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
46895         Moved ...
46896         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
46897         ... here.
46898         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
46899         Identical file removed.
46900         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
46901         Moved ...
46902         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
46903         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
46904         Identical file removed.
46905         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
46906         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
46907         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
46908         Moved ...
46909         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
46910         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
46911         Identical file removed.
46912         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
46913         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
46914         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
46915         Identical file removed.
46916         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
46917         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
46918         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
46919         Identical file removed.
46920         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
46921         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
46922         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
46923         Identical file removed.
46924         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
46925         Moved ...
46926         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
46927         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
46928         Identical file removed.
46929         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
46930         Moved ...
46931         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
46932         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
46933         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
46934         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
46935         Identical file removed.
46936         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
46937         Moved ...
46938         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
46939         ... here.
46940         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
46941         Identical file removed.
46942         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
46943         Moved ...
46944         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
46945         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
46946         Identical file removed.
46947         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
46948         Moved ...
46949         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
46950         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
46951         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
46952         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
46953         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
46954         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
46955         Moved ...
46956         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
46957         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
46958         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
46960         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
46961         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
46962         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
46963         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
46964         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
46966 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
46968         [BZ #17092]
46969         * nscd/nscd.c (monitor_child): Return exit status of child
46970         instead of return value from wait syscall.
46972 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46974         * configure.ac (libc_commonpagesize): Remove variable.
46975         (libc_relro_required): Likewise.
46976         (libc_cv_z_relro): Remove configure test.
46977         * configure: Regenerated.
46978         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
46979         variable.
46980         (libc_relro_required): Likewise.
46981         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
46982         (libc_relro_required): Likewise.
46983         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
46984         (libc_relro_required): Likewise.
46985         * sysdeps/arm/preconfigure: Regenerated.
46986         * sysdeps/ia64/preconfigure: Remove file.
46987         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
46988         variable.
46989         (libc_relro_required): Likewise.
46991         [BZ #16561]
46992         [BZ #16562]
46993         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
46994         (__ieee754_yn): Set FE_TONEAREST mode internally and then
46995         recompute overflowing results in original rounding mode.
46996         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
46997         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
46998         recompute overflowing results in original rounding mode.
46999         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
47000         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47001         recompute overflowing results in original rounding mode.
47002         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
47003         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47004         recompute overflowing results in original rounding mode.
47005         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
47006         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47007         recompute overflowing results in original rounding mode.
47008         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
47009         (libc_feholdsetround_ctx): New macro.
47010         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
47011         * sysdeps/i386/fpu/libm-test-ulps: Update.
47012         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
47014 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47016         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
47017         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
47018         corresponding .cpsetup call.
47020 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47022         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
47023         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
47024         * sysdeps/arm/Makefile [$(subdir) = csu]
47025         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
47026         (static-only-routines): Add aeabi_read_tp here.
47027         (shared-only-routines): Add libc-aeabi_read_tp here.
47028         (CFLAGS-libc-start.c): Add -fexceptions here.
47029         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
47030         (sysdep_routines, static-only-routines, shared-only-routines):
47031         Don't add to these here.
47032         (CFLAGS-libc-start.c): Likewise.
47034         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
47035         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
47036         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
47037         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
47038         * sysdeps/arm/Makefile [$(subdir) = rt]
47039         (librt-sysdep_routines, librt-shared-only-routines):
47040         Append rt-aeabi_unwind_cpp_pr1 here.
47041         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
47042         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
47043         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
47044         (libpthread-sysdep_routines, libpthread-shared-only-routines):
47045         Append nptl-aeabi_unwind_cpp_pr1 here.
47046         (tests): Filter out tst-cleanupx4 here.
47047         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
47048         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
47049         Don't do those here.
47051 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47053         * scripts/list-sources.sh: Do not handle ports specially.
47055 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47057         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
47058         * sysdeps/arm/feupdateenv.c: Likewise.
47060         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
47062 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47064         * manual/texinfo.tex: Update to version 2014-05-05.10 with
47065         trailing whitespace removed.
47066         * scripts/config.guess: Update to version 2014-03-23.
47067         * scripts/config.sub: Update to version 2014-05-01
47068         * scripts/install-sh: Update to version 2013-12-25.23.
47069         * scripts/move-if-change: Update from gnulib.
47071 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47073         * debug/memmove_chk.c: Remove pagecopy.h include.
47075 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
47077         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
47078         identical to gnulib mktime.
47080 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47082         * configure.ac: Do not test for machine being rs6000.  Do not test
47083         for powerpc*-*soft.
47084         * configure: Regenerated.
47086         [BZ #11505]
47087         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
47088         test.
47089         * configure: Regenerated.
47090         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
47091         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
47092         Remove configure test.
47093         * sysdeps/arm/configure: Regenerated.
47094         * sysdeps/nptl/configure.ac: Do not check
47095         libc_cv_asm_cfi_directives.
47096         * sysdeps/nptl/configure: Regenerated.
47097         * sysdeps/x86_64/nptl/configure.ac: Remove file.
47098         * sysdeps/x86_64/nptl/configure: Remove generated file.
47099         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
47100         unconditional.
47101         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
47103 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47105         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
47106         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
47107         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
47108         it is defined.
47110         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
47111         instead of whether it is defined.
47112         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
47113         * sysdeps/hppa/dl-machine.h: Likewise.
47114         * sysdeps/ia64/dl-machine.h: Likewise.
47115         * sysdeps/m68k/dl-machine.h: Likewise.
47116         * sysdeps/microblaze/dl-machine.h: Likewise.
47117         * sysdeps/mips/dl-machine.: Likewise.
47118         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47119         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47120         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47121         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47122         * sysdeps/sh/dl-machine.h: Likewise.
47123         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47124         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47125         * sysdeps/tile/dl-machine.h: Likewise.
47126         * sysdeps/x86_64/dl-machine.h: Likewise.
47128         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
47129         code.
47130         (verify_persistent_db): Likewise.
47132 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
47135         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
47136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
47137         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
47138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47139         Moved ...
47140         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
47141         ... here.
47142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
47143         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
47144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
47145         Identical file removed.
47146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
47147         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
47148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
47149         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
47150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
47151         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
47152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
47153         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
47154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
47155         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
47156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47157         Moved ...
47158         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
47159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
47160         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
47161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
47162         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
47163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47164         Moved ...
47165         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
47166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
47167         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
47168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
47169         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
47170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47171         Identical file removed.
47172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
47173         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
47174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
47175         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
47176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47177         Moved ...
47178         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
47179         ... here.
47180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
47181         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
47182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
47183         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
47184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
47185         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
47186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
47187         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
47188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
47189         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
47190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47191         Moved ...
47192         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
47193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
47194         Moved ...
47195         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
47196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
47197         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
47198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47199         Moved ...
47200         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
47201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
47202         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
47204         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
47205         folded into ...
47206         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
47207         * sysdeps/unix/sysv/linux/s390/Versions
47208         (libpthread: GLIBC_2.19): New version set.
47209         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
47210         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
47211         (librt: GLIBC_2.3.3): New version set.
47212         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
47213         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
47214         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
47215         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
47216         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
47217         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
47218         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
47219         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
47220         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
47221         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
47222         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
47223         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
47224         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
47225         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
47226         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
47227         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
47228         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
47229         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
47230         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
47231         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
47232         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
47233         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
47234         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
47235         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
47236         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
47237         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
47238         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
47239         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
47240         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
47241         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
47242         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
47243         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
47244         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
47245         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
47246         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
47247         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
47248         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
47249         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
47250         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
47251         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
47252         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
47253         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
47254         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
47255         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
47256         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
47258         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
47259         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
47260         (__libc_vfork): Define the function under this name.
47261         [!NOT_IN_libc] (__vfork): Make this an alias.
47262         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
47263         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
47264         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
47265         (__libc_vfork): Define the function under this name.
47266         [!NOT_IN_libc] (__vfork): Make this an alias.
47267         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
47268         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
47269         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
47270         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
47271         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
47272         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47274         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
47275         code that was previously under [RESET_PID].
47276         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
47277         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
47278         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
47280         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
47281         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
47282         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
47283         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
47284         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
47285         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
47286         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
47287         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
47288         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
47289         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
47290         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
47291         Moved ...
47292         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
47293         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
47294         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
47295         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
47296         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
47297         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
47298         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
47299         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
47300         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
47301         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
47302         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
47303         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
47304         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
47305         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
47306         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
47307         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
47308         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
47309         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
47310         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
47311         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
47312         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
47313         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
47314         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
47315         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
47316         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
47317         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
47318         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
47319         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
47320         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
47322 2014-06-25  Roland McGrath  <roland@hack.frob.com>
47324         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
47325         that was previously under [RESET_PID].
47326         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
47328 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47330         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
47331         not undefine and redefine.
47332         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
47333         [O_CLOEXEC]: Make code unconditional.
47334         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
47335         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
47336         <kernel-features.h>.
47337         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
47338         conditional variable definition.
47339         (shm_open) [O_CLOEXEC]: Make code unconditional.
47340         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
47341         code.
47343         * configure.ac (USE_REGPARMS): Don't define here.
47344         * configure: Regenerated.
47345         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
47346         * sysdeps/i386/configure: Regenerated.
47348         * nptl/createthread.c: Don't include kernel-features.h.
47349         * nptl/pthread_cancel.c: Likewise.
47350         * nptl/pthread_condattr_setclock.c: Likewise.
47351         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
47352         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
47353         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
47354         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
47355         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
47356         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
47357         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
47358         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
47359         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
47360         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
47361         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
47362         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
47363         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
47364         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
47365         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
47366         * nscd/gai.c: Likewise.
47367         * nss/nss_db/db-open.c: Likewise.
47368         * sysdeps/generic/ldsodefs.h: Likewise.
47369         * sysdeps/sh/nptl/tls.h: Likewise.
47370         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47371         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
47372         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
47373         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
47374         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
47375         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47376         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
47377         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47378         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
47379         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
47380         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
47381         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
47382         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
47383         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
47384         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
47385         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
47386         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
47387         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
47388         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
47389         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
47390         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
47391         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
47392         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
47393         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
47394         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
47395         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
47396         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
47397         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
47398         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
47399         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
47400         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
47401         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
47402         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
47403         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47404         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47405         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47406         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47407         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
47408         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
47409         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
47410         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47411         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
47412         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
47413         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47414         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
47415         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
47416         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
47417         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
47418         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
47419         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
47420         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
47421         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
47422         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
47423         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47424         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
47425         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47426         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
47427         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
47428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
47430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
47431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
47432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
47433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
47434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
47435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
47436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
47439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
47440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
47441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
47442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
47448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
47449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
47450         * sysdeps/unix/sysv/linux/pread.c: Likewise.
47451         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
47452         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
47453         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
47454         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
47455         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
47456         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
47457         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
47458         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
47459         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
47460         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
47461         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
47462         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
47463         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
47464         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
47465         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
47466         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47467         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
47468         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
47469         * sysdeps/unix/sysv/linux/system.c: Likewise.
47470         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
47471         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
47472         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47473         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47474         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47475         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47476         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47478         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
47479         * configure: Regenerated.
47480         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
47482         * configure.ac (base_machine): Do not set specially for particular
47483         machines here.
47484         * configure: Regenerated.
47485         * sysdeps/powerpc/preconfigure: Move machine and base_machine
47486         settings from configure.ac.
47487         * sysdeps/i386/preconfigure: New file.
47488         * sysdeps/s390/preconfigure: Likewise.
47489         * sysdeps/sh/preconfigure: Likewise.
47490         * sysdeps/sparc/preconfigure: Likewise.
47492 2014-06-25  Roland McGrath  <roland@hack.frob.com>
47494         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
47495         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
47496         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
47497         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
47498         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
47499         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
47500         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
47501         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
47502         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
47503         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
47504         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
47505         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
47506         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
47507         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
47508         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
47509         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
47510         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
47511         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
47512         * sysdeps/sparc/sparc64/Makefile: ... appended here.
47514         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
47515         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
47516         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
47517         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
47518         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
47519         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
47520         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
47521         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
47522         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
47523         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
47524         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
47525         * sysdeps/sparc/sparc32/sem_post.c: ... here.
47526         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
47527         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
47528         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
47529         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
47530         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
47531         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
47532         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
47533         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
47534         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
47535         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
47536         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
47537         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
47538         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
47539         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
47540         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
47541         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
47542         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
47543         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
47544         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
47545         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
47546         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
47547         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
47548         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
47549         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
47550         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
47551         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
47553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
47554         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
47555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
47556         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
47557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47558         Moved ...
47559         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
47560         ... here.
47561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
47562         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
47563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
47564         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
47565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
47566         Moved ...
47567         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
47568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
47569         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
47570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
47571         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
47572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
47573         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
47574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47575         Moved ...
47576         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
47577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47578         Moved ...
47579         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
47580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
47581         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
47582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47583         Moved ...
47584         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
47585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
47586         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
47587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
47588         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
47589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
47590         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
47591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
47592         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
47593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47594         Moved ...
47595         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
47596         ... here.
47597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
47598         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
47599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
47600         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
47601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
47602         Moved ...
47603         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
47604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
47605         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
47606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
47607         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
47608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
47609         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
47610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47611         Moved ...
47612         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
47613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47614         Moved ...
47615         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
47616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
47617         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
47618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47619         Moved ...
47620         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
47621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
47622         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
47623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
47624         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
47626 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47628         * timezone/checktab.awk: Update from tzcode 2014e.
47629         * timezone/private.h: Likewise.
47630         * timezone/tzfile.h: Likewise.
47631         * timezone/zdump.c: Likewise.
47632         * timezone/zic.c: Likewise.
47634         * sysdeps/unix/sysv/linux/kernel-features.h
47635         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
47636         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
47637         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
47638         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47639         Remove conditional code.
47641 2014-06-25  Will Newton  <will.newton@linaro.org>
47643         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
47644         (_dl_arm_cap_flags): Add HWCAP2 values.
47645         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
47646         (_DL_HWCAP_COUNT): Increase to 37.
47647         (_DL_HWCAP_LAST): New define.
47648         (_DL_HWCAP2_LAST): New define.
47649         (_dl_procinfo): Add support for printing
47650         AT_HWCAP2 entries.
47651         (_dl_string_hwcap): Use _dl_hwcap_string.
47653 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47657 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47659         * README: Do not mention ports directory.
47661         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
47662         Remove macro.
47663         * sysdeps/unix/sysv/linux/futimes.c: Do not include
47664         <kernel-features.h>.
47665         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
47666         conditional variable definition.
47667         (__futimes): Update comment.
47668         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
47669         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
47671         [BZ #16560]
47672         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
47673         arguments close to 0.
47674         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
47675         Likewise.
47676         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
47677         Likewise.
47678         * math/auto-libm-test-in: Add more tests of exp10.
47679         * math/auto-libm-test-out: Regenerated.
47680         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47682         * sysdeps/unix/sysv/linux/kernel-features.h
47683         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
47684         * sysdeps/unix/sysv/linux/readv.c: Do not include
47685         <kernel-features.h>.
47686         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47687         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47688         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47689         unconditional.
47690         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47691         conditional code.
47692         * sysdeps/unix/sysv/linux/writev.c: Do not include
47693         <kernel-features.h>.
47694         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47695         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47696         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47697         unconditional.
47698         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47699         conditional code.
47701 2014-06-25  Will Newton  <will.newton@linaro.org>
47703         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
47704         comment changes throughout the file.  Remove checks
47705         for HAVE_*_H definitions that are not required.
47706         (__gen_tempname): Call abort if an unknown kind value is
47707         passed.
47709 2014-06-25  Andreas Schwab  <schwab@suse.de>
47711         [BZ #17086]
47712         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
47713         scalbln, scalblnf, scalblnl in libc.
47715 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47717         [BZ #17086]
47718         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
47719         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47720         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47722 2014-06-24  Roland McGrath  <roland@hack.frob.com>
47724         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
47725         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
47726         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
47727         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
47728         Update #include.
47729         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
47730         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
47731         Update #include.
47732         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
47733         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
47734         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
47735         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
47736         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
47737         * sysdeps/x86/bits/pthreadtypes.h: ... here.
47738         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
47739         * sysdeps/x86/bits/semaphore.h: ... here.
47740         * sysdeps/x86/nptl/elide.h: Moved ...
47741         * sysdeps/x86/elide.h: ... here.
47742         * sysdeps/x86_64/nptl/Implies: File removed.
47743         * sysdeps/i386/nptl/Implies: File removed.
47745 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
47747         [BZ #16539]
47748         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
47749         return the argument for normal arguments with exponent below -64.
47750         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47751         Likewise.
47752         * math/auto-libm-test-in: Add another test of expm1.
47753         * math/auto-libm-test-out: Regenerated.
47755         [BZ #16287]
47756         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
47757         calling __erfcl for arguments at least 16.
47758         * math/auto-libm-test-in: Add more tests of erf.
47759         * math/auto-libm-test-out: Regenerated.
47761         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
47762         individual architectures.
47763         * sysdeps/unix/sysv/linux/configure: Regenerated.
47764         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
47765         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
47766         * sysdeps/unix/sysv/linux/powerpc/configure.ac
47767         (ldd_rewrite_script): Define variable.
47768         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
47769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
47770         file.
47771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
47772         generated file.
47773         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
47774         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
47775         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
47776         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
47777         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
47778         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
47779         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
47780         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
47782 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47784         [BZ #17084]
47785         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
47786         Rename member __data.d to __data.__elision_data.
47788 2014-06-24  Wilco  <wdijkstr@arm.com>
47790         * NEWS: Add 16918 to fixed bug list.
47792 2014-06-24  Wilco  <wdijkstr@arm.com>
47794         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
47796 2014-06-24  Wilco  <wdijkstr@arm.com>
47798         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
47799         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
47800         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
47801         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
47802         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
47803         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
47804         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
47805         Use _FPU_MASK_RM.
47807 2014-06-24  Wilco  <wdijkstr@arm.com>
47809         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
47811 2014-06-24  Wilco  <wdijkstr@arm.com>
47813         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
47814         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
47815         * sysdeps/arm/fesetround.c (fesetround): Remove space.
47816         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
47818 2014-06-24  Wilco  <wdijkstr@arm.com>
47820         [BZ #16918]
47821         * sysdeps/arm/feupdateenv.c (feupdateenv):
47822         Rewrite to reduce FPSCR accesses and fix return value.
47824 2014-06-24  Wilco  <wdijkstr@arm.com>
47826         * sysdeps/arm/fclrexcpt.c (feclearexcept):
47827         Optimize to avoid unnecessary FPSCR writes.
47828         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
47829         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
47830         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
47831         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
47833 2014-06-24  Wilco  <wdijkstr@arm.com>
47835         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
47836         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
47837         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
47838         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
47839         Call libc_fetestexcept_vfp.
47840         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
47841         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
47842         __SOFTFP__ ifdef so that they can be built for softfp.
47844 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47846         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
47847         argument type signed char.
47849         * Makerules (check-abi): Dump diff of symlist if the test
47850         fails.
47852 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47854         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
47855         using abort.
47857         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47858         Remove unused variable ST.
47860 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
47862         [BZ #16354]
47863         [BZ #17061]
47864         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
47865         small arguments before calling __expm1.
47866         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
47867         small arguments before calling __expm1f.
47868         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
47869         small arguments before calling __expm1l.
47870         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47871         Likewise.
47872         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
47873         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
47874         spurious underflow for some cosh tests.
47875         * math/auto-libm-test-out: Regenerated.
47876         * sysdeps/i386/fpu/libm-test-ulps: Update.
47878         [BZ #17050]
47879         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
47880         (__ieee754_y1): Set errno if return value overflows.
47881         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
47882         (__ieee754_y1f): Set errno if return value overflows.
47883         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
47884         (__ieee754_y1l): Set errno if return value overflows.
47885         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
47886         (__ieee754_y1l): Set errno if return value overflows.
47887         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
47888         * math/auto-libm-test-out: Regenerated.
47890         * math/gen-auto-libm-tests.c: Document use of
47891         ignore-zero-inf-sign.
47892         (input_flag_type): Add value flag_ignore_zero_inf_sign.
47893         (input_flags): Add ignore-zero-inf-sign.
47894         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
47895         * math/gen-libm-test.pl (generate_testfile): Handle
47896         ignore-zero-inf-sign.
47897         * math/auto-libm-test-in: Mark some cpow tests with
47898         ignore-zero-inf-sign and some with xfail-rounding.
47899         * math/auto-libm-test-out: Regenerated.
47900         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
47901         * sysdeps/i386/fpu/libm-test-ulps: Update.
47902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47904         [BZ #16315]
47905         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
47906         overflowing or underflowing operations take place with sign of
47907         result.
47908         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47909         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47910         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
47911         (__ieee754_pow): Recompute overflowing and underflowing results in
47912         original rounding mode.
47913         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
47914         (__powl_helper): Allow negative argument X and scale negated value
47915         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
47916         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
47917         overflowing or underflowing operations take place with sign of
47918         result.
47919         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
47920         Include <math.h>.
47921         * math/auto-libm-test-in: Add more tests of pow.
47922         * math/auto-libm-test-out: Regenerated.
47923         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
47924         (pow_tonearest_test_data): Remove.
47925         (pow_test_tonearest): Likewise.
47926         (pow_towardzero_test_data): Likewise.
47927         (pow_test_towardzero): Likewise.
47928         (pow_downward_test_data): Likewise.
47929         (pow_test_downward): Likewise.
47930         (pow_upward_test_data): Likewise.
47931         (pow_test_upward): Likewise.
47932         (main): Don't call removed functions.
47933         * sysdeps/i386/fpu/libm-test-ulps: Update.
47934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47936 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
47939         Moved ...
47940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
47941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47942         Moved ...
47943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
47944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47945         Moved ...
47946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
47947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47948         Moved ...
47949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
47950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47951         File removed.
47952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47953         File removed.
47954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
47955         File removed.
47956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
47957         File removed.
47958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
47959         File removed.
47960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
47961         File removed.
47962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
47963         File removed.
47964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47965         File removed.
47966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
47967         File removed.
47968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47969         File removed.
47970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
47971         File removed.
47972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
47973         File removed.
47974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
47975         Moved ...
47976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
47977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
47978         Moved ...
47979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
47980         ... here.
47981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
47982         Moved ...
47983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
47984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
47985         Moved ...
47986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
47987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
47988         Moved ...
47989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
47990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
47991         Moved ...
47992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
47993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
47994         Moved ...
47995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
47996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
47997         Moved ...
47998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
47999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
48000         Moved ...
48001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
48002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
48003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
48004         ... here.
48005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
48006         Moved ...
48007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
48008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
48009         Moved ...
48010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
48011         ... here.
48012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
48013         Moved ...
48014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
48015         ... here.
48016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48017         Moved ...
48018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
48019         ... here.
48020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48021         Moved ...
48022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
48023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
48024         Moved ...
48025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
48026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
48027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
48028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
48029         Moved ...
48030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
48031         ... here.
48032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48033         Moved ...
48034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
48035         ... here.
48036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
48037         Moved ...
48038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
48039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48040         Moved ...
48041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
48042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
48043         Moved ...
48044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
48045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48046         Moved ...
48047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
48048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
48049         Moved ...
48050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
48051         ... here.
48052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48053         Moved ...
48054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
48055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
48056         Moved ...
48057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
48058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48059         Moved ...
48060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
48061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
48062         Moved ...
48063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
48064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
48065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
48066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
48067         Moved ...
48068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
48069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48070         Moved ...
48071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
48072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
48073         Moved ...
48074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
48075         ... here.
48076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48077         Moved ...
48078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
48079         ... here.
48080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
48081         Moved ...
48082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
48083         ... here.
48084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48085         Moved ...
48086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
48087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
48088         Moved ...
48089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
48090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48091         Moved ...
48092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
48093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
48094         Moved ...
48095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
48096         ... here.
48097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48098         Moved ...
48099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
48100         ... here.
48101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
48102         Moved ...
48103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
48104         ... here.
48105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48106         Moved ...
48107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
48108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48109         Moved ...
48110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
48112 2014-06-23  Will Newton  <will.newton@linaro.org>
48113             Wilco  <wdijkstr@arm.com>
48115         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
48116         implementation.  Include get-rounding-mode.h.
48117         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
48118         [!libc_feholdsetround_noex_ctx]: Define
48119         libc_feholdsetround_noex_ctx.
48120         [!libc_feholdsetround_noexf_ctx]: Define
48121         libc_feholdsetround_noexf_ctx.
48122         [!libc_feholdsetround_noexl_ctx]: Define
48123         libc_feholdsetround_noexl_ctx.
48124         (libc_feholdsetround_ctx): New function.
48125         (libc_feresetround_ctx): New function.
48126         (libc_feholdsetround_noex_ctx): New function.
48127         (libc_feresetround_noex_ctx): New function.
48129 2014-06-23  Roland McGrath  <roland@hack.frob.com>
48131         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
48132         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
48133         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
48134         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
48135         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
48136         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
48138         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
48139         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
48140         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
48141         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
48142         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
48143         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
48144         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
48145         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
48146         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
48147         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
48148         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
48149         Moved ...
48150         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
48151         ... here.
48152         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
48153         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
48154         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
48155         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
48156         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
48157         Moved ...
48158         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
48159         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
48160         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
48161         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
48162         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
48163         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
48164         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
48165         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
48166         Moved ...
48167         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
48168         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
48169         Moved ...
48170         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
48171         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
48172         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
48173         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
48174         Moved ...
48175         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
48176         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
48177         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
48178         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
48179         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
48180         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
48181         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
48182         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
48183         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
48184         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
48185         Moved ...
48186         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
48187         ... here.
48188         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
48189         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
48190         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
48191         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
48192         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
48193         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
48194         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
48195         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
48196         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
48197         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
48198         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
48199         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
48200         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
48201         Moved ...
48202         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
48203         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
48204         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
48205         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
48206         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
48207         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
48208         Moved ...
48209         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
48210         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
48211         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
48212         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
48213         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
48215         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
48216         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
48217         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
48218         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
48219         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
48220         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
48221         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
48222         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
48223         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
48224         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
48225         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
48226         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
48227         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
48228         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
48229         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
48230         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
48231         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
48232         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
48233         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
48234         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
48235         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
48236         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
48237         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
48238         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
48239         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
48240         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
48241         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
48242         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
48244 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
48246         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
48247         (FALLOC_FL_COLLAPSE_RANGE): New macro.
48248         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
48249         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
48250         (IPV6_PMTUDISC_INTERFACE): Likewise.
48251         (IPV6_PMTUDISC_OMIT): Likewise.
48253 2014-06-23  Andreas Schwab  <schwab@suse.de>
48255         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
48256         Remove unused errout label.
48258 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48260         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
48261         macro: hardware supports Vector Crypto instructions.
48263 2014-06-23  Will Newton  <will.newton@linaro.org>
48265         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
48266         rather than __builtin_expect.
48268         * elf/dl-lookup.c (undefined_msg): Remove variable.
48269         (_dl_lookup_symbol_x): Replace undefined_msg with string
48270         literal.
48272         * elf/dl-lookup.c (do_lookup_unique): New function.
48273         (do_lookup_x): Move STB_GNU_UNIQUE handling code
48274         to a separate function.
48276 2014-06-23  Andreas Schwab  <schwab@suse.de>
48278         [BZ #17079]
48279         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
48280         before reading the next line.
48282 2014-06-23  Will Newton  <will.newton@linaro.org>
48284         * test-skeleton.c (signal_handler): Use printf and %m
48285         rather than perror.  Use printf rather than fprintf to
48286         stderr.  Use puts rather than fputs to stderr.
48287         (main): Likewise.
48289 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
48291         * nscd/nscd.c (thread_info_t): Remove typedef.
48292         (thread_info): Remove variable.
48294 2014-06-21  Allan McRae  <allan@archlinux.org>
48296         * NEWS: Mention CVE-2014-4043.
48298 2014-06-20  Roland McGrath  <roland@hack.frob.com>
48300         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
48301         * nptl/smp.h: ... here.
48303         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
48305         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
48306         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
48307         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
48308         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
48310         * nptl/allocatestack.c: Include <stack-aliasing.h>.
48311         * nptl/stack-aliasing.h: New file.
48312         * sysdeps/i386/i686/stack-aliasing.h: New file.
48313         * sysdeps/i386/i686/nptl/Makefile: File removed.
48314         * sysdeps/x86_64/stack-aliasing.h: New file.
48315         * sysdeps/x86_64/nptl/Makefile
48316         (CFLAGS-pthread_create.c): Variable removed.
48318         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
48319         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
48320         old file.
48321         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
48322         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
48323         old file.
48325 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
48327         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48328         (__ASSUME_SIGFRAME_V2): Remove macro.
48329         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
48330         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
48331         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
48332         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
48333         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
48334         Declare as function.  Remove conditional macro definitions.
48335         (__default_rt_sa_restorer): Likewise.
48336         (__default_sa_restorer_v1): Remove declaration.
48337         (__default_sa_restorer_v2): Likewise.
48338         (__default_rt_sa_restorer_v1): Likewise.
48339         (__default_rt_sa_restorer_v2): Likewise.
48340         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
48341         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
48342         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
48344 2014-06-20  Roland McGrath  <roland@hack.frob.com>
48346         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
48347         (libpthread-routines): Add sysdep.
48348         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
48349         * sysdeps/unix/sysv/linux/sparc/Versions
48350         (libpthread: GLIBC_2.3.3): New version set.
48351         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
48352         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
48353         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
48354         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
48355         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
48356         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
48357         Moved ...
48358         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
48359         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
48360         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
48361         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
48362         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
48363         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
48364         * sysdeps/sparc/nptl/sem_init.c: ... here.
48365         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
48366         * sysdeps/sparc/nptl/sem_post.c: ... here.
48367         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
48368         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
48369         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
48370         * sysdeps/sparc/nptl/sem_wait.c: ... here.
48371         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
48372         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
48373         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
48374         (libpthread-routines): Add cpu_relax.
48375         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
48376         File removed.
48377         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
48378         (librt: GLIBC_2.3.3): New version set.
48379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
48380         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
48381         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
48382         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
48383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
48384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
48385         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
48386         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
48387         Moved ...
48388         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
48389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
48390         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
48391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
48392         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
48393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
48394         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
48395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
48396         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
48397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
48398         Moved ...
48399         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
48400         Update #include.
48401         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
48402         Moved ...
48403         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
48404         Update #include.
48405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
48406         Moved ...
48407         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
48408         Update #include.
48409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
48410         Moved ...
48411         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
48412         Update #include.
48413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
48414         Moved ...
48415         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
48416         Update #include.
48417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
48418         Moved ...
48419         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
48420         Update #include.
48421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
48422         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
48423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
48424         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
48425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
48426         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
48427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
48428         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
48429         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
48430         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
48431         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48432         Moved ...
48433         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
48434         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
48435         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
48436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
48437         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
48439 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48441         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
48442         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
48443         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
48444         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
48445         * nscd/nscd.c: Likewise.
48446         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
48447         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
48448         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
48449         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
48451         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
48452         <kernel-features.h>.
48453         (init_mq_netlink): Remove conditional have_sock_cloexec
48454         definitions.  Remove code conditional on have_sock_cloexec < 0.
48455         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
48456         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
48457         * sysdeps/unix/sysv/linux/opensock.c: Do not include
48458         <kernel-features.h>.
48459         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
48460         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
48462 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
48464         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48465         Add tests for memset_chk and memset.
48467         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
48468         with AVX2_Usable.
48470 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
48472         [BZ #16046]
48473         * elf/tst-dl-iter-static.c: New file.
48474         * elf/Makefile (tests-static): Add tst-dl-iter-static.
48476         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
48477         error.
48479 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48481         * sysdeps/unix/sysv/linux/kernel-features.h
48482         (__ASSUME_F_GETOWN_EX): Remove macro.
48483         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
48484         <kernel-features.h>.
48485         (miss_F_GETOWN_EX): Remove variable or macro.
48486         (do_fcntl): Do not check miss_F_GETOWN_EX.
48487         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
48489         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
48490         Remove macro.
48491         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
48492         [!__ASSUME_AT_RANDOM]: Remove conditional code.
48493         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
48495         * sysdeps/unix/sysv/linux/kernel-features.h
48496         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
48497         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
48498         [ADJ_OFFSET_SS_READ]: Make code unconditional.
48499         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
48501 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
48503         [BZ #17075]
48504         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
48505         Fix calculation of the symbol's value.
48506         * sysdeps/arm/tst-armtlsdescloc.c: New file.
48507         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
48508         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
48509         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
48510         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
48511         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
48512         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
48513         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
48514         (modules-names): Add `tst-armtlsdescmod',
48515         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
48516         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
48517         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48518         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
48519         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
48520         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48521         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
48522         ($(objpfx)tst-armtlsdescloc): New dependency.
48523         ($(objpfx)tst-armtlsdescextnow): Likewise.
48524         ($(objpfx)tst-armtlsdescextlazy): Likewise.
48525         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
48526         TLS scheme support.
48527         * sysdeps/arm/configure: Regenerate.
48529 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48531         * include/fcntl.h (__atfct_seterrno): Remove prototype.
48532         (__atfct_seterrno_2): Likewise.
48533         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
48534         <kernel-features.h>.
48535         (__ASSUME_ATFCTS): Do not undefine and redefine.
48536         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
48537         (__have_atfcts): Remove conditional definition.
48538         (__fxstatat([__NR_fstatat64]: Make code unconditional.
48539         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
48540         unreachable if [__ASSUME_ATFCTS].
48541         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
48542         not undefine and redefine.
48543         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
48544         <kernel-features.h>.
48545         (faccessat) [__NR_faccessat]: Make code unconditional.
48546         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
48547         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
48548         <kernel-features.h>.
48549         (fchmodat) [__NR_fchmodat]: Make code unconditional.
48550         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48551         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
48552         <kernel-features.h>.
48553         (fchownat) [__NR_fchownat]: Make code unconditional.
48554         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
48555         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
48556         <kernel-features.h>.
48557         (futimesat) [__NR_futimesat]: Make code unconditional.
48558         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
48559         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48560         <kernel-features.h>.
48561         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48562         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48563         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48564         <kernel-features.h>.
48565         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
48566         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48567         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
48568         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48569         <kernel-features.h>.
48570         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
48571         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48572         * sysdeps/unix/sysv/linux/linkat.c: Do not include
48573         <kernel-features.h>.
48574         (linkat) [__NR_linkat]: Make code unconditional.
48575         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48576         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
48577         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
48578         <kernel-features.h>.
48579         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
48580         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48581         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
48582         <kernel-features.h>.
48583         (mkdirat) [__NR_mkdirat]: Make code unconditional.
48584         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
48585         * sysdeps/unix/sysv/linux/openat.c: Do not include
48586         <kernel-features.h>.
48587         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
48588         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
48589         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
48590         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
48591         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
48592         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
48593         <kernel-features.h>.
48594         (readlinkat) [__NR_readlinkat]: Make code unconditional.
48595         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
48596         result of INLINE_SYSCALL directly, not via int variable.
48597         * sysdeps/unix/sysv/linux/renameat.c: Do not include
48598         <kernel-features.h>.
48599         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
48600         (renameat) [__NR_renameat]: Make code unconditional.
48601         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
48602         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
48603         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
48604         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
48605         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
48606         (__ASSUME_ATFCTS): Do not undefine and redefine.
48607         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
48608         <kernel-features.h>.
48609         (symlinkat) [__NR_symlinkat]: Make code unconditional.
48610         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48611         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
48612         <kernel-features.h>.
48613         (unlinkat) [__NR_unlinkat]: Make code unconditional.
48614         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48615         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
48616         (__ASSUME_ATFCTS): Do not undefine and redefine.
48617         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48618         <kernel-features.h>.
48619         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48620         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48621         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48622         <kernel-features.h>.
48623         (__xmknodat) [__NR_mknodat]: Make code unconditional.
48624         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48626 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
48628         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
48630 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
48632         [BZ #17069]
48633         * posix/regcomp.c (parse_reg_exp): Deallocate partially
48634         constructed tree before returning error.
48635         * posix/bug-regexp36.c: Expand test case.
48637 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
48639         [BZ #6803]
48640         * math/libm-test.inc (scalbln_test_date):
48641         Add errno expectations.
48642         * math/w_scalblnf.c: New File.
48643         Add wrapper which checks for setting errno to ERANGE.
48644         Add weak_alias for corresponding scalbln function.
48645         * math/w_scalbln.c: Likewise.
48646         * math/w_scalblnl.c: Likewise.
48647         * math/Makefile (libm-calls): Add w_scalbln.
48648         * sysdeps/ieee754/flt-32/s_scalblnf.c:
48649         Remove weak_alias for corresponding scalbln function.
48650         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48651         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48652         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48653         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48654         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
48655         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48656         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
48657         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48658         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
48659         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
48660         Remove long_double_symbol for scalblnl function in libm, libc.
48661         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
48662         Add wrapper which checks for setting errno to ERANGE.
48663         Add long_double_symbol for scalblnl function in libm, libc.
48664         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
48665         Remove long_double_symbol for scalblnl in libm.
48666         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
48667         Add wrapper which checks for setting errno to ERANGE.
48668         Add long_double_symbol for scalblnl function in libm.
48669         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
48670         Do not use wrapper because of own implementation.
48672 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
48674         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
48675         3 bytes for __pad1 for x32.
48676         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
48678 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
48679             H.J. Lu  <hongjiu.lu@intel.com>
48681         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
48682         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
48683         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48684         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48685         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
48687 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
48689         [BZ #17069]
48690         * posix/regcomp.c (parse_expression): Deallocate partially
48691         constructed tree before returning error.
48692         * posix/Makefile.c (tests): Add bug-regex36.
48693         (generated): Add bug-regex36.mtrace.
48694         (tests-special): Add $(objpfx)bug-regex36-mem.out
48695         (bug-regex36-ENV): New variable.
48696         ($(objpfx)bug-regex36-mem.out): New rule.
48697         * posix/bug-regex36.c: New file.
48699 2014-06-19  Will Newton  <will.newton@linaro.org>
48701         * malloc/malloc.c (systrim): If extra is zero then return
48702         early.
48704 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48706         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
48708 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
48710         * sysdeps/aarch64/strchr.S: New file.
48712 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
48714         [BZ #17022]
48715         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
48716         from arguments -2 or below.
48717         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48718         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
48720 2014-06-18  Andreas Schwab  <schwab@suse.de>
48722         [BZ #17062]
48723         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
48724         of a bracket expr not to run off the end of the string.
48725         * posix/Makefile (tests): Add tst-fnmatch3.
48726         * posix/tst-fnmatch3.c: New file.
48728 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
48730         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
48731         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48732         [$(cross-compiling) = no]: Likewise.
48733         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48734         [$(cross-compiling) = no]: Likewise.
48736 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48738         [BZ #17031]
48739         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
48740         double, adjusted for any remainder from the high double.
48741         * math/libm-test.inc (nearbyint): Add tests.
48742         (rint): Likewise.
48744 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48746         * nptl/sysdeps/powerpc/Makefile: Moved ...
48747         * sysdeps/powerpc/nptl/Makefile: ... here.
48748         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
48749         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
48750         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
48751         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
48752         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
48753         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
48754         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
48755         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
48756         * nptl/sysdeps/powerpc/tls.h: Moved ...
48757         * sysdeps/powerpc/nptl/tls.h: ... here.
48759 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
48761         [BZ #16681]
48762         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
48763         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
48764         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
48765         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
48766         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
48767         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
48768         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
48769         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
48770         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
48772 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
48774         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
48776 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
48778         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
48779         defined operator.
48781         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
48782         $TIMEOUTFACTOR.
48784 2014-06-16  Florian Weimer  <fweimer@redhat.com>
48786         [BZ #17058]
48787         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
48788         non-executed part of the test.
48790 2014-06-16  Andreas Schwab  <schwab@suse.de>
48792         * string/bits/string2.h (strdup, strndup): Update feature guard.
48794 2014-06-14  David S. Miller  <davem@davemloft.net>
48796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48798 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
48800         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
48801         that was previously under [RESET_PID].
48802         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
48804         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
48805         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
48806         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
48807         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48808         (__libc_vfork): New strong alias.
48809         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
48811 2014-06-14 Andi Kleen  <ak@linux.intel.com>
48813         * sysdeps/generic/elide.h: New file.
48815 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
48817         * Makefile (installed-headers): Adjust path of pthread.h header.
48819 2014-06-13  Roland McGrath  <roland@hack.frob.com>
48821         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
48822         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
48823         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
48824         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
48826         * nptl/sysdeps/s390/Makefile: Moved ...
48827         * sysdeps/s390/nptl/Makefile: ... here.
48828         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
48829         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
48830         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
48831         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
48832         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
48833         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
48834         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
48835         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
48836         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
48837         * sysdeps/s390/nptl/pthreaddef.h: ... here.
48838         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
48839         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
48840         * nptl/sysdeps/s390/tls.h: Moved ...
48841         * sysdeps/s390/nptl/tls.h: ... here.
48843         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
48844         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
48846 2014-06-13  David S. Miller  <davem@davemloft.net>
48848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
48849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
48850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
48851         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
48852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
48853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
48854         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
48855         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
48856         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
48857         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
48858         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
48859         Remove RESET_PID cpp guards.
48860         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
48861         Remove RESET_PID cpp guards.
48862         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
48864 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
48866         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
48867         __sp to uintptr_t.
48869 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48871         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
48872         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
48873         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
48874         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
48875         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
48876         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
48877         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
48878         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
48879         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
48880         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
48881         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
48882         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
48883         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
48884         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
48885         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
48886         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
48887         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
48888         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
48889         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
48890         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
48892         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
48893         (pthread_rwlock_rdlock): Add elision.
48894         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
48895         (pthread_rwlock_wrlock): Add elision.
48896         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
48897         (pthread_rwlock_trywrlock): Add elision.
48898         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
48899         (pthread_rwlock_tryrdlock): Add elision.
48900         * nptl/pthread_rwlock_unlock.c: Include elide.h.
48901         (pthread_rwlock_tryrdlock): Add elision unlock.
48902         * nptl/sysdeps/pthread/pthread.h:
48903         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
48904         (PTHREAD_RWLOCK_INITIALIZER,
48905         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
48906         Handle new elision field.
48907         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
48908         * sysdeps/arm/nptl/bits/pthreadtypes.h
48909         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48910         * sysdeps/sh/nptl/bits/pthreadtypes.h
48911         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48912         * sysdeps/tile/nptl/bits/pthreadtypes.h
48913         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48914         * sysdeps/a/nptl/bits/pthreadtypes.h
48915         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48916         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
48917         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48918         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
48919         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48920         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
48921         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48922         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
48923         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48924         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
48925         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48926         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
48927         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48928         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
48929         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48930         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
48931         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48932         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
48933         (elision_init): Set try_xbegin to zero when no RTM.
48934         * sysdeps/x86/nptl/bits/pthreadtypes.h
48935         (pthread_rwlock_t): Change __pad1 to __rwelision.
48936         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48938 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48940         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
48941         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
48942         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
48943         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
48945 2014-06-13  Meador Inge  <meadori@codesourcery.com>
48947         [BZ #16996]
48948         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
48949         that the cached result has been set before returning it.
48951 2014-06-12  Roland McGrath  <roland@hack.frob.com>
48953         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
48954         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
48955         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
48956         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
48957         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
48958         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
48960         * nptl/sysdeps/sparc/Makefile: Moved ...
48961         * sysdeps/sparc/nptl/Makefile: ... here.
48962         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
48963         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
48964         * nptl/sysdeps/sparc/tls.h: Moved ...
48965         * sysdeps/sparc/nptl/tls.h: ... here.
48966         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
48967         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
48968         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
48969         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
48970         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
48971         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
48972         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
48973         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
48974         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
48975         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
48976         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
48977         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
48978         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
48979         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
48980         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
48981         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
48982         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
48983         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
48984         Update #include.
48985         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
48986         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
48987         Update #include.
48988         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
48989         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
48990         Update #include.
48991         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
48992         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
48993         Update #include.
48995         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48997         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
48998         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
49000         * sysdeps/pthread/posix-timer.h: Include <list.h>.
49001         (struct list_links): Type removed.
49002         (struct thread_node, struct timer_node): Replace struct list_links
49003         with struct list_head.
49004         (list_unlink_ip): Likewise.
49005         * sysdeps/pthread/timer_routines.c
49006         (timer_free_list, thread_free_list, thread_active_list): Likewise.
49007         (list_append, list_insbefore): Likewise.
49008         (list_init): Function removed.
49009         (thread_init, init_module): Use INIT_LIST_HEAD instead.
49010         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
49011         * sysdeps/pthread/Makefile: ... here, new file.
49013         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
49014         * sysdeps/nptl/Implies: ... here.
49015         * sysdeps/unix/sysv/linux/Implies: Add nptl.
49016         * nptl/sysdeps/pthread/list.h: Moved ...
49017         * include/list.h: ... here.
49018         * nptl/sysdeps/pthread/createthread.c: Moved ...
49019         * nptl/createthread.c: ... here.
49020         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
49021         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
49022         * nptl/pt-longjmp.c: ... here.
49023         * nptl/sysdeps/pthread/Makefile: Moved ...
49024         * sysdeps/nptl/Makefile: ... here.
49025         * nptl/sysdeps/pthread/Subdirs: Moved ...
49026         * sysdeps/nptl/Subdirs: ... here.
49027         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
49028         * sysdeps/nptl/aio_misc.h: ... here.
49029         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
49030         * sysdeps/nptl/bits/libc-lock.h: ... here.
49031         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
49032         * sysdeps/nptl/bits/libc-lockP.h: ... here.
49033         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
49034         * sysdeps/nptl/bits/stdio-lock.h: ... here.
49035         * nptl/sysdeps/pthread/configure: Moved ...
49036         * sysdeps/nptl/configure: ... here.
49037         * nptl/sysdeps/pthread/configure.ac: Moved ...
49038         * sysdeps/nptl/configure.ac: ... here.
49039         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
49040         * sysdeps/nptl/gai_misc.h: ... here.
49041         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
49042         * sysdeps/nptl/librt-cancellation.c: ... here.
49043         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
49044         * sysdeps/nptl/malloc-machine.h: ... here.
49045         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
49046         * sysdeps/nptl/pthread-functions.h: ... here.
49047         * nptl/sysdeps/pthread/pthread.h: Moved ...
49048         * sysdeps/nptl/pthread.h: ... here.
49049         * nptl/sysdeps/pthread/setxid.h: Moved ...
49050         * sysdeps/nptl/setxid.h: ... here.
49051         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
49052         * sysdeps/nptl/sigfillset.c: ... here.
49053         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
49054         * sysdeps/nptl/tcb-offsets.h: ... here.
49055         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
49056         * sysdeps/nptl/tst-mqueue8x.c: ... here.
49057         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
49058         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
49059         * nptl/sysdeps/pthread/allocalim.h: Moved ...
49060         * sysdeps/pthread/allocalim.h: ... here.
49061         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
49062         * sysdeps/pthread/bits/sigthread.h: ... here.
49063         * nptl/sysdeps/pthread/flockfile.c: Moved ...
49064         * sysdeps/pthread/flockfile.c: ... here.
49065         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
49066         * sysdeps/pthread/ftrylockfile.c: ... here.
49067         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
49068         * sysdeps/pthread/funlockfile.c: ... here.
49069         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
49070         * sysdeps/pthread/posix-timer.h: ... here.
49071         * nptl/sysdeps/pthread/timer_create.c: Moved ...
49072         * sysdeps/pthread/timer_create.c: ... here.
49073         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
49074         * sysdeps/pthread/timer_delete.c: ... here.
49075         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
49076         * sysdeps/pthread/timer_getoverr.c: ... here.
49077         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
49078         * sysdeps/pthread/timer_gettime.c: ... here.
49079         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
49080         * sysdeps/pthread/timer_routines.c: ... here.
49081         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
49082         * sysdeps/pthread/timer_settime.c: ... here.
49083         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
49084         * sysdeps/pthread/tst-timer.c: ... here.
49085         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
49086         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
49088         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
49089         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
49091         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
49092         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
49093         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
49094         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
49095         Update #include target.
49096         * nptl/sysdeps/i386/i686/Makefile: Moved ...
49097         * sysdeps/i386/i686/nptl/Makefile: ... here.
49098         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
49099         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
49100         Update #include target.
49101         * nptl/sysdeps/i386/i686/tls.h: Moved ...
49102         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
49103         * nptl/sysdeps/i386/Makefile: Moved ...
49104         * sysdeps/i386/nptl/Makefile: ... here.
49105         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
49106         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
49107         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
49108         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
49109         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
49110         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
49111         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
49112         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
49113         * sysdeps/i386/nptl/pthreaddef.h: ... here.
49114         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
49115         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
49116         * nptl/sysdeps/i386/tls.h: Moved ...
49117         * sysdeps/i386/nptl/tls.h: ... here.
49119         * sysdeps/sh/Makefile [$(subdir) = csu]
49120         (gen-as-const-headers): Add tcb-offsets.sym.
49121         * nptl/sysdeps/sh/Makefile: File removed.
49122         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
49123         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
49124         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
49125         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
49126         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
49127         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
49128         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
49129         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
49130         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
49131         * sysdeps/sh/nptl/pthreaddef.h: ... here.
49132         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
49133         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
49134         * nptl/sysdeps/sh/tls.h: Moved ...
49135         * sysdeps/sh/nptl/tls.h: ... here.
49136         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
49137         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
49138         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
49139         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
49140         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
49141         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
49142         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
49143         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
49144         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
49145         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
49146         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
49147         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
49148         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
49149         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
49150         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
49151         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
49152         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
49153         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
49154         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
49155         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
49156         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
49157         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
49158         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
49159         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
49160         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
49161         Moved ...
49162         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
49163         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
49164         Moved ...
49165         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
49166         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
49167         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
49168         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
49169         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
49170         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
49171         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
49172         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
49173         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
49174         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
49175         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
49176         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
49177         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
49178         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
49179         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
49180         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
49181         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
49182         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
49183         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
49185 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
49187         * posix/spawn_faction_addopen.c: Include string.h.
49189 2014-06-11  Roland McGrath  <roland@hack.frob.com>
49191         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
49192         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
49193         * nptl/sysdeps/x86_64/Makefile: Moved ...
49194         * sysdeps/x86_64/nptl/Makefile: ... here.
49195         * nptl/sysdeps/x86_64/configure: Moved ...
49196         * sysdeps/x86_64/nptl/configure: ... here.
49197         * nptl/sysdeps/x86_64/configure.ac: Moved ...
49198         * sysdeps/x86_64/nptl/configure.ac: ... here.
49199         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
49200         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
49201         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
49202         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
49203         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
49204         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
49205         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
49206         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
49207         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
49208         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
49209         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
49210         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
49211         * nptl/sysdeps/x86_64/tls.h: Moved ...
49212         * sysdeps/x86_64/nptl/tls.h: ... here.
49213         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
49214         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
49215         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
49216         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
49218         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
49220 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49224 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
49226         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
49227         type.
49228         [POSIX] (off_t): Likewise.
49229         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
49230         [POSIX] (S_ISBLK): Require macro.
49231         [POSIX] (S_ISCHR): Likewise.
49232         [POSIX] (S_ISDIR): Likewise.
49233         [POSIX] (S_ISFIFO): Likewise.
49234         [POSIX] (S_ISREG): Likewise.
49235         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
49236         optional-macro.
49237         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
49238         type.
49239         [POSIX] (time_t): Likewise.
49240         [POSIX] (timer_t): Likewise.
49242 2014-06-11  Florian Weimer  <fweimer@redhat.com>
49244         [BZ #17048]
49245         * posix/spawn_int.h (struct __spawn_action): Make the path string
49246         non-const to support deallocation.
49247         * posix/spawn_faction_addopen.c
49248         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
49249         * posix/spawn_faction_destroy.c
49250         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
49251         path in all spawn_do_open actions.
49252         * posix/tst-spawn.c (do_test): Exercise the copy operation in
49253         posix_spawn_file_actions_addopen.
49255 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
49257         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
49258         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
49259         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
49260         conditional code always true.
49261         (__libc_vfork): New alias.
49263 2014-06-11  Roland McGrath  <roland@hack.frob.com>
49265         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49266         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
49268         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
49270         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49271         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
49273         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
49274         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
49276         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49277         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
49279 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49281         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
49282         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
49283         multiarch strcmp for PPC64.
49284         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
49285         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
49286         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
49287         multiarch optimizations.
49288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49289         (__libc_ifunc_impl_list): Likewise.
49291 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49293         * benchtests/scripts/validate_benchout.py: New script.
49294         * benchtests/Makefile (bench-func): Call it.
49295         * benchtests/scripts/benchout.schema.json: New file.
49297 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
49299         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
49300         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
49301         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
49302         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
49303         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
49304         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
49305         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
49306         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
49307         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
49308         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
49309         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
49310         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
49311         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
49312         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
49313         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
49314         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
49315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
49316         Moved ...
49317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
49318         ... here.
49319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
49320         Moved ...
49321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
49322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
49323         Moved ...
49324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
49325         ... here.
49326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
49327         Moved ...
49328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
49329         ... here.
49330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
49331         Moved ...
49332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
49333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
49334         Moved ...
49335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
49336         ... here.
49337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
49338         Moved ...
49339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
49340         ... here.
49341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
49342         Moved ...
49343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
49344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
49345         Moved ...
49346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
49347         ... here.
49348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
49349         Moved ...
49350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
49351         ... here.
49352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
49353         Moved ...
49354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
49355         ... here.
49356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
49357         Moved ...
49358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
49359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
49360         Moved ...
49361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
49362         ... here.
49363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
49364         Moved ...
49365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
49366         ... here.
49367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
49368         Moved ...
49369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
49370         ... here.
49371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
49372         Moved ...
49373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
49374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
49375         Moved ...
49376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
49377         ... here.
49378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
49379         Moved ...
49380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
49381         ... here.
49382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
49383         Moved ...
49384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
49385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
49386         Moved ...
49387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
49388         ... here.
49389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
49390         Moved ...
49391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
49392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
49393         Moved ...
49394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
49395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
49396         Moved ...
49397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
49398         ... here.
49399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
49400         Moved ...
49401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
49402         ... here.
49403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
49404         Moved ...
49405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
49406         ... here.
49407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
49408         Moved ...
49409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
49410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
49411         Moved ...
49412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
49413         ... here.
49414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
49415         Moved ...
49416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
49417         ... here.
49418         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
49419         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
49420         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
49421         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
49422         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
49423         Moved ...
49424         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
49425         ... here.
49426         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
49427         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
49428         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
49429         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
49430         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
49431         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
49432         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
49433         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
49434         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
49435         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
49436         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
49437         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
49438         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
49439         Moved ...
49440         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
49441         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
49442         Moved ...
49443         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
49444         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
49445         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
49446         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
49447         Moved ...
49448         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
49449         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
49450         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
49451         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
49452         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
49453         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
49454         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
49456 2014-06-10  Wilco  <wdijkstr@arm.com>
49458         * math/test-fenv-return.c: New file.
49459         * math/Makefile: Add new test test-fenv-return.
49461 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
49463         [BZ #17042]
49464         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
49465         when x - 1 is zero.
49466         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
49467         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
49468         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
49469         0.0L for an argument of 1.0L.
49470         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
49471         Likewise.
49472         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
49473         value when x - 1 is zero.
49474         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
49475         * sysdeps/i386/fpu/libm-test-ulps: Update.
49476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49478 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
49480         [BZ #15119]
49481         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
49483 2014-06-09  Roland McGrath  <roland@hack.frob.com>
49485         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
49486         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
49488 2014-06-09  Roland McGrath  <roland@hack.frob.com>
49490         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49491         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
49493         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49494         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
49496         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49497         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
49499         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49500         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
49502         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
49503         if not already defined.
49504         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
49505         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
49506         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
49507         (TLS_INIT_TP): Use it.
49508         (TLS_DEFINE_INIT_TP): New macro.
49509         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
49511 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
49513         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
49514         constant.
49515         [POSIX] (IXANY): Likewise.
49516         [POSIX] (OLCUC): Likewise.
49517         [POSIX || POSIX2008] (CBAUD): Do not allow.
49518         [POSIX || POSIX2008] (DEFECHO): Likewise.
49519         [POSIX || POSIX2008] (ECHOCTL): Likewise.
49520         [POSIX || POSIX2008] (ECHOKE): Likewise.
49521         [POSIX || POSIX2008] (ECHOPRT): Likewise.
49522         [POSIX || POSIX2008] (EXTA): Likewise.
49523         [POSIX || POSIX2008] (EXTB): Likewise.
49524         [POSIX || POSIX2008] (FLUSHO): Likewise.
49525         [POSIX || POSIX2008] (LOBLK): Likewise.
49526         [POSIX || POSIX2008] (PENDIN): Likewise.
49527         [POSIX || POSIX2008] (SWTCH): Likewise.
49528         [POSIX || POSIX2008] (VDISCARD): Likewise.
49529         [POSIX || POSIX2008] (VDSUSP): Likewise.
49530         [POSIX || POSIX2008] (VLNEXT): Likewise.
49531         [POSIX || POSIX2008] (VREPRINT): Likewise.
49532         [POSIX || POSIX2008] (VSTATUS): Likewise.
49533         [POSIX || POSIX2008] (VWERASE): Likewise.
49534         (B*): Change to B[0123456789]*.
49535         * conform/data/time.h-data [POSIX || UNIX98]
49536         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
49537         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49538         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
49539         [POSIX] (tm_*): Do not allow.
49541 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
49543         * Makefile (install): Don't set LANGUAGE.
49544         * Makefile.in (install): Likewise.
49545         * assert/Makefile (test-assert-ENV): Remove variable.
49546         (test-assert-perr-ENV): Likewise.
49547         * elf/Makefile (neededtest4-ENV): Likewise.
49548         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49549         [$(cross-compiling) = no]: Don't set LANGUAGE.
49550         * io/ftwtest-sh (LANG): Remove variable.
49551         * libio/Makefile (tst-widetext-ENV): Likewise.
49552         * manual/install.texi (Running make install): Don't refer to
49553         environment settings for make install.
49554         * INSTALL: Regenerated.
49555         * nptl/tst-tls6.sh: Don't set LANG.
49556         * posix/globtest.sh (LANG): Remove variable.
49557         * string/Makefile (tester-ENV): Likewise.
49558         (inl-tester-ENV): Likewise.
49559         (noinl-tester-ENV): Likewise.
49560         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49561         [$(cross-compiling) = no]: Don't set LANGUAGE.
49562         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
49563         without explicit environment settings.
49565 2014-06-06  Roland McGrath  <roland@hack.frob.com>
49567         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
49568         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
49569         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
49570         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
49572 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
49574         * crypt/crypt-private.h [DOS]: Add some includes taken from the
49575         other files in the crypt directory.
49576         * crypt/crypt.c: Remove duplicate includes.
49577         * crypt/crypt-entry.c: Likewise.
49578         * crypt/crypt_util.c: Likewise.
49580 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
49582         * Makeconfig (run-program-env): New variable.
49583         (run-program-prefix-before-env): Likewise.
49584         (run-program-prefix-after-env): Likewise.
49585         (run-program-prefix): Define in terms of new variables.
49586         (built-program-cmd-before-env): New variable.
49587         (built-program-cmd-after-env): Likewise.
49588         (built-program-cmd): Define in terms of new variables.
49589         (test-program-prefix-before-env): New variable.
49590         (test-program-prefix-after-env): Likewise.
49591         (test-program-prefix): Define in terms of new variables.
49592         (test-program-cmd-before-env): New variable.
49593         (test-program-cmd-after-env): Likewise.
49594         (test-program-cmd): Define in terms of new variables.
49595         * Rules (make-test-out): Use $(run-program-env).
49596         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
49597         (help): Do not mention environment variables.  Mention
49598         --timeoutfactor option.
49599         (timeoutfactor): New variable.
49600         (blacklist_exports): Remove function.
49601         (exports): Remove variable.
49602         (command): Do not include ${exports}.
49603         * manual/install.texi (Configuring and compiling): Do not mention
49604         test wrappers preserving environment variables.  Mention that last
49605         assignment to a variable must take precedence.
49606         * INSTALL: Regenerated.
49607         * benchtests/Makefile (run-bench): Use $(run-program-env).
49608         * catgets/Makefile ($(objpfx)test1.cat): Use
49609         $(built-program-cmd-before-env), $(run-program-env) and
49610         $(built-program-cmd-after-env).
49611         ($(objpfx)test2.cat): Do not specify environment variables
49612         explicitly.
49613         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
49614         $(run-program-env) and $(built-program-cmd-after-env).
49615         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
49616         $(run-program-env) and $(test-program-cmd-after-env).
49617         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
49618         explicitly.
49619         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
49620         run_program_env and test_program_cmd_after_env arguments.
49621         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
49622         * elf/tst-pathopt.sh: Use run_program_env argument.
49623         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
49624         $(test-wrapper-env) and $(run-program-env).
49625         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
49626         run_program_env arguments.
49627         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
49628         * intl/Makefile ($(objpfx)tst-gettext.out): Use
49629         $(test-program-prefix-before-env), $(run-program-env) and
49630         $(test-program-prefix-after-env).
49631         ($(objpfx)tst-gettext2.out): Likewise.
49632         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
49633         run_program_env and test_program_prefix_after_env arguments.
49634         * intl/tst-gettext2.sh: Likewise.
49635         * intl/tst-gettext4.sh: Do not set environment variables
49636         explicitly.
49637         * intl/tst-gettext6.sh: Likewise.
49638         * intl/tst-translit.sh: Likewise.
49639         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
49640         $(test-program-prefix-before-env), $(run-program-env) and
49641         $(test-program-prefix-after-env).
49642         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
49643         run_program_env and test_program_prefix_after_env arguments.
49644         * math/Makefile (run-regen-ulps): Use $(run-program-env).
49645         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
49646         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
49647         explicitly with each use of ${test_wrapper_env}.
49648         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
49649         $(test-program-prefix-before-env), $(run-program-env) and
49650         $(test-program-prefix-after-env).
49651         * posix/tst-getconf.sh: Do not set environment variables
49652         explicitly.
49653         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
49654         run_program_env and test_program_prefix_after_env arguments.
49655         * stdio-common/tst-printf.sh: Do not set environment variables
49656         explicitly.
49657         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
49658         $(test-program-prefix-before-env), $(run-program-env) and
49659         $(test-program-prefix-after-env).
49660         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
49661         run_program_env and test_program_prefix_after_env arguments.
49662         Split $test calls into $test_pre and $test.
49663         * timezone/Makefile (build-testdata): Use
49664         $(built-program-cmd-before-env), $(run-program-env) and
49665         $(built-program-cmd-after-env).
49667 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49669         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
49670         strlen for non SHARED builds.
49672 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49674         * nptl/allocatestack.c (check_list): Inlined function...
49675         (__reclaim_stacks): ... here.
49677 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
49679         [BZ #15698]
49680         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
49681         memory overrun.
49683 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
49685         * Rules (make-test-out): Include
49686         LOCPATH=$(common-objpfx)localedata in default environment.
49687         * debug/Makefile (tst-chk1-ENV): Remove variable.
49688         (tst-chk2-ENV): Likewise.
49689         (tst-chk3-ENV): Likewise.
49690         (tst-chk4-ENV): Likewise.
49691         (tst-chk5-ENV): Likewise.
49692         (tst-chk6-ENV): Likewise.
49693         (tst-lfschk1-ENV): Likewise.
49694         (tst-lfschk2-ENV): Likewise.
49695         (tst-lfschk3-ENV): Likewise.
49696         (tst-lfschk4-ENV): Likewise.
49697         (tst-lfschk5-ENV): Likewise.
49698         (tst-lfschk6-ENV): Likewise.
49699         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
49700         (tst-iconv7-ENV): Likewise.
49701         * intl/Makefile (LOCPATH-ENV): Likewise.
49702         (tst-codeset-ENV): Likewise.
49703         (tst-gettext3-ENV): Likewise.
49704         (tst-gettext5-ENV): Likewise.
49705         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
49706         (tst-fopenloc-ENV): Likewise.
49707         (tst-fgetws-ENV): Remove variable.
49708         (tst-ungetwc1-ENV): Likewise.
49709         (tst-ungetwc2-ENV): Likewise.
49710         (bug-ungetwc2-ENV): Likewise.
49711         (tst-swscanf-ENV): Likewise.
49712         (bug-ftell-ENV): Likewise.
49713         (tst-fgetwc-ENV): Likewise.
49714         (tst-fseek-ENV): Likewise.
49715         (tst-ftell-partial-wide-ENV): Likewise.
49716         (tst-ftell-active-handler-ENV): Likewise.
49717         (tst-ftell-append-ENV): Likewise.
49718         * posix/Makefile (tst-fnmatch-ENV): Likewise.
49719         (tst-regexloc-ENV): Likewise.
49720         (bug-regex1-ENV): Likewise.
49721         (tst-regex-ENV): Likewise.
49722         (tst-regex2-ENV): Likewise.
49723         (bug-regex5-ENV): Likewise.
49724         (bug-regex6-ENV): Likewise.
49725         (bug-regex17-ENV): Likewise.
49726         (bug-regex18-ENV): Likewise.
49727         (bug-regex19-ENV): Likewise.
49728         (bug-regex20-ENV): Likewise.
49729         (bug-regex22-ENV): Likewise.
49730         (bug-regex23-ENV): Likewise.
49731         (bug-regex25-ENV): Likewise.
49732         (bug-regex26-ENV): Likewise.
49733         (bug-regex30-ENV): Likewise.
49734         (bug-regex32-ENV): Likewise.
49735         (bug-regex33-ENV): Likewise.
49736         (bug-regex34-ENV): Likewise.
49737         (bug-regex35-ENV): Likewise.
49738         (tst-rxspencer-ENV): Likewise.
49739         (tst-rxspencer-no-utf8-ENV): Likewise.
49740         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
49741         (tst-sscanf-ENV): Likewise.
49742         (tst-swprintf-ENV): Likewise.
49743         (tst-swscanf-ENV): Likewise.
49744         (test-vfprintf-ENV): Likewise.
49745         (scanf13-ENV): Likewise.
49746         (bug14-ENV): Likewise.
49747         (tst-grouping-ENV): Likewise.
49748         * stdlib/Makefile (tst-strtod-ENV): Likewise.
49749         (tst-strtod3-ENV): Likewise.
49750         (tst-strtod4-ENV): Likewise.
49751         (tst-strtod5-ENV): Likewise.
49752         (testmb2-ENV): Likewise./
49753         * string/Makefile (tst-strxfrm-ENV): Likewise.
49754         (tst-strxfrm2-ENV): Likewise.
49755         (bug-strcoll1-ENV): Likewise.
49756         (test-strcasecmp-ENV): Likewise.
49757         (test-strncasecmp-ENV): Likewise.
49758         * time/Makefile (tst-strptime-ENV): Likewise.
49759         (tst-ftime_l-ENV): Likewise.
49760         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
49761         (tst-mbrtowc-ENV): Likewise.
49762         (tst-wcrtomb-ENV): Likewise.
49763         (tst-mbrtowc2-ENV): Likewise.
49764         (tst-c16c32-1-ENV): Likewise.
49765         (tst-mbsnrtowcs-ENV): Likewise.
49767 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
49769         * manual/resource.texi (How to get information about the memory
49770         subsystem?): Fix typo.
49771         Reported by Peon de la Parra Ivan <peon@keba.com>
49773 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
49775         [BZ #16882]
49776         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
49777         (pthread_spin_lock): Branch out of spin loop to proper location.
49778         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
49779         (pthread_spin_lock): Likewise.
49781         * nptl/tst-spin4.c: New test.
49782         * nptl/Makefile (tests): Add tst-spin4.
49784 2014-06-03  Andreas Schwab  <schwab@suse.de>
49786         [BZ #15946]
49787         * resolv/res_send.c (send_dg): Reload file descriptor after
49788         calling reopen.
49790 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
49792         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49794 2014-06-03  Richard Henderson  <rth@redhat.com>
49796         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
49797         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
49798         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
49799         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
49800         in the SAVE_PID block.
49801         (__libc_vfork): New alias.
49802         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
49804         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
49805         child in registers, not on the stack.  Remove RESET_PID conditionals.
49806         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
49808 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49810         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49812 2014-06-03  Wilco  <wdijkstr@arm.com>
49814         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
49815         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
49816         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49817         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
49818         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
49819         Likewise.
49821 2014-06-03  Wilco  <wdijkstr@arm.com>
49823         * sysdeps/aarch64/fpu/math_private.h
49824         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
49825         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
49826         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
49827         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49828         Fix declarations.
49830 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
49832         * crypt/crypt-private.h: Include ufc-crypt.h.
49833         (__b64_from_24bit): Declare extern.
49834         * crypt/crypt_util.c(__b64_from_24bit): New function.
49835         (b64t): New static const variable.
49836         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
49837         (b64t): Remove variable.
49838         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
49839         * crypt/sha256-crypt.c: Include crypt-private.h.
49840         (b64t): Remove variable.
49841         (__sha256_crypt_r): Remove b64_from_24bit and replace
49842         with __b64_from_24bit.
49843         * crypt/sha512-crypt.c: Likewise.
49845 2014-06-02  Roland McGrath  <roland@hack.frob.com>
49847         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
49848         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
49849         Label the code __libc_vfork rather than __vfork.
49850         [!NOT_IN_libc] (vfork): Define as weak alias.
49851         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
49852         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
49853         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
49855 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49857         * malloc/malloc.c (malloc_info): Fix format specifier for
49858         n_mmaps.
49860 2014-06-02  Wilco  <wdijkstr@arm.com>
49862         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
49863         FPCR write.
49865 2014-06-02  Wilco  <wdijkstr@arm.com>
49867         [BZ #17009]
49868         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
49869         Rewrite to reduce FPCR/FPSR accesses.
49871 2014-06-01  David S. Miller  <davem@davemloft.net>
49873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49875 2014-05-31  David S. Miller  <davem@davemloft.net>
49877         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
49878         to occur in round to nearest mode when |x| >= 2.0
49880 2014-05-30  Richard Henderson  <rth@twiddle.net>
49882         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
49883         (PSEUDO_RET_NOERRNO): Remove.
49884         (ret): Don't redefine.
49885         (ret_NOERRNO): Define in terms of ret.
49886         (ret_ERRVAL): Likewise.
49888         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
49889         use of PSEUDO_RET; perform the error check directly.
49891 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
49893         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
49894         with __int128_t.
49896 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49898         * malloc/malloc (malloc_info): Fix formatting.
49900 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49901             Roland McGrath  <roland@hack.frob.com>
49903         * malloc/malloc (malloc_info): Also print mmapped statistics.
49905 2014-05-30  Roland McGrath  <roland@hack.frob.com>
49907         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
49908         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
49910 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
49912         * malloc/malloc.c (malloc_info): Inline mi_arena.
49914 2014-05-29  Richard Henderson  <rth@twiddle.net>
49916         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
49917         Remove comma before expanding ASM_ARGS_##nr.
49918         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
49919         Make _x0 a strict output; make _x8 a strict input; adjust expansion
49920         of ASM_ARGS_##nr.
49921         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
49922         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
49923         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
49924         (ASM_ARGS_1): Add leading comma.
49926         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
49927         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
49928         to __errno_location.
49929         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
49930         Remove the expected plt for __errno_location.
49932         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49933         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
49934         call to __read_tp.
49936         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49937         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
49938         it and break it down.
49939         (DOCARGS_0, DOCARGS_1): Do nothing.
49940         (DOCARGS_2): Update to store into the new stack frame.
49941         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
49942         (UNDOCARGS_1): Update to restore from the new stack frame.
49943         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
49944         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
49946         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49947         (SINGLE_THREAD_P): New parameter for result regno.
49948         (PSEUDO): Update to match; use cbz instead of beq.
49950         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49951         Use ENTRY to define the _nocancel entry point.  Share the syscall
49952         and syscall error check paths with the cancel path.
49953         (PSEUDO_END): New.
49955         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
49956         whitespace; tabs before and after asm mnemonics.
49958 2014-05-29  Eric Wong  <normalperson@yhbt.net>
49960         [BZ #15132]
49961         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49962         Call fstat64 or stat64 internally, depending on arguments passed.
49963         Replace stat buffer argument with file descriptor argument.
49964         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
49965         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49966         Pass fd to __internal_statvfs instead of calling fstat64.
49967         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
49968         Pass fd to __internal_statvfs64 instead of calling fstat64.
49969         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
49970         Pass -1 to __internal_statvfs instead of calling stat64.
49971         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
49972         Pass -1 to __internal_statvfs64 instead of calling stat64.
49974 2014-05-28  Roland McGrath  <roland@hack.frob.com>
49976         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
49977         that was previously under [RESET_PID].
49978         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
49980         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
49981         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
49983 2014-05-27  Roland McGrath  <roland@hack.frob.com>
49985         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
49987         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
49988         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
49990 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
49992         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
49994 2014-05-27  Andreas Schwab  <schwab@suse.de>
49996         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
49997         TLS_INIT_TP macro.
49998         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
49999         * elf/rtld.c (init_tls, dl_main): Likewise.
50000         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
50001         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
50002         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
50003         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
50004         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
50005         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
50006         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
50007         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
50008         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
50009         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
50010         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
50011         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
50012         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
50013         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
50014         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
50015         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
50016         * sysdeps/generic/tls.h: Update description.
50018 2014-05-27  Will Newton  <will.newton@linaro.org>
50020         [BZ #16990]
50021         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
50022         and restore r2 rather than just restoring.
50024 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50026         [BZ #16724]
50027         * libio/tst-ftell-append.c: New test case.
50028         * libio/Makefile (tests): Add test case.
50029         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
50030         append mode.
50031         * libio/wfileops.c (do_ftell_wide): Likewise.
50033 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50037         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
50038         ...
50039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
50040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50041         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
50042         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
50043         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
50044         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
50045         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
50046         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
50047         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
50048         Moved ...
50049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
50050         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
50051         Moved ...
50052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
50053         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
50054         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
50055         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
50056         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
50057         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
50058         ...
50059         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
50060         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
50061         Moved ...
50062         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
50063         here.
50064         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
50065         ...
50066         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
50067         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
50068         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
50070         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
50071         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
50072         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
50073         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
50075         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
50076         merge into ...
50077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
50078         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
50079         ...
50080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
50081         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
50082         ...
50083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
50084         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50085         Moved ...
50086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
50087         here.
50088         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50089         Moved ...
50090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
50091         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50092         Moved ...
50093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
50095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
50096         conditional [RESET_PID].
50097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
50098         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
50099         removed.
50100         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
50101         removed.
50103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
50104         <tcb-offsets.h>.
50105         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50106         (__libc_vfork): New strong alias.
50107         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
50108         removed.
50109         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
50110         Removed.
50112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
50113         <tcb-offsets.h>.
50114         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
50115         (__libc_vfork): New strong alias.
50116         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
50117         removed.
50118         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
50119         removed.
50121 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
50123         * malloc/malloc.c (mi_arena): New function.
50124         (malloc_info): Remove nested function mi_arena. Call non-nosted
50125         function mi_arena.
50127 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50129         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
50130         by insrwi.
50131         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
50132         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
50133         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
50134         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
50135         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
50136         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
50137         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
50139 2014-05-26  Andreas Schwab  <schwab@suse.de>
50141         [BZ #16984]
50142         * locale/programs/repertoire.c (repertoire_read): Add slash
50143         between I18NPATH element and file name.
50144         * locale/programs/locfile.c (locfile_read): Likewise.
50146 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
50148         * nptl/pthread_mutexattr_settype.c
50149         (__pthread_mutexattr_settype):
50150         Disable lock elision for PTHREAD_MUTEX_NORMAL.
50152 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
50154         * nptl/tst-mutex5 (do_test):
50155         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
50157 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50159         * benchtests/README: Document 'init' directive.
50160         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
50161         BENCH_INIT.
50162         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
50163         (parse_file): Recognize 'init' directive.
50165 2014-05-26  Kyle McMartin  <kyle@redhat.com>
50167         [BZ #16796]
50168         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
50169         alignment of struct pthread.
50171 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50173         [BZ #16878]
50174         * nscd/netgroupcache.c (addgetnetgrentX): Look for
50175         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50176         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
50177         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50179 2014-05-25  Richard Henderson  <rth@twiddle.net>
50181         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50182         (SINGLE_THREAD_P_PIC): Remove.
50183         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
50184         (SINGLE_THREAD_P_PIC): Remove.
50186         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
50187         branch to syscall error ...
50188         (PSEUDO): ... here.
50189         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
50190         from __local_syscall_error to .Lsyscall_error.
50191         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
50192         (SYSCALL_ERROR): Update label name.
50194         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50195         Do not use DOARGS/UNDOARGS.
50196         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
50197         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
50198         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
50199         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
50200         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
50202         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
50203         block comment.
50205         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
50206         define if !NOT_IN_libc.
50207         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
50208         define with non-default symbol versions.
50210 2014-05-23  Richard Henderson  <rth@twiddle.net>
50212         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
50213         (vfork, __vfork): Define via compat_symbol.
50215         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
50216         [!HAVE_IFUNC] (vfork_compat): Remove.
50217         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
50219 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
50221         [BZ #16978]
50222         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
50223         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
50224         variable.
50226 2014-05-23  Richard Henderson  <rth@twiddle.net>
50228         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
50229         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
50230         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
50231         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
50233         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
50234         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
50235         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
50236         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
50237         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
50238         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
50239         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
50240         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
50241         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
50242         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
50243         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
50244         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
50245         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
50246         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
50247         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
50248         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
50249         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
50250         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
50251         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
50252         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
50253         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
50254         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
50255         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
50256         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
50257         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
50258         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
50259         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
50260         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
50261         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
50262         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
50263         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
50264         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
50265         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
50266         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
50267         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
50268         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
50269         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
50270         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
50271         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
50272         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
50273         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
50274         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
50275         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
50276         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
50277         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
50278         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
50279         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
50280         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
50281         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
50282         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
50283         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
50284         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
50285         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
50286         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
50287         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
50288         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
50290         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
50291         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
50292         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
50293         before exiting on error.
50294         (__libc_vfork): New strong alias.
50295         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
50296         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
50298         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
50299         that was previously under [RESET_PID].
50300         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
50302         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
50304 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
50306         [BZ #16977]
50307         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
50308         value when x - 1 is zero.
50309         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
50310         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
50311         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
50312         0.0L for an argument of 1.0L.
50313         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
50314         Likewise.
50315         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
50316         value when x - 1 is zero.
50317         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
50318         * sysdeps/i386/fpu/libm-test-ulps: Update.
50319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50321 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
50323         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
50324         alphasort and versionsort.
50326 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50328         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
50329         macro.
50330         [copysignf]: Likewise.
50332 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50334         * crypt/md5-crypt.c: Fix formatting.
50336 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
50338         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
50339         (b64_from_24bit): New function.
50341 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50343         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
50344         libc_hidden_builtin_def to ifunc.
50345         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
50346         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
50348 2014-05-21  Roland McGrath  <roland@hack.frob.com>
50350         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
50351         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
50353 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
50355         * nscd/Depend (linuxthreads): Remove.
50356         (nptl): Add.
50357         * resolv/Depend (linuxthreads): Remove.
50358         * rt/Depend (linuxthreads): Remove.
50360         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
50361         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
50362         $(common-objpfx)elf/.
50363         (link-libc-before-gnulib): Likewise.
50364         (elfobjdir): Remove variable.
50365         * Makefile (install): Use $(elf-objpfx) instead of
50366         $(common-objpfx)elf/.
50367         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
50368         $(elfobjdir)/.
50369         (link-libc-deps): Likewise.
50370         ($(common-objpfx)libc.so): Likewise.
50371         ($(common-objpfx)linkobj/libc.so): Likewise.
50372         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
50373         instead of $(common-objpfx)elf/.
50374         (symbolic-link-list): Likewise.
50375         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50376         [$(cross-compiling) = no]: Likewise.
50377         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
50378         $(elfobjdir)/.
50379         (static-gnulib-arch): Likewise.
50380         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50381         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
50382         $(common-objpfx)elf/.
50384 2014-05-21  Richard Henderson  <rth@redhat.com>
50386         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50387         (SINGLE_THREAD_P): Use the correct width load.  Fold
50388         into the ldr offset.
50390         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
50391         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
50393 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
50395         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
50396         (libgcc_s_resume): Use __attribute_used__.
50397         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
50398         Likewise.
50400 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50402         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
50403         optimization when used with float constants.
50405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50407 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
50409         [BZ #16915]
50410         * locale/nl_langinfo_l.c: Make direct reference to every
50411         _nl_current_CATEGORY symbol.
50412         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
50413         (tests-static): Add tst-langinfo-static.
50414         (tests-special): Add tst-langinfo-static.out.
50415         ($(objpfx)tst-langinfo.out): Redirect output.
50416         ($(objpfx)tst-langinfo-static.out): New.
50417         * localedata/tst-langinfo.sh: Send output to stdout.
50418         * localedata/tst-langinfo-static.c: New file.
50420         [BZ #16965]
50421         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
50422         when the shift amount is modulo the limb size.
50424 2014-05-20  Richard Henderson  <rth@redhat.com>
50426         [BZ #16967]
50427         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
50428         Change type of sa_flags from unsigned int to int.
50430         [BZ #16966]
50431         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
50433         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
50435 2014-05-20  Will Newton  <will.newton@linaro.org>
50437         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50438         Test the return value of the system call in the nocancel case.
50440 2014-05-20  Will Newton  <will.newton@linaro.org>
50441             Yvan Roux  <yvan.roux@linaro.org>
50443         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
50444         #include of asm/ptrace.h.
50445         (PTRACE_GET_THREAD_AREA): Remove #undef.
50446         (PTRACE_GETHBPREGS): Likewise.
50447         (PTRACE_SETHBPREGS): Likewise.
50448         (struct user_regs_struct): New structure.
50449         (struct user_fpsimd_struct): New structure.
50450         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
50451         #include of asm/ptrace.h and second #include of sys/user.h.
50452         (PTRACE_GET_THREAD_AREA): Remove #undef.
50453         (PTRACE_GETHBPREGS): Likewise.
50454         (PTRACE_SETHBPREGS): Likewise.
50455         (ELF_NGREG): Use new struct user_regs_struct.
50456         (elf_fpregset_t): Use new struct user_fpsimd_struct.
50458 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50460         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
50461         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
50463 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
50465         [BZ #16958]
50466         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
50467         membar to avoid block loads/stores to overlap previous stores.
50469 2014-05-17  Richard Henderson  <rth@redhat.com>
50471         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
50472         Create the __##syscall_name##_nocancel entry point.
50473         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
50474         Remove; let the sysdep-cancel.h code create it.
50476 2014-05-17  David S. Miller  <davem@davemloft.net>
50478         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
50479         Protect with __USE_GNU.
50480         (TIOCSET_TEMPT): Likewise.
50481         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
50482         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
50483         these are already provided in bits/ioctl-types.h
50485 2014-05-16  Roland McGrath  <roland@hack.frob.com>
50487         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
50488         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
50490         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
50491         Use wait4 regardless of [__NR_waitpid].
50493 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50495         PR libgcc/60166
50496         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50497         (_FP_NANSIGN_Q): Set the quiet bit.
50499 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
50501         * benchtests/Makefile
50502         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
50503         not $(common-objpfx)math/libm.so.
50504         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
50505         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
50506         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
50507         $(common-objpfx)dlfcn/libdl.so.
50508         ($(objpfx)tst-audit8): Depend on $(libm), not
50509         $(common-objpfx)math/libm.so.
50510         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
50511         not $(common-objpfx)dlfcn/libdl.so.
50512         * math/Makefile
50513         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50514         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
50515         [$(build-shared) = yes].
50516         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
50517         $(common-objpfx)nptl/libpthread.so.
50518         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
50519         $(common-objpfx)math/libm.so$(libm.so-version) or
50520         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
50521         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
50522         $(common-objpfx)dlfcn/libdl.so.
50523         * setjmp/Makefile (link-libm): Remove variable.
50524         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
50525         * stdio-common/Makefile (link-libm): Remove variable.
50526         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
50527         * stdlib/Makefile (link-libm): Remove variable.
50528         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
50529         ($(objpfx)tst-strtod-round): Likewise.
50530         ($(objpfx)tst-tininess): Likewise.
50531         ($(objpfx)tst-strtod-underflow): Likewise.
50532         ($(objpfx)tst-strtod6): Likewise.
50533         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
50534         $(libdl), not $(common-objpfx)nptl/libpthread.so and
50535         $(common-objpfx)dlfcn/libdl.so.
50537 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50539         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
50540         BSD terminal modes definitions.
50542 2014-05-16  Roland McGrath  <roland@hack.frob.com>
50544         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
50545         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
50547         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
50548         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
50549         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
50550         Don't do #include_next.
50551         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
50552         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
50553         Don't do #include_next.
50554         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
50555         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
50556         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
50557         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
50559 2014-05-16  Allan McRae  <allan@archlinux.org>
50561         * po/sv.po: Update Swedish translation from translation project.
50563         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
50564         in sed expression.
50566 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
50568         [BZ #16917]
50569         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
50570         errno if the TIOCGPTN ioctl fails with an error different than
50571         EINVAL.
50572         * login/tst-ptsname.c: New file.
50573         * login/Makefile (tests): Add tst-ptsname.
50575         [BZ #16943]
50576         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
50577         and prlimit64.
50579 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50581         [BZ #16849]
50582         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
50583         herrno to return EAI_AGAIN.
50585 2014-05-14  Roland McGrath  <roland@hack.frob.com>
50587         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
50588         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
50589         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
50590         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
50591         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
50592         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
50593         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
50594         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
50595         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
50596         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
50597         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
50598         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
50599         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
50600         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
50601         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
50602         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
50603         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
50604         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
50605         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
50606         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
50607         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
50608         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
50609         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
50610         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
50611         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
50612         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
50613         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
50614         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
50615         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
50616         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
50617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
50618         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
50619         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
50620         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
50621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50622         Moved ...
50623         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
50624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
50625         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
50626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
50627         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
50628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
50629         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
50630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
50631         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
50632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
50633         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
50634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
50635         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
50636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
50637         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
50638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
50639         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
50640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
50641         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
50642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
50643         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
50644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
50645         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
50646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
50647         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
50648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
50649         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
50650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50651         Moved ...
50652         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
50653         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
50654         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
50655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
50656         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
50657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
50658         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
50659         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
50660         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
50661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
50662         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
50663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
50664         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
50665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
50666         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
50667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
50668         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
50669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
50670         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
50671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50672         Moved ...
50673         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
50674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
50675         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
50677         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
50678         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
50679         (libpthread-sysdep_routines): Add elision-related stuff here instead.
50680         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
50681         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
50682         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
50683         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
50684         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
50685         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
50686         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
50687         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
50688         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
50689         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
50690         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
50691         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
50692         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
50693         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
50694         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
50695         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
50696         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
50697         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
50698         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
50699         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
50700         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
50701         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
50702         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
50703         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
50704         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
50705         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
50706         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
50707         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
50709         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
50710         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
50712         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
50713         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
50714         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
50715         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
50716         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
50717         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
50718         Moved ...
50719         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
50720         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
50721         Moved ...
50722         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
50723         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
50724         Moved ...
50725         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
50726         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
50727         Moved ...
50728         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
50729         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
50730         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
50731         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
50732         Moved ...
50733         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
50734         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
50735         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
50736         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
50737         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
50738         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
50739         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
50740         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
50741         Moved ...
50742         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
50743         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50744         Moved ...
50745         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50746         ... here.
50747         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
50748         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
50749         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
50750         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
50751         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50752         Moved ...
50753         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50754         ... here.
50755         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
50756         Moved ...
50757         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
50758         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
50759         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
50760         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
50761         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
50762         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
50763         Moved ...
50764         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
50765         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
50766         Moved ...
50767         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
50768         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
50769         Moved ...
50770         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
50771         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
50772         Moved ...
50773         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
50774         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
50775         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
50776         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
50777         Moved ...
50778         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
50779         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
50780         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
50781         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
50782         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
50783         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
50784         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
50785         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
50786         Moved ...
50787         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
50788         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50789         Moved ...
50790         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50791         ... here.
50792         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
50793         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
50794         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
50795         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
50796         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50797         Moved ...
50798         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50799         ... here.
50800         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
50801         Moved ...
50802         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
50803         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
50804         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
50805         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
50806         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
50807         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
50808         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
50809         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
50810         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
50811         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
50812         Moved ...
50813         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
50814         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
50815         Moved ...
50816         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
50817         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
50818         Moved ...
50819         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
50820         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
50821         Moved ...
50822         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
50823         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
50824         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
50825         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
50826         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
50827         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
50828         Moved ...
50829         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
50830         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
50831         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
50832         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
50833         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
50834         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
50835         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
50836         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
50837         Moved ...
50838         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
50839         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50840         Moved ...
50841         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50842         ... here.
50843         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
50844         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
50845         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
50846         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
50847         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50848         Moved ...
50849         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50850         ... here.
50851         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
50852         Moved ...
50853         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
50854         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
50855         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
50856         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
50857         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
50858         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
50859         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
50860         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
50861         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
50862         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
50863         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
50865         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
50866         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
50868         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
50869         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
50871         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
50872         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
50873         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
50874         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
50875         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
50876         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
50877         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
50878         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
50879         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
50880         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
50881         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
50882         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
50883         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
50884         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
50885         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
50886         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
50887         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
50888         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
50889         Moved ...
50890         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
50891         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
50892         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
50893         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
50894         Moved ...
50895         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
50896         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
50897         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
50898         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
50899         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
50900         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
50901         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
50902         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
50903         Moved ...
50904         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
50905         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
50906         Moved ...
50907         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
50908         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
50909         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
50910         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
50911         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
50912         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
50913         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
50914         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
50915         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
50916         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
50917         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
50918         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
50919         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
50920         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
50921         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
50922         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
50923         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
50925         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
50926         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
50927         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
50928         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
50929         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
50931         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
50932         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
50933         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
50934         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
50935         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
50936         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
50937         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
50938         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
50939         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
50940         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
50942         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
50943         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
50945         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
50946         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
50947         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
50948         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
50949         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
50950         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
50951         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
50952         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
50953         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
50954         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
50955         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
50956         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
50957         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
50958         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
50959         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
50960         Update #include.
50961         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
50962         Likewise.
50963         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50964         Likewise.
50965         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50966         Likewise.
50967         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50968         Likewise.
50969         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
50970         Likewise.
50971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
50972         Likewise.
50973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
50974         Likewise.
50975         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
50976         Likewise.
50977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
50978         Likewise.
50979         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
50980         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
50981         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
50982         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
50983         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
50984         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
50985         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
50986         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
50987         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
50988         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
50989         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
50990         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
50991         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
50992         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
50993         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
50995         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
50996         that was previously under [RESET_PID].
50997         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
50998         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
50999         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
51001         * sysdeps/i386/nptl/Implies: New file.
51002         * sysdeps/x86_64/nptl/Implies: New file.
51003         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
51004         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
51005         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
51006         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
51008         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
51009         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51010         (__libc_vfork): New strong alias.
51011         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
51012         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
51014         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
51015         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51016         (__libc_vfork): New strong alias.
51017         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
51018         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
51020         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
51021         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51022         (__libc_vfork): New strong alias.
51023         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
51024         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
51025         * nptl/pt-vfork.c: New file.
51026         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
51027         (libpthread: GLIBC_2.20): New version set (empty).
51029 2014-05-14  Will Newton  <will.newton@linaro.org>
51031         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
51032         rather than #if.
51034 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
51036         [BZ #16564]
51037         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
51038         arguments with exponent 65 or above.
51039         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
51040         arguments 0x1p113L or above.
51041         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
51042         to arguments 0x1p107L or above.
51043         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
51044         positive arguments with exponent 65 or above.
51045         * math/auto-libm-test-in: Add more tests of log1p.
51046         * math/auto-libm-test-out: Regenerated.
51048         [BZ #16928]
51049         * math/s_cacos.c (__cacos): Ensure zero real part of result from
51050         non-finite arguments is +0.
51051         * math/s_cacosf.c (__cacosf): Likewise.
51052         * math/s_cacosl.c (__cacosl): Likewise.
51053         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
51054         * sysdeps/i386/fpu/libm-test-ulps: Update.
51055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51057         [BZ #16927]
51058         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
51059         value.
51060         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
51061         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
51062         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
51063         for explicit high bit of mantissa when testing for argument equal
51064         to 1.
51065         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
51066         * sysdeps/i386/fpu/libm-test-ulps: Update.
51067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51069         [BZ #16516]
51070         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
51071         (__erf): Scale by 16 instead of 8 in potentially underflowing
51072         case.  Ensure exception if result actually underflows.
51073         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
51074         (__erff): Scale by 16 instead of 8 in potentially underflowing
51075         case.  Ensure exception if result actually underflows.
51076         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
51077         (efx8): Remove variable.
51078         (__erfl): Scale by 16 instead of 8 in potentially underflowing
51079         case.  Ensure exception if result actually underflows.
51080         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
51081         (efx8): Remove variable.
51082         (__erfl): Scale by 16 instead of 8 in potentially underflowing
51083         case.  Ensure exception if result actually underflows.
51084         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
51085         (efx8): Remove variable.
51086         (__erfl): Scale by 16 instead of 8 in potentially underflowing
51087         case.  Ensure exception if result actually underflows.
51088         * math/auto-libm-test-in: Add more tests of erf.
51089         * math/auto-libm-test-out: Regenerated.
51091 2014-05-14  Andreas Schwab  <schwab@suse.de>
51093         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
51094         Remove code conditionalized on USE___THREAD.
51096         * config.h.in (HAVE_PT_CHOWN): Define as 0.
51097         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
51098         not definedness.
51100 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
51102         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
51103         Define unconditionally.
51104         (__ASSUME_O_CLOEXEC): Likewise.
51105         (__ASSUME_SOCK_CLOEXEC): Likewise.
51106         (__ASSUME_IN_NONBLOCK): Likewise.
51107         (__ASSUME_PIPE2): Likewise.
51108         (__ASSUME_EVENTFD2): Likewise.
51109         (__ASSUME_SIGNALFD4): Likewise.
51110         (__ASSUME_DUP3): Likewise.
51111         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51112         (__ASSUME_DUP3): Do not define.
51113         (__ASSUME_EVENTFD2): Likewise.
51114         (__ASSUME_IN_NONBLOCK): Likewise.
51115         (__ASSUME_O_CLOEXEC): Likewise.
51116         (__ASSUME_PIPE2): Likewise.
51117         (__ASSUME_SIGNALFD4): Likewise.
51118         (__ASSUME_SOCK_CLOEXEC): Likewise.
51119         (__ASSUME_UTIMES): Undefine.
51120         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51121         (__ASSUME_UTIMES): Do not define.
51122         (__ASSUME_O_CLOEXEC): Likewise.
51123         (__ASSUME_SOCK_CLOEXEC): Likewise.
51124         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
51125         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
51126         0x020621].
51127         (__ASSUME_PIPE2): Likewise.
51128         (__ASSUME_EVENTFD2): Likewise.
51129         (__ASSUME_SIGNALFD4): Likewise.
51130         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
51131         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
51132         Do not define.
51133         (__ASSUME_EVENTFD2): Likewise.
51134         (__ASSUME_SIGNALFD4): Likewise.
51135         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
51136         (__ASSUME_32BITUIDS): Likewise.
51137         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
51138         (__ASSUME_IPC64): Likewise.
51139         (__ASSUME_ST_INO_64_BIT): Likewise.
51140         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
51141         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
51142         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51143         (__ASSUME_UTIMES): Do not define.
51144         (__ASSUME_PSELECT): Likewise.
51145         (__ASSUME_PPOLL): Likewise.
51146         (__ASSUME_O_CLOEXEC): Likewise.
51147         (__ASSUME_SOCK_CLOEXEC): Likewise.
51148         (__ASSUME_IN_NONBLOCK): Likewise.
51149         (__ASSUME_PIPE2): Likewise.
51150         (__ASSUME_EVENTFD2): Likewise.
51151         (__ASSUME_SIGNALFD4): Likewise.
51152         (__ASSUME_DUP3): Likewise.
51153         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51154         (__ASSUME_UTIMES): Likewise.
51155         (__ASSUME_O_CLOEXEC): Likewise.
51156         (__ASSUME_SOCK_CLOEXEC): Likewise.
51157         (__ASSUME_IN_NONBLOCK): Likewise.
51158         (__ASSUME_PIPE2): Likewise.
51159         (__ASSUME_EVENTFD2): Likewise.
51160         (__ASSUME_SIGNALFD4): Likewise.
51161         (__ASSUME_DUP3): Likewise.
51162         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51163         (__ASSUME_UTIMES): Likewise.
51164         (__ASSUME_O_CLOEXEC): Likewise.
51165         (__ASSUME_SOCK_CLOEXEC): Likewise.
51166         (__ASSUME_IN_NONBLOCK): Likewise.
51167         (__ASSUME_PIPE2): Likewise.
51168         (__ASSUME_EVENTFD2): Likewise.
51169         (__ASSUME_SIGNALFD4): Likewise.
51170         (__ASSUME_DUP3): Likewise.
51171         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
51172         Likewise.
51173         (__ASSUME_UTIMES): Likewise.
51174         (__ASSUME_EVENTFD2): Likewise.
51175         (__ASSUME_SIGNALFD4): Likewise.
51176         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51177         (__ASSUME_O_CLOEXEC): Likewise.
51178         (__ASSUME_SOCK_CLOEXEC): Likewise.
51179         (__ASSUME_IN_NONBLOCK): Likewise.
51180         (__ASSUME_PIPE2): Likewise.
51181         (__ASSUME_EVENTFD2): Likewise.
51182         (__ASSUME_SIGNALFD4): Likewise.
51183         (__ASSUME_DUP3): Likewise.
51184         (__ASSUME_UTIMES): Undefine.
51186         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
51187         feclearexcept.  Remove symbol versioning code.
51188         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
51189         symbol versioning code.
51190         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
51191         symbol versioning code.
51192         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
51193         feupdateenv.  Remove symbol versioning code.
51194         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
51195         fegetexceptflag.  Remove symbol versioning code.
51196         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
51197         fesetexceptflag.  Remove symbol versioning code.
51198         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
51199         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
51200         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
51201         (__posix_fadvise64_l32): Remove prototype.
51202         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
51203         code.
51205 2014-05-13  Roland McGrath  <roland@hack.frob.com>
51207         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
51208         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
51209         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
51210         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
51212 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
51214         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
51215         current working directory
51217 2014-05-13  Roland McGrath  <roland@hack.frob.com>
51219         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
51220         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
51221         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
51222         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
51223         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
51224         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
51225         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
51226         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
51227         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
51228         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
51229         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
51230         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
51231         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
51232         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
51233         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
51234         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
51235         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
51236         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
51237         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
51238         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
51239         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
51240         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
51241         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
51242         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
51243         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
51244         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
51245         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
51246         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
51247         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
51248         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
51249         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
51250         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
51251         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
51252         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
51253         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
51254         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
51255         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
51256         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
51257         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
51258         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
51259         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
51260         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
51262         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
51263         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
51265         * sysdeps/unix/sysv/linux/arm/Makefile
51266         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
51267         Add rt-aeabi_unwind_cpp_pr1.
51268         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
51269         Add nptl-aeabi_unwind_cpp_pr1.
51270         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
51271         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
51272         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
51273         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
51274         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
51275         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
51277         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
51278         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
51279         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
51280         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
51282         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
51283         Deconditionalize the code that was previously under [RESET_PID].
51284         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
51286         * sysdeps/generic/exit-thread.h: New file.
51287         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
51288         * include/unistd.h (__exit_thread): Remove declaration.
51289         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
51290         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
51291         * csu/libc-start.c: Include <exit-thread.h>.
51292         (LIBC_START_MAIN): Pass no argument to __exit_thread.
51293         * nptl/pthread_create.c: Include <exit-thread.h>.
51294         (start_thread): Call __exit_thread in place of __exit_thread_inline.
51295         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
51296         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
51297         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
51298         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
51299         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
51300         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
51301         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
51302         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
51303         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
51304         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
51305         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
51306         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
51307         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
51308         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
51309         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
51310         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
51312 2014-05-13  Andreas Schwab  <schwab@suse.de>
51314         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
51316 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
51318         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
51319         (__ASSUME_UTIMES): Do not condition on kernel version.
51320         (__ASSUME_PSELECT): Define unconditionally.
51321         (__ASSUME_PPOLL): Likewise.
51322         (__ASSUME_ATFCTS): Likewise.
51323         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
51324         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
51325         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
51326         (__ASSUME_UTIMENSAT): Define unconditionally.
51327         (__ASSUME_PRIVATE_FUTEX): Likewise.
51328         (__ASSUME_FALLOCATE): Likewise.
51329         (__ASSUME_O_CLOEXEC): Likewise.
51330         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
51331         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
51332         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
51333         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
51334         (__ASSUME_IN_NONBLOCK): Likewise.
51335         (__ASSUME_PIPE2): Likewise.
51336         (__ASSUME_EVENTFD2): Likewise.
51337         (__ASSUME_SIGNALFD4): Likewise.
51338         (__ASSUME_DUP3): Likewise.
51339         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51340         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
51341         (__ASSUME_AT_RANDOM): Likewise.
51342         (__ASSUME_PREADV): Likewise.
51343         (__ASSUME_PWRITEV): Likewise.
51344         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
51345         (__ASSUME_F_GETOWN_EX): Define unconditionally.
51346         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
51347         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
51348         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
51349         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51350         (__ASSUME_O_CLOEXEC): Define unconditionally.
51351         (__ASSUME_PSELECT): Do not undefine conditionally.
51352         (__ASSUME_PPOLL): Likewise.
51353         (__ASSUME_ATFCTS): Likewise.
51354         (__ASSUME_SET_ROBUST_LIST): Likewise.
51355         (__ASSUME_UTIMENSAT): Likewise.
51356         (__ASSUME_FDATASYNC): Define unconditionally.
51357         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51358         (__ASSUME_SIGFRAME_V2): Likewise.
51359         )__ASSUME_EVENTFD2): Likewise.
51360         (__ASSUME_SIGNALFD4): Likewise.
51361         (__ASSUME_PSELECT): Do not undefine conditionally.
51362         (__ASSUME_PPOLL): Likewise.
51363         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51364         (__ASSUME_PSELECT): Define unconditionally.
51365         (__ASSUME_PPOLL): Likewise.
51366         (__ASSUME_O_CLOEXEC): Likewise.
51367         (__ASSUME_SOCK_CLOEXEC): Likewise.
51368         (__ASSUME_IN_NONBLOCK): Likewise.
51369         (__ASSUME_PIPE2): Likewise.
51370         (__ASSUME_EVENTFD2): Likewise.
51371         (__ASSUME_SIGNALFD4): Likewise.
51372         (__ASSUME_DUP3): Likewise.
51373         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51374         (__ASSUME_O_CLOEXEC): Likewise.
51375         (__ASSUME_SOCK_CLOEXEC): Likewise.
51376         (__ASSUME_IN_NONBLOCK): Likewise.
51377         (__ASSUME_PIPE2): Likewise.
51378         (__ASSUME_EVENTFD2): Likewise.
51379         (__ASSUME_SIGNALFD4): Likewise.
51380         (__ASSUME_DUP3): Likewise.
51381         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51382         (__ASSUME_EVENTFD2): Likewise.
51383         (__ASSUME_SIGNALFD4): Likewise.
51384         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51386 2014-05-12  Andreas Schwab  <schwab@suse.de>
51388         [BZ #16932]
51389         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
51390         (_nss_nis_gethostbyname4_r): Return error if item length is larger
51391         than maximum RPC packet size.
51392         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
51393         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
51394         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
51395         (_nss_nis_getservbyport_r): Likewise.
51397 2014-05-12  Will Newton  <will.newton@linaro.org>
51399         * malloc/Makefile (tests): Add tst-mallopt.
51400         * malloc/tst-mallopt.c: New file.
51402 2014-05-09  Roland McGrath  <roland@hack.frob.com>
51404         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
51405         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
51407 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51409         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
51410         (tst-tlsmod6.so): Likewise.
51412 2014-05-09  Roland McGrath  <roland@hack.frob.com>
51414         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
51416 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
51418         [BZ #16064]
51419         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
51420         and <dl-procinfo.h>.
51421         (__fegetenv): Save SSE state in envp->__eip if supported.
51422         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
51423         envp->__eip if supported.
51424         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
51425         and <dl-procinfo.h>.
51426         (__fesetenv): Always set __eip, __cs_selector, __opcode,
51427         __data_offset and __data_selector in environment to 0.  Set SSE
51428         state if supported.
51429         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
51430         test-fenv-sse.
51431         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
51432         -mfpmath=sse.
51433         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
51435 2014-05-09  Will Newton  <will.newton@linaro.org>
51437         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
51438         and libc_relro_required for ARM.
51439         * sysdeps/arm/preconfigure: Regenerate.
51441 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
51442             Stefan Liebler  <stli@linux.vnet.ibm.com>
51444         * config.make.in (enable-lock-elision): New Makefile variable.
51445         * configure.ac: Likewise.
51446         * configure: Regenerate.
51447         * sysdeps/s390/configure.ac:
51448         Add check for gcc transactions support.
51449         * sysdeps/s390/configure: Regenerate.
51450         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
51451         Build elision files if enabled.
51452         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
51453         Add lock elision support for s390.
51454         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
51455         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
51456         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
51457         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
51458         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
51459         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
51460         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
51461         Likewise.
51462         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
51463         Likewise.
51464         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
51465         Likewise.
51466         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
51467         Likewise.
51468         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
51469         (__lll_timedlock_elision, __lll_lock_elision)
51470         (__lll_unlock_elision, __lll_trylock_elision)
51471         (lll_timedlock_elision, lll_lock_elision)
51472         (lll_unlock_elision, lll_trylock_elision): Add.
51473         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51474         (pthread_mutex_t): Add lock elision support for s390.
51476 2014-05-14  Wilco  <wdijkstr@arm.com>
51478         * sysdeps/arm/fclrexcpt.c: Cleanup.
51479         * sysdeps/arm/fedisblxcpt.c: Cleanup.
51480         * sysdeps/arm/feenablxcpt.c: Cleanup.
51481         * sysdeps/arm/fegetenv.c: Cleanup.
51482         * sysdeps/arm/fegetexcept.c: Cleanup.
51483         * sysdeps/arm/fegetround.c: Cleanup.
51484         * sysdeps/arm/feholdexcpt.c: Cleanup.
51485         * sysdeps/arm/fesetenv.c: Cleanup.
51486         * sysdeps/arm/fesetround.c: Cleanup.
51487         * sysdeps/arm/feupdateenv.c: Cleanup.
51488         * sysdeps/arm/fgetexcptflg.c: Cleanup.
51489         * sysdeps/arm/fraiseexcpt.c: Cleanup.
51490         * sysdeps/arm/fsetexcptflg.c: Cleanup.
51491         * sysdeps/arm/ftestexcept.c: Cleanup.
51492         * sysdeps/arm/get-rounding-mode.h: Cleanup.
51493         * sysdeps/arm/setfpucw.c: Cleanup.
51495 2014-05-09  Will Newton  <will.newton@linaro.org>
51497         * sysdeps/arm/armv7/strcmp.S: New file.
51498         * NEWS: Mention addition of ARMv7 optimized strcmp.
51500 2014-05-08  Roland McGrath  <roland@hack.frob.com>
51502         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
51503         look for %.ac rather than %.in.
51505         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
51506         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
51507         * sysdeps/mach/hurd/configure: Regenerated.
51508         * sysdeps/unix/sysv/linux/configure: Regenerated.
51510         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
51512 2014-05-07  Steve Ellcey  <sellcey@mips.com>
51514         [BZ #16922]
51515         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
51516         (LONG_SUB): Ditto.
51517         (PTR_SUB): Ditto.
51519 2014-05-07  Andreas Schwab  <schwab@suse.de>
51521         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
51522         when skipping over non-matching result from nscd.
51524 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
51526         [BZ #16876]
51527         * nptl/sockperf.c (client): Check socket return value.
51529         [BZ #16877]
51530         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
51531         nscd security class.
51533 2014-05-06  Roland McGrath  <roland@hack.frob.com>
51535         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
51536         * sysdeps/arm/unwind.h: ... here.
51538 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
51540         [BZ #16916]
51541         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
51542         Define.
51544 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51546         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
51547         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
51548         multiarch strncpy for PPC64.
51549         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
51550         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
51551         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
51552         multiarch optimizations.
51553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51554         (__libc_ifunc_impl_list): Likewise.
51555         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
51556         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
51557         multiarch stpncpy for PPC64.
51558         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
51559         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
51561 2014-05-06  Andreas Schwab  <schwab@suse.de>
51563         [BZ #16912]
51564         * gmon/mcount.c (_MCOUNT_DECL): Use
51565         atomic_compare_and_exchange_bool_acq instead of
51566         catomic_compare_and_exchange_bool_acq.
51568 2014-05-05  Roland McGrath  <roland@hack.frob.com>
51570         * elf/Makefile (others, install-bin): Remove pldd.
51571         (pldd-modules): Variable removed.
51572         ($(objpfx)pldd): Target removed.
51573         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
51574         (others, install-bin): Append pldd here.
51575         ($(objpfx)pldd): New target.
51577         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
51578         to 0, so the first #if test emitted later doesn't see it undefined.
51579         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
51580         * sysdeps/gnu/errlist.c: Regenerated.
51582 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51584         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51585         [libc_hidden_builtin_def]: Define to empty value.
51586         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
51587         [libc_hidden_builtin_def]: Likewise.
51588         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
51589         [libc_hidden_builtin_def]: Likewise.
51590         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
51591         [libc_hidden_builtin_def]: Likewise.
51592         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
51593         __redirect_memcpy and define ifunc as default hidden symbol.
51594         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
51595         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
51597 2014-05-04  Adam Conrad  <adconrad@0c3.net>
51599         * locale/iso-4217.def: Reintroduce XDR currency.
51601 2014-05-04  Allan McRae  <allan@archlinux.org>
51603         * po/eo.po: Update Esperanto translation from translation project.
51605 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
51607         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
51608         and FEATURE_INDEX_MAX to 1.
51609         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
51611 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51613         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
51614         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
51615         * iconvdata/big5.c (ONE_DIRECTION): Define.
51616         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
51617         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
51618         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
51619         * iconvdata/cp932.c (ONE_DIRECTION): Define.
51620         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
51621         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
51622         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
51623         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
51624         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
51625         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
51626         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
51627         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
51628         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
51629         * iconvdata/gbk.c (ONE_DIRECTION): Define.
51630         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
51631         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
51632         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
51633         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
51634         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
51635         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
51636         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
51637         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
51638         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
51639         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
51640         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
51641         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
51642         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
51643         * iconvdata/iso646.c (ONE_DIRECTION): Define.
51644         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
51645         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
51646         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
51647         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
51648         * iconvdata/johab.c (ONE_DIRECTION): Define.
51649         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
51650         * iconvdata/sjis.c (ONE_DIRECTION): Define.
51651         * iconvdata/t.61.c (ONE_DIRECTION): Define.
51652         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
51653         * iconvdata/tscii.c (ONE_DIRECTION): Define.
51654         * iconvdata/uhc.c (ONE_DIRECTION): Define.
51655         * iconvdata/unicode.c (ONE_DIRECTION): Define.
51656         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
51657         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
51658         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
51660 2014-05-01  Roland McGrath  <roland@hack.frob.com>
51662         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
51663         (_IO_JUMPS_OFFSET): Define to 0.
51665         * nptl/sysdeps/pthread/bits/libc-lock.h
51666         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
51667         (__libc_lock_define_initialized_recursive): Always define using
51668         initializer.  Modern compilers treat uninitialized (implicit zero) and
51669         explicit zero initializers the same (i.e. put the datum in bss).
51671 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51673         * nscd/nscd-client.h: Include <string.h>.
51675 2014-05-01  David S. Miller  <davem@davemloft.net>
51677         [BZ #16885]
51678         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
51679         multiple zero bytes exist at the end of a string.
51680         Reported by Aurelien Jarno <aurelien@aurel32.net>
51682         * string/test-strcmp.c (check): Add explicit test for situations where
51683         there are multiple zero bytes after the first.
51685 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51687         [BZ #16890]
51688         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
51689         when compiling wprintf.
51690         * stdio-common/tstdiomisc.c (t3): New function.
51691         (main): Call it.
51693 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51695         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
51696         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
51697         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
51698         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
51700 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51702         * stdlib/longlong.h: Updated from GCC.
51704 2014-05-01  Will Newton  <will.newton@linaro.org>
51705             Bernard Ogden  <bernie.ogden@linaro.org>
51707         * NEWS: Update fixed bug list.
51709         [BZ #15119]
51710         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
51712 2014-04-30  David S. Miller  <davem@davemloft.net>
51714         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
51715         (libc_feholdexcept_setround_sparc_ctx): New function.
51716         (libc_fesetenv_sparc_ctx): Likewise.
51717         (libc_feupdateenv_sparc_ctx): Likewise.
51718         (libc_feholdsetround_sparc_ctx): Likewise.
51719         (libc_feholdexcept_setround_ctx): Define.
51720         (libc_feholdexcept_setroundf_ctx): Likewise.
51721         (libc_feholdexcept_setroundl_ctx): Likewise.
51722         (libc_fesetenv_ctx): Likewise.
51723         (libc_fesetenvf_ctx): Likewise.
51724         (libc_fesetenvl_ctx): Likewise.
51725         (libc_feupdateenv_ctx): Likewise.
51726         (libc_feupdateenvf_ctx): Likewise.
51727         (libc_feupdateenvl_ctx): Likewise.
51728         (libc_feresetround_ctx): Likewise.
51729         (libc_feresetroundf_ctx): Likewise.
51730         (libc_feresetroundl_ctx): Likewise.
51731         (libc_feholdsetround_ctx): Likewise.
51732         (libc_feholdsetroundf_ctx): Likewise.
51733         (libc_feholdsetroundl_ctx): Likewise.
51735         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51736         with __USE_GNU instead of XOPEN cpp guards.
51738         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
51739         0.
51741         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51742         with XOPEN cpp guards.
51744 2014-04-30  Julian Brown  <julian@codesourcery.com>
51746         [BZ #16888]
51747         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
51748         handling.
51750 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
51752         [BZ #9894]
51753         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
51754         Change to 2.6.32.
51755         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
51756         * sysdeps/unix/sysv/linux/configure: Regenerated.
51757         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
51758         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
51759         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
51760         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
51761         * README: Update reference to required Linux kernel version.
51762         * manual/install.texi (Linux): Update reference to required Linux
51763         kernel headers version.
51764         * INSTALL: Regenerated.
51766         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
51767         header inclusion.
51768         [POSIX] (limits.h): Likewise.
51769         [POSIX] (math.h): Likewise.
51770         [POSIX] (sys/wait.h): Likewise.
51771         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
51772         function.
51773         [POSIX] (stddef.h): Do not allow header inclusion.
51775 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51777         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
51779 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
51781         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
51782         Return immediately after lll_futex_wake.
51784 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51786         [BZ #16791]
51787         * nscd/nscd-client.h (datahead_init_common): Initialize entire
51788         structure.
51789         (datahead_init_pos): Call datahead_init_common early.
51790         (datahead_init_neg): Likewise.
51792         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
51793         datahead_init_neg): New functions.
51794         * nscd/aicache.c (addhstaiX): Use them.
51795         * nscd/grpcache.c (cache_addgr): Likewise.
51796         * nscd/hstcache.c (cache_addhst): Likewise.
51797         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51798         * nscd/netgroupcache.c (do_notfound): Likewise.
51799         (addgetnetgrentX): Likewise.
51800         (addinnetgrX): Likewise.
51801         * nscd/pwdcache.c (cache_addpw): Likewise.
51802         * nscd/servicescache.c (cache_addserv): Likewise.
51804 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51805             Atsushi Onoe  <atsushi@onoe.org>
51807         [BZ #14308]
51808         [BZ #12994]
51809         [BZ #13651]
51810         * resolv/res_query.c (__libc_res_nsearch): Return if at least
51811         one response is valid.
51812         * resolv/res_send.c (send_dg): Check for validity of other
51813         response if the current response is a referral.
51815 2014-04-29  Steve Ellcey  <sellcey@mips.com>
51817         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
51819 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
51821         [BZ #16823]
51822         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
51823         Always divide by positive zero when computing -Inf result.
51824         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51825         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
51827 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51829         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
51830         FPSCR if value do not change.
51831         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
51832         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
51833         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
51834         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
51835         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
51836         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
51837         function.
51839 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
51841         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
51842         * sysdeps/unix/sysv/linux/hppa: Move directory from
51843         ports/systeps/unix/sysv/linux/hppa.
51844         * README: Update listing for hppa-*-linux-gnu.
51846 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
51848         [BZ #16754]
51849         * manual/stdio.texi (Hook functions): Fix types of stream hook
51850         functions.
51851         [BZ #16854]
51852         * socket/sys/socket.h: Fix typo in comment.
51854 2014-04-28  Wilco  <wdijkstr@arm.com>
51856         * sysdeps/arm/fenv_private.h: New file.
51857         * sysdeps/arm/math_private.h: New file.
51858         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
51860 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
51862         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
51863         with __int128_t.
51864         (La_x86_64_retval): Likewise.
51866 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
51868         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
51869         fpsr if value didn't change.
51870         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
51871         to fpcr if value didn't change.
51872         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
51873         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
51874         fpsr or fpcr if value didn't change.
51875         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51876         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
51877         fpcr if value didn't change.
51878         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
51879         to fpsr if value didn't change.
51881 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51883         * nptl/tst-sem3.c: Use test-skeleton.c
51884         (main): Rename to do_test.  Use return instead of
51885         exit.
51886         * nptl/tst-sem4.c: Use test-skeleton.c
51887         (main): Rename to do_test.
51889 2014-04-22  David S. Miller  <davem@davemloft.net>
51891         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
51892         (struct sigaction): New struct member __glibc_reserved0, change
51893         type of sa_flags to int.
51895 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
51897         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
51898         (COUNT_LEADING_ZEROS_0): Define for AArch64.
51900 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51902         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
51903         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
51905 2014-04-22  Will Newton  <will.newton@linaro.org>
51906             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
51908         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
51909         (__longjmp): Add longjmp and longjmp_target SystemTap
51910         probes.
51911         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
51912         (__sigsetjmp): Add setjmp SystemTap probe.
51914 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
51916         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
51917         match manual order.
51919 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51921         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
51923         * sysdeps/powerpc/fpu/fenv_private.h
51924         (libc_feholdexcept_setroundl_ctx): Define to
51925         libc_feholdexcept_setround_ppc_ctx.
51926         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
51927         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
51928         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
51929         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
51931 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51933         * sysdeps/aarch64/math-tests.h: New file.
51935 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
51937         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
51938         New.
51939         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51940         Check and set bit_AVX2_Usable.
51941         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
51942         macro.
51943         (bit_AVX2): Likewise.
51944         (index_AVX2_Usable): Likewise.
51945         (CPUID_AVX2): Likewise.
51946         (HAS_AVX2): Likewise.
51948 2014-04-17  Will Newton  <will.newton@linaro.org>
51950         * manual/setjmp.texi (System V contexts): Add note that
51951         calling setcontext on a context created by a call to a
51952         signal handler is undefined.  Update text to note that
51953         setcontext from a signal handler is possible but not
51954         recommended.
51956         [BZ #16629]
51957         * stdlib/tst-setcontext.c: Include signal.h.
51958         (main): Check that the signal stack before and
51959         after swapcontext is the same.
51961         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
51962         Re-implement to restore registers in user code and avoid
51963         rt_sigreturn system call.
51965 2014-04-17  Wilco  <wdijkstr@arm.com>
51967         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
51968         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
51969         * math/test-fenv.c: Skip exception trap tests on targets which only
51970         support non-stop mode.
51972 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51973             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51975         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
51976         (libc_feholdsetround_aarch64_ctx)
51977         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
51978         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
51979         (libc_feresetround_ctx, libc_feresetroundf_ctx)
51980         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
51981         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
51982         (libc_feresetround_noexl_ctx): Define.
51984 2014-04-16  Richard Henderson  <rth@redhat.com>
51986         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
51988         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
51989         unwind tables.
51991         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
51992         const from the non-libc, non-ldso copy.
51994         * sysdeps/alpha/libm-test-ulps: Regenerate.
51996 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
51997             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51999         * sysdeps/aarch64/fpu/math_private.h: New file.
52001 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
52003         * sysdeps/aarch64/libm-test-ulps: Regenerate.
52005 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
52007         [BZ #16275]
52008         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
52009         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
52010         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
52011         Intel MPX bound registers before _dl_profile_fixup.
52012         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
52013         registers after _dl_profile_fixup.  Save and restore bound
52014         registers bnd0/bnd1 when calling _dl_call_pltexit.
52015         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
52016         (LR_BND_OFFSET): Likewise.
52017         (LRV_BND0_OFFSET): Likewise.
52018         (LRV_BND1_OFFSET): Likewise.
52020 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52022         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
52023         to...
52024         * sysdeps/mach/hurd/i386/tls.h: ... here.
52025         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
52026         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
52027         fields.
52029 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52031         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
52033 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
52035         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52037 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
52039         [BZ #14770]
52040         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
52041         * sysdeps/s390/configure: Regenerate.
52043         [BZ #16824]
52044         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
52045         Set round-to-nearest internally to reduce error accumulation.
52047 2014-04-16  Alan Modra  <amodra@gmail.com>
52049         [BZ #16740]
52050         [BZ #16619]
52051         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
52052         * math/libm-test.inc (frexp_test_data): Add tests.
52053         * NEWS: Update fixed bug list.
52055 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52057         * benchtests/Makefile: Depend on libraries in build directory.
52058         (bench-math): Separate out math tests.
52059         (bench-pthread): Separate out pthread tests.
52060         (bench): Include math and pthread tests.
52062 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
52064         [BZ #16831]
52065         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
52066         _dl_debug_initialize.
52068         * configure.ac: Remove SELinux header check.
52069         * configure: Regenerate.
52070         * nscd/selinux.c (perms): Array of const char* to permission names.
52071         (nscd_request_avc_has_perm): Call security_deny_unknown to find
52072         default policy. Call string_to_security_class and string_to_av_perm to
52073         translate strings. Enforce default policy and call avs_has_perm with
52074         results of translated strings.
52076 2014-04-13  David S. Miller  <davem@davemloft.net>
52078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52080 2014-04-12  Allan McRae  <allan@archlinux.org>
52082         [BZ #16838]
52083         * manual/string.texi (Collation Functions): Fix qsort argument
52084         order in example.
52085         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52087 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
52089         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
52090         Make the test a no-op if there are no exceptions defined.
52092 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
52094         * elf/Makefile (tests): make tst-dlopen-aout conditional on
52095         enable-hardcoded-path-in-tests
52097 2014-04-11  Will Newton  <will.newton@linaro.org>
52099         * benchtests/Makefile (extra-objs): Add json-lib.o.
52100         (bench-func): Tidy up JSON output.
52101         * benchtests/bench-skeleton.c: Include json-lib.h.
52102         (main): Use JSON library functions to do output of
52103         benchmark results.
52104         * benchtests/bench-timing-type.c (main): Output the
52105         timing type simply, leaving formatting to the user.
52106         * benchtests/json-lib.c: New file.
52107         * benchtests/json-lib.h: Likewise.
52109 2014-04-11  Torvald Riegel  <triegel@redhat.com>
52111         [BZ #15215]
52112         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
52113         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
52114         memory barriers.  Add comments.
52115         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
52116         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
52117         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
52118         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
52119         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
52120         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
52122 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
52124         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
52125         * sysdeps/s390/s390-64/configure.ac: ... this ...
52126         * sysdeps/s390/configure.ac: ... to here.
52127         * sysdeps/s390/s390-32/configure: Delete file.
52128         * sysdeps/s390/s390-64/configure: Delete file.
52129         * sysdeps/s390/configure: Regenerate.
52131 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
52133         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
52135 2014-04-11  Will Newton  <will.newton@linaro.org>
52137         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
52138         to zero if it is not defined elsewhere.  (mtrim): Test
52139         the value of MALLOC_DEBUG with #if rather than #ifdef.
52141 2014-04-10 Torvald Riegel  <triegel@redhat.com>
52143         * benchtests/pthread_once-inputs: New file.
52144         * benchtests/pthread_once-source.c: New file.
52145         * benchtests/README: Update documentation.
52147 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
52148             H.J. Lu  <hongjiu.lu@intel.com>
52150         [BZ #16275]
52151         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
52152         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
52153         * sysdeps/x86_64/configure: Regenerated.
52154         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
52155         macro.
52156         (REGISTER_SAVE_RAX): Likewise.
52157         (REGISTER_SAVE_RCX): Likewise.
52158         (REGISTER_SAVE_RDX): Likewise.
52159         (REGISTER_SAVE_RSI): Likewise.
52160         (REGISTER_SAVE_RDI): Likewise.
52161         (REGISTER_SAVE_R8): Likewise.
52162         (REGISTER_SAVE_R9): Likewise.
52163         (REGISTER_SAVE_BND0): Likewise.
52164         (REGISTER_SAVE_BND1): Likewise.
52165         (REGISTER_SAVE_BND2): Likewise.
52166         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
52167         bound registers when calling _dl_fixup.
52169 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52171         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
52172         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
52173         of its definition.
52174         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
52175         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
52176         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
52177         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
52178         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
52179         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
52180         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
52182 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
52184         [BZ #15514]
52185         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
52186         pathconf(_PC_NAME_MAX).
52188 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52190         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
52191         Remove macro usage.
52192         (__PTHREAD_SPINS): Move definition to ...
52193         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52194         (__PTHREAD_SPINS): ... here.
52195         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52196         (__PTHREAD_SPIN): Likewise.
52197         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
52198         (__PTHREAD_SPIN): Likewise.
52199         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
52200         (__PTHREAD_SPIN): Likewise.
52201         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
52202         (__PTHREAD_SPIN): Likewise.
52203         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
52204         (__PTHREAD_SPIN): Likewise.
52205         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
52206         (__PTHREAD_SPIN): Likewise.
52207         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
52208         (__PTHREAD_SPIN): Likewise.
52209         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
52210         (__PTHREAD_SPIN): Likewise.
52211         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
52212         (__PTHREAD_SPIN): Likewise.
52213         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
52214         (__PTHREAD_SPIN): Likewise.
52215         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
52216         (__PTHREAD_SPIN): Likewise.
52217         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
52218         (__PTHREAD_SPIN): Likewise.
52220         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
52221         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
52222         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
52223         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
52224         imply folder.
52225         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
52226         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
52227         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
52228         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
52229         correct imply path.
52230         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
52231         strlen symbol for non multi-arch builds.
52232         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
52233         missing hidden_def and weak_alias.
52235 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
52237         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
52239 2014-04-07  Will Newton  <will.newton@linaro.org>
52241         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
52242         and contents.  [!_LIBC] Remove #ifndef and contents.
52243         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
52244         * string/memccpy.c (__memccpy): Use ANSI prototype.
52245         * string/memfrob.c (memfrob): Likewise.
52246         * string/strcoll.c (STRCOLL): Likewise.
52247         * string/strlen.c (strlen): Likewise.
52248         * string/strtok.c (STRTOK): Likewise.
52249         * string/strcat.c: Remove unused #include of memcopy.h.
52250         (strcat): Use ANSI prototype.
52251         * string/strchr.c: Remove unused #include of memcopy.h.
52252         (strchr): Use ANSI prototype.
52253         * string/strcmp.c: Remove unused #include of memcopy.h.
52254         (strcmp): Use ANSI prototype.
52255         * string/strcpy.c: Remove unused #include of memcopy.h.
52256         (strcpy): Use ANSI prototype.
52258 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52260         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
52261         * config.make.in (config-extra-cppflags): Set it from
52262         libc_extra_cppflags.
52263         * configure.ac (libc_extra_cflags): Make it accumulate over
52264         configure fragments.
52265         (libc_extra_cppflags): New flag.
52266         * configure. Regenerate.
52267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
52268         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
52269         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
52270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
52272         [BZ #16815]
52273         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
52274         result for FE_DOWNWARD rounding mode.
52275         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
52276         Likewise.
52277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52279 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
52281         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
52282         in function argument name.
52284 2014-04-03  David Svoboda  <svoboda@cert.org>
52286         [BZ #5666]
52287         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
52288         explicitly.
52290 2014-04-03  Roland McGrath  <roland@hack.frob.com>
52292         * elf/dl-unmap-segments.h: New file.
52293         * sysdeps/generic/ldsodefs.h
52294         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
52295         * elf/dl-close.c: Include <dl-unmap-segments.h>.
52296         * elf/dl-fptr.c: Likewise.
52297         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
52298         * sysdeps/aarch64/tlsdesc.c: Likewise.
52299         * sysdeps/arm/tlsdesc.c: Likewise.
52300         * sysdeps/i386/tlsdesc.c: Likewise.
52301         * sysdeps/tile/dl-runtime.c: Likewise.
52302         * sysdeps/x86_64/tlsdesc.c: Likewise.
52303         * elf/dl-load.h: New file.
52304         * elf/dl-load.c: Include it.
52305         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
52306         Macros moved to dl-load.h.
52307         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
52308         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
52309         Use _dl_unmap_segments in place of __munmap.
52310         Break out segment-mapping loop into ...
52311         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
52313 2014-04-03  Will Newton  <will.newton@linaro.org>
52315         * elf/dl-lookup.c (do_lookup_x): Remove comment
52316         referring to nested function and move variable
52317         declarations down to before first use.
52319 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
52321         [BZ #16799]
52322         [BZ #16800]
52323         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
52324         with 0 numerator.
52325         * math/s_catanf.c (__catanf): Likewise.
52326         * math/s_catanh.c (__catanh): Likewise.
52327         * math/s_catanhf.c (__catanhf): Likewise.
52328         * math/s_catanhl.c (__catanhl): Likewise.
52329         * math/s_catanl.c (__catanl): Likewise.
52330         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
52331         by positive zero when computing -Inf result.
52332         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
52333         (catanh_test): Likewise.
52334         * sysdeps/i386/fpu/libm-test-ulps: Update.
52335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52337         [BZ #16789]
52338         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
52339         instead of using underflowing value in computing result.
52340         * math/s_clog10.c (__clog10): Likewise.
52341         * math/s_clog10f.c (__clog10f): Likewise.
52342         * math/s_clog10l.c (__clog10l): Likewise.
52343         * math/s_clogf.c (__clogf): Likewise.
52344         * math/s_clogl.c (__clogl): Likewise.
52345         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
52346         (clog10_test): Likewise.
52347         * sysdeps/i386/fpu/libm-test-ulps: Update.
52348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52350 2014-04-02  Alan Modra  <amodra@gmail.com>
52352         [BZ #16739]
52353         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
52354         output when value is near a power of two.  Use int64_t for lx and
52355         remove casts.  Use decimal rather than hex exponent constants.
52356         Don't use long double multiplication when double will suffice.
52357         * math/libm-test.inc (nextafter_test_data): Add tests.
52358         * NEWS: Add 16739 and 16786 to bug list.
52360         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
52362         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
52364 2014-04-01  Will Newton  <will.newton@linaro.org>
52366         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
52367         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
52369 2014-04-01  Florian Weimer  <fweimer@redhat.com>
52371         [BZ #13347]
52372         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
52373         * nptl/tst-setuid2.c: New file.
52374         * nptl/Makefile (xtests): Add tst-setuid2.
52376 2014-04-01  Alan Modra  <amodra@gmail.com>
52378         [BZ #16786]
52379         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
52381 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
52383         [BZ #6803]
52384         [BZ #6804]
52385         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
52386         set errno as appropriate.
52387         * math/w_scalbf.c (__scalbf): Likewise.
52388         * math/w_scalbl.c (__scalbl): Likewise.
52389         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
52390         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
52391         * math/libm-test.inc (scalb_test_data): Add errno expectations.
52392         Add more NaN tests.
52394         [BZ #16349]
52395         * math/w_atan2.c: Include <errno.h>.
52396         (__atan2): Set errno for result underflowing to zero.
52397         * math/w_atan2f.c: Include <errno.h>.
52398         (__atan2f): Set errno for result underflowing to zero.
52399         * math/w_atan2l.c: Include <errno.h>.
52400         (__atan2l): Set errno for result underflowing to zero.
52401         * math/auto-libm-test-in: Don't allow missing errno for some atan2
52402         tests.
52403         * math/auto-libm-test-out: Regenerated.
52405 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52407         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
52408         Encode instruction correctly in little endian.
52409         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
52410         Likewise.
52411         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
52412         Likewise.
52413         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
52414         Likewise.
52415         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
52416         Likewise.
52418 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
52420         [BZ #9894]
52421         * sysdeps/unix/sysv/linux/kernel-features.h
52422         [__sparc__ && !__arch64__ && !__sparc_v9__]
52423         (__ASSUME_SET_ROBUST_LIST): Do not define.
52424         [__sparc__ && !__arch64__ && !__sparc_v9__]
52425         (__ASSUME_FUTEX_LOCK_PI): Likewise.
52426         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
52427         Likewise.
52428         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52429         (__ASSUME_FUTEX_LOCK_PI): Undefine.
52430         (__ASSUME_REQUEUE_PI): Likewise.
52431         (__ASSUME_SET_ROBUST_LIST): Likewise.
52432         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52433         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
52434         Undefine.
52435         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52436         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
52437         Likewise.
52438         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
52439         Likewise.
52440         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
52441         Likewise.
52442         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52443         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
52444         Undefine.
52445         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
52446         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
52447         Likewise.
52449         [BZ #16648]
52450         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52451         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
52452         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
52454 2014-03-31  Will Newton  <will.newton@linaro.org>
52456         * benchtests/Makefile (bench): Add ffs and ffsll to list
52457         of tests.
52458         * benchtests/ffs-inputs: New file.
52459         * benchtests/ffsll-inputs: Likewise.
52461 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
52463         [BZ #16770]
52464         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
52465         too large before casting to int.
52466         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
52467         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
52468         * math/libm-test.inc (scalb_test_data): Add more tests.
52470 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52472         * benchtests/Makefile (DETAILED_OPT): New make option.
52473         (bench-func): Run benchmark program with -d if DETAILED_OPT is
52474         set.
52475         * benchtests/bench-skeleton.c: Include stdbool.h.
52476         (main): Store and print timings per input.
52477         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
52478         member to each argument value.
52479         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
52480         (_print_arg_data): Initialize per-input timing to 0.
52482         * benchtests/Makefile (timing-type): New binary.
52483         (bench-clean): Also remove bench-timing-type.
52484         (bench): New target for timing-type.
52485         (bench-func): Print output in JSON format.
52486         * benchtests/bench-skeleton.c (main): Print output in JSON
52487         format.
52488         * benchtests/bench-timing-type.c: New file.
52489         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
52490         (TIMING_PRINT_STATS): Remove.
52491         * benchtests/scripts/bench.py (_print_arg_data): Store variant
52492         name separately.
52494         * benchtests/bench-modf.c: Remove.
52495         * benchtests/modf-inputs: New inputs file.
52497 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
52499         [BZ #16362]
52500         * math/s_clog10.c (M_PI_LOG10E): New macro.
52501         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
52502         imaginary parts are 0.
52503         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
52504         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
52505         imaginary parts are 0.
52506         * math/s_clog10l.c (M_PI_LOG10El): New macro.
52507         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
52508         imaginary parts are 0.
52509         * math/libm-test.inc (clog10_test_data): Update expected results
52510         for when real and imaginary parts are 0.
52512 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
52514         * elf/dl-load.c: Finish conversion of __builtin_expect into
52515         __glibc_{un}likely.
52517 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
52519         [BZ #16348]
52520         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
52521         1+x for argument with exponent below -67.
52522         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
52523         Likewise.
52524         * math/auto-libm-test-in: Add more tests of exp.
52525         * math/auto-libm-test-out: Regenerated.
52527 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52529         [BZ #16759]
52530         * inet/getnetgrent_r.c (get_nonempty_val): New function.
52531         (nscd_getnetgrent): Use it.
52533         [BZ #16760]
52534         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
52535         of stpcpy.
52537 2014-03-27  Andi Kleen  <ak@linux.intel.com>
52539         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
52540         (lll_robust_lock, lll_cond_lock, lll_timedlock)
52541         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52542         (lll_robust_unlock): Remove out of line section. Use cfi
52543         intrinsics.
52544         (LLL_STUB_UNWIND_INFO*): Remove.
52545         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
52546         (lll_robust_lock, lll_cond_lock, lll_timedlock)
52547         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52548         (lll_robust_unlock): Remove out of line section. Use cfi
52549         intrinsics.
52550         (LLL_STUB_UNWIND_INFO*): Remove.
52552 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52554         [BZ #16758]
52555         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
52556         blank values.
52558 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
52560         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
52562 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
52564         [BZ #16198]
52565         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
52566         fnstenv.
52567         * math/test-fenv-preserve.c: New file.
52568         * math/Makefile (tests): Add test-fenv-preserve.
52570 2014-03-26  Will Newton <will.newton@linaro.org>
52572         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
52574 2014-03-25  Roland McGrath  <roland@hack.frob.com>
52576         * scripts/versionlist.awk: Partition the version sets and emit all
52577         GLIBC_* (sorted) before all others (sorted).
52579 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
52581         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
52582         GLIBC_2.2.5 version.
52584 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52586         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
52587         calls.
52589         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
52590         previous change.
52592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52594 2014-03-25  Andreas Schwab  <schwab@suse.de>
52596         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
52597         label to be used after in6ailist is initialized.
52599 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52601         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52602         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52604 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
52606         [BZ #16357]
52607         [BZ #16599]
52608         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
52609         min_plus_half.
52610         (fp_formats): Update initializers.
52611         (init_fp_formats): Initialize new field.
52612         (output_for_one_input_case): Allow underflow for results up to
52613         min_plus_half.
52614         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
52615         * math/auto-libm-test-in: Don't mark some underflows from asin and
52616         atanh as spurious.
52617         * math/auto-libm-test-out: Regenerated.
52618         * sysdeps/i386/fpu/libm-test-ulps: Update.
52619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52621 2014-03-25  Andreas Schwab  <schwab@suse.de>
52623         * libio/Makefile (tst-ftell-partial-wide-ENV)
52624         (tst-ftell-active-handler-ENV): Define.
52626 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
52628         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
52630 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
52632         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
52634 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
52636         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
52637         * sysdeps/x86_64/fpu/multiarch/e_exp.c
52638         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
52640 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
52642         [BZ #16634]
52643         * elf/dl-load.c (open_verify): Add mode parameter.
52644         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
52645         (open_path): Change from boolean 'secure' to complete flag 'mode'
52646         (_dl_map_object): Adjust.
52647         * elf/Makefile (tests): Add tst-dlopen-aout.
52648         * elf/tst-dlopen-aout.c: New test.
52650 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
52652         [BZ #16714]
52653         * sysdeps/unix/sysv/linux/s390/bits/stat.h
52654         (struct stat): Rename member pad0 to __glibc_reserved0.
52656         [BZ #16712]
52657         * sysdeps/s390/s390-32/bits/wordsize.h
52658         (__WORDSIZE32_SIZE_ULONG): New define.
52659         * sysdeps/s390/s390-64/bits/wordsize.h
52660         (__WORDSIZE32_SIZE_ULONG): Likewise.
52661         * sysdeps/generic/stdint.h (SIZE_MAX):
52662         Define as UL if __WORDSIZE32_SIZE_ULONG.
52664         [BZ #16713]
52665         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
52666         (__glibc_reserved0): New variable.
52667         (sa_flags): Change type to int.
52669         * posix/Makefile (before-compile): Use += before-compile instead
52670         of a :=.
52672         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52673         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52675 2014-03-20  Andreas Schwab  <schwab@suse.de>
52677         [BZ #16743]
52678         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
52679         non-matching result from nscd.
52681 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52683         * scripts/bench.py: Moved to ...
52684         * benchtests/scripts/bench.py: ... here.
52685         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
52687 2014-03-24  Andreas Schwab  <schwab@suse.de>
52689         [BZ #16002]
52690         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
52691         alloca_account and account alloca use for struct in6ailist.
52693 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
52695         [BZ #16284]
52696         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
52697         rounding mode to recompute results that overflow to infinity or
52698         underflow to zero.
52699         * math/auto-libm-test-in: Don't mark tests as expected to fail for
52700         bug 16284.
52701         * math/auto-libm-test-out: Regenerated.
52702         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
52703         (ccosh_test): Likewise.
52704         (csin_test_data): Use plus_oflow.
52705         (csin_test): Use ALL_RM_TEST.
52706         (csinh_test_data): Use plus_oflow.
52707         (csinh_test): Use ALL_RM_TEST.
52708         * sysdeps/i386/fpu/libm-test-ulps: Update.
52709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52711 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
52713         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
52714         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
52715         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
52717         [BZ #16731]
52718         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
52719         when x - 1 is zero.
52720         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
52721         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
52722         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
52723         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
52724         argument is 1.
52725         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
52726         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
52727         zero.
52728         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
52729         * sysdeps/i386/fpu/libm-test-ulps: Update.
52730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52732 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52734         * scripts/bench.pl: Remove file.
52735         * scripts/bench.py: New benchmark script.
52736         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
52737         * benchtests/README: Mention python dependency.
52738         * scripts/pylintrc: New file.
52739         * scripts/pylint: New file.
52741         * bits/mathdef.h: Use #ifdef instead of #if.
52742         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
52743         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52744         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
52745         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52746         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
52747         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52749 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52750             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52752         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
52753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
52754         and strpbrk-ppc64 objects.
52755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52756         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
52757         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
52758         multiarch strpbrk for POWER7.
52759         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
52760         multiarch strpbrk for PPC64.
52761         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
52762         ifunc selector.
52763         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
52764         strpbrk for POWER7.
52766 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52768         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
52769         (atan_test): Likewise.
52770         (atanh_test_data): Use NO_TEST_INLINE for two tests.
52771         (atanh_test): Use ALL_RM_TEST.
52772         (atan2_test_data): Likewise.
52773         (cabs_test): Likewise.
52774         (cacosh_test): Likewise.
52775         (carg_test): Likewise.
52776         (casin_test): Likewise.
52777         (casinh_test): Likewise.
52778         (cbrt_test): Likewise.
52779         (csqrt_test): Likewise.
52780         (erf_test): Likewise.
52781         (erfc_test): Likewise.
52782         (pow10_test): Likewise.
52783         (exp2_test): Likewise.
52784         (hypot_test): Likewise.
52785         (j0_test): Likewise.
52786         (j1_test): Likewise.
52787         (lgamma_test): Likewise.
52788         (gamma_test): Likewise.
52789         (sincos_test): Likewise.
52790         (tanh_test): Likewise.
52791         (y0_test): Likewise.
52792         (y1_test): Likewise.
52793         * sysdeps/i386/fpu/libm-test-ulps: Update.
52794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52796 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52798         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
52799         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
52800         and strcspn-ppc64 objects.
52801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52802         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
52803         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
52804         multiarch strcspn for POWER7.
52805         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
52806         multiarch strcspn for PPC64.
52807         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
52808         ifunc selector.
52809         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
52810         strcspn for POWER7.
52812 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52814         * math/gen-libm-test.pl (generate_testfile): Expect only function
52815         name as argument to AUTO_TESTS_* and pass results for all rounding
52816         modes to parse_args.
52817         (parse_auto_input): Separate inputs of automatic tests from
52818         outputs before storing in %auto_tests.
52819         * math/libm-test.inc (acos_test_data): Update call to
52820         AUTO_TESTS_f_f.
52821         (acos_test): Use ALL_RM_TEST.
52822         (acos_tonearest_test_data): Remove.
52823         (acos_test_tonearest): Likewise.
52824         (acos_towardzero_test_data): Likewise.
52825         (acos_test_towardzero): Likewise.
52826         (acos_downward_test_data): Likewise.
52827         (acos_test_downward): Likewise.
52828         (acos_upward_test_data): Likewise.
52829         (acos_test_upward): Likewise.
52830         (acosh_test_data): Update call to AUTO_TESTS_f_f.
52831         (asin_test_data): Likewise.
52832         (asin_test): Use ALL_RM_TEST.
52833         (asin_tonearest_test_data): Remove.
52834         (asin_test_tonearest): Likewise.
52835         (asin_towardzero_test_data): Likewise.
52836         (asin_test_towardzero): Likewise.
52837         (asin_downward_test_data): Likewise.
52838         (asin_test_downward): Likewise.
52839         (asin_upward_test_data): Likewise.
52840         (asin_test_upward): Likewise.
52841         (asinh_test_data): Update call to AUTO_TESTS_f_f.
52842         (atan_test_data): Likewise.
52843         (atanh_test_data): Likewise.
52844         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
52845         (cabs_test_data): Update call to AUTO_TESTS_c_f.
52846         (carg_test_data): Likewise.
52847         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
52848         (ccos_test_data): Update call to AUTO_TESTS_c_c.
52849         (ccosh_test_data): Likewise.
52850         (cexp_test_data): Likewise.
52851         (clog_test_data): Likewise.
52852         (clog10_test_data): Likewise.
52853         (cos_test_data): Update call to AUTO_TESTS_f_f.
52854         (cos_test): Use ALL_RM_TEST.
52855         (cos_tonearest_test_data): Remove.
52856         (cos_test_tonearest): Likewise.
52857         (cos_towardzero_test_data): Likewise.
52858         (cos_test_towardzero): Likewise.
52859         (cos_downward_test_data): Likewise.
52860         (cos_test_downward): Likewise.
52861         (cos_upward_test_data): Likewise.
52862         (cos_test_upward): Likewise.
52863         (cosh_test_data): Update call to AUTO_TESTS_f_f.
52864         (cosh_test): Use ALL_RM_TEST.
52865         (cosh_tonearest_test_data): Remove.
52866         (cosh_test_tonearest): Likewise.
52867         (cosh_towardzero_test_data): Likewise.
52868         (cosh_test_towardzero): Likewise.
52869         (cosh_downward_test_data): Likewise.
52870         (cosh_test_downward): Likewise.
52871         (cosh_upward_test_data): Likewise.
52872         (cosh_test_upward): Likewise.
52873         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
52874         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
52875         (ctan_test_data): Likewise.
52876         (ctan_test): Use ALL_RM_TEST.
52877         (ctan_tonearest_test_data): Remove.
52878         (ctan_test_tonearest): Likewise.
52879         (ctan_towardzero_test_data): Likewise.
52880         (ctan_test_towardzero): Likewise.
52881         (ctan_downward_test_data): Likewise.
52882         (ctan_test_downward): Likewise.
52883         (ctan_upward_test_data): Likewise.
52884         (ctan_test_upward): Likewise.
52885         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
52886         (ctanh_test): Use ALL_RM_TEST.
52887         (ctanh_tonearest_test_data): Remove.
52888         (ctanh_test_tonearest): Likewise.
52889         (ctanh_towardzero_test_data): Likewise.
52890         (ctanh_test_towardzero): Likewise.
52891         (ctanh_downward_test_data): Likewise.
52892         (ctanh_test_downward): Likewise.
52893         (ctanh_upward_test_data): Likewise.
52894         (ctanh_test_upward): Likewise.
52895         (erf_test_data): Update call to AUTO_TESTS_f_f.
52896         (erfc_test_data): Likewise.
52897         (exp_test_data): Likewise.
52898         (exp_test): Use ALL_RM_TEST.
52899         (exp_tonearest_test_data): Remove.
52900         (exp_test_tonearest): Likewise.
52901         (exp_towardzero_test_data): Likewise.
52902         (exp_test_towardzero): Likewise.
52903         (exp_downward_test_data): Likewise.
52904         (exp_test_downward): Likewise.
52905         (exp_upward_test_data): Likewise.
52906         (exp_test_upward): Likewise.
52907         (exp10_test_data): Update call to AUTO_TESTS_f_f.
52908         (exp10_test): Use ALL_RM_TEST.
52909         (exp10_tonearest_test_data): Remove.
52910         (exp10_test_tonearest): Likewise.
52911         (exp10_towardzero_test_data): Likewise.
52912         (exp10_test_towardzero): Likewise.
52913         (exp10_downward_test_data): Likewise.
52914         (exp10_test_downward): Likewise.
52915         (exp10_upward_test_data): Likewise.
52916         (exp10_test_upward): Likewise.
52917         (exp2_test_data): Update call to AUTO_TESTS_f_f.
52918         (expm1_test_data): Likewise.
52919         (expm1_test): Use ALL_RM_TEST.
52920         (expm1_tonearest_test_data): Remove.
52921         (expm1_test_tonearest): Likewise.
52922         (expm1_towardzero_test_data): Likewise.
52923         (expm1_test_towardzero): Likewise.
52924         (expm1_downward_test_data): Likewise.
52925         (expm1_test_downward): Likewise.
52926         (expm1_upward_test_data): Likewise.
52927         (expm1_test_upward): Likewise.
52928         (fma_test_data): Update call to AUTO_TESTS_fff_f.
52929         (fma_test): Use ALL_RM_TEST.
52930         (fma_towardzero_test_data): Remove.
52931         (fma_test_towardzero): Likewise.
52932         (fma_downward_test_data): Likewise.
52933         (fma_test_downward): Likewise.
52934         (fma_upward_test_data): Likewise.
52935         (fma_test_upward): Likewise.
52936         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
52937         (j0_test_data): Update call to AUTO_TESTS_f_f.
52938         (j1_test_data): Likewise.
52939         (jn_test_data): Update call to AUTO_TESTS_if_f.
52940         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
52941         (log_test_data): Update call to AUTO_TESTS_f_f.
52942         (log10_test_data): Likewise.
52943         (log1p_test_data): Likewise.
52944         (log2_test_data): Likewise.
52945         (pow_test_data): Update call to AUTO_TESTS_ff_f.
52946         (pow_tonearest_test_data): Likewise.
52947         (sin_test_data): Update call to AUTO_TESTS_f_f.
52948         (sin_test): Use ALL_RM_TEST.
52949         (sin_tonearest_test_data): Remove.
52950         (sin_test_tonearest): Likewise.
52951         (sin_towardzero_test_data): Likewise.
52952         (sin_test_towardzero): Likewise.
52953         (sin_downward_test_data): Likewise.
52954         (sin_test_downward): Likewise.
52955         (sin_upward_test_data): Likewise.
52956         (sin_test_upward): Likewise.
52957         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
52958         (sinh_test_data): Update call to AUTO_TESTS_f_f.
52959         (sinh_test): Use ALL_RM_TEST.
52960         (sinh_tonearest_test_data): Remove.
52961         (sinh_test_tonearest): Likewise.
52962         (sinh_towardzero_test_data): Likewise.
52963         (sinh_test_towardzero): Likewise.
52964         (sinh_downward_test_data): Likewise.
52965         (sinh_test_downward): Likewise.
52966         (sinh_upward_test_data): Likewise.
52967         (sinh_test_upward): Likewise.
52968         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
52969         (sqrt_test): Use ALL_RM_TEST.
52970         (sqrt_tonearest_test_data): Remove.
52971         (sqrt_test_tonearest): Likewise.
52972         (sqrt_towardzero_test_data): Likewise.
52973         (sqrt_test_towardzero): Likewise.
52974         (sqrt_downward_test_data): Likewise.
52975         (sqrt_test_downward): Likewise.
52976         (sqrt_upward_test_data): Likewise.
52977         (sqrt_test_upward): Likewise.
52978         (tan_test_data): Update call to AUTO_TESTS_f_f.
52979         (tan_test): Use ALL_RM_TEST.
52980         (tan_tonearest_test_data): Remove.
52981         (tan_test_tonearest): Likewise.
52982         (tan_towardzero_test_data): Likewise.
52983         (tan_test_towardzero): Likewise.
52984         (tan_downward_test_data): Likewise.
52985         (tan_test_downward): Likewise.
52986         (tan_upward_test_data): Likewise.
52987         (tan_test_upward): Likewise.
52988         (tanh_test_data): Update call to AUTO_TESTS_f_f.
52989         (tgamma_test_data): Likewise.
52990         (y0_test_data): Likewise.
52991         (y1_test_data): Likewise.
52992         (yn_test_data): Update call to AUTO_TESTS_if_f.
52993         (main): Do not call removed functions.
52995 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
52997         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
52998         (ldexp_test_data): Remove.
52999         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
53000         scalbn_test_data.
53001         (scalb_test): Use ALL_RM_TEST.
53003 2014-03-19  Andreas Schwab  <schwab@suse.de>
53005         * nscd/nscd.service: Also invalidate netgroup cache on reload.
53007 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
53009         [BZ #16649]
53010         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53011         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
53012         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
53013         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53014         (__ASSUME_PREADV): Undefine.
53015         (__ASSUME_PWRITEV): Likewise.
53017 2014-03-18  Roland McGrath  <roland@hack.frob.com>
53019         * bits/mman-linux.h: Add comment about non-Linux use.
53020         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
53021         bits/mman-linux.h resting place.
53023         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
53024         * bits/mman-linux.h: ... here.
53026 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53028         * conform/conformtest.pl: Add standard definition when calling C
53029         preprocessor on data files.
53030         (checknamespace): Remove unused variable.
53032 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
53034         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
53035         minus_oflow, plus_uflow and minus_uflow in expected results.
53036         * math/libm-test.inc (scalbn_test_data): Add more tests of
53037         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
53038         minus_uflow.
53039         (scalbn_test): Use ALL_RM_TEST.
53040         (scalbln_test_data): Add more tests of negative arguments.  Use
53041         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
53042         (scalbln_test): Use ALL_RM_TEST.
53044 2014-03-18  Roland McGrath  <roland@hack.frob.com>
53046         * scripts/abilist.awk: Ignore symbols marked with .hidden.
53048 2014-03-18  Will Newton  <will.newton@linaro.org>
53050         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
53051         inaccurate comment.
53053 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
53055         * Makerules [!subdir] (check-abi): Exit with error status if a
53056         test failed.
53058 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
53060         * math/libm-test.inc (nearbyint_test_data): Include all tests used
53061         for rint.  Include results for all rounding modes.
53062         (nearbyint_test): Use ALL_RM_TEST.
53063         (rint_test_data): Include all tests used for nearbyint.
53065 2014-03-17  Will Newton  <will.newton@linaro.org>
53067         * nptl/sysdeps/pthread/pthread.h: Revert previous
53068         change.
53070         * sysdeps/generic/ldsodefs.h: Revert previous
53071         change.
53073         * libio/genops.c: Revert previous change.
53074         * libio/libioP.h: Likewise.
53075         * stdio-common/vfprintf.c: Likewise.
53077         * sysdeps/generic/math_private.h: Revert previous
53078         change.
53080         * sysdeps/generic/math_private.h: Check whether
53081         HAVE_RM_CTX is defined with #ifdef rather
53082         than #if.
53084         * argp/argp-fmtstream.h: Check whether
53085         __STRICT_ANSI__ is defined with #ifdef rather
53086         than #if.
53087         * argp/argp.h: Likewise.
53089         * libio/genops.c: Check whether
53090         _IO_JUMPS_OFFSET is defined with #ifdef rather
53091         than #if.
53092         * libio/libioP.h: Likewise.
53093         * stdio-common/vfprintf.c: Likewise.
53095         * sysdeps/generic/ldsodefs.h: Check whether
53096         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
53097         than #if.
53099         * nptl/sysdeps/pthread/pthread.h: Check
53100         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
53101         its value.
53103 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53105         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
53106         setting O_APPEND.
53107         * libio/tst-ftell-active-handler.c (do_append_test): Add a
53108         test case.
53110         [BZ #16680]
53111         * libio/fileops.c (_IO_file_open): Seek to end of file but
53112         don't cache the offset.
53113         (get_file_offset): Remove function.
53114         (do_ftell): Use cached offset when available.
53115         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
53116         don't cache the offset.
53117         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
53118         case.
53119         (do_one_test): Call it.
53120         (do_ftell_test): Fix up expected old offset for a+ mode.
53121         * libio/wfileops.c (do_ftell_wide): Used cached offset when
53122         available.
53124         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
53125         up test status with function return status.
53126         (do_write_test): Likewise.
53127         (do_append_test): Likewise.
53129         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
53130         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
53131         Remove.
53133 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
53135         * math/gen-libm-test.pl (parse_args): Handle results specified for
53136         each rounding mode separately.
53137         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
53138         tests and results from lrint_tonearest_test_data,
53139         lrint_towardzero_test_data, lrint_downward_test_data and
53140         lrint_upward_test_data.
53141         (lrint_test): Use ALL_RM_TEST.
53142         (lrint_tonearest_test_data): Remove.
53143         (lrint_test_tonearest): Likewise.
53144         (lrint_towardzero_test_data): Likewise.
53145         (lrint_test_towardzero): Likewise.
53146         (lrint_downward_test_data): Likewise.
53147         (lrint_test_downward): Likewise.
53148         (lrint_upward_test_data): Likewise.
53149         (lrint_test_upward): Likewise.
53150         (llrint_test_data): Merge in per-rounding-mode tests and results
53151         from llrint_tonearest_test_data, llrint_towardzero_test_data,
53152         llrint_downward_test_data and llrint_upward_test_data.
53153         (llrint_test): Use ALL_RM_TEST.
53154         (llrint_tonearest_test_data): Remove.
53155         (llrint_test_tonearest): Likewise.
53156         (llrint_towardzero_test_data): Likewise.
53157         (llrint_test_towardzero): Likewise.
53158         (llrint_downward_test_data): Likewise.
53159         (llrint_test_downward): Likewise.
53160         (llrint_upward_test_data): Likewise.
53161         (llrint_test_upward): Likewise.
53162         (rint_test_data): Merge in per-rounding-mode tests and results
53163         from rint_tonearest_test_data, rint_towardzero_test_data,
53164         rint_downward_test_data and rint_upward_test_data.  Add
53165         per-rounding-mode results for tests not in those arrays.
53166         (rint_test): Use ALL_RM_TEST.
53167         (rint_tonearest_test_data): Remove.
53168         (rint_test_tonearest): Likewise.
53169         (rint_towardzero_test_data): Likewise.
53170         (rint_test_towardzero): Likewise.
53171         (rint_downward_test_data): Likewise.
53172         (rint_test_downward): Likewise.
53173         (rint_upward_test_data): Likewise.
53174         (rint_test_upward): Likewise.
53175         (main): Don't call removed functions.
53177 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53179         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
53180         "Compiled on ..." crapola.  It is anti-useful.
53182 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
53184         * scripts/evaluate-test.sh: Handle fourth argument to determine
53185         whether test run should stop on failure.
53186         * Makeconfig (stop-on-test-failure): New variable.
53187         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
53188         $(stop-on-test-failure).
53189         * Makefile (tests): Give a summary of results from testing and
53190         exit with failure status if they include an ERROR or FAIL.
53191         (xtests): Likewise.
53192         * manual/install.texi (Configuring and compiling): Mention
53193         stop-on-test-failure=y.
53194         * INSTALL: Regenerated.
53196 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53198         * scripts/versionlist.awk: New file.
53199         * Makerules [$(build-shared) = yes]
53200         (postclean-generated): Add Versions.def, not Versions.def.v and
53201         Versions.def.v.i.
53202         ($(common-objpfx)Versions.def.v.i): Target removed.
53203         ($(common-objpfx)Versions.def): New target.
53204         ($(common-objpfx)Versions.all): Depend on that rather that
53205         $(common-objpfx)Versions.def.v.
53206         * Versions.def: File removed.
53208         * Makeconfig (+gccwarn): Add -Wundef.
53209         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
53210         a dl-sysdep.h breaking its contract.
53211         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
53212         * include/stackinfo.h: New file.
53213         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
53214         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
53215         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
53216         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
53217         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
53218         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
53219         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53220         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53221         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53222         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53223         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53224         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
53225         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53226         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53227         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53229 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53231         [BZ #16707]
53232         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
53233         implementation.
53234         * math/libm-test.inc (round_test_data): Add more tests.
53236         [BZ #16706]
53237         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
53238         implementation.
53239         * math/libm-test.inc (nearbyint_test_data): Add more tests.
53241         [BZ #16701]
53242         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
53243         implementation.
53244         * math/libm-test.inc (ceil_test_data): Add more tests.
53246         * math/libm-test.inc (trunc_test_data): Add more tests related to
53247         BZ#16414.
53249 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53251         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
53252         with #if rather than #ifdef.
53253         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
53255 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
53257         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
53258         first.  Disable AVX-512 GCC support if assembler doesn't support
53259         it.
53260         * sysdeps/x86_64/configure: Regenerated.
53262 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
53264         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
53265         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
53266         (__old_pthread_attr_setstack): Likewise.
53267         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
53268         [!_STACK_GROWS_DOWN]: Likewise.
53270 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
53272         * config.make.in (have-bash2): Delete.
53273         * configure.ac (libc_cv_have_bash2): Delete.
53274         * configure: Regenerate.
53275         * elf/Makefile (common-ldd-rewrite): Rename to ...
53276         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
53277         (sh-ldd-rewrite): Delete.
53278         (bash-ldd-rewrite): Delete.
53279         (have-bash2): Delete checks.
53280         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
53281         ldd-rewrite.
53283         * config.make.in (have-ksh): Delete.
53284         (KSH): Delete.
53285         * configure.ac (libc_cv_have_ksh): Delete.
53286         * configure: Regenerate.
53288         * elf/Makefile: Delete $(have-ksh) check.
53289         ($(objpfx)sotruss): Change KSH to BASH.
53290         * elf/sotruss.ksh: Rename to ...
53291         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
53292         function style to match POSIX.  Drop ksh vim mode setting.
53294         * manual/time.texi (Specifying the Time Zone with TZ): Change
53295         Tuesday to Thursday.
53297         * debug/tst-longjmp_chk2.c: Update header comment.
53298         (stackoverflow_handler): Add comment.  Call assert on pass value.
53300 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
53302         [BZ #16194]
53303         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
53304         (HAVE_AVX512_ASM_SUPPORT): Likewise.
53305         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
53306         (La_x86_64_vector): Add zmm.
53307         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
53308         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
53309         ($(objpfx)tst-audit10): New target.
53310         ($(objpfx)tst-audit10.out): Likewise.
53311         (tst-audit10-ENV): New.
53312         (AVX512-CFLAGS): Likewise.
53313         (CFLAGS-tst-audit10.c): Likewise.
53314         (CFLAGS-tst-auditmod10a.c): Likewise.
53315         (CFLAGS-tst-auditmod10b.c): Likewise.
53316         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
53317         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
53318         * sysdeps/x86_64/configure: Regenerated.
53319         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
53320         AVX-512 zmm register support.
53321         (_dl_x86_64_save_sse): Likewise.
53322         (_dl_x86_64_restore_sse): Likewise.
53323         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
53324         size vector registers.
53325         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
53326         (ZMM_SIZE): Likewise.
53327         * sysdeps/x86_64/tst-audit10.c: New file.
53328         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
53329         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
53331 2014-03-13  Roland McGrath  <roland@hack.frob.com>
53333         * configure.ac (HAVE_EHDR_START): New check.
53334         * configure: Regenerated.
53335         * config.h.in (HAVE_EHDR_START): New #undef.
53336         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
53337         assuming the lowest-addressed segment maps the start of the file.
53339 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
53341         * INSTALL: Regenerated.
53343 2014-03-13  Will Newton  <will.newton@linaro.org>
53345         * manual/setjmp.texi (System V contexts): Improve
53346         clarity and grammar of documentation.
53348 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
53350         [BZ #16381]
53351         * elf/Makefile (tests): Add tst-pie2.
53352         (tests-pie): Add tst-pie2.
53353         * elf/tst-pie2.c: New file.
53354         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
53355         for ET_EXEC.
53356         * elf/rtld.c (map_doit): Load executable as lt_executable.
53357         (dl_main): Likewise.
53359 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
53361         [BZ #16642]
53362         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53363         (__ASSUME_PSELECT): Undefine.
53365 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53367         [BZ #16689]
53368         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
53369         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
53370         static build.
53371         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
53372         selector for static builds.
53374 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53376         [BZ #16695]
53377         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
53378         key in the buffer.
53380 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53382         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
53383         IFUNC selector for static builds.
53385 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
53387         * sysdeps/mips/math_private.h [__mips_hard_float]
53388         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
53389         libc_feresetround_mips_ctx.
53390         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
53391         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
53392         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
53394         [BZ #16677]
53395         * math/s_nextafter.c (__nextafter): Do not return value from
53396         overflowing computation.
53397         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
53398         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
53399         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
53400         Likewise.
53401         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
53402         Likewise.
53403         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
53404         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
53406 2014-03-11  Roland McGrath  <roland@hack.frob.com>
53408         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
53409         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
53410         Move sfi_sp use from the load-multiple (that no longer sets sp) to
53411         the new mov targetting sp.
53413 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53415         [BZ #16683]
53416         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
53417         Define it for static builds as well.
53418         (NO_BZERO_IMPL): Likewise.
53420 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53422         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
53423         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
53424         multiarch strspn for PPC64.
53425         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
53426         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
53427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53428         (__libc_ifunc_impl_list): Likewise.
53429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
53430         multiarch optimizations
53431         * string/strspn.c (strspn): Using macro to redefine symbol name.
53433 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53434             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53436         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
53437         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
53438         multiarch strncat for PPC64.
53439         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
53440         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
53441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53442         (__libc_ifunc_impl_list): Likewise.
53443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
53444         multiarch optimizations
53446 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53448         [BZ #16639]
53449         * nscd/nscd.service: Make service type forking.
53451 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53453         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
53454         sign in non default rounding modes.
53455         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
53457 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
53459         * math/libm-test.inc (ALL_RM_TEST): New macro.
53460         (ceil_test): Use ALL_RM_TEST.
53461         (cimag_test): Likewise.
53462         (conj_test): Likewise.
53463         (copysign_test): Likewise.
53464         (cproj_test): Likewise.
53465         (creal_test): Likewise.
53466         (fabs_test): Likewise.
53467         (floor_test): Likewise.
53468         (fmax_test): Likewise.
53469         (fmin_test): Likewise.
53470         (fmod_test): Likewise.
53471         (fpclassify_test): Likewise.
53472         (frexp_test): Likewise.
53473         (ilogb_test): Likewise.
53474         (isfinite_test): Likewise.
53475         (finite_test): Likewise.
53476         (isgreater_test): Likewise.
53477         (isgreaterequal_test): Likewise.
53478         (isinf_test): Likewise.
53479         (isless_test): Likewise.
53480         (islessequal_test): Likewise.
53481         (islessgreater_test): Likewise.
53482         (isnan_test): Likewise.
53483         (isnormal_test): Likewise.
53484         (issignaling_test): Likewise.
53485         (isunordered_test): Likewise.
53486         (logb_test): Likewise.
53487         (logb_downward_test_data): Remove.
53488         (logb_test_downward): Likewise.
53489         (lround_test): Use ALL_RM_TEST.
53490         (llround_test): Likewise.
53491         (modf_test): Likewise.
53492         (nexttoward_test): Likewise.
53493         (remainder_test): Likewise.
53494         (drem_test): Likewise.
53495         (remainder_tonearest_test_data): Likewise.
53496         (remainder_test_tonearest): Likewise.
53497         (drem_test_tonearest): Likewise.
53498         (remainder_towardzero_test_data): Likewise.
53499         (remainder_test_towardzero): Likewise.
53500         (drem_test_towardzero): Likewise.
53501         (remainder_downward_test_data): Likewise.
53502         (remainder_test_downward): Likewise.
53503         (drem_test_downward): Likewise.
53504         (remainder_upward_test_data): Likewise.
53505         (remainder_test_upward): Likewise.
53506         (drem_test_upward): Likewise.
53507         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
53508         (round_test): Use ALL_RM_TEST.
53509         (signbit_test): Likewise.
53510         (trunc_test): Likewise.
53511         (significand_test): Likewise.
53512         (main): Don't call removed functions.
53514 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
53516         [BZ #16674]
53517         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
53518         || __USE_XOPEN2K8].
53519         (ILL_ILLOPN): Likewise.
53520         (ILL_ILLADR): Likewise.
53521         (ILL_ILLTRP): Likewise.
53522         (ILL_PRVOPC): Likewise.
53523         (ILL_PRVREG): Likewise.
53524         (ILL_COPROC): Likewise.
53525         (ILL_BADSTK): Likewise.
53526         (FPE_INTDIV): Likewise.
53527         (FPE_INTOVF): Likewise.
53528         (FPE_FLTDIV): Likewise.
53529         (FPE_FLTOVF): Likewise.
53530         (FPE_FLTUND): Likewise.
53531         (FPE_FLTRES): Likewise.
53532         (FPE_FLTINV): Likewise.
53533         (FPE_FLTSUB): Likewise.
53534         (SEGV_MAPERR): Likewise.
53535         (SEGV_ACCERR): Likewise.
53536         (BUS_ADRALN): Likewise.
53537         (BUS_ADRERR): Likewise.
53538         (BUS_OBJERR): Likewise.
53539         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53540         (TRAP_TRACE): Likewise.
53541         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53542         __USE_XOPEN2K8].
53543         (CLD_KILLED): Likewise.
53544         (CLD_DUMPED): Likewise.
53545         (CLD_TRAPPED): Likewise.
53546         (CLD_STOPPED): Likewise.
53547         (CLD_CONTINUED): Likewise.
53548         (POLL_IN): Likewise.
53549         (POLL_OUT): Likewise.
53550         (POLL_MSG): Likewise.
53551         (POLL_ERR): Likewise.
53552         (POLL_PRI): Likewise.
53553         (POLL_HUP): Likewise.
53554         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
53555         Likewise.
53556         (ILL_ILLOPN): Likewise.
53557         (ILL_ILLADR): Likewise.
53558         (ILL_ILLTRP): Likewise.
53559         (ILL_PRVOPC): Likewise.
53560         (ILL_PRVREG): Likewise.
53561         (ILL_COPROC): Likewise.
53562         (ILL_BADSTK): Likewise.
53563         (FPE_INTDIV): Likewise.
53564         (FPE_INTOVF): Likewise.
53565         (FPE_FLTDIV): Likewise.
53566         (FPE_FLTOVF): Likewise.
53567         (FPE_FLTUND): Likewise.
53568         (FPE_FLTRES): Likewise.
53569         (FPE_FLTINV): Likewise.
53570         (FPE_FLTSUB): Likewise.
53571         (SEGV_MAPERR): Likewise.
53572         (SEGV_ACCERR): Likewise.
53573         (BUS_ADRALN): Likewise.
53574         (BUS_ADRERR): Likewise.
53575         (BUS_OBJERR): Likewise.
53576         (BUS_MCEERR_AR): Likewise.
53577         (BUS_MCEERR_AO): Likewise.
53578         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53579         (TRAP_TRACE): Likewise.
53580         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53581         __USE_XOPEN2K8].
53582         (CLD_KILLED): Likewise.
53583         (CLD_DUMPED): Likewise.
53584         (CLD_TRAPPED): Likewise.
53585         (CLD_STOPPED): Likewise.
53586         (CLD_CONTINUED): Likewise.
53587         (POLL_IN): Likewise.
53588         (POLL_OUT): Likewise.
53589         (POLL_MSG): Likewise.
53590         (POLL_ERR): Likewise.
53591         (POLL_PRI): Likewise.
53592         (POLL_HUP): Likewise.
53593         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
53594         (ILL_ILLOPN): Likewise.
53595         (ILL_ILLADR): Likewise.
53596         (ILL_ILLTRP): Likewise.
53597         (ILL_PRVOPC): Likewise.
53598         (ILL_PRVREG): Likewise.
53599         (ILL_COPROC): Likewise.
53600         (ILL_BADSTK): Likewise.
53601         (FPE_INTDIV): Likewise.
53602         (FPE_INTOVF): Likewise.
53603         (FPE_FLTDIV): Likewise.
53604         (FPE_FLTOVF): Likewise.
53605         (FPE_FLTUND): Likewise.
53606         (FPE_FLTRES): Likewise.
53607         (FPE_FLTINV): Likewise.
53608         (FPE_FLTSUB): Likewise.
53609         (SEGV_MAPERR): Likewise.
53610         (SEGV_ACCERR): Likewise.
53611         (BUS_ADRALN): Likewise.
53612         (BUS_ADRERR): Likewise.
53613         (BUS_OBJERR): Likewise.
53614         (BUS_MCEERR_AR): Likewise.
53615         (BUS_MCEERR_AO): Likewise.
53616         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53617         (TRAP_TRACE): Likewise.
53618         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53619         __USE_XOPEN2K8].
53620         (CLD_KILLED): Likewise.
53621         (CLD_DUMPED): Likewise.
53622         (CLD_TRAPPED): Likewise.
53623         (CLD_STOPPED): Likewise.
53624         (CLD_CONTINUED): Likewise.
53625         (POLL_IN): Likewise.
53626         (POLL_OUT): Likewise.
53627         (POLL_MSG): Likewise.
53628         (POLL_ERR): Likewise.
53629         (POLL_PRI): Likewise.
53630         (POLL_HUP): Likewise.
53631         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
53632         Likewise.
53633         (ILL_ILLOPN): Likewise.
53634         (ILL_ILLADR): Likewise.
53635         (ILL_ILLTRP): Likewise.
53636         (ILL_PRVOPC): Likewise.
53637         (ILL_PRVREG): Likewise.
53638         (ILL_COPROC): Likewise.
53639         (ILL_BADSTK): Likewise.
53640         (ILL_BADIADDR): Likewise.
53641         (ILL_BREAK): Likewise.
53642         (FPE_INTDIV): Likewise.
53643         (FPE_INTOVF): Likewise.
53644         (FPE_FLTDIV): Likewise.
53645         (FPE_FLTOVF): Likewise.
53646         (FPE_FLTUND): Likewise.
53647         (FPE_FLTRES): Likewise.
53648         (FPE_FLTINV): Likewise.
53649         (FPE_FLTSUB): Likewise.
53650         (FPE_DECOVF): Likewise.
53651         (FPE_DECDIV): Likewise.
53652         (FPE_DECERR): Likewise.
53653         (FPE_INVASC): Likewise.
53654         (FPE_INVDEC): Likewise.
53655         (SEGV_MAPERR): Likewise.
53656         (SEGV_ACCERR): Likewise.
53657         (SEGV_PSTKOVF): Likewise.
53658         (BUS_ADRALN): Likewise.
53659         (BUS_ADRERR): Likewise.
53660         (BUS_OBJERR): Likewise.
53661         (BUS_MCEERR_AR): Likewise.
53662         (BUS_MCEERR_AO): Likewise.
53663         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53664         (TRAP_TRACE): Likewise.
53665         (TRAP_BRANCH): Likewise.
53666         (TRAP_HWBKPT): Likewise.
53667         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53668         __USE_XOPEN2K8].
53669         (CLD_KILLED): Likewise.
53670         (CLD_DUMPED): Likewise.
53671         (CLD_TRAPPED): Likewise.
53672         (CLD_STOPPED): Likewise.
53673         (CLD_CONTINUED): Likewise.
53674         (POLL_IN): Likewise.
53675         (POLL_OUT): Likewise.
53676         (POLL_MSG): Likewise.
53677         (POLL_ERR): Likewise.
53678         (POLL_PRI): Likewise.
53679         (POLL_HUP): Likewise.
53680         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
53681         (ILL_ILLOPN): Likewise.
53682         (ILL_ILLADR): Likewise.
53683         (ILL_ILLTRP): Likewise.
53684         (ILL_PRVOPC): Likewise.
53685         (ILL_PRVREG): Likewise.
53686         (ILL_COPROC): Likewise.
53687         (ILL_BADSTK): Likewise.
53688         (FPE_INTDIV): Likewise.
53689         (FPE_INTOVF): Likewise.
53690         (FPE_FLTDIV): Likewise.
53691         (FPE_FLTOVF): Likewise.
53692         (FPE_FLTUND): Likewise.
53693         (FPE_FLTRES): Likewise.
53694         (FPE_FLTINV): Likewise.
53695         (FPE_FLTSUB): Likewise.
53696         (SEGV_MAPERR): Likewise.
53697         (SEGV_ACCERR): Likewise.
53698         (BUS_ADRALN): Likewise.
53699         (BUS_ADRERR): Likewise.
53700         (BUS_OBJERR): Likewise.
53701         (BUS_MCEERR_AR): Likewise.
53702         (BUS_MCEERR_AO): Likewise.
53703         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53704         (TRAP_TRACE): Likewise.
53705         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53706         __USE_XOPEN2K8].
53707         (CLD_KILLED): Likewise.
53708         (CLD_DUMPED): Likewise.
53709         (CLD_TRAPPED): Likewise.
53710         (CLD_STOPPED): Likewise.
53711         (CLD_CONTINUED): Likewise.
53712         (POLL_IN): Likewise.
53713         (POLL_OUT): Likewise.
53714         (POLL_MSG): Likewise.
53715         (POLL_ERR): Likewise.
53716         (POLL_PRI): Likewise.
53717         (POLL_HUP): Likewise.
53718         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
53719         (ILL_ILLOPN): Likewise.
53720         (ILL_ILLADR): Likewise.
53721         (ILL_ILLTRP): Likewise.
53722         (ILL_PRVOPC): Likewise.
53723         (ILL_PRVREG): Likewise.
53724         (ILL_COPROC): Likewise.
53725         (ILL_BADSTK): Likewise.
53726         (FPE_INTDIV): Likewise.
53727         (FPE_INTOVF): Likewise.
53728         (FPE_FLTDIV): Likewise.
53729         (FPE_FLTOVF): Likewise.
53730         (FPE_FLTUND): Likewise.
53731         (FPE_FLTRES): Likewise.
53732         (FPE_FLTINV): Likewise.
53733         (FPE_FLTSUB): Likewise.
53734         (SEGV_MAPERR): Likewise.
53735         (SEGV_ACCERR): Likewise.
53736         (BUS_ADRALN): Likewise.
53737         (BUS_ADRERR): Likewise.
53738         (BUS_OBJERR): Likewise.
53739         (BUS_MCEERR_AR): Likewise.
53740         (BUS_MCEERR_AO): Likewise.
53741         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53742         (TRAP_TRACE): Likewise.
53743         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53744         __USE_XOPEN2K8].
53745         (CLD_KILLED): Likewise.
53746         (CLD_DUMPED): Likewise.
53747         (CLD_TRAPPED): Likewise.
53748         (CLD_STOPPED): Likewise.
53749         (CLD_CONTINUED): Likewise.
53750         (POLL_IN): Likewise.
53751         (POLL_OUT): Likewise.
53752         (POLL_MSG): Likewise.
53753         (POLL_ERR): Likewise.
53754         (POLL_PRI): Likewise.
53755         (POLL_HUP): Likewise.
53756         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
53757         (ILL_ILLOPN): Likewise.
53758         (ILL_ILLADR): Likewise.
53759         (ILL_ILLTRP): Likewise.
53760         (ILL_PRVOPC): Likewise.
53761         (ILL_PRVREG): Likewise.
53762         (ILL_COPROC): Likewise.
53763         (ILL_BADSTK): Likewise.
53764         (FPE_INTDIV): Likewise.
53765         (FPE_INTOVF): Likewise.
53766         (FPE_FLTDIV): Likewise.
53767         (FPE_FLTOVF): Likewise.
53768         (FPE_FLTUND): Likewise.
53769         (FPE_FLTRES): Likewise.
53770         (FPE_FLTINV): Likewise.
53771         (FPE_FLTSUB): Likewise.
53772         (SEGV_MAPERR): Likewise.
53773         (SEGV_ACCERR): Likewise.
53774         (BUS_ADRALN): Likewise.
53775         (BUS_ADRERR): Likewise.
53776         (BUS_OBJERR): Likewise.
53777         (BUS_MCEERR_AR): Likewise.
53778         (BUS_MCEERR_AO): Likewise.
53779         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53780         (TRAP_TRACE): Likewise.
53781         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53782         __USE_XOPEN2K8].
53783         (CLD_KILLED): Likewise.
53784         (CLD_DUMPED): Likewise.
53785         (CLD_TRAPPED): Likewise.
53786         (CLD_STOPPED): Likewise.
53787         (CLD_CONTINUED): Likewise.
53788         (POLL_IN): Likewise.
53789         (POLL_OUT): Likewise.
53790         (POLL_MSG): Likewise.
53791         (POLL_ERR): Likewise.
53792         (POLL_PRI): Likewise.
53793         (POLL_HUP): Likewise.
53794         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
53795         (ILL_ILLOPN): Likewise.
53796         (ILL_ILLADR): Likewise.
53797         (ILL_ILLTRP): Likewise.
53798         (ILL_PRVOPC): Likewise.
53799         (ILL_PRVREG): Likewise.
53800         (ILL_COPROC): Likewise.
53801         (ILL_BADSTK): Likewise.
53802         (ILL_DBLFLT): Likewise.
53803         (ILL_HARDWALL): Likewise.
53804         (FPE_INTDIV): Likewise.
53805         (FPE_INTOVF): Likewise.
53806         (FPE_FLTDIV): Likewise.
53807         (FPE_FLTOVF): Likewise.
53808         (FPE_FLTUND): Likewise.
53809         (FPE_FLTRES): Likewise.
53810         (FPE_FLTINV): Likewise.
53811         (FPE_FLTSUB): Likewise.
53812         (SEGV_MAPERR): Likewise.
53813         (SEGV_ACCERR): Likewise.
53814         (BUS_ADRALN): Likewise.
53815         (BUS_ADRERR): Likewise.
53816         (BUS_OBJERR): Likewise.
53817         (BUS_MCEERR_AR): Likewise.
53818         (BUS_MCEERR_AO): Likewise.
53819         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53820         (TRAP_TRACE): Likewise.
53821         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53822         __USE_XOPEN2K8].
53823         (CLD_KILLED): Likewise.
53824         (CLD_DUMPED): Likewise.
53825         (CLD_TRAPPED): Likewise.
53826         (CLD_STOPPED): Likewise.
53827         (CLD_CONTINUED): Likewise.
53828         (POLL_IN): Likewise.
53829         (POLL_OUT): Likewise.
53830         (POLL_MSG): Likewise.
53831         (POLL_ERR): Likewise.
53832         (POLL_PRI): Likewise.
53833         (POLL_HUP): Likewise.
53834         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
53835         (ILL_ILLOPN): Likewise.
53836         (ILL_ILLADR): Likewise.
53837         (ILL_ILLTRP): Likewise.
53838         (ILL_PRVOPC): Likewise.
53839         (ILL_PRVREG): Likewise.
53840         (ILL_COPROC): Likewise.
53841         (ILL_BADSTK): Likewise.
53842         (FPE_INTDIV): Likewise.
53843         (FPE_INTOVF): Likewise.
53844         (FPE_FLTDIV): Likewise.
53845         (FPE_FLTOVF): Likewise.
53846         (FPE_FLTUND): Likewise.
53847         (FPE_FLTRES): Likewise.
53848         (FPE_FLTINV): Likewise.
53849         (FPE_FLTSUB): Likewise.
53850         (SEGV_MAPERR): Likewise.
53851         (SEGV_ACCERR): Likewise.
53852         (BUS_ADRALN): Likewise.
53853         (BUS_ADRERR): Likewise.
53854         (BUS_OBJERR): Likewise.
53855         (BUS_MCEERR_AR): Likewise.
53856         (BUS_MCEERR_AO): Likewise.
53857         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53858         (TRAP_TRACE): Likewise.
53859         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53860         __USE_XOPEN2K8].
53861         (CLD_KILLED): Likewise.
53862         (CLD_DUMPED): Likewise.
53863         (CLD_TRAPPED): Likewise.
53864         (CLD_STOPPED): Likewise.
53865         (CLD_CONTINUED): Likewise.
53866         (POLL_IN): Likewise.
53867         (POLL_OUT): Likewise.
53868         (POLL_MSG): Likewise.
53869         (POLL_ERR): Likewise.
53870         (POLL_PRI): Likewise.
53871         (POLL_HUP): Likewise.
53872         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
53873         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53875         [BZ #16670]
53876         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
53877         before #include of <time.h>.
53878         [!__USE_XOPEN2K] (__need_timespec): Likewise.
53879         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
53880         (test-xfail-UNIX98/sched.h/conform): Likewise.
53882 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53884         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
53885         error absence of trapping exception support.
53886         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53888 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
53890         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
53891         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
53892         * timezone/Makefile (testdata): Move definition above include of
53893         Rules.
53894         (test-zones): New variable.
53895         (tests-special): Add zone files.
53896         (build-testdata): Use $(evaluate-test).
53898         * elf/Makefile (tests-special): Rename tests to end with .out.
53899         ($(objpfx)noload-mem): Likewise.
53900         ($(objpfx)tst-leaks1-mem): Likewise.
53901         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
53902         * iconv/Makefile (xtests-special): Change test-iconvconfig to
53903         $(objpfx)test-iconvconfig.out.
53904         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
53905         set -e inside subshell and redirect output to file.
53906         * iconvdata/Makefile (generated): Rename tests to end with .out.
53907         Correct type.
53908         (tests-special): Rename tests to end with .out.
53909         ($(objpfx)mtrace-tst-loading): Likewise.
53910         * intl/Makefile (generated): Likewise.
53911         (tests-special): Likewise.
53912         ($(objpfx)mtrace-tst-gettext): Likewise.
53913         * misc/Makefile (generated): Likewise.
53914         (tests-special): Likewise.
53915         ($(objpfx)tst-error1-mem): Likewise.
53916         * nptl/Makefile (tests-special): Likewise.
53917         ($(objpfx)tst-stack3-mem): Likewise.
53918         (generated): Likewise.
53919         * posix/Makefile (generated): Likewise.
53920         (tests-special): Likewise.
53921         (xtests-special): Likewise.
53922         ($(objpfx)tst-fnmatch-mem): Likewise.
53923         ($(objpfx)bug-regex2-mem): Likewise.
53924         ($(objpfx)bug-regex14-mem): Likewise.
53925         ($(objpfx)bug-regex21-mem): Likewise.
53926         ($(objpfx)bug-regex31-mem): Likewise.
53927         ($(objpfx)tst-vfork3-mem): Likewise.
53928         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53929         ($(objpfx)tst-pcre-mem): Likewise.
53930         ($(objpfx)tst-boost-mem): Likewise.
53931         ($(objpfx)bug-ga2-mem): Likewise.
53932         ($(objpfx)bug-glob2-mem): Likewise.
53933         * resolv/Makefile (generate): Likewise.
53934         (tests-special): Likewise.
53935         (xtests-special): Likewise.
53936         (generated): Likewise.
53937         ($(objpfx)mtrace-tst-leaks): Likewise.
53938         ($(objpfx)mtrace-tst-leaks2): Likewise.
53940         * scripts/merge-test-results.sh: New file.
53941         * Makefile (tests-special-notdir): New variable.
53942         (tests): Run merge-test-results.sh.
53943         (xtests): Likewise.
53944         * Rules (tests-special-notdir): New variable.
53945         (xtests-special-notdir): Likewise.
53946         (tests): Run merge-test-results.sh
53947         (xtests): Likewise.
53949         * Makeconfig (test-xfail-name): New variable.
53950         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
53951         compute variable name for expected failures.
53952         * conform/Makefile (conformtest-headers-data): New variable.
53953         (conformtest-standards): Likewise.
53954         (conformtest-headers-ISO): Likewise.
53955         (conformtest-headers-ISO99): Likewise.
53956         (conformtest-headers-ISO11): Likewise.
53957         (conformtest-headers-POSIX): Likewise.
53958         (conformtest-headers-XPG3): Likewise.
53959         (conformtest-headers-XPG4): Likewise.
53960         (conformtest-headers-UNIX98): Likewise.
53961         (conformtest-headers-XOPEN2K): Likewise.
53962         (conformtest-headers-POSIX2008): Likewise.
53963         (conformtest-headers-XOPEN2K8): Likewise.
53964         (conformtest-header-list-base): Likewise.
53965         (conformtest-header-list-tests): Likewise.
53966         (conformtest-header-base): Likewise.
53967         (conformtest-header-tests): Likewise.
53968         (tests-special): Add $(conformtest-header-list-tests).  If
53969         [$(fast-check) && !$(cross-compiling)], add
53970         $(conformtest-header-tests) instead of
53971         $(objpfx)run-conformtest.out.
53972         (generated): Add $(conformtest-header-list-base).  If
53973         [$(fast-check) && !$(cross-compiling)], add
53974         $(conformtest-header-base).  Remove previous setting.
53975         ($(conformtest-header-list-tests)): New target.
53976         (test-xfail-run-conformtest): Remove variable.
53977         ($(objpfx)run-conformtest.out): Remove target.
53978         (test-xfail-ISO11/complex.h/conform): New variable.
53979         (test-xfail-ISO11/stdalign.h/conform): Likewise.
53980         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
53981         (test-xfail-XPG3/varargs.h/conform): Likewise.
53982         (test-xfail-XPG4/varargs.h/conform): Likewise.
53983         (test-xfail-UNIX98/varargs.h/conform): Likewise.
53984         (test-xfail-XPG4/ndbm.h/conform): Likewise.
53985         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
53986         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
53987         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
53988         (test-xfail-XPG3/fcntl.h/conform): Likewise.
53989         (test-xfail-XPG3/ftw.h/conform): Likewise.
53990         (test-xfail-XPG3/grp.h/conform): Likewise.
53991         (test-xfail-XPG3/langinfo.h/conform): Likewise.
53992         (test-xfail-XPG3/limits.h/conform): Likewise.
53993         (test-xfail-XPG3/pwd.h/conform): Likewise.
53994         (test-xfail-XPG3/search.h/conform): Likewise.
53995         (test-xfail-XPG3/signal.h/conform): Likewise.
53996         (test-xfail-XPG3/stdio.h/conform): Likewise.
53997         (test-xfail-XPG3/stdlib.h/conform): Likewise.
53998         (test-xfail-XPG3/string.h/conform): Likewise.
53999         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
54000         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
54001         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
54002         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
54003         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
54004         (test-xfail-XPG3/sys/types.h/conform): Likewise.
54005         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
54006         (test-xfail-XPG3/termios.h/conform): Likewise.
54007         (test-xfail-XPG3/time.h/conform): Likewise.
54008         (test-xfail-XPG3/unistd.h/conform): Likewise.
54009         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
54010         (test-xfail-XPG4/fcntl.h/conform): Likewise.
54011         (test-xfail-XPG4/langinfo.h/conform): Likewise.
54012         (test-xfail-XPG4/netdb.h/conform): Likewise.
54013         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
54014         (test-xfail-XPG4/signal.h/conform): Likewise.
54015         (test-xfail-XPG4/stdio.h/conform): Likewise.
54016         (test-xfail-XPG4/stdlib.h/conform): Likewise.
54017         (test-xfail-XPG4/stropts.h/conform): Likewise.
54018         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
54019         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
54020         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
54021         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
54022         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
54023         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
54024         (test-xfail-XPG4/sys/time.h/conform): Likewise.
54025         (test-xfail-XPG4/sys/types.h/conform): Likewise.
54026         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
54027         (test-xfail-XPG4/termios.h/conform): Likewise.
54028         (test-xfail-XPG4/ucontext.h/conform): Likewise.
54029         (test-xfail-XPG4/unistd.h/conform): Likewise.
54030         (test-xfail-XPG4/utmpx.h/conform): Likewise.
54031         (test-xfail-POSIX/sched.h/conform): Likewise.
54032         (test-xfail-POSIX/signal.h/conform): Likewise.
54033         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
54034         (test-xfail-POSIX/tar.h/conform): Likewise.
54035         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
54036         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
54037         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
54038         (test-xfail-UNIX98/netdb.h/conform): Likewise.
54039         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
54040         (test-xfail-UNIX98/sched.h/conform): Likewise.
54041         (test-xfail-UNIX98/signal.h/conform): Likewise.
54042         (test-xfail-UNIX98/stdio.h/conform): Likewise.
54043         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
54044         (test-xfail-UNIX98/stropts.h/conform): Likewise.
54045         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
54046         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
54047         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
54048         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
54049         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
54050         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
54051         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
54052         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
54053         (test-xfail-UNIX98/unistd.h/conform): Likewise.
54054         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
54055         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
54056         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
54057         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
54058         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
54059         (test-xfail-XOPEN2K/math.h/conform): Likewise.
54060         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
54061         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
54062         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
54063         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
54064         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
54065         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
54066         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
54067         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
54068         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
54069         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
54070         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
54071         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
54072         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
54073         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
54074         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
54075         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
54076         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
54077         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
54078         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
54079         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
54080         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
54081         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
54082         (test-xfail-POSIX2008/signal.h/conform): Likewise.
54083         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
54084         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
54085         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
54086         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
54087         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
54088         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
54089         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
54090         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
54091         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
54092         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
54093         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
54094         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
54095         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
54096         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
54097         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
54098         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
54099         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
54100         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
54101         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
54102         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
54103         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
54104         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
54105         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
54106         (conformtest-cc-flags): Likewise.
54107         ($(conformtest-header-tests): New target.
54108         * conform/check-header-lists.sh: New file.
54109         * conform/run-conformtest.sh: Remove.
54111         * conform/conformtest.pl: Allow ' and \ in values given for
54112         constants.
54113         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
54114         inclusion.
54115         [POSIX] (sys/types.h): Likewise.
54116         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
54117         inclusion.
54118         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
54119         inclusion.
54120         * conform/data/signal.h-data (SIGIO): Remove expectation.
54121         [XPG3] (SIGBUS): Do not expect.
54122         [POSIX || XPG3] (SIGPOLL): Likewise.
54123         [POSIX || XPG3] (SIGPROF): Likewise.
54124         [POSIX || XPG3] (SIGSYS): Likewise.
54125         [XPG3] (SIGTRAP): Likewise.
54126         [POSIX || XPG3] (SIGURG): Likewise.
54127         [POSIX || XPG3] (SIGVTALRM): Likewise.
54128         [POSIX || XPG3] (SIGXCPU): Likewise.
54129         [POSIX || XPG3] (SIGXFSZ): Likewise.
54130         [POSIX] (SA_SIGINFO): Expect.
54131         [XPG3] (siginfo_t): Do not expect type or contents.
54132         [POSIX] (si_pid): Do not expect element.
54133         [POSIX] (si_uid): Likewise.
54134         [POSIX] (si_addr): Likewise.
54135         [POSIX] (si_status): Likewise.
54136         [POSIX] (si_band): Likewise.
54137         [XPG4] (si_value): Likewise.
54138         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
54139         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
54140         [POSIX || XPG3] (ILL_ILLADR): Likewise.
54141         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
54142         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
54143         [POSIX || XPG3] (ILL_PRVREG): Likewise.
54144         [POSIX || XPG3] (ILL_COPROC): Likewise.
54145         [POSIX || XPG3] (ILL_BADSTK): Likewise.
54146         [POSIX || XPG3] (FPE_INTDIV): Likewise.
54147         [POSIX || XPG3] (FPE_INTOVF): Likewise.
54148         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
54149         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
54150         [POSIX || XPG3] (FPE_FLTUND): Likewise.
54151         [POSIX || XPG3] (FPE_FLTRES): Likewise.
54152         [POSIX || XPG3] (FPE_FLTINV): Likewise.
54153         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
54154         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
54155         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
54156         [POSIX || XPG3] (BUS_ADRALN): Likewise.
54157         [POSIX || XPG3] (BUS_ADRERR): Likewise.
54158         [POSIX || XPG3] (BUS_OBJERR): Likewise.
54159         [POSIX || XPG3] (CLD_EXITED): Likewise.
54160         [POSIX || XPG3] (CLD_KILLED): Likewise.
54161         [POSIX || XPG3] (CLD_DUMPED): Likewise.
54162         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
54163         [POSIX || XPG3] (CLD_STOPPED): Likewise.
54164         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
54165         [POSIX || XPG3] (POLL_IN): Likewise.
54166         [POSIX || XPG3] (POLL_OUT): Likewise.
54167         [POSIX || XPG3] (POLL_MSG): Likewise.
54168         [POSIX || XPG3] (POLL_ERR): Likewise.
54169         [POSIX || XPG3] (POLL_PRI): Likewise.
54170         [POSIX || XPG3] (POLL_HUP): Likewise.
54171         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
54172         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
54173         (SIG*): Do not allow.
54174         [XPG3] (si_*): Likewise.
54175         [XPG3] (SI_*): Likewise.
54176         [XPG3 || XPG4] (sigev_*): Likewise.
54177         [XPG3 || XPG4] (SIGEV_*): Likewise.
54178         [XPG3 || XPG4] (sival_*): Likewise.
54179         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
54180         [POSIX || XPG3] (BUS_*): Likewise.
54181         [POSIX || XPG3] (CLD_*): Likewise.
54182         [POSIX || XPG3] (FPE_*): Likewise.
54183         [POSIX || XPG3] (ILL_*): Likewise.
54184         [POSIX || XPG3] (POLL_*): Likewise.
54185         [POSIX || XPG3] (SEGV_*): Likewise.
54186         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
54187         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
54188         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
54189         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
54190         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
54191         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
54192         Specify type and value.
54193         (TVERSLEN): Likewise.
54194         (REGTYPE): Likewise.
54195         (AREGTYPE): Likewise.
54196         (LNKTYPE): Likewise.
54197         (SYMTYPE): Likewise.
54198         (CHRTYPE): Likewise.
54199         (BLKTYPE): Likewise.
54200         (DIRTYPE): Likewise.
54201         (FIFOTYPE): Likewise.
54202         (CONTTYPE): Likewise.
54203         (TSUID): Likewise.
54204         (TSGID): Likewise.
54205         (TSVTX): Likewise.
54206         (TUREAD): Likewise.
54207         (TUWRITE): Likewise.
54208         (TUEXEC): Likewise.
54209         (TGREAD): Likewise.
54210         (TGWRITE): Likewise.
54211         (TGEXEC): Likewise.
54212         (TOREAD): Likewise.
54213         (TOWRITE): Likewise.
54214         (TOEXEC): Likewise.
54215         [POSIX] (TSVTX): Expect constant.
54217 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
54219         * Makefile (tests): Change dependencies to ....
54220         (tests-special): ... additions to this variable.
54221         (tests): Depend on $(tests-special).
54222         * Makerules (check-abi-list): New variable.
54223         (check-abi): Depend on $(check-abi-list).
54224         [$(subdir) = elf] (tests-special): Add
54225         $(objpfx)check-abi-libc.out.
54226         [$(build-shared) = yes && subdir] (tests-special): Add
54227         $(check-abi-list).
54228         [$(build-shared) = yes && subdir] (tests): Do not depend on
54229         check-abi.
54230         * Rules (tests): Depend on $(tests-special).
54231         (xtests): Depend on $(xtests-special).
54232         * catgets/Makefile (tests): Change dependencies to ....
54233         (tests-special): ... additions to this variable.
54234         * conform/Makefile (tests): Change dependencies to ....
54235         (tests-special): ... additions to this variable.
54236         * elf/Makefile (tests): Change dependencies to ....
54237         (tests-special): ... additions to this variable.
54238         * grp/Makefile (tests): Change dependencies to ....
54239         (tests-special): ... additions to this variable.
54240         * iconv/Makefile (xtests): Change dependencies to ....
54241         (xtests-special): ... additions to this variable.
54242         * iconvdata/Makefile (tests): Change dependencies to ....
54243         (tests-special): ... additions to this variable.
54244         * intl/Makefile (tests): Change dependencies to ....
54245         (tests-special): ... additions to this variable.  Also add
54246         $(objpfx)tst-gettext.out.
54247         * io/Makefile (tests): Change dependencies to ....
54248         (tests-special): ... additions to this variable.
54249         * libio/Makefile (tests): Change dependencies to ....
54250         (tests-special): ... additions to this variable.
54251         * malloc/Makefile (tests): Change dependencies to ....
54252         (tests-special): ... additions to this variable.
54253         * misc/Makefile (tests): Change dependencies to ....
54254         (tests-special): ... additions to this variable.
54255         * nptl/Makefile (tests): Change dependencies to ....
54256         (tests-special): ... additions to this variable.
54257         * nptl_db/Makefile (tests): Change dependencies to ....
54258         (tests-special): ... additions to this variable.
54259         * posix/Makefile (tests): Change dependencies to ....
54260         (tests-special): ... additions to this variable.
54261         (xtests): Change dependencies to ....
54262         (xtests-special): ... additions to this variable.
54263         * resolv/Makefile (tests): Change dependencies to ....
54264         (tests-special): ... additions to this variable.
54265         (xtests): Change dependencies to ....
54266         (xtests-special): ... additions to this variable.
54267         * stdio-common/Makefile (tests): Change dependencies to ....
54268         (tests-special): ... additions to this variable.
54269         (do-tst-unbputc): Remove target.
54270         (do-tst-printf): Likewise.
54271         * stdlib/Makefile (tests): Change dependencies to ....
54272         (tests-special): ... additions to this variable.
54273         * string/Makefile (tests): Change dependencies to ....
54274         (tests-special): ... additions to this variable.
54275         * sysdeps/x86/Makefile (tests): Change dependencies to ....
54276         (tests-special): ... additions to this variable.
54278         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
54279         whole file.
54280         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
54281         whole file.
54282         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
54283         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
54285         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
54286         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
54287         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
54288         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
54289         * conform/data/libgen.h-data [XPG3]: Likewise.
54290         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
54291         * conform/data/ndbm.h-data [XPG3]: Likewise.
54292         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
54293         * conform/data/netdb.h-data [XPG3]: Likewise.
54294         * conform/data/netinet/in.h-data [XPG3]: Likewise.
54295         * conform/data/poll.h-data [XPG3]: Likewise.
54296         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
54297         * conform/data/strings.h-data [XPG3]: Likewise.
54298         * conform/data/stropts.h-data [XPG3]: Likewise.
54299         * conform/data/sys/mman.h-data [XPG3]: Likewise.
54300         * conform/data/sys/resource.h-data [XPG3]: Likewise.
54301         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
54302         Likewise.
54303         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
54304         * conform/data/sys/time.h-data [XPG3]: Likewise.
54305         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
54306         * conform/data/sys/uio.h-data [XPG3]: Likewise.
54307         * conform/data/sys/un.h-data [XPG3]: Likewise.
54308         * conform/data/syslog.h-data [XPG3]: Likewise.
54309         * conform/data/ucontext.h-data [XPG3]: Likewise.
54310         * conform/data/utmpx.h-data [XPG3]: Likewise.
54311         * conform/data/varargs.h-data [UNIX98]: Enable file.
54313         * manual/Makefile (INSTALL_INFO): Remove variable setting.
54315         * math/libm-test.inc (struct test_f_f_data): Move expected results
54316         into structure for each rounding mode.
54317         (struct test_ff_f_data): Likewise.
54318         (struct test_ff_f_data_nexttoward): Likewise.
54319         (struct test_fi_f_data): Likewise.
54320         (struct test_fl_f_data): Likewise.
54321         (struct test_if_f_data): Likewise.
54322         (struct test_fff_f_data): Likewise.
54323         (struct test_c_f_data): Likewise.
54324         (struct test_f_f1_data): Likewise.
54325         (struct test_fF_f1_data): Likewise.
54326         (struct test_ffI_f1_data): Likewise.
54327         (struct test_c_c_data): Likewise.
54328         (struct test_cc_c_data): Likewise.
54329         (struct test_f_i_data): Likewise.
54330         (struct test_ff_i_data): Likewise.
54331         (struct test_f_l_data): Likewise.
54332         (struct test_f_L_data): Likewise.
54333         (struct test_fFF_11_data): Likewise.
54334         (RM_): New macro.
54335         (RM_FE_DOWNWARD): Likewise.
54336         (RM_FE_TONEAREST): Likewise.
54337         (RM_FE_TOWARDZERO): Likewise.
54338         (RM_FE_UPWARD): Likewise.
54339         (RUN_TEST_LOOP_f_f): Update references to expected results.
54340         (RUN_TEST_LOOP_2_f): Likewise.
54341         (RUN_TEST_LOOP_fff_f): Likewise.
54342         (RUN_TEST_LOOP_c_f): Likewise.
54343         (RUN_TEST_LOOP_f_f1): Likewise.
54344         (RUN_TEST_LOOP_fF_f1): Likewise.
54345         (RUN_TEST_LOOP_fI_f1): Likewise.
54346         (RUN_TEST_LOOP_ffI_f1): Likewise.
54347         (RUN_TEST_LOOP_c_c): Likewise.
54348         (RUN_TEST_LOOP_cc_c): Likewise.
54349         (RUN_TEST_LOOP_f_i): Likewise.
54350         (RUN_TEST_LOOP_f_i_tg): Likewise.
54351         (RUN_TEST_LOOP_ff_i_tg): Likewise.
54352         (RUN_TEST_LOOP_f_b): Likewise.
54353         (RUN_TEST_LOOP_f_b_tg): Likewise.
54354         (RUN_TEST_LOOP_f_l): Likewise.
54355         (RUN_TEST_LOOP_f_L): Likewise.
54356         (RUN_TEST_LOOP_fFF_11): Likewise.
54357         * math/gen-libm-test.pl (parse_args): Output four copies of
54358         expected results for each test.
54360         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54361         (__ASSUME_UTIMES): Remove.
54362         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54363         (__ASSUME_UTIMES): Likewise.
54365         * math/gen-auto-libm-tests.c: Update comment on output format.
54366         (output_for_one_input_case): Generate before-rounding and
54367         after-rounding information as conditions on output flags not
54368         floating-point format.
54369         * math/auto-libm-test-out: Regenerated.
54370         * math/gen-libm-test.pl (cond_value): New function.
54371         (or_cond_value): Use cond_value.
54372         (generate_testfile): Handle conditional exceptions.
54374 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
54376         * math/libm-test.inc (max_valid_error): New variable.
54377         (init_max_error): Take new argument specifying whether function
54378         results are exactly determined.  Set max_valid_error and bound
54379         other variables for errors based on this argument.
54380         (set_max_error): Do not record results above max_valid_error.
54381         (check_float_internal): Only accept errors of up to 0.5ulps if
54382         also at most max_valid_error.
54383         (START): Take new argument EXACT and pass it to init_max_error.
54384         (acos_test): Update call to START.
54385         (acos_test_tonearest): Likewise.
54386         (acos_test_towardzero): Likewise.
54387         (acos_test_downward): Likewise.
54388         (acos_test_upward): Likewise.
54389         (acosh_test): Likewise.
54390         (asin_test): Likewise.
54391         (asin_test_tonearest): Likewise.
54392         (asin_test_towardzero): Likewise.
54393         (asin_test_downward): Likewise.
54394         (asin_test_upward): Likewise.
54395         (asinh_test): Likewise.
54396         (atan_test): Likewise.
54397         (atanh_test): Likewise.
54398         (atan2_test): Likewise.
54399         (cabs_test): Likewise.
54400         (cacos_test): Likewise.
54401         (cacosh_test): Likewise.
54402         (carg_test): Likewise.
54403         (casin_test): Likewise.
54404         (casinh_test): Likewise.
54405         (catan_test): Likewise.
54406         (catanh_test): Likewise.
54407         (cbrt_test): Likewise.
54408         (ccos_test): Likewise.
54409         (ccosh_test): Likewise.
54410         (ceil_test): Likewise.
54411         (cexp_test): Likewise.
54412         (cimag_test): Likewise.
54413         (clog_test): Likewise.
54414         (clog10_test): Likewise.
54415         (conj_test): Likewise.
54416         (copysign_test): Likewise.
54417         (cos_test): Likewise.
54418         (cos_test_tonearest): Likewise.
54419         (cos_test_towardzero): Likewise.
54420         (cos_test_downward): Likewise.
54421         (cos_test_upward): Likewise.
54422         (cosh_test): Likewise.
54423         (cosh_test_tonearest): Likewise.
54424         (cosh_test_towardzero): Likewise.
54425         (cosh_test_downward): Likewise.
54426         (cosh_test_upward): Likewise.
54427         (cpow_test): Likewise.
54428         (cproj_test): Likewise.
54429         (creal_test): Likewise.
54430         (csin_test): Likewise.
54431         (csinh_test): Likewise.
54432         (csqrt_test): Likewise.
54433         (ctan_test): Likewise.
54434         (ctan_test_tonearest): Likewise.
54435         (ctan_test_towardzero): Likewise.
54436         (ctan_test_downward): Likewise.
54437         (ctan_test_upward): Likewise.
54438         (ctanh_test): Likewise.
54439         (ctanh_test_tonearest): Likewise.
54440         (ctanh_test_towardzero): Likewise.
54441         (ctanh_test_downward): Likewise.
54442         (ctanh_test_upward): Likewise.
54443         (erf_test): Likewise.
54444         (erfc_test): Likewise.
54445         (exp_test): Likewise.
54446         (exp_test_tonearest): Likewise.
54447         (exp_test_towardzero): Likewise.
54448         (exp_test_downward): Likewise.
54449         (exp_test_upward): Likewise.
54450         (exp10_test): Likewise.
54451         (exp10_test_tonearest): Likewise.
54452         (exp10_test_towardzero): Likewise.
54453         (exp10_test_downward): Likewise.
54454         (exp10_test_upward): Likewise.
54455         (pow10_test): Likewise.
54456         (exp2_test): Likewise.
54457         (expm1_test): Likewise.
54458         (expm1_test_tonearest): Likewise.
54459         (expm1_test_towardzero): Likewise.
54460         (expm1_test_downward): Likewise.
54461         (expm1_test_upward): Likewise.
54462         (fabs_test): Likewise.
54463         (fdim_test): Likewise.
54464         (floor_test): Likewise.
54465         (fma_test): Likewise.
54466         (fma_test_towardzero): Likewise.
54467         (fma_test_downward): Likewise.
54468         (fma_test_upward): Likewise.
54469         (fmax_test): Likewise.
54470         (fmin_test): Likewise.
54471         (fmod_test): Likewise.
54472         (fpclassify_test): Likewise.
54473         (frexp_test): Likewise.
54474         (hypot_test): Likewise.
54475         (ilogb_test): Likewise.
54476         (isfinite_test): Likewise.
54477         (finite_test): Likewise.
54478         (isgreater_test): Likewise.
54479         (isgreaterequal_test): Likewise.
54480         (isinf_test): Likewise.
54481         (isless_test): Likewise.
54482         (islessequal_test): Likewise.
54483         (islessgreater_test): Likewise.
54484         (isnan_test): Likewise.
54485         (isnormal_test): Likewise.
54486         (issignaling_test): Likewise.
54487         (isunordered_test): Likewise.
54488         (j0_test): Likewise.
54489         (j1_test): Likewise.
54490         (jn_test): Likewise.
54491         (ldexp_test): Likewise.
54492         (lgamma_test): Likewise.
54493         (gamma_test): Likewise.
54494         (lrint_test): Likewise.
54495         (lrint_test_tonearest): Likewise.
54496         (lrint_test_towardzero): Likewise.
54497         (lrint_test_downward): Likewise.
54498         (lrint_test_upward): Likewise.
54499         (llrint_test): Likewise.
54500         (llrint_test_tonearest): Likewise.
54501         (llrint_test_towardzero): Likewise.
54502         (llrint_test_downward): Likewise.
54503         (llrint_test_upward): Likewise.
54504         (log_test): Likewise.
54505         (log10_test): Likewise.
54506         (log1p_test): Likewise.
54507         (log2_test): Likewise.
54508         (logb_test): Likewise.
54509         (logb_test_downward): Likewise.
54510         (lround_test): Likewise.
54511         (llround_test): Likewise.
54512         (modf_test): Likewise.
54513         (nearbyint_test): Likewise.
54514         (nextafter_test): Likewise.
54515         (nexttoward_test): Likewise.
54516         (pow_test): Likewise.
54517         (pow_test_tonearest): Likewise.
54518         (pow_test_towardzero): Likewise.
54519         (pow_test_downward): Likewise.
54520         (pow_test_upward): Likewise.
54521         (remainder_test): Likewise.
54522         (drem_test): Likewise.
54523         (remainder_test_tonearest): Likewise.
54524         (drem_test_tonearest): Likewise.
54525         (remainder_test_towardzero): Likewise.
54526         (drem_test_towardzero): Likewise.
54527         (remainder_test_downward): Likewise.
54528         (drem_test_downward): Likewise.
54529         (remainder_test_upward): Likewise.
54530         (drem_test_upward): Likewise.
54531         (remquo_test): Likewise.
54532         (rint_test): Likewise.
54533         (rint_test_tonearest): Likewise.
54534         (rint_test_towardzero): Likewise.
54535         (rint_test_downward): Likewise.
54536         (rint_test_upward): Likewise.
54537         (round_test): Likewise.
54538         (scalb_test): Likewise.
54539         (scalbn_test): Likewise.
54540         (scalbln_test): Likewise.
54541         (signbit_test): Likewise.
54542         (sin_test): Likewise.
54543         (sin_test_tonearest): Likewise.
54544         (sin_test_towardzero): Likewise.
54545         (sin_test_downward): Likewise.
54546         (sin_test_upward): Likewise.
54547         (sincos_test): Likewise.
54548         (sinh_test): Likewise.
54549         (sinh_test_tonearest): Likewise.
54550         (sinh_test_towardzero): Likewise.
54551         (sinh_test_downward): Likewise.
54552         (sinh_test_upward): Likewise.
54553         (sqrt_test): Likewise.
54554         (sqrt_test_tonearest): Likewise.
54555         (sqrt_test_towardzero): Likewise.
54556         (sqrt_test_downward): Likewise.
54557         (sqrt_test_upward): Likewise.
54558         (tan_test): Likewise.
54559         (tan_test_tonearest): Likewise.
54560         (tan_test_towardzero): Likewise.
54561         (tan_test_downward): Likewise.
54562         (tan_test_upward): Likewise.
54563         (tanh_test): Likewise.
54564         (tgamma_test): Likewise.
54565         (trunc_test): Likewise.
54566         (y0_test): Likewise.
54567         (y1_test): Likewise.
54568         (yn_test): Likewise.
54569         (significand_test): Likewise.
54571         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
54572         individual tests in comment.
54573         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
54574         (prev_max_error): New variable.
54575         (prev_real_max_error): Likewise.
54576         (prev_imag_max_error): Likewise.
54577         (compare_ulp_data): Don't refer to test names in comment.
54578         (find_test_ulps): Remove function.
54579         (find_function_ulps): Likewise.
54580         (find_complex_function_ulps): Likewise.
54581         (init_max_error): Take function name as argument.  Look up ulps
54582         for that function.
54583         (print_ulps): Remove function.
54584         (print_max_error): Use prev_max_error instead of calling
54585         find_function_ulps.
54586         (print_complex_max_error): Use prev_real_max_error and
54587         prev_imag_max_error instead of calling find_complex_function_ulps.
54588         (check_float_internal): Take max_ulp parameter instead of calling
54589         find_test_ulps.  Don't call print_ulps.
54590         (check_float): Update call to check_float_internal.
54591         (check_complex): Update calls to check_float_internal.
54592         (START): Pass argument to init_max_error.
54593         * math/gen-libm-test.pl (%results): Don't include "kind"
54594         information.
54595         (parse_ulps): Don't handle ulps of individual tests.
54596         (print_ulps_file): Likewise.
54597         (output_ulps): Likewise.
54598         * math/README.libm-test: Update.
54599         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
54600         individual tests.
54601         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
54602         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
54603         * sysdeps/arm/libm-test-ulps: Likewise.
54604         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
54605         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
54606         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
54607         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
54608         * sysdeps/microblaze/libm-test-ulps: Likewise.
54609         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
54610         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
54611         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54612         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
54613         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54614         * sysdeps/sh/libm-test-ulps: Likewise.
54615         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54616         * sysdeps/tile/libm-test-ulps: Likewise.
54617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54619 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
54621         * math/libm-test.inc (print_complex_max_error): Check separately
54622         whether real and imaginary errors are within allowed range and
54623         pass 0 to print_complex_function_ulps instead of value within
54624         allowed range.
54626 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54628         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
54629         formatting.
54630         (get_handles_fopen): Likewise.
54631         (do_write_test): Likewise.
54633         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
54635         * libio/fileops.c (do_ftell): Use cached offset when
54636         available.
54637         * libio/iofwide.c (do_ftell_wide): Likewise.
54638         * libio/iofdopen.c (_IO_new_fdopen): Don't use
54639         _IO_file_attach.
54640         * libio/wfileops.c (_IO_fwide): Don't cache offset.
54642         [BZ #16532]
54643         * libio/libioP.h (get_file_offset): New function.
54644         * libio/fileops.c (get_file_offset): Likewise.
54645         (do_ftell): Likewise.
54646         (_IO_new_file_seekoff): Split out ftell logic.
54647         * libio/wfileops.c (do_ftell_wide): Likewise.
54648         (_IO_wfile_seekoff): Split out ftell logic.
54649         * libio/tst-ftell-active-handler.c: New test case.
54650         * libio/Makefile (tests): Add it.
54652 2014-03-03  Roland McGrath  <roland@hack.frob.com>
54654         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
54655         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
54657 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54659         [BZ #16639]
54660         * nscd/connections.c (nscd_init): Call do_exit.
54661         (start_threads): Call do_exit and notify_parent.
54662         (begin_drop_privileges): Call do_exit.
54663         (finish_drop_privileges): Likewise.
54664         * nscd/selinux.c (preserve_capabilities): Likewise.
54665         (install_real_capabilities): Likewise.
54666         (nscd_selinux_enabled): Likewise.
54667         (avc_create_thread): Likewise.
54668         (avc_alloc_lock): Likewise.
54669         (nscd_avc_init): Likewise.
54670         * nscd/nscd.c (parent_fd): New static variable.
54671         (main): Create a pipe between parent and child processes.
54672         Skip closing parent_fd.
54673         (monitor_child): New function.
54674         (do_exit): Likewise.
54675         (notify_parent): Likewise.
54676         * nscd/nscd.h (notify_parent): Likewise.
54677         (do_exit): Likewise.
54679 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
54681         * malloc/malloc.c (__libc_calloc): Revert last change.
54683 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54687 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
54689         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
54690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
54691         implementation.
54692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54693         (__libc_ifunc_impl_list): Likewise.
54694         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
54695         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
54696         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
54697         * string/strrchr.c: Define STRRCHR.
54699 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
54701         * benchtest/bench-strtok.c (simple_strtok): Delete.
54702         (strtok_string): Use as benchmark.
54703         * string/strtok (STRTOK): New macro.
54705 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
54707         * manual/threads.texi: Add header and standard comments to all
54708         functions.
54710         * elf/dl-lookup.c (check_match): New function.
54711         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
54712         (do_lookup_x): Remove nested function check_match. Use non-nested
54713         function check_match.
54715 2014-02-28  Roland McGrath  <roland@hack.frob.com>
54717         * csu/Makefile (generated, before-compile): Use += rather than =.
54718         * catgets/Makefile (generated, generated-dirs): Likewise.
54719         * debug/Makefile (generated): Likewise.
54720         * dlfcn/Makefile (generated): Likewise.
54721         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
54722         * iconvdata/Makefile (before-compile, generated): Likewise.
54723         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
54724         * libio/Makefile (generated): Likewise.
54725         * malloc/Makefile (generated): Likewise.
54726         * manual/Makefile (generated, generated-dirs): Likewise.
54727         * misc/Makefile (generated): Likewise.
54728         * posix/Makefile (generated): Likewise.
54729         * resolv/Makefile (generated): Likewise.
54730         * sunrpc/Makefile (generated, generated-dirs): Likewise.
54731         * timezone/Makefile (generated, generated-dirs): Likewise.
54733         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
54735 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54737         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
54738         power8 implementation.
54739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
54740         file: POWER8 llround ifunc implementation.
54741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
54742         (__lllround): Add POWER8 implementation.
54743         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
54744         POWER8 llround implementation.
54746         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
54747         power8 implementation.
54748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
54749         file: POWER8 llrint ifunc implementation.
54750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
54751         Add POWER8 implementation.
54752         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
54753         POWER8 llrint implementation.
54755         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
54756         power8 implementation.
54757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
54758         file: POWER8 finite ifunc implementation.
54759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
54760         Add POWER8 implementation.
54761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
54762         Likewise.
54763         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
54764         POWER8 finite implementation.
54765         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
54767         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
54768         power8 implementation.
54769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
54770         file: POWER8 isinf ifunc implementation.
54771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
54772         POWER8 implementation.
54773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
54774         Likewise.
54775         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
54776         isinf implementation.
54777         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
54779         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
54780         (INIT_ARCH): Add hwcap2 initialization.
54781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
54782         power8 implementation.
54783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
54784         file: POWER8 isnan ifunc implementation.
54785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
54786         POWER8 implementation.
54787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
54788         Likewise.
54789         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
54790         isnan implementation.
54791         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
54793 2014-02-27  Joey Ye  <joey.ye@arm.com>
54795         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
54796         (_FP_NANFRAC_Q): Set to zero.
54798 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54800         [BZ #16623]
54801         * math/auto-libm-test-in: New test inputs.
54802         * math/auto-libm-test-out: Regenerate.
54803         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
54804         and DA.
54805         (__cos): Likewise.
54806         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54808 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
54810         * scripts/evaluate-test.sh: Take new argument indicating whether
54811         failure is expected.
54812         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
54813         indicating whether failure is expected.
54814         * conform/Makefile (test-xfail-run-conformtest): New variable.
54815         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
54816         level.
54817         * posix/Makefile (test-xfail-annexc): New variable.
54818         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
54820 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
54822         * argp/Makefile: Include Makeconfig immediately after defining
54823         subdir.
54824         * assert/Makefile: Likewise.
54825         * benchtests/Makefile: Likewise.
54826         * catgets/Makefile: Likewise.
54827         * conform/Makefile: Likewise.
54828         * crypt/Makefile: Likewise.
54829         * csu/Makefile: Likewise.
54830         (all): Remove target.
54831         * ctype/Makefile: Include Makeconfig immediately after defining
54832         subdir.
54833         * debug/Makefile: Likewise.
54834         * dirent/Makefile: Likewise.
54835         * dlfcn/Makefile: Likewise.
54836         * gmon/Makefile: Likewise.
54837         * gnulib/Makefile: Likewise.
54838         * grp/Makefile: Likewise.
54839         * gshadow/Makefile: Likewise.
54840         * hesiod/Makefile: Likewise.
54841         * hurd/Makefile: Likewise.
54842         (all): Remove target.
54843         * iconvdata/Makefile: Include Makeconfig immediately after
54844         defining subdir.
54845         * inet/Makefile: Likewise.
54846         * intl/Makefile: Likewise.
54847         * io/Makefile: Likewise.
54848         * libio/Makefile: Likewise.
54849         (all): Remove target.
54850         * locale/Makefile: Include Makeconfig immediately after defining
54851         subdir.
54852         * login/Makefile: Likewise.
54853         * mach/Makefile: Likewise.
54854         (all): Remove target.
54855         * malloc/Makefile: Include Makeconfig immediately after defining
54856         subdir.
54857         (all): Remove target.
54858         * manual/Makefile: Include Makeconfig immediately after defining
54859         subdir.
54860         * math/Makefile: Likewise.
54861         * misc/Makefile: Likewise.
54862         * nis/Makefile: Likewise.
54863         * nss/Makefile: Likewise.
54864         * po/Makefile: Likewise.
54865         (all): Remove target.
54866         * posix/Makefile: Include Makeconfig immediately after defining
54867         subdir.
54868         * pwd/Makefile: Likewise.
54869         * resolv/Makefile: Likewise.
54870         * resource/Makefile: Likewise.
54871         * rt/Makefile: Likewise.
54872         * setjmp/Makefile: Likewise.
54873         * shadow/Makefile: Likewise.
54874         * signal/Makefile: Likewise.
54875         * socket/Makefile: Likewise.
54876         * soft-fp/Makefile: Likewise.
54877         * stdio-common/Makefile: Likewise.
54878         * stdlib/Makefile: Likewise.
54879         * streams/Makefile: Likewise.
54880         * string/Makefile: Likewise.
54881         * sunrpc/Makefile: Likewise.
54882         (all): Remove target.
54883         * sysvipc/Makefile: Include Makeconfig immediately after defining
54884         subdir.
54885         * termios/Makefile: Likewise.
54886         * time/Makefile: Likewise.
54887         * timezone/Makefile: Likewise.
54888         (all): Remove target.
54889         * wcsmbs/Makefile: Include Makeconfig immediately after defining
54890         subdir.
54891         * wctype/Makefile: Likewise.
54893 2014-02-26  Steve Ellcey  <sellcey@mips.com>
54895         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
54896         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
54897         (libc_feholdexcept_setround_mips): Ditto.
54898         (libc_feholdsetround): New.
54899         (libc_feholdsetroundf): New.
54900         (libc_feholdsetroundl): New.
54901         (libc_feupdateenv_test_mips): New.
54902         (libc_feupdateenv_test): New.
54903         (libc_feupdateenv_testf): New.
54904         (libc_feupdateenv_testl): New.
54905         (libc_feresetround): New.
54906         (libc_feresetroundf): New.
54907         (libc_feresetroundl): New.
54908         (libc_fetestexcept_mips): New.
54909         (libc_fetestexcept): New.
54910         (libc_fetestexceptf): New.
54911         (libc_fetestexceptl): New.
54912         (HAVE_RM_CTX): New.
54913         (libc_feholdexcept_setround_mips_ctx): New.
54914         (libc_feholdexcept_setround_ctx): New.
54915         (libc_feholdexcept_setroundf_ctx): New.
54916         (libc_feholdexcept_setroundl_ctx): New.
54917         (libc_fesetenv_mips_ctx): New.
54918         (libc_fesetenv_ctx): New.
54919         (libc_fesetenv_ctxf): New.
54920         (libc_fesetenv_ctxl): New.
54921         (libc_feupdateenv_mips_ctx): New.
54922         (libc_feupdateenv_ctx): New.
54923         (libc_feupdateenvf_ctx): New.
54924         (libc_feupdateenvl_ctx): New.
54925         (libc_feholdsetround_mips_ctx): New.
54926         (libc_feholdsetround_ctx): New.
54927         (libc_feholdsetroundf_ctx): New.
54928         (libc_feholdsetroundl_ctx): New.
54929         (libc_feresetround_mips_ctx): New.
54930         (libc_feresetround_ctx): New.
54931         (libc_feresetroundf_ctx): New.
54932         (libc_feresetroundl_ctx): New.
54934 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
54936         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
54938         * manual/ipc.texi: New file.
54939         * manual/Makefile (chapters): Add ipc.
54940         * manual/job.texi: Add "Inter-Process Communication" to next.
54941         * manual/process.texi: Add "Inter-Process Communication" to prev.
54943 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54947 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
54949         * malloc/malloc.c (__libc_calloc): Simplify implementation.
54951         * manual/arith.texi: Fix spaces after sentences.
54952         * manual/charset.texi: Likewise.
54953         * manual/errno.texi: Likewise.
54954         * manual/install.texi: Likewise.
54955         * manual/llio.texi: Likewise.
54956         * manual/locale.texi: Likewise.
54957         * manual/maint.texi: Likewise.
54958         * manual/math.texi: Likewise.
54959         * manual/memory.texi: Likewise.
54960         * manual/message.texi: Likewise.
54961         * manual/probes.texi: Likewise.
54962         * manual/resource.texi: Likewise.
54963         * manual/signal.texi: Likewise.
54964         * manual/socket.texi: Likewise.
54965         * manual/stdio.texi: Likewise.
54966         * manual/string.texi: Likewise.
54967         * manual/time.texi: Likewise.
54968         * manual/users.texi: Likewise.
54970 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
54972         [BZ #16632]
54973         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
54974         _DEFAULT_SOURCE is defined.
54976 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
54977             Carlos O'Donell  <carlos@redhat.com>
54979         [BZ #16613]
54980         * elf/dl-tls.c (_dl_count_modids): New function.
54981         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
54982         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
54983         audit library and increment generation counter.
54984         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
54985         * elf/tst-audit9.c: New file.
54986         * elf/tst-auditmod9a.c: New file.
54987         * elf/tst-auditmod9b.c: New file.
54988         * elf/Makefile: Add rules to build and run tst-audit9.
54990 2014-02-25  Florian Weimer  <fweimer@redhat.com>
54992         [BZ #15347]
54993         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
54995 2014-02-25  Will Newton  <will.newton@linaro.org>
54997         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
54998         (__longjmp): Restore sp and lr before restoring callee
54999         saved registers.  Add longjmp and longjmp_target
55000         SystemTap probe point.
55001         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
55002         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
55003         Define to zero to match jmpbuf layout.
55004         * sysdeps/arm/setjmp.S: Include stap-probe.h.
55005         (__sigsetjmp): Save sp and lr before saving callee
55006         saved registers.  Add setjmp SystemTap probe point.
55008 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
55010         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
55012 2014-02-24  Andreas Schwab  <schwab@suse.de>
55014         [BZ #15804]
55015         * elf/pldd.c (wait_for_ptrace_stop): New function.
55016         (main): Call it after attaching.
55018 2014-02-22  Roland McGrath  <roland@hack.frob.com>
55020         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
55021         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
55022         Versions files is now verboten.
55023         * hurd/Versions (libc: GLIBC_2.0):
55024         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
55025         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
55026         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
55027         * mach/Versions: Likewise.
55029         * csu/Versions: Remove unused %include.
55030         * resolv/Versions: Likewise.
55032 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
55034         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
55035         ($(objpfx)check-local-headers.out): Likewise.
55036         ($(objpfx)begin-end-check.out): Likewise.
55037         * Makerules (check-abi-%.out): Likewise.
55038         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
55039         ($(objpfx)test2.cat): Likewise.
55040         ($(objpfx)de/libc.cat): Likewise.
55041         ($(objpfx)test-gencat.out): Likewise.
55042         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
55043         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
55044         ($(objpfx)noload-mem): Likewise.
55045         ($(objpfx)tst-pathopt.out): Likewise.
55046         ($(objpfx)tst-rtld-load-self.out): Likewise.
55047         ($(objpfx)tst-array1-cmp.out): Likewise.
55048         ($(objpfx)tst-array1-static-cmp.out): Likewise.
55049         ($(objpfx)tst-array2-cmp.out): Likewise.
55050         ($(objpfx)tst-array3-cmp.out): Likewise.
55051         ($(objpfx)tst-array4-cmp.out): Likewise.
55052         ($(objpfx)tst-array5-cmp.out): Likewise.
55053         ($(objpfx)tst-array5-static-cmp.out): Likewise.
55054         ($(objpfx)check-textrel.out): Likewise.
55055         ($(objpfx)check-execstack.out): Likewise.
55056         ($(objpfx)check-localplt.out): Likewise.
55057         ($(objpfx)order2-cmp.out): Likewise.
55058         ($(objpfx)tst-leaks1-mem): Likewise.
55059         ($(objpfx)tst-leaks1-static-mem): Likewise.
55060         ($(objpfx)tst-initorder-cmp.out): Likewise.
55061         ($(objpfx)tst-initorder2-cmp.out): Likewise.
55062         ($(objpfx)tst-unused-dep.out): Likewise.
55063         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
55064         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
55065         * iconv/Makefile (test-iconvconfig): Likewise.
55066         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
55067         ($(objpfx)iconv-test.out): Likewise.
55068         ($(objpfx)tst-tables.out): Likewise.
55069         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
55070         ($(objpfx)tst-gettext.out): Likewise.
55071         ($(objpfx)tst-translit.out): Likewise.
55072         ($(objpfx)tst-gettext2.out): Likewise.
55073         ($(objpfx)tst-gettext4.out): Likewise.
55074         ($(objpfx)tst-gettext6.out): Likewise.
55075         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
55076         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
55077         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
55078         ($(objpfx)tst-fopenloc-mem.out): Likewise.
55079         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
55080         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
55081         * posix/Makefile ($(objpfx)globtest.out): Likewise.
55082         ($(objpfx)wordexp-tst.out): Likewise.
55083         ($(objpfx)annexc.out): Likewise.
55084         ($(objpfx)tst-fnmatch-mem): Likewise.
55085         ($(objpfx)bug-regex2-mem): Likewise.
55086         ($(objpfx)bug-regex14-mem): Likewise.
55087         ($(objpfx)bug-regex21-mem): Likewise.
55088         ($(objpfx)bug-regex31-mem): Likewise.
55089         ($(objpfx)tst-vfork3-mem): Likewise.
55090         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55091         ($(objpfx)tst-pcre-mem): Likewise.
55092         ($(objpfx)tst-boost-mem): Likewise.
55093         ($(objpfx)tst-getconf.out): Likewise.
55094         ($(objpfx)bug-ga2-mem): Likewise.
55095         ($(objpfx)bug-glob2-mem): Likewise.
55096         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
55097         ($(objpfx)mtrace-tst-leaks2): Likewise.
55098         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
55099         ($(objpfx)tst-printf.out): Likewise.
55100         ($(objpfx)tst-setvbuf1.out): Likewise.
55101         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
55102         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
55103         ($(objpfx)tst-fmtmsg.out): Likewise.
55104         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
55105         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
55107         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
55108         * bits/sigaction.h [__USE_MISC]: Likewise.
55109         * bits/waitstatus.h: Update #endif comments.
55110         * ctype/ctype.h: Likewise.
55111         * dirent/dirent.h: Likewise.
55112         [__USE_MISC]: Remove redundant conditionals.
55113         * grp/grp.h: Update #endif comments.
55114         [__USE_GNU]: Remove redundant conditionals.
55115         [__USE_MISC]: Likewise.
55116         * inet/netinet/in.h [__USE_GNU]: Likewise.
55117         * io/sys/stat.h [__USE_MISC]: Likewise.
55118         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
55119         * libio/bits/stdio.h: Update #endif comments.
55120         [__USE_MISC]: Remove redundant conditionals.
55121         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
55122         * libio/stdio.h: Update #endif comments.
55123         [__USE_MISC]: Remove redundant conditionals.
55124         * math/bits/math-finite.h [__USE_MISC]: Likewise.
55125         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
55126         * math/math.h: Update #else and #endif comments.
55127         [__USE_MISC]: Remove redundant conditionals.
55128         * misc/sys/uio.h: Update #endif comments.
55129         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
55130         * posix/glob.h [__USE_MISC]: Likewise.
55131         * posix/sys/types.h: Update #endif comments.
55132         [__USE_MISC]: Remove redundant conditionals.
55133         * posix/sys/wait.h: Update #endif comments.
55134         [__USE_MISC]: Remove redundant conditionals.
55135         * posix/unistd.h: Update #endif comments.
55136         [__USE_MISC]: Remove redundant conditionals.
55137         * pwd/pwd.h [__USE_GNU]: Likewise.
55138         [__USE_MISC]: Likewise.
55139         * resolv/netdb.h [__USE_GNU]: Likewise.
55140         * signal/signal.h: Update #endif comments.
55141         [__USE_MISC]: Remove redundant conditionals.
55142         * stdlib/stdlib.h: Update #else and #endif comments.
55143         [__USE_MISC]: Remove redundant conditionals.
55144         [__USE_GNU]: Likewise.
55145         * string/bits/string2.h [__USE_MISC]: Likewise.
55146         * string/string.h: Update #endif comments.
55147         [__USE_MISC]: Remove redundant conditionals.
55148         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
55149         Likewise.
55150         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
55151         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
55152         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
55153         Likewise.
55154         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
55155         Likewise.
55156         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
55157         comments.
55158         [__USE_MISC]: Remove redundant conditionals.
55159         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
55160         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
55161         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
55162         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
55163         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
55164         Likewise.
55165         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
55166         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
55167         Likewise.
55168         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
55169         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
55170         Likewise.
55171         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
55172         Likewise.
55173         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
55174         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
55175         Likewise.
55176         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
55177         Likewise.
55178         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
55179         * sysdeps/x86/bits/string.h: Update #endif comments.
55180         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
55181         conditionals.
55182         * time/sys/time.h: Update #endif comments.
55183         * time/time.h: Likewise.
55184         [__USE_MISC]: Remove redundant conditionals.
55186 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
55188         [BZ #16600]
55189         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
55191 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
55193         * Versions.def (librt): Add GLIBC_2.17.
55195 2014-02-21  Adam Conrad  <adconrad@0c3.net>
55197         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
55198         synonym for _SYS_AUXV_H to allow direct inclusion.
55199         * sysdeps/sparc/bits/hwcap.h: Likewise.
55200         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
55201         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
55202         * sysdeps/sparc/sysdep.h: Likewise.
55204 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55206         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
55208 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55210         * benchtests/bench-strrchr.c: Print length instead of position.
55212 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
55214         [BZ #16611]
55215         * sysdeps/unix/sysv/linux/kernel-features.h
55216         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
55217         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
55218         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
55219         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
55220         Likewise.
55221         [__i386__ || __powerpc__ || __sh__ || __sparc__]
55222         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55223         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
55224         (__ASSUME_SENDMMSG): Define instead of using previous
55225         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
55226         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55227         (__ASSUME_SENDMMSG_SYSCALL): Define.
55228         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55229         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
55230         Likewise.
55231         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55232         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55233         Likewise.
55234         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55235         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55236         Likewise.
55237         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
55238         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
55239         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
55240         [__ASSUME_SENDMMSG]: Change conditionals to
55241         [__ASSUME_SENDMMSG_SOCKETCALL].
55242         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55243         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
55244         Define.
55245         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55246         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
55247         Likewise.
55248         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
55249         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
55250         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
55251         [!__ASSUME_SENDMMSG]: Change conditional to
55252         [!__ASSUME_SENDMMSG_SOCKETCALL].
55253         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55254         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55255         Define.
55257         [BZ #16610]
55258         * sysdeps/unix/sysv/linux/kernel-features.h
55259         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
55260         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
55261         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
55262         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
55263         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
55264         [__i386__ || __sparc__]
55265         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55266         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
55267         (__ASSUME_RECVMMSG): Define instead of using previous
55268         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
55269         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55270         (__ASSUME_RECVMMSG_SYSCALL): Define.
55271         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55272         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55273         Likewise.
55274         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55275         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55276         Likewise.
55277         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55278         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55279         Likewise.
55280         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
55281         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
55282         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
55283         [__ASSUME_RECVMMSG]: Change condition to
55284         [__ASSUME_RECVMMSG_SOCKETCALL].
55285         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55286         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55287         Define.
55288         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55289         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55290         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55291         Likewise.
55292         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
55293         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
55294         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
55295         [!__ASSUME_RECVMMSG]: Change condition to
55296         [!__ASSUME_RECVMMSG_SOCKETCALL].
55297         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55298         (__ASSUME_RECVMMSG_SYSCALL): Define.
55300         [BZ #16609]
55301         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
55302         __powerpc__ || __s390__ || __sh__ || __sparc__]
55303         (__ASSUME_SOCKETCALL): Define.
55304         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
55305         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
55306         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
55307         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
55308         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
55309         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
55310         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
55311         (__ASSUME_ACCEPT4): Define instead of using previous
55312         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
55313         __powerpc__ || __sparc__ || __s390__)] condition.
55314         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55315         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
55316         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
55317         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
55318         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
55319         [!__ASSUME_ACCEPT4]: Change condition to
55320         [!__ASSUME_ACCEPT4_SOCKETCALL].
55321         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55322         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
55323         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
55324         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55325         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
55326         __ASSUME_ACCEPT4_SYSCALL.
55327         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
55328         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
55329         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55330         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
55331         __ASSUME_ACCEPT4_SYSCALL.
55332         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
55333         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
55334         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
55335         [__ASSUME_ACCEPT4]: Change condition to
55336         [__ASSUME_ACCEPT4_SOCKETCALL].
55337         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
55338         (__ASSUME_SOCKETCALL): Define.
55339         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
55340         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55341         (__ASSUME_SOCKETCALL): Define.
55342         (__ASSUME_ACCEPT4): Remove.
55343         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
55344         Define.
55345         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55346         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
55347         Likewise.
55348         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55349         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
55351         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
55352         macro.
55353         (HWCAP_ARM_LPAE): Likewise.
55354         (HWCAP_ARM_EVTSTRM): Likewise.
55355         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
55356         Add vpfd32, lpae and evtstrm.
55357         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
55358         Increase to 22.
55360 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
55362         * math/auto-libm-test-in: Add tests of clog10.
55363         * math/auto-libm-test-out: Regenerated.
55364         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
55365         * sysdeps/i386/fpu/libm-test-ulps: Update.
55366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55368 2014-02-18  Andreas Schwab  <schwab@suse.de>
55370         [BZ #16574]
55371         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
55372         Store non-zero if the second buffer was newly allocated.
55373         (send_dg): Likewise.
55374         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
55375         to send_vc and send_dg.
55376         (res_nsend): Pass NULL for ansp2_malloced.
55377         * resolv/res_query.c (__libc_res_nquery): Add parameter
55378         answerp2_malloced and pass it down to __libc_res_nsend.
55379         (res_nquery): Pass additional NULL to __libc_res_nquery.
55380         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
55381         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
55382         second answer buffer if answerp2_malloced was set.
55383         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
55384         (__libc_res_nquerydomain): Add parameter
55385         answerp2_malloced and pass it down to __libc_res_nquery.
55386         (res_nquerydomain): Pass additional NULL to
55387         __libc_res_nquerydomain.
55388         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
55389         additional NULL to __libc_res_nsend and __libc_res_nquery.
55390         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
55391         additional NULL to __libc_res_nsearch.
55392         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
55393         parameter of __libc_res_nsearch to check for separately allocated
55394         second buffer.
55395         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
55396         __libc_res_nquery.
55397         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
55398         additional NULL to __libc_res_nquery.
55399         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
55400         __libc_res_nsearch.
55401         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
55402         * include/resolv.h: Update prototypes of __libc_res_nquery,
55403         __libc_res_nsearch, __libc_res_nsend.
55405 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
55407         * math/auto-libm-test-in: Add tests of fma.
55408         * math/auto-libm-test-out: Regenerated.
55409         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
55410         (fma_towardzero_test_data): Likewise.
55411         (fma_downward_test_data): Likewise.
55412         (fma_upward_test_data): Likewise.
55413         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
55414         mpc_mode.
55415         (rounding_modes): Add values for new field.
55416         (func_calc_method): Add value mpfr_fff_f.
55417         (func_calc_desc): Add mpfr_fff_f union field.
55418         (test_function): Add field exact_args.
55419         (FUNC): Add macro argument EXACT_ARGS.
55420         (FUNC_mpfr_f_f): Update call to FUNC.
55421         (FUNC_mpfr_f_f): Likewise.
55422         (FUNC_mpfr_ff_f): Likewise.
55423         (FUNC_mpfr_if_f): Likewise.
55424         (FUNC_mpc_c_f): Likewise.
55425         (FUNC_mpc_c_c): Likewise.
55426         (test_functions): Add fma.  Update calls to FUNC.
55427         (handle_input_arg): Add argument exact_args.
55428         (add_test): Update call to handle_input_arg.
55429         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
55430         (output_for_one_input_case): Update call to calc_generic_results.
55431         Recalculate exact zero results in each rounding mode.
55433         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
55434         non-negative before setting low bit.
55435         * math/auto-libm-test-in: Mark one asin test possibly having
55436         spurious underflow.
55437         * math/auto-libm-test-out: Regenerated.
55438         * sysdeps/i386/fpu/libm-test-ulps: Update.
55439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55441 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
55443         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
55444         * sysdeps/unix/sysv/linux/microblaze: Move directory from
55445         ports/sysdeps/unix/sysv/linux/microblaze.
55446         * README: Add missing listing for microblaze*-*-linux-gnu.
55448 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
55450         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
55451         duplicate code
55453 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
55455         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
55456         * sysdeps/unix/sysv/linux/ia64: Move directory from
55457         ports/sysdeps/unix/sysv/linux/ia64.
55458         * README: Update listing for ia64-*-linux-gnu.
55460 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
55461             Joseph Myers  <joseph@codesourcery.com>
55463         * Makeconfig (test-name): New variable.
55464         (evaluate-test): Likewise.
55465         * Makerules (do-test-clean): Remove .test-result files.
55466         (common-mostlyclean): Likewise.
55467         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
55468         * scripts/evaluate-test.sh: New file.
55470 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
55472         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
55473         separate $(objpfx)tst-fopenloc-cmp.out and
55474         $(objpfx)tst-fopenloc-mem.out targets.
55475         (tests): Update dependencies.
55476         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
55477         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
55478         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
55479         (tst-rxspencer-no-utf8-ARGS): New variable.
55480         (tst-rxspencer-no-utf8-ENV): Likewise.
55481         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
55482         instead of $(objpfx)tst-rxspencer-mem.
55483         ($(objpfx)tst-rxspencer-mem): Change target to
55484         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
55485         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
55486         * posix/tst-rxspencer-no-utf8.c: New file.
55488         * elf/Makefile ($(objpfx)order.out): Remove rule.
55489         [$(run-built-tests) = yes] (tests): Depend on
55490         $(objpfx)order-cmp.out.
55491         ($(objpfx)order-cmp.out): New rule.
55492         [$(run-built-tests) = yes] (tests): Depend on
55493         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
55494         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
55495         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
55496         $(objpfx)tst-array5-static-cmp.out.
55497         ($(objpfx)tst-array1.out): Remove rule.
55498         ($(objpfx)tst-array1-cmp.out): New rule.
55499         ($(objpfx)tst-array1-static.out): Remove rule.
55500         ($(objpfx)tst-array1-static-cmp.out): New rule.
55501         ($(objpfx)tst-array2.out): Remove rule.
55502         ($(objpfx)tst-array2-cmp.out): New rule.
55503         ($(objpfx)tst-array3.out): Remove rule.
55504         ($(objpfx)tst-array3-cmp.out): New rule.
55505         ($(objpfx)tst-array4.out): Remove rule.
55506         ($(objpfx)tst-array4-cmp.out): New rule.
55507         ($(objpfx)tst-array5.out): Remove rule.
55508         ($(objpfx)tst-array5-cmp.out): New rule.
55509         ($(objpfx)tst-array5-static.out): Remove rule.
55510         ($(objpfx)tst-array5-static-cmp.out): New rule.
55511         [$(run-built-tests) = yes] (tests): Depend on
55512         $(objpfx)order2-cmp.out.
55513         ($(objpfx)order2.out): Remove rule.
55514         ($(objpfx)order2-cmp.out): New rule.
55515         ($(objpfx)tst-initorder.out): Remove rule.
55516         [$(run-built-tests) = yes] (tests): Depend on
55517         $(objpfx)tst-initorder-cmp.out.
55518         ($(objpfx)tst-initorder-cmp.out): New rule.
55519         ($(objpfx)tst-initorder2.out): Remove rule.
55520         [$(run-built-tests) = yes] (tests): Depend on
55521         $(objpfx)tst-initorder2-cmp.out.
55522         ($(objpfx)tst-initorder2-cmp.out): New rule.
55523         [$(run-built-tests) = yes] (tests): Depend on
55524         $(objpfx)tst-unused-dep-cmp.out.
55525         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
55526         ($(objpfx)tst-unused-dep-cmp.out): New rule.
55527         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
55528         on $(objpfx)tst-setvbuf1-cmp.out.
55529         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
55530         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
55531         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
55532         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
55533         ($(objpfx)tst-svc.out): Remove rule.
55534         ($(objpfx)tst-svc-cmp.out): New rule.
55536 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
55538         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
55539         * ctype/ctype.h [__USE_MISC]: Likewise.
55540         * dirent/dirent.h [__USE_MISC]: Likewise.
55541         * grp/grp.h [__USE_MISC]: Likewise.
55542         * io/fcntl.h [__USE_MISC]: Likewise.
55543         * io/sys/stat.h [__USE_MISC]: Likewise.
55544         * libio/stdio.h [__USE_MISC]: Likewise.
55545         * posix/unistd.h [__USE_MISC]: Likewise.
55546         * pwd/pwd.h [__USE_MISC]: Likewise.
55547         * stdlib.h [__USE_MISC]: Likewise.
55548         * string/bits/string2.h [__USE_MISC]: Likewise.
55549         * string/string.h [__USE_MISC]: Likewise.
55550         * time/time.h [__USE_MISC]: Likewise.
55552 2014-02-13  Andreas Schwab  <schwab@suse.de>
55554         [BZ #16574]
55555         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
55556         second answer buffer if it was separately allocated.
55558 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
55560         * sysdeps/mips/math-tests.h: Include <features.h>.
55561         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55562         (ROUNDING_TESTS_long_double): Do not define.
55563         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55564         (EXCEPTION_TESTS_long_double): Likewise.
55565         * sysdeps/mips/mips64/libm-test-ulps: Update.
55567         * include/features.h (__USE_BSD): Remove macro definitions.
55568         (__USE_SVID): Likewise.
55569         (_BSD_SOURCE): Likewise.
55570         (_SVID_SOURCE): Likewise.
55571         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
55572         from definition of _DEFAULT_SOURCE.
55573         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
55574         [_DEFAULT_SOURCE].
55575         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
55576         * bits/mman.h [__USE_BSD]: Likewise.
55577         * bits/termios.h [__USE_BSD]: Likewise.
55578         * bits/waitstatus.h [__USE_BSD]: Likewise.
55579         * ctype/ctype.h [__USE_SVID]: Likewise.
55580         * dirent/dirent.h [__USE_BSD]: Likewise.
55581         * grp/grp.h [__USE_SVID]: Likewise.
55582         [__USE_BSD]: Likewise.
55583         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
55584         * io/fcntl.h [__USE_BSD]: Likewise.
55585         * io/ftw.h [__USE_BSD]: Likewise.
55586         * io/sys/stat.h [__USE_BSD]: Likewise.
55587         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
55588         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
55589         * libio/stdio.h [__USE_SVID]: Likewise.
55590         [__USE_BSD]: Likewise.
55591         * math/math.h [__USE_SVID]: Likewise.
55592         [__USE_BSD]: Likewise.
55593         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
55594         * misc/bits/syslog.h [__USE_BSD]: Likewise.
55595         * misc/search.h [__USE_SVID]: Likewise.
55596         * misc/sys/mman.h [__USE_BSD]: Likewise.
55597         * misc/sys/syslog.h [__USE_BSD]: Likewise.
55598         * misc/sys/uio.h [__USE_BSD]: Likewise.
55599         * posix/bits/unistd.h [__USE_BSD]: Likewise.
55600         * posix/glob.h [__USE_BSD]: Likewise.
55601         * posix/regex.h [__USE_BSD]: Likewise.
55602         * posix/sys/types.h [__USE_BSD]: Likewise.
55603         [__USE_SVID]: Likewise.
55604         * posix/sys/utsname.h [__USE_SVID]: Likewise.
55605         * posix/sys/wait.h [__USE_BSD]: Likewise.
55606         [__USE_SVID]: Likewise.
55607         * posix/unistd.h [__USE_BSD]: Likewise.
55608         [__USE_SVID]: Likewise.
55609         * pwd/pwd.h [__USE_SVID]: Likewise.
55610         * resolv/netdb.h [__USE_BSD]: Likewise.
55611         * setjmp/setjmp.h [__USE_BSD]: Likewise.
55612         * signal/signal.h [__USE_BSD]: Likewise.
55613         [__USE_SVID]: Likewise.
55614         * socket/sys/socket.h [__USE_BSD]: Likewise.
55615         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
55616         * stdlib/stdlib.h [__USE_BSD]: Likewise.
55617         [__USE_SVID]: Likewise.
55618         * string/bits/string2.h [__USE_BSD]: Likewise.
55619         [__USE_SVID]: Likewise.
55620         * string/bits/string3.h [__USE_BSD]: Likewise.
55621         * string/endian.h [__USE_BSD]: Likewise.
55622         * string/string.h [__USE_SVID]: Likewise.
55623         [__USE_BSD]: Likewise.
55624         * string/strings.h [__USE_BSD]: Likewise.
55625         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
55626         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
55627         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
55628         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
55629         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
55630         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
55631         Likewise.
55632         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
55633         Likewise.
55634         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
55635         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
55636         Likewise.
55637         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
55638         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
55639         Likewise.
55640         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
55641         Likewise.
55642         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
55643         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
55644         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
55645         Likewise.
55646         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
55647         Likewise.
55648         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
55649         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
55650         * termios/termios.h [__USE_BSD]: Likewise.
55651         * time/sys/time.h [__USE_BSD]: Likewise.
55652         * time/time.h [__USE_BSD]: Likewise.
55653         [__USE_SVID]: Likewise.
55655         * Makefile (subdir_targets): Remove subdir_lint.out.
55657         * stdio-common/Makefile (do-tst-unbputc): Remove target.
55658         (do-tst-printf): Likewise.
55659         (tests): Depend directly on $(objpfx)tst-unbputc.out and
55660         $(objpfx)tst-printf.out.
55662         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
55664         * Makerules (check-abi-%): Change target to
55665         $(objpfx)check-abi-%.out.
55666         (check-abi target): Update dependencies.
55667         (check-abi-pattern variable): Redirect output of diff to $@.
55668         (check-abi variable): Likewise.
55669         * elf/Makefile (check-abi): Update dependencies.
55671         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
55672         unused.
55673         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
55674         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
55675         subnormal range.
55676         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
55677         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
55678         value has largest subnormal exponent.
55679         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
55680         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
55681         * sysdeps/aarch64/soft-fp/sfp-machine.h
55682         (_FP_TININESS_AFTER_ROUNDING): New macro.
55683         * sysdeps/alpha/soft-fp/sfp-machine.h
55684         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55685         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55686         Likewise.
55687         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
55688         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55689         * sysdeps/mips/soft-fp/sfp-machine.h
55690         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55691         * sysdeps/powerpc/soft-fp/sfp-machine.h
55692         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55693         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55694         Likewise.
55695         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55696         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55697         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55698         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55699         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55700         Likewise.
55702 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
55704         [BZ #16545]
55705         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
55706         model 1.
55708 2014-02-12  Richard Henderson  <rth@redhat.com>
55710         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
55711         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
55712         * sysdeps/unix/sysv/linux/alpha: Move directory from
55713         ports/sysdeps/unix/sysv/linux/alpha.
55714         * README: Update listing for alpha-*-linux-gnu.
55716 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
55718         * include/features.h: Update comment documenting feature test
55719         macros.
55720         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
55721         _DEFAULT_SOURCE.
55722         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
55723         (_SVID_SOURCE): Likewise.
55724         (_DEFAULT_SOURCE): Update description of default features.
55725         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
55726         with _GNU_SOURCE.
55727         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
55728         (S_ISVTX): Likewise.
55729         * manual/math.texi (Mathematical Constants): Likewise.
55730         * manual/signal.texi (Interrupted Primitives): Likewise.
55731         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
55732         * math/test-matherr.c (_SVID_SOURCE): Do not define.
55733         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
55734         Don't refer to _SVID_SOURCE in warning text.
55736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55738         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
55739         already defined.
55740         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
55741         * sysdeps/mips/dl-lookup.c: Remove.
55742         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
55744 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
55746         [BZ #16447]
55747         * math/auto-libm-test-in: Add testcase for expl.
55748         * math/auto-libm-test-out: Regenerate.
55749         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
55750         calculation of unsafe.
55751         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
55753 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
55755         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
55756         * sysdeps/unix/sysv/linux/aarch64: Move directory from
55757         ports/sysdeps/unix/sysv/linux/aarch64.
55758         * README: Update listing for aarch64*-*-linux-gnu.
55760 2014-02-11  Will Newton  <will.newton@linaro.org>
55762         * manual/probes.texi (Mathematical Function Probes): Use
55763         "triggered" instead of "hit".
55765         * manual/probes.texi (Internal Probes): Add documentation
55766         of setjmp, longjmp and longjmp_target probes.
55768         * include/stap-probe.h: Add comment about probe argument
55769         format.
55771         * malloc/mtrace.c (attribute_hidden): Remove unused macro
55772         definition.  (tr_where, tr_freehook, tr_mallochook,
55773         tr_reallochook, tr_memalignhook): Use ANSI protoype.
55775 2014-02-11  David S. Miller  <davem@davemloft.net>
55777         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
55778         processing int_tests.
55780 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
55782         * sysdeps/mips: Move directory from ports/sysdeps/mips.
55783         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
55784         * sysdeps/unix/sysv/linux/mips: Move directory from
55785         ports/sysdeps/unix/sysv/linux/mips.
55786         * README: Update listing for mips-*-linux-gnu and
55787         mips64-*-linux-gnu.
55789 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
55791         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
55792         * sysdeps/unix/sysv/linux/m68k: Move directory from
55793         ports/sysdeps/unix/sysv/linux/m68k.
55794         * README: Update listing for m68k-*-linux-gnu.
55796 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
55798         * sysdeps/tile: Move directory from ports/sysdeps/tile.
55799         * sysdeps/unix/sysv/linux/generic: Move directory from
55800         ports/sysdeps/unix/sysv/linux/generic.
55801         * sysdeps/unix/sysv/linux/tile: Move directory from
55802         ports/sysdeps/unix/sysv/linux/tile.
55803         * README: Update listing for tile*-*-linux-gnu.
55805 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
55807         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
55808         __builtin_expect.
55809         * benchtests/bench-memmem.c (simple_memmem): Likewise.
55810         * catgets/open_catalog.c (__open_catalog): Likewise.
55811         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
55812         * debug/confstr_chk.c: Likewise.
55813         * debug/fread_chk.c (__fread_chk): Likewise.
55814         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
55815         * debug/getgroups_chk.c: Likewise.
55816         * debug/mbsnrtowcs_chk.c: Likewise.
55817         * debug/mbsrtowcs_chk.c: Likewise.
55818         * debug/mbstowcs_chk.c: Likewise.
55819         * debug/memcpy_chk.c: Likewise.
55820         * debug/memmove_chk.c: Likewise.
55821         * debug/mempcpy_chk.c: Likewise.
55822         * debug/memset_chk.c: Likewise.
55823         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
55824         * debug/strcat_chk.c (__strcat_chk): Likewise.
55825         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
55826         * debug/strncat_chk.c (__strncat_chk): Likewise.
55827         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
55828         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
55829         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
55830         * debug/wcpncpy_chk.c: Likewise.
55831         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
55832         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
55833         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
55834         * debug/wcsncpy_chk.c: Likewise.
55835         * debug/wcsnrtombs_chk.c: Likewise.
55836         * debug/wcsrtombs_chk.c: Likewise.
55837         * debug/wcstombs_chk.c: Likewise.
55838         * debug/wmemcpy_chk.c: Likewise.
55839         * debug/wmemmove_chk.c: Likewise.
55840         * debug/wmempcpy_chk.c: Likewise.
55841         * debug/wmemset_chk.c: Likewise.
55842         * dirent/scandirat.c (SCANDIRAT): Likewise.
55843         * dlfcn/dladdr1.c (dladdr1): Likewise.
55844         * dlfcn/dladdr.c (dladdr): Likewise.
55845         * dlfcn/dlclose.c (dlclose_doit): Likewise.
55846         * dlfcn/dlerror.c (__dlerror): Likewise.
55847         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
55848         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
55849         * dlfcn/dlopen.c (dlopen_doit): Likewise.
55850         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
55851         * dlfcn/dlsym.c (dlsym_doit): Likewise.
55852         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
55853         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
55854         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
55855         Likewise.
55856         * elf/dl-conflict.c: Likewise.
55857         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
55858         * elf/dl-dst.h: Likewise.
55859         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
55860         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
55861         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
55862         * elf/dl-init.c (call_init, _dl_init): Likewise.
55863         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
55864         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
55865         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
55866         Likewise.
55867         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
55868         Likewise.
55869         * elf/dl-minimal.c (__libc_memalign): Likewise.
55870         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
55871         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55872         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
55873         * elf/dl-sym.c (do_sym): Likewise.
55874         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
55875         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
55876         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
55877         * elf/dl-writev.h (_dl_writev): Likewise.
55878         * elf/ldconfig.c (search_dir): Likewise.
55879         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
55880         (dl_main): Likewise.
55881         * elf/setup-vdso.h (setup_vdso): Likewise.
55882         * grp/compat-initgroups.c (compat_call): Likewise.
55883         * grp/fgetgrent.c (fgetgrent): Likewise.
55884         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
55885         * grp/putgrent.c (putgrent): Likewise.
55886         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55887         Likewise.
55888         * hurd/hurdinit.c: Likewise.
55889         * iconvdata/8bit-gap.c (struct): Likewise.
55890         * iconvdata/ansi_x3.110.c : Likewise.
55891         * iconvdata/big5.c : Likewise.
55892         * iconvdata/big5hkscs.c : Likewise.
55893         * iconvdata/cp1255.c: Likewise.
55894         * iconvdata/cp1258.c : Likewise.
55895         * iconvdata/cp932.c : Likewise.
55896         * iconvdata/euc-cn.c: Likewise.
55897         * iconvdata/euc-jisx0213.c : Likewise.
55898         * iconvdata/euc-jp.c: Likewise.
55899         * iconvdata/euc-jp-ms.c : Likewise.
55900         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
55901         * iconvdata/gb18030.c : Likewise.
55902         * iconvdata/gbbig5.c (const): Likewise.
55903         * iconvdata/gbgbk.c: Likewise.
55904         * iconvdata/gbk.c : Likewise.
55905         * iconvdata/ibm1364.c : Likewise.
55906         * iconvdata/ibm930.c : Likewise.
55907         * iconvdata/ibm932.c: Likewise.
55908         * iconvdata/ibm933.c : Likewise.
55909         * iconvdata/ibm935.c : Likewise.
55910         * iconvdata/ibm937.c : Likewise.
55911         * iconvdata/ibm939.c : Likewise.
55912         * iconvdata/ibm943.c: Likewise.
55913         * iconvdata/iso_11548-1.c: Likewise.
55914         * iconvdata/iso-2022-cn.c : Likewise.
55915         * iconvdata/iso-2022-cn-ext.c : Likewise.
55916         * iconvdata/iso-2022-jp-3.c: Likewise.
55917         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
55918         * iconvdata/iso-2022-kr.c : Likewise.
55919         * iconvdata/iso646.c (gconv_end): Likewise.
55920         * iconvdata/iso_6937-2.c : Likewise.
55921         * iconvdata/iso_6937.c : Likewise.
55922         * iconvdata/iso8859-1.c: Likewise.
55923         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
55924         * iconvdata/shift_jisx0213.c : Likewise.
55925         * iconvdata/sjis.c : Likewise.
55926         * iconvdata/t.61.c : Likewise.
55927         * iconvdata/tcvn5712-1.c : Likewise.
55928         * iconvdata/tscii.c: Likewise.
55929         * iconvdata/uhc.c : Likewise.
55930         * iconvdata/unicode.c (gconv_end): Likewise.
55931         * iconvdata/utf-16.c (gconv_end): Likewise.
55932         * iconvdata/utf-32.c (gconv_end): Likewise.
55933         * iconvdata/utf-7.c (base64): Likewise.
55934         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
55935         * iconv/gconv_close.c (__gconv_close): Likewise.
55936         * iconv/gconv_open.c (__gconv_open): Likewise.
55937         * iconv/gconv_simple.c (internal_ucs4_loop_single)
55938         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
55939         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
55940         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
55941         (ucs4le_internal_loop_single): Likewise.
55942         * iconv/iconv.c (iconv): Likewise.
55943         * iconv/iconv_close.c: Likewise.
55944         * iconv/loop.c (SINGLE): Likewise.
55945         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
55946         * include/atomic.h: Likewise.
55947         * inet/inet6_option.c (option_alloc): Likewise.
55948         * intl/bindtextdom.c (set_binding_values): Likewise.
55949         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
55950         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
55951         * intl/localealias.c (read_alias_file): Likewise.
55952         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
55953         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
55954         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
55955         * libio/fmemopen.c (fmemopen): Likewise.
55956         * libio/iofgets.c (_IO_fgets): Likewise.
55957         * libio/iofgets_u.c (fgets_unlocked): Likewise.
55958         * libio/iofgetws.c (fgetws): Likewise.
55959         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
55960         * libio/iogetdelim.c (_IO_getdelim): Likewise.
55961         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
55962         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
55963         * locale/findlocale.c (_nl_find_locale): Likewise.
55964         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
55965         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
55966         Likewise.
55967         * locale/setlocale.c (setlocale): Likewise.
55968         * login/programs/pt_chown.c (main): Likewise.
55969         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
55970         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
55971         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
55972         (mmap, mmap64, mremap, munmap): Likewise.
55973         * math/e_exp2l.c: Likewise.
55974         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
55975         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
55976         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
55977         * math/s_catan.c (__catan): Likewise.
55978         * math/s_catanf.c (__catanf): Likewise.
55979         * math/s_catanh.c (__catanh): Likewise.
55980         * math/s_catanhf.c (__catanhf): Likewise.
55981         * math/s_catanhl.c (__catanhl): Likewise.
55982         * math/s_catanl.c (__catanl): Likewise.
55983         * math/s_ccosh.c (__ccosh): Likewise.
55984         * math/s_ccoshf.c (__ccoshf): Likewise.
55985         * math/s_ccoshl.c (__ccoshl): Likewise.
55986         * math/s_cexp.c (__cexp): Likewise.
55987         * math/s_cexpf.c (__cexpf): Likewise.
55988         * math/s_cexpl.c (__cexpl): Likewise.
55989         * math/s_clog10.c (__clog10): Likewise.
55990         * math/s_clog10f.c (__clog10f): Likewise.
55991         * math/s_clog10l.c (__clog10l): Likewise.
55992         * math/s_clog.c (__clog): Likewise.
55993         * math/s_clogf.c (__clogf): Likewise.
55994         * math/s_clogl.c (__clogl): Likewise.
55995         * math/s_csin.c (__csin): Likewise.
55996         * math/s_csinf.c (__csinf): Likewise.
55997         * math/s_csinh.c (__csinh): Likewise.
55998         * math/s_csinhf.c (__csinhf): Likewise.
55999         * math/s_csinhl.c (__csinhl): Likewise.
56000         * math/s_csinl.c (__csinl): Likewise.
56001         * math/s_csqrt.c (__csqrt): Likewise.
56002         * math/s_csqrtf.c (__csqrtf): Likewise.
56003         * math/s_csqrtl.c (__csqrtl): Likewise.
56004         * math/s_ctan.c (__ctan): Likewise.
56005         * math/s_ctanf.c (__ctanf): Likewise.
56006         * math/s_ctanh.c (__ctanh): Likewise.
56007         * math/s_ctanhf.c (__ctanhf): Likewise.
56008         * math/s_ctanhl.c (__ctanhl): Likewise.
56009         * math/s_ctanl.c (__ctanl): Likewise.
56010         * math/w_pow.c: Likewise.
56011         * math/w_powf.c: Likewise.
56012         * math/w_powl.c: Likewise.
56013         * math/w_scalb.c (sysv_scalb): Likewise.
56014         * math/w_scalbf.c (sysv_scalbf): Likewise.
56015         * math/w_scalbl.c (sysv_scalbl): Likewise.
56016         * misc/error.c (error_tail): Likewise.
56017         * misc/pselect.c (__pselect): Likewise.
56018         * nis/nis_callback.c (__nis_create_callback): Likewise.
56019         * nis/nis_call.c (__nisfind_server): Likewise.
56020         * nis/nis_creategroup.c (nis_creategroup): Likewise.
56021         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
56022         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
56023         * nis/nis_getservlist.c (nis_getservlist): Likewise.
56024         * nis/nis_lookup.c (nis_lookup): Likewise.
56025         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
56026         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
56027         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
56028         * nis/nis_xdr.c (xdr_endpoint): Likewise.
56029         * nis/nss_compat/compat-grp.c (getgrent_next_file)
56030         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
56031         * nis/nss_compat/compat-initgroups.c (add_group)
56032         (internal_getgrent_r): Likewise.
56033         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
56034         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
56035         * nis/nss_compat/compat-spwd.c (getspent_next_file)
56036         (internal_getspnam_r): Likewise.
56037         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
56038         (_nss_nis_getaliasbyname_r): Likewise.
56039         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
56040         (_nss_nis_getntohost_r): Likewise.
56041         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
56042         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
56043         (_nss_nis_getgrgid_r): Likewise.
56044         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
56045         (internal_nis_gethostent_r, internal_gethostbyname2_r)
56046         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
56047         (_nss_nis_gethostbyname4_r): Likewise.
56048         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
56049         (initgroups_netid): Likewise.
56050         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
56051         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
56052         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
56053         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
56054         (_nss_nis_getprotobynumber_r): Likewise.
56055         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
56056         (_nss_nis_getsecretkey): Likewise.
56057         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
56058         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
56059         (_nss_nis_getpwuid_r): Likewise.
56060         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
56061         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
56062         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
56063         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
56064         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
56065         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
56066         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
56067         Likewise.
56068         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
56069         (_nss_nisplus_getntohost_r): Likewise.
56070         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
56071         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
56072         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
56073         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
56074         Likewise.
56075         * nis/nss_nisplus/nisplus-initgroups.c
56076         (_nss_nisplus_initgroups_dyn): Likewise.
56077         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
56078         (_nss_nisplus_getnetbyaddr_r): Likewise.
56079         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
56080         (_nss_nisplus_getprotobynumber_r): Likewise.
56081         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
56082         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
56083         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
56084         Likewise.
56085         * nis/nss_nisplus/nisplus-service.c
56086         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
56087         (_nss_nisplus_getservbyport_r): Likewise.
56088         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
56089         (_nss_nisplus_getspnam_r): Likewise.
56090         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
56091         Likewise.
56092         * nscd/aicache.c (addhstaiX): Likewise.
56093         * nscd/cache.c (cache_search, prune_cache): Likewise.
56094         * nscd/connections.c (register_traced_file, send_ro_fd)
56095         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
56096         (main_loop_epoll): Likewise.
56097         * nscd/grpcache.c (addgrbyX): Likewise.
56098         * nscd/hstcache.c (addhstbyX): Likewise.
56099         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56100         * nscd/mem.c (gc, mempool_alloc): Likewise.
56101         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
56102         (addinnetgrX): Likewise.
56103         * nscd/nscd-client.h (__nscd_acquire_maplock)
56104         (__nscd_drop_map_ref): Likewise.
56105         * nscd/nscd_getai.c (__nscd_getai): Likewise.
56106         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
56107         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
56108         Likewise.
56109         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
56110         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56111         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
56112         (__nscd_get_map_ref): Likewise.
56113         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
56114         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
56115         Likewise.
56116         * nscd/pwdcache.c (addpwbyX): Likewise.
56117         * nscd/selinux.c (preserve_capabilities): Likewise.
56118         * nscd/servicescache.c (addservbyX): Likewise.
56119         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
56120         * posix/fnmatch.c (fnmatch): Likewise.
56121         * posix/getopt.c (_getopt_internal_r): Likewise.
56122         * posix/glob.c (glob, glob_in_dir): Likewise.
56123         * posix/wordexp.c (exec_comm_child): Likewise.
56124         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
56125         (getanswer_r, gaih_getanswer_slice): Likewise.
56126         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
56127         * resolv/res_init.c: Likewise.
56128         * resolv/res_mkquery.c (res_nmkquery): Likewise.
56129         * resolv/res_query.c (__libc_res_nquery): Likewise.
56130         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
56131         Likewise.
56132         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
56133         * stdio-common/perror.c (perror): Likewise.
56134         * stdio-common/printf_fp.c (___printf_fp): Likewise.
56135         * stdio-common/tmpnam.c (tmpnam): Likewise.
56136         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56137         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
56138         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
56139         Likewise.
56140         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
56141         * stdlib/putenv.c (putenv): Likewise.
56142         * stdlib/setenv.c (__add_to_environ): Likewise.
56143         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56144         * stdlib/strtol_l.c (INTERNAL): Likewise.
56145         * string/memmem.c (memmem): Likewise.
56146         * string/strerror.c (strerror): Likewise.
56147         * string/strnlen.c (__strnlen): Likewise.
56148         * string/test-memmem.c (simple_memmem): Likewise.
56149         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
56150         * sunrpc/pm_getport.c (__get_socket): Likewise.
56151         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
56152         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
56153         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
56154         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
56155         Likewise.
56156         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
56157         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
56158         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
56159         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
56160         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
56161         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
56162         Likewise.
56163         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
56164         Likewise.
56165         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
56166         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
56167         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56168         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
56169         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
56170         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
56171         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
56172         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
56173         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
56174         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
56175         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56176         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
56177         Likewise.
56178         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
56179         Likewise.
56180         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
56181         Likewise.
56182         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
56183         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56184         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
56185         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
56186         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
56187         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
56188         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56189         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
56190         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
56191         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
56192         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
56193         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56194         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
56195         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
56196         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56197         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
56198         Likewise.
56199         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
56200         Likewise.
56201         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
56202         Likewise.
56203         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
56204         Likewise.
56205         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56206         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56207         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
56208         Likewise.
56209         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
56210         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
56211         * sysdeps/posix/opendir.c (__opendirat): Likewise.
56212         * sysdeps/posix/sleep.c: Likewise.
56213         * sysdeps/posix/tempname.c: Likewise.
56214         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
56215         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56216         Likewise.
56217         * sysdeps/powerpc/powerpc32/dl-machine.h
56218         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
56219         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
56220         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56221         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
56222         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
56223         Likewise.
56224         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
56225         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
56226         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
56227         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
56228         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
56229         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
56230         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
56231         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
56232         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56233         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
56234         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
56235         (elf_machine_lazy_rel): Likewise.
56236         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56237         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
56238         (elf_machine_lazy_rel): Likewise.
56239         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
56240         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
56241         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
56242         * sysdeps/unix/grantpt.c (grantpt): Likewise.
56243         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
56244         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
56245         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
56246         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56247         Likewise.
56248         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
56249         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
56250         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
56251         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
56252         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56253         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56254         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
56255         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
56256         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
56257         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56258         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56259         Likewise.
56260         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
56261         (__posix_fallocate64_l64): Likewise.
56262         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
56263         (posix_fallocate): Likewise.
56264         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
56265         Likewise.
56266         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56267         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
56268         (getifaddrs_internal): Likewise.
56269         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
56270         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
56271         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
56272         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
56273         * sysdeps/unix/sysv/linux/posix_fallocate64.c
56274         (__posix_fallocate64_l64): Likewise.
56275         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
56276         Likewise.
56277         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
56278         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
56279         (__get_clockfreq): Likewise.
56280         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
56281         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
56282         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
56283         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56284         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56285         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
56286         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
56287         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
56288         Likewise.
56289         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
56290         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
56291         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
56292         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
56293         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56294         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
56295         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
56296         Likewise.
56297         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56298         (posix_fallocate): Likewise.
56299         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56300         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
56301         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
56302         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
56303         (elf_machine_rela, elf_machine_rela_relative)
56304         (elf_machine_lazy_rel): Likewise.
56305         * time/asctime.c (asctime_internal): Likewise.
56306         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
56307         * time/tzset.c (__tzset_parse_tz): Likewise.
56308         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
56309         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
56310         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
56311         * wcsmbs/wcsmbsload.h: Likewise.
56313         [BZ #15894]
56314         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
56316         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
56317         (arena_get2): Remove THREAD_STATS conditionals.
56318         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
56319         (__malloc_stats, int): Likewise.
56321 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
56323         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
56324         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
56326         * manual/setjmp.texi: Fix typos/grammar errors.
56328         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
56329         Only return early when n is <= 0.  Delete unused return statement.
56331         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
56332         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
56333         * debug/tst-longjmp_chk3.c: New file.
56335         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
56336         (test_main): Replace code with set_fortify_handler call.
56337         * debug/test-strcpy_chk.c: Likewise.
56338         * debug/tst-chk1.c: Likewise.
56339         * debug/tst-longjmp_chk.c: Likewise.
56340         * test-skeleton.c: Include fcntl.h & paths.h
56341         (set_fortify_handler): Define.
56343         * debug/tst-longjmp_chk.c: Add header comment and include
56344         ../test-skeleton.c.
56345         (do_test): Mark static.
56346         (TEST_FUNCTION): Define.
56348         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
56349         (IP_PMTUDISC_INTERFACE): Likewise.
56350         (IP_MULTICAST_IF): Likewise.
56351         (IP_MULTICAST_TTL): Likewise.
56352         (IP_MULTICAST_LOOP): Likewise.
56353         (IP_ADD_MEMBERSHIP): Likewise.
56354         (IP_DROP_MEMBERSHIP): Likewise.
56355         (IP_UNBLOCK_SOURCE): Likewise.
56356         (IP_BLOCK_SOURCE): Likewise.
56357         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
56358         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
56359         (IP_MSFILTER): Likewise.
56360         (MCAST_JOIN_GROUP): Likewise.
56361         (MCAST_BLOCK_SOURCE): Likewise.
56362         (MCAST_UNBLOCK_SOURCE): Likewise.
56363         (MCAST_LEAVE_GROUP): Likewise.
56364         (MCAST_JOIN_SOURCE_GROUP): Likewise.
56365         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
56366         (MCAST_MSFILTER): Likewise.
56367         (IP_MULTICAST_ALL): Likewise.
56368         (IP_UNICAST_IF): Likewise.
56370         * timezone/Makefile: Delete $(have-ksh) check.
56371         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
56372         * timezone/tzselect.ksh: Add +x mode bits.
56374         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
56375         (ANON_INODE_FS_MAGIC): Likewise.
56376         (BDEVFS_MAGIC): Likewise.
56377         (BINFMTFS_MAGIC): Likewise.
56378         (BTRFS_TEST_MAGIC): Likewise.
56379         (CRAMFS_MAGIC_WEND): Likewise.
56380         (DEBUGFS_MAGIC): Likewise.
56381         (ECRYPTFS_SUPER_MAGIC): Likewise.
56382         (EXT3_SUPER_MAGIC): Likewise.
56383         (EXT4_SUPER_MAGIC): Likewise.
56384         (FUTEXFS_SUPER_MAGIC): Likewise.
56385         (HOSTFS_SUPER_MAGIC): Likewise.
56386         (HUGETLBFS_MAGIC): Likewise.
56387         (MINIX3_SUPER_MAGIC): Likewise.
56388         (MTD_INODE_FS_MAGIC): Likewise.
56389         (NILFS_SUPER_MAGIC): Likewise.
56390         (OPENPROM_SUPER_MAGIC): Likewise.
56391         (PIPEFS_MAGIC): Likewise.
56392         (PSTOREFS_MAGIC): Likewise.
56393         (QNX6_SUPER_MAGIC): Likewise.
56394         (RAMFS_MAGIC): Likewise.
56395         (REISERFS_SUPER_MAGIC_STRING): Likewise.
56396         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
56397         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
56398         (SECURITYFS_MAGIC): Likewise.
56399         (SELINUX_MAGIC): Likewise.
56400         (SMACK_MAGIC): Likewise.
56401         (SOCKFS_MAGIC): Likewise.
56402         (SQUASHFS_MAGIC): Likewise.
56403         (STACK_END_MAGIC): Likewise.
56404         (TMPFS_MAGIC): Likewise.
56405         (USBDEVICE_SUPER_MAGIC): Likewise.
56406         (V9FS_MAGIC): Likewise.
56407         (XENFS_SUPER_MAGIC): Likewise.
56408         (CRAMFS_MAGIC): Fix typo in comment.
56409         (EXT2_SUPER_MAGIC): Update comment.
56410         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
56412 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
56414         * sysdeps/arm: Move directory from ports/sysdeps/arm.
56415         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
56416         * sysdeps/unix/sysv/linux/arm: Move directory from
56417         ports/sysdeps/unix/sysv/linux/arm.
56418         * README: Update listing for arm-*-linux-gnueabi.
56420         * README: Remove mention of am33.
56422 2014-02-07  Roland McGrath  <roland@hack.frob.com>
56424         * bits/sigset.h (__sigemptyset): Use a statement expression rather
56425         than the comma operator, to avoid "rhs of comma has no effect"
56426         compiler warnings.
56427         (__sigfillset, __sigandset, __sigorset): Likewise.
56428         * include/signal.h (__sigemptyset): Likewise.
56429         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
56431 2014-02-07  Allan McRae  <allan@archlinux.org>
56433         * version.h (RELEASE): Set to "development".
56434         (VERSION): Set to "2.19.90"
56435         * NEWS: Add 2.20 section.
56437 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
56439         [BZ #16529]
56440         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
56442 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56444         * manual/contrib.texi: Update entry for Carlos O'Donell,
56445         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
56447 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
56449         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
56451         * sysdeps/unix/sysv/linux/kernel-features.h
56452         [__LINUX_KERNEL_VERSION >= 0x020621]
56453         (__ASSUME_PROC_PID_TASK_COMM): Define.
56455 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56457         [BZ #16398]
56458         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
56459         conversion when destination buffer does not have enough space.
56460         * libio/tst-ftell-partial-wide.c: New test case.
56461         * libio/Makefile (tests): Add tst-ftell-partial-wide.
56463         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
56464         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
56465         Leonard and Allan McRae.
56467 2014-02-04  David S. Miller  <davem@davemloft.net>
56469         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
56470         32-bit.
56472 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
56475         New file
56476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
56477         New file
56478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
56479         New file.
56480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
56481         New file.
56482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
56483         New file.
56484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
56485         New file.
56486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
56487         New file.
56488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
56489         New file.
56490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
56491         New file.
56492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
56493         New file.
56494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
56495         New file.
56496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
56497         New file.
56498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
56499         New file.
56501 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56503         * nptl/shlib-versions: Change powerpc*le start to 2.17.
56504         * shlib-versions: Likewise.
56506 2014-02-04  Roland McGrath  <roland@hack.frob.com>
56507             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56509         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
56510         (abilist-pattern): New variable, set to %-le.abilist.
56512         * Makerules (abilist-pattern): New variable.
56513         (vpath): Use $(abilist-pattern) in place of %.abilist.
56514         (check-abi-% pattern rule): Likewise.
56515         (check-abi, update-abi): Likewise.
56517 2014-02-04  Eric Wong  <normalperson@yhbt.net>
56519         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56521 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
56523         * manual/startup.texi: Add next, previous, and top entries for
56524         the `Program Arguments' and `Environment Variables' nodes.
56526 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
56528         * manual/macros.texi: Add comments before MTASC-safety macros.
56530         * manual/users.texi: Document MTASC-safety properties.
56532         * manual/threads.texi (pthread_key_create, pthread_key_delete)
56533         (pthread_getspecific, pthread_setspecific): Format with
56534         @deftypefun, and add @safety note.
56535         * manual/signal.texi: Move comments that analyze the above
56536         functions to their home place.
56538 2014-02-03  Allan McRae  <allan@archlinux.org>
56540         * po/sl.po: Update Slovenian translation from translation project.
56542 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
56544         * manual/time.texi (timegm): Add missing blank after @c.
56545         Reported by Joseph Myers <joseph@codesourcery.com>.
56547 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
56549         * manual/check-safety.sh: New.
56550         * manual/Makefile ($(objpfx)stamp-summary): Run it.
56552         * manual/terminal.texi: Document MTASC-safety properties.
56554         * manual/filesys.texi: Document MTASC-safety properties.
56556         * manual/errno.texi: Document MTASC-safety properties.
56558         * manual/intro.texi: Document safety identifiers and
56559         conditionals.
56561         * manual/string.texi (wcstok): Fix prototype.
56562         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
56564         * manual/time.texi: Document MTASC-safety properties.
56566         * manual/string.texi: Document MTASC-safety properties.
56568         * manual/threads.texi: Document MTASC-safety properties.
56570         * manual/stdio.texi: Document MTASC-safety properties.
56572         * manual/syslog.texi: Document MTASC-safety properties.
56574         * manual/sysinfo.texi: Document MTASC-safety properties.
56576         * manual/startup.texi: Document MTASC-safety properties.
56578         * manual/socket.texi: Document MTASC-safety properties.
56580         * manual/signal.texi: Document MTASC-safety properties.
56582 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
56584         * manual/setjmp.texi: Document MTASC-safety properties.
56586         * manual/search.texi: Document MTASC-safety properties.
56588         * manual/resource.texi: Document MTASC-safety properties.
56590         * manual/process.texi: Document MTASC-safety properties.
56592         * manual/platform.texi: Document MTASC-safety properties.
56594         * manual/pipe.texi: Document MTASC-safety properties.
56596         * manual/pattern.texi: Document MTASC-safety properties.
56598         * manual/message.texi: Document MTASC-safety properties.
56600         [BZ #12751]
56601         * manual/memory.texi: Document MTASC-safety properties.
56603         * manual/math.texi: Document MTASC-safety properties.
56605         * manual/locale.texi: Document MTASC-safety properties.
56607         * manual/llio.texi: Document MTASC-safety properties.
56609         * manual/libdl.texi: New.
56611         * manual/lang.texi: Document MTASC-safety properties.
56613         * manual/job.texi: Document MTASC-safety properties.
56615         * manual/getopt.texi: Document MTASC-safety properties.
56617         * manual/ctype.texi: Document MTASC-safety properties.
56619 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
56621         [BZ #16046]
56622         * csu/libc-tls.c (static_map): Remove variable.
56623         (__libc_setup_tls): Use main executable's link map for TLS data.
56624         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
56625         casing for LM_ID_BASE and GL(dl_nns).
56626         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
56627         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
56628         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
56629         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
56630         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
56631         member.
56632         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
56633         l_phnum members.
56635 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
56637         * manual/debug.texi: Document MTASC-safety properties.
56639 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
56641         [BZ #16510]
56642         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
56643         of __x86_64__ when disabling x87 inline functions.
56645 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
56647         * manual/charset.texi: Document MTASC-safety properties.
56649         * manual/crypt.texi: Document MTASC-safety properties.
56651         * manual/conf.texi: Document MTASC-safety properties.
56653         * manual/arith.texi: Document MTASC-safety properties.
56655         * manual/argp.texi: Document MTASC-safety properties.
56657         * manual/macros.texi: Introduce macros to document multi
56658         thread, asynchronous signal and asynchronous cancellation
56659         safety properties.
56660         * manual/intro.texi: Introduce the properties themselves.
56662 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56664         * sysdeps/sh/sh4/Makefile: New file.
56666 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
56668         * math/gen-libm-test.pl ($srcdir): New variable.
56669         ($auto_input): Use it.
56671 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56673         [BZ #16506]
56674         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
56675         access beyond array bounds when parsing netgroups file.
56677         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
56678         the old buffer before realloc.
56680 2014-01-27  Allan McRae  <allan@archlinux.org>
56682         * po/fr.po: Update French translation from translation project.
56684 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56686         * sysdeps/sh/libm-test-ulps: Regenerate.
56688 2014-01-24  David S. Miller  <davem@davemloft.net>
56690         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
56692 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56694         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
56695         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
56697 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56699         [BZ #16474]
56700         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
56701         string pointers after reallocation.
56703 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56705         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
56706         __SH4A__ instead of __SH_FPU_ANY__.
56708 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56710         * sysdeps/sh/fpu_control.h: New file.
56711         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
56712         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
56713         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
56714         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
56715         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
56716         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
56717         * sysdeps/sh/sys/ucontext.h: Remove.
56718         * sysdeps/sh/sys: Remove directory.
56720 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56722         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
56723         s390/sys/ucontext.h.
56724         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
56725         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
56727 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
56729         [BZ #15605]
56730         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
56732 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56734         [BZ #16431]
56735         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56736         Adjust the vDSO correctly for internal calls.
56737         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
56739 2014-01-20  Allan McRae  <allan@archlinux.org>
56741         * po/ca.po: Update Catalan translation from translation project.
56743 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
56745         * sysdeps/s390/sotruss-lib.c: New file.
56747 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56749         [BZ #16430]
56750         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
56751         (__GI___gettimeofday): Alias for a different internal symbol to avoid
56752         local calls issues by not having a PLT stub required for IFUNC calls.
56753         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
56755 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
56757         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
56758         * math/test-fpucw-static.c: Likewise.
56760 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56762         [BZ #16453]
56763         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
56765 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56767         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
56768         implementation for powerpc.
56770 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
56772         [BZ #14782]
56773         * sysdeps/posix/system.c (__libc_system): Do not enable
56774         asynchronous cancellation.
56776 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56778         [BZ #16427]
56779         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
56780         handling only for numbers special also in the IEEE case.
56782 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56784         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56786 2014-01-11  Allan McRae  <allan@archlinux.org>
56788         * po/bg.po: Update Bulgarian translation from translation project.
56790         * po/de.po: Update German translation from translation project.
56792 2014-01-10  Roland McGrath  <roland@hack.frob.com>
56794         * sysdeps/generic/gcc-compat.h: New file.
56796 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56798         * benchtests/asin-inputs: Correct slow inputs.
56799         * benchtests/acos-inputs: Likewise.
56801 2014-01-10  Allan McRae  <allan@archlinux.org>
56803         * po:sv.po: Update Swedish translation from translation project.
56805         * po/vi.po: Update Vietnamese translation from translation project.
56807         * po/eo.po: Update Esperanto translation from translation project.
56809         * po/cs.po: Update Czech translation from translation project.
56811         * po/nl.po: Update Dutch translation from translation project.
56813         * po/pl.po: Update Polish translation from translation project.
56815         * po/ru.po: Update Russian translation from translation project.
56817         * po/uk.po: Update Ukrainian translation from translation project.
56819 2014-01-08  Brooks Moses  <bmoses@google.com>
56821         * elf/dl-load.c: Fix comment typo.
56823 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
56825         * po/header.pot: Rename to...
56826         * po/pot.header: ... this.
56827         * po/Makefile: Use pot.header.
56829 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
56830             Maxim Kuvyrkov  <maxim@kugelworks.com>
56832         [BZ #16394]
56833         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
56834         SRC and DEST against LEN.
56836 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56838         [BZ #16414]
56839         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
56840         implementation.
56841         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
56843 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56847 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
56849         [BZ #16408]
56850         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
56851         for large positive arguments.
56853 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
56855         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56857         * math/auto-libm-test-in: Mark various tests with
56858         xfail-rounding:ldbl-128ibm.
56859         * math/auto-libm-test-out: Regenerated.
56861         [BZ #16407]
56862         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
56863         Increase overflow threshold.
56865 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
56867         [BZ #14286]
56868         * stdio-common/vfprintf.c: Check for integer overflow.
56870 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56872         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
56873         the first argument and return value of __tls_get_addr_internal.
56875 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56877         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
56878         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
56880 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56882         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
56883         * sysdeps/s390/rtld-global-offsets.sym: New file.
56884         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
56885         GLIBC_2.19 symbol.
56886         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
56887         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
56888         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
56889         ... this.
56890         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
56891         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
56892         ... this.
56893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56894         Regenerate.
56895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56896         Regenerate.
56897         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
56898         halfs of GPRs for high_gprs contexts.
56899         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
56900         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
56901         field.
56902         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
56903         uc_flags field.
56904         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
56905         64 bit versions:
56906         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
56907         for high GPRs (uc_high_gprs) and for future extensions
56908         (__reserved).
56909         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
56910         for future extensions (__reserved).
56911         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
56912         64 bit versions:
56913         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
56914         SC_HIGHGPRS offset definition.
56915         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
56916         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
56918         * Versions.def: Add GLIBC_2.19 for libpthread.
56919         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
56920         siglongjmp for libpthread with GLIBC_2.19 symver.
56921         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
56922         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
56923         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
56924         * sysdeps/s390/__longjmp.c: New file.
56925         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
56926         * sysdeps/s390/longjmp.c: New file.
56927         * sysdeps/s390/setjmp.S: New file.
56928         * sysdeps/s390/sigjmp.S: New file.
56929         * sysdeps/s390/v1-longjmp.c: New file.
56930         * sysdeps/s390/v1-setjmp.h: New file.
56931         * sysdeps/s390/v1-sigjmp.c: New file.
56932         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
56933         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
56934         GLIBC_2.19 version.
56935         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
56936         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
56937         versioned symbols for ____longjmp_chk.
56938         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
56939         Likewise.
56940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56941         Regenerate.
56942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56943         Regenerate.
56944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56945         Regenerate.
56946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56947         Regenerate.
56948         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
56949         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
56950         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
56951         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
56952         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
56953         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
56954         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
56955         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
56956         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
56957         * sysdeps/s390/rtld-__longjmp.c: New file.
56958         * sysdeps/s390/rtld-setjmp.S: New file.
56960 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
56962         [BZ #16400]
56963         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56964         Return -__logl (x) for small positive arguments without evaluating
56965         a polynomial.
56967 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
56969         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
56970         Rename to ...
56971         (__ptrace_peeksiginfo_args): ... this.
56972         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56973         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56974         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56976 2014-01-06  Allan McRae  <allan@archlinux.org>
56978         * inet/netinet/in.h: Fix typo in comment.
56980 2014-01-05  Andreas Jaeger  <aj@suse.de>
56982         * sysdeps/i386/fpu/libm-test-ulps: Update.
56984 2014-01-05  Allan McRae  <allan@archlinux.org>
56986         * po/libc.pot: Regenerated.
56988         * malloc/memusagestat.c: Fix gettext call formatting.
56990 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
56992         * nscd/nscd.c: Improve usage() output.
56994 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
56996         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
56997         * sysdeps/unix/sysv/linux/configure: Regenerated.
56998         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
56999         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
57001 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
57003         [BZ #16390]
57004         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
57005         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
57007 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57009         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
57010         extra tokens at end of #undef directive.
57011         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
57012         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
57013         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
57015 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
57017         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
57019         * math/auto-libm-test-in: Mark various tests with
57020         xfail-rounding:ldbl-128ibm.
57021         * math/auto-libm-test-out: Regenerated.
57023 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
57025         [BZ #16386]
57026         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
57027         numbers with subnormal high part when calculating exponent.
57029         [BZ #16385]
57030         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
57031         fabs.
57033         [BZ #16384]
57034         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
57035         M_LN2l.
57036         (__ieee754_acoshl): Use __log1pl not __log1p.
57038 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
57040         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
57041         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
57042         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
57043         (grow_heap, heap_trim, _int_new_arena, get_free_list)
57044         (reused_arena, arena_get2): Convert to GNU style.
57045         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
57046         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
57047         (memalign_check, __malloc_set_state): Likewise.
57048         * malloc/mallocbug.c (main): Likewise.
57049         * malloc/malloc.c (__malloc_assert, malloc_init_state)
57050         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
57051         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
57052         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
57053         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
57054         (__posix_memalign, malloc_info): Likewise.
57055         * malloc/malloc.h: Likewise.
57056         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
57057         (mallochook, memalignhook, reallochook, mabort): Likewise.
57058         * malloc/mcheck.h: Likewise.
57059         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
57060         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
57061         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
57062         * malloc/morecore.c (__default_morecore): Likewise.
57063         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57064         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
57065         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
57066         (print_and_abort): Likewise.
57067         * malloc/obstack.h: Likewise.
57068         * malloc/set-freeres.c (__libc_freeres): Likewise.
57069         * malloc/tst-mallocstate.c (main): Likewise.
57070         * malloc/tst-mtrace.c (main): Likewise.
57071         * malloc/tst-realloc.c (do_test): Likewise.
57073 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57075         [BZ #16366]
57076         * nscd/netgroupcache.c (do_notfound): New function.
57077         (addgetnetgrentX): Use it.
57079         [BZ # 16365]
57080         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
57081         NSS_STATUS_NOTFOUND.
57083 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
57085         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57088 2014-01-01  Allan McRae  <allan@archlinux.org>
57090         * scripts/update-copyrights: Update configure input file suffix.
57092         * NEWS: Update copyright year.
57093         * catgets/gencat.c: Likewise.
57094         * csu/version.c: Likewise.
57095         * debug/catchsegv.sh: Likewise.
57096         * debug/pcprofiledump.c: Likewise.
57097         * debug/xtrace.sh: Likewise.
57098         * elf/ldconfig.c: Likewise.
57099         * elf/ldd.bash.in: Likewise.
57100         * elf/pldd.c: Likewise.
57101         * elf/sotruss.ksh: Likewise.
57102         * elf/sprof.c: Likewise.
57103         * iconv/iconv_prog.c: Likewise.
57104         * iconv/iconvconfig.c: Likewise.
57105         * locale/programs/locale.c: Likewise.
57106         * locale/programs/localedef.c: Likewise.
57107         * login/programs/pt_chown.c: Likewise.
57108         * malloc/memusage.sh: Likewise.
57109         * malloc/memusagestat.c: Likewise.
57110         * malloc/mtrace.pl: Likewise.
57111         * manual/libc.texinfo: Likewise.
57112         * nscd/nscd.c: Likewise.
57113         * nss/getent.c: Likewise.
57114         * nss/makedb.c: Likewise.
57115         * posix/getconf.c: Likewise.
57116         * scripts/test-installation.pl: Likewise.
57118         * All files with FSF copyright notices: Update copyright dates
57119         using scripts/update-copyrights.
57120         * intl/plural.c: Regenerated.
57121         * locale/programs/charmap-kw.h: Likewise.
57122         * locale/programs/locfile-kw.h: Likewise.
57124 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
57126         * sysdeps/unix/sysv/linux/configure: Regenerated.
57127         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
57128         the linux/fanotify.h header.
57129         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
57130         HAVE_LINUX_FANOTIFY_H is defined.
57132 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57134         * benchtests/cos-inputs: New inputs.
57135         * benchtests/sin-inputs: Likewise.
57137         * benchtests/atan-inputs: New inputs. Fix name of multiple
57138         precision fallback inputs.
57140         * benchtests/atanh-inputs: New inputs.
57141         * benchtests/tanh-inputs: Likewise.
57143         * benchtests/acosh-inputs: New inputs.
57144         * benchtests/asinh-inputs: Likewise.
57146         * benchtests/cosh-inputs: New inputs.
57147         * benchtests/sinh-inputs: Likewise.
57149         * benchtests/acos-inputs: Add more inputs.
57150         * benchtests/asin-inputs: Likewise.
57152 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
57154         [BZ #16375]
57155         * manual/arith.texi: Fix spelling.
57156         * manual/charset.texi: Likewise.
57157         * manual/errno.texi: Likewise.
57158         * manual/filesys.texi: Likewise.
57159         * manual/lang.texi: Likewise.
57160         * manual/llio.texi: Likewise.
57161         * manual/locale.texi: Likewise.
57162         * manual/message.texi: Likewise.
57163         * manual/resource.texi: Likewise.
57164         * manual/search.texi: Likewise.
57165         * manual/setjmp.texi: Likewise.
57166         * manual/stdio.texi: Likewise.
57167         * manual/string.texi: Likewise.
57168         * manual/sysinfo.texi: Likewise.
57169         * manual/time.texi: Likewise.
57171 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
57173         * po/sl.po: New file.
57175 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
57177         * .gitignore: Add core/.gdbinit/.gdb_history.
57179 2013-12-27  Allan McRae  <allan@archlinux.org>
57181         [BZ #16369]
57182         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
57183         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
57185 2013-12-24  Brooks Moses  <bmoses@google.com>
57187         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
57188         all compilers that claim C++98 compliance, not just GCC.
57189         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
57190         Likewise.
57192 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
57194         * NEWS: Restore accidentally deleted bug-fix entries.
57196 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
57197             Ondřej Bílka  <neleai@seznam.cz>
57199         [BZ #15073]
57200         * malloc/malloc.c (_int_free): Perform sanity check only if we
57201         have_lock.
57203 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
57205         [BZ #12986]
57206         * manual/stdio.texi (String Input Conversions): Clarify that character
57207         classes are not supported.
57209 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57213 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
57215         [BZ #16337]
57216         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
57217         Calculate results for small negative arguments directly rather
57218         than using reflection formula with special underflow handling.
57220         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
57221         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
57222         sysdeps/unix/bsd/bsd4.4/syscalls.list.
57223         (fchflags): Likewise.
57224         (revoke): Likewise.
57225         (setlogin): Likewise.
57226         (sigaltstack): Likewise.
57227         (wait4): Likewise.
57228         (sigblock): Remove.
57229         (sigsetmask): Likewise.
57230         (wait3): Likewise.
57231         (waitpid): Likewise.
57232         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
57233         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
57234         file.
57235         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
57236         * sysdeps/unix/bsd/Makefile: ... here.
57237         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
57238         * sysdeps/unix/bsd/Versions: ... here.
57239         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
57240         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
57241         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
57242         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
57243         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
57244         * sysdeps/unix/bsd/sigblock.c: ... here.
57245         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
57246         * sysdeps/unix/bsd/sigsetmask.c: ... here.
57247         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
57248         * sysdeps/unix/bsd/sigvec.c: ... here.
57249         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
57250         * sysdeps/unix/bsd/tcdrain.c: ... here.
57251         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
57252         * sysdeps/unix/bsd/tcgetattr.c: ... here.
57253         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
57254         * sysdeps/unix/bsd/tcsetattr.c: ... here.
57255         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
57256         * sysdeps/unix/bsd/wait.c: ... here.
57257         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
57258         * sysdeps/unix/bsd/wait3.c: ... here.
57259         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
57260         * sysdeps/unix/bsd/waitpid.c: ... here.
57262 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
57264         [BZ #16356]
57265         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
57266         round-to-nearest for [!USE_AS_EXPM1L].
57267         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
57268         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
57269         more tests of exp and exp10.  Expect some exp10 tests to miss
57270         exceptions or fail in directed rounding modes.
57271         * math/auto-libm-test-out: Regenerated.
57272         * math/libm-test.inc (exp10_tonearest_test_data): New array.
57273         (exp10_test_tonearest): New function.
57274         (exp10_towardzero_test_data): New array.
57275         (exp10_test_towardzero): New function.
57276         (exp10_downward_test_data): New array.
57277         (exp10_test_downward): New function.
57278         (exp10_upward_test_data): New array.
57279         (exp10_test_upward): New function.
57280         (main): Call the new functions.
57281         * sysdeps/i386/fpu/libm-test-ulps: Update.
57282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57284 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
57286         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
57287         asinh, atan, atan2, atanh, cbrt, cos and cosh.
57288         * math/auto-libm-test-out: Regenerated.
57289         * math/libm-test.inc (acosh_test_data): Add more tests.
57290         (atanh_test_data): Likewise.
57291         (ceil_test_data): Likewise.
57292         (copysign_test_data): Likewise.
57293         * sysdeps/i386/fpu/libm-test-ulps: Update.
57294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57296         * timezone/checktab.awk: Update from tzcode 2013i.
57297         * timezone/private.h: Likewise.
57298         * timezone/scheck.c: Likewise.
57299         * timezone/tzfile.h: Likewise.
57300         * timezone/tzselect.ksh: Likewise.
57301         * timezone/zdump.c: Likewise.
57302         * timezone/zic.c: Likewise.
57304         * math/auto-libm-test-in: Add tests of cpow.
57305         * math/auto-libm-test-out: Regenerated.
57306         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57307         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57308         mpc_cc_c.
57309         (func_calc_desc): Add mpc_cc_c union field.
57310         (test_functions): Add cpow.
57311         (special_fill_2pi): New function.
57312         (special_real_inputs): Add 2pi.
57313         (calc_generic_results): Handle mpc_cc_c.
57314         * sysdeps/i386/fpu/libm-test-ulps: Update.
57315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57317         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
57318         csqrt, ctan and ctanh.
57319         * math/auto-libm-test-out: Regenerated.
57320         * math/libm-test.inc (TEST_COND_x86_64): New macro.
57321         (TEST_COND_x86): Likewise.
57322         (ccos_test_data): Use AUTO_TESTS_c_c.
57323         (ccosh_test_data): Likewise.
57324         (cexp_test_data): Likewise.
57325         (clog_test_data): Likewise.
57326         (csqrt_test_data): Likewise.
57327         (ctan_test_data): Likewise.
57328         (ctan_tonearest_test_data): Likewise.
57329         (ctan_towardzero_test_data): Likewise.
57330         (ctan_downward_test_data): Likewise.
57331         (ctan_upward_test_data): Likewise.
57332         (ctanh_test_data): Likewise.
57333         (ctanh_tonearest_test_data): Likewise.
57334         (ctanh_towardzero_test_data): Likewise.
57335         (ctanh_downward_test_data): Likewise.
57336         (ctanh_upward_test_data): Likewise.
57337         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57338         mpc_c_c.
57339         (func_calc_desc): Add mpc_c_c union field.
57340         (FUNC_mpc_c_c): New macro.
57341         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
57342         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
57343         ctanh.
57344         (special_fill_min_subnorm_p120): New function.
57345         (special_real_inputs): Add min_subnorm_p120.
57346         (calc_generic_results): Handle mpc_c_c.
57347         * sysdeps/i386/fpu/libm-test-ulps: Update.
57348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57350 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57352         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
57353         (do_sin_slow): New functions.
57354         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
57355         (cslow2, csloww1, csloww2): Use the new functions.
57357         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
57358         Use M to change sign of result instead of X.  Assume X is
57359         positive.
57360         (csloww1): Likewise.
57361         (__sin): Adjust.
57362         (__cos): Adjust.
57364         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
57365         arguments A and DA.
57366         (__sin): Adjust.
57367         (__cos): Likewise.
57369         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
57370         (__cos): Likewise.
57371         (sloww1): Don't adjust sign of DX.
57372         (csloww1): Likewise.
57373         (sloww2): Use X directly and don't adjust sign of DX.
57374         (csloww2): Likewise.
57376 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57378         * math/auto-libm-test-in: Add tests of cabs and carg.
57379         * math/auto-libm-test-out: Regenerated.
57380         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
57381         (carg_test_data): Likewise.
57382         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57383         mpc_c_f.
57384         (func_calc_desc): Add mpc_c_f union field.
57385         (test_functions): Add cabs and carg.
57386         (calc_generic_results): Handle mpc_c_f.
57388         * sysdeps/powerpc/powerpc32/libgcc-compat.S
57389         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
57390         as a macro and a compat symbol.
57391         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
57392         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
57393         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
57394         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
57395         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
57396         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
57397         not use .hidden.
57398         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
57399         Likewise.
57400         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
57401         Likewise.
57402         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
57403         Likewise.
57404         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
57405         Likewise.
57406         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
57407         Likewise.
57408         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
57409         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
57410         from GLIBC_2.3.2.
57412 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57416 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57418         * manual/texinfo.tex: Update to version 2013-11-26.10 with
57419         trailing whitespace removed.
57420         * scripts/config.guess: Update to version 2013-11-29.
57421         * scripts/config.sub: Update to version 2013-10-01.
57423         * math/auto-libm-test-in: Add tests of sincos.
57424         * math/auto-libm-test-out: Regenerated.
57425         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
57426         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57427         mpfr_f_11.
57428         (func_calc_desc): Add mpfr_f_11 union field.
57429         (test_functions): Add sincos.
57430         (calc_generic_results): Handle mpfr_f_11.
57431         * sysdeps/i386/fpu/libm-test-ulps: Update.
57432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57434 2013-12-19  Andreas Schwab  <schwab@suse.de>
57436         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
57437         CALL_MCOUNT.
57438         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57439         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
57440         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
57442 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57444         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
57445         * sysdeps/i386/fpu/libm-test-ulps: Update.
57446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57448         [BZ #16293]
57449         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
57450         round-to-nearest mode when using frndint.
57451         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
57452         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
57453         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
57454         Likewise.
57455         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
57456         sinh test to fail.
57457         * math/auto-libm-test-out: Regenerated.
57458         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
57459         (TEST_COND_x86): Likewise.
57460         (expm1_tonearest_test_data): New array.
57461         (expm1_test_tonearest): New function.
57462         (expm1_towardzero_test_data): New array.
57463         (expm1_test_towardzero): New function.
57464         (expm1_downward_test_data): New array.
57465         (expm1_test_downward): New function.
57466         (expm1_upward_test_data): New array.
57467         (expm1_test_upward): New function.
57468         (main): Run the new test functions.
57469         * sysdeps/i386/fpu/libm-test-ulps: Update.
57470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57472         * include/features.h: Update comment documenting feature test
57473         macros.  Mention _DEFAULT_SOURCE in comment.
57474         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
57475         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
57476         _BSD_SOURCE and _SVID_SOURCE.
57477         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
57478         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
57479         !_SVID_SOURCE]: Likewise.
57480         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57481         (__USE_POSIX_IMPLICITLY): Define.
57482         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57483         (_POSIX_SOURCE): Undefine and redefine.
57484         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57485         (_POSIX_C_SOURCE): Likewise.
57486         * manual/creature.texi (_DEFAULT_SOURCE): Document.
57487         (Feature Test Macros): Update documentation of default features.
57489 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57491         * benchtests/Makefile: Add bench-strtok.
57492         * benchtests/bench-strtok.c: New file: strtok benchtest.
57494 2013-12-19  Allan McRae  <allan@archlinux.org>
57496         * manual/install.texi: Suppress menu for plain text output.
57497         * INSTALL: Regenerated.
57499 2013-12-18  Brooks Moses  <bmoses@google.com>
57501         [BZ #15846]
57502         * misc/getauxval.c: Include errno.h.
57503         (__getauxval): Set errno to ENOENT if the requested type is not
57504         found.
57505         * misc/sys/auxv.h (getauxval): Document that it may set errno;
57506         don't declare with __attribute_const__.
57507         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
57508         * manual/startup.texi: Document that getauxval sets errno.
57510 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
57512         * math/auto-libm-test-in: Add tests of jn and yn.
57513         * math/auto-libm-test-out: Regenerated.
57514         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
57515         (yn_test_data): Likewise.
57516         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57517         mpfr_if_f.
57518         (func_calc_desc): Add mpfr_if_f union field.
57519         (FUNC_mpfr_if_f): New macro.
57520         (test_functions): Add jn and yn.
57521         (calc_generic_results): Assert type of second input for
57522         mpfr_ff_f.  Handle mpfr_if_f.
57523         (output_for_one_input_case): Disable all checking for arguments
57524         fitting floating-point types in case of an integer argument.
57525         * sysdeps/i386/fpu/libm-test-ulps: Update.
57526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
57529         Don't expect fegetround reference in libm.so.
57531 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57533         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
57534         $(config-cflags-nofma).
57536 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
57538         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
57539         * math/auto-libm-test-out: Regenerated.
57541         [BZ #16338]
57542         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
57543         to determine exponent and adjust argument to have exponent of -1.
57544         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
57545         log2.
57546         * math/auto-libm-test-out: Regenerated.
57547         * sysdeps/i386/fpu/libm-test-ulps: Update.
57548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57550 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
57552         * manual/probes.texi: Remove cases when per-thread arenas are
57553         disabled.
57555 2013-12-18  Andreas Schwab  <schwab@suse.de>
57557         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
57558         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
57559         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
57560         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
57561         * sysdeps/i386/i686/multiarch/Makefile: Update.
57562         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
57564 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57566         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
57567         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
57569 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
57571         [BZ #15968]
57572         Support TZ transition times < 00:00:00.
57573         This is needed for version-3 tz-format files; it supports time
57574         stamps past 2037 for America/Godthab (the only entry in the tz
57575         database for which this change is relevant).
57576         * manual/time.texi (TZ Variable): Document transition times
57577         from -167:59:59 through -00:00:01.
57578         * time/tzset.c (tz_rule): Time of day is now signed.
57579         (__tzset_parse_tz): Parse negative time of day.
57581         Document TZ transition times >= 25:00:00.
57582         * manual/time.texi (TZ Variable): Document transition times from
57583         25:00:00 through 167:59:59.  These are already supported, and this
57584         support will help with version-3 tz-format files.
57586         * manual/time.texi (TZ Variable): Modernize North America example
57587         to reflect current (i.e., 2007-and-later) daylight saving rules.
57589         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
57591 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57593         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
57594         * sysdeps/unix/bsd/bits/stat.h: Likewise.
57595         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
57596         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57597         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
57598         * sysdeps/unix/bsd/bsdstat.h: Likewise.
57599         * sysdeps/unix/bsd/clock.c: Likewise.
57600         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
57601         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
57602         * sysdeps/unix/bsd/init-posix.c: Likewise.
57603         * sysdeps/unix/bsd/poll.c: Likewise.
57604         * sysdeps/unix/bsd/ptsname.c: Likewise.
57605         * sysdeps/unix/bsd/seekdir.c: Likewise.
57606         * sysdeps/unix/bsd/setegid.c: Likewise.
57607         * sysdeps/unix/bsd/seteuid.c: Likewise.
57608         * sysdeps/unix/bsd/setgid.c: Likewise.
57609         * sysdeps/unix/bsd/setrgid.c: Likewise.
57610         * sysdeps/unix/bsd/setruid.c: Likewise.
57611         * sysdeps/unix/bsd/setsid.c: Likewise.
57612         * sysdeps/unix/bsd/setuid.c: Likewise.
57613         * sysdeps/unix/bsd/sigaction.c: Likewise.
57614         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
57615         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
57616         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
57617         * sysdeps/unix/bsd/telldir.c: Likewise.
57618         * sysdeps/unix/bsd/times.c: Likewise.
57619         * sysdeps/unix/bsd/usleep.c: Likewise.
57621         * misc/Makefile (install-lib): Remove libbsd-compat.a.
57622         ($(objpfx)libbsd-compat.a): Remove rule.
57624         * include/features.h (__FAVOR_BSD): Do not define.
57625         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
57626         features conflicting with POSIX.
57627         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
57628         (_BSD_SOURCE): Remove description of not being a subset of other
57629         feature test macros.
57630         * manual/job.texi (getpgrp): Do not document BSD version.
57631         (getpgid): Do not document by reference to BSD getpgrp.
57632         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
57633         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
57634         * signal/signal.h [__FAVOR_BSD]: Likewise.
57635         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
57636         instead of making contents conditional on [__FAVOR_BSD].
57637         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
57639 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57643 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57645         [BZ #16314]
57646         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
57647         values below 2**-450, not 2**-500.
57648         * math/auto-libm-test-in: Don't allow spurious underflow from
57649         hypot.
57650         * math/auto-libm-test-out: Regenerated.
57652         [BZ #16316]
57653         [BZ #16330]
57654         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
57655         values of ha and hb and sort them after adjusting subnormal
57656         arguments.
57657         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
57658         Likewise.
57659         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
57660         values of ea and eb and sort them after adjusting subnormal
57661         arguments.
57662         * math/auto-libm-test-in: Do not expect some hypot tests of
57663         subnormals to fail.  Add more hypot tests.
57664         * math/auto-libm-test-out: Regenerated.
57666 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57668         [BZ #13304]
57669         * sysdeps/sh/s_fma.c: New file.
57670         * sysdeps/sh/s_fmaf.c: New file.
57671         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
57672         version.
57673         * sysdeps/sh/Implies: Add sh/soft-fp.
57675 2013-12-16  Roland McGrath  <roland@hack.frob.com>
57677         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
57678         level of indirection to members `objname', `errstring', `malloced'.
57679         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
57680         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
57681         it as the __longjmp argument (just pass 1 instead).
57682         (_dl_catch_error): Initialize C with argument pointers and address of
57683         volatile local ERRCODE rather than copying values out of C at return.
57685 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
57687         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
57688         * math/auto-libm-test-out: Regenerated.
57689         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
57690         (hypot_test_data): Likewise.
57691         (pow_test_data): Likewise.
57692         (pow_tonearest_test_data): Likewise.
57693         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57694         mpfr_ff_f.
57695         (func_calc_desc): Add mpfr_ff_f union field.
57696         (FUNC_mpfr_ff_f): New macro.
57697         (test_functions): Add atan2, hypot and pow.
57698         (special_fill_min): New function.
57699         (special_fill_minus_min): Likewise.
57700         (special_fill_min_subnorm): Likewise.
57701         (special_fill_minus_min_subnorm): Likewise.
57702         (special_real_inputs): Add min, -min, min_subnorm and
57703         -min_subnorm.
57704         (calc_generic_results): Handle mpfr_ff_f.
57705         * sysdeps/i386/fpu/libm-test-ulps: Update.
57706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57708 2013-12-16  Will Newton  <will.newton@linaro.org>
57710         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
57711         (Aligned Memory Blocks): Add documentation for aligned_alloc
57712         and suggest it as an alternative to posix_memalign.
57713         (Hooks for Malloc): Document __memalign_hook is also called
57714         for aligned_alloc.  (Summary of Malloc): Add summary for
57715         aligned alloc.  Document __memalign_hook is also called
57716         for aligned_alloc.
57718 2013-12-16  Will Newton  <will.newton@linaro.org>
57720         * manual/memory.texi (Malloc Examples): Clarify default
57721         alignment documentation.  Suggest posix_memalign rather
57722         than memalign or valloc.
57723         (Aligned Memory Blocks): Remove suggestion to use memalign
57724         or valloc.  Remove obsolete comment about BSD.
57725         Document memalign errno values and mark the function obsolete.
57726         Document posix_memalign returned error codes.  Mark valloc
57727         as obsolete.  (Hooks for Malloc): __memalign_hook is also
57728         called for posix_memalign and valloc.
57729         (Summary of Malloc): Add posix_memalign to function summary.
57730         __memalign_hook is also called for posix_memalign and valloc.
57732 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57734         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
57735         TAYLOR_SIN.
57736         (__sin): Adjust.
57737         (__cos): Likewise.
57738         (sloww): Use mynumber union.  Expand ternary operator into
57739         if-else statements.
57740         (cslow): use mynumber union.
57742 2013-12-16  Allan McRae  <allan@archlinux.org>
57744         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
57745         * configure: Regenerated.
57747         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
57749         [BZ #14120]
57750         * configure.ac: Added --enable-maintainer-mode. Check for
57751         autoconf when enabled.
57752         * configure: Regenerated.
57754         * nscd/nscd.service: New file.
57755         * nscd/nscd.tmpfiles: New file.
57757 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
57759         [BZ #12100]
57760         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
57761         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
57762         * sysdeps/x86_64/multiarch/strstr.c: ... here.
57763         (strstr): Add __strstr_sse2_unaligned ifunc.
57764         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
57765         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
57766         (strcasestr): Remove __strcasestr_sse42 ifunc.
57767         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
57768         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
57769         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57771 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57773         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
57774         * sysdeps/sh/bits/fenv.h: ... here.
57775         * sysdeps/sh/sh4/fpu/bits: Remove directory.
57777 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57779         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
57781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
57782         hypotf multiarch implementations.
57783         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
57784         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
57785         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
57786         multiarch hypot for PPC64.
57787         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
57788         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
57789         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
57790         multiarch hypotf for PPC64.
57792         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
57793         modff multiarch implementations.
57794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
57795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
57796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
57797         multiarch modf for PPC64.
57798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
57799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
57800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
57801         multiarch modff for PPC64.
57803         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
57804         and logl multiarch implementations.
57805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
57806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
57807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
57808         multiarch logb for PPC64.
57809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
57810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
57811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
57812         multiarch logb for PPC64.
57813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
57814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
57815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
57816         multiarch logb for PPC64.
57818         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
57819         isinff multiarch implementation.
57820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
57821         file.
57822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
57823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
57824         multiarch isinf for PPC64.
57825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
57826         file.
57827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
57828         multiarch isinff for PPC64.
57830         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
57831         finitef multiarch implementation.
57832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
57833         file.
57834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
57835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
57836         multiarch finite for PPC64.
57837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
57838         file.
57839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
57840         multiarch finitef for PPC64.
57842         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
57843         lrint multiarch implementation.
57844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
57845         file.
57846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
57847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
57848         multiarch llrint for PPC64.
57849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
57850         multiarch lrint for PPC64.
57852         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
57853         copysignf multiarch implementation.
57854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
57855         file.
57856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
57857         file.
57858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
57859         multiarch copysign for PPC64.
57860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
57861         multiarch copysignf for PPC64.
57863         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
57864         multiarch implementation.
57865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
57866         file.
57867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
57868         file.
57869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
57870         file.
57871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
57872         file.
57873         multiarch llround for PPC64.
57874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
57875         multiarch trunc for PPC64.
57876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
57877         multiarch truncf for PPC64.
57879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
57880         multiarch implementation.
57881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
57882         file.
57883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
57884         file.
57885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
57886         file.
57887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
57888         file.
57889         multiarch llround for PPC64.
57890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
57891         multiarch round for PPC64.
57892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
57893         multiarch roundf for PPC64.
57895         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
57896         multiarch implementation.
57897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
57898         file.
57899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
57900         file.
57901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
57902         file.
57903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
57904         file.
57905         multiarch llround for PPC64.
57906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
57907         multiarch floor for PPC64.
57908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
57909         multiarch floorf for PPC64.
57911         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
57912         multiarch implementation.
57913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
57914         file.
57915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
57916         file.
57917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
57918         file.
57919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
57920         file.
57921         multiarch llround for PPC64.
57922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
57923         multiarch ceil for PPC64.
57924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
57925         multiarch ceilf for PPC64.
57927         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
57928         multiarch implementation.
57929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
57930         file.
57931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
57932         file.
57933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
57934         file.
57935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
57936         multiarch llround for PPC64.
57937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
57938         multiarch lround for PPC64.
57940         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
57941         multiarch implementation.
57942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
57943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
57944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
57945         file.
57946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
57947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
57948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
57949         multiarch isnan for PPC64.
57950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
57951         multiarch isnanf for PPC64.
57953         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
57954         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
57955         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
57956         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
57957         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
57958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
57960         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
57961         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57962         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57963         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
57966         multiarch implementations.
57967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57968         (__libc_ifunc_impl_list): Likewise.
57969         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
57970         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
57971         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
57972         multiarch stpcpy for PPC64.
57974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
57975         multiarch implementations.
57976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57977         (__libc_ifunc_impl_list): Likewise.
57978         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
57979         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
57980         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
57981         multiarch strcpy for PPC64.
57983         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
57984         redefine function name.
57985         (_wordcopy_fwd_dest_aligned): Likewise.
57986         (_wordcopy_bwd_aligned): Likewise.
57987         (_wordcopy_bwd_dest_aligned): Likewise.
57988         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
57989         multiarch implementations.
57990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57991         (__libc_ifunc_impl_list): Likewise.
57992         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
57993         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
57994         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
57995         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
57996         multiarch wcscpy for PPC64.
57998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
57999         multiarch implementations.
58000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58001         (__libc_ifunc_impl_list): Likewise.
58002         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
58003         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
58004         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
58005         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
58006         multiarch wcscpy for PPC64.
58008         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
58009         multiarch implementations.
58010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58011         (__libc_ifunc_impl_list): Likewise.
58012         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
58013         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
58014         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
58015         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
58016         multiarch wcsrchr for PPC64.
58018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
58019         multiarch implementations.
58020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58021         (__libc_ifunc_impl_list): Likewise.
58022         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
58023         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
58024         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
58025         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
58026         multiarch wcschr for PPC64.
58028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
58029         multiarch implementations.
58030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58031         (__libc_ifunc_impl_list): Likewise.
58032         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
58033         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
58034         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
58035         multiarch strchrnul for PPC64.
58037         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
58038         implementations.
58039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58040         (__libc_ifunc_impl_list): Likewise.
58041         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
58042         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
58043         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
58044         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
58045         strchr for PPC64.
58047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
58048         implementations.
58049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58050         (__libc_ifunc_impl_list): Likewise.
58051         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
58052         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
58053         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
58054         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
58055         strncmp for PPC64.
58057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
58058         multiarch implementations.
58059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58060         (__libc_ifunc_impl_list): Likewise.
58061         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
58062         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
58063         strncasecmp for PPC64.
58064         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
58065         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
58066         multiarch strncasecmp_l for PPC64.
58068         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
58069         multiarch implementations.
58070         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
58071         (__libc_ifunc_impl_list): Likewise.
58072         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
58073         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
58074         multiarch strcasecmp for PPC64.
58075         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
58076         file.
58077         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
58078         multiarch strcasecmp_l for PPC64.
58080         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
58081         implementations.
58082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58083         (__libc_ifunc_impl_list): Likewise.
58084         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
58085         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
58086         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
58087         strnlen for PPC64.
58089         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
58090         implementations.
58091         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58092         (__libc_ifunc_impl_list): Likewise.
58093         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
58094         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
58095         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
58096         strlen for PPC64.
58098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
58099         implementations.
58100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58101         (__libc_ifunc_impl_list): Likewise.
58102         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
58103         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
58104         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
58105         rawmemrchr for PPC64.
58107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
58108         implementation.
58109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58110         (__libc_ifunc_impl_list): Likewise.
58111         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
58112         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
58113         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
58114         memrchr for PPC64.
58116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
58117         implementation.
58118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58119         (__libc_ifunc_impl_list): Likewise.
58120         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
58121         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
58122         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
58123         memchr for PPC64.
58125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
58126         implementation.
58127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58128         (__libc_ifunc_impl_list): Likewise.
58129         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
58130         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
58131         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
58132         mempcpy for PPC64.
58134         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
58135         avoid cretion of __bzero symbol.
58136         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
58137         Likewise.
58138         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
58139         Likewise.
58140         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
58141         Likewise.
58142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
58143         multiarch implementations.
58144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58145         (__libc_ifunc_impl_list): Likewise.
58146         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
58147         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
58148         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
58149         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
58150         bzero for PPC32.
58151         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
58152         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
58153         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
58154         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
58155         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
58156         memset for PPC64.
58157         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
58159         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
58160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
58161         implementations.
58162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58163         (__libc_ifunc_impl_list): Likewise.
58164         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
58165         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
58166         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
58167         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
58168         memcmp for PPC64.
58170         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
58171         multiarch for POWER/PPC64.
58172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
58173         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
58174         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
58175         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
58176         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
58177         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
58178         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
58179         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
58180         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
58181         memcpy for PPC64.
58183         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
58184         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
58185         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
58186         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
58187         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
58188         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
58189         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
58190         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
58191         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
58192         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
58193         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
58194         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
58195         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
58196         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
58197         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
58198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
58199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
58200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
58201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
58202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
58203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
58204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
58206 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58208         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
58210 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58212         * benchtests/Makefile (bench): Add exp2 and log2.
58213         (LDLIBS-bench-exp2): Add -lm.
58214         (LDLIBS-bench-log2): Likewise.
58215         * benchtests/exp2-inputs: New inputs file.
58216         * benchtests/log2-inputs: New inputs file.
58217         * benchtests/log-inputs: Add new inputs.
58218         * benchtests/tan-inputs: Likewise.
58220 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58222         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
58223         definition...
58224         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
58225         (csloww2): ... from here.
58227         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
58228         instead of structures.
58229         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
58230         (POLYNOMIAL): Likewise.
58231         (TAYLOR_SLOW): Likewise.
58232         (__sin): Likewise.
58233         (__cos): Likewise.
58234         (slow1): Likewise.
58235         (slow2): Likewise.
58236         (sloww): Likewise.
58237         (sloww1); Likewise.
58238         (sloww2): Likewise.
58239         (bsloww1): Likewise.
58240         (bsloww2): Likewise.
58241         (cslow2): Likewise.
58242         (csloww): Likewise.
58243         (csloww1): Likewise.
58244         (csloww2): Likewise.
58246 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
58248         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
58249         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
58250         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
58251         * malloc/hooks.c (realloc_check): Likewise.
58253         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
58254         * malloc/arena.c: Remove PER_THREAD conditional.
58255         [!PER_THREAD]: Remove code.
58256         (ptmalloc_unlock_all2): Likewise.
58257         (ptmalloc_init): Likewise.
58258         (_int_new_arena): Likewise.
58259         (arena_get2): Likewise.
58260         * malloc/hooks.c (__malloc_get_state): Likewise.
58261         (__malloc_set_state): Likewise.
58262         * malloc/malloc.c: Likewise.
58263         (struct malloc_state): Likewise.
58264         (struct malloc_par): Likewise.
58265         (__libc_realloc): Likewise.
58266         (__libc_mallopt): Likewise.
58268 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58270         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
58272 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
58274         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
58275         macro to a function.  Check for zero perturb_byte.
58276         (_int_malloc, _int_free): Remove zero perturb_byte checks.
58278         * malloc/malloc.c: (force_reg): Remove.
58279         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
58280         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
58281         force_reg by atomic_forced_read.
58282         * malloc/arena.c (ptmalloc_init): Likewise.
58283         * malloc/hooks.c (top_check): Likewise.
58285 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58289 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
58291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58293 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
58295         * math/auto-libm-test-in: Add tests of lgamma.
58296         * math/auto-libm-test-out: Regenerated.
58297         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
58298         (M_LOG_2_SQRT_PIl): Likewise.
58299         (lgamma_test_data): Use AUTO_TESTS_f_f1.
58300         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58301         mpfr_f_f1.
58302         (func_calc_desc): Add mpfr_f_f1 union field.
58303         (ARGS1): New macro.
58304         (ARGS2): Likewise.
58305         (ARGS3): Likewise.
58306         (ARGS4): Likewise.
58307         (RET1): Likewise.
58308         (RET2): Likewise.
58309         (CALC): Likewise.
58310         (FUNC): Likewise.
58311         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
58312         (test_functions): Add lgamma.
58313         (calc_generic_results): Handle mpfr_f_f1.
58314         * sysdeps/i386/fpu/libm-test-ulps: Update.
58315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58317 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58319         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
58320         __mpn_add_n for PowerPC64/POWER7.
58321         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
58322         __mpn_sub_n for PowerPC64/POWER7.
58324         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
58325         __mpn_addmul_1 for PowerPC64.
58326         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
58327         __mpn_submul_1 for PowerPC64.
58328         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
58329         for PowerPC64.
58330         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
58331         for PowerPC64.
58333 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
58335         [BZ #15089]
58336         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
58338 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58340         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
58342         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
58343         add multiarch folders.
58344         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
58345         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
58346         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
58347         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
58348         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
58349         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
58350         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
58351         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
58352         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
58353         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
58354         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
58355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
58356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
58357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
58358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
58359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
58360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
58362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58363         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
58364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
58365         New file.
58366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
58367         New file.
58368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
58369         multiarch __ieee754_hypot for PowerPC32.
58370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
58371         New file.
58372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
58373         New file.
58374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
58375         multiarch __ieee754_hypotf for PowerPC32.
58377         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
58378         long_double_symbol only if __logbl is defined.
58379         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
58380         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
58381         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
58382         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
58383         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
58384         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
58385         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
58386         path for implementation.
58387         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
58388         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
58389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
58390         logb, and logbl multiarch implementations for PowerPC32.
58391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
58392         file.
58393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
58394         file.
58395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
58396         multiarch logb for PowerPC32.
58397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
58398         file.
58399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
58400         file.
58401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
58402         multiarch logbf for PowerPC32.
58403         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
58404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
58405         file.
58406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
58407         multiarch logbl implementation for PowerPC32.
58409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
58410         and modff multiarch implementations.
58411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
58412         New file.
58413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
58414         New file.
58415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
58416         multiarch modf for PowerPC32.
58417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
58418         New file.
58419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
58420         New file.
58421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
58422         multiarch modff for PowerPC32.
58424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
58425         and lrintf multiarch implementations.
58426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
58427         New file.
58428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
58429         New file.
58430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
58431         multiarch lrint for PowerPC32.
58432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
58433         file: multiarch lrintf for PowerPC32.
58435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
58436         and lroundf multiarch implementations.
58437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
58438         New file.
58439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
58440         New file.
58441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
58442         New file.
58443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
58444         multiarch lround for PowerPC32.
58445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
58446         file: multiarch lroundf for PowerPC32.
58448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58449         copysign and copysignf multiarch implementations.
58450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
58451         New file.
58452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
58453         New file.
58454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
58455         file: multiarch copysign for PowerPC32.
58456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
58457         file: multiarch copysignf for PowerPC32.
58459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
58460         and truncf multiarch implementations.
58461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
58462         New file.
58463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
58464         file.
58465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
58466         multiarch trunc for PowerPC32.
58467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
58468         New file.
58469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
58470         New file.
58471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
58472         multiarch truncf for PowerPC32.
58474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
58475         and roundf multiarch implementations.
58476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
58477         New file.
58478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
58479         file.
58480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
58481         multiarch round for PowerPC32.
58482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
58483         New file.
58484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
58485         New file.
58486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
58487         multiarch roundf for PowerPC32.
58489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
58490         and floorf multiarch implementations.
58491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
58492         New file.
58493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
58494         file.
58495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
58496         multiarch floor for PowerPC32.
58497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
58498         New file.
58499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
58500         New file.
58501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
58502         multiarch floorf for PowerPC32.
58504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
58505         and ceilf multiarch implementations.
58506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
58507         New file.
58508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
58509         file.
58510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
58511         multiarch ceil for PowerPC32.
58512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
58513         New file.
58514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
58515         file.
58516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
58517         multiarch ceilf for PowerPC32.
58519         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
58520         is defined.
58521         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
58522         FINITEF is defined.
58523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
58524         and finitef multiarch implementations.
58525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
58526         New file.
58527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
58528         file.
58529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
58530         multiarch finite for PowerPC32.
58531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
58532         New file.
58533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
58534         file: multiarch finitef for PowerPC32.
58536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
58537         and isinff multiarch implementations.
58538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
58539         file.
58540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
58541         file.
58542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
58543         multiarch isinf for PowerPC32.
58544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
58545         New file.
58546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
58547         multiarch isinff for PowerPC32.
58549         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
58550         alias when __isnan is defined.
58551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
58552         and isnanf multiarch implementations.
58553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
58554         file.
58555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
58556         file.
58557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
58558         file.
58559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
58560         file.
58561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
58562         multiarch isnan for PowerPC32.
58563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
58564         New file.
58565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
58566         New file.
58567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
58568         multiarch isnanf for PowerPC32.
58570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
58571         and sqrtf multiarch implementations.
58572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
58573         file.
58574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
58575         file.
58576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
58577         multiarch sqrt for PowerPC32.
58578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
58579         file.
58580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
58581         file.
58582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
58583         multiarch sqrtf for PowerPC32.
58585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
58586         and llroundf multiarch implementations.
58587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
58588         New file.
58589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
58590         New file.
58591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
58592         New file.
58593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
58594         file: multiarch llround for PowerPC32.
58595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
58596         file: multiarch llroundf for PowerPC32.
58598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
58599         multiarch PowerPC32 fpu implementations.
58600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
58601         New file.
58602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
58603         New file.
58604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
58605         multiarch llrint for PowerPC32.
58606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
58607         New file.
58608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
58609         New file.
58610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
58611         file.
58613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
58615         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
58616         file.
58617         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
58618         file.
58619         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
58620         file.
58621         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
58622         multiarch wordcopy for PPC32.
58623         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58624         wordcopy objects.
58625         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58626         (__libc_ifunc_impl_list): Likewise.
58627         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
58628         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
58629         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
58630         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
58631         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
58632         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
58634         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
58635         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
58636         file.
58637         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
58638         file.
58639         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
58640         file.
58641         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
58642         multiarch wcscpy for PPC32.
58643         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58644         multiarch objects.
58645         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58646         (__libc_ifunc_impl_list): Likewise.
58647         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58648         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58649         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
58650         sysdeps/powerpc/power6/wcscpy.c.
58652         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
58653         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
58654         file.
58655         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
58656         file.
58657         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
58658         file.
58659         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
58660         multiarch wcsrchr for PPC32.
58661         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58662         multiarch objects.
58663         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58664         (__libc_ifunc_impl_list): Likewise.
58665         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58666         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58667         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
58668         sysdeps/powerpc/power6/wcsrchr.c.
58670         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
58671         file.
58672         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
58673         file.
58674         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
58675         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
58676         multiarch wcschr for PPc32.
58677         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58678         multiarch objects.
58679         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58680         (__libc_ifunc_impl_list): Likewise.
58681         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
58682         * sysdeps/powerpc/power6/wcschr.c: ... to here.
58683         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
58684         sysdeps/powerpc/power6/wcschr.c.
58686         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
58687         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
58688         file.
58689         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
58690         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
58691         file: multiarch strchr for PPC32.
58692         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
58693         multiarch objects.
58694         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58695         (__libc_ifunc_impl_list): Likewise.
58697         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
58698         name.
58699         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
58700         file.
58701         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
58702         file.
58703         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
58704         multiarch strchrnul for PPC32.
58705         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
58706         multiarch objects.
58707         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58708         (__libc_ifunc_impl_list): Likewise.
58710         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
58711         file.
58712         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
58713         multiarch strncasecmp for PPC32.
58714         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
58715         file.
58716         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
58717         multiarch strncasecmp_l for PPC32.
58718         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
58719         strncasecmp multiarch objects.
58720         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58721         (__libc_ifunc_impl_list): Likewise.
58723         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
58724         file.
58725         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
58726         multiarch strncasecmp for PPC32.
58727         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
58728         New file.
58729         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
58730         multiarch strcasecmp_l for PPC32.
58731         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
58732         multiarch objects.
58733         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58734         (__libc_ifunc_impl_list): Likewise.
58736         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
58737         file.
58738         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
58739         file.
58740         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
58741         multiarch strncmp for PPC32.
58742         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
58743         multiarch objects.
58744         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58745         (__libc_ifunc_impl_list): Likewise.
58747         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
58748         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
58749         file.
58750         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
58751         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
58752         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
58753         multiarch objects.
58754         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58755         (__libc_ifunc_impl_list): Likewise.
58757         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
58758         file.
58759         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
58760         file.
58761         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
58762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
58763         multiarch objects.
58764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58765         (__libc_ifunc_impl_list): Likewise.
58767         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
58768         file.
58769         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
58770         file.
58771         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
58772         multiarch rawmemchr for PPC32.
58773         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
58774         multiarch objects.
58775         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58776         (__libc_ifunc_impl_list): Likewise.
58778         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
58779         file.
58780         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
58781         file.
58782         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
58783         file: memrchr multiarch for PPC32.
58784         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
58785         multiarch objects.
58786         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58787         (__libc_ifunc_impl_list): Likewise.
58789         * string/memchr.c (__memchr): Using macro to redefine symbol name.
58790         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
58791         file.
58792         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
58793         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
58794         multiarch memchr for PPC32.
58795         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
58796         multiarch objects.
58797         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58798         (__libc_ifunc_impl_list): Likewise.
58800         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
58801         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
58802         file.
58803         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
58804         file.
58805         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
58806         file: multiarch mempcpy for PPC32.
58807         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
58808         multiarch objects.
58809         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58810         (__libc_ifunc_impl_list): Likewise.
58812         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
58813         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
58814         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
58815         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
58816         multiarch bzero for PPC32.
58817         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
58818         file.
58819         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
58820         file.
58821         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
58822         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
58823         file: multiarch memset for PPC32.
58824         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
58825         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
58826         memset multiarch objects.
58827         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58828         (__libc_ifunc_impl_list): Likewise.
58830         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
58831         file.
58832         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
58833         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
58834         memcmp for PPC32.
58835         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
58836         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
58837         multiarch objects.
58838         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58839         (__libc_ifunc_impl_list): Likewise.
58841         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
58842         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
58843         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
58844         file.
58845         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
58846         file.
58847         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
58848         file.
58849         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
58850         multiarch memcpy for PPC32.
58851         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
58852         multiarch objects.
58853         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58854         (__libc_ifunc_impl_list): Likewise.
58856         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
58857         support multiarch for POWER/PPC32.
58858         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
58859         Likewise.
58860         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
58861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
58862         Implies file to make multiarch folder appers before the fpu and
58863         default folder for power4 configuration.
58865 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58867         * scripts/bench.pl: Append volatile keyword to type.
58869 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58871         * sysdeps/sh/sotruss-lib.c: New file.
58872         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
58874 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58878 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
58880         [BZ #6810]
58881         * math/w_tgamma.c: Include <errno.h>.
58882         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
58883         * math/w_tgammaf.c: Include <errno.h>.
58884         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
58885         * math/w_tgammal.c: Include <errno.h>.
58886         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
58887         * math/auto-libm-test-in: Do not allow missing errno on tgamma
58888         underflow.  Add more tgamma tests.
58889         * math/auto-libm-test-out: Regenerated.
58890         * sysdeps/i386/fpu/libm-test-ulps: Update.
58891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58893         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
58894         sin, sinh, tan, tanh, tgamma, y0 and y1.
58895         * math/auto-libm-test-out: Regenerated.
58896         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58897         (TEST_COND_x86): Likewise.
58898         (M_E2l): Remove macro.
58899         (M_E3l): Likewise.
58900         (M_2_SQRT_PIl): Likewise.
58901         (M_SQRT_PIl): Likewise.
58902         (M_1_DIV_El): Likewise.
58903         (log_test_data): Use AUTO_TESTS_f_f.
58904         (log10_test_data): Likewise.
58905         (log1p_test_data): Likewise.
58906         (log2_test_data): Likewise.
58907         (sin_test_data): Likewise.
58908         (sin_tonearest_test_data): Likewise.
58909         (sin_towardzero_test_data): Likewise.
58910         (sin_downward_test_data): Likewise.
58911         (sin_upward_test_data): Likewise.
58912         (sinh_test_data): Likewise.
58913         (sinh_tonearest_test_data): Likewise.
58914         (sinh_towardzero_test_data): Likewise.
58915         (sinh_downward_test_data): Likewise.
58916         (sinh_upward_test_data): Likewise.
58917         (tan_test_data): Likewise.
58918         (tan_tonearest_test_data): Likewise.
58919         (tan_towardzero_test_data): Likewise.
58920         (tan_downward_test_data): Likewise.
58921         (tan_upward_test_data): Likewise.
58922         (tanh_test_data): Likewise.
58923         (tgamma_test_data): Likewise.
58924         (y0_test_data): Likewise.
58925         (y1_test_data): Likewise.
58926         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
58927         (special_real_inputs): Add pi/4.
58928         * sysdeps/i386/fpu/libm-test-ulps: Update.
58929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58931 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58933         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
58934         "longjmp_target" static probes.
58935         (__longjmp): Rename to __longjmp_symbol.
58936         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58937         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
58938         on which longjmp to generate.
58939         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
58940         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
58941         probe.
58942         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58943         (__sigjmp_save): Rename to __sigjmp_save_symbol.
58944         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
58945         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
58946         and __sigjmp_save_symbol based on which sigsetjmp to generated.
58947         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
58949         __longjmp_symbol based on which __longjmp to generate.
58950         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
58951         probe.
58952         (setjmp): Rename to setjmp_symbol.
58953         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58954         (_setjmp): Rename to _setjmp_symbol.
58955         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58956         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
58957         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
58958         which setjmp to generate.
58959         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
58960         "longjmp_target" static probes.
58962 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58964         * benchtests/README: Add note about output arguments.
58965         * benchtests/bench-sincos.c: Remove file.
58966         * benchtests/sincos-inputs: New file.
58967         * scripts/bench.pl: Identify output arguments and define
58968         static variables for them.
58970         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
58972         [BZ #15941]
58973         * Makefile (INSTALL): Add install-plain.texi as the primary
58974         dependency.
58975         * manual/install-plain.texi: New file.
58976         * manual/install.texi: Include node directive only for
58977         non-plaintext output.
58979 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
58981         * stdlib/longlong.h: Update from GCC.
58983         [BZ #6807]
58984         [BZ #15901]
58985         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
58986         * math/w_j0f.c (y0f): Likewise.
58987         * math/w_j0l.c (__y0l): Likewise.
58988         * math/w_j1.c (y1): Likewise.
58989         * math/w_j1f.c (y1f): Likewise.
58990         * math/w_j1l.c (__y1l): Likewise.
58991         * math/w_jn.c (yn): Likewise.
58992         * math/w_jnf.c (ynf): Likewise.
58993         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
58994         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
58995         value for Bessel function domain errors outside _SVID_ mode.
58996         Adjust sign of return value for yn (negative integer, 0).
58997         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
58998         by zero in return for negative x and set sign appropriately for
58999         negative n.
59000         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
59001         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59002         * math/libm-test.inc (y0_test_data): Add more tests and adjust
59003         expectations in error cases.
59004         (y1_test_data): Likewise.
59005         (yn_test_data): Likewise.
59006         * sysdeps/i386/fpu/libm-test-ulps: Update.
59007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59009 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59011         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
59012         "64" to "64-v1".  Add "64-v2".
59013         (abi-64-options): Rename to ...
59014         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
59015         (abi-64-condition): Rename to ...
59016         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
59017         (abi-64-ld-soname): Rename to ...
59018         (abi-64-v1-ld-soname): ... this.
59019         (abi-64-v2-options): Define.
59020         (abi-64-v2-condition): Likewise.
59021         (abi-64-v2-ld-soname): Likewise.
59022         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
59023         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
59024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
59025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
59026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
59028 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59029             Alan Modra  <amodra@gmail.com>
59031         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
59032         New versions for use with the ELFv2 ABI.
59033         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
59034         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
59035         declaration.
59036         (struct La_ppc64v2_retval): Likewise.
59037         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
59038         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
59039         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
59040         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
59041         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
59042         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59043         Do not save or restore CR.
59044         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
59045         (_dl_profile_resolve): Do no save or restore CR.  Support extended
59046         return values for ELFv2 ABI.  Fix location of FPR return registers.
59047         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
59048         updated values for _CALL_ELF == 2.
59049         (La_regs, La_retval, int_retval): Likewise.
59051 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59053         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
59054         (FRAME_MIN_SIZE_PARM): Likewise.
59055         (FRAME_BACKCHAIN): Likewise.
59056         (FRAME_CR_SAVE): Likewise.
59057         (FRAME_LR_SAVE): Likewise.
59058         (FRAME_TOC_SAVE): Likewise.
59059         (FRAME_PARM_SAVE): Likewise.
59060         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
59061         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
59062         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
59063         (call_mcount_parm_offset): New macro.
59064         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
59065         (PROF): Use symbolic stack frame offsets.
59066         (TAIL_CALL_SYSCALL_ERROR): Likewise.
59067         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
59068         Redefine in terms of FRAME_MIN_SIZE.
59069         (_dl_runtime_resolve): Use symbolic stack frame offsets.
59070         (_dl_profile_resolve): Likewise.  Update comment.
59071         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
59072         symbols stack frame offsets.
59073         (__sigsetjmp): Likewise.
59074         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
59075         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
59076         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
59077         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
59079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
59080         (FRAME_BACKCHAIN): Remove.
59081         (FRAME_CR_SAVE): Likewise.
59082         (FRAME_LR_SAVE): Likewise.
59083         (FRAME_COMPILER_DW): Likewise.
59084         (FRAME_LINKER_DW): Likewise.
59085         (FRAME_TOC_SAVE): Likewise.
59086         (FRAME_PARM_SAVE): Likewise.
59087         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
59088         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
59089         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
59090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
59091         (CHECK_SP): Use symbolic stack frame offsets.
59092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
59093         zone" instead of caller's parameter save area for temp storage.
59094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59095         Likewise.  Also, use symbolic stack frame offsets.
59096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
59097         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
59098         our own stack frame instead of the caller's.
59099         (__socket): Use symbolic stack frame offsets.
59101 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59102             Alan Modra  <amodra@gmail.com>
59104         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
59105         Define.
59106         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
59107         (PPC64_LOCAL_ENTRY_OFFSET): Define.
59108         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
59109         New function.
59110         (elf_machine_fixup_plt): Call it.
59111         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
59112         reloc arguments.
59113         (elf_machine_rela): Update call to elf_machine_plt_conflict.
59114         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59115         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
59116         r2 before calling target.
59118 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59119             Alan Modra  <amodra@gmail.com>
59121         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
59122         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
59123         versions of macros to support ELFv2 ABI.
59124         (LOCALENTRY): New macro.
59125         (ENTRY, EALIGN): Use it.
59126         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
59127         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
59128         fall through into ENTRY entry point.
59129         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
59130         Only define if _CALL_ELF != 2.
59132         (elf_machine_matches_host): Verify ABI version matches.
59133         (RTLD_START): Use LOCALENTRY.
59134         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
59135         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
59136         (PLT_ENTRY_WORDS): New macro.
59137         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
59138         (elf_machine_runtime_setup): Support ELFv2 ABI.
59139         (elf_machine_fixup_plt): Likewise.
59140         (elf_machine_plt_conflict): Likewise.
59141         (resolve_ifunc): Likewise.
59142         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
59143         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59144         Likewise.
59145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
59146         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
59147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59148         (makecontext): Support ELFv2 ABI.
59149         * elf/elf.h (EF_PPC64_ABI): Define.
59151 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59153         * sysdeps/powerpc/powerpc64/sysdep.h
59154         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
59155         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
59156         (ENTRY) [ASSEMBLER]: ... but instead here ...
59157         (EALIGN) [ASSEMBLER]: ... and here.
59158         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
59159         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
59160         (ENTRY_2) [!ASSEMBLER]: Use it.
59161         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
59162         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
59163         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59164         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
59165         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
59166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
59167         Use PPC64_LOAD_FUNCPTR.
59169         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
59171 2013-12-04  Alan Modra  <amodra@gmail.com>
59173         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
59174         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
59175         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
59176         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
59178         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
59179         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
59180         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
59181         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
59182         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
59183         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
59185 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59188         (__makecontext): Fix incorrect CFI when backtracing out of
59189         context created via makecontext.
59190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
59191         (__setcontext): Fix incorrect CFI during switch to new context.
59192         (__novec_setcontext): Likewise.
59194 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
59196         [BZ #4772]
59197         * time/strptime_l.c (__strptime_internal): Allow modifiers
59198         in strptime.
59199         * time/tst-strptime.c (day_tests): Add testcase.
59201 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59203         * scripts/bench.pl: Skip over blank lines.
59205 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
59207         [BZ #926]
59208         * manual/time.texi (Calendar Time): Clarify what timezone functions
59209         use.
59211 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59215 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
59217         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
59218         implementation.
59219         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
59220         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
59221         * debug/memset_chk.c (__memset_chk): Likewise.
59222         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
59223         * debug/strncpy_chk.c: Likewise.
59225 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
59227         [BZ #15268]
59228         [BZ #15425]
59229         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
59230         (__ieee754_exp): For possibly underflowing results, check size of
59231         result and force underflow exception if required.
59232         * math/auto-libm-test-in: Add more tests of exp.
59233         * math/auto-libm-test-out: Regenerated.
59234         * sysdeps/i386/fpu/libm-test-ulps: Update.
59235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59237         [BZ #16283]
59238         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
59239         * math/w_exp2f.c (__exp2f): Likewise.
59240         * math/w_exp2l.c (__exp2l): Likewise.
59241         * math/auto-libm-test-in: Do not allow missing errno on exp2
59242         underflow.
59243         * math/auto-libm-test-out: Regenerated.
59245 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
59247         [BZ #16274]
59248         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
59249         handle filename validation.
59250         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
59251         (do_open): Delete.
59253 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
59255         [BZ #6786]
59256         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
59257         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
59258         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
59259         <float.h>.
59260         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
59261         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
59262         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59263         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
59264         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59265         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
59266         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59267         * math/auto-libm-test-in: Don't allow missing errno from erfc.
59268         Add more erfc tests.
59269         * math/auto-libm-test-out: Regenerated.
59270         * sysdeps/i386/fpu/libm-test-ulps: Update.
59271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59273         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
59274         exp2, expm1, j0 and j1.
59275         * math/auto-libm-test-out: Regenerated.
59276         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
59277         (erfc_test_data): Likewise.
59278         (exp_test_data): Likewise.
59279         (exp_tonearest_test_data): Likewise.
59280         (exp_towardzero_test_data): Likewise.
59281         (exp_downward_test_data): Likewise.
59282         (exp_upward_test_data): Likewise.
59283         (exp10_test_data): Likewise.
59284         (exp2_test_data): Likewise.
59285         (expm1_test_data): Likewise.
59286         (j0_test_data): Likewise.
59287         (j1_test_data): Likewise.
59288         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
59289         (input_flag_type): Add flag_xfail_rounding.
59290         (input_flags): Add xfail-rounding.
59291         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
59292         (output_for_one_input_case): Handle flag_xfail_rounding.
59293         * sysdeps/i386/fpu/libm-test-ulps: Update.
59294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59296 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
59298         [BZ #16289]
59299         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
59300         division by 0.
59302 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59304         [BZ #16195]
59305         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
59306         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
59307         (STAP_PROBE0): New macro.
59308         (STAP_PROBE1): Likewise.
59309         (STAP_PROBE2): Likewise.
59310         (STAP_PROBE3): Likewise.
59311         (STAP_PROBE4): Likewise.
59313 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
59315         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
59317 2013-12-02  Steve Ellcey  <sellcey@mips.com>
59319         * benchtests/Makefile (bench): Add sqrt.
59320         (LDLIBS-bench-sqrt): New.
59321         * benchtests/sqrt-input: New.
59323 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
59325         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
59326         (GAIH_EAI): Likewise.
59327         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
59328         (gaih_inet): Likewise.
59329         (getaddrinfo): Don't use GAIH_EAI.
59331         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
59332         (struct gaih): Remove definition.
59334 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59336         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
59337         Use HERRNOP directly.
59339 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59343 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
59345         * math/gen-auto-libm-tests.c (test_functions): Add more
59346         single-argument functions.
59347         (special_fill_pi_2): New function.
59348         (special_fill_minus_pi_2): Likewise.
59349         (special_fill_pi_6): Likewise.
59350         (special_fill_minus_pi_6): Likewise.
59351         (special_fill_pi_3): Likewise.
59352         (special_fill_2pi_3): Likewise.
59353         (special_fill_e): Likewise.
59354         (special_fill_1_e): Likewise.
59355         (special_fill_e_minus_1): Likewise.
59356         (special_real_inputs): Add more special inputs.
59357         (output_for_one_input_case): Do not require ERANGE on underflow to
59358         zero if round-to-nearest result does not underflow to zero, unless
59359         exact results required.
59360         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
59361         atan, atanh, cbrt, cos and cosh.
59362         * math/auto-libm-test-out: Regenerated.
59363         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
59364         (acos_tonearest_test_data): Likewise.
59365         (acos_towardzero_test_data): Likewise.
59366         (acos_downward_test_data): Likewise.
59367         (acos_upward_test_data): Likewise.
59368         (acosh_test_data): Likewise.
59369         (asin_test_data): Likewise.
59370         (asin_tonearest_test_data): Likewise.
59371         (asin_towardzero_test_data): Likewise.
59372         (asin_upward_test_data): Likewise.
59373         (asinh_test_data): Likewise.
59374         (atan_test_data): Likewise.
59375         (atanh_test_data): Likewise.
59376         (cbrt_test_data): Likewise.
59377         (cos_test_data): Likewise.
59378         (cos_tonearest_test_data): Likewise.
59379         (cos_towardzero_test_data): Likewise.
59380         (cos_downward_test_data): Likewise.
59381         (cos_upward_test_data): Likewise.
59382         (cosh_test_data): Likewise.
59383         (cosh_tonearest_test_data): Likewise.
59384         (cosh_towardzero_test_data): Likewise.
59385         (cosh_downward_test_data): Likewise.
59386         (cosh_upward_test_data): Likewise.
59387         * sysdeps/i386/fpu/libm-test-ulps: Update.
59388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59390 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
59392         [BZ #6787]
59393         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
59394         * math/w_exp10f.c (__exp10f): Likewise.
59395         * math/w_exp10l.c (__exp10l): Likewise.
59396         * math/libm-test.inc (exp10_test_data): Add more tests and expect
59397         errno settings in existing tests.
59399         [BZ #14032]
59400         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
59401         precision control set to double precision.
59402         * sysdeps/i386/fpu/w_sqrt.c: New file.
59403         * math/auto-libm-test-in: Add more tests.
59404         * math/auto-libm-test-out: Update.
59406         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
59407         (sqrt_test_tonearest): New function.
59408         (sqrt_towardzero_test_data): New variable.
59409         (sqrt_test_towardzero): New function.
59410         (sqrt_downward_test_data): New variable.
59411         (sqrt_test_downward): New function.
59412         (sqrt_upward_test_data): New variable.
59413         (sqrt_test_upward): New function.
59414         (main): Call the new functions.
59416         * math/gen-auto-libm-tests.c: New file.
59417         * math/auto-libm-test-in: Likewise.
59418         * math/auto-libm-test-out: New generated file.
59419         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
59420         variables.
59421         (%beautify): Add generated representations of zero.
59422         (top level): Set $auto_input and call parse_auto_input.
59423         (beautify): Remove trailing "f" from hex float constants.
59424         (parse_args): Handle XFAIL_TEST.
59425         (convert_condition): New function.
59426         (or_value): Likewise.
59427         (or_cond_value): Likewise.
59428         (generate_testfile): Handle AUTO_TESTS_* lines.
59429         (parse_auto_input): New function.
59430         * math/libm-test.inc (XFAIL_TEST): New macro.
59431         (ERRNO_UNCHANGED): Update value.
59432         (ERRNO_EDOM): Likewise.
59433         (ERRNO_ERANGE): Likewise.
59434         (IGNORE_RESULT): Likewise.
59435         (TEST_COND_flt_32): New macro.
59436         (TEST_COND_dbl_64): Likewise.
59437         (TEST_COND_ldbl_96_intel): Likewise.
59438         (TEST_COND_ldbl_96_m68k): Likewise.
59439         (TEST_COND_ldbl_128): Likewise.
59440         (TEST_COND_ldbl_128ibm): Likewise.
59441         (TEST_COND_long32): Likewise.
59442         (TEST_COND_long64): Likewise.
59443         (TEST_COND_before_rounding): Likewise.
59444         (TEST_COND_after_rounding): Likewise.
59445         (enable_test): Handle XFAIL_TEST flag.
59446         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
59447         with finite results.
59448         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
59449         auto-libm-test-out.
59451 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59452             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59454         [BZ #16214]
59455         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
59456         __tls_get_addr_internal instead of __tls_get_offset in order to
59457         avoid GOT pointer dependency.  Make rtld export
59458         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
59459         __tls_get_addr since we are a __tls_get_offset platform.
59460         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
59461         GOT pointer being set up before.
59462         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
59464 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
59466         * manual/math.texi (Errors in Math Functions): Document accuracy
59467         goals.
59469         [BZ #15004]
59470         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
59471         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
59472         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59473         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59474         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59475         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59476         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59477         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59478         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59479         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59480         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59481         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59482         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59483         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59484         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59485         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59487         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
59488         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
59489         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
59490         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
59491         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
59492         Likewise.
59493         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
59494         Likewise.
59495         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
59496         Likewise.
59497         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
59498         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
59499         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
59500         atomic-feupdateenv and flt-rounds.
59501         * sysdeps/powerpc/nofpu/Versions (libc): Add
59502         __atomic_feholdexcept, __atomic_feclearexcept,
59503         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
59504         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
59505         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
59506         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
59507         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
59508         here.
59509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
59510         Update.
59512         * manual/arith.texi (FP Exceptions): Document that exceptions may
59513         not be raised when matherr is used.
59514         (Math Error Reporting): Document overflow in directed rounding
59515         modes.  Document that errno may not be set when finite values are
59516         returned on overflow.  Document intent to set errno on underflow
59517         only for underflow to zero.
59519         [BZ #16271]
59520         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
59521         round-to-nearest then adjust result for other rounding modes.
59522         * include/fenv.h (fegetround): Use libm_hidden_proto.
59523         * math/fegetround.c (fegetround): Use libm_hidden_def.
59524         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
59525         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
59526         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59527         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
59528         Likewise.
59529         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
59530         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59531         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
59532         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
59534 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59536         [BZ #16077]
59537         * nss/Versions (libnss_files): Add
59538         _nss_files_gethostbyname3_r.
59539         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
59540         New function.
59541         (HOST_DB_LOOKUP): Remove macro.
59542         (_nss_files_gethostbyname_r): Implement function without the
59543         HOST_DB_LOOKUP macro.
59544         (_nss_files_gethostbyname2_r): Likewise.
59546 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
59548         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
59550 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
59552         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
59553         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
59554         warning.
59556 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59558         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
59559         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
59560         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
59561         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
59562         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
59563         __fe_nomask_env_priv and attribute_hidden.
59564         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
59565         (libc_feupdateenv_test_ppc): Likewise.
59566         (libc_feresetround_ppc): Likewise.
59567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59568         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
59569         compat_symbol macro.
59570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59571         (__fe_nomask_env): Likewise.
59572         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
59574 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59576         * string/Makefile: Remove ifunc tests.
59577         * string/test-string.h: Define TEST_IFUNC.
59578         * string/test-bcopy-ifunc.c: Remove.
59579         * string/test-bzero-ifunc.c: Likewise.
59580         * string/test-memccpy-ifunc.c: Likewise.
59581         * string/test-memchr-ifunc.c: Likewise.
59582         * string/test-memcmp-ifunc.c: Likewise.
59583         * string/test-memcpy-ifunc.c: Likewise.
59584         * string/test-memmem-ifunc.c: Likewise.
59585         * string/test-memmove-ifunc.c: Likewise.
59586         * string/test-mempcpy-ifunc.c: Likewise.
59587         * string/test-memrchr-ifunc.c: Likewise.
59588         * string/test-memset-ifunc.c: Likewise.
59589         * string/test-rawmemchr-ifunc.c: Likewise.
59590         * string/test-stpcpy-ifunc.c: Likewise.
59591         * string/test-stpncpy-ifunc.c: Likewise.
59592         * string/test-strcasecmp-ifunc.c: Likewise.
59593         * string/test-strcasestr-ifunc.c: Likewise.
59594         * string/test-strcat-ifunc.c: Likewise.
59595         * string/test-strchr-ifunc.c: Likewise.
59596         * string/test-strchrnul-ifunc.c: Likewise.
59597         * string/test-strcmp-ifunc.c: Likewise.
59598         * string/test-strcpy-ifunc.c: Likewise.
59599         * string/test-strcspn-ifunc.c: Likewise.
59600         * string/test-strlen-ifunc.c: Likewise.
59601         * string/test-strncasecmp-ifunc.c: Likewise.
59602         * string/test-strncat-ifunc.c: Likewise.
59603         * string/test-strncmp-ifunc.c: Likewise.
59604         * string/test-strncpy-ifunc.c: Likewise.
59605         * string/test-strnlen-ifunc.c: Likewise.
59606         * string/test-strpbrk-ifunc.c: Likewise.
59607         * string/test-strrchr-ifunc.c: Likewise.
59608         * string/test-strspn-ifunc.c: Likewise.
59609         * string/test-strstr-ifunc.c: Likewise.
59611 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59613         * benchtests/Makefile: Remove ifunc tests.
59614         * benchtests/bench-string.h: Define TEST_IFUNC.
59615         * benchtests/bench-bcopy-ifunc.c: Remove.
59616         * benchtests/bench-bzero-ifunc.c: Likewise.
59617         * benchtests/bench-memccpy-ifunc.c: Likewise.
59618         * benchtests/bench-memchr-ifunc.c: Likewise.
59619         * benchtests/bench-memcmp-ifunc.c: Likewise.
59620         * benchtests/bench-memcpy-ifunc.c: Likewise.
59621         * benchtests/bench-memmem-ifunc.c: Likewise.
59622         * benchtests/bench-memmove-ifunc.c: Likewise.
59623         * benchtests/bench-mempcpy-ifunc.c: Likewise.
59624         * benchtests/bench-memrchr-ifunc.c: Likewise.
59625         * benchtests/bench-memset-ifunc.c: Likewise.
59626         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
59627         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
59628         * benchtests/bench-stpcpy-ifunc.c: Likewise.
59629         * benchtests/bench-stpncpy-ifunc.c: Likewise.
59630         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
59631         * benchtests/bench-strcasestr-ifunc.c: Likewise.
59632         * benchtests/bench-strcat-ifunc.c: Likewise.
59633         * benchtests/bench-strchr-ifunc.c: Likewise.
59634         * benchtests/bench-strchrnul-ifunc.c: Likewise.
59635         * benchtests/bench-strcmp-ifunc.c: Likewise.
59636         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
59637         * benchtests/bench-strcpy-ifunc.c: Likewise.
59638         * benchtests/bench-strcspn-ifunc.c: Likewise.
59639         * benchtests/bench-strlen-ifunc.c: Likewise.
59640         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
59641         * benchtests/bench-strncat-ifunc.c: Likewise.
59642         * benchtests/bench-strncmp-ifunc.c: Likewise.
59643         * benchtests/bench-strncpy-ifunc.c: Likewise.
59644         * benchtests/bench-strnlen-ifunc.c: Likewise.
59645         * benchtests/bench-strpbrk-ifunc.c: Likewise.
59646         * benchtests/bench-strrchr-ifunc.c: Likewise.
59647         * benchtests/bench-strsep-ifunc.c: Likewise.
59648         * benchtests/bench-strspn-ifunc.c: Likewise.
59649         * benchtests/bench-strstr-ifunc.c: Likewise.
59651 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59653         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
59655 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59657         * resolv/netdb.h: Use __glibc_reserved instead __unused.
59658         * rt/aio.h: Likewise.
59659         * sysdeps/gnu/bits/utmp.h: Likewise.
59660         * sysdeps/gnu/bits/utmpx.h: Likewise.
59661         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59662         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
59663         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
59664         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
59665         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
59666         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
59667         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
59668         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
59669         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
59670         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
59671         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
59672         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
59673         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
59674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
59675         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59676         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
59677         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
59678         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
59679         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
59680         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
59681         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
59682         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
59683         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
59684         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59685         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
59686         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59687         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
59688         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
59689         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
59690         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
59691         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
59692         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
59693         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
59694         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
59695         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
59696         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
59697         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
59698         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
59699         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
59700         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
59701         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
59702         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
59704 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
59706         [BZ #16245]
59707         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
59708         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
59710 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
59712         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
59713         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
59714         Likewise.
59716 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59718         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
59719         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
59720         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
59721         (__fesetround): Remove define.
59722         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
59723         rounding and exceptions handling.
59724         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
59725         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
59726         (__fe_nomask_env): Likewise.
59727         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
59728         __fegetround instead of fegetround.
59729         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
59730         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
59732 2013-11-21  Roland McGrath  <roland@hack.frob.com>
59734         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
59735         it's there.
59737         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
59739 2013-11-21  Meador Inge  <meadori@codesourcery.com>
59741         [BZ #11157]
59742         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
59743         (encrypt_r): Likewise.
59744         * malloc/obstack.h (obstack_free): Likewise.
59745         * posix/unistd.h (encrypt): Likewise.
59747 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
59749         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
59750         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
59751         DL_CALL_DT_FINI() that call the functions directly.
59752         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
59753         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
59754         * elf/dl-fini.c: Likewise.
59756 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
59758         * malloc/hooks.c (memalign_check): Add alignment rounding.
59759         * malloc/malloc.c (_mid_memalign): New function.
59760         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
59761         Implement by calling _mid_memalign.
59762         * manual/probes.texi (Memory Allocation Probes): Remove
59763         memory_valloc_retry and memory_pvalloc_retry.
59765 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59767         * locale/programs/locarchive.c (open_archive): Add const
59768         qualifier to ARCHIVEFNAME and copy default fname to
59769         DEFAULT_FNAME.
59771         [BZ #15601]
59772         * libio/tst-widetext.input: Rename Oriya to Odia.
59773         * locale/iso-639.def: Likewise.
59775         * manual/probes.texi (Mathematical Function Probes): Add
59776         documentation for sin, cos, asin and acos probes.
59777         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
59778         (__sin32): Add slowasin probe.
59779         (__cos32): Add slowacos probe.
59780         (__mpsin): Add slowsin probe.
59781         (__mpcos): Add slowcos probe.
59783 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
59785         [BZ #15483]
59786         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
59787         thread-local __sim_exceptions_thread and global
59788         __sim_exceptions_global.
59789         (__sim_disabled_exceptions): Change to thread-local
59790         __sim_disabled_exceptions_thread and global
59791         __sim_disabled_exceptions_global.
59792         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59793         and global __sim_round_mode_global.
59794         (__simulate_exceptions): Use thread-local floating-point state and
59795         set global state from it as needed.
59796         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
59797         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
59798         __sim_round_mode_thread.
59799         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
59800         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
59801         and global __sim_exceptions_global.
59802         (__sim_disabled_exceptions): Change to thread-local
59803         __sim_disabled_exceptions_thread and global
59804         __sim_disabled_exceptions_global.
59805         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59806         and global __sim_round_mode_global.
59807         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
59808         (SIM_SET_GLOBAL): Likewise.
59809         * sysdeps/powerpc/soft-fp/sfp-machine.h
59810         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
59811         __sim_round_mode_thread.
59812         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
59813         __sim_disabled_exceptions_thread.
59814         (__sim_exceptions): Change to __sim_exceptions_thread.
59815         (__sim_disabled_exceptions): Change to
59816         __sim_disabled_exceptions_thread.
59817         (__sim_round_mode): Change to __sim_round_mode_thread.
59818         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
59819         thread-local floating-point state and set global state from it as
59820         needed.
59821         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
59822         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
59823         (__sim_disabled_exceptions): Remove extern declaration.
59824         (feenableexcept): Use thread-local floating-point state and set
59825         global state from it as needed.
59826         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
59827         extern declaration.
59828         (__sim_disabled_exceptions): Likewise.
59829         (__sim_round_mode): Likewise.
59830         (__fegetenv): Use thread-local floating-point state.
59831         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
59832         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59833         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
59834         floating-point state and set global state from it as needed.
59835         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
59836         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
59837         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
59838         Likewise.
59839         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
59840         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
59841         Likewise.
59842         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
59843         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
59844         Use __sim_round_mode_thread.
59845         * math/test-fenv-tls.c: New file.
59846         * math/Makefile (tests): Add test-fenv-tls.
59847         ($(objpfx)test-fenv-tls): Depend on
59848         $(common-objpfx)nptl/libpthread.so.
59850 2013-11-19  Andreas Schwab  <schwab@suse.de>
59852         * locale/programs/locale.c (show_info): Decode wordarray elements.
59853         * locale/categories.def (LC_MONETARY): Add element for
59854         _NL_MONETARY_CRNCYSTR.
59855         * locale/C-monetary.c (conversion_rate): New variable.
59856         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
59857         element.
59859 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
59861         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
59862         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
59864 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59866         * elf/Makefile (tst-auxv): New test.
59867         * elf/tst-auxv.c: New
59868         * elf/rtld.c (dl_main): Adjust AT_EXECFN
59870 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
59872         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
59873         (hidden_proto): Caller changed.
59874         (hidden_tls_proto): New macro.
59875         (libc_hidden_tls_proto): Likewise.
59876         (rtld_hidden_tls_proto): Likewise.
59877         (libm_hidden_tls_proto): Likewise.
59878         (libresolv_hidden_tls_proto): Likewise.
59879         (librt_hidden_tls_proto): Likewise.
59880         (libdl_hidden_tls_proto): Likewise.
59881         (libnss_files_hidden_tls_proto): Likewise.
59882         (libnsl_hidden_tls_proto): Likewise.
59883         (libnss_nisplus_hidden_tls_proto): Likewise.
59884         (libutil_hidden_tls_proto): Likewise.
59886 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
59888         [BZ #10253]
59889         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
59890         (decompose_rpath): Defer expansion to fillin_rpath.
59891         (_dl_init_paths): Pass linkmap to fillin_rpath.
59893 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
59895         * benchtests/Makefile: Add strsep.
59896         * benchtests/bench-strsep.c: New file: strsep benchtest.
59897         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
59899 2013-11-18  Andreas Schwab  <schwab@suse.de>
59901         * locale/programs/locale.c (show_info) [case byte]: Check for
59902         '\377' instead of '\177'.
59903         * locale/C-monetary.c (not_available): Always use "\377".
59904         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
59905         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
59906         detect unavailable sign_posn locale elements.
59907         * locale/localeconv.c (__localeconv): For grouping and
59908         mon_grouping handle "\177" and "\377" like no grouping.
59909         (INT_ELEM): New macro.  Use it to set all numeric members.
59910         * locale/programs/ld-monetary.c (monetary_read)
59911         <tok_mon_grouping>: Normalize single -1 to the empty string.
59912         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
59913         Likewise.
59915 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
59917         [BZ #16055]
59918         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
59919         when we match (nil).
59920         * stdio-common/tst-sscanf.c (struct test): Add testcase.
59922 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
59924         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
59925         (NO_TEST_INLINE): Update value.
59926         (ERRNO_UNCHANGED): Likewise.
59927         (ERRNO_EDOM): Likewise.
59928         (ERRNO_ERANGE): Likewise.
59929         (IGNORE_RESULT): Likewise.
59930         (check_float_internal): Check signs of NaN results if
59931         TEST_NAN_SIGN used.
59932         (check_complex): Pass TEST_NAN_SIGN flag through to second
59933         check_float_internal call.
59934         (copysign_test_data): Add tests with quiet NaNs as second
59935         argument.  Use TEST_NAN_SIGN.
59936         (fabs_test_data): Add test of negative quiet NaN argument.  Use
59937         TEST_NAN_SIGN.
59938         (signbit_test_data): Add tests of quiet NaN argument.
59939         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
59941         * math/gen-libm-test.pl (show_exceptions): Take extra argument
59942         $ignore_result.
59943         (parse_args): Handle function results specified as IGNORE.
59944         * math/libm-test.inc (IGNORE_RESULT): New macro.
59945         (check_float_internal): Do not check numerical result if flag
59946         IGNORE_RESULT set.
59947         (check_complex): Pass through IGNORE_RESULT to second
59948         check_float_internal call.
59949         (check_int): Do not check numerical result if flag IGNORE_RESULT
59950         set.
59951         (check_long): Likewise.
59952         (check_bool): Likewise.
59953         (check_longlong): Likewise.
59954         (lrint_test_data): Add tests of infinite and NaN arguments.
59955         (lrint_tonearest_test_data): Likewise.
59956         (lrint_towardzero_test_data): Likewise.
59957         (lrint_downward_test_data): Likewise.
59958         (lrint_upward_test_data): Likewise.
59959         (llrint_test_data): Likewise.
59960         (llrint_tonearest_test_data): Likewise.
59961         (llrint_towardzero_test_data): Likewise.
59962         (llrint_downward_test_data): Likewise.
59963         (llrint_upward_test_data): Likewise.
59964         (lround_test_data): Likewise.
59965         (llround_test_data): Likewise.
59967         * math/libm-test.inc (NO_TEST_INLINE): New macro.
59968         (ERRNO_UNCHANGED): Update value.
59969         (ERRNO_EDOM): Likewise.
59970         (ERRNO_ERANGE): Likewise.
59971         (NO_TEST_INLINE_FLOAT): New macro.
59972         (NO_TEST_INLINE_DOUBLE): Likewise.
59973         (enable_test): New function.
59974         (RUN_TEST_f_f): Check enable_test before running test.
59975         (RUN_TEST_2_f): Likewise.
59976         (RUN_TEST_fff_f): Likewise.
59977         (RUN_TEST_c_f): Likewise.
59978         (RUN_TEST_f_f1): Likewise.
59979         (RUN_TEST_fF_f1): Likewise.
59980         (RUN_TEST_fI_f1): Likewise.
59981         (RUN_TEST_ffI_f1): Likewise.
59982         (RUN_TEST_c_c): Likewise.
59983         (RUN_TEST_cc_c): Likewise.
59984         (RUN_TEST_f_i): Likewise.
59985         (RUN_TEST_f_i_tg): Likewise.
59986         (RUN_TEST_ff_i_tg): Likewise.
59987         (RUN_TEST_f_b): Likewise.
59988         (RUN_TEST_f_b_tg): Likewise.
59989         (RUN_TEST_f_l): Likewise.
59990         (RUN_TEST_f_L): Likewise.
59991         (RUN_TEST_fFF_11): Likewise.
59992         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
59993         conditionals.
59994         (cosh_test_data): Likewise.
59995         (exp_test_data): Likewise.
59996         (expm1_test_data): Likewise.
59997         (hypot_test_data): Likewise.
59998         (pow_test_data): Likewise.
59999         (sinh_test_data): Likewise.
60000         (tanh_test_data): Likewise.
60001         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
60002         flags argument.
60004         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
60005         tests with quiet NaN input and output.
60006         (acosh_test_data): Likewise.
60007         (asin_test_data): Likewise.
60008         (asinh_test_data): Likewise.
60009         (atan_test_data): Likewise.
60010         (atanh_test_data): Likewise.
60011         (atan2_test_data): Likewise.
60012         (cbrt_test_data): Likewise.
60013         (cos_test_data): Likewise.
60014         (cosh_test_data): Likewise.
60015         (erf_test_data): Likewise.
60016         (erfc_test_data): Likewise.
60017         (exp_test_data): Likewise.
60018         (exp10_test_data): Likewise.
60019         (exp2_test_data): Likewise.
60020         (expm1_test_data): Likewise.
60021         (hypot_test_data): Likewise.
60022         (j0_test_data): Likewise.
60023         (j1_test_data): Likewise.
60024         (jn_test_data): Likewise.
60025         (lgamma_test_data): Likewise.
60026         (log_test_data): Likewise.
60027         (log10_test_data): Likewise.
60028         (log1p_test_data): Likewise.
60029         (log2_test_data): Likewise.
60030         (pow_test_data): Likewise.
60031         (scalb_test_data): Likewise.
60032         (sin_test_data): Likewise.
60033         (sincos_test_data): Likewise.
60034         (sinh_test_data): Likewise.
60035         (tan_test_data): Likewise.
60036         (tanh_test_data): Likewise.
60037         (tgamma_test_data): Likewise.
60038         (y0_test_data): Likewise.
60039         (y1_test_data): Likewise.
60040         (yn_test_data): Likewise.
60042         [BZ #16167]
60043         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
60044         argument being NaN and avoid computations with second argument in
60045         that case.
60046         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60047         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
60048         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60050 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
60052         * locale/iso-639.def: Add Chitwani Tharu (the).
60054 2013-11-14  Andreas Schwab  <schwab@suse.de>
60056         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
60057         word instead of empty string.
60059 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60062         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
60063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60064         (__fe_nomask_env): Likewise.
60066 2013-11-13  Steve Ellcey  <sellcey@mips.com>
60068         * benchtests/bench-timing.h: Include time.h.
60070 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
60072         [BZ #15997]
60073         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
60074         to 3.4.0 for x32.
60075         * sysdeps/unix/sysv/linux/configure: Regenerated.
60077 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
60079         [BZ #16151]
60080         * stdlib/strtod_l.c (round_and_return): Do not consider
60081         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
60082         exponent one less than half the least subnormal exponent.
60083         * stdlib/test-strtod-round-data: Add more tests.
60084         * stdlib/tst-strtod-round.c (tests): Regenerated.
60086 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60088         [BZ #14143]
60089         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
60090         (__fe_mask_env): Likewise.
60091         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
60092         libm_hidden_proto and add function prototype.
60093         (__fe_mask_env): Add function prototype.
60094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60095         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
60096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60097         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
60098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60099         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
60101 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60103         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
60104         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
60106 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60108         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
60109         of htab_find_slot().
60111 2013-11-11  David S. Miller  <davem@davemloft.net>
60113         [BZ #16150]
60114         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
60115         symbol in the non-vis3 case in static builds.
60116         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
60117         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
60118         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
60119         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
60121 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
60123         [BZ #387]
60124         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
60125         it is empty.
60127 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60129         * benchtests/Makefile: Add bench-strtod.
60130         * benchtests/bench-strtod.c: New file: strtod benchtest
60132 2013-11-11  Andreas Schwab  <schwab@suse.de>
60134         [BZ #16153]
60135         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
60136         terminating NUL in key length.
60138 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60140         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60141         Add artificial ODP entry for vDSO symbol for PPC64.
60142         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
60143         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
60145 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
60147         [BZ #15374]
60148         * nss/getent.c (services_keys): Recognize services starting with digit.
60150 2013-11-06  David S. Miller  <davem@davemloft.net>
60152         [BZ #15985]
60153         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
60154         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
60156 2013-11-06  Will Newton  <will.newton@linaro.org>
60158         * manual/memory.texi (Malloc Examples): Remove register
60159         keyword from examples.
60161 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
60163         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
60165 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
60167         [BZ #6981]
60168         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
60169         depending on [__GCC_IEC_559 > 0].
60170         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
60171         depending on [__GCC_IEC_559_COMPLEX > 0].
60173 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
60175         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
60176         to iso-639.def.
60178 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
60180         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
60182 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
60184         [BZ #16112]
60185         * malloc/malloc (malloc_info): Do not handle first bin as
60186         special case.
60188 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
60190         * locale/iso-639.def: Add Central Nahuatl (nhn).
60192 2013-11-01  Bruno Haible  <bruno@clisp.org>
60194         [BZ #7003]
60195         * manual/math.texi (BSD Random): Specify range upper bound as
60196         in POSIX.
60198 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
60200         * locale/iso-639.def: Add Meadow Mari (mhr).
60202 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
60204         [BZ #14752], [BZ #15763]
60205         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
60206         Validate name.
60207         * rt/tst_shm.c: Add test for escaping directory.
60209 2013-10-31  Andreas Schwab  <schwab@suse.de>
60211         [BZ #15917]
60212         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
60213         followed by 'x' as part of digit sequence.
60214         * stdio-common/tst-sscanf.c (double_tests2): New tests.
60216 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
60218         [BZ #16037]
60219         * configure.ac: allow GNU Make 4.0 and greater.
60220         * configure: Regenerated.
60222 2013-10-30  Will Newton  <will.newton@linaro.org>
60224         [BZ #16038]
60225         * malloc/hooks.c (memalign_check): Limit alignment to the
60226         maximum representable power of two.
60227         * malloc/malloc.c (__libc_memalign): Likewise.
60228         * malloc/tst-memalign.c (do_test): Add test for very
60229         large alignment values.
60230         * malloc/tst-posix_memalign.c (do_test): Likewise.
60232 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
60234         [BZ #11087]
60235         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
60236         (munmap_chunk): Likewise.
60237         (mremap_chunk): Likewise.
60239 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
60241         [BZ #15799]
60242         * stdlib/div.c (div): Remove obsolete code.
60243         * stdlib/ldiv.c (ldiv): Likewise.
60244         * stdlib/lldiv.c (lldiv): Likewise.
60246 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60248         [BZ #16071]
60249         * nss/nss_files/files-XXX.c (get_contents_ret): New
60250         enumerator.
60251         (get_contents): New function.
60252         (internal_getent): Use it.  Expand size of LINEBUFLEN.
60254 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
60256         * configure.in: Moved to ...
60257         * configure.ac: ... here. Change reference to configure.in
60258         to configure.ac.
60259         * sysdeps/arm/preconfigure.ac: ... here.
60260         configure.in to configure.ac.
60261         * sysdeps/gnu/configure.in: Moved to ...
60262         * sysdeps/gnu/configure.ac: ... here.
60263         * sysdeps/i386/configure.in: Moved to ...
60264         * sysdeps/i386/configure.ac: ... here.
60265         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
60266         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
60267         * sysdeps/mach/configure.in: Moved to ...
60268         * sysdeps/mach/configure.ac: ... here.
60269         * sysdeps/mach/hurd/configure.in: Moved to ...
60270         * sysdeps/mach/hurd/configure.ac: ... here.
60271         * sysdeps/powerpc/configure.in: Moved to ...
60272         * sysdeps/powerpc/configure.ac: ... here.
60273         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
60274         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
60275         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
60276         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
60277         * sysdeps/s390/s390-32/configure.in: Moved to ...
60278         * sysdeps/s390/s390-32/configure.ac: ... here.
60279         * sysdeps/s390/s390-64/configure.in: Moved to ...
60280         * sysdeps/s390/s390-64/configure.ac: ... here.
60281         * sysdeps/sh/configure.in: Moved to ...
60282         * sysdeps/sh/configure.ac: ... here.
60283         * sysdeps/sparc/configure.in: Moved to ...
60284         * sysdeps/sparc/configure.ac: ... here.
60285         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
60286         * sysdeps/unix/sysv/linux/configure.ac: ... here.
60287         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
60288         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
60289         * sysdeps/x86_64/configure.in: Moved to ...
60290         * sysdeps/x86_64/configure.ac: ... here.
60291         * sysdeps/x86_64/preconfigure.in: Moved to ...
60292         * sysdeps/x86_64/preconfigure.ac: ... here.
60293         * aclocal.m4: Change reference to configure.in to configure.ac.
60294         * config.h.in: Likewise.
60295         * manual/install.texi: Likewise.
60296         * manual/maint.texi: Likewise.
60297         * Makefile: Likewise.
60298         * malloc/Makefile: Likewise.
60299         * nscd/Makefile: Likewise.
60300         * Makeconfig: Change reference to configure.in and
60301         preconfigure.in to configure.ac and preconfigure.ac
60302         respectively.
60303         * INSTALL: Regenerated.
60304         * configure: Likewise.
60305         * sysdeps/gnu/configure: Likewise.
60306         * sysdeps/i386/configure: Likewise.
60307         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
60308         * sysdeps/mach/configure: Likewise.
60309         * sysdeps/mach/hurd/configure: Likewise.
60310         * sysdeps/powerpc/configure: Likewise.
60311         * sysdeps/powerpc/powerpc32/configure: Likewise.
60312         * sysdeps/powerpc/powerpc64/configure: Likewise.
60313         * sysdeps/s390/s390-32/configure: Likewise.
60314         * sysdeps/s390/s390-64/configure: Likewise.
60315         * sysdeps/sh/configure: Likewise.
60316         * sysdeps/sparc/configure: Likewise.
60317         * sysdeps/unix/sysv/linux/configure: Likewise.
60318         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
60319         * sysdeps/x86_64/configure: Likewise.
60320         * sysdeps/x86_64/preconfigure: Likewise.
60322 2013-10-29  Andreas Schwab  <schwab@suse.de>
60324         * stdio-common/Makefile (tst-swscanf-ENV): Define.
60326 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60328         * benchtests/pow-inputs: Add new inputs.
60330         * benchtests/exp-inputs: Add new inputs.
60332         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
60333         conditional check for return value.
60334         (__cos32): Likewise.
60336 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60338         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
60339         to provide a boost for large inputs with word alignment.
60340         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
60341         implementation based on optimized PPC64 strcpy.
60342         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
60343         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
60344         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
60345         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
60347 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60349         [BZ #2801]
60350         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
60352 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60354         [BZ #14876]
60355         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
60356         * time/tst-strptime.c (day_tests): Add testcase.
60358 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60360         [BZ #14029]
60361         * manual/pattern.texi: Acknowledge that fnmatch can fail.
60363 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
60365         [BZ #16074]
60366         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
60367         MAP_FAILED on error.
60369 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60371         [BZ #16072]
60372         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
60373         heap for large requests.
60375 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
60377         [BZ #9954]
60378         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
60379         result if the result has no associated interface.
60380         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
60381         interface for all 127.X.Y.Z addresses.
60383 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
60385         * locale/iso-639.def: Add Ligurian (lij)
60387 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
60389         [BZ #15825]
60390         * sunrpc/rpc_main.c: Document rpcgen -5.
60392 2013-10-19  Michael Stahl  <mstahl@redhat.com>
60394         * elf/rtld.c (do_preload): Print the reason why preloading failed.
60396 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
60398         [BZ #10278]
60399         * posix/glob.c: Match only directories when trailing slash is present.
60400         * posix/tst-gnuglob.c (my_opendir): Do not open files.
60401         (main): Add testcase.
60403 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
60405         [BZ #15670]
60406         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
60408 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
60410         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
60411         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
60412         AUTH_DES and cindex for FIPS 140-2.
60413         (DES Encryption): Add cindex FIPS 46-3.
60415         * locale/locarchive.h (struct locarhandle): Add fname.
60416         * locale/programs/localedef.c (main): Pass ARGV[remaining]
60417         if an optional argument was specified to --list-archive,
60418         otherwise NULL.
60419         * locale/programs/locarchive.c (show_archive_content): Take new
60420         argument fname and pass it via ah.fname to open_archive.
60421         * locale/programs/localedef.h: Update decl.
60422         (open_archive): If AH->fname is non-null, open that file
60423         rather than the default file name, and don't ignore ENOENT.
60424         (create_archive): Set AH.fname to NULL.
60425         (delete_locales_from_archive): Likewise.
60426         (add_locales_to_archive): Likewise.
60427         * locale/programs/locfile.c (write_all_categories): Likewise.
60429 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
60430             Aldy Hernandez  <aldyh@redhat.com>
60432         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
60433         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
60434         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
60435         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
60436         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
60437         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
60438         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
60439         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
60440         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
60441         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
60442         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
60443         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
60444         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
60445         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
60446         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
60447         Likewise.
60448         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
60449         Likewise.
60450         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
60451         Likewise.
60452         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
60453         Likewise.
60454         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
60455         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
60456         Likewise.
60457         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
60458         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
60459         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
60460         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
60461         Likewise.
60462         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
60463         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
60464         * sysdeps/powerpc/preconfigure: Likewise.
60465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
60466         Likewise.
60467         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
60468         Replace contents of file by #include of <fenv_libc.h>.
60469         * sysdeps/powerpc/soft-fp/sfp-machine.h
60470         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
60471         and <sys/prctl.h>.
60472         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
60473         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
60474         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
60475         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
60476         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
60477         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
60478         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
60479         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
60480         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
60481         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
60482         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
60483         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
60484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
60485         Allow copysignl PLT reference to be missing.
60487 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
60488             Joseph Myers  <joseph@codesourcery.com
60490         [BZ #15948]
60491         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
60492         single character.
60493         (add_to_tablewc): Assert sequence of wide characters is nonempty.
60495 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60497         * elf/tst-tls-dlinfo.c: Don't include tls.h.
60498         * elf/tst-tls1.c: Likewise.
60499         * elf/tst-tls10.h: Likewise.
60500         * elf/tst-tls14.c: Likewise.
60501         * elf/tst-tls2.c: Likewise.
60502         * elf/tst-tls3.c: Likewise.
60503         * elf/tst-tls4.c: Likewise.
60504         * elf/tst-tls5.c: Likewise.
60505         * elf/tst-tls6.c: Likewise.
60506         * elf/tst-tls7.c: Likewise.
60507         * elf/tst-tls8.c: Likewise.
60508         * elf/tst-tls9.c: Likewise.
60509         * elf/tst-tlsmod1.c: Likewise.
60510         * elf/tst-tlsmod13.c: Likewise.
60511         * elf/tst-tlsmod13a.c: Likewise.
60512         * elf/tst-tlsmod14a.c: Likewise.
60513         * elf/tst-tlsmod16a.c: Likewise.
60514         * elf/tst-tlsmod16b.c: Likewise.
60515         * elf/tst-tlsmod2.c: Likewise.
60516         * elf/tst-tlsmod3.c: Likewise.
60517         * elf/tst-tlsmod4.c: Likewise.
60518         * elf/tst-tlsmod5.c: Likewise.
60519         * elf/tst-tlsmod6.c: Likewise.
60521 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
60523         [BZ #12486]
60524         * malloc/malloc.c: remove checks for statistics.
60526 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
60528         [BZ #15277]
60529         * inet/inet_net.c (inet_network): Detect additional invalid strings.
60530         * inet/tst-network.c: Add testcase.
60532 2013-10-17  Andreas Schwab  <schwab@suse.de>
60534         [BZ #15218]
60535         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
60536         to determine canonical name.
60538 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
60540         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
60541         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
60542         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60543         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60544         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60545         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60546         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60547         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60548         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60549         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60550         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60551         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60552         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60553         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60554         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60555         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60556         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60557         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60558         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60559         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60560         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60561         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60562         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60563         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
60564         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
60565         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60566         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60567         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
60568         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60569         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
60570         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60571         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60572         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60573         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60574         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60575         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60576         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60577         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60578         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60579         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60580         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60581         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60582         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60583         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60584         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60585         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60586         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60587         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60588         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60589         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60590         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60591         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60592         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60593         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60594         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60595         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60596         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60597         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60599 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
60601         [BZ #16041]
60602         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
60603         make result into a quiet NaN.
60605 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
60607         * soft-fp/adddf3.c: Fix horizontal whitespace.
60608         * soft-fp/addsf3.c: Likewise.
60609         * soft-fp/addtf3.c: Likewise.
60610         * soft-fp/divdf3.c: Likewise.
60611         * soft-fp/divsf3.c: Likewise.
60612         * soft-fp/divtf3.c: Likewise.
60613         * soft-fp/double.h: Likewise.
60614         * soft-fp/eqdf2.c: Likewise.
60615         * soft-fp/eqsf2.c: Likewise.
60616         * soft-fp/eqtf2.c: Likewise.
60617         * soft-fp/extenddftf2.c: Likewise.
60618         * soft-fp/extended.h: Likewise.
60619         * soft-fp/extendsfdf2.c: Likewise.
60620         * soft-fp/extendsftf2.c: Likewise.
60621         * soft-fp/extendxftf2.c: Likewise.
60622         * soft-fp/fixdfdi.c: Likewise.
60623         * soft-fp/fixdfsi.c: Likewise.
60624         * soft-fp/fixdfti.c: Likewise.
60625         * soft-fp/fixsfdi.c: Likewise.
60626         * soft-fp/fixsfsi.c: Likewise.
60627         * soft-fp/fixsfti.c: Likewise.
60628         * soft-fp/fixtfdi.c: Likewise.
60629         * soft-fp/fixtfsi.c: Likewise.
60630         * soft-fp/fixtfti.c: Likewise.
60631         * soft-fp/fixunsdfdi.c: Likewise.
60632         * soft-fp/fixunsdfsi.c: Likewise.
60633         * soft-fp/fixunsdfti.c: Likewise.
60634         * soft-fp/fixunssfdi.c: Likewise.
60635         * soft-fp/fixunssfsi.c: Likewise.
60636         * soft-fp/fixunssfti.c: Likewise.
60637         * soft-fp/fixunstfdi.c: Likewise.
60638         * soft-fp/fixunstfsi.c: Likewise.
60639         * soft-fp/fixunstfti.c: Likewise.
60640         * soft-fp/floatdidf.c: Likewise.
60641         * soft-fp/floatdisf.c: Likewise.
60642         * soft-fp/floatditf.c: Likewise.
60643         * soft-fp/floatsidf.c: Likewise.
60644         * soft-fp/floatsisf.c: Likewise.
60645         * soft-fp/floatsitf.c: Likewise.
60646         * soft-fp/floattidf.c: Likewise.
60647         * soft-fp/floattisf.c: Likewise.
60648         * soft-fp/floattitf.c: Likewise.
60649         * soft-fp/floatundidf.c: Likewise.
60650         * soft-fp/floatundisf.c: Likewise.
60651         * soft-fp/floatunditf.c: Likewise.
60652         * soft-fp/floatunsidf.c: Likewise.
60653         * soft-fp/floatunsisf.c: Likewise.
60654         * soft-fp/floatunsitf.c: Likewise.
60655         * soft-fp/floatuntidf.c: Likewise.
60656         * soft-fp/floatuntisf.c: Likewise.
60657         * soft-fp/floatuntitf.c: Likewise.
60658         * soft-fp/fmadf4.c: Likewise.
60659         * soft-fp/fmasf4.c: Likewise.
60660         * soft-fp/fmatf4.c: Likewise.
60661         * soft-fp/gedf2.c: Likewise.
60662         * soft-fp/gesf2.c: Likewise.
60663         * soft-fp/getf2.c: Likewise.
60664         * soft-fp/ledf2.c: Likewise.
60665         * soft-fp/lesf2.c: Likewise.
60666         * soft-fp/letf2.c: Likewise.
60667         * soft-fp/muldf3.c: Likewise.
60668         * soft-fp/mulsf3.c: Likewise.
60669         * soft-fp/multf3.c: Likewise.
60670         * soft-fp/negdf2.c: Likewise.
60671         * soft-fp/negsf2.c: Likewise.
60672         * soft-fp/negtf2.c: Likewise.
60673         * soft-fp/op-1.h: Likewise.
60674         * soft-fp/op-2.h: Likewise.
60675         * soft-fp/op-4.h: Likewise.
60676         * soft-fp/op-8.h: Likewise.
60677         * soft-fp/op-common.h: Likewise.
60678         * soft-fp/quad.h: Likewise.
60679         * soft-fp/single.h: Likewise.
60680         * soft-fp/soft-fp.h: Likewise.
60681         * soft-fp/sqrtdf2.c: Likewise.
60682         * soft-fp/sqrtsf2.c: Likewise.
60683         * soft-fp/sqrttf2.c: Likewise.
60684         * soft-fp/subdf3.c: Likewise.
60685         * soft-fp/subsf3.c: Likewise.
60686         * soft-fp/subtf3.c: Likewise.
60687         * soft-fp/truncdfsf2.c: Likewise.
60688         * soft-fp/trunctfdf2.c: Likewise.
60689         * soft-fp/trunctfsf2.c: Likewise.
60690         * soft-fp/trunctfxf2.c: Likewise.
60691         * soft-fp/unorddf2.c: Likewise.
60692         * soft-fp/unordsf2.c: Likewise.
60693         * soft-fp/unordtf2.c: Likewise.
60695 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
60697         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
60698         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
60700 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
60702         * elf/dl-libc.c: Clear initfini list after freeing.
60704 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
60706         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
60707         * soft-fp/addsf3.c: Likewise.
60708         * soft-fp/addtf3.c: Likewise.
60709         * soft-fp/divdf3.c: Likewise.
60710         * soft-fp/divsf3.c: Likewise.
60711         * soft-fp/divtf3.c: Likewise.
60712         * soft-fp/double.h: Likewise.
60713         * soft-fp/eqdf2.c: Likewise.
60714         * soft-fp/eqsf2.c: Likewise.
60715         * soft-fp/eqtf2.c: Likewise.
60716         * soft-fp/extenddftf2.c: Likewise.
60717         * soft-fp/extended.h: Likewise.
60718         * soft-fp/extendsfdf2.c: Likewise.
60719         * soft-fp/extendsftf2.c: Likewise.
60720         * soft-fp/extendxftf2.c: Likewise.
60721         * soft-fp/fixdfdi.c: Likewise.
60722         * soft-fp/fixdfsi.c: Likewise.
60723         * soft-fp/fixdfti.c: Likewise.
60724         * soft-fp/fixsfdi.c: Likewise.
60725         * soft-fp/fixsfsi.c: Likewise.
60726         * soft-fp/fixsfti.c: Likewise.
60727         * soft-fp/fixtfdi.c: Likewise.
60728         * soft-fp/fixtfsi.c: Likewise.
60729         * soft-fp/fixtfti.c: Likewise.
60730         * soft-fp/fixunsdfdi.c: Likewise.
60731         * soft-fp/fixunsdfsi.c: Likewise.
60732         * soft-fp/fixunsdfti.c: Likewise.
60733         * soft-fp/fixunssfdi.c: Likewise.
60734         * soft-fp/fixunssfsi.c: Likewise.
60735         * soft-fp/fixunssfti.c: Likewise.
60736         * soft-fp/fixunstfdi.c: Likewise.
60737         * soft-fp/fixunstfsi.c: Likewise.
60738         * soft-fp/fixunstfti.c: Likewise.
60739         * soft-fp/floatdidf.c: Likewise.
60740         * soft-fp/floatdisf.c: Likewise.
60741         * soft-fp/floatditf.c: Likewise.
60742         * soft-fp/floatsidf.c: Likewise.
60743         * soft-fp/floatsisf.c: Likewise.
60744         * soft-fp/floatsitf.c: Likewise.
60745         * soft-fp/floattidf.c: Likewise.
60746         * soft-fp/floattisf.c: Likewise.
60747         * soft-fp/floattitf.c: Likewise.
60748         * soft-fp/floatundidf.c: Likewise.
60749         * soft-fp/floatundisf.c: Likewise.
60750         * soft-fp/floatunsidf.c: Likewise.
60751         * soft-fp/floatunsisf.c: Likewise.
60752         * soft-fp/floatuntidf.c: Likewise.
60753         * soft-fp/floatuntisf.c: Likewise.
60754         * soft-fp/floatuntitf.c: Likewise.
60755         * soft-fp/fmadf4.c: Likewise.
60756         * soft-fp/fmasf4.c: Likewise.
60757         * soft-fp/fmatf4.c: Likewise.
60758         * soft-fp/gedf2.c: Likewise.
60759         * soft-fp/gesf2.c: Likewise.
60760         * soft-fp/getf2.c: Likewise.
60761         * soft-fp/ledf2.c: Likewise.
60762         * soft-fp/lesf2.c: Likewise.
60763         * soft-fp/letf2.c: Likewise.
60764         * soft-fp/muldf3.c: Likewise.
60765         * soft-fp/mulsf3.c: Likewise.
60766         * soft-fp/multf3.c: Likewise.
60767         * soft-fp/negdf2.c: Likewise.
60768         * soft-fp/negsf2.c: Likewise.
60769         * soft-fp/negtf2.c: Likewise.
60770         * soft-fp/op-1.h: Likewise.
60771         * soft-fp/op-2.h: Likewise.
60772         * soft-fp/op-4.h: Likewise.
60773         * soft-fp/op-8.h: Likewise.
60774         * soft-fp/op-common.h: Likewise.
60775         * soft-fp/quad.h: Likewise.
60776         * soft-fp/single.h: Likewise.
60777         * soft-fp/soft-fp.h: Likewise.
60778         * soft-fp/sqrtdf2.c: Likewise.
60779         * soft-fp/sqrtsf2.c: Likewise.
60780         * soft-fp/sqrttf2.c: Likewise.
60781         * soft-fp/subdf3.c: Likewise.
60782         * soft-fp/subsf3.c: Likewise.
60783         * soft-fp/subtf3.c: Likewise.
60784         * soft-fp/truncdfsf2.c: Likewise.
60785         * soft-fp/trunctfdf2.c: Likewise.
60786         * soft-fp/trunctfsf2.c: Likewise.
60787         * soft-fp/trunctfxf2.c: Likewise.
60788         * soft-fp/unorddf2.c: Likewise.
60789         * soft-fp/unordsf2.c: Likewise.
60790         * soft-fp/unordtf2.c: Likewise.
60792 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
60794         [BZ #15672]
60795         * misc/error.c (error_tail): Fix possible buffer overflow.
60797 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
60799         [BZ #13028]
60800         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
60801         address.
60803 2013-10-14  P. J. McDermott  <pj@pehjota.net>
60805         [BZ #832]
60806         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
60807         testing pipefail option.
60809 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60811         * soft-fp/double.h: Indent preprocessor directives inside #if.
60812         * soft-fp/extended.h: Likewise.
60813         * soft-fp/op-2.h: Likewise.
60814         * soft-fp/op-4.h: Likewise.
60815         * soft-fp/op-common.h: Likewise.
60816         * soft-fp/quad.h: Likewise.
60817         * soft-fp/single.h: Likewise.
60818         * soft-fp/soft-fp.h: Likewise.
60820 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
60822         * iconv/iconv_prog.c: Fix typos.
60823         * stdio-common/psiginfo-data.h: Likewise.
60825 2013-10-12   Reuben Thomas <rrt@sc3d.org>
60827         [BZ #15764]
60828         * locale/setlocale.c: Fix typo.
60830 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60832         [BZ #16036]
60833         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
60834         signaling NaN arguments.
60835         * soft-fp/unordsf2.c (__unordsf2): Likewise.
60836         * soft-fp/unordtf2.c (__unordtf2): Likewise.
60838         [BZ #14910]
60839         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
60840         unordered operands.
60841         * soft-fp/gesf2.c (__gesf2): Likewise.
60842         * soft-fp/getf2.c (__getf2): Likewise.
60843         * soft-fp/ledf2.c (__ledf2): Likewise.
60844         * soft-fp/lesf2.c (__lesf2): Likewise.
60845         * soft-fp/letf2.c (__letf2): Likewise.
60847         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
60848         * soft-fp/eqsf2.c (__eqsf2): Likewise.
60849         * soft-fp/eqtf2.c (__eqtf2): Likewise.
60850         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
60851         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
60852         * soft-fp/fixdfti.c (__fixdfti): Likewise.
60853         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
60854         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
60855         * soft-fp/fixsfti.c (__fixsfti): Likewise.
60856         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
60857         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
60858         * soft-fp/fixtfti.c (__fixtfti): Likewise.
60859         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
60860         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
60861         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
60862         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
60863         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
60864         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
60865         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
60866         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
60867         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
60868         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
60869         * soft-fp/floatdisf.c (__floatdisf): Likewise.
60870         * soft-fp/floatsisf.c (__floatsisf): Likewise.
60871         * soft-fp/floattidf.c (__floattidf): Likewise.
60872         * soft-fp/floattisf.c (__floattisf): Likewise.
60873         * soft-fp/floattitf.c (__floattitf): Likewise.
60874         * soft-fp/floatundidf.c (__floatundidf): Likewise.
60875         * soft-fp/floatundisf.c (__floatundisf): Likewise.
60876         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
60877         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
60878         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
60879         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
60880         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
60881         * soft-fp/gesf2.c (__gesf2): Likewise.
60882         * soft-fp/getf2.c (__getf2): Likewise.
60883         * soft-fp/ledf2.c (__ledf2): Likewise.
60884         * soft-fp/lesf2.c (__lesf2): Likewise.
60885         * soft-fp/letf2.c (__letf2): Likewise.
60887         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
60888         Undefine and redefine.
60889         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
60890         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
60891         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
60892         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
60893         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60894         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
60895         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60896         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
60897         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60898         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
60899         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60900         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
60901         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60902         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
60903         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60905         [BZ #16032]
60906         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
60907         without decrementing exponent if mantissa >= that for the
60908         denominator, not >.
60909         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
60910         denominator, not >.  Decrement exponent in < case instead of
60911         incrementing in >= case.
60912         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
60913         without decrementing exponent if mantissa >= that for the
60914         denominator, not >.
60916         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
60917         computing saturated result for unsigned overflow.
60919 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60920             Jeff Law  <law@redhat.com>
60922         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
60923         (atan2Mp): Add systemtap probe marker.
60924         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
60925         (__ieee754_log): Add systemtap probe marker.
60926         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
60927         (atanMp): Add systemtap probe marker.
60928         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
60929         (tanMp): Add systemtap probe marker.
60930         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
60931         (__slowexp): Add systemtap probe marker.
60932         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
60933         (__slowpow): Add systemtap probe marker.
60934         * manual/probes.texi: Document probes.
60936 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
60938         [BZ #15362]
60939         * libio/fileops.c (_IO_new_file_write): Return count of bytes
60940         written.
60941         (_IO_new_file_xsputn): Don't return EOF if nothing has been
60942         written.
60943         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
60944         written to buffer but not flushed.
60945         * libio/iofwrite_u.c:  Likewise.
60946         * libio/iopadn.c:  Return bytes returned even if EOF was
60947         encountered.
60948         * libio/iowpadn.c:  Likewise.
60949         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
60950         if _IO_padn does not write the whole buffer.
60951         [!COMPILE_WPRINTF] (PAD): Likewise.
60953 2013-10-10  David S. Miller  <davem@davemloft.net>
60955         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
60956         directory block.
60958 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
60960         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
60961         instead of FSF address.
60962         * soft-fp/fixdfti.c: Likewise.
60963         * soft-fp/fixsfti.c: Likewise.
60964         * soft-fp/fixtfti.c: Likewise.
60965         * soft-fp/fixunsdfti.c: Likewise.
60966         * soft-fp/fixunssfti.c: Likewise.
60967         * soft-fp/fixunstfti.c: Likewise.
60968         * soft-fp/floattidf.c: Likewise.
60969         * soft-fp/floattisf.c: Likewise.
60970         * soft-fp/floattitf.c: Likewise.
60971         * soft-fp/floatuntidf.c: Likewise.
60972         * soft-fp/floatuntisf.c: Likewise.
60973         * soft-fp/floatuntitf.c: Likewise.
60974         * soft-fp/trunctfxf2.c: Likewise.
60976         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
60977         * soft-fp/fixdfti.c: Likewise.
60978         * soft-fp/fixsfti.c: Likewise.
60979         * soft-fp/fixtfti.c: Likewise.
60980         * soft-fp/fixunsdfti.c: Likewise.
60981         * soft-fp/fixunssfti.c: Likewise.
60982         * soft-fp/fixunstfti.c: Likewise.
60983         * soft-fp/floattidf.c: Likewise.
60984         * soft-fp/floattisf.c: Likewise.
60985         * soft-fp/floattitf.c: Likewise.
60986         * soft-fp/floatuntidf.c: Likewise.
60987         * soft-fp/floatuntisf.c: Likewise.
60988         * soft-fp/floatuntitf.c: Likewise.
60989         * soft-fp/trunctfxf2.c: Likewise.
60991 2013-10-10  David S. Miller  <davem@davemloft.net>
60993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60995 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
60997         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
60998         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
60999         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
61000         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
61001         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
61002         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
61003         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
61005         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
61006         for NaNs before doing comparisons on argument.
61007         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
61008         Likewise.
61010 2013-10-10  Will Newton  <will.newton@linaro.org>
61012         * malloc/hooks.c (memalign_check): Ensure the value of bytes
61013         passed to _int_memalign does not overflow.
61015 2013-10-10  Torvald Riegel  <triegel@redhat.com>
61017         * scripts/bench.pl: Add include-sources directive.
61018         * benchtests/README: Update documentation.
61020 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
61022         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
61023         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
61024         instead of FP_INIT_ROUNDMODE.
61025         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
61026         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
61028         [BZ #16034]
61029         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
61030         copy class of input value.
61031         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
61032         not handle exceptions.
61033         * soft-fp/negsf2.c (__negsf2): Likewise.
61034         * soft-fp/negtf2.c (__negtf2): Likewise.
61035         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
61037 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
61039         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
61040         semicolon.  From Linux kernel.
61042 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
61044         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
61046 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
61048         [BZ #156]
61049         * manual/socket.texi: Added statement about buffer
61050         for gethostbyname2_r.
61052 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
61054         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
61055         Use .p2align directive instead, throughout.
61056         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61057         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
61058         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
61059         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61060         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61061         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
61062         * sysdeps/x86_64/strchr.S: Likewise.
61063         * sysdeps/x86_64/strrchr.S: Likewise.
61065 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61067         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
61069         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
61071         * sysdeps/generic/math_private.h (__mpsin1): Remove
61072         declaration.
61073         (__mpcos1): Likewise.
61074         (__mpsin): New argument __range_reduce.
61075         (__mpcos): Likewise.
61076         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61077         (slow): Use __mpsin and __mpcos.
61078         (slow1): Likewise.
61079         (slow2): Likewise.
61080         (sloww): Likewise.
61081         (sloww1): Likewise.
61082         (sloww2): Likewise.
61083         (bsloww): Likewise.
61084         (bsloww1): Likewise.
61085         (bsloww2): Likewise.
61086         (cslow2): Likewise.
61087         (csloww): Likewise.
61088         (csloww1): Likewise.
61089         (csloww2): Likewise.
61090         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
61091         range_reduce.  Merge in __mpsin1.
61092         (__mpcos): Likewise.
61093         (__mpsin1): Remove.
61094         (__mpcos1): Likewise.
61096 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
61098         * locale/loadlocale.c (_nl_intern_locale_data): Use
61099         LOCFILE_ALIGNED_P.
61100         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
61101         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
61102         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
61103         obstack data is appropriately aligned.
61104         (obstack_int32_grow_fast): Likewise.
61105         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
61106         * locale/programs/locfile.c (add_locale_uint32): Likewise.
61107         (add_locale_uint32_array): Likewise.
61109 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61111         * benchtests/Makefile: Remove ARGLIST and RET variables.
61112         ($(objpfx)bench-%.c): Pass only function name to the script.
61113         * benchtests/README: Update documentation.
61114         * benchtests/acos-inputs: Add new directives.
61115         * benchtests/acosh-inputs: Likewise.
61116         * benchtests/asin-inputs: Likewise.
61117         * benchtests/asinh-inputs: Likewise.
61118         * benchtests/atan-inputs: Likewise.
61119         * benchtests/atanh-inputs: Likewise.
61120         * benchtests/cos-inputs: Likewise.
61121         * benchtests/cosh-inputs: Likewise.
61122         * benchtests/exp-inputs: Likewise.
61123         * benchtests/log-inputs: Likewise.
61124         * benchtests/pow-inputs: Likewise.
61125         * benchtests/rint-inputs: Likewise.
61126         * benchtests/sin-inputs: Likewise.
61127         * benchtests/sinh-inputs: Likewise.
61128         * benchtests/tan-inputs: Likewise.
61129         * benchtests/tanh-inputs: Likewise.
61130         * scripts/bench.pl: Add support for new directives.
61132 2013-10-07  Alan Modra  <amodra@gmail.com>
61134         * README: Fix careless merge.
61136 2013-10-05  Alan Modra  <amodra@gmail.com>
61138         * NEWS: Mention powerpc64le support and bugs fixed.
61139         * README: Both big-endian and little-endian powerpc64 supported.
61141 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61143         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
61144         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
61145         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
61146         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
61148 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
61150         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
61151         match prototype.
61153 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
61155         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
61156         Move -mhard-float appending from
61157         ports/sysdeps/powerpc/powerpc32/Makefile.
61158         [$(with-fp) = yes] (ASFLAGS): Likewise.
61159         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
61160         * sysdeps/powerpc/nofpu: Move directory from
61161         ports/sysdeps/powerpc/nofpu.
61162         * sysdeps/powerpc/soft-fp: Move directory from
61163         ports/sysdeps/powerpc/soft-fp.
61164         * sysdeps/powerpc/powerpc32/405: Move directory from
61165         ports/sysdeps/powerpc/powerpc32/405.
61166         * sysdeps/powerpc/powerpc32/440: Move directory from
61167         ports/sysdeps/powerpc/powerpc32/440.
61168         * sysdeps/powerpc/powerpc32/464: Move directory from
61169         ports/sysdeps/powerpc/powerpc32/464.
61170         * sysdeps/powerpc/powerpc32/476: Move directory from
61171         ports/sysdeps/powerpc/powerpc32/476.
61172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
61173         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
61174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
61175         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
61176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
61177         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
61178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
61179         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
61180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
61181         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
61182         * README: Update for powerpc-*-linux-gnu software floating point
61183         support in libc.
61185         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
61186         case to powerpc/powerpc32*.
61187         * sysdeps/unix/sysv/linux/configure: Regenerated.
61189         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
61190         (_FPU_MASK_OM): Define as 0x04.
61191         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
61192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
61193         0x00c10080.
61194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
61195         0x0000003c.
61196         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
61198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
61199         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61200         getcontext_e500.
61201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
61202         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61203         setcontext_e500.
61204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
61205         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
61206         and setcontext_e500.
61208 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
61210         * locale/iso-3166.def: Update iso-1366.def and related occurrences
61212 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61214         * manual/threads.texi (Default Thread Attributes): Fix typo.
61216 2013-10-04  Will Newton  <will.newton@linaro.org>
61218         * malloc/Makefile: Add tst-memalign.
61219         * malloc/tst-memalign.c: New file.
61221         * malloc/tst-posix_memalign.c: Add comments.
61222         (do_test): Add comments and call free on all potentially
61223         allocated pointers. Add space after cast.
61225         * malloc/tst-pvalloc.c: Add comments.
61226         (do_test): Add comments and call free on all potentially
61227         allocated pointers. Remove duplicate check for NULL pointer.
61228         Add space after cast.
61230         * malloc/tst-valloc.c: Add comments.
61231         (do_test): Add comments and call free on all potentially
61232         allocated pointers. Remove duplicate check for NULL pointer.
61233         Add space after cast.
61235 2013-10-04  Alan Modra  <amodra@gmail.com>
61237         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
61238         Use stdint types in rather than __attribute__((mode())).
61239         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
61241 2013-10-04  Alan Modra  <amodra@gmail.com>
61243         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
61244         Correct handling of unaligned relocs for little-endian.
61245         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
61247 2013-10-04  Alan Modra  <amodra@gmail.com>
61249         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
61250         * configure: Regenerate.
61251         * nptl/shlib-versions: Powerpc*le starts at 2.18.
61252         * shlib-versions: Likewise.
61254 2013-10-04  Alan Modra  <amodra@gmail.com>
61256         * string/tester.c (test_memrchr): Increment reported test cycle.
61258 2013-10-04  Alan Modra  <amodra@gmail.com>
61260         * string/test-memcpy.c (do_one_test): When reporting errors, print
61261         string address and don't overrun end of string.
61263 2013-10-04  Alan Modra  <amodra@gmail.com>
61265         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
61266         insrdi.  Make better use of reg selection to speed exit slightly.
61267         Schedule entry path a little better.  Remove useless "are we done"
61268         checks on entry to main loop.  Handle wrapping around zero address.
61269         Correct main loop count.  Handle single left-over word from main
61270         loop inline rather than by using loop_small.  Remove extra word
61271         case in loop_small caused by wrong loop count.  Add little-endian
61272         support.
61273         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61274         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
61275         cache hint.
61276         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61277         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
61278         support.  Avoid rlwimi.
61279         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
61281 2013-10-04  Alan Modra  <amodra@gmail.com>
61283         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
61284         insrdi.  Formatting.
61285         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
61286         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
61287         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
61288         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
61289         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
61290         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
61292 2013-10-04  Alan Modra  <amodra@gmail.com>
61294         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
61295         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61296         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
61297         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
61298         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61299         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61300         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61301         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61302         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
61303         use of regs.  Use power7 mtocrf.  Tidy function tails.
61305 2013-10-04  Alan Modra  <amodra@gmail.com>
61307         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
61308         Formatting.  Consistently use rXXX register defines or rN defines.
61309         Use early exit labels that avoid restoring unused non-volatile regs.
61310         Make cr field use more consistent with rWORDn compares.  Rename
61311         regs used as shift registers for unaligned loop, using rN defines
61312         for short lifetime/multiple use regs.
61313         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61314         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
61315         addi 1,1,64 to pop stack frame.  Simplify return value code.
61316         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61318 2013-10-04  Alan Modra  <amodra@gmail.com>
61320         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
61321         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
61322         rather than rlwimi.
61323         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
61324         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
61325         little-endian support.  Correct typos.
61326         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
61327         rather than rlwimi.
61328         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
61329         in loop and entry code to keep "and." results.
61330         (strchr): Add little-endian support.  Comment.  Move cntlzd
61331         earlier in tail.
61332         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
61334 2013-10-04  Alan Modra  <amodra@gmail.com>
61336         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
61337         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
61338         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
61339         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
61341 2013-10-04  Alan Modra  <amodra@gmail.com>
61343         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
61344         (rTMP): Define as r11.
61345         (strcmp): Add little-endian support.  Optimise tail.
61346         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
61347         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61348         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61349         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61350         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61351         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61352         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61354 2013-10-04  Alan Modra  <amodra@gmail.com>
61356         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
61357         little-endian support.  Remove unnecessary "are we done" tests.
61358         Handle "s" wrapping around zero and extremely large "size".
61359         Correct main loop count.  Handle single left-over word from main
61360         loop inline rather than by using small_loop.  Correct comments.
61361         Delete "zero" tail, use "end_max" instead.
61362         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
61364 2013-10-04  Alan Modra  <amodra@gmail.com>
61366         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
61367         support.  Don't branch over align.
61368         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
61369         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
61370         support.  Rearrange tmp reg use to suit.  Comment.
61371         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
61373 2013-10-04  Alan Modra  <amodra@gmail.com>
61375         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
61377 2013-10-04  Alan Modra  <amodra@gmail.com>
61379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
61380         conditional form of branch and link when obtaining pc.
61381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
61383 2013-10-04  Alan Modra  <amodra@gmail.com>
61385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
61386         HIWORD/LOWORD.
61387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
61388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
61390 2013-10-04  Alan Modra  <amodra@gmail.com>
61392         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
61393         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
61394         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
61395         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
61396         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
61397         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
61398         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
61399         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
61400         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
61401         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
61403 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61404             Alistair Popple <alistair@ozlabs.au.ibm.com>
61405             Alan Modra <amodra@gmail.com>
61407         [BZ #15723]
61408         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
61409         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
61410         _dl_hwcap access for little-endian.
61411         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
61412         destroy vmx regs when saving unaligned.
61413         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
61414         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
61415         destroy vmx regs when saving unaligned.
61417 2013-10-04  Alan Modra  <amodra@gmail.com>
61419         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
61420         Don't use a union to pack hi/low value.
61422 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61424         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
61425         for little-endian.
61426         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
61427         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
61428         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61429         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
61430         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
61432 2013-10-04  Alan Modra  <amodra@gmail.com>
61434         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
61435         constants to usual value for .cst8 section, and remove redundant
61436         high address load.
61437         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
61438         constant for 0x1p52.  Load little-endian words of double from
61439         correct stack offsets.
61441 2013-10-04  Alan Modra  <amodra@gmail.com>
61443         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
61444         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
61445         words of double from correct stack offsets.
61446         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
61447         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
61448         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
61449         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61450         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
61451         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
61452         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
61453         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
61454         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
61455         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
61456         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
61457         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
61458         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
61459         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
61460         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
61461         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
61462         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
61464 2013-10-04  Alan Modra  <amodra@gmail.com>
61466         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
61467         64-bit int/double union.
61468         (_FPU_SETCW): Likewise.
61469         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
61470         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
61472 2013-10-04  Alan Modra  <amodra@gmail.com>
61474         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
61475         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
61477 2013-10-04  Alan Modra  <amodra@gmail.com>
61479         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
61480         use vector int constants.
61481         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
61483 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61485         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
61486         array with long long.
61487         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
61488         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
61489         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
61490         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
61491         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
61492         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
61493         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
61494         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
61495         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
61496         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
61497         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
61498         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
61499         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
61501 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61503         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
61504         (__signbit): Likewise.  Correct for little-endian.
61505         (__signbitl): Call __signbit.
61506         (lrint): Correct for little-endian.
61507         (lrintf): Call lrint.
61509 2013-10-04  Alan Modra  <amodra@gmail.com>
61511         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
61512         union 32-bit int array member with 64-bit int array.
61513         (t515, tm256): Double rather than long double.
61514         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
61516 2013-10-04  Alan Modra  <amodra@gmail.com>
61518         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
61519         Delete.
61520         (IEEE854_LONG_DOUBLE_BIAS): Delete.
61521         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
61522         version of math_ldbl.h.
61524 2013-10-04  Alan Modra  <amodra@gmail.com>
61526         [BZ #15734], [BZ #15735]
61527         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
61528         all uses of ieee875 long double macros and unions.  Simplify test
61529         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
61530         ldbl_extract_mantissa value for ix,iy exponents.  Properly
61531         normalize after ldbl_extract_mantissa, and don't add hidden bit
61532         already handled.  Don't treat low word of ieee854 mantissa like
61533         low word of IBM long double and mask off bit when testing for
61534         zero.
61535         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
61536         all uses of ieee875 long double macros and unions.  Simplify tests
61537         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
61538         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
61539         two1022, instead use their values.  Recognise that tests for large
61540         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
61541         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
61542         Rewrite all uses of ieee875 long double macros and unions.  Simplify
61543         test for 0.0L and nan.  Correct negation.
61544         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
61545         ieee875 long double macros and unions.  Correct output for large
61546         magnitude x.  Correct absolute value calculation.
61547         (__erfcl): Likewise.
61548         * math/libm-test.inc: Add tests for errors discovered in IBM long
61549         double versions of fmodl, remainderl, erfl and erfcl.
61551 2013-10-04  Alan Modra  <amodra@gmail.com>
61553         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
61554         all uses of ieee854 long double macros and unions.  Simplify tests
61555         for long doubles that are fully specified by the high double.
61556         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
61557         Likewise.
61558         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
61559         Remove dead code too.
61560         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
61561         (__ieee754_ynl): Likewise.
61562         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
61563         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
61564         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
61565         Remove dead code too.
61566         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
61567         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
61568         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
61569         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
61570         Simplify.
61571         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
61572         Simplify.
61573         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
61574         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
61575         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
61576         Comment on variable precision.
61577         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
61578         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61579         Likewise.
61580         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
61581         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61582         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61583         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
61584         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
61586 2013-10-04  Alan Modra  <amodra@gmail.com>
61588         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
61589         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
61590         all uses of ieee854 long double macros and unions.
61591         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
61592         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
61593         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
61594         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
61595         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
61596         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
61597         Likewise.
61598         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
61599         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61600         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
61601         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61602         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
61603         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
61604         Simplify sign and nan test too.
61605         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
61606         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
61607         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
61608         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
61609         Likewise.
61610         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
61611         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
61612         Likewise.
61613         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61614         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
61615         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
61616         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
61617         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
61618         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
61620 2013-10-04  Alan Modra  <amodra@gmail.com>
61622         * stdio-common/printf_size.c (__printf_size): Don't use
61623         union ieee854_long_double in fpnum union.
61624         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
61625         signbit macro to retrieve sign from long double.
61626         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
61627         retrieve sign from long double.
61628         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
61629         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
61630         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
61631         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61632         * math/test-misc.c (main): Don't use union ieee854_long_double.
61634 2013-10-04  Alan Modra  <amodra@gmail.com>
61636         [BZ #15680]
61637         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
61638         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
61639         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
61640         calculation.  Remove unnecessary test for denormal exponent.
61641         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
61642         Correct handling of denormals.  Avoid undefined shift behaviour.
61643         Correct normalisation of low mantissa when low double is denormal.
61644         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
61645         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
61646         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
61647         Correct normalisation of low mantissa.  Test for overflow of high
61648         mantissa and normalise.
61649         (ldbl_nearbyint): Use more readable constant for two52.
61650         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
61651         (__mpn_construct_long_double): Fix test for overflow of high
61652         mantissa and correct normalisation.  Avoid undefined shift.
61654 2013-10-04  Alan Modra  <amodra@gmail.com>
61656         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61657         (union ibm_extended_long_double): Define as an array of ieee754_double.
61658         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
61659         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
61660         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
61661         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61662         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61663         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
61664         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61665         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61666         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61667         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
61668         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61670 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
61672         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
61673         page size instead of calling getpagesize.
61675         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
61676         (LOCFILE_ALIGN_MASK): Likewise.
61677         (LOCFILE_ALIGN_UP): Likewise.
61678         (LOCFILE_ALIGNED_P): Likewise.
61679         * locale/programs/ld-collate.c (collate_output): Use the new
61680         macros instead of __alignof__ (int32_t).
61681         * locale/weight.h (findidx): Likewise.
61683 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
61685         [BZ #431]
61686         * manual/string.texi: Fix strncat and wcsncat.
61688 2013-10-03  Brooks Moses  <bmoses@google.com>
61690         [BZ #15915]
61691         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
61692         * Makerules: ...here, and adjust associated comments.
61694 2013-10-02  Will Newton  <will.newton@linaro.org>
61696         * malloc/Makefile: Add tst-pvalloc.
61697         * malloc/tst-pvalloc.c: New file.
61699 2013-10-02  Will Newton  <will.newton@linaro.org>
61701         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
61702         improve test coverage.
61704 2013-10-02  Will Newton  <will.newton@linaro.org>
61706         * malloc/Makefile: Add tst-posix_memalign.
61707         * malloc/tst-posix_memalign.c: New file.
61709 2013-10-01  Eric Blake  <eblake@redhat.com>
61711         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
61712         Use __THROWNL rather than __THROW on static functions.
61714 2013-09-30  Petr Machata  <pmachata@redhat.com>
61716         * elf/elf.h (R_AARCH64_ABS16): New macro.
61717         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
61718         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
61719         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
61720         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
61721         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
61722         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
61723         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
61724         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
61725         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
61726         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
61727         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
61728         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
61729         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
61730         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
61731         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
61732         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
61733         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
61734         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
61735         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
61736         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
61737         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
61738         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
61739         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
61740         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
61741         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
61742         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
61743         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
61744         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
61745         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
61746         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
61747         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
61748         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
61749         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
61750         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
61751         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
61752         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
61753         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
61754         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
61755         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
61756         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
61757         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
61758         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
61759         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
61760         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
61761         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
61762         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
61763         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
61764         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
61765         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
61766         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
61767         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
61768         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
61769         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
61770         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
61771         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
61772         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
61773         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
61774         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
61775         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
61776         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
61777         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
61778         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
61779         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
61780         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
61781         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
61782         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
61783         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
61784         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
61785         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
61786         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
61787         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
61788         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
61789         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
61790         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
61791         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
61792         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
61793         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
61794         (R_AARCH64_TLSDESC_LDR): Likewise.
61795         (R_AARCH64_TLSDESC_ADD): Likewise.
61796         (R_AARCH64_TLSDESC_CALL): Likewise.
61798 2013-09-30  Andreas Schwab  <schwab@suse.de>
61800         [BZ #15048]
61801         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
61802         the nss database lookup.
61803         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61806 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
61808         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
61810 2013-09-28  P. J. McDermott  <pj@pehjota.net>
61812         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
61813         ${Bash-specific parameter/pattern/string} parameter expansion.
61814         * sysdeps/unix/make-syscalls.sh: Likewise.
61816 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61818         * sysdeps/sh/stackguard-macros.h: New file.
61820 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
61822         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
61823         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
61824         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
61825         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
61826         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61827         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
61829 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61831         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
61832         Fix thread ID register.
61834 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
61836         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
61837         [POSIX || UNIX98]: Require rather than permitting all symbols from
61838         <time.h>.
61839         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
61840         element of struct sched_param.
61841         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
61842         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
61843         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
61844         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
61845         constant.
61847 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
61849         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
61850         argument calculation.
61852 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61854         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
61855         Expect macro.
61856         [POSIX] (pthread_attr_t): Do not require type.
61857         [POSIX] (pthread_cond_t): Likewise.
61858         [POSIX] (pthread_condattr_t): Likewise.
61859         [POSIX] (pthread_key_t): Likewise.
61860         [POSIX] (pthread_mutex_t): Likewise.
61861         [POSIX] (pthread_mutexattr_t): Likewise.
61862         [POSIX] (pthread_once_t): Likewise.
61863         [POSIX] (pthread_t): Likewise.
61864         [POSIX-based standards] (pthread_atfork): Expect function.
61866 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61867             Richard Sandiford  <richard@codesourcery.com>
61869         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
61870         (swap_endianness_p): New extern variable.
61871         (set_big_endian): New inline function.
61872         (maybe_swap_uint32): Likewise.
61873         (maybe_swap_uint32_array): Likewise.
61874         (maybe_swap_uint32_obstack): Likewise.
61875         * locale/programs/locfile.c: Include <stdbool.h>.
61876         (swap_endianness_p): New variable.
61877         (add_locale_uint32): Call maybe_swap_uint32.
61878         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
61879         (write_locale_data): Call maybe_swap_uint32_array.
61880         * locale/programs/ld-collate.c (obstack_int32_grow): Call
61881         maybe_swap_uint32.
61882         (obstack_int32_grow_fast): Likewise.
61883         (output_weightwc): Call maybe_swap_uint32_obstack.
61884         (collate_output): Likewise.
61885         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
61886         (OPT_LITTLE_ENDIAN): Likewise.
61887         (options): Add --little-endian and --big-endian options.
61888         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
61889         * locale/programs/locarchive.c: Include "locfile.h".
61890         (GET): New macro.
61891         (SET): Likewise.
61892         (INC): Likewise.
61893         (create_archive): Use the new macros to access fields of
61894         structures directly mapped from or written to locale archives.
61895         (oldlocrecentcmp): Likewise.
61896         (enlarge_archive): Likewise.
61897         (insert_name): Likewise.
61898         (add_alias): Likewise.
61899         (add_locale): Likewise.
61900         (delete_locales_from_archive): Likewise.
61901         (show_archive_content): Likewise.
61902         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
61903         locale data.
61905 2013-09-24  Roland McGrath  <roland@hack.frob.com>
61907         * manual/freemanuals.texi: Updated from (newly) canonical copy at
61908         http://www.gnu.org/doc/freemanuals.texi.
61909         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
61911 2013-09-24  Will Newton  <will.newton@linaro.org>
61913         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
61914         macro.
61916 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
61918         * locale/hashval.h (compute_hashval): Interpret bytes of key as
61919         unsigned char.
61921 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
61923         * manual/threads.texi (POSIX Threads): Fix a typo.
61925 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61927         [BZ #14547]
61928         * string/tst-strcoll-overflow.c: New test case.
61929         * string/Makefile (xtests): Add tst-strcoll-overflow.
61930         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
61931         cache if string sizes may cause integer overflow.
61933         [BZ #14547]
61934         * string/strcoll_l.c (coll_seq): New members rule, idx,
61935         save_idx and back_us.
61936         (get_next_seq_nocache): New function.
61937         (do_compare_nocache): New function.
61938         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
61939         when malloc fails.
61941 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
61943         [BZ #15754]
61944         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
61945         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
61946         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
61948         [BZ #15754]
61949         * elf/Makefile (tests): Add tst-ptrguard1.
61950         (tests-static): Add tst-ptrguard1-static.
61951         (tst-ptrguard1-ARGS): Define.
61952         (tst-ptrguard1-static-ARGS): Define.
61953         * elf/tst-ptrguard1.c: New file.
61954         * elf/tst-ptrguard1-static.c: New file.
61955         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
61956         * sysdeps/i386/stackguard-macros.h: Likewise.
61957         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61958         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61959         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61960         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61961         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61962         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61964 2013-09-23  Hector Marco  <hecmargi@upv.es>
61965             Ismael Ripoll  <iripoll@disca.upv.es>
61966             Carlos O'Donell  <carlos@redhat.com>
61968         [BZ #15754]
61969         * sysdeps/generic/stackguard-macros.h: Define
61970         __pointer_chk_guard_local and POINTER_CHK_GUARD.
61971         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
61972         Define __pointer_chk_guard_local.
61973         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
61974         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
61976 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
61978         [BZ #15859]
61979         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
61981 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
61983         * include/string.h (__ffs): Declare as hidden.
61984         * string/ffs.c (__ffs): Define as hidden.
61985         * sysdeps/i386/ffs.c (__ffs): Likewise.
61986         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
61987         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
61988         * sysdeps/s390/ffs.c (__ffs): Likewise.
61989         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
61991 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
61993         * NEWS: Mention malloc probes.
61995         * malloc/arena.c (new_heap): New memory_heap_new probe.
61996         (grow_heap): New memory_heap_more probe.
61997         (shrink_heap): New memory_heap_less probe.
61998         (heap_trim): New memory_heap_free probe.
61999         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
62000         (systrim): New memory_sbrk_less probe.
62001         * manual/probes.texi: Document them.
62003         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
62004         * manual/probes.texi: Document it.
62006         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
62007         (__libc_realloc): Add memory_realloc_retry probe.
62008         (__libc_memalign): Add memory_memalign_retry probe.
62009         (__libc_valloc): Add memory_valloc_retry probe.
62010         (__libc_pvalloc): Add memory_pvalloc_retry probe.
62011         (__libc_calloc): Add memory_calloc_retry probe.
62012         * manual/probes.texi: Document them.
62014         * malloc/arena.c (get_free_list): Add probe
62015         memory_arena_reuse_free_list.
62016         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
62017         and memory_arena_reuse.
62018         (arena_get2) [!PER_THREAD]: Likewise.
62019         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
62020         memory_arena_reuse_realloc.
62021         * manual/probes.texi: Document them.
62023         * malloc/malloc.c (__libc_free): Add
62024         memory_mallopt_free_dyn_thresholds probe.
62025         (__libc_mallopt): Add multiple memory_mallopt probes.
62026         * manual/probes.texi: Document them.
62028         * malloc/malloc.c: Include stap-probe.h.
62029         (__libc_mallopt): Add memory_mallopt probe.
62030         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
62031         * manual/probes.texi: New.
62032         * manual/Makefile (chapters): Add probes.
62033         * manual/threads.texi: Set next node.
62035 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
62037         [BZ #15963, #13985]
62038         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
62039         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
62040         Add `Chinese' to `nan' entry name.
62042 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62044         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
62045         (POLYNOMIAL): Likewise.
62046         (TAYLOR_SINCOS): Likewise.
62047         (TAYLOR_SLOW): Likewise.
62048         (__sin): Use TAYLOR_SINCOS.
62049         (__cos): Likewise.
62050         (slow): Use TAYLOR_SLOW.
62051         (sloww): Likewise.
62052         (bsloww): Likewise.
62053         (csloww): Likewise.
62055 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62057         * stdlib/strtod_l.c: Fix buffer overrun.
62059 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62061         * benchtests/Makefile (bench): Add sincos.
62062         * benchtests/bench-sincos.c: New file.
62064         * math/libm-test.inc (cos_test_data): New test inputs.
62065         (sin_test_data): Likewise.
62067         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
62068         macro.
62069         (__sin): Use it.
62070         (__cos): Likewise.
62071         (slow1): Likewise.
62072         (slow2): Likewise.
62073         (sloww1): Likewise.
62074         (sloww2): Likewise.
62075         (bsloww1): Likewise.
62076         (bsloww2): Likewise.
62077         (cslow2): Likewise.
62078         (csloww1): Likewise.
62079         (csloww2): Likewise.
62081         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
62082         function.
62083         (__sin): Use it.
62084         (__cos): Likewise.
62086         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
62087         gotos.
62088         (__cos): Likewise.
62090 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
62092         * config.h.in (HAVE_MIPS_NAN2008): New macro.
62093         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
62094         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
62095         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
62096         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
62097         * elf/cache.c (print_entry): Handle the new cache flags.
62099 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
62100             Aldy Hernandez  <aldyh@redhat.com>
62102         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
62103         Change condition to [_SOFT_FLOAT].
62104         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
62105         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
62106         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
62107         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
62108         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
62109         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
62110         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
62111         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
62112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
62113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
62114         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
62115         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
62116         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
62117         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
62118         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
62119         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
62120         declaration.
62122 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
62124         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
62125         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62126         (__longjmp): Use LOAD_GP to load saved GPRs.
62127         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
62128         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62129         (__sigsetjmp): Use SAVE_GP to save GPRs.
62131         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
62132         Do not append -msoft-float.
62133         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
62135 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62137         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
62139 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
62141         [BZ #15966]
62142         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
62143         (_FPU_GETCW): Use initial "__" on variable and field names but not
62144         on macro parameter name.
62145         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
62146         parentheses around reference to macro parameter.
62148 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
62150         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
62151         prototype.
62152         (ctype_startup): Use uint32_t in cast and sizeof for
62153         ctype->charnames.
62155 2013-09-11  Jia Liu  <proljc@gmail.com>
62157         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
62158         __daddr_t_defined.
62159         [__FreeBSD__]: Likewise.
62161 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
62163         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
62164         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
62165         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
62166         (strchr): Remove __strchr_sse42 ifunc selection.
62167         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
62168         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
62170 2013-09-11  Will Newton  <will.newton@linaro.org>
62172         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
62173         parameter to RES. Remove hardcoded 1000 value.
62174         * benchtests/bench-skeleton.c (main): Pass RES parameter
62175         to TIMING_INIT and multiply result by 1000.
62177 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62181 2013-09-11  Andreas Schwab  <schwab@suse.de>
62183         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
62184         if not defined.
62185         (O_TMPFILE) [__USE_GNU]: Define.
62186         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
62187         Define.
62189 2013-09-11  Will Newton  <will.newton@linaro.org>
62191         [BZ #15857]
62192         * malloc/malloc.c (__libc_memalign): Check the value of bytes
62193         does not overflow.
62195 2013-09-11  Will Newton  <will.newton@linaro.org>
62197         [BZ #15856]
62198         * malloc/malloc.c (__libc_valloc): Check the value of bytes
62199         does not overflow.
62201 2013-09-11  Will Newton  <will.newton@linaro.org>
62203         [BZ #15855]
62204         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
62205         does not overflow.
62207 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
62209         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
62210         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62211         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62212         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62213         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62215 2013-09-10  Allan McRae  <allan@archlinux.org>
62217         [BZ #15748]
62218         * manual/arith.texi (Parsing of Floats): Clarify
62219         cross-reference.
62221         [BZ #15849]
62222         * manual/install.texi (Running make install): Mention
62223         --enable-pt-chown.
62224         * INSTALL: Regenerated.
62226 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
62228         * csu/init-first.c (_init): Remove the !SHARED condition around
62229         FPU control word initialization.
62230         * elf/dl-support.c (_dl_fpu_control): New variable.
62231         (_dl_aux_init) <AT_FPUCW>: Initialize it.
62232         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
62233         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
62234         * math/test-fpucw-static.c: New file.
62235         * math/test-fpucw-ieee.c: New file.
62236         * math/test-fpucw-ieee-static.c: New file.
62237         * math/Makefile (tests): Add `test-fpucw-ieee' and
62238         `$(tests-static)'.
62239         (tests-static): New variable.
62240         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
62241         dependency to...
62242         [($(build-shared),yes)]
62243         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
62244         ... this.
62245         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
62246         New dependency.
62248 2013-09-09  Allan McRae  <allan@archlinux.org>
62250         [BZ #15939]
62251         * manual/string.texi (Collation Functions): Fix typo in
62252         strcoll example.
62253         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
62255         [BZ #15893]
62256         * stdlib/isomac.c (get_null_defines): Fix memory leak.
62258         [BZ #15892]
62259         * libio/memstream.c (open_memstream): Fix memory leak.
62260         * libio/wmemstream.c (open_wmemstream): Likewise.
62262         [BZ #15895]
62263         * nscd/netgroupcache.c: Fix nesting of ifdefs.
62265 2013-09-09  Will Newton  <will.newton@linaro.org>
62267         * malloc/Makefile: Add tst-realloc to tests.
62268         * malloc/tst-realloc.c: New file.
62270 2013-09-09  Allan McRae  <allan@archlinux.org>
62272         [BZ #15844]
62273         * COPYING: Update from GNU website to fix FSF address.
62274         * COPYING.LIB: Likewise.
62276 2013-09-06  David S. Miller  <davem@davemloft.net>
62278         * po/zh_TW.po: Update Chinese (traditional) translation from
62279         translation project.
62281 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
62282             Joseph Myers  <joseph@codesourcery.com>
62284         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
62285         "localeinfo.h".
62286         (obstack_chunk_alloc): New macro.
62287         (obstack_chunk_free): Likewise.
62288         (record_offset): New function.
62289         (init_locale_data): Likewise.
62290         (align_locale_data): Likewise.
62291         (add_locale_empty): Likewise.
62292         (add_locale_raw_data): Likewise.
62293         (add_locale_raw_obstack): Likewise.
62294         (add_locale_string): Likewise.
62295         (add_locale_wstring): Likewise.
62296         (add_locale_uint32): Likewise.
62297         (add_locale_uint32_array): Likewise.
62298         (add_locale_char): Likewise.
62299         (start_locale_structure): Likewise.
62300         (end_locale_structure): Likewise.
62301         (start_locale_prelude): Likewise.
62302         (end_locale_prelude): Likewise.
62303         (write_locale_data): Take locale_file structure rather than an
62304         iovec.
62305         * locale/programs/locfile.h: Include "obstack.h".
62306         (struct locale_file): Change to store locale file contents instead
62307         of header.
62308         (init_locale_data): New prototype.
62309         (align_locale_data): Likewise.
62310         (add_locale_empty): Likewise.
62311         (add_locale_raw_data): Likewise.
62312         (add_locale_raw_obstack): Likewise.
62313         (add_locale_string): Likewise.
62314         (add_locale_wstring): Likewise.
62315         (add_locale_uint32): Likewise.
62316         (add_locale_uint32_array): Likewise.
62317         (add_locale_char): Likewise.
62318         (start_locale_structure): Likewise.
62319         (end_locale_structure): Likewise.
62320         (start_locale_prelude): Likewise.
62321         (end_locale_prelude): Likewise.
62322         (write_locale_data): Update prototype.
62323         * locale/programs/3level.h (struct TABLE): Remove result field.
62324         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
62325         Use new locale_file interface.
62326         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
62327         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
62328         * locale/programs/ld-address.c (address_output): Use new
62329         locale_file interface.
62330         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
62331         NO_ADD_LOCALE.
62332         (collate_finish): Don't call collseq_table_finalize.
62333         (collate_output): Use new locale_file interface.
62334         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
62335         in file.
62336         (NO_FINALIZE): Change to NO_ADD_LOCALE.
62337         (TABLE): Move defines earlier in file.
62338         (ELEMENT): Likewise.
62339         (DEFAULT): Likewise.
62340         (wctrans_table_add): Move macro and inline function earlier in
62341         file.
62342         (struct wctype_table): Move type earlier in file.
62343         (add_locale_wctype_table): New static prototype.
62344         (struct locale_ctype_t): Use logical types instead of struct iovec
62345         pointers for members.
62346         (ctype_output): Use new locale_file interface.
62347         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
62348         new locale_file interface.
62349         (allocate_arrays): Update for use of new locale_file interface.
62350         * locale/programs/ld-identification.c (identification_output): Use
62351         new locale_file interface.
62352         * locale/programs/ld-measurement.c (measurement_output): Likewise.
62353         * locale/programs/ld-messages.c (messages_output): Likewise.
62354         * locale/programs/ld-monetary.c (monetary_output): Likewise.
62355         * locale/programs/ld-name.c (name_output): Likewise.
62356         * locale/programs/ld-numeric.c (numeric_output): Likewise.
62357         * locale/programs/ld-paper.c (paper_output): Likewise.
62358         * locale/programs/ld-telephone.c (telephone_output): Likewise.
62359         * locale/programs/ld-time.c (time_output): Likewise.
62361 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62363         * benchtests/Makefile: Add memrchr benchmark.
62364         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
62365         benchmark as memrchr.
62366         * benchtests/bench-memrchr-ifunc.c: New file.
62367         * benchtests/bench-memrchr.c: New file.
62369 2013-09-06   Will Newton  <will.newton@linaro.org>
62371         * benchtests/Makefile (string-bench): Add memcpy.
62373 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
62374             Cong Wang  <amwang@redhat.com>
62376         [BZ #15850]
62377         * sysdeps/unix/sysv/linux/bits/in.h
62378         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
62379         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
62380         before __USE_KERNEL_IPV6_DEFS uses.
62381         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
62382         IPPROTO_BEETPH.
62383         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
62384         sockaddr_in6, or ipv6_mreq.
62386 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62388         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
62389         memory access for final bytes in some large inputs.
62390         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
62392 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62394         * string/test-memrchr.c: New file.
62395         * string/test-memrchr-ifunc.c: New file.
62396         * string/Makefile: Add new memrchr testcase.
62398 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
62400         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
62401         fanotify_init returns EPERM.
62403 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
62405         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
62406         errors.
62407         (top level): Treat second token from macro or constant entries for
62408         allowed headers as allowed.
62409         * include/complex.h: Condition internal declarations on
62410         [!_ISOMAC].
62411         * include/fenv.h: Condition include of <stdbool.h> and internal
62412         declarations on [!_ISOMAC].
62414 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
62416         [BZ #15923]
62417         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
62419 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
62421         * configure.in (--enable-versioning): Remove configure option.
62422         (libc_cv_asm_symver_directive): Remove configure test.
62423         (libc_cv_ld_version_script_option): Likewise.
62424         (VERSIONING): Remove variable and AC_SUBST.
62425         (DO_VERSIONING): Remove AC_DEFINE.
62426         * configure: Regenerated.
62427         * config.h.in (DO_VERSIONING): Remove macro.
62428         * Makerules [$(versioning) = yes]: Change conditionals to
62429         [$(build-shared) = yes].
62430         * config.make.in (versioning): Remove variable.
62431         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
62432         [$(build-shared) = yes].
62433         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
62434         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
62435         * elf/Makefile [$(versioning) = yes]: Change conditionals to
62436         [$(build-shared) = yes].
62437         * extra-lib.mk [$(versioning) = yes]: Likewise.
62438         * hurd/Makefile [$(versioning) = yes]: Likewise.
62439         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
62440         [SHARED].
62441         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
62442         [SHARED].
62443         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62444         [SHARED && !NO_HIDDEN].
62445         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
62446         [SHARED].
62447         [SHARED && DO_VERSIONING]: Likewise..
62448         * libio/Makefile [$(versioning) = yes]: Change conditionals to
62449         [$(build-shared) = yes].
62450         * manual/install.texi (--disable-versioning): Remove
62451         documentation.
62452         * INSTALL: Regenerated.
62453         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
62454         to [SHARED].
62455         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
62456         [$(build-shared) = yes].
62457         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
62458         * sysdeps/i386/i686/multiarch/strstr-c.c
62459         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62460         [SHARED && !NO_HIDDEN].
62461         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
62462         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
62463         * sysdeps/powerpc/powerpc32/dl-machine.c
62464         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
62465         * sysdeps/powerpc/powerpc32/sysdep.h
62466         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
62467         to [SHARED && PIC && !NO_HIDDEN].
62468         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
62469         conditional to [SHARED].
62471 2013-09-04   Will Newton  <will.newton@linaro.org>
62473         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
62474         * benchtests/bench-string.h: Include bench-timing.h instead
62475         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
62476         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
62477         call to HP_TIMING_DIFF_INIT.
62478         * benchtests/bench-memccpy.c: Use bench-timing.h macros
62479         instead of hp-timing.h macros.
62480         * benchtests/bench-memchr.c: Likewise.
62481         * benchtests/bench-memcmp.c: Likewise.
62482         * benchtests/bench-memcpy.c: Likewise.
62483         * benchtests/bench-memmem.c: Likewise.
62484         * benchtests/bench-memmove.c: Likewise.
62485         * benchtests/bench-memset.c: Likewise.
62486         * benchtests/bench-rawmemchr.c: Likewise.
62487         * benchtests/bench-strcasecmp.c: Likewise.
62488         * benchtests/bench-strcasestr.c: Likewise.
62489         * benchtests/bench-strcat.c: Likewise.
62490         * benchtests/bench-strchr.c: Likewise.
62491         * benchtests/bench-strcmp.c: Likewise.
62492         * benchtests/bench-strcpy.c: Likewise.
62493         * benchtests/bench-strcpy_chk.c: Likewise.
62494         * benchtests/bench-strlen.c: Likewise.
62495         * benchtests/bench-strncasecmp.c: Likewise.
62496         * benchtests/bench-strncat.c: Likewise.
62497         * benchtests/bench-strncmp.c: Likewise.
62498         * benchtests/bench-strncpy.c: Likewise.
62499         * benchtests/bench-strnlen.c: Likewise.
62500         * benchtests/bench-strpbrk.c: Likewise.
62501         * benchtests/bench-strrchr.c: Likewise.
62502         * benchtests/bench-strspn.c: Likewise.
62503         * benchtests/bench-strstr.c: Likewise.
62505 2013-09-04  Will Newton  <will.newton@linaro.org>
62507         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
62509 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
62511         [BZ #15427]
62512         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
62513         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
62514         * math/libm-test.inc (lgamma_test_data): Add more tests.
62515         * sysdeps/i386/fpu/libm-test-ulps: Update.
62516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62518 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
62520         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
62521         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62522         Add ifunc.
62523         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62524         Add strcmp-sse2-unaligned
62525         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
62527 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
62529         * Versions.def (libc): Add GLIBC_2.19.
62531 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
62533         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
62534         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
62536 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
62538         [BZ #14155]
62539         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
62540         intermediate calculations in recurrence.
62541         (__ieee754_ynf): Likewise.
62542         * math/libm-test.inc (jn_test_data): Do not allow spurious
62543         underflow exception.  Add more tests.
62544         (yn_test_data): Add more tests.
62545         * sysdeps/i386/fpu/libm-test-ulps: Update.
62546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62548 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
62550         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
62552 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
62554         * csu/init-first.c: Fix then/than typos.
62555         * locale/programs/ld-collate.c: Likewise.
62556         * locale/programs/linereader.h: Likewise.
62557         * manual/charset.texi: Likewise.
62558         * manual/filesys.texi: Likewise.
62559         * manual/stdio.texi: Likewise.
62560         * manual/string.texi: Likewise.
62561         * stdlib/fmtmsg.c: Likewise.
62562         * sysdeps/i386/stpncpy.S: Likewise.
62563         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62564         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62565         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62566         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62568 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
62570         * elf/dl-open.c: Fix typos.
62571         * iconvdata/gbbig5.c: Likewise.
62572         * iconvdata/iso-2022-jp.c: Likewise.
62573         * iconv/gconv_int.h: Likewise.
62574         * iconv/loop.c: Likewise.
62575         * nis/rpcsvc/nis.h: Likewise.
62576         * resolv/ns_name.c: Likewise.
62577         * stdio-common/vfscanf.c: Likewise.
62578         * streams/stropts.h: Likewise.
62579         * sunrpc/rpc_thread.c: Likewise.
62580         * sysdeps/i386/strpbrk.S: Likewise.
62581         * sysdeps/ieee754/k_standard.c: Likewise.
62582         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62583         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62584         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
62585         * sysdeps/mach/hurd/profil.c: Likewise.
62586         * sysdeps/s390/dl-procinfo.h: Likewise.
62587         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
62588         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
62589         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
62590         * sysdeps/x86_64/dl-trampoline.S: Likewise.
62591         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
62593 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
62595         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
62596         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
62598 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
62600         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
62601         aix specific files.
62602         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
62603         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
62604         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
62605         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
62606         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
62607         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
62608         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
62609         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
62611 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
62612             Roland McGrath  <roland@hack.frob.com>
62614         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
62615         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
62617 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62619         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
62620         __executable_start symbol instead of _start.
62622 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
62624         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
62625         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
62626         Move macros to...
62627         * sysdeps/gnu/ldsodefs.h: ... this new file.
62629         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
62630         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
62631         instead of ELFOSABI_LINUX.
62633         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
62634         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
62635         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
62636         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
62637         Likewise.
62638         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
62639         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
62640         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
62641         Likewise.
62642         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62643         (ibm_extended_long_double): Add ieee_nan member.
62644         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
62645         (do_test): New function.
62647         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
62648         TEST_TRUNC.
62649         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
62650         functions, renamed from truncdfsf_test, trunctfsf_test,
62651         trunctfdf_test.
62652         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
62653         functions.
62654         (do_test): Run all these.
62656 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
62658         * argp/argp-help.c: Fix typos.
62659         * argp/argp-parse.c: Likewise.
62660         * debug/backtracesyms.c: Likewise.
62661         * elf/elf.h: Likewise.
62662         * malloc/malloc.c: Likewise.
62663         * nis/nis_print.c: Likewise.
62664         * resolv/res_comp.c: Likewise.
62665         * stdlib/stdlib.h: Likewise.
62666         * sunrpc/clnt_tcp.c: Likewise.
62667         * sunrpc/clnt_udp.c: Likewise.
62668         * sunrpc/clnt_unix.c: Likewise.
62669         * sysdeps/unix/bsd/ptsname.c: Likewise.
62670         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
62671         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
62672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
62673         Likewise.
62674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
62675         Likewise.
62676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
62677         Likewise.
62678         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62680 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62682         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
62683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62685 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
62687         [BZ #15897]
62688         * dlfcn/Makefile (tests): Add bug-dl-leaf.
62689         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
62690         ($(objpfx)bug-dl-leaf): New rule.
62691         ($(objpfx)bug-dl-leaf.so): Likewise.
62692         ($(objpfx)bug-dl-leaf.out): Likewise.
62693         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
62694         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
62695         * dlfcn/bug-dl-leaf.c: New test.
62696         * dlfcn/bug-dl-leaf-lib.c: Likewise.
62697         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
62698         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
62699         (dlclose): Likewise.
62700         (dlmopen): Likewise.
62702 2013-08-27  Roland McGrath  <roland@hack.frob.com>
62704         * include/netdb.h [!_ISOMAC]:
62705         Don't include <tls.h>.
62706         (h_errno, __libc_h_errno): Move declaration and macros out of
62707         [_LIBC_REENTRANT].
62709         * include/resolv.h [_RESOLV_H_]:
62710         Don't include <tls.h>.
62711         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
62712         * resolv/res_libc.c: Don't include <tls.h>.
62713         (_res): Use __attribute__ ((nocommon)) in place of
62714         __attribute__ ((section (".bss"))).
62716         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
62717         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
62719         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
62721         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
62722         only under [SIOCGIFCONF && SIOCGIFNETMASK].
62724         * resolv/res_mkquery.c: Include <sys/time.h>.
62726         * inet/ifreq.c: Moved to ...
62727         * sysdeps/unix/ifreq.c: ... here.
62728         * inet/ifreq.c: New file, true stub version.
62730         * socket/sa_len.c: New file.
62731         * socket/Makefile (aux): Add it.
62732         * sysdeps/unix/sysv/linux/Makefile
62733         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
62734         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
62735         and #include <socket/sa_len.c>.
62736         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
62737         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
62739         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
62740         * bits/socket.h: ... here.
62742         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
62743         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
62744         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
62746 2013-08-27  Andreas Schwab  <schwab@suse.de>
62748         [BZ #15736]
62749         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
62750         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
62751         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
62752         * string/test-strcasecmp.c (test_main): Run tests in several
62753         locales.
62754         * string/test-strncasecmp.c (test_main): Likewise.
62756         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
62757         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
62758         to __strcasecmp_nonascii and __strncasecmp_nonascii.
62759         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
62760         (__strncasecmp_ssse3) [PIC]: Likewise.
62762 2013-08-26  Roland McGrath  <roland@hack.frob.com>
62764         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
62766         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
62767         instead of explicitly declaring xdecrypt.
62768         * nis/nss_nis/nis-publickey.c: Likewise.
62770 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62772         [BZ #15890]
62773         * nscd/aicache.c: Include res_hconf.h.
62774         (addhstaiX): Initialize res_hconf.
62776 2013-08-26  Andreas Schwab  <schwab@suse.de>
62778         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
62779         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
62781 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62783         * nscd/aicache.c (addhstaiX): Fix indentation.
62785 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
62787         * configure.ac: Quote $build_pt_chown test.
62788         * configure: Regenerated.
62790 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
62792         [BZ #15532]
62793         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
62794         * math/s_cexpf.c (__cexpf): Likewise.
62795         * math/s_cexpl.c (__cexpl): Likewise.
62796         * math/libm-test.inc (cexp_test_data): Correct expected return
62797         value for NaN + i0.  Add another test.
62799 2013-08-22  David S. Miller  <davem@davemloft.net>
62801         * po/ca.po: Update Catalan translation from translation project.
62802         * po/uk.po: Add Ukrainian translations from translation project.
62804 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
62806         [BZ #15797]
62807         * math/s_fdim.c (__fdim): Check for infinite arguments if result
62808         is infinite, not alongside NaN test.
62809         * math/s_fdimf.c (__fdimf): Likewise.
62810         * math/s_fdiml.c (__fdiml): Likewise.
62811         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
62812         errno is unchanged.
62814 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
62816         * argp/argp-help.c: Fix typos.
62817         * crypt/speeds.c: Likewise.
62818         * csu/check_fds.c: Likewise.
62819         * elf/dl-load.c: Likewise.
62820         * elf/dl-open.c: Likewise.
62821         * elf/reldep3.c: Likewise.
62822         * elf/reldep.c: Likewise.
62823         * elf/sprof.c: Likewise.
62824         * iconv/iconv_charmap.c: Likewise.
62825         * iconv/skeleton.c: Likewise.
62826         * iconv/strtab.c: Likewise.
62827         * io/lockf64.c: Likewise.
62828         * libio/libioP.h: Likewise.
62829         * resolv/gai_notify.c: Likewise.
62830         * resolv/ns_name.c: Likewise.
62831         * resolv/ns_samedomain.c: Likewise.
62832         * resolv/res_send.c: Likewise.
62833         * stdlib/random.c: Likewise.
62834         * sunrpc/rpc/xdr.h: Likewise.
62835         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
62836         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62837         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62838         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62839         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62840         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62841         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62842         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62843         * sysdeps/mach/hurd/check_fds.c: Likewise.
62844         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62845         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62846         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62847         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62848         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62849         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62850         * sysdeps/pthread/aio_notify.c: Likewise.
62851         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
62852         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
62853         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
62854         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62855         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
62857 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62859         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
62860         version if bit_Slow_SSE4_2 is set.
62861         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62862         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62864 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62866         [BZ #15867]
62867         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
62868         trampoline stack frame information.
62869         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
62870         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
62871         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
62872         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
62873         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
62874         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62875         (_libc_vdso_platform_setup): Initialize the signal trampolines.
62876         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
62877         sa_flags value.
62878         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
62879         interrupting a syscall and set with option SA_SIGINFO.
62881 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62883         [BZ #15531]
62884         * math/s_cproj.c (__cproj): Only return an infinity if one part of
62885         argument is infinite.
62886         * math/s_cprojf.c (__cprojf): Likewise.
62887         * math/s_cprojl.c (__cprojl): Likewise.
62888         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
62889         * math/libm-test.inc (cproj_test_data): Add more tests.
62891         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
62893         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
62894         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
62895         size.  Use __ffs to determine corresponding shift.
62897 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62898             Roland McGrath  <roland@hack.frob.com>
62900         * Makefile (INSTALL): Remove trailing blank lines from output of
62901         makeinfo.
62903 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62905         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
62906         Align 32 bit compat elf_greg to 8 bytes.
62908 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
62910         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
62912 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62914         * string/strcoll_l.c (coll_seq): New structure.
62915         (get_next_seq_cached): New function.
62916         (get_next_seq): New function.
62917         (do_compare): New function.
62918         (STRCOLL): Use GNU style definition.  Simplify implementation
62919         by using get_next_seq, get_next_seq_cached and do_compare.
62921 2013-08-16  Florian Weimer  <fweimer@redhat.com>
62923         [BZ #14699]
62924         CVE-2013-4237
62925         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
62926         member.
62927         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
62928         member.
62929         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
62930         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
62931         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
62932         conditional.
62933         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
62934         GETDENTS_64BIT_ALIGNED.
62935         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62936         * manual/filesys.texi (Reading/Closing Directory): Document
62937         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
62938         strongly.
62939         * manual/conf.texi (Limits for Files): Add portability note to
62940         NAME_MAX, PATH_MAX.
62941         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
62943 2013-08-13  Andreas Schwab  <schwab@suse.de>
62945         [BZ #15749]
62946         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
62947         of fabs.
62948         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
62949         LDBL_MAX_EXP >= 16384]: Add tests for it.
62951 2013-08-12  David S. Miller  <davem@davemloft.net>
62953         * version.h (RELEASE): Set to "development".
62954         (VERSION): Set to "2.18.90".
62955         * NEWS: Add 2.19 section.
62957 2013-08-03  David S. Miller  <davem@davemloft.net>
62959         * po/ko.po: Update Korean translation from translation project.
62961 2013-08-01  David S. Miller  <davem@davemloft.net>
62963         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
62964         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
62965         Bilka.
62967 2013-07-30  David S. Miller  <davem@davemloft.net>
62969         * po/fr.po: Update French translation from translation project.
62971 2013-07-28  David S. Miller  <davem@davemloft.net>
62973         * po/cs.po: Update Czech translation from translation project.
62975         * po/sv.po: Update Swedish translation from translation project.
62977 2013-07-27  David S. Miller  <davem@davemloft.net>
62979         * po/eo.po: Update Esperanto translation from translation project.
62981         * po/vi.po: Update Vietnamese translation from translation project.
62983         * po/de.po: Update German translation from translation project.
62985 2013-07-26  David S. Miller  <davem@davemloft.net>
62987         * po/bg.po: Update Bulgarian translation from translation project.
62989         * po/nl.po: Update Dutch translation from translation project.
62990         * po/pl.po: Update Polish translation from translation project.
62991         * po/ru.po: Update Russian translation from translation project.
62993 2013-07-24  David S. Miller  <davem@davemloft.net>
62995         * po/libc.pot: Update.
62997 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62999         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
63000         variable page size.
63001         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
63002         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
63003         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
63005 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63007         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
63009 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63010             Andreas Schwab  <schwab@suse.de>
63011             Roland McGrath  <roland@hack.frob.com>
63012             Joseph Myers  <joseph@codesourcery.com>
63013             Carlos O'Donell  <carlos@redhat.com>
63015         [BZ #15755]
63016         * config.h.in: Define HAVE_PT_CHOWN.
63017         * config.make.in (build-pt-chown): New variable.
63018         * configure.in (--enable-pt_chown): New configure option.
63019         * configure: Regenerate.
63020         * login/Makefile: Include Makeconfig.  Build pt_chown only if
63021         build-pt-chown is enabled.
63022         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
63023         pt_chown to fix pty ownership.
63024         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
63025         CLOSE_ALL_FDS.
63026         * manual/install.texi (Configuring and compiling): Mention
63027         --enable-pt_chown. Add @findex for grantpt.
63028         * INSTALL: Regenerate.
63030 2013-07-20  David S. Miller  <davem@davemloft.net>
63032         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
63033         difference between 32-bit and 64-bit.
63035 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
63037         [BZ #15711]
63038         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
63039         Avoid system header dependency with -ffreestanding.
63040         ($(objpfx)bits/syscall%d): Likewise.
63042 2013-07-13  David S. Miller  <davem@davemloft.net>
63044         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
63045         underflows from atanl/atan2l due to bug 15319.
63046         (casinh_test_data): Likewise.
63048 2013-07-07  David S. Miller  <davem@davemloft.net>
63050         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
63052 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
63054         * sysdeps/i386/fpu/libm-test-ulps: Update.
63055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63057 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63059         * configure.in (--enable-lock-elision): Fix message text.
63060         * INSTALL: Regenerate.
63061         * configure: Regenerate.
63063 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63067 2013-07-03  Andreas Jaeger  <aj@suse.de>
63069         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
63070         define.
63071         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
63072         (ptrace_peeksiginfo_args): Add.
63073         (__ptrace_peeksiginfo_flags): Add.
63074         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63075         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63076         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63078 2013-07-03  Allan McRae  <allan@archlinux.org>
63080         * sysdeps/i386/fpu/libm-test-ulps: Update.
63082 2013-07-02  David S. Miller  <davem@davemloft.net>
63084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63086 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
63088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63090 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
63092         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
63093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63095 2013-07-02  Andi Kleen <ak@linux.intel.com>
63097         * config.h.in (ENABLE_LOCK_ELISION): Add.
63098         * configure.in (--enable-lock-elision): Add option.
63099         * manual/install.texi: Document --enable lock elision.
63100         * configure: Regenerate
63101         * INSTALL: Regenerate.
63103 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
63105         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
63106         SSE4.2 strcasecmp for libc.a.
63107         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
63109 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
63111         [BZ #13304]
63112         * soft-fp/op-common.h (_FP_FMA): New macro.
63113         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
63114         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
63115         (_FP_MUL_MEAT_1_imm): ... here.
63116         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
63117         (_FP_MUL_MEAT_1_wide): ... here.
63118         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
63119         (_FP_MUL_MEAT_1_hard): ... here.
63120         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
63121         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
63122         (_FP_MUL_MEAT_2_wide): ... here.
63123         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
63124         (_FP_MUL_MEAT_2_wide_3mul): ... here.
63125         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
63126         (_FP_MUL_MEAT_2_gmp): ... here.
63127         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
63128         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
63129         (_FP_MUL_MEAT_4_wide): ... here.
63130         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
63131         (_FP_MUL_MEAT_4_gmp): ... here.
63132         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
63133         (_FP_WFRACBITS_DW_S): Likewise.
63134         (_FP_WFRACXBITS_DW_S): Likewise.
63135         (_FP_HIGHBIT_DW_S): Likewise.
63136         (FP_FMA_S): Likewise.
63137         (_FP_FRAC_HIGH_DW_S): Likewise.
63138         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
63139         (_FP_WFRACBITS_DW_D): Likewise.
63140         (_FP_WFRACXBITS_DW_D): Likewise.
63141         (_FP_HIGHBIT_DW_D): Likewise.
63142         (FP_FMA_D): Likewise.
63143         (_FP_FRAC_HIGH_DW_D): Likewise.
63144         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
63145         (_FP_WFRACBITS_DW_E): Likewise.
63146         (_FP_WFRACXBITS_DW_E): Likewise.
63147         (_FP_HIGHBIT_DW_E): Likewise.
63148         (FP_FMA_E): Likewise.
63149         (_FP_FRAC_HIGH_DW_E): Likewise.
63150         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
63151         (_FP_WFRACBITS_DW_Q): Likewise.
63152         (_FP_WFRACXBITS_DW_Q): Likewise.
63153         (_FP_HIGHBIT_DW_Q): Likewise.
63154         (FP_FMA_Q): Likewise.
63155         (_FP_FRAC_HIGH_DW_Q): Likewise.
63156         * soft-fp/fmasf4.c: New file.
63157         * soft-fp/fmadf4.c: Likewise.
63158         * soft-fp/fmatf4.c: Likewise.
63160 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63162         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63163         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
63164         Silvermont.
63165         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
63166         macro.
63167         (index_Slow_SSE4_2): Likewise.
63168         (index_Prefer_PMINUB_for_stringop): Likewise.
63169         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
63170         bit_Slow_SSE4_2 is set.
63171         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63172         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63174 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63176         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
63177         rtld_global._dl_hwcap2.
63178         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
63179         POWER8.
63180         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
63181         POWER8 feature descriptions defined in _dl_hwcap2.
63182         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
63183         string handling for POWER8 feature bits.
63184         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
63185         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
63186         _dl_powerpc_cap_flags.
63187         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
63188         * sysdeps/powerpc/rtld-global-offsets.sym
63189         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
63190         _dl_hwcap2 in the rtld_global_ro structure.
63192 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63194         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
63195         hardware capabilities in support of AT_HWCAP2.
63196         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
63197         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
63198         GLRO(dl_hwcap2).
63199         (_dl_show_auxv): Add support for calling _dl_procinfo to display
63200         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
63201         explicitly the unknown a_type display mechanism is used.
63202         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
63203         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
63204         struct member.
63205         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
63206         to macro prototype for AT_HWCAP2 support.
63207         * sysdeps/i386/dl-procinfo.h: Likewise.
63208         * sysdeps/s390/dl-procinfo.h: Likewise.
63209         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
63210         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
63211         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
63212         return -1 for unknown a_type display fallback.
63213         * sysdeps/sparc/dl-procinfo.h: Likewise.
63214         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
63215         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
63217 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
63219         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
63220         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
63222 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
63224         [BZ #12492]
63225         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
63226         mprotect making __stack_prot writable.
63228 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
63229             Joseph Myers  <joseph@codesourcery.com>
63231         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
63232         as being properly aligned.
63234 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
63236         * dlfcn/modstatic5.c: New file.
63237         * dlfcn/tststatic5.c: New file.
63238         * dlfcn/Makefile (tests): Add tststatic5.
63239         (tests-static): Likewise.
63240         (modules-names): Add modstatic5.
63241         (tststatic5-ENV): New variable.
63242         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
63244         [BZ #15022]
63245         * elf/dl-support.c (_dl_main_map): New variable.
63246         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
63247         (_dl_nns, _dl_load_adds): Set to 1.
63248         (_dl_initial_searchlist): Refer to _dl_main_map.
63249         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
63250         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
63251         call to _dl_get_origin.
63252         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
63253         around call_map.
63254         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
63255         * dlfcn/modstatic3.c: New file.
63256         * dlfcn/tststatic3.c: New file.
63257         * dlfcn/tststatic4.c: New file.
63258         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
63259         (tests-static): Likewise.
63260         (modules-names): Add modstatic3.
63261         (tststatic3-ENV, tststatic4-ENV): New variables.
63262         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
63263         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
63265 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
63267         * configure.in (CC): Require GCC version 4.4 or later.
63268         * configure: Regenerated.
63269         * manual/install.texi (Tools for Compilation): Update GCC version
63270         requirement.
63271         * INSTALL: Regenerated.
63273 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63275         [BZ #15674]
63276         * string/test-memcmp.c (check2): New.
63277         (main): Call check2.
63279         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
63281 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
63283         [BZ #15022]
63284         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
63285         over to...
63286         (dl_open_worker) [!SHARED]: ... here.
63288 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63290         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
63292 2013-06-25  Richard Henderson  <rth@redhat.com>
63294         * locale/programs/locarchive.c: Include <libc-internal.h>
63296 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
63298         * manual/texinfo.tex: Update to version 2013-06-21.17, with
63299         trailing whitespace removed.
63301 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
63303         [BZ #10283]
63304         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
63305         * locale/programs/locarchive.c: Include libc-mmap.h.
63306         (prepare_address_space): Take two new outputs (the mmap base and len).
63307         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
63308         values.
63309         (create_archive): Declare new mmap base and len values for
63310         prepare_address_space, and store the result in ah.
63311         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
63312         (enlarge_archive): If ah->mmap_base is not NULL, use that and
63313         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
63314         Declare new mmap base and len values for
63315         prepare_address_space, and store the result in new_ah.
63316         (open_archive): Declare new mmap base and len values for
63317         prepare_address_space, and store the result in ah.
63318         (close_archive): If ah->mmap_base is not NULL, use that and
63319         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
63320         * sysdeps/generic/libc-mmap.h: New file.
63322 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
63324         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
63325         (ALIGN_UP): Likewise.
63326         (PTR_ALIGN_DOWN): Likewise.
63327         (PTR_ALIGN_UP): Likewise.
63329 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63331         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
63332         entry mapped to PPC_PLATFORM_POWER8.
63333         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
63334         POWER8.
63335         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
63336         (_dl_string_platform): Add case for exporting platform position for
63337         POWER8.
63338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
63339         search path to sysdeps/powerpc/powerpc32/power8 directory.
63340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
63341         search path to sysdeps/powerpc/powerpc64/power8 directory.
63342         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
63343         power7 directories.
63344         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
63345         power7 directories.
63347 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
63349         * INSTALL: Regenerate.
63351         * nscd/connections.c (nscd_init): Fix comment.
63353 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
63355         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
63357         [BZ #15667]
63358         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
63359         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
63361 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
63363         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
63364         DL_DST_REQ_STATIC.
63365         (DL_DST_REQ_STATIC): Remove macro.
63367 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
63369         [BZ #7006]
63370         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
63371         with a shift of 0 bits.
63373 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
63375         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
63376         $(tststatic-ENV).
63378 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63380         [BZ #15655]
63381         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
63383 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63385         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
63386         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
63387         accepts -fno-tree-loop-distribute-patterns.
63388         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
63389         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
63390         recursive call.
63391         * string/memset.c (memset): Likewise.
63392         * string/test-memmove.c (simple_memmove): Disable loop transformation
63393         to library calls.
63394         * string/test-memset.c (simple_memset): Likewise.
63395         * benchtests/bench-memmove.c (simple_memmove): Likewise.
63396         * benchtests/bench-memset.c (simple_memset): Likewise.
63397         * configure: Regenerated.
63399 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
63401         * math/test-misc.c (main): Ignore fesetround failure when failures
63402         of subsequent rounding tests would be ignored.
63404         [BZ #15654]
63405         * math/fedisblxcpt.c (fedisableexcept): Return 0.
63406         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
63407         * math/fegetenv.c (__fegetenv): Return 0.
63408         * math/fegetexcept.c (fegetexcept): Return 0.
63409         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
63410         FE_TONEAREST.
63411         * math/feholdexcpt.c (feholdexcept): Return 0.
63412         * math/fesetenv.c (__fesetenv): Return 0.
63413         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
63414         argument FE_TONEAREST.
63415         * math/feupdateenv.c (__feupdateenv): Return 0.
63416         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
63418 2013-06-18  Roland McGrath  <roland@hack.frob.com>
63420         * elf/rtld-Rules (rtld-compile-command.S): New variable.
63421         (rtld-compile-command.s, rtld-compile-command.c): New variables.
63422         ($(objpfx)rtld-%.os rules): Use them.
63424 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63426         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
63427         fields.
63429 2013-06-17  Roland McGrath  <roland@hack.frob.com>
63431         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
63432         length of target pattern, then descending length of dependency pattern.
63433         * configure.in (AWK): Require gawk 3.1.2 or newer.
63434         * manual/install.texi (Tools for Compilation): Say that we do.
63435         * configure: Regenerated.
63437         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
63438         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
63439         * scripts/sysd-rules.awk: ... this new script.
63440         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
63441         than a glob-style pattern.
63443 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
63445         * math/test-misc.c (main): Do not treat incorrectly rounded
63446         conversions as failure unless ROUNDING_TESTS passes.
63448 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
63450         [BZ #15631]
63451         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
63452         restore exception state around main square root computation, then
63453         check for inexactness explicitly.
63455         * math/libm-test.inc (fma_test_data): Add another test.
63457 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63459         * manual/threads.texi (Non-POSIX Extensions): New document
63460         node.  Document pthread_getattr_default_np and
63461         pthread_setattr_default_np.
63463         * Versions.def (libpthread): Add GLIBC_2.18.
63464         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
63465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63466         Likewise.
63467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63468         Likewise.
63469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63470         Likewise.
63471         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63472         Likewise.
63473         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
63474         Likewise.
63475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63476         Likewise.
63477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63478         Likewise.
63479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63480         Likewise.
63481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63482         Likewise.
63484 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63486         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63487         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
63489 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63490             H.J. Lu  <hjl.tools@gmail.com>
63492         [BZ #15627]
63493         * sysdeps/x86_64/rtld-memset.c: Remove file.
63494         * sysdeps/x86_64/rtld-memset.S: New file.
63496 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
63498         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
63499         (test_in_one_mode): Take arguments for whether the rounding mode
63500         is supported for each floating-point type.
63501         (do_test): Pass new arguments to test_in_one_mode using
63502         ROUNDING_TESTS.
63504 2013-06-13  Roland McGrath  <roland@hack.frob.com>
63506         * posix/tst-waitid.c (do_test): Distinguish different instances of
63507         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
63508         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
63509         before entering the kernel for waitpid.
63511 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63513         * NEWS: Fix note on clock function precision.  Text by Roland
63514         McGrath.
63516 2013-06-13  Roland McGrath  <roland@hack.frob.com>
63518         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
63519         it into place only when and if the sanity check passes.
63521 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
63523         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
63524         output for whether conversion result is exact.  Take argument
63525         indicating whether type is IBM long double.
63526         (round_for_all): Change need_exact field to ibm_ld.
63527         * stdlib/tst-strtod-round.c (struct exactness): New type.
63528         (struct test): Change bool ld_ok field to struct exactness exact.
63529         (TEST): Update all definitions for change to field.
63530         (tests): Regenerate array contents.
63531         (test_in_one_mode): Take pointer to new field instead of old ld_ok
63532         field value.  Check for IBM long double here.
63533         (do_test): Update calls to test_in_one_mode.
63535 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63537         [BZ #12515]
63538         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
63539         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
63541 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63543         [BZ #15605]
63544         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
63545         generated by the compiler on loop optimizations.
63546         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
63547         general definitions.
63549 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
63551         * math/bug-nextafter.c: Include <math-tests.h>.
63552         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63553         the relevant type.
63554         * math/bug-nexttoward.c: Include <math-tests.h>.
63555         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63556         the relevant type.
63557         * math/test-misc.c: Include <math-tests.h>.
63558         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63559         the relevant type.
63561 2013-06-12  Andreas Jaeger  <aj@suse.de>
63563         * po/ia.po: Update Interlingua translation from translation
63564         project.
63566 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
63568         * include/fenv.h: Include stdbool.h.
63569         (struct rm_ctx): New structure.
63570         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
63571         Define macro.
63572         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
63573         (SET_RESTORE_ROUNDF): Likewise.
63574         (SET_RESTORE_ROUNDL): Likewise.
63575         (SET_RESTORE_ROUND_NOEX): Likewise.
63576         (SET_RESTORE_ROUND_NOEXF): Likewise.
63577         (SET_RESTORE_ROUND_NOEXL): Likewise.
63578         (SET_RESTORE_ROUND_53BIT): Likewise.
63579         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
63580         (libc_feresetround_noexf_ctx): Likewise.
63581         (libc_feresetround_noexl_ctx): Likewise.
63582         (libc_feholdsetround_53bit_ctx): Likewise.
63583         (libc_feresetround_53bit_ctx): Likewise.
63584         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
63585         (libc_feholdexcept_setround_sse_ctx): New function.
63586         (libc_fesetenv_sse_ctx): Likewise.
63587         (libc_feupdateenv_sse_ctx): Likewise.
63588         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
63589         (libc_feholdexcept_setround_387_ctx): Likewise.
63590         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
63591         (libc_feholdsetround_387_prec_ctx): Likewise.
63592         (libc_feholdsetround_387_ctx): Likewise.
63593         (libc_feholdsetround_387_53bit_ctx): Likewise.
63594         (libc_feholdsetround_sse_ctx): Likewise.
63595         (libc_feresetround_sse_ctx): Likewise.
63596         (libc_feresetround_387_ctx): Likewise.
63597         (libc_feupdateenv_387_ctx): Likewise.
63598         (libc_feholdexcept_setroundf_ctx): Define macro.
63599         (libc_fesetenvf_ctx): Likewise.
63600         (libc_feupdateenvf_ctx): Likewise.
63601         (libc_feholdsetroundf_ctx): Likewise.
63602         (libc_feresetroundf_ctx): Likewise.
63603         (libc_feholdexcept_setround_ctx): Likewise.
63604         (libc_fesetenv_ctx): Likewise.
63605         (libc_feupdateenv_ctx): Likewise.
63606         (libc_feholdsetround_ctx): Likewise.
63607         (libc_feresetround_ctx): Likewise.
63608         (libc_feholdexcept_setroundl_ctx): Likewise.
63609         (libc_feupdateenvl_ctx): Likewise.
63610         (libc_feholdsetroundl_ctx): Likewise.
63611         (libc_feresetroundl_ctx): Likewise.
63612         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
63613         (libc_feresetround_53bit_ctx): Likewise.
63615 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63617         * locale/iso-639.def: Convert to UTF-8.
63619 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
63621         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
63622         (EXCEPTION_TESTS_double): Likewise.
63623         (EXCEPTION_TESTS_long_double): Likewise.
63624         (EXCEPTION_TESTS): Likewise.
63625         * math/libm-test.inc (test_exceptions): Only test exceptions if
63626         EXCEPTION_TESTS (FLOAT).
63628 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63630         * benchtests/Makefile (string-bench): Add strcpy_chk and
63631         stpcpy_chk.
63632         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
63633         * benchtests/bench-stpcpy_chk.c: New file.
63634         * benchtests/bench-strcpy_chk-ifunc.c: New file.
63635         * benchtests/bench-strcpy_chk.c: New file.
63636         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
63637         code.
63638         (do_test): Likewise.
63640 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63642         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
63643         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
63644         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
63645         with tabs where appropriate.
63646         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
63647         dl-procinfo.h.
63648         [PPC_PLATFORM_PPC440]: Likewise.
63649         [PPC_PLATFORM_PPC464]: Likewise.
63650         [PPC_PLATFORM_PPC476]: Likewise.
63651         (_dl_string_platform): Add support for detecting ppc405, ppc440,
63652         ppc464, and ppc476 platform strings merging from ports/
63653         dl-procinfo.h.
63655 2013-06-11  Andreas Schwab  <schwab@suse.de>
63657         [BZ #14991]
63658         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
63659         (from_ucs4_idx): Regenerate.
63660         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
63661         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
63662         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
63663         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
63664         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
63665         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
63666         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
63667         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
63668         from FROM_LOOP and TO_LOOP specific macros.
63669         (BODY): Handle combining characters.
63670         * iconvdata/BIG5HKSCS.irreversible: Update.
63671         * iconvdata/BIG5HKSCS.precomposed: New file.
63672         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
63673         characters.
63674         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
63676 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63678         * include/sys/time.h: Fix indentation and add copyright header.
63680         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
63681         (do_test): Likewise.
63682         * string/test-memchr.c (do_one_test): Likewise.
63683         (do_test): Likewise.
63684         * string/test-memcmp.c (do_one_test): Likewise.
63685         (do_test): Likewise.
63686         * string/test-memcpy.c (do_one_test): Likewise.
63687         (do_test): Likewise.
63688         * string/test-memmem.c (do_one_test): Likewise.
63689         (do_test): Likewise.
63690         (do_random_tests): Likewise.
63691         * string/test-memmove.c (do_one_test): Likewise.
63692         (do_test): Likewise.
63693         * string/test-memset.c (do_one_test): Likewise.
63694         (do_test): Likewise.
63695         * string/test-rawmemchr.c (do_one_test): Likewise.
63696         (do_test): Likewise.
63697         * string/test-strcasecmp.c (do_one_test): Likewise.
63698         (do_test): Likewise.
63699         * string/test-strcasestr.c (do_one_test): Likewise.
63700         (do_test): Likewise.
63701         * string/test-strcat.c (do_one_test): Likewise.
63702         (do_test): Likewise.
63703         * string/test-strchr.c (do_one_test): Likewise.
63704         (do_test): Likewise.
63705         * string/test-strcmp.c (do_one_test): Likewise.
63706         (do_test): Likewise.
63707         * string/test-strcpy.c (do_one_test): Likewise.
63708         (do_test): Likewise.
63709         * string/test-string.h: Likewise.
63710         (test_init): Likewise.
63711         * string/test-strlen.c (do_one_test): Likewise.
63712         (do_test): Likewise.
63713         * string/test-strncasecmp.c (do_one_test): Likewise.
63714         (do_test): Likewise.
63715         * string/test-strncat.c (do_one_test): Likewise.
63716         (do_test): Likewise.
63717         * string/test-strncmp.c (do_one_test): Likewise.
63718         (do_test_limit): Likewise.
63719         (do_test): Likewise.
63720         * string/test-strncpy.c (do_one_test): Likewise.
63721         (do_test): Likewise.
63722         * string/test-strnlen.c (do_one_test): Likewise.
63723         (do_test): Likewise.
63724         * string/test-strpbrk.c (do_one_test): Likewise.
63725         (do_test): Likewise.
63726         * string/test-strrchr.c (do_one_test): Likewise.
63727         (do_test): Likewise.
63728         * string/test-strspn.c (do_one_test): Likewise.
63729         (do_test): Likewise.
63730         * string/test-strstr.c (do_one_test): Likewise.
63731         (do_test): Likewise.
63733         * benchtests/Makefile (string-bench): Add string benchmarks.
63734         * benchtests/bench-bcopy-ifunc.c: New file.
63735         * benchtests/bench-bcopy.c: New file.
63736         * benchtests/bench-bzero-ifunc.c: New file.
63737         * benchtests/bench-bzero.c: New file.
63738         * benchtests/bench-memccpy-ifunc.c: New file.
63739         * benchtests/bench-memccpy.c: New file.
63740         * benchtests/bench-memchr-ifunc.c: New file.
63741         * benchtests/bench-memchr.c: New file.
63742         * benchtests/bench-memcmp-ifunc.c: New file.
63743         * benchtests/bench-memcmp.c: New file.
63744         * benchtests/bench-memmem-ifunc.c: New file.
63745         * benchtests/bench-memmem.c: New file.
63746         * benchtests/bench-memmove-ifunc.c: New file.
63747         * benchtests/bench-memmove.c: New file.
63748         * benchtests/bench-mempcpy-ifunc.c: New file.
63749         * benchtests/bench-mempcpy.c: New file.
63750         * benchtests/bench-memset-ifunc.c: New file.
63751         * benchtests/bench-memset.c: New file.
63752         * benchtests/bench-rawmemchr-ifunc.c: New file.
63753         * benchtests/bench-rawmemchr.c: New file.
63754         * benchtests/bench-stpcpy-ifunc.c: New file.
63755         * benchtests/bench-stpcpy.c: New file.
63756         * benchtests/bench-stpncpy-ifunc.c: New file.
63757         * benchtests/bench-stpncpy.c: New file.
63758         * benchtests/bench-strcasecmp-ifunc.c: New file.
63759         * benchtests/bench-strcasecmp.c: New file.
63760         * benchtests/bench-strcasestr-ifunc.c: New file.
63761         * benchtests/bench-strcasestr.c: New file.
63762         * benchtests/bench-strcat-ifunc.c: New file.
63763         * benchtests/bench-strcat.c: New file.
63764         * benchtests/bench-strchr-ifunc.c: New file.
63765         * benchtests/bench-strchr.c: New file.
63766         * benchtests/bench-strchrnul-ifunc.c: New file.
63767         * benchtests/bench-strchrnul.c: New file.
63768         * benchtests/bench-strcmp-ifunc.c: New file.
63769         * benchtests/bench-strcmp.c: New file.
63770         * benchtests/bench-strcpy-ifunc.c: New file.
63771         * benchtests/bench-strcpy.c: New file.
63772         * benchtests/bench-strcspn-ifunc.c: New file.
63773         * benchtests/bench-strcspn.c: New file.
63774         * benchtests/bench-strlen-ifunc.c: New file.
63775         * benchtests/bench-strlen.c: New file.
63776         * benchtests/bench-strncasecmp-ifunc.c: New file.
63777         * benchtests/bench-strncasecmp.c: New file.
63778         * benchtests/bench-strncat-ifunc.c: New file.
63779         * benchtests/bench-strncat.c: New file.
63780         * benchtests/bench-strncmp-ifunc.c: New file.
63781         * benchtests/bench-strncmp.c: New file.
63782         * benchtests/bench-strncpy-ifunc.c: New file.
63783         * benchtests/bench-strncpy.c: New file.
63784         * benchtests/bench-strnlen-ifunc.c: New file.
63785         * benchtests/bench-strnlen.c: New file.
63786         * benchtests/bench-strpbrk-ifunc.c: New file.
63787         * benchtests/bench-strpbrk.c: New file.
63788         * benchtests/bench-strrchr-ifunc.c: New file.
63789         * benchtests/bench-strrchr.c: New file.
63790         * benchtests/bench-strspn-ifunc.c: New file.
63791         * benchtests/bench-strspn.c: New file.
63792         * benchtests/bench-strstr-ifunc.c: New file.
63793         * benchtests/bench-strstr.c: New file.
63795         * benchtests/Makefile: Disable parallel execution of targets.
63796         (string-bench): Add memcpy.
63797         (benchset): New variable to store a list of benchmark sets.
63798         (bench-func): Renamed from bench.
63799         (bench-set): New target.
63800         (bench): Depend on bench-func and bench-set.
63801         * benchtests/README: Add section on benchmark sets.
63802         * benchtests/bench-memcpy-ifunc.c: New file.
63803         * benchtests/bench-memcpy.c: New file.
63804         * benchtests/bench-string.h: New file.
63806 2013-06-11  Andreas Schwab  <schwab@suse.de>
63808         [BZ #15577]
63809         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
63810         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
63811         values in the triple.
63812         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
63813         terminator in the group key.
63815 2013-06-11  Andreas Jaeger  <aj@suse.de>
63817         * po/zh_TW.po: Update Chinese (traditional) translation from
63818         translation project.
63820 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63822         * include/time.h (__clock_gettime): Add libc_hidden_proto.
63823         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
63824         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
63825         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63826         (clock_getcpuclockid): Likewise.
63827         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
63828         Add weak_alias and libc_hidden_def.
63829         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
63830         * rt/clock_gettime.c (clock_gettime): Rename to
63831         __clock_gettime.  Add weak_alias and libc_hidden_def.
63832         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
63833         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
63834         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
63835         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
63836         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
63837         Likewise.
63838         * rt/clock_settime.c (clock_settime): Rename to
63839         __clock_settime.  Add weak_alias and libc_hidden_def.
63840         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
63842 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
63844         * mach/err_boot.sub: Remove trailing whitespace.
63845         * mach/err_ipc.sub: Likewise.
63846         * mach/err_mach.sub: Likewise.
63848         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
63849         (ROUNDING_TESTS_double): Likewise.
63850         (ROUNDING_TESTS_long_double): Likewise.
63851         (ROUNDING_TESTS): Likewise.
63852         * math/libm-test.inc: Include <math-tests.h>.
63853         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
63854         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63855         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63856         (IF_ROUND_INIT_FE_UPWARD): Likewise.
63858 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63860         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
63861         of assigning.
63863 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
63865         * sysdeps/gnu/errlist.awk: Do not generate space at end of
63866         otherwise empty TRANS lines.
63867         * sysdeps/gnu/errlist.c: Regenerated.
63869         * catgets/gencat.c (error_print): Use (void) in function
63870         definition.
63871         * crypt/crypt_util.c (__init_des): Likewise.
63872         * crypt/speeds.c (Stop): Likewise.
63873         (main): Likewise.
63874         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
63875         * inet/ruserpass.c (token): Likewise.
63876         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
63877         * intl/localealias.c (extend_alias_table): Likewise.
63878         * intl/plural-exp.c (init_germanic_plural): Likewise.
63879         * libio/fcloseall.c (__fcloseall): Likewise.
63880         * libio/genops.c (_IO_flush_all): Likewise.
63881         (_IO_flush_all_linebuffered): Likewise.
63882         (_IO_cleanup): Likewise.
63883         (_IO_iter_begin): Likewise.
63884         (_IO_iter_end): Likewise.
63885         (_IO_list_lock): Likewise.
63886         (_IO_list_unlock): Likewise.
63887         (_IO_list_resetlock): Likewise.
63888         * libio/getchar.c (getchar): Likewise.
63889         * libio/getchar_u.c (getchar_unlocked): Likewise.
63890         * libio/getwchar.c (getwchar): Likewise.
63891         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
63892         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
63893         * login/getpt.c (__getpt): Likewise.
63894         * login/tst-utmp.c (main): Likewise.
63895         * malloc/hooks.c (__malloc_check_init): Likewise.
63896         * malloc/malloc.c (__malloc_stats): Likewise.
63897         * malloc/mtrace.c (tr_break): Likewise.
63898         (mtrace): Likewise.
63899         (muntrace): Likewise.
63900         * misc/fstab.c (endfsent): Likewise.
63901         * misc/getclktck.c (__getclktck): Likewise.
63902         * misc/getdtsz.c (__getdtablesize): Likewise.
63903         * misc/gethostid.c (gethostid): Likewise.
63904         * misc/getpagesize.c (__getpagesize): Likewise.
63905         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
63906         (__get_nprocs): Likewise.
63907         (__get_phys_pages): Likewise.
63908         (__get_avphys_pages): Likewise.
63909         * misc/getttyent.c (getttyent): Likewise.
63910         (setttyent): Likewise.
63911         (endttyent): Likewise.
63912         * misc/getusershell.c (getusershell): Likewise.
63913         (endusershell): Likewise.
63914         (setusershell): Likewise.
63915         (initshells): Likewise.
63916         * misc/hsearch.c (__hdestroy): Likewise.
63917         * misc/sync.c (sync): Likewise.
63918         * misc/syslog.c (closelog_internal): Likewise.
63919         (closelog): Likewise.
63920         * misc/ttyslot.c (ttyslot): Likewise.
63921         * misc/vhangup.c (vhangup): Likewise.
63922         * posix/fork.c (__fork): Likewise.
63923         * posix/getegid.c (__getegid): Likewise.
63924         * posix/geteuid.c (__geteuid): Likewise.
63925         * posix/getgid.c (__getgid): Likewise.
63926         * posix/getpid.c (__getpid): Likewise.
63927         * posix/getppid.c (__getppid): Likewise.
63928         * posix/getuid.c (__getuid): Likewise.
63929         * posix/pause.c (pause): Likewise.
63930         * posix/setpgrp.c (setpgrp): Likewise.
63931         * posix/setsid.c (__setsid): Likewise.
63932         * posix/test-vfork.c (noop): Likewise.
63933         * resolv/gethnamaddr.c (_endhtent): Likewise.
63934         (_gethtent): Likewise.
63935         (ht_endhostent): Likewise.
63936         (gethostent): Likewise.
63937         (dns_service): Likewise.
63938         * stdlib/drand48.c (drand48): Likewise.
63939         * stdlib/lrand48.c (lrand48): Likewise.
63940         * stdlib/mrand48.c (mrand48): Likewise.
63941         * stdlib/rand.c (rand): Likewise.
63942         * stdlib/random.c (__random): Likewise.
63943         * stdlib/setenv.c (clearenv): Likewise.
63944         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
63945         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
63946         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
63947         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
63948         (__get_nprocs): Likewise.
63949         (__get_phys_pages): Likewise.
63950         (__get_avphys_pages): Likewise.
63951         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
63952         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
63953         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
63954         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
63955         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
63956         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
63957         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
63958         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
63959         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
63960         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
63961         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
63962         * sysdeps/mach/hurd/sync.c (sync): Likewise.
63963         * sysdeps/posix/clock.c (clock): Likewise.
63964         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
63965         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
63966         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
63967         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
63968         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
63969         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
63970         (__get_nprocs_conf): Likewise.
63971         (__get_phys_pages): Likewise.
63972         (__get_avphys_pages): Likewise.
63973         * time/clock.c (clock): Likewise.
63974         * time/tzset.c (__tzname_max): Likewise.
63976 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
63978         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
63979         (__bswap_32): Do not use "register".
63980         * crypt/crypt.c (_ufc_doit_r): Likewise.
63981         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
63982         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
63983         * gmon/gmon.c (__monstartup): Likewise.
63984         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
63985         * hurd/hurdmalloc.c (more_memory): Likewise.
63986         (malloc): Likewise.
63987         (free): Likewise.
63988         (realloc): Likewise.
63989         (malloc_fork_prepare): Likewise.
63990         (malloc_fork_parent): Likewise.
63991         (malloc_fork_child): Likewise.
63992         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
63993         (_svcauth_des): Likewise.
63994         * inet/inet_lnaof.c (inet_lnaof): Likewise.
63995         * inet/inet_net.c (inet_network): Likewise.
63996         * inet/inet_netof.c (inet_netof): Likewise.
63997         * inet/rcmd.c (__validuser2_sa): Likewise.
63998         * io/fts.c (fts_open): Likewise.
63999         (fts_load): Likewise.
64000         (fts_close): Likewise.
64001         (fts_read): Likewise.
64002         (fts_children): Likewise.
64003         (fts_build): Likewise.
64004         (fts_stat): Likewise.
64005         (fts_sort): Likewise.
64006         (fts_alloc): Likewise.
64007         (fts_lfree): Likewise.
64008         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
64009         (_IO_file_xsgetn): Likewise.
64010         (_IO_file_xsgetn_mmap): Likewise.
64011         * libio/iofopncook.c (_IO_cookie_read): Likewise.
64012         (_IO_cookie_write): Likewise.
64013         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
64014         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
64015         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
64016         * malloc/obstack.c (_obstack_begin): Likewise.
64017         (_obstack_begin_1): Likewise.
64018         (_obstack_newchunk): Likewise.
64019         (_obstack_allocated_p): Likewise.
64020         (obstack_free): Likewise.
64021         (_obstack_memory_used): Likewise.
64022         * misc/getttyent.c (getttynam): Likewise.
64023         (getttyent): Likewise.
64024         (skip): Likewise.
64025         (value): Likewise.
64026         * misc/getusershell.c (initshells): Likewise.
64027         * misc/syslog.c (__vsyslog_chk): Likewise.
64028         * misc/ttyslot.c (ttyslot): Likewise.
64029         * nis/nis_hash.c (__nis_hash): Likewise.
64030         * posix/fnmatch_loop.c (FCT): Likewise.
64031         * posix/getconf.c (print_all): Likewise.
64032         (main): Likewise.
64033         * posix/getopt.c (exchange): Likewise.
64034         * posix/glob.c (globfree): Likewise.
64035         (prefix_array): Likewise.
64036         (__glob_pattern_type): Likewise.
64037         * resolv/arpa/nameser.h (NS_GET16): Likewise.
64038         (NS_GET32): Likewise.
64039         (NS_PUT16): Likewise.
64040         (NS_PUT32): Likewise.
64041         * resolv/gethnamaddr.c (getanswer): Likewise.
64042         (gethostbyname2): Likewise.
64043         (gethostbyaddr): Likewise.
64044         (_gethtent): Likewise.
64045         (_gethtbyname2): Likewise.
64046         (_gethtbyaddr): Likewise.
64047         * resolv/ns_print.c (dst_s_get_int16): Likewise.
64048         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
64049         * resolv/res_init.c (__res_vinit): Likewise.
64050         (net_mask): Likewise.
64051         * resolv/res_mkquery.c (outchar): Likewise.
64052         (PRINT): Likewise.
64053         * stdio-common/printf_fp.c (outchar): Likewise.
64054         (PRINT): Likewise.
64055         * stdio-common/printf_fphex.c (outchar): Likewise.
64056         (PRINT): Likewise.
64057         * stdio-common/printf_size.c (outchar): Likewise.
64058         (PRINT): Likewise.
64059         * stdio-common/test_rdwr.c (main): Likewise.
64060         * stdio-common/tfformat.c (matches): Likewise.
64061         * stdio-common/vfprintf.c (outchar): Likewise.
64062         (printf_unknown): Likewise.
64063         (buffered_vfprintf): Likewise.
64064         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
64065         * stdio-common/xbug.c (AppendToBuffer): Likewise.
64066         (ReadFile): Likewise.
64067         * stdlib/qsort.c (SWAP): Likewise.
64068         (_quicksort): Likewise.
64069         * stdlib/setenv.c (__add_to_environ): Likewise.
64070         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
64071         * stdlib/strtol_l.c (__strtol_l): Likewise.
64072         * stdlib/tst-strtod.c (main): Likewise.
64073         * stdlib/tst-strtol.c (main): Likewise.
64074         * stdlib/tst-strtoll.c (main): Likewise.
64075         * string/bits/string2.h (__strcmp_cc): Likewise.
64076         (__strcmp_cg): Likewise.
64077         (__strcspn_c1): Likewise.
64078         (__strcspn_c2): Likewise.
64079         (__strcspn_c3): Likewise.
64080         (__strspn_c1): Likewise.
64081         (__strspn_c2): Likewise.
64082         (__strspn_c3): Likewise.
64083         (__strsep_1c): Likewise.
64084         (__strsep_2c): Likewise.
64085         (__strsep_3c): Likewise.
64086         * string/memccpy.c (__memccpy): Likewise.
64087         * string/stpcpy.c (__stpcpy): Likewise.
64088         * string/strcmp.c (strcmp): Likewise.
64089         * string/strrchr.c (strrchr): Likewise.
64090         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
64091         Likewise.
64092         * sysdeps/mach/hurd/getcwd.c
64093         (_hurd_canonicalize_directory_name_internal): Likewise.
64094         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
64095         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
64096         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
64097         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
64098         Likewise, in both definitions.
64099         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
64100         definitions.
64101         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
64102         64] (__bswap_64): Likewise.
64103         * time/test_time.c (main): Likewise.
64104         * time/tzfile.c (__tzfile_read): Likewise.
64105         (__tzfile_compute): Likewise.
64106         * time/tzset.c (__tzset_parse_tz): Likewise.
64107         (tzset_internal): Likewise.
64108         (compute_change): Likewise.
64109         * wcsmbs/wcscat.c (__wcscat): Likewise.
64110         * wcsmbs/wcschr.c (wcschr): Likewise.
64111         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
64112         * wcsmbs/wcscspn.c (wcscspn): Likewise.
64113         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
64114         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
64115         * wcsmbs/wcsspn.c (wcsspn): Likewise.
64116         * wcsmbs/wcsstr.c (wcsstr): Likewise.
64117         * wcsmbs/wmemchr.c (wmemchr): Likewise.
64118         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64119         * wcsmbs/wmemset.c (wmemset): Likewise.
64121 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
64123         * scripts/config.guess: Update to version 2013-05-16.
64124         * scripts/config.sub: Update to version 2013-04-24.
64125         * scripts/install-sh: Update to version 2011-11-20.07.
64126         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
64127         * scripts/move-if-change: Update to version 2012-01-06 07:23.
64129 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
64131         * debug/fgetws_u_chk.c: Fix leading whitespaces.
64132         * elf/sln.c: Likewise.
64133         * hurd/hurd/ioctl.h: Likewise.
64134         * hurd/hurdmalloc.c: Likewise.
64135         * hurd/xattr.c: Likewise.
64136         * include/shlib-compat.h: Likewise.
64137         * inet/ruserpass.c: Likewise.
64138         * libio/iofgets_u.c: Likewise.
64139         * libio/iofgetws_u.c: Likewise.
64140         * locale/programs/ld-identification.c: Likewise.
64141         * locale/programs/ld-time.c: Likewise.
64142         * mach/msg-destroy.c: Likewise.
64143         * nss/nss_files/files-netgrp.c: Likewise.
64144         * resolv/res_data.c: Likewise.
64145         * soft-fp/op-1.h: Likewise.
64146         * soft-fp/op-2.h: Likewise.
64147         * soft-fp/op-4.h: Likewise.
64148         * soft-fp/op-common.h: Likewise.
64149         * stdio-common/printf_fphex.c: Likewise.
64150         * stdlib/strtod_l.c: Likewise.
64151         * sunrpc/rpc/clnt.h: Likewise.
64152         * sysdeps/generic/framestate.c: Likewise.
64153         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64154         * sysdeps/i386/bsd-setjmp.S: Likewise.
64155         * sysdeps/i386/__longjmp.S: Likewise.
64156         * sysdeps/i386/setjmp.S: Likewise.
64157         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64158         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64159         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64160         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64161         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64162         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64163         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64164         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64165         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64166         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64167         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64168         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64169         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64170         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64171         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64172         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64173         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64174         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
64175         * sysdeps/ieee754/support.c: Likewise.
64176         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64177         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
64178         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
64179         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
64180         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
64181         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
64182         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
64183         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
64184         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
64185         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
64186         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
64187         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
64188         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
64189         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
64190         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
64191         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
64192         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
64195 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
64197         * posix/transbug.c: Remove executable mode.
64199 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
64201         * crypt/speeds.c: Remove trailing whitespace.
64202         * dlfcn/default.c: Likewise.
64203         * elf/ifuncdep2.c: Likewise.
64204         * elf/ifuncmain1.c: Likewise.
64205         * elf/ifuncmain1vis.c: Likewise.
64206         * elf/testobj.h: Likewise.
64207         * elf/tst-stackguard1.c: Likewise.
64208         * gmon/sys/gmon.h: Likewise.
64209         * hurd/hurdmsg.c: Likewise.
64210         * hurd/new-fd.c: Likewise.
64211         * hurd/ports-get.c: Likewise.
64212         * iconvdata/ibm1008_420.c: Likewise.
64213         * inet/tst-getni1.c: Likewise.
64214         * inet/tst-getni2.c: Likewise.
64215         * libio/ioungetc.c: Likewise.
64216         * libio/wfiledoalloc.c: Likewise.
64217         * manual/libm-err-tab.pl: Likewise.
64218         * math/w_dremf.c: Likewise.
64219         * misc/ftruncate.c: Likewise.
64220         * posix/bug-glob2.c: Likewise.
64221         * posix/tst-pcre.c: Likewise.
64222         * posix/wait4.c: Likewise.
64223         * resolv/README: Likewise.
64224         * resolv/res_debug.h: Likewise.
64225         * resolv/tst-inet_ntop.c: Likewise.
64226         * setjmp/bug269-setjmp.c: Likewise.
64227         * soft-fp/extended.h: Likewise.
64228         * soft-fp/op-1.h: Likewise.
64229         * soft-fp/op-2.h: Likewise.
64230         * soft-fp/op-4.h: Likewise.
64231         * soft-fp/op-8.h: Likewise.
64232         * soft-fp/testit.c: Likewise.
64233         * stdio-common/bug16.c: Likewise.
64234         * stdlib/random.c: Likewise.
64235         * sunrpc/rpcsvc/rquota.x: Likewise.
64236         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
64237         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64238         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64239         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64240         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64241         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64242         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64243         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64244         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64245         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64246         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64247         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
64248         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64249         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
64250         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64251         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
64252         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64253         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64254         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
64255         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64256         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64257         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64258         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
64259         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
64260         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
64261         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
64262         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
64263         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64264         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64265         * sysdeps/ieee754/s_lib_version.c: Likewise.
64266         * sysdeps/mach/hurd/check_fds.c: Likewise.
64267         * sysdeps/mach/hurd/getsockname.c: Likewise.
64268         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
64269         * sysdeps/mach/hurd/recvfrom.c: Likewise.
64270         * sysdeps/powerpc/bits/link.h: Likewise.
64271         * sysdeps/powerpc/dl-procinfo.c: Likewise.
64272         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
64273         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
64274         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
64275         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
64276         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64277         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
64278         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
64279         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
64280         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64281         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
64282         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
64283         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
64284         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64285         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64286         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64287         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
64288         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
64289         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64290         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64291         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64292         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
64293         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64294         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
64295         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
64296         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
64297         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
64298         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64299         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64300         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
64301         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
64302         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
64303         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64304         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64305         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
64306         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
64307         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
64308         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
64309         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
64310         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
64311         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
64312         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
64313         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
64314         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
64315         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
64316         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
64317         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
64318         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
64319         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
64320         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
64321         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64322         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64323         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
64324         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
64325         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
64326         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
64327         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
64328         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64329         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
64330         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
64331         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
64332         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
64333         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
64334         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
64335         * sysdeps/powerpc/sysdep.h: Likewise.
64336         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64337         * sysdeps/s390/s390-64/sub_n.S: Likewise.
64338         * sysdeps/sh/dl-trampoline.S: Likewise.
64339         * sysdeps/sh/memset.S: Likewise.
64340         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
64341         * sysdeps/sh/strlen.S: Likewise.
64342         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
64343         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
64344         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
64345         * sysdeps/sparc/sparc32/rem.S: Likewise.
64346         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
64347         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
64348         * sysdeps/sparc/sparc32/strchr.S: Likewise.
64349         * sysdeps/sparc/sparc32/udiv.S: Likewise.
64350         * sysdeps/sparc/sparc32/urem.S: Likewise.
64351         * sysdeps/sparc/sparc64/add_n.S: Likewise.
64352         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64353         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
64354         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
64355         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
64356         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
64357         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
64358         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
64359         * sysdeps/unix/bsd/times.c: Likewise.
64360         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
64361         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
64362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
64363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
64364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
64365         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
64366         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
64367         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
64368         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
64369         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
64370         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
64371         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
64372         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
64373         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
64374         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
64375         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
64376         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
64377         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
64378         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
64379         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
64380         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
64381         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
64382         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
64383         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
64384         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
64385         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
64386         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
64387         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64388         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
64389         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
64390         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
64391         * sysdeps/x86_64/strcspn.S: Likewise.
64393 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64395         * locale/C-translit.h: Revert #include <stdint.h> because this is a
64396         generated file.  Regenerate properly from gen-translit.pl.
64397         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
64398         locale/C-translit.h.
64400 2013-06-05  Andreas Schwab  <schwab@suse.de>
64402         [BZ #15100]
64403         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
64404         week as 6 instead of -1.
64405         * time/tst-strptime.c (day_tests): Add test case.
64407 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64409         * sysdeps/generic/math_private.h
64410         (libc_feholdexcept_setround_53bit): Replace with
64411         libc_feholdsetround_53bit.
64412         (libc_feupdateenv_53bit): Replace with
64413         libc_feresetround_53bit.
64414         (SET_RESTORE_ROUND_53BIT): Adjust.
64416 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
64418         * string/test-strchrnul.c: Add copyright header.
64420         * posix/tst-getaddrinfo4.c: Increase test timeout.
64422 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
64424         [BZ #15536]
64425         * math/libm-test.inc (MAX_EXP): Remove
64426         (MIN_EXP): Define.
64427         (ulp): Use MIN_EXP - MANT_DIG.
64428         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
64430 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
64432         * po/be.po: Revert last change.
64433         * po/zh_CN.po: Likewise.
64434         * po/header.pot: Likewise.
64436 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
64438         * Makefile ($(common-objpfx)linkobj/libc.so): Define
64439         link-libc-deps to empty as target-specific variable.
64440         * Makerules (link-libc-args): New variable.
64441         (libc-for-link): Likewise.
64442         (link-libc-deps): Likewise.
64443         (lib%.so): Depend on $(link-libc-deps).  Link with
64444         $(link-libc-args).
64445         (build-module): Link with $(link-libc-args).
64446         (build-module-asneeded): Likewise.
64447         (build-module-helper-objlist): Filter out $(link-libc-deps) from
64448         list of objects.
64449         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
64450         target-specific variable.
64451         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
64452         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
64453         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
64454         libc.
64455         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
64456         libc and ld.so.
64457         ($(objpfx)libpcprofile.so): Likewise.
64458         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
64459         libc_nonshared.a.
64460         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
64461         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
64462         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
64463         $(link-libc-deps).
64464         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
64465         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
64466         * login/Makefile ($(objpfx)libutil.so): Likewise.
64467         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
64468         * math/Makefile ($(objpfx)libm.so): Likewise.
64469         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
64470         $(objpfx)libnsl.so): Define libc-for-link as target-specific
64471         variable instead of depending directly on libc.
64472         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
64473         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
64474         $(link-libc-deps).
64475         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
64476         libc.
64477         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
64478         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
64479         ($(objpfx)libanl.so): Likewise.
64480         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
64481         ld.so.
64482         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
64483         $(link-libc-deps).
64484         * sysdeps/i386/fpu/Makefile: Remove file.
64485         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
64486         ($(objpfx)libm.so): Remove dependency on ld.so.
64488 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
64490         [BZ # 15553]
64491         * nis/yp_xdr.c (XDRMAXNAME): Define.
64492         (XDRMAXRECORD): Define.
64493         (xdr_domainname): Use XDRMAXNAME.
64494         (xdr_mapname): Likewise.
64495         (xdr_peername): Likewise.
64496         (xdr_keydat): Use XDRMAXRECORD.
64497         (xdr_valdat): Likewise.
64499 2013-05-30  Jeff Law  <law@redhat.com>
64501         [BZ #14256]
64502         * manual/errno.texi (ESTALE): Update to account for more than
64503         just NFS file systems.
64504         * sysdeps/gnu/errlist.c: Regenerated.
64506 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64508         [BZ #15465]
64509         * elf/Makefile (tests): Add tst-null-argv.
64510         (modules-names):  Add tst-null-argv-lib.
64511         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
64512         (tst-null-argv-ENV): Set environment for tst-null-argv.
64513         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
64514         (RTLD_PROGNAME): New macro.
64515         * elf/tst-null-argv.c: New test case.
64516         * elf/tst-null-argv-lib.c: Library for test case.
64517         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
64518         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
64519         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
64520         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
64521         * elf/dl-init.c (call_init): Likewise.
64522         (_dl_init): Likewise.
64523         * elf/dl-load.c (print_search_path): Likewise.
64524         (_dl_map_object): Likewise.
64525         * elf/dl-lookup.c (do_lookup_x): Likewise.
64526         (add_dependency): Likewise.
64527         (_dl_lookup_symbol_x): Likewise.
64528         (_dl_debug_bindings): Likewise.
64529         * elf/dl-open.c (_dl_show_scope): Likewise.
64530         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
64531         * elf/dl-version.c (match_symbol): Likewise.
64532         (_dl_check_map_versions): Likewise.
64533         * elf/rtld.c (dl_main): Likewise.
64534         (print_unresolved): Use RTLD_PROGNAME.
64535         (print_missing_version): Likewise.
64536         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
64537         (elf_machine_rela): Likewise.
64538         * sysdeps/powerpc/powerpc32/dl-machine.c
64539         (__process_machine_rela): Likewise.
64540         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64541         Likewise.
64542         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64543         Likewise.
64544         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
64545         Likewise.
64546         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
64547         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
64548         Likewise.
64549         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
64550         Likewise.
64551         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64553 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
64555         * po/be.po: Add descriptive title.
64556         * po/zh_CN.po: Likewise.
64557         * po/header.pot: Likewise.
64559 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
64561         * locale/programs/locarchive.c (create_archive): Inlucde fname in
64562         error message.
64563         (enlarge_archive): Likewise.
64565 2013-05-28  Ben North  <ben@redfrontdoor.org>
64567         * manual/arith.texi (frexp): It is the magnitude of the return
64568         value which lies in [0.5, 1), not the return value itself.
64570 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64574 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
64576         * stdio-common/bug26.c (main): Correct fscanf template.
64578         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
64579         declare _dl_skip_args.
64581         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
64582         Don't declare.
64584         * manual/platform.texi: Add missing @end deftypefun.
64586 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
64588         [BZ #15529]
64589         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
64590         bit of mantissa of 2^16382.
64591         * math/libm-test.inc (hypot_test_data): Add more tests.
64593         * math/libm-test.inc: Add drem and pow10 to list of tested
64594         functions.
64595         (pow10_test): New function.
64596         (drem_test): Likewise.
64597         (drem_test_tonearest): Likewise.
64598         (drem_test_towardzero): Likewise.
64599         (drem_test_downward): Likewise.
64600         (drem_test_upward): Likewise.
64601         (main): Call the new functions.
64603         * math/libm-test.inc (finite_test_data): Remove.
64604         (finite_test): Run tests from isfinite_test_data.
64605         (gamma_test_data): Remove.
64606         (gamma_test): Run tests from lgamma_test_data.
64607         * sysdeps/i386/fpu/libm-test-ulps: Update.
64608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64610 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64612         * manual/platform.texi: Add PowerPC PPR function set documentation.
64613         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
64614         implementation.
64616 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
64618         * math/libm-test.inc (MAX_EXP): Define.
64619         (ULPDIFF): Define.
64620         (ulp): New function.
64621         (check_float_internal): Use ULPDIFF.
64622         (cpow_test): Disable failing test.
64623         (check_ulp): Test ulp() implementation.
64624         (main): Call check_ulp before starting tests.
64626 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
64628         * math/gen-libm-test.pl (generate_testfile): Do not handle
64629         START_DATA and END_DATA.
64630         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
64631         END_DATA.
64632         (acos_tonearest_test_data): Likewise.
64633         (acos_towardzero_test_data): Likewise.
64634         (acos_downward_test_data): Likewise.
64635         (acos_upward_test_data): Likewise.
64636         (acosh_test_data): Likewise.
64637         (asin_test_data): Likewise.
64638         (asin_tonearest_test_data): Likewise.
64639         (asin_towardzero_test_data): Likewise.
64640         (asin_downward_test_data): Likewise.
64641         (asin_upward_test_data): Likewise.
64642         (asinh_test_data): Likewise.
64643         (atan_test_data): Likewise.
64644         (atanh_test_data): Likewise.
64645         (atan2_test_data): Likewise.
64646         (cabs_test_data): Likewise.
64647         (cacos_test_data): Likewise.
64648         (cacosh_test_data): Likewise.
64649         (carg_test_data): Likewise.
64650         (casin_test_data): Likewise.
64651         (casinh_test_data): Likewise.
64652         (catan_test_data): Likewise.
64653         (catanh_test_data): Likewise.
64654         (cbrt_test_data): Likewise.
64655         (ccos_test_data): Likewise.
64656         (ccosh_test_data): Likewise.
64657         (ceil_test_data): Likewise.
64658         (cexp_test_data): Likewise.
64659         (cimag_test_data): Likewise.
64660         (clog_test_data): Likewise.
64661         (clog10_test_data): Likewise.
64662         (conj_test_data): Likewise.
64663         (copysign_test_data): Likewise.
64664         (cos_test_data): Likewise.
64665         (cos_tonearest_test_data): Likewise.
64666         (cos_towardzero_test_data): Likewise.
64667         (cos_downward_test_data): Likewise.
64668         (cos_upward_test_data): Likewise.
64669         (cosh_test_data): Likewise.
64670         (cosh_tonearest_test_data): Likewise.
64671         (cosh_towardzero_test_data): Likewise.
64672         (cosh_downward_test_data): Likewise.
64673         (cosh_upward_test_data): Likewise.
64674         (cpow_test_data): Likewise.
64675         (cproj_test_data): Likewise.
64676         (creal_test_data): Likewise.
64677         (csin_test_data): Likewise.
64678         (csinh_test_data): Likewise.
64679         (csqrt_test_data): Likewise.
64680         (ctan_test_data): Likewise.
64681         (ctan_tonearest_test_data): Likewise.
64682         (ctan_towardzero_test_data): Likewise.
64683         (ctan_downward_test_data): Likewise.
64684         (ctan_upward_test_data): Likewise.
64685         (ctanh_test_data): Likewise.
64686         (ctanh_tonearest_test_data): Likewise.
64687         (ctanh_towardzero_test_data): Likewise.
64688         (ctanh_downward_test_data): Likewise.
64689         (ctanh_upward_test_data): Likewise.
64690         (erf_test_data): Likewise.
64691         (erfc_test_data): Likewise.
64692         (exp_test_data): Likewise.
64693         (exp_tonearest_test_data): Likewise.
64694         (exp_towardzero_test_data): Likewise.
64695         (exp_downward_test_data): Likewise.
64696         (exp_upward_test_data): Likewise.
64697         (exp10_test_data): Likewise.
64698         (exp2_test_data): Likewise.
64699         (expm1_test_data): Likewise.
64700         (fabs_test_data): Likewise.
64701         (fdim_test_data): Likewise.
64702         (finite_test_data): Likewise.
64703         (floor_test_data): Likewise.
64704         (fma_test_data): Likewise.
64705         (fma_towardzero_test_data): Likewise.
64706         (fma_downward_test_data): Likewise.
64707         (fma_upward_test_data): Likewise.
64708         (fmax_test_data): Likewise.
64709         (fmin_test_data): Likewise.
64710         (fmod_test_data): Likewise.
64711         (fpclassify_test_data): Likewise.
64712         (frexp_test_data): Likewise.
64713         (gamma_test_data): Likewise.
64714         (hypot_test_data): Likewise.
64715         (ilogb_test_data): Likewise.
64716         (isfinite_test_data): Likewise.
64717         (isgreater_test_data): Likewise.
64718         (isgreaterequal_test_data): Likewise.
64719         (isinf_test_data): Likewise.
64720         (isless_test_data): Likewise.
64721         (islessequal_test_data): Likewise.
64722         (islessgreater_test_data): Likewise.
64723         (isnan_test_data): Likewise.
64724         (isnormal_test_data): Likewise.
64725         (issignaling_test_data): Likewise.
64726         (isunordered_test_data): Likewise.
64727         (j0_test_data): Likewise.
64728         (j1_test_data): Likewise.
64729         (jn_test_data): Likewise.
64730         (ldexp_test_data): Likewise.
64731         (lgamma_test_data): Likewise.
64732         (lrint_test_data): Likewise.
64733         (lrint_tonearest_test_data): Likewise.
64734         (lrint_towardzero_test_data): Likewise.
64735         (lrint_downward_test_data): Likewise.
64736         (lrint_upward_test_data): Likewise.
64737         (llrint_test_data): Likewise.
64738         (llrint_tonearest_test_data): Likewise.
64739         (llrint_towardzero_test_data): Likewise.
64740         (llrint_downward_test_data): Likewise.
64741         (llrint_upward_test_data): Likewise.
64742         (log_test_data): Likewise.
64743         (log10_test_data): Likewise.
64744         (log1p_test_data): Likewise.
64745         (log2_test_data): Likewise.
64746         (logb_test_data): Likewise.
64747         (logb_downward_test_data): Likewise.
64748         (lround_test_data): Likewise.
64749         (llround_test_data): Likewise.
64750         (modf_test_data): Likewise.
64751         (nearbyint_test_data): Likewise.
64752         (nextafter_test_data): Likewise.
64753         (nexttoward_test_data): Likewise.
64754         (pow_test_data): Likewise.
64755         (pow_tonearest_test_data): Likewise.
64756         (pow_towardzero_test_data): Likewise.
64757         (pow_downward_test_data): Likewise.
64758         (pow_upward_test_data): Likewise.
64759         (remainder_test_data): Likewise.
64760         (remainder_tonearest_test_data): Likewise.
64761         (remainder_towardzero_test_data): Likewise.
64762         (remainder_downward_test_data): Likewise.
64763         (remainder_upward_test_data): Likewise.
64764         (remquo_test_data): Likewise.
64765         (rint_test_data): Likewise.
64766         (rint_tonearest_test_data): Likewise.
64767         (rint_towardzero_test_data): Likewise.
64768         (rint_downward_test_data): Likewise.
64769         (rint_upward_test_data): Likewise.
64770         (round_test_data): Likewise.
64771         (scalb_test_data): Likewise.
64772         (scalbn_test_data): Likewise.
64773         (scalbln_test_data): Likewise.
64774         (signbit_test_data): Likewise.
64775         (sin_test_data): Likewise.
64776         (sin_tonearest_test_data): Likewise.
64777         (sin_towardzero_test_data): Likewise.
64778         (sin_downward_test_data): Likewise.
64779         (sin_upward_test_data): Likewise.
64780         (sincos_test_data): Likewise.
64781         (sinh_test_data): Likewise.
64782         (sinh_tonearest_test_data): Likewise.
64783         (sinh_towardzero_test_data): Likewise.
64784         (sinh_downward_test_data): Likewise.
64785         (sinh_upward_test_data): Likewise.
64786         (sqrt_test_data): Likewise.
64787         (tan_test_data): Likewise.
64788         (tan_tonearest_test_data): Likewise.
64789         (tan_towardzero_test_data): Likewise.
64790         (tan_downward_test_data): Likewise.
64791         (tan_upward_test_data): Likewise.
64792         (tanh_test_data): Likewise.
64793         (tgamma_test_data): Likewise.
64794         (trunc_test_data): Likewise.
64795         (y0_test_data): Likewise.
64796         (y1_test_data): Likewise.
64797         (yn_test_data): Likewise.
64798         (significand_test_data): Likewise.
64800         * math/gen-libm-test.pl (@functions): Remove variable.
64801         (generate_testfile): Don't handle START and END lines.
64802         * math/libm-test.inc (START): New macro.
64803         (END): Likewise.
64804         (END_COMPLEX): Likewise.
64805         (acos_test): Use END macro without arguments.
64806         (acos_test_tonearest): Likewise.
64807         (acos_test_towardzero): Likewise.
64808         (acos_test_downward): Likewise.
64809         (acos_test_upward): Likewise.
64810         (acosh_test): Likewise.
64811         (asin_test): Likewise.
64812         (asin_test_tonearest): Likewise.
64813         (asin_test_towardzero): Likewise.
64814         (asin_test_downward): Likewise.
64815         (asin_test_upward): Likewise.
64816         (asinh_test): Likewise.
64817         (atan_test): Likewise.
64818         (atanh_test): Likewise.
64819         (atan2_test): Likewise.
64820         (cabs_test): Likewise.
64821         (cacos_test): Use END_COMPLEX macro without arguments.
64822         (cacosh_test): Likewise.
64823         (carg_test): Use END macro without arguments.
64824         (casin_test): Use END_COMPLEX macro without arguments.
64825         (casinh_test): Likewise.
64826         (catan_test): Likewise.
64827         (catanh_test): Likewise.
64828         (cbrt_test): Use END macro without arguments.
64829         (ccos_test): Use END_COMPLEX macro without arguments.
64830         (ccosh_test): Likewise.
64831         (ceil_test): Use END macro without arguments.
64832         (cexp_test): Use END_COMPLEX macro without arguments.
64833         (cimag_test): Use END macro without arguments.
64834         (clog_test): Use END_COMPLEX macro without arguments.
64835         (clog10_test): Likewise.
64836         (conj_test): Likewise.
64837         (copysign_test): Use END macro without arguments.
64838         (cos_test): Likewise.
64839         (cos_test_tonearest): Likewise.
64840         (cos_test_towardzero): Likewise.
64841         (cos_test_downward): Likewise.
64842         (cos_test_upward): Likewise.
64843         (cosh_test): Likewise.
64844         (cosh_test_tonearest): Likewise.
64845         (cosh_test_towardzero): Likewise.
64846         (cosh_test_downward): Likewise.
64847         (cosh_test_upward): Likewise.
64848         (cpow_test): Use END_COMPLEX macro without arguments.
64849         (cproj_test): Likewise.
64850         (creal_test): Use END macro without arguments.
64851         (csin_test): Use END_COMPLEX macro without arguments.
64852         (csinh_test): Likewise.
64853         (csqrt_test): Likewise.
64854         (ctan_test): Likewise.
64855         (ctan_test_tonearest): Likewise.
64856         (ctan_test_towardzero): Likewise.
64857         (ctan_test_downward): Likewise.
64858         (ctan_test_upward): Likewise.
64859         (ctanh_test): Likewise.
64860         (ctanh_test_tonearest): Likewise.
64861         (ctanh_test_towardzero): Likewise.
64862         (ctanh_test_downward): Likewise.
64863         (ctanh_test_upward): Likewise.
64864         (erf_test): Use END macro without arguments.
64865         (erfc_test): Likewise.
64866         (exp_test): Likewise.
64867         (exp_test_tonearest): Likewise.
64868         (exp_test_towardzero): Likewise.
64869         (exp_test_downward): Likewise.
64870         (exp_test_upward): Likewise.
64871         (exp10_test): Likewise.
64872         (exp2_test): Likewise.
64873         (expm1_test): Likewise.
64874         (fabs_test): Likewise.
64875         (fdim_test): Likewise.
64876         (finite_test): Likewise.
64877         (floor_test): Likewise.
64878         (fma_test): Likewise.
64879         (fma_test_towardzero): Likewise.
64880         (fma_test_downward): Likewise.
64881         (fma_test_upward): Likewise.
64882         (fmax_test): Likewise.
64883         (fmin_test): Likewise.
64884         (fmod_test): Likewise.
64885         (fpclassify_test): Likewise.
64886         (frexp_test): Likewise.
64887         (gamma_test): Likewise.
64888         (hypot_test): Likewise.
64889         (ilogb_test): Likewise.
64890         (isfinite_test): Likewise.
64891         (isgreater_test): Likewise.
64892         (isgreaterequal_test): Likewise.
64893         (isinf_test): Likewise.
64894         (isless_test): Likewise.
64895         (islessequal_test): Likewise.
64896         (islessgreater_test): Likewise.
64897         (isnan_test): Likewise.
64898         (isnormal_test): Likewise.
64899         (issignaling_test): Likewise.
64900         (isunordered_test): Likewise.
64901         (j0_test): Likewise.
64902         (j1_test): Likewise.
64903         (jn_test): Likewise.
64904         (ldexp_test): Likewise.
64905         (lgamma_test): Likewise.
64906         (lrint_test): Likewise.
64907         (lrint_test_tonearest): Likewise.
64908         (lrint_test_towardzero): Likewise.
64909         (lrint_test_downward): Likewise.
64910         (lrint_test_upward): Likewise.
64911         (llrint_test): Likewise.
64912         (llrint_test_tonearest): Likewise.
64913         (llrint_test_towardzero): Likewise.
64914         (llrint_test_downward): Likewise.
64915         (llrint_test_upward): Likewise.
64916         (log_test): Likewise.
64917         (log10_test): Likewise.
64918         (log1p_test): Likewise.
64919         (log2_test): Likewise.
64920         (logb_test): Likewise.
64921         (logb_test_downward): Likewise.
64922         (lround_test): Likewise.
64923         (llround_test): Likewise.
64924         (modf_test): Likewise.
64925         (nearbyint_test): Likewise.
64926         (nextafter_test): Likewise.
64927         (nexttoward_test): Likewise.
64928         (pow_test): Likewise.
64929         (pow_test_tonearest): Likewise.
64930         (pow_test_towardzero): Likewise.
64931         (pow_test_downward): Likewise.
64932         (pow_test_upward): Likewise.
64933         (remainder_test): Likewise.
64934         (remainder_test_tonearest): Likewise.
64935         (remainder_test_towardzero): Likewise.
64936         (remainder_test_downward): Likewise.
64937         (remainder_test_upward): Likewise.
64938         (remquo_test): Likewise.
64939         (rint_test): Likewise.
64940         (rint_test_tonearest): Likewise.
64941         (rint_test_towardzero): Likewise.
64942         (rint_test_downward): Likewise.
64943         (rint_test_upward): Likewise.
64944         (round_test): Likewise.
64945         (scalb_test): Likewise.
64946         (scalbn_test): Likewise.
64947         (scalbln_test): Likewise.
64948         (signbit_test): Likewise.
64949         (sin_test): Likewise.
64950         (sin_test_tonearest): Likewise.
64951         (sin_test_towardzero): Likewise.
64952         (sin_test_downward): Likewise.
64953         (sin_test_upward): Likewise.
64954         (sincos_test): Likewise.
64955         (sinh_test): Likewise.
64956         (sinh_test_tonearest): Likewise.
64957         (sinh_test_towardzero): Likewise.
64958         (sinh_test_downward): Likewise.
64959         (sinh_test_upward): Likewise.
64960         (sqrt_test): Likewise.
64961         (tan_test): Likewise.
64962         (tan_test_tonearest): Likewise.
64963         (tan_test_towardzero): Likewise.
64964         (tan_test_downward): Likewise.
64965         (tan_test_upward): Likewise.
64966         (tanh_test): Likewise.
64967         (tgamma_test): Likewise.
64968         (trunc_test): Likewise.
64969         (y0_test): Likewise.
64970         (y1_test): Likewise.
64971         (yn_test): Likewise.
64972         (significand_test): Likewise.
64974 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
64976         [BZ #15381]
64977         * libio/genops.c (_IO_no_init): Initialize wide struct info.
64979 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
64981         [BZ #14894]
64982         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
64983         __ppc_mdoio and __ppc_mdoom.
64984         * manual/platform.texi: Document new functions __ppc_yield,
64985         __ppc_mdoio and __ppc_mdoom.
64987 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
64989         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
64990         (main): Mention "tls" pseudo-hwcap is legacy.
64991         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
64993 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
64995         * math/gen-libm-test.pl (parse_args): Output only string of
64996         arguments as text for test name, not full call or descriptions of
64997         tests for extra outputs.
64998         (generate_testfile): Do not pass function name to parse_args.
64999         Generate this_func variable from START.
65000         * math/libm-test.inc (struct test_f_f_data): Rename test_name
65001         field to arg_str.
65002         (struct test_ff_f_data): Likewise.
65003         (test_ff_f_data_nexttoward): Likewise.
65004         (struct test_fi_f_data): Likewise.
65005         (struct test_fl_f_data): Likewise.
65006         (struct test_if_f_data): Likewise.
65007         (struct test_fff_f_data): Likewise.
65008         (struct test_c_f_data): Likewise.
65009         (struct test_f_f1_data): Likewise.  Remove field extra_name.
65010         (struct test_fF_f1_data): Likewise.
65011         (struct test_ffI_f1_data): Likewise.
65012         (struct test_c_c_data): Rename test_name field to arg_str.
65013         (struct test_cc_c_data): Likewise.
65014         (struct test_f_i_data): Likewise.
65015         (struct test_ff_i_data): Likewise.
65016         (struct test_f_l_data): Likewise.
65017         (struct test_f_L_data): Likewise.
65018         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
65019         and extra2_name.
65020         (COMMON_TEST_SETUP): New macro.
65021         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
65022         (COMMON_TEST_CLEANUP): Likewise.
65023         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
65024         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
65025         macros.
65026         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
65027         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
65028         macros.
65029         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
65030         (RUN_TEST_fff_f): Take argument string.  Call new setup and
65031         cleanup macros.
65032         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
65033         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
65034         macros.
65035         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
65036         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
65037         macros.
65038         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
65039         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
65040         cleanup macros.
65041         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
65042         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
65043         cleanup macros.
65044         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
65045         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
65046         cleanup macros.
65047         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
65048         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
65049         macros.
65050         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
65051         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
65052         macros.
65053         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
65054         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
65055         macros.
65056         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
65057         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
65058         cleanup macros.
65059         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
65060         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
65061         cleanup macros.
65062         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
65063         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
65064         macros.
65065         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
65066         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
65067         cleanup macros.
65068         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
65069         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
65070         macros.
65071         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
65072         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
65073         macros.
65074         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
65075         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
65076         cleanup macros.
65077         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
65079 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
65081         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
65082         to _sifields.sigfault.
65083         (si_addr_lsb): Define new macro.
65084         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65085         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65086         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
65088 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
65090         [BZ #15441]
65091         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
65092         returns -1.
65093         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
65094         null return -1.
65095         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
65096         loading the domain.
65098 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
65100         * math/gen-libm-test.pl (parse_args): Do not include expected
65101         result in test name.
65102         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
65103         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65104         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65105         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65106         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65109 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65111         * benchtests/Makefile: Sort function entries.
65113         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
65114         tanh, asinh, acosh, atanh.
65115         * benchtests/acos-inputs: New file.
65116         * benchtests/acosh-inputs: New file.
65117         * benchtests/asin-inputs: New file.
65118         * benchtests/asinh-inputs: New file.
65119         * benchtests/atanh-inputs: New file.
65120         * benchtests/cosh-inputs: New file.
65121         * benchtests/log-inputs: New file.
65122         * benchtests/sinh-inputs: New file.
65123         * benchtests/tanh-inputs: New file.
65125 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
65127         [BZ #15339]
65128         * posix/tst-getaddrinfo4.c: New test.
65129         * posix/Makefile (tests): Add it.
65131 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65133         [BZ #15339]
65134         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
65135         when no services were used.
65136         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
65137         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
65139 2013-05-21  Andreas Schwab  <schwab@suse.de>
65141         [BZ #15014]
65142         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
65143         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
65144         successful.
65145         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
65146         redundant variable declarations and reallocation of buffer when
65147         parsing as IPv6 address.  Always set NSS status when called from
65148         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
65149         buffer too small.  Correct computation of needed size.
65150         * nss/Makefile (tests): Add test-digits-dots.
65151         * nss/test-digits-dots.c: New test.
65153 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65155         * benchtests/Makefile: Remove instructions for adding
65156         benchmark tests.
65157         * benchtests/README: New file to explain how to execute and
65158         enhance the benchmark tests.
65160 2013-05-21  Andreas Schwab  <schwab@suse.de>
65162         [BZ #15493]
65163         * setjmp/Makefile (tests): Add tst-sigsetjmp.
65164         * setjmp/tst-sigsetjmp.c: New test.
65166 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65168         * sysdeps/x86_64/memset.S (memset): New implementation.
65169         (__bzero): Likewise.
65170         (__memset_tail): New function.
65172 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65174         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
65175         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
65176         __memcpy_sse2_unaligned ifunc selection.
65177         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65178         Add memcpy-sse2-unaligned.S.
65179         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65180         Add: __memcpy_sse2_unaligned.
65182 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
65184         [BZ #15490]
65185         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65186         math_force_eval before restoring floating-point envrionment.
65187         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
65188         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
65189         Likewise.
65190         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
65191         <math_private.h>.
65192         (__nearbyintl): Use math_force_eval before restoring
65193         floating-point environment.
65194         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
65196         * math/gen-libm-test.pl (special_functions): Remove.
65197         (parse_args): Don't handle TEST_extra.  Handle functions with no
65198         return value.
65199         * math/libm-test.inc (struct test_sincos_data): Replace with
65200         struct test_fFF_11_data.
65201         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
65202         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
65203         (sincos_test_data): Change element type to struct
65204         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
65205         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
65206         RUN_TEST_LOOP_sincos.
65207         * math/README.libm-test: Don't mention special handling of
65208         individual functions.
65209         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
65210         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65211         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65212         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65213         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65216         * math/gen-libm-test.pl (get_variable): Remove function.
65217         (parse_args): Don't show pointer parameters to call in test
65218         names.  Use "extra output N" in test names for extra outputs
65219         rather than naming variables.
65221 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
65223         [BZ #15488]
65224         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
65225         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
65226         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
65227         double tests.
65228         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
65229         disable.
65230         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
65231         check_long_double.
65233         * math/gen-libm-test.pl (@tests): Remove variable.
65234         ($count): Likewise.
65235         (new_test): Remove function.
65236         (show_exceptions): New function.
65237         (special_functions): Use show_exceptions instead of new_test.
65238         (parse_args): Likewise.
65239         (generate_testfile): Pass only function name in generated call to
65240         print_max_error or print_complex_max_error.
65241         (get_ulps): Do not handle complex tests specially.
65242         (output_test): Rename to ...
65243         (get_all_ulps_for_test): ... this.  Return a string rather than
65244         printing to a file.  Require ulps to be present.
65245         (output_ulps): Generate arrays rather than #defines.
65246         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
65247         (struct ulp_data): New type.
65248         (BUILD_COMPLEX_ULP): Remove macro.
65249         (compare_ulp_data): New function.
65250         (find_ulps): Likewise.
65251         (find_test_ulps): Likewise.
65252         (find_function_ulps): Likewise.
65253         (find_complex_function_ulps): Likewise.
65254         (print_max_error): Determine allowed ulps using
65255         find_function_ulps.
65256         (print_complex_max_error): Determine allowed ulps using
65257         find_complex_function_ulps.
65258         (check_float_internal): Determine max ulps using find_test_ulps.
65259         (check_float): Do not take max_ulp parameter.  Update call to
65260         check_float_internal.
65261         (check_complex): Likewise.
65262         (check_int): Do not take max_ulp parameter.
65263         (check_long): Likewise.
65264         (check_bool): Likewise.
65265         (check_longlong): Likewise.
65266         (struct test_f_f_data): Remove max_ulp field.
65267         (struct test_ff_f_data): Likewise.
65268         (struct test_ff_f_data_nexttoward): Likewise.
65269         (struct test_fi_f_data): Likewise.
65270         (struct test_fl_f_data): Likewise.
65271         (struct test_if_f_data): Likewise.
65272         (struct test_fff_f_data): Likewise.
65273         (struct test_c_f_data): Likewise.
65274         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
65275         (struct test_fF_f1_data): Likewise.
65276         (struct test_ffI_f1_data): Likewise.
65277         (struct test_c_c_data): Remove max_ulp field.
65278         (struct test_cc_c_data): Likewise.
65279         (struct test_f_i_data): Likewise.
65280         (struct test_ff_i_data): Likewise.
65281         (struct test_f_l_data): Likewise.
65282         (struct test_f_L_data): Likewise.
65283         (struct test_sincos_data): Likewise.
65284         (RUN_TEST_f_f): Do not handle ulps.
65285         (RUN_TEST_LOOP_f_f): Likewise.
65286         (RUN_TEST_2_f): Likewise.
65287         (RUN_TEST_LOOP_2_f): Likewise.
65288         (RUN_TEST_fff_f): Likewise.
65289         (RUN_TEST_LOOP_fff_f): Likewise.
65290         (RUN_TEST_c_f): Likewise.
65291         (RUN_TEST_LOOP_c_f): Likewise.
65292         (RUN_TEST_f_f1): Likewise.
65293         (RUN_TEST_LOOP_f_f1): Likewise.
65294         (RUN_TEST_fF_f1): Likewise.
65295         (RUN_TEST_LOOP_fF_f1): Likewise.
65296         (RUN_TEST_fI_f1): Likewise.
65297         (RUN_TEST_LOOP_fI_f1): Likewise.
65298         (RUN_TEST_ffI_f1): Likewise.
65299         (RUN_TEST_LOOP_ffI_f1): Likewise.
65300         (RUN_TEST_c_c): Likewise.
65301         (RUN_TEST_LOOP_c_c): Likewise.
65302         (RUN_TEST_cc_c): Likewise.
65303         (RUN_TEST_LOOP_cc_c): Likewise.
65304         (RUN_TEST_f_i): Likewise.
65305         (RUN_TEST_LOOP_f_i): Likewise.
65306         (RUN_TEST_f_i_tg): Likewise.
65307         (RUN_TEST_LOOP_f_i_tg): Likewise.
65308         (RUN_TEST_ff_i_tg): Likewise.
65309         (RUN_TEST_LOOP_ff_i_tg): Likewise.
65310         (RUN_TEST_f_b): Likewise.
65311         (RUN_TEST_LOOP_f_b): Likewise.
65312         (RUN_TEST_f_b_tg): Likewise.
65313         (RUN_TEST_LOOP_f_b_tg): Likewise.
65314         (RUN_TEST_f_l): Likewise.
65315         (RUN_TEST_LOOP_f_l): Likewise.
65316         (RUN_TEST_f_L): Likewise.
65317         (RUN_TEST_LOOP_f_L): Likewise.
65318         (RUN_TEST_sincos): Likewise.
65319         (RUN_TEST_LOOP_sincos): Likewise.
65321 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
65323         [BZ #15480]
65324         [BZ #15485]
65325         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
65326         main case of finite arguments, set rounding mode to FE_TONEAREST
65327         and discard exceptions.
65328         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
65329         exceptions.
65330         (remainder_tonearest_test_data): New variable.
65331         (remainder_test_tonearest): New function.
65332         (remainder_towardzero_test_data): New variable.
65333         (remainder_test_towardzero): New function.
65334         (remainder_downward_test_data): New variable.
65335         (remainder_test_downward): New function.
65336         (remainder_upward_test_data): New variable.
65337         (remainder_test_upward): New function.
65338         (main): Call the new test functions.
65340         * math/libm-test.inc (struct test_f_f1_data): Remove field
65341         extra_init.
65342         (struct test_fF_f1_data): Likewise.
65343         (struct test_ffI_f1_data): Likewise.
65344         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
65345         based on value of EXTRA_EXPECTED.
65346         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
65347         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
65348         EXTRA_VAR based on value of EXTRA_EXPECTED.
65349         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
65350         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
65351         EXTRA_VAR based on value of EXTRA_EXPECTED.
65352         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
65353         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
65354         EXTRA_VAR based on value of EXTRA_EXPECTED.
65355         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
65356         * math/gen-libm-test.pl (parse_args): Don't output initializers
65357         for extra output values.
65359         * math/libm-test.inc (check_int): Expect result to be exactly
65360         equal to expected value and do not handle ulps.
65361         (check_long): Likewise.
65362         (check_longlong): Likewise.
65364         * math/libm-test.inc (ceil_test_data): Test for "inexact"
65365         exceptions.
65366         (cimag_test_data): Likewise.
65367         (conj_test_data): Likewise.
65368         (copysign_test_data): Likewise.
65369         (cproj_test_data): Likewise.
65370         (creal_test_data): Likewise.
65371         (fabs_test_data): Likewise.
65372         (fdim_test_data): Likewise.
65373         (finite_test_data): Likewise.
65374         (floor_test_data): Likewise.
65375         (fmax_test_data): Likewise.
65376         (fmin_test_data): Likewise.
65377         (fmod_test_data): Likewise.
65378         (fpclassify_test_data): Likewise.
65379         (frexp_test_data): Likewise.
65380         (ilogb_test_data): Likewise.
65381         (isfinite_test_data): Likewise.
65382         (isgreater_test_data): Likewise.
65383         (isgreaterequal_test_data): Likewise.
65384         (isinf_test_data): Likewise.
65385         (isless_test_data): Likewise.
65386         (islessequal_test_data): Likewise.
65387         (islessgreater_test_data): Likewise.
65388         (isnan_test_data): Likewise.
65389         (isnormal_test_data): Likewise.
65390         (issignaling_test_data): Likewise.
65391         (isunordered_test_data): Likewise.
65392         (ldexp_test_data): Likewise.
65393         (lrint_test_data): Likewise.
65394         (lrint_test_data) [TEST_FLOAT]: Disable one test.
65395         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
65396         (lrint_tonearest_test_data): Test for "inexact" exceptions.
65397         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65398         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
65399         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65400         test input.
65401         (lrint_towardzero_test_data): Test for "inexact" exceptions.
65402         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65403         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
65404         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
65405         that test input.
65406         (lrint_downward_test_data): Test for "inexact" exceptions.
65407         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65408         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
65409         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65410         test input.
65411         (lrint_upward_test_data): Test for "inexact" exceptions.
65412         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
65413         test input.
65414         (llrint_test_data): Test for "inexact" exceptions.
65415         (llrint_test_data) [TEST_FLOAT]: Disable one test.
65416         (llrint_tonearest_test_data): Test for "inexact" exceptions.
65417         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65418         (llrint_towardzero_test_data): Test for "inexact" exceptions.
65419         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65420         (llrint_downward_test_data): Test for "inexact" exceptions.
65421         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65422         (llrint_upward_test_data): Test for "inexact" exceptions.
65423         (logb_test_data): Likewise.
65424         (logb_downward_test_data): Likewise.
65425         (nextafter_test_data): Likewise.
65426         (nexttoward_test_data): Likewise.
65427         (remainder_test_data): Likewise.
65428         (remquo_test_data): Likewise.
65429         (scalbn_test_data): Likewise.
65430         (scalbln_test_data): Likewise.
65431         (signbit_test_data): Likewise.
65432         (sqrt_test_data): Likewise.
65433         (significand_test_data): Likewise.
65435 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65437         [BZ #15424]
65438         * benchtests/bench-modf.c (struct args): Mark arg0 as
65439         volatile.
65440         * scripts/bench.pl: Mark members of struct args as volatile.
65442 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65444         [BZ # 15497]
65445         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
65446         negative infinity on POWER6 or lower.
65447         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
65449 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
65451         [BZ #15442]
65452         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
65453         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
65454         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
65455         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
65456         (_FP_SETQNAN): New macro.
65457         (_FP_SETQNAN_SEMIRAW): Likewise.
65458         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
65459         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
65460         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
65461         (FP_EXTEND): Use _FP_FRAC_SNANP.
65462         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
65463         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
65464         into account.
65465         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65466         New macro.
65467         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65468         Likewise.
65470 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65472         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
65473         with DIVIDE_BY_ZERO_EXCEPTION.
65474         (gamma_test_data): Likewise.
65475         (lgamma_test_data): Likewise.
65476         (log_test_data): Likewise.
65477         (log10_test_data): Likewise.
65478         (log2_test_data): Likewise.
65479         (tgamma_test_data): Likewise.
65481         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
65482         (acos_test_tonearest): Likewise.
65483         (acos_test_towardzero): Likewise.
65484         (acos_test_downward): Likewise.
65485         (acos_test_upward): Likewise.
65486         (acosh_test): Likewise.
65487         (asin_test): Likewise.
65488         (asin_test_tonearest): Likewise.
65489         (asin_test_towardzero): Likewise.
65490         (asin_test_downward): Likewise.
65491         (asin_test_upward): Likewise.
65492         (asinh_test): Likewise.
65493         (atan_test): Likewise.
65494         (atanh_test): Likewise.
65495         (atan2_test): Likewise.
65496         (cabs_test): Likewise.
65497         (cacos_test): Likewise.
65498         (cacosh_test): Likewise.
65499         (casin_test): Likewise.
65500         (casinh_test): Likewise.
65501         (catan_test): Likewise.
65502         (catanh_test): Likewise.
65503         (cbrt_test): Likewise.
65504         (ccos_test): Likewise.
65505         (ccosh_test): Likewise.
65506         (cexp_test): Likewise.
65507         (clog_test): Likewise.
65508         (clog10_test): Likewise.
65509         (cos_test): Likewise.
65510         (cos_test_tonearest): Likewise.
65511         (cos_test_towardzero): Likewise.
65512         (cos_test_downward): Likewise.
65513         (cos_test_upward): Likewise.
65514         (cosh_test): Likewise.
65515         (cosh_test_tonearest): Likewise.
65516         (cosh_test_towardzero): Likewise.
65517         (cosh_test_downward): Likewise.
65518         (cosh_test_upward): Likewise.
65519         (cpow_test): Likewise.
65520         (csin_test): Likewise.
65521         (csinh_test): Likewise.
65522         (csqrt_test): Likewise.
65523         (ctan_test): Likewise.
65524         (ctan_test_tonearest): Likewise.
65525         (ctan_test_towardzero): Likewise.
65526         (ctan_test_downward): Likewise.
65527         (ctan_test_upward): Likewise.
65528         (ctanh_test): Likewise.
65529         (ctanh_test_tonearest): Likewise.
65530         (ctanh_test_towardzero): Likewise.
65531         (ctanh_test_downward): Likewise.
65532         (ctanh_test_upward): Likewise.
65533         (erf_test): Likewise.
65534         (erfc_test): Likewise.
65535         (exp_test): Likewise.
65536         (exp_test_tonearest): Likewise.
65537         (exp_test_towardzero): Likewise.
65538         (exp_test_downward): Likewise.
65539         (exp_test_upward): Likewise.
65540         (exp10_test): Likewise.
65541         (exp2_test): Likewise.
65542         (expm1_test): Likewise.
65543         (fmod_test): Likewise.
65544         (gamma_test): Likewise.
65545         (hypot_test): Likewise.
65546         (j0_test): Likewise.
65547         (j1_test): Likewise.
65548         (jn_test): Likewise.
65549         (lgamma_test): Likewise.
65550         (log_test): Likewise.
65551         (log10_test): Likewise.
65552         (log1p_test): Likewise.
65553         (log2_test): Likewise.
65554         (logb_test_downward): Likewise.
65555         (pow_test): Likewise.
65556         (pow_test_tonearest): Likewise.
65557         (pow_test_towardzero): Likewise.
65558         (pow_test_downward): Likewise.
65559         (pow_test_upward): Likewise.
65560         (remainder_test): Likewise.
65561         (remquo_test): Likewise.
65562         (sin_test): Likewise.
65563         (sin_test_tonearest): Likewise.
65564         (sin_test_towardzero): Likewise.
65565         (sin_test_downward): Likewise.
65566         (sin_test_upward): Likewise.
65567         (sincos_test): Likewise.
65568         (sinh_test): Likewise.
65569         (sinh_test_tonearest): Likewise.
65570         (sinh_test_towardzero): Likewise.
65571         (sinh_test_downward): Likewise.
65572         (sinh_test_upward): Likewise.
65573         (sqrt_test): Likewise.
65574         (tan_test): Likewise.
65575         (tan_test_tonearest): Likewise.
65576         (tan_test_towardzero): Likewise.
65577         (tan_test_downward): Likewise.
65578         (tan_test_upward): Likewise.
65579         (tanh_test): Likewise.
65580         (tgamma_test): Likewise.
65581         (y0_test): Likewise.
65582         (y1_test): Likewise.
65583         (yn_test): Likewise.
65585         * math/gen-libm-test.pl (adjust_arg): Remove function.
65586         (special_function): Remove argument $in_func.  Only handle
65587         generating output for tables of tests, not inside functions.
65588         (parse_args): Likewise.
65589         (generate_testfile): Remove variable $in_func.  Update call to
65590         parse_args.
65591         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
65592         (MINUS_ZERO_INIT): Rename macro to minus_zero.
65593         (PLUS_INFTY_INIT): Rename macro to plus_infty.
65594         (MINUS_INFTY_INIT): Rename macro to minus_infty.
65595         (QNAN_VALUE_INIT): Rename macro to qnan_value.
65596         (MAX_VALUE_INIT): Rename macro to max_value.
65597         (MIN_VALUE_INIT): Rename macro to min_value.
65598         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
65599         (plus_zero): Remove variable.
65600         (minus_zero): Likewise.
65601         (plus_infty): Likewise.
65602         (minus_infty): Likewise.
65603         (qnan_value): Likewise.
65604         (max_value): Likewise.
65605         (min_value): Likewise.
65606         (min_subnorm_value): Likewise.
65608 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65610         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
65611         uint64_t or uint32_t usage.
65612         * crypt/sha256-block.c: Likewise.
65613         * crypt/sha256-crypt.c: Likewise.
65614         * crypt/sha256.c: Likewise.
65615         * crypt/sha512-block.c: Likewise.
65616         * crypt/sha512-crypt.c: Likewise.
65617         * crypt/sha512.c: Likewise.
65618         * debug/backtrace-tst.c: Likewise.
65619         * debug/pcprofiledump.c: Likewise.
65620         * elf/cache.c: Likewise.
65621         * elf/dl-cache.c: Likewise.
65622         * elf/dl-misc.c: Likewise.
65623         * elf/dl-profile.c: Likewise.
65624         * elf/dl-support.c: Likewise.
65625         * elf/ldconfig.c: Likewise.
65626         * elf/sprof.c: Likewise.
65627         * iconv/dummy-repertoire.c: Likewise.
65628         * iconv/iconv_charmap.c: Likewise.
65629         * iconv/skeleton.c: Likewise.
65630         * iconvdata/8bit-generic.c: Likewise.
65631         * iconvdata/cp737.h: Likewise.
65632         * iconvdata/cp775.h: Likewise.
65633         * iconvdata/ibm1008.h: Likewise.
65634         * iconvdata/ibm1025.h: Likewise.
65635         * iconvdata/ibm1046.h: Likewise.
65636         * iconvdata/ibm1097.h: Likewise.
65637         * iconvdata/ibm1112.h: Likewise.
65638         * iconvdata/ibm1122.h: Likewise.
65639         * iconvdata/ibm1123.h: Likewise.
65640         * iconvdata/ibm1124.h: Likewise.
65641         * iconvdata/ibm1129.h: Likewise.
65642         * iconvdata/ibm1130.h: Likewise.
65643         * iconvdata/ibm1132.h: Likewise.
65644         * iconvdata/ibm1133.h: Likewise.
65645         * iconvdata/ibm1137.h: Likewise.
65646         * iconvdata/ibm1140.h: Likewise.
65647         * iconvdata/ibm1141.h: Likewise.
65648         * iconvdata/ibm1142.h: Likewise.
65649         * iconvdata/ibm1143.h: Likewise.
65650         * iconvdata/ibm1144.h: Likewise.
65651         * iconvdata/ibm1145.h: Likewise.
65652         * iconvdata/ibm1146.h: Likewise.
65653         * iconvdata/ibm1147.h: Likewise.
65654         * iconvdata/ibm1148.h: Likewise.
65655         * iconvdata/ibm1149.h: Likewise.
65656         * iconvdata/ibm1153.h: Likewise.
65657         * iconvdata/ibm1154.h: Likewise.
65658         * iconvdata/ibm1155.h: Likewise.
65659         * iconvdata/ibm1156.h: Likewise.
65660         * iconvdata/ibm1157.h: Likewise.
65661         * iconvdata/ibm1158.h: Likewise.
65662         * iconvdata/ibm1160.h: Likewise.
65663         * iconvdata/ibm1161.h: Likewise.
65664         * iconvdata/ibm1162.h: Likewise.
65665         * iconvdata/ibm1163.h: Likewise.
65666         * iconvdata/ibm1164.h: Likewise.
65667         * iconvdata/ibm1166.h: Likewise.
65668         * iconvdata/ibm1167.h: Likewise.
65669         * iconvdata/ibm12712.h: Likewise.
65670         * iconvdata/ibm1390.h: Likewise.
65671         * iconvdata/ibm1399.h: Likewise.
65672         * iconvdata/ibm16804.h: Likewise.
65673         * iconvdata/ibm4517.h: Likewise.
65674         * iconvdata/ibm4899.h: Likewise.
65675         * iconvdata/ibm4909.h: Likewise.
65676         * iconvdata/ibm4971.h: Likewise.
65677         * iconvdata/ibm5347.h: Likewise.
65678         * iconvdata/ibm803.h: Likewise.
65679         * iconvdata/ibm856.h: Likewise.
65680         * iconvdata/ibm901.h: Likewise.
65681         * iconvdata/ibm902.h: Likewise.
65682         * iconvdata/ibm9030.h: Likewise.
65683         * iconvdata/ibm9066.h: Likewise.
65684         * iconvdata/ibm921.h: Likewise.
65685         * iconvdata/ibm922.h: Likewise.
65686         * iconvdata/ibm9448.h: Likewise.
65687         * iconvdata/isiri-3342.h: Likewise.
65688         * iconvdata/jis0201.h: Likewise.
65689         * include/link.h: Likewise.
65690         * include/netdb.h: Likewise.
65691         * inet/check_native.c: Likewise.
65692         * inet/check_pf.c: Likewise.
65693         * inet/getipv4sourcefilter.c: Likewise.
65694         * inet/getnameinfo.c: Likewise.
65695         * inet/getsourcefilter.c: Likewise.
65696         * inet/htonl.c: Likewise.
65697         * inet/setipv4sourcefilter.c: Likewise.
65698         * inet/setsourcefilter.c: Likewise.
65699         * inet/test-inet6_opt.c: Likewise.
65700         * inet/tst-network.c: Likewise.
65701         * locale/C-collate.c: Likewise.
65702         * locale/C-ctype.c: Likewise.
65703         * locale/C-time.c: Likewise.
65704         * locale/C-translit.h: Likewise.
65705         * locale/loadarchive.c: Likewise.
65706         * locale/programs/3level.h: Likewise.
65707         * locale/programs/charmap.c: Likewise.
65708         * locale/programs/charmap.h: Likewise.
65709         * locale/programs/ld-address.c: Likewise.
65710         * locale/programs/ld-collate.c: Likewise.
65711         * locale/programs/ld-ctype.c: Likewise.
65712         * locale/programs/ld-identification.c: Likewise.
65713         * locale/programs/ld-measurement.c: Likewise.
65714         * locale/programs/ld-messages.c: Likewise.
65715         * locale/programs/ld-monetary.c: Likewise.
65716         * locale/programs/ld-name.c: Likewise.
65717         * locale/programs/ld-numeric.c: Likewise.
65718         * locale/programs/ld-paper.c: Likewise.
65719         * locale/programs/ld-telephone.c: Likewise.
65720         * locale/programs/ld-time.c: Likewise.
65721         * locale/programs/linereader.c: Likewise.
65722         * locale/programs/locale.c: Likewise.
65723         * locale/programs/locarchive.c: Likewise.
65724         * locale/programs/locfile.h: Likewise.
65725         * locale/programs/repertoire.c: Likewise.
65726         * locale/programs/simple-hash.c: Likewise.
65727         * locale/programs/simple-hash.h: Likewise.
65728         * malloc/memusage.c: Likewise.
65729         * malloc/memusagestat.c: Likewise.
65730         * nis/nis_defaults.c: Likewise.
65731         * nis/nis_hash.c: Likewise.
65732         * nis/nis_print.c: Likewise.
65733         * nis/nis_xdr.c: Likewise.
65734         * nscd/connections.c: Likewise.
65735         * nscd/hstcache.c: Likewise.
65736         * nscd/nscd_gethst_r.c: Likewise.
65737         * nscd/nscd_getserv_r.c: Likewise.
65738         * nscd/nscd_helper.c: Likewise.
65739         * nscd/servicescache.c: Likewise.
65740         * nss/makedb.c: Likewise.
65741         * nss/nss_db/db-XXX.c: Likewise.
65742         * nss/nss_db/db-initgroups.c: Likewise.
65743         * nss/nss_db/db-netgrp.c: Likewise.
65744         * nss/nss_files/files-network.c: Likewise.
65745         * nss/nss_files/files-parse.c: Likewise.
65746         * posix/bug-regex5.c: Likewise.
65747         * posix/fnmatch_loop.c: Likewise.
65748         * posix/regcomp.c: Likewise.
65749         * posix/regexec.c: Likewise.
65750         * posix/tst-rfc3484-2.c: Likewise.
65751         * posix/tst-rfc3484-3.c: Likewise.
65752         * posix/tst-rfc3484.c: Likewise.
65753         * resolv/nss_dns/dns-canon.c: Likewise.
65754         * resolv/nss_dns/dns-network.c: Likewise.
65755         * resolv/res_init.c: Likewise.
65756         * resolv/res_mkquery.c: Likewise.
65757         * resolv/tst-aton.c: Likewise.
65758         * stdlib/cxa_atexit.c: Likewise.
65759         * stdlib/cxa_finalize.c: Likewise.
65760         * stdlib/gen-fpioconst.c: Likewise.
65761         * stdlib/strtol_l.c: Likewise.
65762         * string/tst-endian.c: Likewise.
65763         * sunrpc/auth_des.c: Likewise.
65764         * sunrpc/clnt_udp.c: Likewise.
65765         * sunrpc/rtime.c: Likewise.
65766         * sunrpc/svcauth_des.c: Likewise.
65767         * sunrpc/xdr.c: Likewise.
65768         * sunrpc/xdr_intXX_t.c: Likewise.
65769         * sunrpc/xdr_rec.c: Likewise.
65770         * sysdeps/generic/ldconfig.h: Likewise.
65771         * sysdeps/generic/ldsodefs.h: Likewise.
65772         * sysdeps/generic/memusage.h: Likewise.
65773         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65774         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
65775         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
65776         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65777         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65778         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65779         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65780         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65781         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65782         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65783         * sysdeps/posix/getaddrinfo.c: Likewise.
65784         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65785         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65786         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65787         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65788         * sysdeps/powerpc/test-gettimebase.c: Likewise.
65789         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
65790         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
65791         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
65792         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
65793         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
65794         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65795         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65796         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
65797         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
65798         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
65799         * sysdeps/x86_64/dl-tls.h: Likewise.
65800         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
65801         * time/alt_digit.c: Likewise.
65802         * time/era.c: Likewise.
65803         * wcsmbs/tst-c16c32-1.c: Likewise.
65805 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65807         * math/libm-test.inc (struct test_sincos_data): New type.
65808         (RUN_TEST_LOOP_sincos): New macro.
65809         (sincos_test_data): New variable.
65810         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
65812 2013-05-16  Richard Henderson  <rth@redhat.com>
65814         * math/atest-exp2.c (LIMB64): New macro.
65815         (CONSTSZ): New macro.
65816         (mp_exp1, mp_exp_m1, mp_log2): New variables.
65817         (hexdig): Move ...
65818         (print_mpn_fp): ... to function scope.
65819         (read_mpn_hex): Remove.
65820         (get_log2): Remove.
65821         (exp2_mpn): Use mp_log2.
65822         (main): Use mp_exp1.
65824 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65826         * math/libm-test.inc: Remove comment about not testing "inexact"
65827         exceptions.
65828         (INEXACT_EXCEPTION): New macro.
65829         (NO_INEXACT_EXCEPTION): Likewise.
65830         (INVALID_EXCEPTION_OK): Update value.
65831         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65832         (OVERFLOW_EXCEPTION_OK): Likewise.
65833         (UNDERFLOW_EXCEPTION_OK): Likewise.
65834         (IGNORE_ZERO_INF_SIGN): Likewise.
65835         (ERRNO_UNCHANGED): Likewise.
65836         (ERRNO_EDOM): Likewise.
65837         (ERRNO_ERANGE): Likewise.
65838         (test_exceptions): Handle testing "inexact" exceptions.
65839         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
65840         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
65841         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
65842         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
65843         INEXACT_EXCEPTION.
65844         (rint_towardzero_test_data): Likewise.
65845         (rint_downward_test_data): Likewise.
65846         (rint_upward_test_data): Likewise.
65848         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
65849         with OVERFLOW_EXCEPTION.
65850         (exp10_test_data): Likewise.
65851         (exp2_test_data): Likewise.
65852         (expm1_test_data): Likewise.
65853         (lgamma_test_data): Likewise.
65854         (pow_test_data): Likewise.
65855         (tgamma_test_data): Likewise.
65856         (yn_test_data): Remove duplicate test of overflow.
65858         * math/libm-test.inc (struct test_cc_c_data): New type.
65859         (RUN_TEST_LOOP_cc_c): New macro.
65860         (cpow_test_data): New variable.
65861         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
65863         * math/libm-test.inc (struct test_f_L_data): New type.
65864         (RUN_TEST_LOOP_f_L): New macro.
65865         (llrint_test_data): New variable.
65866         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
65867         (llrint_tonearest_test_data): New variable.
65868         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
65869         (llrint_towardzero_test_data): New variable.
65870         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
65871         (llrint_downward_test_data): New variable.
65872         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
65873         (llrint_upward_test_data): New variable.
65874         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
65875         (llround_test_data): New variable.
65876         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
65878 2013-05-13  Peter Collingbourne  <pcc@google.com>
65880         * math/atest-exp2.c (get_log2): Remove const attribute.
65882 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65884         * math/libm-test.inc (struct test_f_l_data): New type.
65885         (RUN_TEST_LOOP_f_l): New macro.
65886         (lrint_test_data): New variable.
65887         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
65888         (lrint_tonearest_test_data): New variable.
65889         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
65890         (lrint_towardzero_test_data): New variable.
65891         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
65892         (lrint_downward_test_data): New variable.
65893         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
65894         (lrint_upward_test_data): New variable.
65895         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
65896         (lround_test_data): New variable.
65897         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
65899 2013-05-15  Peter Collingbourne  <pcc@google.com>
65901         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
65902         (EXTRACT_WORDS64) Use where appropriate.
65903         (INSERT_WORDS64) Likewise.
65905         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
65906         constraints with x constraints.
65907         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
65909         * malloc/obstack.c (_obstack_compat): Add initializer.
65911 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
65913         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
65914         si_trapno and add si_addr_lsb to _sifields.sigfault.
65915         (si_trapno): Remove macro.
65916         (si_addr_lsb): Define new macro.
65917         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65919 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65921         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
65922         instead of TEST_f_l.
65923         (llrint_test_tonearest): Likewise.
65924         (llrint_test_towardzero): Likewise.
65925         (llrint_test_downward): Likewise.
65926         (llrint_test_upward): Likewise.
65927         (llround_test): Likewise.
65929         * math/libm-test.inc (struct test_f_i_data): Add comment.
65930         (RUN_TEST_LOOP_f_b): New macro.
65931         (RUN_TEST_LOOP_f_b_tg): Likewise.
65932         (finite_test_data): New variable.
65933         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
65934         (isfinite_test_data): New variable.
65935         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65936         (isinf_test_data): New variable.
65937         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65938         (isnan_test_data): New variable.
65939         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65940         (isnormal_test_data): New variable.
65941         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65942         (issignaling_test_data): New variable.
65943         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65944         (signbit_test_data): New variable.
65945         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65947         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
65948         with INVALID_EXCEPTION.
65949         (acosh_test_data): Likewise.
65950         (asin_test_data): Likewise.
65951         (atanh_test_data): Likewise.
65952         (fmod_test_data): Likewise.
65953         (log_test_data): Likewise.
65954         (log10_test_data): Likewise.
65955         (log2_test_data): Likewise.
65956         (pow_test_data): Likewise.
65957         (sqrt_test_data): Likewise.
65958         (y0_test_data): Likewise.
65959         (y1_test_data): Likewise.
65960         (yn_test_data): Likewise.
65962         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
65963         function contents.
65965         * math/libm-test.inc (struct test_ff_i_data): New type.
65966         (RUN_TEST_LOOP_ff_i_tg): New macro.
65967         (isgreater_test_data): New variable.
65968         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65969         (isgreaterequal_test_data): New variable.
65970         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65971         (isless_test_data): New variable.
65972         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65973         (islessequal_test_data): New variable.
65974         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65975         (islessgreater_test_data): New variable.
65976         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65977         (isunordered_test_data): New variable.
65978         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65980 2013-05-14  David S. Miller  <davem@davemloft.net>
65982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65984 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
65986         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
65988         * math/libm-test.inc (struct test_fF_f1_data): Change type of
65989         extra_test to int.
65990         (struct test_f_i_data): Change type of max_ulp to int.
65992         * math/libm-test.inc (test_ffI_f1_data): New type.
65993         (RUN_TEST_LOOP_ffI_f1): New macro.
65994         (remquo_test_data): New variable.
65995         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
65997         * setjmp/tst-setjmp-fp.c: New file.
65998         * setjmp/Makefile (tests): Add tst-setjmp-fp.
65999         (link-libm): New variable.
66000         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
66002         * math/libm-test.inc (struct test_f_i_data): New type.
66003         (RUN_TEST_LOOP_f_i): New macro.
66004         (RUN_TEST_LOOP_f_i_tg): Likewise.
66005         (fpclassify_test_data): New variable.
66006         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
66007         (ilogb_test_data): New variable.
66008         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
66010         * math/libm-test.inc (scalbln_test): Correct function name in END
66011         call.
66013         * math/libm-test.inc (struct test_f_f1_data): Add comment.
66014         (RUN_TEST_LOOP_fI_f1): New macro.
66015         (frexp_test_data): New variable.
66016         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
66018         * math/libm-test.inc (struct test_fF_f1_data): New type.
66019         (RUN_TEST_LOOP_fF_f1): New macro.
66020         (modf_test_data): New variable.
66021         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
66023         * math/libm-test.inc (struct test_f_f1_data): New type.
66024         (RUN_TEST_LOOP_f_f1): New macro.
66025         (gamma_test_data): New variable.
66026         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
66027         (lgamma_test_data): New variable.
66028         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
66030 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
66032         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
66033         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
66034         (main): Comment "tls" pseudo-hwcap.
66036 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
66038         * math/libm-test.inc (struct test_fl_f_data): New type.
66039         (RUN_TEST_LOOP_fl_f): New variable.
66040         (scalbln_test_data): New variable.
66041         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
66043         * math/libm-test.inc (struct test_fi_f_data): New type.
66044         (RUN_TEST_LOOP_fi_f): New macro.
66045         (ldexp_test_data): New variable.
66046         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
66047         (scalbn_test_data): New variable.
66048         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
66050         * math/libm-test.inc (struct test_c_f_data): New type.
66051         (RUN_TEST_LOOP_c_f): New macro.
66052         (cabs_test_data): New variable.
66053         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
66054         (carg_test_data): New variable.
66055         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
66056         (cimag_test_data): New variable.
66057         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
66058         (creal_test_data): New variable.
66059         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
66061         * math/libm-test.inc (struct test_if_f_data): New type.
66062         (RUN_TEST_LOOP_if_f): New macro.
66063         (jn_test_data): New variable.
66064         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
66065         (yn_test_data): New variable.
66066         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
66068         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
66070 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66072         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
66073         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
66075 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
66077         * benchtests/Makefile (CPPFLAGS-nonlib): Add
66078         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
66079         (bench-deps): Add bench-timing.h.
66080         * benchtests-bench-skeleton.c: Include bench-timing.h.
66081         (main): Use TIMING_* macros instead of clock_gettime.
66082         * benchtests/bench-timing.h: New file.
66084         [BZ #14582]
66085         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
66086         Renamed from _LIB_VERSION.
66087         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
66089 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
66091         * math/libm-test.inc (struct test_fff_f_data): New type.
66092         (RUN_TEST_LOOP_fff_f): New macro.
66093         (fma_test_data): New variable.
66094         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
66095         (fma_towardzero_test_data): New variable.
66096         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
66097         (fma_downward_test_data): New variable.
66098         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
66099         (fma_upward_test_data): New variable.
66100         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
66102         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
66103         (struct test_c_c_data): New type.
66104         (RUN_TEST_LOOP_c_c): New macro.
66105         (cacos_test_data): New variable.
66106         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
66107         (cacosh_test_data): New variable.
66108         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
66109         (casin_test_data): New variable.
66110         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
66111         (casinh_test_data): New variable.
66112         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
66113         (catan_test_data): New variable.
66114         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
66115         (catanh_test_data): New variable.
66116         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
66117         (ccos_test_data): New variable.
66118         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
66119         (ccosh_test_data): New variable.
66120         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
66121         (cexp_test_data): New variable.
66122         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
66123         (clog_test_data): New variable.
66124         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
66125         (clog10_test_data): New variable.
66126         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
66127         (conj_test_data): New variable.
66128         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
66129         (cproj_test_data): New variable.
66130         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
66131         (csin_test_data): New variable.
66132         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
66133         (csinh_test_data): New variable.
66134         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
66135         (csqrt_test_data): New variable.
66136         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
66137         (ctan_test_data): New variable.
66138         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
66139         (ctan_tonearest_test_data): New variable.
66140         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66141         (ctan_towardzero_test_data): New variable.
66142         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66143         (ctan_downward_test_data): New variable.
66144         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66145         (ctan_upward_test_data): New variable.
66146         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66147         (ctanh_test_data): New variable.
66148         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
66149         (ctanh_tonearest_test_data): New variable.
66150         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66151         (ctanh_towardzero_test_data): New variable.
66152         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66153         (ctanh_downward_test_data): New variable.
66154         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66155         (ctanh_upward_test_data): New variable.
66156         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66157         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
66158         of BUILD_COMPLEX.
66160         * math/libm-test.inc (struct test_ff_f_data): New type.
66161         (struct test_ff_f_data_nexttoward): Likewise.
66162         (RUN_TEST_LOOP_2_f): New macro.
66163         (RUN_TEST_LOOP_ff_f): Likewise.
66164         (atan2_test_data): New variable.
66165         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
66166         (copysign_test_data): New variable.
66167         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
66168         (fdim_test_data): New variable.
66169         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
66170         (fmax_test_data): New variable.
66171         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
66172         (fmin_test_data): New variable.
66173         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
66174         (fmod_test_data): New variable.
66175         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
66176         (hypot_test_data): New variable.
66177         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
66178         (nextafter_test_data): New variable.
66179         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
66180         (nexttoward_test_data): New variable.
66181         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
66182         (pow_test_data): New variable.
66183         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
66184         (pow_tonearest_test_data): New variable.
66185         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
66186         (pow_towardzero_test_data): New variable.
66187         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
66188         (pow_downward_test_data): New variable.
66189         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
66190         (pow_upward_test_data): New variable.
66191         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
66192         (remainder_test_data): New variable.
66193         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
66194         (scalb_test_data): New variable.
66195         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
66196         * sysdeps/i386/fpu/libm-test-ulps: Update.
66198 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
66200         * math/libm-test.inc (fma_test): Use max_value instead of local
66201         variable fltmax.
66202         (nextafter_test): Likewise.
66204         * math/libm-test.inc (acos_towardzero_test_data): New variable.
66205         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66206         (acos_downward_test_data): New variable.
66207         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66208         (acos_upward_test_data): New variable.
66209         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66210         (acosh_test_data): New variable.
66211         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
66212         (asin_test_data): New variable.
66213         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
66214         (asin_tonearest_test_data): New variable.
66215         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66216         (asin_towardzero_test_data): New variable.
66217         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66218         (asin_downward_test_data): New variable.
66219         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66220         (asin_upward_test_data): New variable.
66221         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66222         (asinh_test_data): New variable.
66223         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
66224         (atan_test_data): New variable.
66225         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
66226         (atanh_test_data): New variable.
66227         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
66228         (cbrt_test_data): New variable.
66229         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
66230         (ceil_test_data): New variable.
66231         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
66232         (cos_test_data): New variable.
66233         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
66234         (cos_tonearest_test_data): New variable.
66235         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66236         (cos_towardzero_test_data): New variable.
66237         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66238         (cos_downward_test_data): New variable.
66239         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66240         (cos_upward_test_data): New variable.
66241         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66242         (cosh_test_data): New variable.
66243         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
66244         (cosh_tonearest_test_data): New variable.
66245         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66246         (cosh_towardzero_test_data): New variable.
66247         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66248         (cosh_downward_test_data): New variable.
66249         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66250         (cosh_upward_test_data): New variable.
66251         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66252         (erf_test_data): New variable.
66253         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
66254         (erfc_test_data): New variable.
66255         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
66256         (exp_test_data): New variable.
66257         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
66258         (exp_tonearest_test_data): New variable.
66259         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66260         (exp_towardzero_test_data): New variable.
66261         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66262         (exp_downward_test_data): New variable.
66263         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66264         (exp_upward_test_data): New variable.
66265         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66266         (exp10_test_data): New variable.
66267         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
66268         (exp2_test_data): New variable.
66269         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
66270         (expm1_test_data): New variable.
66271         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
66272         (fabs_test_data): New variable.
66273         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
66274         (floor_test_data): New variable.
66275         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
66276         (j0_test_data): New variable.
66277         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
66278         (j1_test_data): New variable.
66279         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
66280         (log_test_data): New variable.
66281         (log_test): Run tests with RUN_TEST_LOOP_f_f.
66282         (log10_test_data): New variable.
66283         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
66284         (log1p_test_data): New variable.
66285         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
66286         (log2_test_data): New variable.
66287         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
66288         (logb_test_data): New variable.
66289         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
66290         (logb_downward_test_data): New variable.
66291         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66292         (nearbyint_test_data): New variable.
66293         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
66294         (rint_test_data): New variable.
66295         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
66296         (rint_tonearest_test_data): New variable.
66297         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66298         (rint_towardzero_test_data): New variable.
66299         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66300         (rint_downward_test_data): New variable.
66301         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66302         (rint_upward_test_data): New variable.
66303         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66304         (round_test_data): New variable.
66305         (round_test): Run tests with RUN_TEST_LOOP_f_f.
66306         (sin_test_data): New variable.
66307         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
66308         (sin_tonearest_test_data): New variable.
66309         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66310         (sin_towardzero_test_data): New variable.
66311         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66312         (sin_downward_test_data): New variable.
66313         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66314         (sin_upward_test_data): New variable.
66315         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66316         (sinh_test_data): New variable.
66317         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
66318         (sinh_tonearest_test_data): New variable.
66319         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66320         (sinh_towardzero_test_data): New variable.
66321         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66322         (sinh_downward_test_data): New variable.
66323         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66324         (sinh_upward_test_data): New variable.
66325         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66326         (sqrt_test_data): New variable.
66327         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
66328         (tan_test_data): New variable.
66329         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
66330         (tan_tonearest_test_data): New variable.
66331         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66332         (tan_towardzero_test_data): New variable.
66333         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66334         (tan_downward_test_data): New variable.
66335         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66336         (tan_upward_test_data): New variable.
66337         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66338         (tanh_test_data): New variable.
66339         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
66340         (tgamma_test_data): New variable.
66341         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
66342         (trunc_test_data): New variable.
66343         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
66344         (y0_test_data): New variable.
66345         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
66346         (y1_test_data): New variable.
66347         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
66348         (significand_test_data): New variable.
66349         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
66351 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
66353         [BZ #12387]
66354         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
66356 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66358         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
66360 2013-05-10  Andreas Jaeger  <aj@suse.de>
66362         [BZ #15448]
66363         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
66364         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
66366 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
66368         * math/gen-libm-test.pl (adjust_arg): New function.
66369         (special_functions): Handle generating output in both functions
66370         and arrays.
66371         (parse_args): Likewise.
66372         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
66373         $in_func argument to parse_args.
66374         * math/libm-test.inc (struct test_f_f_data): New type.
66375         (IF_ROUND_INIT_): New macro.
66376         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
66377         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
66378         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
66379         (IF_ROUND_INIT_FE_UPWARD): Likewise.
66380         (ROUND_RESTORE_): Likewise.
66381         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
66382         (ROUND_RESTORE_FE_TONEAREST): Likewise.
66383         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
66384         (ROUND_RESTORE_FE_UPWARD): Likewise.
66385         (RUN_TEST_LOOP_f_f): New macro.
66386         (acos_test_data): New variable.
66387         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
66388         (acos_tonearest_test_data): New variable.
66389         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66391 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66393         * benchtests/bench-skeleton.c (startup): Fix coding style.
66395 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
66397         [BZ #6809]
66398         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
66399         negative infinity argument.
66400         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
66401         negative infinity argument.
66402         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
66403         negative infinity argument.
66404         * math/libm-test.inc (tgamma_test): Expect errno to be set for
66405         domain errors.
66407 2013-05-10  Florian Weimer  <fweimer@redhat.com>
66409         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
66410         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
66411         * iconv/iconv_prog.c (main): Likewise.
66412         * locale/programs/charmap-dir.c (charmap_readdir)
66413         (fopen_uncompressed): Likewise.
66414         * locale/programs/locfile.c (siblings_uncached)
66415         (write_locale_data): Use lstat64 instead of lstat.
66416         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
66417         stat.
66419 2013-05-10  Andreas Jaeger  <aj@suse.de>
66421         [BZ #15395]
66422         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
66423         localization.
66424         Include <locale.h>.
66426 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
66428         * elf/dl-close.c (_dl_close_worker): Add comments.
66430 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
66432         [BZ #15359]
66433         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
66434         high part of pi/2.
66435         (__ieee754_rem_pio2l): Update comments.
66437         [BZ #15429]
66438         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
66439         high part of pi/2.
66440         (__ieee754_rem_pio2l): Update comments.
66442         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
66443         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
66445         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
66446         M_PI_4l.
66448         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
66449         (M_PI_34_LOG10El): Likewise.
66450         (M_PI2_LOG10El): Likewise.
66451         (M_PI4_LOG10El): Likewise.
66452         (M_PI_LOG10El): Likewise.
66454 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66458 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
66460         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
66461         (MINUS_ZERO_INIT): Likewise.
66462         (PLUS_INFTY_INIT): Likewise.
66463         (MINUS_INFTY_INIT): Likewise.
66464         (QNAN_VALUE_INIT): Likewise.
66465         (MAX_VALUE_INIT): Likewise.
66466         (MIN_VALUE_INIT): Likewise.
66467         (MIN_SUBNORM_VALUE_INIT): Likewise.
66468         (plus_zero): Initialize with PLUS_ZERO_INIT.
66469         (minus_zero): Initialize with MINUS_ZERO_INIT.
66470         (plus_infty): Initialize with PLUS_INFTY_INIT.
66471         (minus_infty): Initialize with MINUS_INFTY_INIT.
66472         (qnan_value): Initialize with QNAN_VALUE_INIT.
66473         (max_value): Initialize with MAX_VALUE_INIT.
66474         (min_value): Initialize with MIN_VALUE_INIT.
66475         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
66477         * math/libm-test.inc (RUN_TEST_if_f): New macro.
66478         (jn_test): Use TEST_if_f instead of TEST_ff_f.
66479         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
66480         (yn_test): Use TEST_if_f instead of TEST_ff_f.
66482         * math/libm-test.inc (RUN_TEST_f_f): New macro.
66483         (RUN_TEST_2_f): Likewise.
66484         (RUN_TEST_ff_f): Likewise.
66485         (RUN_TEST_fi_f): Likewise.
66486         (RUN_TEST_fl_f): Likewise.
66487         (RUN_TEST_fff_f): Likewise.
66488         (RUN_TEST_c_f): Likewise.
66489         (RUN_TEST_f_f1): Likewise.
66490         (RUN_TEST_fF_f1): Likewise.
66491         (RUN_TEST_fI_f1): Likewise.
66492         (RUN_TEST_ffI_f1): Likewise.
66493         (RUN_TEST_c_c): Likewise.
66494         (RUN_TEST_cc_c): Likewise.
66495         (RUN_TEST_f_i): Likewise.
66496         (RUN_TEST_f_i_tg): Likewise.
66497         (RUN_TEST_ff_i_tg): Likewise.
66498         (RUN_TEST_f_b): Likewise.
66499         (RUN_TEST_f_b_tg): Likewise.
66500         (RUN_TEST_f_l): Likewise.
66501         (RUN_TEST_f_L): Likewise.
66502         (RUN_TEST_sincos): Likewise.
66503         * math/gen-libm-test.pl (new_test): Take new argument to indicate
66504         whether to show exceptions.  Do not include ");\n" in return
66505         value.
66506         (special_functions): Output call to RUN_TEST_sincos instead of
66507         check_float calls.  Update calls to new_test.
66508         (parse_args): Output call to single RUN_TEST_* macro instead of
66509         check_* calls and other assignments.  Update calls to new_test.
66511         [BZ #2546]
66512         [BZ #2560]
66513         [BZ #5159]
66514         [BZ #15426]
66515         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
66516         input to result for tgamma overflow.
66517         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
66518         (gamma_coeff): New variable.
66519         (NCOEFF): New macro.
66520         (gamma_positive): New function.
66521         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
66522         underflow here.  Use gamma_positive instead of exp (lgamma) for
66523         other arguments.
66524         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
66525         (gamma_coeff): New variable.
66526         (NCOEFF): New macro.
66527         (gammaf_positive): New function.
66528         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
66529         underflow here.  Use gamma_positive instead of exp (lgamma) for
66530         other arguments.
66531         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
66532         (gamma_coeff): New variable.
66533         (NCOEFF): New macro.
66534         (gammal_positive): New function.
66535         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
66536         underflow here.  Use gamma_positive instead of exp (lgamma) for
66537         other arguments.
66538         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
66539         (gamma_coeff): New variable.
66540         (NCOEFF): New macro.
66541         (gammal_positive): New function.
66542         (__ieee754_gammal_r): Handle positive infinity, overflow and
66543         underflow here.  Handle NaN the same as positive infinity.  Remove
66544         check x < 0xffffffff for negative integers.  Use gamma_positive
66545         instead of exp (lgamma) for other arguments.
66546         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
66547         (gamma_coeff): New variable.
66548         (NCOEFF): New macro.
66549         (gammal_positive): New function.
66550         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
66551         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
66552         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
66553         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
66554         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
66555         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
66556         * sysdeps/generic/math_private.h (__gamma_productf): New
66557         prototype.
66558         (__gamma_product): Likewise.
66559         (__gamma_productl): Likewise.
66560         * math/Makefile (libm-calls): Add gamma_product.
66561         * math/libm-test.inc (tgamma_test): Add more tests.
66562         * sysdeps/i386/fpu/libm-test-ulps: Update.
66563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66565 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
66567         * benchtests/bench-skeleton.c (main): Preheat CPU.
66569 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
66571         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
66573 2013-05-07  Roland McGrath  <roland@hack.frob.com>
66575         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
66576         and _dl_skip_args_internal.
66578 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
66580         * manual/message.texi (Message Translation): Talk about users.
66581         Message to key mapping impacts design.
66583 2013-05-06  Roland McGrath  <roland@hack.frob.com>
66585         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
66587         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
66589         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
66590         * sysdeps/wordsize-64/glob64.c: ... here.
66592         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
66593         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
66594         New macros.
66596         * debug/getlogin_r_chk.c: Moved to ...
66597         * login/getlogin_r_chk.c: ... here.
66598         * debug/Makefile (routines): Move getlogin_r_chk to ...
66599         * login/Makefile (routines): ... here.
66600         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
66601         * login/Versions (libc: GLIBC_2.4): ... here.
66603         * io/poll.c (__poll): Renamed from poll.
66604         Add libc_hidden_def.
66605         (poll): Define as weak alias.
66607         * debug/ptsname_r_chk.c: Moved to ...
66608         * login/ptsname_r_chk.c: ... here.
66609         * debug/Makefile (routines): Move ptsname_r_chk to ...
66610         * login/Makefile (routines): ... here.
66611         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
66612         * login/Versions (libc: GLIBC_2.4): ... here.
66614         * posix/getlogin.c: Moved to ...
66615         * login/getlogin.c: ... here.
66616         * posix/getlogin_r.c: Moved to ...
66617         * login/getlogin_r.c: ... here.
66618         * posix/getlogin_r.c: Moved to ...
66619         * login/getlogin_r.c: ... here.
66620         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
66621         * login/Makefile (routines): ... here.
66622         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
66623         * login/Versions (libc: GLIBC_2.0): ... here.
66625         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
66626         (setrlimit): Define as weak alias.
66628         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
66629         Call __ names for open, ftruncate, and close.
66630         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
66631         (truncate): Define as weak alias.
66633 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
66635         * math/gen-libm-test.pl (parse_args): Initialize x before each
66636         test of frexp, modf and remquo.
66638         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
66639         test signgam value.
66641 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66643         [BZ #15418]
66644         [BZ #15419]
66645         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
66646         internal tests.
66647         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66649 2013-05-06  Roland McGrath  <roland@hack.frob.com>
66651         * elf/dl-writev.h: New file.
66652         * elf/dl-misc.c: Include it.
66653         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
66654         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
66656 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
66658         * math/libm-test.inc (noXFails): Remove variable.
66659         (noXPasses): Likewise.
66660         (BUILD_COMPLEX_INT): Remove macro.
66661         (print_screen): Remove xfail argument.
66662         (print_screen_max_error): Likewise.
66663         (update_stats): Likewise.
66664         (print_max_error): Likewise.  Update calls to other affected
66665         functions.
66666         (print_complex_max_error): Likewise.
66667         (test_single_exception): Update calls to print_screen.
66668         (test_single_errno): Likewise.
66669         (check_float_internal): Remove xfail argument.  Update calls to
66670         other affected functions.
66671         (check_float): Likewise.
66672         (check_complex): Likewise.
66673         (check_int): Likewise.
66674         (check_long): Likewise.
66675         (check_bool): Likewise.
66676         (check_longlong): Likewise.
66677         (main): Don't print noXFails and noXPasses.
66678         * math/gen-libm-test.pl (top level): Don't mention expected
66679         failure handling in comment.
66680         (new_test): Don't handle expected failures.
66681         (parse_args): Don't mention expected failure handling in comment.
66682         (generate_testfile): Don't handle expected failures.
66683         (parse_ulps): Likewise.
66684         (print_ulps_file): Likewise.
66685         (get_failure): Remove function.
66686         (output_test): Don't handle expected failures.
66687         * make/README.libm-test: Don't mention expected failure handling.
66689         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
66690         (minus_zero): Likewise.
66691         (plus_infty): Likewise.
66692         (minus_infty): Likewise.
66693         (qnan_value): Likewise.
66694         (max_value): Likewise.
66695         (min_value): Likewise.
66696         (min_subnorm_value): Likewise.
66697         (initialize): Do not initialize those variables dynamically.
66699 2013-05-03  Roland McGrath  <roland@hack.frob.com>
66701         * io/open.c (__open_2): Moved to ...
66702         * io/open_2.c: ... this new file.
66703         * io/open64.c (__open64_2): Moved to ...
66704         * io/open64_2.c: ... this new file.
66705         * io/openat.c (__openat_2): Moved to ...
66706         * io/openat_2.c: ... this new file.
66707         * io/openat64.c (__openat64_2): Moved to ...
66708         * io/openat64_2.c: ... this new file.
66709         * io/Makefile (routines): Add them.
66710         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
66711         * sysdeps/unix/sysv/linux/open_2.c: File removed.
66712         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
66713         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
66714         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
66715         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
66716         (__openat64): Add hidden_ver.
66717         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
66718         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
66720         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
66721         Separately conditionalize setting of GLRO(dl_sysinfo) so
66722         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
66723         as well, but the actual setting is only under [NEED_DL_SYSINFO].
66725 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66727         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
66728         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
66729         definition.
66730         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
66731         * sysdeps/unix/sysv/linux/powerpc/init-first.c
66732         (_libc_vdso_platform_setup): Add __vdso_time initialization.
66733         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
66734         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
66736 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
66738         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
66739         test signgam value.
66741         * math/libm-test.inc (hypot_test): Do not use
66742         IGNORE_ZERO_INF_SIGN.
66744 2013-05-03  Andreas Jaeger  <aj@suse.de>
66746         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
66747         Linux 3.9.
66748         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
66749         (PF_MAX): Adjust for VSOCK change.
66751 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66755 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
66757         [BZ #15264]
66758         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
66759         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
66760         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
66762 2013-05-02  David S. Miller  <davem@davemloft.net>
66764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66766 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
66768         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
66770 2013-05-01  Roland McGrath  <roland@hack.frob.com>
66772         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
66774 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
66776         [BZ #14952]
66777         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
66778         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66779         Use __attribute__ ((__gnu_inline__)).
66780         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66781         Don't use __attribute__ ((__gnu_inline__)).
66783 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
66785         [BZ #15423]
66786         * math/s_catan.c (__catan): Handle small real or imaginary part of
66787         input specially to avoid spurious underflow.
66788         * math/s_catanf.c (__catanf): Likewise.
66789         * math/s_catanh.c (__catanh): Likewise.
66790         * math/s_catanhf.c (__catanhf): Likewise.
66791         * math/s_catanhl.c (__catanhl): Likewise.
66792         * math/s_catanl.c (__catanl): Likewise.
66793         * math/libm-test.inc (catan_test): Add more tests.
66794         (catanh_test): Likewise.
66795         * sysdeps/i386/fpu/libm-test-ulps: Update.
66796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66798 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66802 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
66804         [BZ #15416]
66805         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
66806         accurately for denominator in atan2.
66807         * math/s_catanf.c (__catanf): Likewise.
66808         * math/s_catanh.c (__catanh): Likewise.
66809         * math/s_catanhf.c (__catanhf): Likewise.
66810         * math/s_catanhl.c (__catanhl): Likewise.
66811         * math/s_catanl.c (__catanl): Likewise.
66812         * math/libm-test.inc (catan_test): Add more tests.
66813         (catanh_test): Likewise.
66814         * sysdeps/i386/fpu/libm-test-ulps: Update.
66815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66817 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66819         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
66821         * benchtests/Makefile (bench): Remove slow benchmarks.
66822         * benchtests/atan-inputs: Add slow benchmark inputs.
66823         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
66824         (BENCH_FUNC): Accept variant offset.
66825         (VARIANT): Define.
66826         * benchtests/bench-skeleton.c (main): Run benchmark for each
66827         variant.
66828         * benchtests/cos-inputs: Add slow benchmark inputs.
66829         * benchtests/exp-inputs: Likewise.
66830         * benchtests/pow-inputs: Likewise.
66831         * benchtests/sin-inputs: Likewise.
66832         * benchtests/slowatan-inputs: Remove.
66833         * benchtests/slowatan.c: Remove.
66834         * benchtests/slowcos-inputs: Remove.
66835         * benchtests/slowcos.c: Remove.
66836         * benchtests/slowexp-inputs: Remove.
66837         * benchtests/slowexp.c: Remove.
66838         * benchtests/slowpow-inputs: Remove.
66839         * benchtests/slowpow.c: Remove.
66840         * benchtests/slowsin-inputs: Remove.
66841         * benchtests/slowsin.c: Remove.
66842         * benchtests/slowtan-inputs: Remove.
66843         * benchtests/slowtan.c: Remove.
66844         * benchtests/tan-inputs: Add slow benchmark inputs.
66845         * scripts/bench.pl: Parse comments and directives.
66847         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
66848         in CPPFLAGS.
66849         ($(objpfx)bench-%.c): Remove *-ITER.
66850         * benchtests/bench-modf.c: Remove definition of ITER.
66851         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
66852         (main): Loop for DURATION seconds instead of fixed number of
66853         iterations.
66854         * scripts/bench.pl: Don't expect iterations in parameters.
66856 2013-04-29  Roland McGrath  <roland@hack.frob.com>
66858         * io/fchdir.c (__fchdir): Renamed from fchdir.
66859         (fchdir): Define as weak alias.
66861 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66863         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
66864         (ERRNO_EDOM): Likewise.
66865         (ERRNO_ERANGE): Likewise.
66866         (noErrnoTests): New variable.
66867         (init_max_error): Set errno to 0.
66868         (test_single_errno): New function.
66869         (test_errno): Likewise.
66870         (check_float_internal): Call test_errno.  Set errno to 0.
66871         (check_complex): Refer to errno tests in comment.
66872         (check_int): Call test_errno.  Set errno to 0.
66873         (check_long): Likewise.
66874         (check_bool): Likewise.
66875         (check_longlong): Likewise.
66876         (cos_test): Use ERRNO_* flags for errno tests instead of
66877         check_int.
66878         (expm1_test): Likewise.
66879         (fmod_test): Likewise.
66880         (ilogb_test): Likewise.
66881         (lgamma_test): Likewise.
66882         (pow_test): Likewise.
66883         (remainder_test): Likewise.
66884         (sin_test): Likewise.
66885         (tan_test): Likewise.
66886         (yn_test): Likewise.
66887         (initialize): Set errno to 0.
66888         (main): Print number of errno tests.
66889         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
66891 2013-04-29  Andreas Jaeger  <aj@suse.de>
66893         [BZ #15084]
66894         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
66895         and RES_USEVC.
66897         [BZ #15085]
66898         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
66899         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
66900         unimplemented.
66902         [BZ #15380]
66903         * stdlib/random.c (__initstate): Return NULL if
66904         __initstate fails.
66906         [BZ #15086]
66907         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
66908         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
66909         RES_SNGLKUPREOP.
66911 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66915 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66917         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
66918         of individual tests.
66919         (casin_test): Likewise.
66920         (casinh_test): Likewise.
66922 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
66924         [BZ #15409]
66925         * math/s_catan.c (__catan): Handle arguments with large real or
66926         imaginary part separately without squaring.
66927         * math/s_catanf.c (__catanf): Likewise.
66928         * math/s_catanh.c (__catanh): Likewise.
66929         * math/s_catanhf.c (__catanhf): Likewise.
66930         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66931         and redefine.
66932         (__catanhl): Handle arguments with large real or imaginary part
66933         separately without squaring.
66934         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66935         and redefine.
66936         (__catanl): Handle arguments with large real or imaginary part
66937         separately without squaring.
66938         * math/libm-test.inc (catan_test): Add more tests.
66939         (catanh_test): Likewise.
66940         * sysdeps/i386/fpu/libm-test-ulps: Update.
66941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66943 2013-04-27  Andreas Jaeger  <aj@suse.de>
66945         [BZ #15007]
66946         * stdlib/stdlib.h: Update guards for qecvt.
66947         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
66948         <stdlib.h>.
66950 2013-04-27  Allan McRae  <allan@archlinux.org>
66952         * sysdeps/i386/fpu/libm-test-ulps: Update.
66954 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
66956         [BZ #15406]
66957         * math/s_catan.c: Include <float.h>.
66958         (__catan): Ensure underflow exception occurs for underflowed
66959         result.
66960         * math/s_catanf.c: Include <float.h>.
66961         (__catanf): Ensure underflow exception occurs for underflowed
66962         result.
66963         * math/s_catanh.c: Include <float.h>.
66964         (__catanh): Ensure underflow exception occurs for underflowed
66965         result.
66966         * math/s_catanhf.c: Include <float.h>.
66967         (__catanhf): Ensure underflow exception occurs for underflowed
66968         result.
66969         * math/s_catanhl.c: Include <float.h>.
66970         (__catanhl): Ensure underflow exception occurs for underflowed
66971         result.
66972         * math/s_catanl.c: Include <float.h>.
66973         (__catanl): Ensure underflow exception occurs for underflowed
66974         result.
66975         * math/libm-test.inc (catan_test): Add more tests.
66976         (catanh_test): Likewise.
66978         [BZ #15405]
66979         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
66980         underflowed result.
66981         * math/s_ccoshf.c (__ccoshf): Likewise.
66982         * math/s_ccoshl.c (__ccoshl): Likewise.
66983         * math/s_csin.c (__csin): Likewise.
66984         * math/s_csinf.c (__csinf): Likewise.
66985         * math/s_csinh.c (__csinh): Likewise.
66986         * math/s_csinhf.c (__csinhf): Likewise.
66987         * math/s_csinhl.c (__csinhl): Likewise.
66988         * math/s_csinl.c (__csinl): Likewise.
66989         * math/libm-test.inc (ccos_test): Add more tests.
66990         (ccosh_test): Likewise.
66991         (csin_test): Likewise.
66992         (csinh_test): Likewise.
66994 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66996         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
66997         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
66998         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
66999         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
67000         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
67001         powerpc/power5+/fpu folders.
67002         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
67005 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
67007         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67009 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
67011         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
67012         additions to variable.
67013         [$(config-machine) = x86_64] (modules-names): Likewise.
67014         ($(objpfx)tst-audit3): Remove dependency.
67015         ($(objpfx)tst-audit3.out): Likewise.
67016         ($(objpfx)tst-audit4): Likewise.
67017         ($(objpfx)tst-audit4.out): Likewise.
67018         ($(objpfx)tst-audit5): Likewise.
67019         ($(objpfx)tst-audit5.out): Likewise.
67020         ($(objpfx)tst-audit6): Likewise.
67021         ($(objpfx)tst-audit6.out): Likewise.
67022         ($(objpfx)tst-audit7): Likewise.
67023         ($(objpfx)tst-audit7.out): Likewise.
67024         (tst-audit3-ENV): Remove variable.
67025         (tst-audit4-ENV): Likewise.
67026         (tst-audit5-ENV): Likewise.
67027         (tst-audit6-ENV): Likewise.
67028         (tst-audit7-ENV): Likewise.
67029         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
67030         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
67031         addition to variable.
67032         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
67033         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
67034         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
67035         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
67036         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
67037         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
67038         tst-audit3, tst-audit4 and tst-audit5.
67039         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
67040         tst-audit6 and tst-audit7.
67041         [$(subdir) = elf] (modules-names): Add audit modules for those
67042         tests.
67043         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
67044         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
67045         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
67046         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
67047         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
67048         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
67049         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
67050         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
67051         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
67052         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
67053         [$(subdir) = elf] (tst-audit3-ENV): New variable.
67054         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
67055         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
67056         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
67057         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
67058         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
67059         Likewise.
67060         [$(subdir) = elf && $(config-cflags-avx) = yes]
67061         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
67062         [$(subdir) = elf && $(config-cflags-avx) = yes]
67063         (CFLAGS-tst-auditmod4a.c): Likewise.
67064         [$(subdir) = elf && $(config-cflags-avx) = yes]
67065         (CFLAGS-tst-auditmod4b.c): Likewise.
67066         [$(subdir) = elf && $(config-cflags-avx) = yes]
67067         (CFLAGS-tst-auditmod6b.c): Likewise.
67068         [$(subdir) = elf && $(config-cflags-avx) = yes]
67069         (CFLAGS-tst-auditmod6c.c): Likewise.
67070         [$(subdir) = elf && $(config-cflags-avx) = yes]
67071         (CFLAGS-tst-auditmod7b.c): Likewise.
67072         * elf/tst-audit3.c: Move to ...
67073         * sysdeps/x86_64/tst-audit3.c: ... here.
67074         * elf/tst-audit4.c: Move to ...
67075         * sysdeps/x86_64/tst-audit4.c: ... here.
67076         * elf/tst-audit5.c: Move to ...
67077         * sysdeps/x86_64/tst-audit5.c: ... here.
67078         * elf/tst-audit6.c: Move to ...
67079         * sysdeps/x86_64/tst-audit6.c: ... here.
67080         * elf/tst-audit7.c: Move to ...
67081         * sysdeps/x86_64/tst-audit7.c: ... here.
67082         * elf/tst-auditmod3a.c: Move to ...
67083         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
67084         * elf/tst-auditmod3b.c: Move to ...
67085         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
67086         * elf/tst-auditmod4a.c: Move to ...
67087         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
67088         * elf/tst-auditmod4b.c: Move to ...
67089         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
67090         * elf/tst-auditmod5a.c: Move to ...
67091         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
67092         * elf/tst-auditmod5b.c: Move to ...
67093         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
67094         * elf/tst-auditmod6a.c: Move to ...
67095         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
67096         * elf/tst-auditmod6b.c: Move to ...
67097         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
67098         * elf/tst-auditmod6c.c: Move to ...
67099         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
67100         * elf/tst-auditmod7a.c: Move to ...
67101         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
67102         * elf/tst-auditmod7b.c: Move to ...
67103         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
67105 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
67107         [BZ #15366]
67108         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
67109         define unconditionally.
67110         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
67111         define unconditionally.
67112         (INT8_C, INT16_C, etc.): Likewise.
67114 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
67116         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
67117         __ehdr_start with hidden visibility.
67119         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
67121 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
67123         * math/libm-test.inc (cos_test): Use accurate hex constants.
67124         (sincost_test): Likewise.
67126 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
67128         * math/libm-test.inc (catan_test): Add more tests.
67129         (catanh_test): Likewise.
67131         * math/s_catanf.c (__catanf): Use suffixed floating-point
67132         constants.
67133         * math/s_catanhf.c (__catanhf): Likewise.
67134         * math/s_catanhl.c (__catanhl): Likewise.
67135         * math/s_catanl.c (__catanl): Likewise.
67137         [BZ #15394]
67138         * math/s_catan.c (__catan): Calculate imaginary part of result
67139         with log1p not log unless computing log of number close to 0.
67140         * math/s_catanf.c (__catanf): Likewise.
67141         * math/s_catanl.c (__catanl): Likewise.
67142         * math/s_catanh.c (__catanh): Calculate real part of result with
67143         log1p not log unless computing log of number close to 0.
67144         * math/s_catanhf.c (__catanhf): Likewise.
67145         * math/s_catanhl.c (__catanhl): Likewise.
67146         * math/libm-test.inc (catan_test): Add more tests.
67147         (catanh_test): Likewise.
67148         * sysdeps/i386/fpu/libm-test-ulps: Update.
67149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67151 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
67153         * benchtests/Makefile: Mention files in which fast and slow
67154         paths of math functions are implemented.
67156 2013-04-23  Roland McGrath  <roland@hack.frob.com>
67158         * sysdeps/posix/timespec_get.c: New file.
67160 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67162         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
67163         POWER.
67164         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
67165         for POWER.
67166         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
67167         powerpc/power5/fpu folders.
67168         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
67169         * benchtests/Makefile: Add modf testcase.
67170         * benchtests/bench-modf.c: New file: Benchmark test for mo
67172 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
67174         [BZ #14888]
67175         * time/Makefile (tests): Add tst-strptime-whitespace.
67176         * time/strptime_l.c (get_number): Use ISSPACE.
67177         (__strptime_internal): Likewise.
67178         * time/tst-strptime-whitespace.c: New test case.
67180 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
67182         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
67183         member.
67184         (_nss_files_init): Set it here.
67186 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
67188         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
67189         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
67190         unsigned.
67192 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
67194         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
67196 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67198         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
67199         size just once.
67201 2013-04-21  David S. Miller  <davem@davemloft.net>
67203         * po/ru.po: Update Russion translation from translation project.
67205 2013-04-17  Adam Conrad  <adconrad@0c3.net>
67207         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
67208         and setfsgid.
67210 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
67212         * configure.in: Remove i386 configure warning. Remove i386 case.
67213         * configure: Regenerate.
67214         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
67215         Add example to error message.
67216         * sysdeps/i386/configure: Regenerate.
67218 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67220         * benchtests/Makefile (bench): Add cos, tan, slowcos and
67221         slowtan.
67222         * benchtests/cos-inputs: New file.
67223         * benchtests/slowcos-inputs: New file.
67224         * benchtests/slowcos.c: New file.
67225         * benchtests/slowtan-inputs: New file.
67226         * benchtests/slowtan.c: New file.
67227         * benchtests/tan-inputs: New file.
67229 2013-04-16  Roland McGrath  <roland@hack.frob.com>
67231         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
67232         considered kosher.
67234 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67236         * benchtests/Makefile: Include cppflags-iterator.mk to add
67237         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
67239         * Makefile.in (bench-clean): New target.
67240         * benchtests/Makefile (bench-clean): Likewise.
67242 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
67244         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
67246 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
67248         * stdio-common/tstdiomisc.c: Fix coding-style violation.
67250 2013-04-15  Andreas Schwab  <schwab@suse.de>
67252         * nscd/grpcache.c (cache_addgr): Properly check for short write.
67253         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67254         * nscd/pwdcache.c (cache_addpw): Likewise.
67255         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
67256         more than recsize.
67258 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67260         * benchtests/Makefile (bench): Write all output to
67261         bench-out.tmp together.
67263 2013-04-15  Andreas Schwab  <schwab@suse.de>
67265         * nscd/nscd.c (main): Don't fork again after closing files.
67267 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67269         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
67271         * benchtests/Rules (bench-deps): Collect dependencies into a
67272         single variable.  Add Makefile to dependencies.
67273         ($(objpfx)bench-%.c): Depend on bench-deps.
67275 2013-04-12  Roland McGrath  <roland@hack.frob.com>
67276             Xavier Roche  <roche+kml2@exalead.com>
67278         [BZ #15361]
67279         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
67280         just that it's a file descriptor.
67281         * manual/llio.texi (Synchronizing AIO Operations): Update description
67282         for EBADF error from aio_fsync.
67284 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
67286         * Rules (bench): Move target definition...
67287         * benchtests/Makefile: ... here.
67289 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
67291         * math/libm-test.inc (cos_test): Fix PI/2 test.
67292         (sincos_test): Likewise.
67293         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
67294         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
67296 2013-04-11  Andreas Schwab  <schwab@suse.de>
67298         [BZ #13988]
67299         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
67300         accept exponent character only when digits were seen.
67301         * stdio-common/Makefile (tests): Add bug26.
67302         * stdio-common/bug26.c: New file.
67304         [BZ #14293]
67305         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
67306         non-freeable.
67308 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67310         * Makeconfig (rtld-prefix): Define built linker prefix.
67311         * Rules (run-bench): Use it.
67312         * math/Makefile (run-regen-ulps): Likewise.
67314         * Rules (bench): Remove eval.
67316 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67317             Roland McGrath  <roland@hack.frob.com>
67318             Ondrej Bilka  <neleai@seznam.cz>
67320         [BZ #15346]
67321         * time/getdate.c: Include ctype.h and alloca.h.
67322         (__getdate_r): Trim leading and trailing spaces of input.
67323         * time/tst-getdate.c (tests): Add tests with leading and
67324         trailing spaces.
67326 2013-04-08  Roland McGrath  <roland@hack.frob.com>
67328         [BZ #14280]
67329         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
67330         when computing value.
67332 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67334         * math/README.libm-test (How can I generate "libm-test-ulps"?):
67335         Use testrun.sh to run libm tests.
67337         [BZ #15309]
67338         * elf/dl-open.c (dl_open_worker): memset all of seen array.
67340 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
67342         [BZ #15264]
67343         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
67345 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67347         * Makefile.in (regen-ulps): New target.
67348         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
67349         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
67350         [ifneq (no,$(PERL)] (regen-ulps): New target.
67351         [ifeq (no,$(PERL)] (regen-ulps): New target.
67352         * math/libm-test.inc (ulps_file_name): Define.
67353         (output_dir): New variable.
67354         (options): Add "output-dir" option.
67355         (parse_opt): Handle 'o' case.
67356         (main): If output_dir is non-NULL use it as a prefix
67357         otherwise use "".
67358         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
67360 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67362         [BZ #10060, #10062]
67363         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
67364         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
67365         fail configure if __sync_val_compare_and_swap is not inlined.
67366         * sysdeps/i386/configure: Regenerate.
67367         * configure.in: Build for i686 when configured for i386.
67368         * configure: Regenerate.
67369         * README: Remove i386 reference.
67371 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67373         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
67374         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67376 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
67378         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
67379         (lmsnanval): New variables.
67380         (F): Add conversion tests.
67381         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
67382         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
67384         * stdio-common/tstdiomisc.c (F): Properly collect individual
67385         tests' results.
67387         [BZ #14686, #15336]
67388         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
67389         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
67390         Instead, use input NaN values or generate a qNaN by arithmetic
67391         operation.  Also fix bugs to comply with the standard.
67392         * math/libm-test.inc (remainder_test): Add more tests.
67394         [BZ #15335, #15342]
67395         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
67396         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
67397         input NaN values or generate a qNaN by arithmetic operation.
67399         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
67400         unreachable code.
67402         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
67403         definitions.
67405 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
67407         [BZ #14478]
67408         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
67409         underflowed result.
67410         * math/s_cexpf.c (__cexpf): Likewise.
67411         * math/s_cexpl.c (__cexpl): Likewise.
67412         * math/libm-test.inc (cexp_test): Add more tests.
67414 2013-04-03  Andreas Schwab  <schwab@suse.de>
67416         [BZ #15330]
67417         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
67418         order arrays from heap if bigger than alloca cutoff.
67420 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
67422         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
67423         (SNAN_TESTS_double): Refer to GCC PR56831.
67424         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
67425         GCC PR56828.
67427 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
67429         * Rules (bench): Move bench.out after the run is complete.
67431         * Rules (bench): Echo currently running benchmark.
67433         * benchtests/Makefile (bench): Add atan and slowatan.
67434         * benchtests/atan-inputs: New file.
67435         * benchtests/slowatan-inputs: New file.
67436         * benchtests/slowatan.c: New file.
67438         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
67439         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
67440         its value.
67442         [BZ #15305]
67443         * sysdeps/unix/sysv/linux/kernel-features.h
67444         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
67445         __ASSUME_XFS_RESTRICTED_CHOWN.
67446         * sysdeps/unix/sysv/linux/pathconf.c
67447         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
67448         Save and restore errno.
67450 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
67452         [BZ #15327]
67453         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
67454         arguments using __kernel_casinh.
67455         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
67456         arguments using __kernel_casinhf.
67457         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
67458         arguments using __kernel_casinhl.
67459         * math/libm-test.inc (cacosh_test): Add more tests.
67460         * sysdeps/i386/fpu/libm-test-ulps: Update.
67461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67463 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
67465         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
67466         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
67468         * bench/Makefile (bench): Add sin and slowsin.
67469         * benchtests/sin-inputs: New file.
67470         * benchtests/slowsin-inputs: New file.
67471         * benchtests/slowsin.c: New file.
67473         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
67474         (bench): Add slowexp and slowpow.
67475         (exp-ITER): Increase iterations.
67476         (pow-ITER): Likewise.
67477         * benchtests/exp-inputs: Change input.
67478         * benchtests/pow-inputs: Likewise.
67479         * benchtests/slowexp-inputs: New file.
67480         * benchtests/slowexp.c: New file.
67481         * benchtests/slowpow-inputs: New file.
67482         * benchtests/slowpow.c: New file.
67484 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67486         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
67487         instructions.
67488         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67489         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
67490         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
67491         * benchtests/Makefile: Add rint benchtest.
67492         * benchtests/rint-inputs: Input for rint benchtest.
67494 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
67496         * Versions.def (libm): Add GLIBC_2.18.
67497         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
67498         hidden libm prototypes.
67499         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
67500         * math/Makefile (libm-calls): Add s_issignaling.
67501         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
67502         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
67503         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
67504         declaration.
67505         * math/math.h [__USE_GNU] (issignaling): New macro.
67506         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
67507         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
67508         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
67509         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
67510         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
67511         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
67512         * manual/arith.texi (issignaling): New section.
67513         * manual/libm-err-tab.pl (@all_functions): Update comment.
67514         * math/gen-libm-test.pl (parse_args): Apply special handling for
67515         issignaling.
67516         * math/libm-test.inc (print_float, issignaling_test): New
67517         functions.
67518         (check_float_internal): Add issignaling checks.
67519         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
67520         default definition.
67521         * sysdeps/powerpc/math-tests.h: New file.
67522         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
67523         tests.
67524         * math/test-snan.c (TEST_FUNC): Likewise.
67526 2013-03-30  David S. Miller  <davem@davemloft.net>
67528         * po/de.po: Update from translation team.
67530 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
67532         [BZ #10357]
67533         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67534         imaginary part less than 1.0 and real part less than 0.5
67535         specially.
67536         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67537         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67538         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
67539         (cacos_test): Add more tests.
67540         (casin_test): Likewise.
67541         (casinh_test): Likewise.
67542         * sysdeps/i386/fpu/libm-test-ulps: Update.
67543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67545 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67547         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
67548         ONE with its value.
67550         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
67551         (__pow_mp): Replace ONE and MONE with their values.
67552         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67553         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
67554         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67555         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
67556         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67557         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67559         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
67561         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
67562         (__pow_mp): Replace ZERO and MZERO with their values.
67563         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67564         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67565         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67566         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67567         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67568         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
67569         (__sqr): Likewise.
67571         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
67573         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
67575 2013-03-28  Roland McGrath  <roland@hack.frob.com>
67577         * include/stdlib.h [!SHARED] (__call_tls_dtors):
67578         Declare with __attribute__ ((weak)).
67579         * stdlib/exit.c (__libc_atexit) [!SHARED]:
67580         Call __call_tls_dtors only if it's not NULL.
67582 2013-03-28  Roland McGrath  <roland@hack.frob.com>
67584         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
67585         didn't do it already, then set _dl_phdr and _dl_phnum based on the
67586         magic __ehdr_start linker symbol if it's defined.
67587         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
67588         them up here if it was already done.
67590         * elf/dl-support.c (_dl_phdr): Make pointer to const.
67591         (_dl_aux_init): Use const in cast when setting it.
67592         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
67593         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
67594         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
67596         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
67597         Declare them here.
67598         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
67599         * csu/libc-tls.c: Nor here.
67600         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
67602         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
67603         (__libc_message): Never call vsyslog.
67605 2013-03-28  Alan Modra  <amodra@gmail.com>
67607         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
67608         Define as empty.
67609         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
67610         Likewise.
67612 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67614         [BZ #15214]
67615         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
67616         underflow.
67617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67619 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67621         [BZ #15304]
67622         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
67623         Don't add gid passed as argument.
67625         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
67627 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
67629         [BZ #15307]
67630         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67631         imaginary part between 1.0 and 1.5 and real part less than 0.5
67632         specially.
67633         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67634         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67635         * math/libm-test.inc (cacos_test): Add more tests.
67636         (casin_test): Likewise.
67637         (casinh_test): Likewise.
67638         * sysdeps/i386/fpu/libm-test-ulps: Update.
67639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67641 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67643         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
67644         constants.
67645         (norm): Likewise.
67646         (denorm): Likewise.
67647         (__dbl_mp): Likewise.
67648         (add_magnitudes): Likewise.
67649         (sub_magnitudes): Likewise.
67650         (__add): Likewise.
67651         (__sub): Likewise.
67652         (__mul): Likewise.
67653         (__sqr): Likewise.
67654         (__inv): Likewise.
67655         (__dvd): Likewise.
67657         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
67658         commented code.
67659         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
67660         (__dubcos): Likewise.
67661         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
67662         (__ieee754_acos): Likewise.
67663         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67664         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
67665         (__exp1): Likewise.
67666         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67667         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67668         (log1): Likewise.
67669         (my_log2): Likewise.
67670         (checkint): Likewise.
67671         * sysdeps/ieee754/dbl-64/e_remainder.c
67672         (__ieee754_remainder): Likewise.
67673         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67674         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
67675         (bsloww): Likewise.
67676         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67678         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67679         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
67680         MANTISSA_STORE_T to store computations on mantissa.  Use
67681         macros for rounding and division.
67682         (denorm): Likewise.
67683         (__dbl_mp): Likewise.
67684         (add_magnitudes): Likewise.
67685         (sub_magnitudes): Likewise.
67686         (__mul): Likewise.
67687         (__sqr): Likewise.
67688         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
67689         powers of two in terms of TWOPOW macro.
67690         (mp_no): Make type of mantissa as MANTISSA_T.
67691         [!RADIXI]: Define RADIXI.
67692         [!TWO52]: Define TWO52.
67693         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67695 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67697         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
67698         llroundl symbol when building for PPC32.
67700 2013-03-24  Mark H Weaver  <mhw@netris.org>
67702         * manual/arith.texi (Normalization Functions): Fix prototypes for
67703         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
67705 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67707         [BZ #13889]
67708         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
67709         high value to check if expl overflow.
67710         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
67711         to check for underflow and overflow.
67712         * math/libm-test.inc: Add exp test.
67714 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
67716         [BZ #11120]
67717         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
67718         with NOT_IN_libc.
67720 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67722         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
67723         symbol.
67725 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67727         * math/gen-libm-test.pl (parse_args, special_functions): Properly
67728         wrap blocks consisting of several statements.
67730         * sysdeps/generic/math-tests.h: New file.
67731         * sysdeps/i386/fpu/math-tests.h: Likewise.
67732         * math/test-snan.c: Include it.
67733         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
67735 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
67737         [BZ #15285]
67738         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
67739         (__ieee754_j0l): Do not improve calculations using cos of twice
67740         input for inputs above LDBL_MAX / 2.0L.
67741         (__ieee754_y0l): Likewise.
67742         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
67743         (__ieee754_j1l): Do not improve calculations using cos of twice
67744         input for inputs above LDBL_MAX / 2.0L.
67745         (__ieee754_y1l): Likewise.
67746         * math/libm-test.inc (j0_test): Add another test.
67747         (j1_test): Likewise.
67748         (y0_test): Likewise.
67749         (y1_test): Likewise.
67750         * sysdeps/i386/fpu/libm-test-ulps: Update.
67752 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67754         * Rules ($(objpfx)bench-%.c): Include code from a C source
67755         file.
67757 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
67759         [BZ #15287]
67760         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67761         imaginary part 1.0 and real part less than 0.5 specially.
67762         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67763         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67764         * math/libm-test.inc (cacos_test): Add more tests.
67765         (casin_test): Likewise.
67766         (casinh_test): Likewise.
67767         * sysdeps/i386/fpu/libm-test-ulps: Update.
67768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67770 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67772         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
67773         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
67775 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
67777         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
67778         * config.make.in (config-cflags-sse4): Remove variable.
67779         (config-cflags-avx): Likewise.
67780         (config-cflags-sse2avx): Likewise.
67781         (config-cflags-novzeroupper): Likewise.
67782         (config-asflags-i686): Likewise.
67783         (have-mfma4): Likewise.
67784         (have-as-vis3): Likewise.
67785         (MIG): Likewise.
67786         * configure.in (MIG): Do not AC_SUBST.
67787         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
67788         (libc_cv_cc_sse4): Do not AC_SUBST.
67789         (libc_cv_cc_avx): Likewise.
67790         (libc_cv_cc_sse2avx): Likewise.
67791         (libc_cv_cc_novzeroupper): Likewise.
67792         (libc_cv_cc_fma4): Likewise.
67793         (libc_cv_as_i686): Likewise.
67794         (libc_cv_sparc_as_vis3): Likewise.
67795         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
67796         LIBC_CONFIG_VAR.
67797         (config-asflags-i686): Likewise.
67798         (config-cflags-avx): Likewise.
67799         (config-cflags-sse2avx): Likewise.
67800         (have-mfma4): Likewise.
67801         (config-cflags-novzeroupper): Likewise.
67802         * sysdeps/mach/configure.in (MIG): Likewise.
67803         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
67804         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
67805         LIBC_CONFIG_VAR.
67806         (config-cflags-avx): Likewise.
67807         (config-cflags-sse2avx): Likewise.
67808         (have-mfma4): Likewise.
67809         (config-cflags-novzeroupper): Likewise.
67810         * configure: Regenerated.
67811         * sysdeps/i386/configure: Likewise.
67812         * sysdeps/mach/configure: Likewise.
67813         * sysdeps/sparc/configure: Likewise.
67814         * sysdeps/x86_64/configure: Likewise.
67816 2013-03-20  Roland McGrath  <roland@hack.frob.com>
67818         [BZ #14812]
67819         * locale/programs/localedef.c (options): Put N_ translation marker
67820         on argument names, not just descriptions.
67822 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67824         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
67826 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
67828         [BZ #14176]
67829         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
67831 2013-03-19  Roland McGrath  <roland@hack.frob.com>
67833         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
67834         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
67835         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
67836         [!BEFORE_ABORT] (before_abort): New function.
67837         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
67838         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
67839         (writev_for_fatal): New function.
67840         (WRITEV_FOR_FATAL): New macro; call that.
67841         (backtrace_and_maps): New function.
67842         (BEFORE_ABORT): New macro; call that.
67843         (struct str_list): Type removed.
67844         (__libc_message, __libc_fatal): Functions removed.
67845         Include <sysdeps/posix/libc_fatal.c> instead.
67847 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
67849         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
67850         constants.
67851         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
67852         double constants.
67854 2013-03-19  Andreas Schwab  <schwab@suse.de>
67856         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
67857         * sysdeps/gnu/configure: Regenerate.
67859         * configure.in: Substitute libc_cv_rtlddir.
67860         * configure: Regenerate.
67861         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
67862         * Makeconfig (rtlddir, inst_rtlddir): New variables.
67863         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
67864         * elf/Makefile (install-others, CFLAGS-interp.c)
67865         (ldso_install, common-ldd-rewrite): Likewise.
67866         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
67867         $(inst_slibdir)/$(rtld-installed-name).
67868         * scripts/rellns-sh: Add -p option.
67869         * Makerules (make-shlib-link): Use rellns-sh to get relative name
67870         for source.
67872 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67874         * manual/nptl.texi: Renamed to ...
67875         * manual/threads.texi: ... this.
67876         * manual/Makefile (chapters): Update.
67878 2013-03-18  Roland McGrath  <roland@hack.frob.com>
67880         [BZ #14812]
67881         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
67882         on argument names, not just descriptions.
67883         * malloc/memusagestat.c (options): Likewise.
67884         * nss/getent.c (options): Likewise.
67886 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
67888         [BZ #14812]
67889         * iconv/iconv_prog.c (options): Put N_ translation marker
67890         on argument names, not just descriptions.
67891         * iconv/iconvconfig.c (options): Likewise.
67893 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
67895         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
67896         implementation which is faster on all x86_64 architectures.
67897         Tested on AMD, Intel Nehalem, SNB, IVB.
67898         * sysdeps/x86_64/strnlen.S: Likewise.
67900         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
67901         Remove all multiarch strlen and strnlen versions.
67902         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
67903         Remove strlen and strnlen related parts.
67905         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
67906         Inline strlen part.
67907         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
67909         * sysdeps/x86_64/multiarch/strlen.S: Remove.
67910         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
67911         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
67912         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
67913         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67914         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
67916 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
67918         * manual/memory.texi (Malloc Tunable Parameters):
67919         Sort parameters alphabetically. Add comments for missing entries.
67921 2013-03-17  David S. Miller  <davem@davemloft.net>
67923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67925 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
67927         [BZ #15283]
67928         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
67929         for arguments at most half maximum finite value.
67930         * math/libm-test.inc (j0_test): Add more tests.
67931         (j1_test): Likewise.
67932         (y0_test): Likewise.
67933         (y1_test): Likewise.
67934         * sysdeps/i386/fpu/libm-test-ulps: Update.
67935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67937         [BZ #14155]
67938         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
67939         1 / x and functions P and Q for arguments above 0x1p256L.
67940         (__ieee754_y0l): Likewise.
67941         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
67942         (__ieee754_y1l): Likewise.
67943         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
67944         (j1_test): Likewise.
67945         (y0_test): Likewise.
67946         (y1_test): Likewise.
67948 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
67950         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
67951         variable.
67953 2013-03-15  Roland McGrath  <roland@hack.frob.com>
67955         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
67956         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
67957         zero since it's initialized to EXEC_PAGESIZE.
67959         * sysdeps/unix/sysv/linux/ldsodefs.h
67960         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
67961         * sysdeps/generic/ldsodefs.h: ... here.
67963 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
67965         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
67967         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
67968         math/test-snan.c.
67969         * math/test-snan.c: Renamed from
67970         sysdeps/powerpc/fpu/test-powerpc-snan.c.
67971         * math/Makefile (tests): Add test-snan.
67972         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
67973         test-powerpc-snan.
67975         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
67976         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
67977         functions.
67978         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
67979         __builtin_nan family of functions.
67980         * math/libm-test.inc (initialize): Initialize qnan_value with
67981         __builtin_nan family of functions.
67982         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
67983         Remove variables.
67984         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
67985         Remove functions.
67986         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
67987         storage class.  Initialize qNaN_var and sNaN_var with
67988         __builtin_nan and __builtin_nans families of functions,
67989         respectively.
67991         * math/libm-test.inc (acosh_test): Also test with qNaN input.
67992         (sqrt_test): Remove duplicate test with qNaN input.
67993         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
67994         (round_test, signbit_test, significand_test): Note missing +/-Inf
67995         as well as qNaN tests.
67997         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
67998         qNaN_var.  Fix a few strings, too.
67999         * math/libm-test.inc (nan_value): Rename to qnan_value.
68000         * math/gen-libm-test.pl (%beautify): Adjust to that.
68001         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
68002         * math/test-misc.c (main): Likewise.
68003         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
68004         to __qnan_bytes, and __qnan_union, respectively.
68005         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
68006         Likewise.
68007         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
68008         and lqnanval, respectively.
68009         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
68010         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
68011         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
68012         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
68014         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
68015         * math/test-misc.c (main) [__x86_64__]: Enable test for long
68016         doubles.
68018         * math/test-misc.c (main): Fix copy'n'pastos.
68019         * misc/tst-efgcvt.c (special): Likewise.
68021         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
68022         Remove declarations.
68024 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68026         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
68027         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
68028         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
68029         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
68031 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68033         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
68034         macro to return vdso values correctly in IFUNC implementations.
68035         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
68036         Optimization by using IFUNC.
68038 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68039             Richard Henderson  <rth@redhat.com>
68040             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68042         * Makefile.in (bench): New target.
68043         * NEWS: Mention the benchmark framework.
68044         * Rules (bench): Likewise.
68045         (binaries-bench): Generate binaries for functions to
68046         benchmark.
68047         * benchtests/Makefile: New makefile for benchmark tests.
68048         * benchtests/bench-skeleton.c: New skeleton file for benchmark
68049         programs.
68050         * benchtests/exp-inputs: New input file for EXP function.
68051         * benchtests/pow-inputs: New input file for POW function.
68052         * scripts/bench.pl: New script to generate source files for
68053         benchmark programs.
68055 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68057         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68058         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
68059         computations on mantissa.  Use macros for rounding and
68060         division.
68061         (denorm): Likewise.
68062         (__dbl_mp): Likewise.
68063         (add_magnitudes): Likewise.
68064         (sub_magnitudes): Likewise.
68065         (__mul): Likewise.
68066         (__sqr): Likewise.
68067         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
68068         powers of two in terms of TWOPOW macro.
68069         (mp_no): Make type of mantissa as MANTISSA_T.
68070         [!RADIXI]: Define RADIXI.
68071         [!TWO52]: Define TWO52.
68072         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68074         * manual/nptl.texi (cindex): Modify threads to pthreads.
68076 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
68078         * sysdeps/x86_64/preconfigure: Regenerated.
68080 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
68082         [BZ #14155]
68083         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
68084         0x1p28 and above.
68085         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
68086         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
68087         0x1p28 and above.
68088         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
68089         * math/libm-test.inc (j0_test): Do not allow one spurious
68090         underflow exception.
68091         (y1_test): Likewise.
68093 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68095         * manual/Makefile (chapters): Add nptl.
68096         * manual/debug.texi (Debugging Support): Add link to Threads
68097         chapter.
68098         * manual/nptl.texi: New file.
68100         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
68102 2013-03-14  Petr Baudis  <pasky@ucw.cz>
68104         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
68105         for non-NULL pointer before the memory validity test. Pointed
68106         out by Holger Brunck <holger.brunck@keymile.com>.
68108 2013-03-13  Andreas Schwab  <schwab@suse.de>
68110         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
68111         instead of .os.
68113 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
68115         * timezone/zic.c: Update from tzcode 2013b.
68117 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
68119         * manual/install.texi (Configuring and compiling):
68120         Mention i686 and i586.
68121         * INSTALL: Regenerate.
68123 2013-03-12  Roland McGrath  <roland@hack.frob.com>
68125         * sysdeps/init_array/elf-init.c: New file.
68126         * csu/elf-init.c
68127         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
68128         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
68130         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
68131         __gmon_start__ as global, but as static with a .preinit_array pointer.
68132         * sysdeps/init_array/gmon-start.c: New file.  Use that.
68133         * sysdeps/init_array/crti.S: New file, empty except for comments.
68134         * sysdeps/init_array/crtn.S: Likewise.
68136 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
68138         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
68139         definining bcopy.
68140         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68141         Remove Prefer_SSE_for_memop.
68142         * sysdeps/x86_64/multiarch/init-arch.h: Remove
68143         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
68144         HAS_PREFER_SSE_FOR_MEMOP.
68145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
68146         memset-x86-64.
68147         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
68148         Remove bzero, memset ifunc support.
68149         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
68150         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
68151         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68152         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68154 2013-03-11  Andreas Schwab  <schwab@suse.de>
68156         [BZ #15234]
68157         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
68158         by SHLIB_COMPAT.
68159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
68160         (GLIBC_2.16): Remove pthread_atfork.
68162 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
68164         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
68165         (ptestcases.h): Likewise.
68167 2013-03-08  Roland McGrath  <roland@hack.frob.com>
68169         * Makeconfig ($(common-objpfx)config.status): Depend on
68170         sysdeps/*/preconfigure{,.in} too.
68172 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
68174         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
68175         (__free_hook): Use void * instead of __malloc_ptr_t.
68176         (__malloc_hook): Likewise.
68177         (__realloc_hook): Likewise.
68178         (__memalign_hook): Likewise.
68179         (__after_morecore_hook): Likewise.
68180         * malloc/arena.c (save_malloc_hook): Likewise.
68181         (save_free_hook): Likewise.
68182         * malloc/hooks.c (malloc_hook_ini): Likewise.
68183         (realloc_hook_ini): Likewise.
68184         (memalign_hook_ini): Likewise.
68185         * malloc/malloc.c (malloc_hook_ini): Likewise.
68186         (realloc_hook_ini): Likewise.
68187         (memalign_hook_ini): Likewise.
68188         (__free_hook): Likewise.
68189         (__malloc_hook): Likewise.
68190         (__realloc_hook): Likewise.
68191         (__memalign_hook): Likewise.
68192         (__libc_malloc): Likewise.
68193         (__libc_free): Likewise.
68194         (__libc_realloc): Likewise.
68195         (__libc_memalign): Likewise.
68196         (__libc_valloc): Likewise.
68197         (__libc_pvalloc): Likewise.
68198         (__libc_calloc): Likewise.
68199         (__posix_memalign): Likewise.
68200         * malloc/morecore.c (__sbrk): Likewise.
68201         (__default_morecore): Likewise.
68203         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
68205         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
68206         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
68207         __malloc_ptrdiff_t.
68209         * malloc/malloc.h (__malloc_size_t): Remove macro.
68210         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
68211         __malloc_size_t.
68212         (old_memalign_hook): Likewise.
68213         (old_realloc_hook): Likewise.
68214         (struct hdr): Likewise.
68215         (flood): Likewise.
68216         (mallochook): Likewise.
68217         (memalignhook): Likewise.
68218         (reallochook): Likewise.
68219         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
68220         (tr_old_realloc_hook): Likewise.
68221         (tr_old_memalign_hook): Likewise.
68222         (tr_mallochook): Likewise.
68223         (tr_reallochook): Likewise.
68224         (tr_memalignhook): Likewise.
68226 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68228         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
68229         default_ldbl_pack and using as default implementation.
68230         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
68231         implementation.
68232         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
68233         redundant definition.
68234         (ldbl_insert_mantissa): Likewise.
68235         (ldbl_canonicalize): Likewise.
68236         (ldbl_nearbyint): Likewise.
68237         (ldbl_pack): Rename to ldbl_pack_ppc.
68238         (ldbl_unpack): Rename to ldbl_unpack_ppc.
68239         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
68240         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
68242 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
68244         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
68245         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
68246         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
68247         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
68248         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
68249         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
68250         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
68251         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
68253 2013-03-07  Andreas Jaeger  <aj@suse.de>
68255         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68256         bits/mman-linux.h.
68258 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
68260         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
68261         Include mpa.h and declare __MPEXP.
68262         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
68263         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
68264         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
68265         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
68266         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
68267         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
68268         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
68270         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
68271         (__slowpow): Use long double EXPL and LOGL functions to
68272         compute POW.
68273         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
68274         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
68275         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
68276         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
68277         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
68278         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
68280         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
68281         intermediate variable to calculate exponent.
68282         (__sqr): Likewise.
68283         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
68284         Likewise.
68285         (__sqr): Likewise.
68287         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
68288         [!NO__SQR]: Define __sqr.
68289         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
68290         and NO__SQR.  Remove all code except __mul and __sqr.  Include
68291         sysdeps/ieee754/dbl-64/mpa.c.
68292         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68294         [BZ #12723]
68295         * posix/Makefile (tests): Add tst-pathconf.
68296         * posix/tst-pathconf.c: New test case.
68297         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
68298         _PC_PIPE_BUF.
68299         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
68301 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
68303         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
68305 2013-03-06  Andreas Jaeger  <aj@suse.de>
68307         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
68308         definition via __MAP_ANONYMOUS.
68310         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
68311         it's not part of Linux headers.
68313         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
68314         (MAP_HUGE_MASK): Define.
68316         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68317         Define.
68318         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68319         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68320         Define.
68321         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68322         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68323         Define.
68324         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68325         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
68326         Define.
68327         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68329         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
68330         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
68331         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
68332         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
68333         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
68334         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
68336         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
68337         Handle f2fs.
68339         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68340         Handle f2fs and efivarfs.
68342         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
68343         f2fs.
68345         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
68346         (EFIVARFS_MAGIC): Add.
68347         (F2FS_LINK_MAX): Add.
68349 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68351         * stdio-common/vfprintf.c: Replace __builtin_expect with
68352         __glibc_unlikely.
68354 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
68356         [BZ #13550]
68357         * sysdeps/generic/bp-sym.h: Remove file.
68358         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
68359         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
68360         <bp-sym.h> and <bp-asm.h>.
68361         (__longjmp): Don't use BP_SYM.
68362         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
68363         and <bp-asm.h>.
68364         (memcpy): Don't use BP_SYM.
68365         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
68366         <bp-sym.h> and <bp-asm.h>.
68367         (memcpy): Don't use BP_SYM.
68368         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
68369         <bp-asm.h>.
68370         (memcpy): Don't use BP_SYM.
68371         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
68372         <bp-asm.h>.
68373         (memset): Don't use BP_SYM.
68374         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68375         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68376         (__bzero): Don't use BP_SYM.
68377         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68378         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68379         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
68380         <bp-sym.h> and <bp-asm.h>.
68381         (memcmp): Don't use BP_SYM.  Remove comment about bounded
68382         pointers.
68383         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
68384         <bp-sym.h> and <bp-asm.h>.
68385         (memcpy): Don't use BP_SYM.
68386         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
68387         <bp-sym.h> and <bp-asm.h>.
68388         (memset): Don't use BP_SYM.
68389         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68390         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68391         (__bzero): Don't use BP_SYM.
68392         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68393         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68394         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
68395         <bp-sym.h> and <bp-asm.h>.
68396         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68397         pointers.
68398         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
68399         <bp-sym.h> and <bp-asm.h>.
68400         (memcpy): Don't use BP_SYM.
68401         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
68402         <bp-sym.h> and <bp-asm.h>.
68403         (memset): Don't use BP_SYM.
68404         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68405         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68406         (__bzero): Don't use BP_SYM.
68407         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68408         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68409         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
68410         <bp-sym.h> and <bp-asm.h>.
68411         (__memchr): Don't use BP_SYM.
68412         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
68413         <bp-sym.h> and <bp-asm.h>.
68414         (memcmp): Don't use BP_SYM.  Remove comment about bounded
68415         pointers.
68416         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
68417         <bp-sym.h> and <bp-asm.h>.
68418         (memcpy): Don't use BP_SYM.
68419         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
68420         <bp-sym.h> and <bp-asm.h>.
68421         (__mempcpy): Don't use BP_SYM.
68422         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
68423         <bp-sym.h> and <bp-asm.h>.
68424         (__memrchr): Don't use BP_SYM.
68425         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
68426         <bp-sym.h> and <bp-asm.h>.
68427         (memset): Don't use BP_SYM.
68428         (__bzero): Likewise.
68429         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
68430         <bp-sym.h> and <bp-asm.h>.
68431         (__rawmemchr): Don't use BP_SYM.
68432         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
68433         <bp-sym.h> and <bp-asm.h>.
68434         (__STRCMP): Don't use BP_SYM.
68435         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
68436         <bp-sym.h> and <bp-asm.h>.
68437         (strchr): Don't use BP_SYM.
68438         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
68439         <bp-sym.h> and <bp-asm.h>.
68440         (__strchrnul): Don't use BP_SYM.
68441         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
68442         <bp-sym.h> and <bp-asm.h>.
68443         (strlen): Don't use BP_SYM.
68444         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
68445         <bp-sym.h> and <bp-asm.h>.
68446         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68447         pointers.
68448         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
68449         <bp-sym.h> and <bp-asm.h>.
68450         (__strnlen): Don't use BP_SYM.
68451         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
68452         <bp-sym.h> and <bp-asm.h>.
68453         (__GI__setjmp): Don't use BP_SYM.
68454         (_setjmp): Likewise.
68455         (__sigsetjmp): Likewise.
68456         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
68457         (L(start_addresses)): Don't use BP_SYM.
68458         (_start): Likewise.
68459         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
68460         <bp-asm.h>.
68461         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
68462         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
68463         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68464         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68465         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
68466         <bp-asm.h>.
68467         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
68468         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
68469         about bounded pointers.
68470         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68471         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68472         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
68473         <bp-asm.h>.
68474         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
68475         about bounded pointers.  Remove GKM FIXME comments.
68476         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68477         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
68478         <bp-asm.h>.
68479         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
68480         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
68481         Remove GKM FIXME comments.
68482         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68483         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68484         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
68485         <bp-asm.h>.
68486         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
68487         about bounded pointers.  Remove GKM FIXME comment.
68488         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
68489         and <bp-asm.h>.
68490         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68491         pointers.
68492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
68493         <bp-sym.h> and <bp-asm.h>.
68494         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
68496         <bp-sym.h> and <bp-asm.h>.
68497         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
68498         comment.
68500 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68502         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
68503         call free(NULL).
68505 2013-03-05  David S. Miller  <davem@davemloft.net>
68507         * po/es.po: Update from translation team.
68509 2013-03-05  Andreas Jaeger  <aj@suse.de>
68511         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
68512         <bits/mman-linux.h>.
68513         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68514         is fine.
68515         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
68516         <bits/mman-linux.h> to end of file.
68517         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68518         is fine.
68519         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
68520         <bits/mman-linux.h> to end of file.
68521         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68522         is fine.
68523         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
68524         <bits/mman-linux.h> to end of file.
68526         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
68527         (MCL_CURRENT, MCL_FUTURE): Define here.
68529 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68531         [BZ #15232]
68532         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
68533         attribute_hidden.
68534         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68536 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68538         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
68539         fourth parameter needed for rt_sigprocmask syscall.
68540         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
68541         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
68542         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
68543         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
68544         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
68545         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
68547 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
68549         [BZ #13550]
68550         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
68551         comment about bounded pointers.
68552         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
68553         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
68555 2013-03-04  Andreas Jaeger  <aj@suse.de>
68557         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
68558         common definitions.
68560         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
68561         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
68562         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
68563         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68564         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
68565         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68567 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68569         [BZ #15055]
68570         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
68571         __ieee754_sqrl instead of __sqrl.
68573 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
68575         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
68576         * sysdeps/powerpc/fpu_control.h: ... here.
68577         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
68578         * sysdeps/powerpc/bits/fenvinline.h: ... here.
68579         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
68580         * sysdeps/powerpc/bits/mathinline.h: ... here.
68582 2013-03-01  Roland McGrath  <roland@hack.frob.com>
68584         * elf/dl-hwcaps.c (_dl_important_hwcaps):
68585         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
68586         to just [NEED_DL_SYSINFO_DSO].
68587         * elf/dl-support.c: Likewise.
68588         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
68589         * elf/rtld.c (dl_main): Likewise.
68590         * elf/setup-vdso.h (setup_vdso): Likewise.
68591         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
68592         * sysdeps/unix/sysv/linux/dl-sysdep.c
68593         (_dl_discover_osversion): Likewise.
68595 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
68597         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
68598         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68600 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
68602         * NEWS: Mention libm performance improvements and non-x86 PI
68603         futex support.
68605         * csu/libc-start.c (__pthread_initialize_minimal): Change
68606         function arguments.
68607         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68609 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
68611         [BZ #13550]
68612         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
68613         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
68614         <bp-sym.h> and <bp-asm.h>.
68615         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68616         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
68617         and <bp-asm.h>.
68618         (memcpy): Don't use BP_SYM.
68619         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
68620         <bp-asm.h>.
68621         (__mpn_add_n): Don't use BP_SYM.
68622         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
68623         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
68624         and <bp-asm.h>.
68625         (__mpn_addmul_1): Don't use BP_SYM.
68626         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68627         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
68628         <bp-sym.h>.
68629         (_setjmp): Don't use BP_SYM.
68630         (__novmx_setjmp): Likewise.
68631         (__GI__setjmp): Likewise.
68632         (__vmx_setjmp): Likewise.
68633         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
68634         <bp-sym.h>.
68635         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
68636         (__bzero): Don't use BP_SYM.
68637         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68638         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68639         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
68640         <bp-sym.h> and <bp-asm.h>.
68641         (memcpy): Don't use BP_SYM.
68642         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
68643         <bp-sym.h> and <bp-asm.h>.
68644         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68645         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
68646         <bp-sym.h> and <bp-asm.h>.
68647         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68648         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
68649         <bp-asm.h>.
68650         (__mpn_lshift): Don't use BP_SYM.
68651         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68652         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
68653         <bp-asm.h>.
68654         (memset): Don't use BP_SYM.
68655         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68656         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68657         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
68658         <bp-asm.h>.
68659         (__mpn_mul_1): Don't use BP_SYM.
68660         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68661         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
68662         <bp-sym.h> and <bp-asm.h>.
68663         (memcmp): Don't use BP_SYM.
68664         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
68665         <bp-sym.h> and <bp-asm.h>.
68666         (memcpy): Don't use BP_SYM.
68667         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
68668         <bp-sym.h> and <bp-asm.h>.
68669         (memset): Don't use BP_SYM.
68670         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
68671         <bp-sym.h> and <bp-asm.h>.
68672         (strncmp): Don't use BP_SYM.
68673         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
68674         <bp-sym.h> and <bp-asm.h>.
68675         (memcpy): Don't use BP_SYM.
68676         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
68677         <bp-sym.h> and <bp-asm.h>.
68678         (memset): Don't use BP_SYM.
68679         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
68680         <bp-sym.h> and <bp-asm.h>.
68681         (__memchr): Don't use BP_SYM.
68682         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
68683         <bp-sym.h> and <bp-asm.h>.
68684         (memcmp): Don't use BP_SYM.
68685         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
68686         <bp-sym.h> and <bp-asm.h>.
68687         (memcpy): Don't use BP_SYM.
68688         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
68689         <bp-sym.h> and <bp-asm.h>.
68690         (__mempcpy): Don't use BP_SYM.
68691         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
68692         <bp-sym.h> and <bp-asm.h>.
68693         (__memrchr): Don't use BP_SYM.
68694         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
68695         <bp-sym.h> and <bp-asm.h>.
68696         (memset): Don't use BP_SYM.
68697         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
68698         <bp-sym.h> and <bp-asm.h>.
68699         (__rawmemchr): Don't use BP_SYM.
68700         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
68701         <bp-sym.h> and <bp-asm.h>.
68702         (__STRCMP): Don't use BP_SYM.
68703         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
68704         <bp-sym.h> and <bp-asm.h>.
68705         (strchr): Don't use BP_SYM.
68706         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
68707         <bp-sym.h> and <bp-asm.h>.
68708         (__strchrnul): Don't use BP_SYM.
68709         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
68710         <bp-sym.h> and <bp-asm.h>.
68711         (strlen): Don't use BP_SYM.
68712         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
68713         <bp-sym.h> and <bp-asm.h>.
68714         (strncmp): Don't use BP_SYM.
68715         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
68716         <bp-sym.h> and <bp-asm.h>.
68717         (__strnlen): Don't use BP_SYM.
68718         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
68719         <bp-asm.h>.
68720         (__mpn_rshift): Don't use BP_SYM.
68721         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68722         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
68723         <bp-sym.h> and <bp-asm.h>.
68724         (__sigsetjmp): Don't use BP_SYM.
68725         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
68726         (L(start_addresses)): Don't use BP_SYM.
68727         (_start): Likewise.
68728         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
68729         <bp-asm.h>.
68730         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
68731         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68732         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68733         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
68734         <bp-asm.h>.
68735         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
68736         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68737         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68738         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
68739         <bp-asm.h>.
68740         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
68741         comments.
68742         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68743         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
68744         <bp-asm.h>.
68745         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
68746         FIXME comments.
68747         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68748         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68749         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
68750         <bp-asm.h>.
68751         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
68752         comment.
68753         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
68754         and <bp-asm.h>.
68755         (strncmp): Don't use BP_SYM,
68756         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
68757         <bp-asm.h>.
68758         (__mpn_sub_n): Don't use BP_SYM.
68759         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68760         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
68761         and <bp-asm.h>.
68762         (__mpn_submul_1): Don't use BP_SYM.
68763         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
68765         <bp-sym.h> and <bp-asm.h>.
68766         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
68768         <bp-sym.h> and <bp-asm.h>.
68769         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
68770         comment.
68772 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68774         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
68775         Use ZK to minimize writes to Z.
68776         (sub_magnitudes): Simplify code a bit.
68777         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
68778         Use ZK to minimize writes to Z.
68779         (sub_magnitudes): Simplify code a bit.
68781 2013-02-27  Roland McGrath  <roland@hack.frob.com>
68783         * csu/gmon-start.c: Add special exception to license text.
68785 2013-02-27  Richard Henderson  <rth@redhat.com>
68787         * scripts/config.guess: Update from config.git.
68788         * scripts/config.sub: Likewise.
68790 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68792         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
68794         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
68796         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
68798         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
68800         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
68802 2013-02-26  Roland McGrath  <roland@hack.frob.com>
68804         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
68805         [$(build-shared = yes].
68807 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68809         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
68810         (__mul): Reduce iterations for calculating mantissa.
68812         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
68813         MPTWO.
68814         (__mpranred): Likewise.
68816         [BZ #15160]
68817         * malloc/memusagestat.c (main): Draw graphs for heap and stack
68818         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
68820 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
68822         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
68823         Define __attribute__.
68825 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68827         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
68828         unused.
68829         * posix/regex_internal.h (__attribute): Remove.
68830         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
68831         (re_string_context_at): Likewise.
68832         (bitset_not): Use __attribute__ and mark function as possibly
68833         unused.
68834         (bitset_merge): Likewise.
68835         (bitset_mask): Likewise.
68836         (re_string_char_size_at): Likewise.
68837         (re_string_wchar_at): Likewise.
68838         (re_string_elem_size_at): Likewise.
68840 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68842         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
68843         code.
68844         (cc32): Likewise.
68846         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
68847         (__acr): Likewise.
68848         (__cpy): Likewise.
68849         (norm): Likewise.
68850         (denorm): Likewise.
68851         (__dbl_mp): Likewise.
68852         (add_magnitudes): Likewise.
68853         (sub_magnitudes): Likewise.
68854         (__mul): Likewise.
68855         (__inv): Likewise.
68857         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
68858         style.
68860         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
68861         style.
68863         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
68864         code.
68866         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
68867         up changes with default code.
68868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
68869         Likewise.
68871 2013-02-24  Allan McRae  <allan@archlinux.org>
68873         * manual/socket.texi (The Internet Namespace): Order menu items
68874         to match that in the file.
68876         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
68877         node listing of the info page menu.
68879 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
68881         [BZ #13550]
68882         * sysdeps/i386/bp-asm.h: Remove file.
68883         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68884         (PARMS): Do not use macros from bp-asm.h.
68885         (S1): Likewise.
68886         (S2): Likewise.
68887         (SIZE): Likewise.
68888         (__mpn_add_n): Do not use BP_SYM
68889         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
68890         "bp-asm.h".
68891         (PARMS): Do not use macros from bp-asm.h.
68892         (S1): Likewise.
68893         (SIZE): Likewise.
68894         (__mpn_addmul_1): Do not use BP_SYM
68895         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
68896         "bp-asm.h".
68897         (PARMS): Do not use macros from bp-asm.h.
68898         (SIGMSK): Likewise.
68899         (_setjmp): Likewise.  Do not use BP_SYM.
68900         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
68901         "bp-asm.h".
68902         (PARMS): Do not use macros from bp-asm.h.
68903         (SIGMSK): Likewise.
68904         (setjmp): Likewise.  Do not use BP_SYM.
68905         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
68906         "bp-asm.h".
68907         (PARMS): Do not use macros from bp-asm.h.
68908         (__frexp): Do not use BP_SYM.
68909         (frexp): Likewise.
68910         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
68911         "bp-asm.h".
68912         (PARMS): Do not use macros from bp-asm.h.
68913         (__frexpf): Do not use BP_SYM.
68914         (frexpf): Likewise.
68915         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
68916         "bp-asm.h".
68917         (PARMS): Do not use macros from bp-asm.h.
68918         (__frexpl): Do not use BP_SYM.
68919         (frexpl): Likewise.
68920         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
68921         "bp-asm.h".
68922         (PARMS): Do not use macros from bp-asm.h.
68923         (__remquo): Do not use BP_SYM.
68924         (remquo): Likewise.
68925         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
68926         "bp-asm.h".
68927         (PARMS): Do not use macros from bp-asm.h.
68928         (__remquof): Do not use BP_SYM.
68929         (remquof): Likewise.
68930         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
68931         "bp-asm.h".
68932         (PARMS): Do not use macros from bp-asm.h.
68933         (__remquol): Do not use BP_SYM.
68934         (remquol): Likewise.
68935         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
68936         "bp-asm.h".
68937         (PARMS): Do not use macros from bp-asm.h.
68938         (DEST): Likewise.
68939         (SRC): Likewise.
68940         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
68941         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
68942         "bp-asm.h".
68943         (PARMS): Do not use macros from bp-asm.h.
68944         (strlen): Do not use BP_SYM.
68945         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
68946         "bp-asm.h".
68947         (PARMS): Do not use macros from bp-asm.h.
68948         (S1): Likewise.
68949         (S2): Likewise.
68950         (SIZE): Likewise.
68951         (__mpn_add_n): Do not use BP_SYM.
68952         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
68953         "bp-asm.h".
68954         (PARMS): Do not use macros from bp-asm.h.
68955         (S1): Likewise.
68956         (SIZE): Likewise.
68957         (__mpn_addmul_1): Do not use BP_SYM.
68958         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
68959         weak_alias.
68960         (bzero): Likewise.
68961         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
68962         "bp-asm.h".
68963         (PARMS): Do not use macros from bp-asm.h.
68964         (S): Likewise.
68965         (SIZE): Likewise.
68966         (__mpn_lshift): Do not use BP_SYM.
68967         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
68968         "bp-asm.h".
68969         (PARMS): Do not use macros from bp-asm.h.
68970         (DEST): Likewise.
68971         (SRC): Likewise.
68972         (LEN): Likewise.
68973         (memcpy): Likewise.  Do not use BP_SYM.
68974         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
68975         libc_hidden_def and weak_alias.
68976         (mempcpy): Do not use BP_SYM in weak_alias.
68977         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
68978         "bp-asm.h".
68979         (PARMS): Do not use macros from bp-asm.h.
68980         (DEST): Likewise.
68981         (LEN): Likewise.
68982         [!BZERO_P] (CHR): Likewise.
68983         (memset): Likewise.  Do not use BP_SYM.
68984         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
68985         "bp-asm.h".
68986         (PARMS): Do not use macros from bp-asm.h.
68987         (S1): Likewise.
68988         (SIZE): Likewise.
68989         (__mpn_mul_1): Do not use BP_SYM.
68990         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
68991         "bp-asm.h".
68992         (PARMS): Do not use macros from bp-asm.h.
68993         (S): Likewise.
68994         (SIZE): Likewise.
68995         (__mpn_rshift): Do not use BP_SYM.
68996         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
68997         "bp-asm.h".
68998         (PARMS): Do not use macros from bp-asm.h.
68999         (STR): Likewise.
69000         (CHR): Likewise.
69001         (strchr): Likewise.  Do not use BP_SYM.
69002         (index): Do not use BP_SYM in weak_alias.
69003         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
69004         "bp-asm.h".
69005         (PARMS): Do not use macros from bp-asm.h.
69006         (DEST): Likewise.
69007         (SRC): Likewise.
69008         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
69009         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
69010         "bp-asm.h".
69011         (PARMS): Do not use macros from bp-asm.h.
69012         (strlen): Do not use BP_SYM.
69013         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
69014         "bp-asm.h".
69015         (PARMS): Do not use macros from bp-asm.h.
69016         (S1): Likewise.
69017         (S2): Likewise.
69018         (SIZE): Likewise.
69019         (__mpn_sub_n): Do not use BP_SYM.
69020         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
69021         "bp-asm.h".
69022         (PARMS): Do not use macros from bp-asm.h.
69023         (S1): Likewise.
69024         (SIZE): Likewise.
69025         (__mpn_submul_1): Do not use BP_SYM.
69026         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
69027         "bp-asm.h".
69028         (PARMS): Do not use macros from bp-asm.h.
69029         (S1): Likewise.
69030         (S2): Likewise.
69031         (SIZE): Likewise.
69032         (__mpn_add_n): Do not use BP_SYM.
69033         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
69034         weak_alias.
69035         (bzero): Likewise.
69036         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
69037         "bp-asm.h".
69038         (PARMS): Do not use macros from bp-asm.h.
69039         (BLK2): Likewise.
69040         (LEN): Likewise.
69041         (memcmp): Do not use BP_SYM.
69042         (bcmp): Do not use BP_SYM in weak_alias.
69043         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
69044         "bp-asm.h".
69045         (PARMS): Do not use macros from bp-asm.h.
69046         (DEST): Likewise.
69047         (SRC): Likewise.
69048         (LEN): Likewise.
69049         (memcpy): Likewise.  Do not use BP_SYM.
69050         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
69051         "bp-asm.h".
69052         (PARMS): Do not use macros from bp-asm.h.
69053         (DEST): Likewise.
69054         (SRC): Likewise.
69055         (LEN): Likewise.
69056         (memmove): Likewise.  Do not use BP_SYM.
69057         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
69058         "bp-asm.h".
69059         (PARMS): Do not use macros from bp-asm.h.
69060         (DEST): Likewise.
69061         (SRC): Likewise.
69062         (LEN): Likewise.
69063         (__mempcpy): Likewise.  Do not use BP_SYM.
69064         (mempcpy): Do not use BP_SYM in weak_alias.
69065         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
69066         "bp-asm.h".
69067         (PARMS): Do not use macros from bp-asm.h.
69068         (DEST): Likewise.
69069         (LEN): Likewise.
69070         [!BZERO_P] (CHR): Likewise.
69071         (memset): Likewise.  Do not use BP_SYM.
69072         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
69073         "bp-asm.h".
69074         (PARMS): Do not use macros from bp-asm.h.
69075         (STR2): Likewise.
69076         (strcmp): Do not use BP_SYM.
69077         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
69078         "bp-asm.h".
69079         (PARMS): Do not use macros from bp-asm.h.
69080         (STR): Likewise.
69081         (DELIM): Likewise.
69082         [USE_AS_STRTOK_R] (SAVE): Likewise.
69083         (FUNCTION): Likewise.  Do not use BP_SYM.
69084         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
69085         aliases.
69086         (strtok_r): Likewise.
69087         (__GI___strtok_r): Likewise.
69088         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
69089         (PARMS): Do not use macros from bp-asm.h.
69090         (S): Likewise.
69091         (SIZE): Likewise.
69092         (__mpn_lshift): Do not use BP_SYM.
69093         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
69094         (PARMS): Do not use macros from bp-asm.h.
69095         (STR): Likewise.
69096         (CHR): Likewise.
69097         (__memchr): Do not use BP_SYM.
69098         (memchr): Do not use BP_SYM in weak_alias.
69099         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
69100         (PARMS): Do not use macros from bp-asm.h.
69101         (BLK2): Likewise.
69102         (LEN): Likewise.
69103         (memcmp): Do not use BP_SYM.
69104         (bcmp): Do not use BP_SYM in weak_alias.
69105         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
69106         (PARMS): Do not use macros from bp-asm.h.
69107         (S1): Likewise.
69108         (SIZE): Likewise.
69109         (__mpn_mul_1): Do not use BP_SYM.
69110         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
69111         "bp-asm.h".
69112         (PARMS): Do not use macros from bp-asm.h.
69113         (STR): Likewise.
69114         (CHR): Likewise.
69115         (__rawmemchr): Do not use BP_SYM.
69116         (rawmemchr): Do not use BP_SYM in weak_alias.
69117         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
69118         (PARMS): Do not use macros from bp-asm.h.
69119         (S): Likewise.
69120         (SIZE): Likewise.
69121         (__mpn_rshift): Do not use BP_SYM.
69122         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
69123         (PARMS): Do not use macros from bp-asm.h.
69124         (SIGMSK): Likewise.
69125         (__sigsetjmp): Likewise.  Do not use BP_SYM.
69126         * sysdeps/i386/start.S: Do not include "bp-sym.h".
69127         (_start): Do not use BP_SYM.
69128         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
69129         (PARMS): Do not use macros from bp-asm.h.
69130         (DEST): Likewise.
69131         (SRC): Likewise.
69132         (__stpcpy): Likewise.  Do not use BP_SYM.
69133         (stpcpy): Do not use BP_SYM in weak_alias.
69134         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
69135         "bp-asm.h".
69136         (PARMS): Do not use macros from bp-asm.h.
69137         (DEST): Likewise.
69138         (SRC): Likewise.
69139         (LEN): Likewise.
69140         (__stpncpy): Likewise.  Do not use BP_SYM.
69141         (stpncpy): Do not use BP_SYM in weak_alias.
69142         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
69143         (PARMS): Do not use macros from bp-asm.h.
69144         (STR): Likewise.
69145         (CHR): Likewise.
69146         (strchr): Likewise.  Do not use BP_SYM.
69147         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
69148         "bp-asm.h".
69149         (PARMS): Do not use macros from bp-asm.h.
69150         (STR): Likewise.
69151         (CHR): Likewise.
69152         (__strchrnul): Likewise.  Do not use BP_SYM.
69153         (strchrnul): Do not use BP_SYM in weak_alias.
69154         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
69155         "bp-asm.h".
69156         (PARMS): Do not use macros from bp-asm.h.
69157         (STOP): Likewise.
69158         (strcspn): Do not use BP_SYM.
69159         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
69160         "bp-asm.h".
69161         (PARMS): Do not use macros from bp-asm.h.
69162         (STR): Likewise.
69163         (STOP): Likewise.
69164         (strpbrk): Likewise.  Do not use BP_SYM.
69165         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
69166         "bp-asm.h".
69167         (PARMS): Do not use macros from bp-asm.h.
69168         (STR): Likewise.
69169         (CHR): Likewise.
69170         (strrchr): Likewise.  Do not use BP_SYM.
69171         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
69172         (PARMS): Do not use macros from bp-asm.h.
69173         (SKIP): Likewise.
69174         (strspn): Do not use BP_SYM.
69175         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
69176         (PARMS): Do not use macros from bp-asm.h.
69177         (STR): Likewise.
69178         (DELIM): Likewise.
69179         (SAVE): Likewise.
69180         (FUNCTION): Likewise.  Do not use BP_SYM.
69181         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
69182         aliases.
69183         (strtok_r): Likewise.
69184         (__GI___strtok_r): Likewise.
69185         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
69186         (PARMS): Do not use macros from bp-asm.h.
69187         (S1): Likewise.
69188         (S2): Likewise.
69189         (SIZE): Likewise.
69190         (__mpn_sub_n): Do not use BP_SYM.
69191         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
69192         "bp-asm.h".
69193         (PARMS): Do not use macros from bp-asm.h.
69194         (S1): Likewise.
69195         (SIZE): Likewise.
69196         (__mpn_submul_1): Do not use BP_SYM.
69197         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
69198         <bp-sym.h>.
69199         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
69200         and <bp-asm.h>.
69201         (PARMS): Do not use macros from bp-asm.h.
69202         (FLAGS): Likewise.
69203         (PTID): Likewise.
69204         (TLS): Likewise.
69205         (CTID): Likewise.
69206         (__clone): Do not use BP_SYM.
69207         (clone): Do not use BP_SYM in weak_alias.
69208         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
69209         and <bp-asm.h>.
69210         (PARMS): Do not use macros from bp-asm.h.
69211         (LEN): Likewise.
69212         (__mmap64): Do not use BP_SYM.
69213         (mmap64): Do not use BP_SYM in weak_alias.
69214         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69215         <bp-sym.h> and <bp-asm.h>.
69216         (PARMS): Do not use macros from bp-asm.h.
69217         (__posix_fadvise64_l64): Do not use BP_SYM.
69218         * sysdeps/unix/sysv/linux/i386/semtimedop.S
69219         (PARMS): Do not use macros from bp-asm.h.
69220         (NSOPS): Likewise.
69221         (semtimedop): Do not use BP_SYM.
69222         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
69223         and <bp-asm.h>.
69225 2013-02-21  Allan McRae  <allan@archlinux.org>
69227         * manual/message.texi (Charset conversion in gettext):
69228         Move @end statement to beginning of line.
69230 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69232         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
69233         static.
69234         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
69235         Likewise.
69237         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
69238         (denorm): Likewise.
69239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
69240         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
69242 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69244         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
69245         tail-call to the resolved function if pltexit isn't needed.
69247 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69249         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
69250         or Y being zero as being unlikely.
69251         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69252         Likewise.
69254 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
69256         * manual/nss.texi (System Databases and Name Service Switch):
69257         Remove frobnicate @pxref.
69259 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
69261         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
69262         __attribute__ ((unused)) to __attribute__ ((__unused__)).
69264 2013-02-20  Petr Machata  <pmachata@redhat.com>
69266         * elf/elf.h (R_ARM_TARGET1): New macro.
69267         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
69268         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
69269         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
69270         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
69271         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
69272         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
69273         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
69274         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
69275         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
69276         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
69277         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
69278         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
69279         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
69280         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
69281         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
69282         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
69283         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
69284         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
69285         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
69286         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
69287         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
69288         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
69289         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
69290         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
69291         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
69292         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
69293         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
69294         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
69295         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
69296         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
69297         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
69298         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
69299         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
69300         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
69301         (R_ARM_THM_GOT_BREL12): Likewise.
69302         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
69303         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
69304         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
69305         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
69306         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
69307         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
69308         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
69309         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
69310         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
69312 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
69314         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
69315         __attribute_used__ to __attribute__ ((unused)).
69317 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69319         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
69320         powerpc mpa.c.
69321         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
69322         comment formatting.
69323         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
69325 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
69327         [BZ #13550]
69328         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
69329         Remove macro.
69330         (ENTER): Remove both macro definitions.
69331         (LEAVE): Likewise.
69332         (CHECK_BOUNDS_LOW): Likewise.
69333         (CHECK_BOUNDS_HIGH): Likewise.
69334         (CHECK_BOUNDS_BOTH): Likewise.
69335         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
69336         (RETURN_BOUNDED_POINTER): Likewise.
69337         (RETURN_NULL_BOUNDED_POINTER): Likewise.
69338         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
69339         (POP_ERRNO_LOCATION_RETURN): Likewise.
69340         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
69341         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69342         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
69343         macros.
69344         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69345         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
69346         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
69347         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
69348         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
69349         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
69350         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
69351         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
69352         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
69353         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
69354         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
69355         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
69356         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69357         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
69358         removed macros.
69359         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69360         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
69361         macros.
69362         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69363         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
69364         * sysdeps/i386/i586/memset.S (memset): Likewise.
69365         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
69366         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69367         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
69368         macros.
69369         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69370         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
69371         Change uses of L(2) to L(out).
69372         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
69373         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
69374         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
69375         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69376         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
69377         removed macros.
69378         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69379         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
69380         macros.
69381         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69382         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
69383         (RETURN): Do not use macro LEAVE.
69384         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
69385         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
69386         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
69387         * sysdeps/i386/i686/memset.S (memset): Likewise.
69388         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
69389         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
69390         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69391         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
69392         Likewise.
69393         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69394         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
69395         L(1_2) and L(1_3) into L(1).
69396         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69397         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
69398         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69399         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
69400         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69401         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
69402         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
69403         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69404         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
69405         macros.
69406         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
69407         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69408         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
69409         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
69410         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
69411         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69412         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
69413         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
69414         * sysdeps/i386/strcspn.S (strcspn): Likewise.
69415         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
69416         * sysdeps/i386/strrchr.S (strrchr): Likewise.
69417         * sysdeps/i386/strspn.S (strspn): Likewise.
69418         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
69419         conditional code.
69420         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69421         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
69422         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69423         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
69424         L(1_3) into L(1_1).
69425         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
69426         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69427         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
69428         macros.
69429         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69431 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
69433         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
69434         macro.
69436 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69438         * math/atest-exp.c (exp_mpn): Remove ROUND.
69439         * math/atest-exp2.c (exp_mpn): Likewise.
69440         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
69442         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
69443         * stdlib/tst-tls-atexit-lib.c: Likewise.
69444         * stdlib/tst-tls-atexit.c: Likewise.
69446 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69448         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
69449         and __attribute_alloc_size__.
69451 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69453         * include/programs/xmalloc.h: Change __attribute_alloc_size to
69454         __attribute_alloc_size__.
69455         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
69456         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
69458 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69460         * include/programs/xmalloc.h: New file.
69461         * catgets/gencat.c: Include it.
69462         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
69463         * elf/pldd.c: Likewise.
69464         * iconv/iconv_charmap.c: Likewise.
69465         * iconv/iconvconfig.c: Likewise.
69466         * iconv/strtab.c: Likewise.
69467         * locale/programs/locale.c: Likewise.
69468         * locale/programs/localedef.h: Likewise.
69469         * locale/programs/simple-hash.c: Likewise.
69470         * nscd/nscd.h: Likewise.
69471         * nss/makedb.c: Likewise.
69472         * sysdeps/generic/ldconfig.h: Likewise.
69474 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69476         * Versions.def: Add GLIBC_2.18.
69477         * include/link.h (struct link_map): New member l_tls_dtor_count.
69478         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
69479         (__call_tls_dtors): Likewise.
69480         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
69481         __cxa_thread_atexit_impl.
69482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69483         Likewise.
69484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69485         Likewise.
69486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
69487         Likewise.
69488         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
69489         Likewise.
69490         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
69492         Likewise.
69493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
69494         Likewise.
69495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69497         Likewise.
69498         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
69499         (tests): Add test case tst-tls-atexit.
69500         (modules-names): Add shared library for tst-tls-atexit.
69501         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
69502         (GLIBC_PRIVATE): Add __call_tls_dtors.
69503         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
69504         for libstdc++.
69505         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
69506         * stdlib/tst-tls-atexit.c: New test case.
69507         * stdlib/tst-tls-atexit-lib.c: New test case.
69509         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
69511         * elf/Versions (ld): Add _dl_find_dso_for_object.
69512         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
69513         * elf/dl-open.c (_dl_find_dso_for_object): New function.
69514         (dl_open_worker): Use _dl_find_dso_for_object.
69515         * elf/dl-sym.c (do_sym): Likewise.
69516         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
69518 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69520         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
69521         Syntactic changes only.
69522         (_dl_runtime_profile): Do a tail-call to the resolved function.
69524 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
69526         [BZ #13550]
69527         * sysdeps/x86_64/bp-asm.h: Remove file.
69528         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
69529         <bp-sym.h> and <bp-asm.h>.
69530         (__clone): Do not use BP_SYM.
69531         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
69532         <bp-sym.h> and <bp-asm.h>.
69533         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69534         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
69535         "bp-asm.h".
69536         (_setjmp): Do not use BP_SYM.
69537         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
69538         "bp-asm.h".
69539         (setjmp): Do not use BP_SYM.
69540         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
69541         libc_hidden_def.
69542         (mempcpy): Do not use BP_SYM in weak_alias.
69543         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
69544         "bp-asm.h".
69545         (strchr): Do not use BP_SYM.
69546         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
69547         "bp-asm.h".
69548         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
69549         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
69550         (_start): Do not use BP_SYM.
69551         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
69552         "bp-asm.h".
69553         (strcat): Do not use BP_SYM.
69554         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
69555         "bp-asm.h".
69556         (STRCMP): Do not use BP_SYM.
69557         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
69558         "bp-asm.h".
69559         (STRCPY): Do not use BP_SYM.
69560         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
69561         "bp-asm.h".
69562         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
69563         "bp-asm.h".
69564         (FUNCTION): Do not use BP_SYM.
69565         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
69566         weak_alias.
69567         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
69569 2013-02-17  Andreas Jaeger  <aj@suse.de>
69571         * time/Versions: Sort entries.
69572         * string/Versions: Likewise.
69573         * resolv/Versions: Likewise.
69574         * posix/Versions: Likewise.
69575         * iconv/Versions: Likewise.
69576         * elf/Versions: Likewise.
69577         * wcsmbs/Versions: Likewise.
69579 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69581         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
69582         loop termination condition.
69584         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
69585         variable to calculate EZ.
69586         (__sqr): Likewise.
69588         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
69589         the lower precision input.
69591 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
69593         [BZ #13550]
69594         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
69595         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
69596         (run-via-rtld-prefix): Do not handle %-bp tests.
69597         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
69598         (all-object-suffixes): Remove .ob.
69599         (bppfx): Remove variable.
69600         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
69601         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
69602         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
69603         [$(build-bounded) = yes] (libtype.ob): Likewise.
69604         * Makerules (elide-routines.ob): Remove variable.
69605         (do-tests-clean): Do not handle *-bp.out.
69606         (common-mostlyclean): Do not handle *-bp and *-bp.out.
69607         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
69608         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
69609         (tests): Do not include $(tests-bp.out).
69610         (xtests): Do not include $(xtests-bp.out).
69611         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
69612         [$(build-bounded) = yes] ($(addprefix
69613         $(objpfx),$(binaries-bounded))): Remove rule.
69614         ($(objpfx)%-bp.out): Remove rule.
69615         * config.make.in (build-bounded): Remove variable.
69616         * crypt/Makefile [$(build-bounded) = yes]
69617         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
69618         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
69619         append to variable.
69620         [$(build-bounded) = yes] (install-lib): Likewise.
69621         [$(build-bounded) = yes] (generated): Likewise.
69622         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
69623         Remove rule.
69624         * intl/Makefile [$(build-bounded) = yes]
69625         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
69626         * math/Makefile [$(build-bounded) = yes]
69627         ($(tests:%=$(objpfx)%-bp): Likewise.
69628         * misc/Makefile [$(build-bounded) = yes]
69629         ($(objpfx)tst-tsearch-bp): Likewise.
69630         * nptl/Makeconfig (bounded-thread-library): Remove variable.
69631         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
69632         Remove dependency.
69633         * string/Makefile (o-objects.ob): Remove variable.
69634         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
69635         (CFLAGS-.ob): Remove variable.
69636         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
69637         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
69638         both definitions of variable.
69639         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
69640         (ASFLAGS-.ob): Remove variable.
69642 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
69644         [BZ #13550]
69645         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
69646         Remove __BOUNDED_POINTERS__ from condition.
69647         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
69648         * string/bits/string2.h [!__NO_STRING_INLINES &&
69649         !__BOUNDED_POINTERS__]: Likewise.
69650         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
69651         Likewise.
69652         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
69653         Remove conditional code.
69654         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
69655         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
69656         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
69657         condition.
69659         [BZ #13550]
69660         * csu/libc-start.c: Do not include <bp-sym.h>.
69661         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
69662         * elf/dl-open.c: Do not include <bp-sym.h>.
69663         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
69664         * math/fegetenv.c: Do not include <bp-sym.h>.
69665         (fegetenv): Do not use BP_SYM in versioned symbols.
69666         * nptl/sysdeps/pthread/bits/libc-lockP.h
69667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
69668         <bp-sym.h>.
69669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69670         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
69671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69672         (__pthread_mutex_destroy): Likewise.
69673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69674         (__pthread_mutex_lock): Likewise.
69675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69676         (__pthread_mutex_trylock): Likewise.
69677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69678         (__pthread_mutex_unlock): Likewise.
69679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69680         (__pthread_mutexattr_init): Likewise.
69681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69682         (__pthread_mutexattr_destroy): Likewise.
69683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69684         (__pthread_mutexattr_settype): Likewise.
69685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69686         (__pthread_rwlock_init): Likewise.
69687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69688         (__pthread_rwlock_destroy): Likewise.
69689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69690         (__pthread_rwlock_rdlock): Likewise.
69691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69692         (__pthread_rwlock_tryrdlock): Likewise.
69693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69694         (__pthread_rwlock_wrlock): Likewise.
69695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69696         (__pthread_rwlock_trywrlock): Likewise.
69697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69698         (__pthread_rwlock_unlock): Likewise.
69699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69700         (__pthread_key_create): Likewise.
69701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69702         (__pthread_setspecific): Likewise.
69703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69704         (__pthread_getspecific): Likewise.
69705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
69706         Likewise.
69707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69708         (_pthread_cleanup_push_defer): Likewise.
69709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69710         (_pthread_cleanup_pop_restore): Likewise.
69711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69712         (pthread_setcancelstate): Likewise.
69713         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
69714         <bp-sym.h>.
69715         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
69716         (memchr): Do not use BP_SYM in weak_alias.
69717         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
69718         (fegetenv): Do not use BP_SYM in versioned symbols.
69719         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
69720         (fesetenv): Do not use BP_SYM in versioned symbols.
69721         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69722         (feupdateenv): Do not use BP_SYM in versioned symbols.
69723         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69724         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69725         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
69726         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
69727         (open64): Do not use BP_SYM in weak_alias.
69728         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
69729         (fegetenv): Do not use BP_SYM in versioned symbols.
69730         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
69731         (fesetenv): Do not use BP_SYM in versioned symbols.
69732         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69733         (feupdateenv): Do not use BP_SYM in versioned symbols.
69734         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
69735         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
69736         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
69737         (feraiseexcept): Do not use BP_SYM in versioned symbols.
69738         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69739         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69740         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
69741         <bp-sym.h>.
69742         (__libc_start_main): Do not use BP_SYM.
69744 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69746         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
69747         redundant return line.
69748         (norm): Likewise.
69749         (denorm): Likewise.
69750         (dbl_mp): Likewise.
69751         (sub_magnitudes): Likewise.
69752         (__add): Likewise.
69753         (__sub): Likewise.
69754         (__mul): Likewise.
69755         (__inv): Likewise.
69756         (__dvd): Likewise.
69757         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
69758         (norm): Likewise.
69759         (denorm): Likewise.
69760         (dbl_mp): Likewise.
69761         (sub_magnitudes): Likewise.
69762         (__add): Likewise.
69763         (__sub): Likewise.
69764         (__mul): Likewise.
69765         (__inv): Likewise.
69766         (__dvd): Likewise.
69768         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
69769         instead of __mul.
69770         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69771         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
69772         (cc32): Likewise.
69774         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
69775         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
69776         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
69777         of __mul for squares.
69778         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
69779         function
69780         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
69781         Likewise.
69782         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
69783         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69785 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
69787         [BZ #13550]
69788         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
69789         code.
69790         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
69791         prototype or function definition.  Rename ubp_* variables and
69792         parameters.  Remove argv definitions conditional on
69793         [__BOUNDED_POINTERS__].
69794         * debug/backtrace.c (__backtrace): Do not use __unbounded.
69795         * elf/dl-runtime.c (_dl_fixup): Likewise.
69796         * include/set-hooks.h (RUN_HOOK): Likewise.
69797         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
69798         definition.
69799         * string/strcpy.c (strcpy): Do not use __unbounded.
69800         * sysdeps/generic/frame.h (struct layout): Likewise.
69801         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
69802         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
69803         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
69804         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
69805         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
69806         (__backtrace): Likewise.
69807         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
69808         use __ptrvalue.
69809         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
69810         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
69811         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
69812         Likewise.
69813         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
69814         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
69815         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
69816         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69817         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
69818         Do not use __unbounded.
69819         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
69820         Rename __unboundedrlimits parameter to rlimits in prototype.
69821         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
69822         Do not use __unbounded.
69823         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
69824         not use __ptrvalue.
69825         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69826         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
69827         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69828         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
69829         __ptrvalue or __unbounded.
69830         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
69831         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
69832         use __unbounded.
69833         (__new_msgctl): Do not use __ptrvalue.
69834         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
69835         __unbounded.
69836         (__libc_msgrcv): Do not use __ptrvalue.
69837         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
69838         startup_info): Do not use __unbounded.
69839         (__libc_start_main): Likewise.  Rename ubp_* variables and
69840         parameters.  Remove argv definitions conditional on
69841         [__BOUNDED_POINTERS__].
69842         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
69843         __ptrvalue.
69844         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
69845         use __unbounded.
69846         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
69847         or __ptrvalue.
69848         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
69849         use __unbounded.
69850         (__new_shmctl): Do not use __ptrvalue.
69851         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
69852         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
69853         Likewise.
69854         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
69855         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
69856         (__libc_sigaction): Likewise.
69857         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
69858         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
69859         Likewise.
69860         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69862 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
69864         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
69866         * string/mempcpy.c: Implement by calling memcpy.
69868 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
69870         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
69872         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
69873         evaluation.
69875         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
69876         values in the mantissa.
69878         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
69879         minimize writes to Z.
69880         (sub_magnitudes): Simplify code a bit.
69882 2013-02-12  Roland McGrath  <roland@hack.frob.com>
69884         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
69885         from the message.  The linker prefixes all warnings with that already.
69887 2013-02-12  Andreas Schwab  <schwab@suse.de>
69889         [BZ #15078]
69890         * posix/regexec.c (extend_buffers): Add parameter min_len.
69891         (check_matching): Pass minimum needed length.
69892         (clean_state_log_if_needed): Likewise.
69893         (get_subexp): Likewise.
69894         * posix/Makefile (tests): Add bug-regex34.
69895         (bug-regex34-ENV): Define.
69896         * posix/bug-regex34.c: New file.
69898         [BZ #11561]
69899         * posix/regcomp.c (parse_bracket_exp): When looking up collating
69900         elements compare against the byte sequence of it, not its name.
69901         * posix/Makefile (tests): Add bug-regex35.
69902         (bug-regex35-ENV): Define.
69903         * posix/bug-regex35.c: New file.
69905 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69907         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
69908         comment.
69909         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
69910         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
69911         (CHECK_EOL): Add undef.
69913 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
69915         * bits/stdlib-bsearch.h: New file.
69916         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
69917         * stdlib/stdlib.h: Likewise.
69919 2013-02-11  Roland McGrath  <roland@hack.frob.com>
69921         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
69922         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
69923         declaration.
69924         * manual/search.texi (Array Search Function): Add missing const in
69925         lfind prototype.
69926         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
69927         declaration to use rlim_t.
69928         (Basic Scheduling Functions): Remove erroneous const from
69929         sched_getparam prototype.  Remove erroneous * from
69930         sched_get_priority_max and sched_get_priority_min prototypes.
69931         (Resource Usage): Fix summary @comment on vtimes to refer to
69932         sys/vtimes.h rather than vtimes.h.
69933         Add missing *s in vtimes prototype.
69934         (Limits on Resources): Fix ulimit prototype to return long int.
69935         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
69936         prototypes to use long int rather than double.
69937         (BSD Random): Fix initstate and setstate to use char *, not void *.
69938         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
69939         prototype to make second argument 'struct aiocb64 *const[]'.
69940         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
69941         (Status of AIO Operations): Remove erroneous const in aio_return and
69942         aio_return64 prototypes.
69943         (Synchronizing I/O): Fix sync prototype to return void.
69944         * manual/startup.texi (Suboptions): Remove an erroneous const in
69945         getsubopt prototype.
69946         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
69947         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
69948         use size_t rather than int.
69949         (Scanning All Users): Likewise for getpwent_r.
69950         (Setting Groups): Add missing const to setgroups prototype.
69951         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
69952         * manual/socket.texi (Host Names): Fix gethostbyaddr and
69953         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
69954         'const void *' rather than 'const char *'.
69955         (Host Address Functions): Likewise for inet_ntop.
69956         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
69957         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
69958         ssize_t for return value.
69959         (Sending Data): Likewise for send, sendto, sendmsg.
69960         (Socket Option Functions): Add a missing const in setsockopt prototype.
69961         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
69962         use wchar_t for the argument.
69963         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
69964         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
69965         take no arguments.
69966         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
69967         double/float/long double for second argument.
69968         Fix return types of significand, significandf, significandl.
69969         * manual/filesys.texi (Setting Permissions): Use mode_t for second
69970         argument in fchmod prototype.
69971         (File Owner): Use uid_t and gid_t in fchown prototype.
69972         (File Times): Add const to utimes, futimes, and lutimes prototypes.
69973         (Making Special Files): Use mode_t and dev_t in mknod prototype.
69974         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
69975         use 'const struct dirent **' as argument types to CMP function pointer
69976         argument.
69977         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
69978         (File Times): Fix summary magic @comment for struct utimbuf and utime
69979         to refer to utime.h, not time.h.
69980         * manual/string.texi (Argz Functions): Add missing const in
69981         argz_extract and argz_next prototypes.
69982         (Finding Tokens in a String): Likewise for basename.
69983         (String/Array Comparison): Fix typo in wcscasecmp prototype.
69984         (Copying and Concatenation): Fix typo in wmemmove prototype.
69985         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
69986         (Signal Stack): Remove erroneous const in sigstack prototype.
69987         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
69988         prototype.
69989         (Simple Calendar Time): Likewise for stime.
69990         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
69991         prototype.
69992         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
69993         say sys/sysctl.h instead.
69994         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
69995         and vsyslog prototypes.
69997 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69999         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
70000         Remove.
70002 2013-02-11  Roland McGrath  <roland@hack.frob.com>
70004         * misc/sys/mman.h: Fix typo in mremap comment.
70006 2013-02-08  Roland McGrath  <roland@hack.frob.com>
70008         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
70009         the '\0' terminator.
70011 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
70013         [BZ #13550]
70014         * debug/segfault.c: Don't include <bp-checks.h>.
70015         * sysdeps/generic/bp-checks.h: Remove file.
70016         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
70017         (__GETDENTS): Don't use CHECK_N.
70018         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
70019         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
70020         (__getgroups): Don't use CHECK_N.
70021         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
70022         (setgroups): Don't use CHECK_N.
70023         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
70024         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
70025         (__libc_msgrcv): Don't use CHECK_N.
70026         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
70027         (__libc_msgsnd): Don't use CHECK_N.
70028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
70029         <bp-checks.h>.
70030         (__libc_pread): Don't use CHECK_N.
70031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
70032         include <bp-checks.h>.
70033         (__libc_pread64): Don't use CHECK_N.
70034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
70035         include <bp-checks.h>.
70036         (__libc_pwrite): Don't use CHECK_N.
70037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
70038         include <bp-checks.h>.
70039         (__libc_pwrite64): Don't use CHECK_N.
70040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
70041         <bp-checks.h>.
70042         (__libc_pread): Don't use CHECK_N.
70043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
70044         include <bp-checks.h>.
70045         (__libc_pread64): Don't use CHECK_N.
70046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
70047         include <bp-checks.h>.
70048         (__libc_pwrite): Don't use CHECK_N.
70049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
70050         include <bp-checks.h>.
70051         (__libc_pwrite64): Don't use CHECK_N.
70052         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
70053         (do_pread): Don't use CHECK_N.
70054         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
70055         (do_pread64): Don't use CHECK_N.
70056         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
70057         (do_pwrite): Don't use CHECK_N.
70058         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
70059         (do_pwrite64): Don't use CHECK_N.
70060         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
70061         (__libc_readv): Don't use CHECK_N.
70062         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
70063         (semop): Don't use CHECK_N.
70064         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
70065         <bp-checks.h>.
70066         (semtimedop): Don't use CHECK_N.
70067         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
70068         (__libc_pread): Don't use CHECK_N.
70069         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
70070         <bp-checks.h>.
70071         (__libc_pread64): Don't use CHECK_N.
70072         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
70073         <bp-checks.h>.
70074         (__libc_pwrite): Don't use CHECK_N.
70075         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
70076         <bp-checks.h>.
70077         (__libc_pwrite64): Don't use CHECK_N.
70078         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
70079         <bp-checks.h>.
70080         (__libc_msgrcv): Don't use CHECK_N.
70081         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
70082         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
70083         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
70084         (__libc_writev): Don't use CHECK_N.
70086 2013-02-08  Roland McGrath  <roland@hack.frob.com>
70088         * string/strcpy.c: Removed unused variable.
70090         * Makeconfig (+sysdep-includes): Define with := rather than =.
70091         Use an existing include/ subdir of each sysdeps dir before it.
70093 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
70095         * nscd/connection.c (register_traced_file): Comment function.
70096         [HAVE_INOTIFY] (union __inev): Define.
70097         [HAVE_INOTIFY] (inotify_check_files): New function.
70098         [HAVE_INOTIFY] (clear_db_cache): Likewise.
70099         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
70100         clear_db_cache.
70101         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
70103 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
70105         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
70106         loaded if not already and that a failure is permanent.
70108 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
70110         [BZ #15006]
70111         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
70112         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
70114 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
70116         [BZ #13550]
70117         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
70118         (CHECK_1_NULL_OK): Likewise.
70119         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
70120         (__fxstat): Do not use CHECK_1.
70121         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
70122         <bp-checks.h>.
70123         (___fxstat64): Do not use CHECK_1.
70124         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
70125         <bp-checks.h>.
70126         (__fxstatat): Do not use CHECK_1.
70127         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
70128         <bp-checks.h>.
70129         (__fxstatat64): Do not use CHECK_1.
70130         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
70131         <bp-checks.h>.
70132         (__fxstat): Do not use CHECK_1.
70133         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
70134         <bp-checks.h>.
70135         (__fxstatat): Do not use CHECK_1.
70136         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70137         <bp-checks.h>.
70138         (__getresgid): Do not use CHECK_1.
70139         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70140         <bp-checks.h>.
70141         (__getresuid): Do not use CHECK_1.
70142         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
70143         <bp-checks.h>.
70144         (__lxstat): Do not use CHECK_1.
70145         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70146         <bp-checks.h>.
70147         (__old_msgctl): Do not use CHECK_1.
70148         (__new_msgctl): Likewise.
70149         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
70150         <bp-checks.h>.
70151         (__new_setrlimit): Do not use CHECK_1.
70152         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70153         <bp-checks.h>.
70154         (__old_shmctl): Do not use CHECK_1.
70155         (__new_shmctl): Likewise.
70156         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
70157         <bp-checks.h>.
70158         (__xstat): Do not use CHECK_1.
70159         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
70160         (__lxstat): Do not use CHECK_1.
70161         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
70162         <bp-checks.h>.
70163         (___lxstat64): Do not use CHECK_1.
70164         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
70165         (__old_msgctl): Do not use CHECK_1.
70166         (__new_msgctl): Likewise.
70167         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
70168         <bp-checks.h>.
70169         (__gettimeofday): Do not use CHECK_1.
70170         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
70171         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
70172         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
70173         <bp-checks.h>.
70174         (__gettimeofday): Do not use CHECK_1.
70175         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
70176         (__old_shmctl): Do not use CHECK_1_NULL_OK.
70177         (__new_shmctl): Do not use CHECK_1.
70178         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
70179         <bp-checks.h>.
70180         (do_sigtimedwait): Do not use CHECK_1.
70181         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
70182         <bp-checks.h>.
70183         (do_sigwaitinfo): Do not use CHECK_1.
70184         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
70185         <bp-checks.h>.
70186         (msgctl): Do not use CHECK_1.
70187         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
70188         <bp-checks.h>.
70189         (shmctl): Do not use CHECK_1.
70190         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
70191         (ustat): Do not use CHECK_1.
70192         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
70193         <bp-checks.h>.
70194         (__fxstat): Do not use CHECK_1.
70195         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
70196         <bp-checks.h>.
70197         (__fxstatat): Do not use CHECK_1.
70198         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
70199         <bp-checks.h>.
70200         (__lxstat): Do not use CHECK_1.
70201         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
70202         <bp-checks.h>.
70203         (__xstat): Do not use CHECK_1.
70204         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
70205         (__xstat): Do not use CHECK_1.
70206         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
70207         (___xstat64): Do not use CHECK_1.
70209         [BZ #13550]
70210         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
70211         definitions.
70212         (CHECK_BOUNDS_HIGH): Likewise.
70213         * string/strcpy.c: Do not include <bp-checks.h>.
70214         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
70216 2013-02-07  Roland McGrath  <roland@hack.frob.com>
70218         * nscd/nscd-client.h (__nscd_drop_map_ref):
70219         Add __attribute__ ((unused)).
70220         * nis/nss-nisplus.h (niserr2nss): Likewise.
70222         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
70223         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
70225         * csu/libc-tls.c (init_static_tls, init_slotinfo):
70226         Remove inline keyword.
70227         * include/rounding-mode.h (round_away): Likewise.
70228         * libio/wfileops.c (adjust_wide_data): Likewise.
70229         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
70230         (__m128i_strloadu_tolower): Likewise.
70231         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
70232         (__m128i_strloadu_tolower): Likewise.
70233         * time/mktime.c (ydhms_diff): Likewise.
70234         * locale/elem-hash.h (elem_hash): Likewise.
70235         * locale/setlocale.c (setdata): Likewise.
70236         * posix/regex_internal.h (re_string_char_size_at): Likewise.
70237         (re_string_wchar_at): Likewise.
70238         (bitset_not, bitset_merge, bitset_mask): Likewise.
70239         [!(__GNUC__ > 3)] (inline): Remove macro.
70240         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
70241         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
70242         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
70243         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
70244         * string/memcmp.c (memcmp_bytes): Likewise.
70245         * locale/programs/locarchive.c (compute_hashval): Likewise.
70246         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
70247         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
70248         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
70249         * nss/getent.c (print_rpc, print_protocols): Likewise.
70250         (print_passwd, print_group, print_aliases): Likewise.
70251         * nis/nss-nisplus.h (niserr2nss): Likewise.
70252         * nscd/connections.c (restart_p): Likewise.
70253         Change return type to bool.
70255 2013-02-05  Roland McGrath  <roland@hack.frob.com>
70257         * Makeconfig (all-Depend-files): Add existing
70258         $(sorted-subdirs:=/Depend) files.
70259         (all-subdirs): Remove nss.
70260         * sysdeps/unix/inet/Subdirs: Add it here instead.
70261         * hesiod/Depend: New file.
70263         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
70264         instead of calling alloca.
70266         * io/lseek.c (__lseek): Rename to __libc_lseek.
70267         Define __lseek as an alias.
70269         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
70271 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
70273         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
70274         else clause and remove check for non-standard endianness.
70276 2013-02-04  David S. Miller  <davem@davemloft.net>
70278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70280 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
70282         [BZ #13550]
70283         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
70284         (__ubp_memchr): Remove prototype.
70285         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
70286         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
70287         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
70288         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
70289         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
70290         Remove alias.
70291         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
70292         (__ubp_memchr): Likewise.
70293         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
70294         (__ubp_memchr): Likewise.
70295         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
70296         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
70297         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
70298         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
70299         CHECK_STRING.
70300         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
70301         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
70302         (__getcwd): Do not use CHECK_STRING.
70303         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
70304         <bp-checks.h>.
70305         (__real_chown): Do not use CHECK_STRING.
70306         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
70307         <bp-checks.h>.
70308         (fchownat): Do not use CHECK_STRING.
70309         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
70310         CHECK_STRING.
70311         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70312         <bp-checks.h>.
70313         (__lchown): Do not use CHECK_STRING.
70314         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
70315         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
70316         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
70317         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
70318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
70319         include <bp-checks.h>.
70320         (truncate64): Do not use CHECK_STRING.
70321         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70322         <bp-checks.h>.
70323         (__real_chown): Do not use CHECK_STRING.
70324         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70325         <bp-checks.h>.
70326         (__lchown): Do not use CHECK_STRING.
70327         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70328         <bp-checks.h>.
70329         (__chown): Do not use CHECK_STRING.
70330         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
70331         <bp-checks.h>.
70332         (truncate64): Do not use CHECK_STRING.
70333         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
70334         Likewise.
70335         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
70336         (__xmknod): Do not use CHECK_STRING.
70337         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
70338         <bp-checks.h>.
70339         (__xmknodat): Do not use CHECK_STRING.
70340         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
70341         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
70343 2013-02-04  Andreas Schwab  <schwab@suse.de>
70345         [BZ #14142]
70346         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
70347         * include/netdb.h: Likewise for h_errno.
70348         * elf/tst-stackguard1.c: Include <tls.h>.
70350 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
70352         * elf/link.h (struct link_map): Extend the l_addr comment.
70353         * include/link.h (struct link_map): Likewise.
70355 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
70357         [BZ #13550]
70358         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
70359         (BOUNDED_1): Remove macro.
70360         * debug/backtrace.c: Don't include <bp-checks.h>.
70361         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
70362         (__backtrace): Likewise.
70363         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
70364         <bp-checks.h>.
70365         (__backtrace): Don't use BOUNDED_1.
70366         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
70367         <bp-checks.h>.
70368         (__backtrace): Don't use BOUNDED_1.
70369         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
70370         (__backtrace): Don't use BOUNDED_1.
70371         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
70372         (shmat): Don't use BOUNDED_N.
70374 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
70376         [BZ #13550]
70377         * sysdeps/generic/bp-start.h: Remove file.
70378         * csu/libc-start.c: Don't include <bp-start.h>.
70379         (LIBC_START_MAIN): Set up __environ directly instead of using
70380         INIT_ARGV_and_ENVIRON.
70381         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
70382         <bp-start.h>.
70384         [BZ #13550]
70385         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
70386         definitions.
70387         (CHECK_FCNTL): Likewise.
70388         (CHECK_N_PAGES): Likewise.
70390         [BZ #13550]
70391         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
70392         definitions.
70393         (CHECK_SIGSET_NULL_OK): Likewise.
70394         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
70395         <bp-checks.h>.
70396         (sigpending): Don't use CHECK_SIGSET.
70397         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
70398         <bp-checks.h>.
70399         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70400         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
70401         <bp-checks.h>.
70402         (do_sigsuspend): Don't use CHECK_SIGSET.
70403         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
70404         use CHECK_SIGSET.
70405         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
70406         (do_sigwait): Don't use CHECK_SIGSET.
70407         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
70408         use CHECK_SIGSET.
70409         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
70410         include <bp-checks.h>.
70411         (sigpending): Don't use CHECK_SIGSET.
70412         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
70413         include <bp-checks.h>.
70414         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70415         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
70416         <bp-checks.h>.
70417         (sigpending): Don't use CHECK_SIGSET.
70418         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
70419         <bp-checks.h>.
70420         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70422         [BZ #13550]
70423         * sysdeps/generic/bp-semctl.h: Remove file.
70424         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
70425         <bp-checks.h> and <bp-semctl.h>.
70426         (__old_semctl): Don't use CHECK_SEMCTL.
70427         (__new_semctl): Likewise.
70428         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
70429         and <bp-semctl.h>.
70430         (__old_semctl): Don't use CHECK_SEMCTL.
70431         (__new_semctl): Likewise.
70432         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
70433         <bp-checks.h> and <bp-semctl.h>.
70434         (__old_semctl): Don't use CHECK_SEMCTL.
70435         (__new_semctl): Likewise.
70436         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
70437         <bp-checks.h> and <bp-semctl.h>.
70438         (semctl): Don't use CHECK_SEMCTL.
70440         [BZ #13550]
70441         * Makerules (elide-bp-thunks): Remove variable.
70442         (elide-routines.oS): Don't use $(elide-bp-thunks).
70443         (elide-routines.os): Likewise.
70444         (elide-routines.o): Likewise.
70445         (elide-routines.op): Likewise.
70446         (elide-routines.og): Likewise.
70447         (objects): Don't use $(bp-thunks).
70448         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
70449         include.
70450         (common-generated): Do not add s-proto-bp.d.
70451         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
70452         (int): Likewise.
70453         (typ): Likewise.
70454         Do not generate makefile rules for bounded-pointer thunks.
70455         * sysdeps/generic/bp-thunks.h: Remove file.
70456         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
70457         * sysdeps/unix/s-proto-bp.S: Likewise.
70459         [BZ #15062]
70460         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
70461         parts of result separately when argument is not close to line from
70462         -i to i and one part of argument is small.
70463         * math/k_casinhf.c (__kernel_casinhf): Likewise.
70464         * math/k_casinhl.c (__kernel_casinhl): Likewise.
70465         * math/libm-test.inc (cacos_test): Add more tests.
70466         (casin_test): Likewise.
70467         (casinh_test): Likewise.
70468         * sysdeps/i386/fpu/libm-test-ulps: Update.
70469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70471 2013-01-31  David S. Miller  <davem@davemloft.net>
70473         * po/de.po: Update from translation team.
70475 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
70477         * time/tzfile.c: Include stdint.h for SIZE_MAX.
70479 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
70481         * configure.in (_AC_PROG_CC_C89): New definition.
70482         * configure: Regenerate.
70484         * configure.in (AC_PROG_CPP): New definition.
70485         * configure: Regenerate.
70487 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
70489         * debug/tst-backtrace.h: New file.
70490         * debug/tst-backtrace2.c: Include tst-backtrace.h.
70491         (ret): Remove variable.
70492         (x): Likewise.
70493         (FAIL): Remove macro.
70494         (NO_INLINE): Likewise.
70495         (fn1): Use match function instead of strstr.
70496         * debug/tst-backtrace3.c: Include tst-backtrace.h.
70497         (ret): Remove variable.
70498         (x): Likewise.
70499         (FAIL): Remove macro.
70500         (NO_INLINE): Likewise.
70501         (fn): Use match function instead of strstr.
70502         * debug/tst-backtrace4.c: Include tst-backtrace.h.
70503         (ret): Remove variable.
70504         (x): Likewise.
70505         (FAIL): Remove macro.
70506         (NO_INLINE): Likewise.
70507         (handle_signal): Use match function instead of strstr.
70508         * debug/tst-backtrace5.c: Include tst-backtrace.h.
70509         (ret): Remove variable.
70510         (x): Likewise.
70511         (FAIL): Remove macro.
70512         (NO_INLINE): Likewise.
70513         (handle_signal): Use match function instead of strstr.
70515 2013-01-23  Roland McGrath  <roland@hack.frob.com>
70517         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
70519 2013-01-23  David S. Miller  <davem@davemloft.net>
70521         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
70522         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
70523         argument of CAS if possible.
70524         * sysdeps/sparc/sparc64/bits/atomic.h
70525         (__arch_compare_and_exchange_val_32_acq): Likewise.
70526         (__arch_compare_and_exchange_val_64_acq): Likewise.
70528 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
70530         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
70531         * sysdeps/posix/ulimit.c: ... this.
70532         Include <limits.h>.
70533         * sysdeps/unix/bsd/ulimit.c: Remove file.
70535 2013-01-23  Adam Conrad  <adconrad@0c3.net>
70537         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
70538         (LDFLAGS-tst-array5): Likewise.
70540 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
70542         [BZ #15036]
70543         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
70544         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
70545         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
70546         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
70548 2013-01-21  David S. Miller  <davem@davemloft.net>
70550         * sysdeps/sparc/backtrace.c: New file.
70551         * sysdeps/sparc/sparc32/backtrace.h: New file.
70552         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
70553         * sysdeps/sparc/sparc64/backtrace.h: New file.
70554         * sysdeps/sparc/sparc64/backtrace.c: Delete.
70555         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
70556         -funwind-tables.
70558 2013-01-21  Andreas Schwab  <schwab@suse.de>
70560         [BZ #15020]
70561         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
70562         closed its stdout.
70564 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
70566         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
70567         "mpa2.h".
70568         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70570 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
70571             Mark Mitchell  <mark@codesourcery.com>
70572             Tom de Vries  <tom@codesourcery.com>
70573             Paul Pluzhnikov  <ppluzhnikov@google.com>
70575         * debug/tst-backtrace2.c: New file.
70576         * debug/tst-backtrace3.c: Likewise.
70577         * debug/tst-backtrace4.c: Likewise.
70578         * debug/tst-backtrace5.c: Likewise.
70579         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
70580         (CFLAGS-tst-backtrace3.c): Likewise.
70581         (CFLAGS-tst-backtrace4.c): Likewise.
70582         (CFLAGS-tst-backtrace5.c): Likewise.
70583         (LDFLAGS-tst-backtrace2): Likewise.
70584         (LDFLAGS-tst-backtrace3): Likewise.
70585         (LDFLAGS-tst-backtrace4): Likewise.
70586         (LDFLAGS-tst-backtrace5): Likewise.
70587         (tests): Add new tests tst-backtrace2, tst-backtrace3,
70588         tst-backtrace4 and tst-backtrace5.
70590 2013-01-18  Anton Blanchard  <anton@samba.org>
70591             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
70593         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
70594         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
70595         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
70596         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
70597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
70598         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
70599         "+r" and remove output regs list as redundant.  Add explicit inline
70600         asm to specify register of return val to work around compiler codegen
70601         bug.  Remove (int) cast on return value.  Add return type parameter to
70602         use in macro so that this macro does not truncate return value for
70603         64-bit values.
70604         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
70605         pass to INTERNAL_VSYSCALL_NCS.
70606         (INLINE_VSYSCALL): Add 'long int' as return type to
70607         INTERNAL_VSYSCALL_NCS macro invocation.
70608         (INTERNAL_VSYSCALL): Add 'long int' as return type to
70609         INTERNAL_VSYSCALL_NCS macro invocation.
70610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70612 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70614         [BZ #14496]
70615         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
70616         Fix application of SIMD FP exception mask.
70618         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
70619         mp_no from a power of two.
70620         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
70621         __mpexp_twomm1.  Use __pow_mp.
70623         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
70624         multiplication.
70626 2013-01-17  David S. Miller  <davem@davemloft.net>
70628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70630 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
70632         [BZ #15023]
70633         * include/complex.h: Condition contents on [!_COMPLEX_H].
70634         (__kernel_casinhf): New prototype.
70635         (__kernel_casinh): Likewise.
70636         (__kernel_casinhl): Likewise.
70637         * math/Makefile (libm_calls): Add k_casinh.
70638         * math/k_casinh.c: New file.
70639         * math/k_casinhf.c: Likewise.
70640         * math/k_casinhl.c: Likewise.
70641         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
70642         finite nonzero arguments.
70643         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
70644         finite nonzero arguments.
70645         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
70646         finite nonzero arguments.
70647         * math/s_casinh.c: Do not include <float.h>.
70648         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
70649         * math/s_casinhf.c: Do not include <float.h>.
70650         (__casinhf): Move code for finite nonzero arguments to
70651         k_casinhf.c.
70652         * math/s_casinhl.c: Do not include <float.h>.
70653         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
70654         redefine.
70655         (__casinhl): Move code for finite nonzero arguments to
70656         k_casinhl.c.
70657         * math/libm-test.inc (cacos_test): Add more tests.
70658         * sysdeps/i386/fpu/libm-test-ulps: Update.
70659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70661 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
70663         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
70664         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
70665         [!HAVE_MREMAP]: Remove [defined linux] case.
70666         * malloc/arena.c: Do not include <malloc-sysdep.h>.
70668 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
70670         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
70672 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
70674         * elf/elf.h (R_386_SIZE32): New relocation.
70675         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
70676         R_386_SIZE32.
70677         (elf_machine_rela): Likewise.
70678         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
70679         R_X86_64_SIZE64 and R_X86_64_SIZE32.
70681 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
70683         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
70684         (FP_FAST_FMA): Do not define.
70685         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
70686         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
70687         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
70688         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
70689         !_SOFT_FLOAT]: Likewise.
70690         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
70691         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
70692         value.
70693         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
70694         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
70695         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
70696         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
70697         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
70698         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
70699         file.
70701 2013-01-16  Andreas Schwab  <schwab@suse.de>
70703         [BZ #14327]
70704         * include/stdlib.h (__mktemp): Add declaration.
70705         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
70706         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
70708 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70710         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
70711         definitions.
70712         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70713         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
70714         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
70715         definitions here.
70716         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
70717         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
70718         definitions.
70719         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
70720         and ONE.
70721         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
70722         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
70723         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
70724         definitions.
70725         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
70726         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
70727         definitions.
70728         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70730         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
70732 2013-01-15  David S. Miller  <davem@davemloft.net>
70734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70735         trunc{,f} to libm-sysdep_routes.
70736         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
70738         file.
70739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
70740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
70741         file.
70742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
70743         file.
70744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
70745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
70746         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
70747         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
70748         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
70749         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
70750         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
70751         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
70753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70754         nearbyint{,f} to libm-sysdep_routes.
70755         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
70757         New file.
70758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
70759         file.
70760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
70761         New file.
70762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
70763         file.
70764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
70765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
70766         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
70767         file.
70768         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
70769         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
70770         file.
70771         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
70772         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
70773         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
70775         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
70776         libc_feholdexcept and libc_fesetenv.
70778 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
70780         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
70782 2013-01-14  David S. Miller  <davem@davemloft.net>
70784         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
70785         (SPARC_ASM_VIS2_IFUNC): Likewise.
70786         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
70787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
70788         use of 'siam' instruction.
70789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
70790         Likewise.
70791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
70792         Likewise.
70793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
70794         Likewise.
70795         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
70796         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
70797         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
70798         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
70799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
70800         file.
70801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
70802         file.
70803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
70804         file.
70805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
70806         file.
70807         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
70808         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
70809         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
70810         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
70811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
70812         new VIS2 routines.
70813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70816         Likewise.
70817         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70818         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70819         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70820         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
70822         routines to libm-sysdep_routines.
70823         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70826         fdim/fdimf to libm-sysdep_routines.
70827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
70828         file.
70829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
70830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
70831         file.
70832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
70833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
70834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
70835         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
70836         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
70837         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
70838         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
70840 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
70842         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
70843         to optimize copies.
70845         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
70846         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70847         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70849         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
70850         local variable MPTWO.
70851         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70852         Likewise.
70854 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70856         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
70857         GLOB_NOESCAPE.
70859 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70861         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
70863 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70865         * manual/pattern.texi (glob_t): Document gl_flags.
70866         (glob64_t): Likewise.
70868 2013-01-11  David S. Miller  <davem@davemloft.net>
70870         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
70871         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
70872         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
70873         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
70874         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
70875         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
70876         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
70877         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
70878         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
70879         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
70880         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
70881         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
70882         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
70884         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70885         sparc V9 rather than using V8 code.
70886         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70887         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70889         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70890         Move to...
70891         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
70892         Here.
70894 2013-01-11  Roland McGrath  <roland@hack.frob.com>
70896         [BZ #14941]
70897         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
70898         not in the main loop.
70899         * configure: Regenerated.
70901 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
70903         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
70904         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
70905         to just #else.
70906         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
70907         [!__GLIBC_HAVE_LONG_LONG] case.
70908         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
70909         condition to just #else.
70910         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
70911         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
70912         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
70913         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
70914         unconditional.
70915         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
70916         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70917         #elif condition to just #else.
70918         * sysdeps/unix/sysv/linux/sys/sysmacros.h
70919         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
70920         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70921         #elif condition to just #else.
70923 2013-01-11  Steve Ellcey  <sellcey@mips.com>
70925         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
70926         (EF_MIPS_ARCH_64): Fix value.
70927         (EF_MIPS_ARCH_32R2): New.
70928         (EF_MIPS_ARCH_64R2): New.
70930 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
70932         * Makeconfig (+link-pie-before-libc): New.
70933         (+link-pie-after-libc): Likewise.
70934         (+link-pie-tests): Likewise.
70935         (+link-pie): Rewritten.
70936         (link-before-libc): Remove $(config-LDFLAGS).
70937         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
70938         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
70939         (config-LDFLAGS): Renamed to ...
70940         (rtld-LDFLAGS): This.
70941         (rtld-tests-LDFLAGS): New macro.
70942         (link-libc-rpath-link): Likewise.
70943         (link-libc-tests-rpath-link): Likewise.
70944         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
70945         (link-libc): Prepand $(link-libc-rpath-link).
70946         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
70947         (test-program-prefix): New macro.
70948         (test-via-rtld-prefix): Likewise.
70949         (test-program-cmd): Likewise.
70950         (host-test-program-cmd): Likewise.
70951         * Makefile ($(common-objpfx)testrun.sh): Replace
70952         $(run-program-prefix) with $(test-program-prefix).
70953         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
70954         $(rtld-LDFLAGS).
70955         ($(common-objpfx)shlib.lds): Likewise.
70956         (build-module-helper): Likewise.
70957         ($(common-objpfx)format.lds): Likewise.
70958         * Rules (binaries-pie-tests): New.
70959         (binaries-pie-notests): Likewise.
70960         (binaries-pie): Rewritten.
70961         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
70962         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
70963         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
70964         (make-test-out): Replace $(host-built-program-cmd) with
70965         $(host-test-program-cmd).
70966         * config.make.in (build-hardcoded-path-in-tests): New variable.
70967         * configure.in (--enable-hardcoded-path-in-tests): New configure
70968         option.
70969         (hardcoded_path_in_tests): New AC_SUBST.
70970         * configure: Regenerated.
70971         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
70972         $(built-program-cmd) with $(test-program-cmd).
70973         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
70974         (test_program_cmd): This.
70975         * elf/Makefile ($(objpfx)order.out): Run test with
70976         $(test-program-prefix).
70977         ($(objpfx)order2.out): Likewise.
70978         ($(objpfx)tst-initorder.out): Likewise.
70979         ($(objpfx)tst-initorder2.out): Likewise.
70980         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
70981         $(test-program-cmd).
70982         ($(objpfx)tst-array1-static.out): Likewise.
70983         ($(objpfx)tst-array2.out): Likewise.
70984         ($(objpfx)tst-array3.out): Likewise.
70985         ($(objpfx)tst-array4.out): Likewise.
70986         ($(objpfx)tst-array5.out): Likewise.
70987         ($(objpfx)tst-array5-static.out): Likewise.
70988         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
70989         $(test-program-cmd).
70990         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
70991         $(run-program-prefix) with $(test-program-prefix).
70992         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
70993         (test_program_prefix): This.
70994         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
70995         $(run-program-prefix) with $(test-program-prefix).
70996         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
70997         (test_program_prefix): This.
70998         * iconvdata/tst-tables.sh: Likewise.
70999         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
71000         $(run-program-prefix) with $(test-program-prefix).
71001         ($(objpfx)tst-translit.out): Likewise.
71002         ($(objpfx)tst-gettext2.out): Likewise.
71003         ($(objpfx)tst-gettext4.out): Likewise.
71004         ($(objpfx)tst-gettext6.out): Likewise.
71005         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
71006         (test_program_prefix): This.
71007         * intl/tst-gettext2.sh: Likewise.
71008         * intl/tst-gettext4.sh  Likewise.
71009         * intl/tst-gettext6.sh: Likewise.
71010         * intl/tst-translit.sh: Likewise.
71011         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
71012         with $(test-program-cmd).
71013         * libio/Makefile ($(objpfx)test-freopen.out): Replace
71014         $(run-program-prefix) with $(test-program-prefix).
71015         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
71016         (test_program_prefix): This.
71017         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
71018         $(run-program-prefix) with $(test-program-prefix).
71019         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
71020         (test_program_prefix): This.
71021         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
71022         * posix/Makefile ($(objpfx)globtest.out): Replace
71023         $(run-via-rtld-prefix) and $(test-wrapper) with
71024         $(test-program-prefix) and $(test-via-rtld-prefix).
71025         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
71026         $(test-program-prefix).
71027         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
71028         $(host-test-program-cmd).
71029         (tst-spawn-ARGS): Likewise.
71030         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
71031         $(test-program-prefix).
71032         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
71033         (test_via_rtld_prefix): This.
71034         (test_wrapper): Renamed to ...
71035         (test_program_prefix): This.
71036         (run_program_prefix): Replaced by test_program_prefix.
71037         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
71038         (test_program_prefix): This.
71039         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
71040         with $(host-test-program-cmd).
71041         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
71042         $(run-program-prefix) with $(test-program-prefix).
71043         ($(objpfx)tst-printf.out): Likewise.
71044         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
71045         $(test-program-cmd).
71046         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
71047         (test_program_prefix): This.
71048         * stdio-common/tst-unbputc.sh: Likewise.
71049         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
71050         $(run-program-prefix) with $(test-program-prefix).
71051         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
71052         (test_program_prefix): This.
71053         * string/Makefile ($(objpfx)tst-svc.out):  Replace
71054         $(built-program-cmd) with $(test-program-cmd).
71056 2013-01-11  Andreas Jaeger  <aj@suse.de>
71058         [BZ #15003]
71059         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
71060         value. Sync with Linux 3.7.
71062 2013-01-10  David S. Miller  <davem@davemloft.net>
71064         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
71065         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71066         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71068 2013-01-10  Roland McGrath  <roland@hack.frob.com>
71070         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
71071         never set.
71072         * configure: Regenerated.
71074 2013-01-10  David S. Miller  <davem@davemloft.net>
71076         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
71077         sparc V9 rather than using V8 code.
71078         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71079         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71081 2013-01-10  Roland McGrath  <roland@hack.frob.com>
71083         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
71084         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
71085         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
71086         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
71087         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
71088         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
71089         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
71090         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
71091         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
71092         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
71093         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
71094         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
71095         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
71096         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
71097         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
71098         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
71099         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
71100         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
71101         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
71102         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
71103         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
71104         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
71105         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
71106         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
71107         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
71108         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
71109         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
71111 2013-01-10  David S. Miller  <davem@davemloft.net>
71113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71115 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
71117         * posix/Makefile (tests-static): New variable.
71118         (tests): Add $(tests-static).
71119         (tst-exec-static-ARGS): New variable.
71120         (tst-spawn-static-ARGS): Likewise.
71121         * posix/tst-exec-static.c: New file.
71122         * posix/tst-spawn-static.c: Likewise.
71123         * posix/tst-exec.c: Support run directly.
71124         * posix/tst-spawn.c: Likewise.
71126 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
71128         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
71129         long.
71130         * math/bits/mathcalls.h (llrint): Likewise.
71131         (llround): Likewise.
71132         * stdlib/stdlib.h (struct drand48_data): Likewise.
71133         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
71134         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
71135         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
71136         Likewise.
71137         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
71138         Likewise.
71139         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
71140         (elf_greg_t): Likewise.
71141         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
71142         (__jmp_buf): Likewise.
71143         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
71144         definitions.
71145         (llrint): Likewise, for all definitions.
71146         (llrintl): Likewise.
71148         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
71149         Remove [__GNUC__] condition.
71150         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
71151         condition to just [__USE_ISOC99].
71152         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
71154 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
71156         [BZ #14200]
71157         * sysdeps/unix/sysv/linux/x86/bits/environments.h
71158         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
71159         defined.
71160         (_POSIX_V6_ILP32_OFF32): Likewise.
71161         (_XBS5_ILP32_OFF32): Likewise.
71162         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
71163         (__ILP32_OFFBIG_LDFLAGS): Likewise.
71165 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71167         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
71169         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
71170         doubles __mpexp_twomm1.  Adjust usage.
71171         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
71172         Remove.
71174 2013-01-10  Andreas Schwab  <schwab@suse.de>
71176         [BZ #14964]
71177         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
71178         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
71180 2013-01-09  David S. Miller  <davem@davemloft.net>
71182         [BZ #15003]
71183         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
71184         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
71185         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
71186         (TCP_FASTOPEN): Define.
71187         (tcp_repair_opt): New structure.
71188         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
71189         enum values.
71190         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
71191         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
71192         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
71193         (tcp_cookie_transactions): New structure.
71195 2013-01-09  Anton Blanchard  <anton@samba.org>
71197         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
71198         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
71199         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
71200         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
71202 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
71204         * include/features.h (__USE_ANSI): Remove.
71206 2013-01-09  Roland McGrath  <roland@hack.frob.com>
71208         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
71210         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
71212 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
71214         * sysdeps/s390/fpu/libm-test-ulps: Update.
71216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71218         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
71219         (__acr): Likewise.
71220         (__cpy): Likewise.
71221         (norm): Likewise.
71222         (denorm): Likewise.
71223         (__mp_dbl): Likewise.
71224         (__dbl_mp): Likewise.
71225         (add_magnitudes): Likewise.
71226         (sub_magnitudes): Likewise.
71227         (__add): Likewise.
71228         (__sub): Likewise.
71229         (__mul): Likewise.
71230         (__inv): Likewise.
71231         (__dvd): Likewise.
71232         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
71233         (__acr): Likewise.
71234         (__cpy): Likewise.
71235         (norm): Likewise.
71236         (denorm): Likewise.
71237         (__mp_dbl): Likewise.
71238         (__dbl_mp): Likewise.
71239         (add_magnitudes): Likewise.
71240         (sub_magnitudes): Likewise.
71241         (__add): Likewise.
71242         (__sub): Likewise.
71243         (__mul): Likewise.
71244         (__inv): Likewise.
71245         (__dvd): Likewise.
71246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
71247         (__acr): Likewise.
71248         (__cpy): Likewise.
71249         (norm): Likewise.
71250         (denorm): Likewise.
71251         (__mp_dbl): Likewise.
71252         (__dbl_mp): Likewise.
71253         (add_magnitudes): Likewise.
71254         (sub_magnitudes): Likewise.
71255         (__add): Likewise.
71256         (__sub): Likewise.
71257         (__mul): Likewise.
71258         (__inv): Likewise.
71259         (__dvd): Likewise.
71261 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
71263         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
71264         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
71265         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
71266         2 && __USE_EXTERN_INLINES]: Likewise.
71268 2013-01-08  Andreas Jaeger  <aj@suse.de>
71270         [BZ #14985]
71271         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
71272         Remove.
71273         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
71274         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
71276 2013-01-07  Anton Blanchard  <anton@samba.org>
71278         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
71279         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
71280         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
71281         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
71282         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
71283         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
71284         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
71285         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
71286         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71287         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71288         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71289         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71290         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
71291         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
71292         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
71293         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71294         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71295         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
71296         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
71297         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
71298         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
71299         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
71300         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71301         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
71302         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
71303         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
71304         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71305         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
71306         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
71307         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
71308         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
71309         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71310         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71311         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
71312         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
71313         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71314         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
71315         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71316         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
71317         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
71318         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
71319         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71320         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
71322 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
71324         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
71325         (__MALLOC_PMT): Likewise.
71326         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
71327         [__GNUC__], only on [_LIBC].
71328         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
71329         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
71330         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
71331         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
71332         forward declaration.
71333         (realloc_hook_ini): Likewise.
71334         (memalign_hook_ini): Likewise.
71335         (__libc_memalign): Do not use __MALLOC_PMT in variable
71336         declaration.
71337         (__libc_valloc): Likewise.
71338         (__libc_pvalloc): Likewise.
71339         (__libc_calloc): Likewise.
71340         (__posix_memalign): Likewise.
71342         [BZ #14996]
71343         * math/s_casinh.c: Include <float.h>.
71344         (__casinh): Do not do computation with squaring and square root
71345         for large arguments.
71346         * math/s_casinhf.c: Include <float.h>.
71347         (__casinhf): Do not do computation with squaring and square root
71348         for large arguments.
71349         * math/s_casinhl.c: Include <float.h>.
71350         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
71351         (__casinhl): Do not do computation with squaring and square root
71352         for large arguments.
71353         * math/libm-test.inc (casin_test): Add more tests.
71354         (casinh_test): Likewise.
71355         * sysdeps/i386/fpu/libm-test-ulps: Update.
71356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71358 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
71360         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
71361         (__x86_64_raw_data_cache_size): Likewise.
71362         (__x86_64_data_cache_size_half): Likewise.
71363         (__x86_64_raw_data_cache_size_half): Likewise.
71364         (__x86_64_shared_cache_size): Likewise.
71365         (__x86_64_raw_shared_cache_size): Likewise.
71366         (__x86_64_shared_cache_size_half): Likewise.
71367         (__x86_64_raw_shared_cache_size_half): Likewise.
71368         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
71369         to ...
71370         (__x86_data_cache_size): This.
71371         (__x86_64_raw_data_cache_size): Renamed to ...
71372         (__x86_raw_data_cache_size): This.
71373         (__x86_64_data_cache_size_half): Renamed to ...
71374         (__x86_data_cache_size_half): This.
71375         (__x86_64_raw_data_cache_size_half): Renamed to ...
71376         (__x86_raw_data_cache_size_half): This.
71377         (__x86_64_shared_cache_size): Renamed to ...
71378         (__x86_shared_cache_size): This.
71379         (__x86_64_raw_shared_cache_size): Renamed to ...
71380         (__x86_raw_shared_cache_size): This.
71381         (__x86_64_shared_cache_size_half): Renamed to ...
71382         (__x86_shared_cache_size_half): This.
71383         (__x86_64_raw_shared_cache_size_half): Renamed to ...
71384         (__x86_raw_shared_cache_size_half): This.
71385         * sysdeps/x86_64/memcpy.S: Updated.
71386         * sysdeps/x86_64/memset.S: Likewise.
71387         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
71388         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71389         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71391 2013-01-04  David S. Miller  <davem@davemloft.net>
71393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71395 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
71397         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
71398         1 to avoid redefinition warning.
71399         (__USE_GNU): Don't define.
71400         (init_signaling_nan): Protoize.
71402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71404 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71406         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
71407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
71408         (__cpymn): Likewise.
71409         (norm): Remove commented code.
71410         (denorm): Likewise.
71411         (__mp_dbl): Likewise.
71412         (__inv): Likewise.
71413         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
71414         (__cpymn): Likewise.
71415         (norm): Remove commented code.
71416         (denorm): Likewise.
71417         (__mp_dbl): Likewise.
71418         (__inv): Likewise.
71420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
71421         mp_no value for 1.0 and 2.0.
71422         (norm): Use RADIXI instead of radixi.d.
71423         (denorm): Likewise.
71424         (__mul): Use 0.0 instead of zero.d.
71425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
71426         mp_no value for 1.0 and 2.0.
71427         (norm): Use RADIXI instead of radixi.d.
71428         (denorm): Likewise.
71429         (__mul): Use 0.0 instead of zero.d.
71431 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
71433         [BZ #14994]
71434         * math/s_casinh.c (__casinh): Reduce finite argument to first
71435         quadrant then set signs of results at the end.
71436         * math/s_casinhf.c (__casinhf): Likewise.
71437         * math/s_casinhl.c (__casinhl): Likewise.
71438         * math/libm-test.inc (casin_test): Add more tests.
71439         (casinh_test): Likewise.
71440         * sysdeps/i386/fpu/libm-test-ulps: Update.
71441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71443 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71445         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
71447         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
71449         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
71450         declarations.
71451         (denorm): Likewise.
71452         (__mp_dbl): Likewise.
71453         (__inv): Likewise.
71455         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
71456         and adjust the header comment.
71458         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
71459         variable name from declaration.
71461 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
71463         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71464         Initialize COMMON_CPUID_INDEX_7 element.
71465         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
71466         (CPUID_RTM): Likewise.
71467         (HAS_RTM): Likewise.
71468         (COMMON_CPUID_INDEX_7): New enum.
71470 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
71472         [BZ #14981]
71473         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
71474         size is zero, record memory as freed.
71476 2013-01-03  Andreas Jaeger  <aj@suse.de>
71478         * po/ia.po: Add new Interlingua translation.
71480 2012-01-03  Allan McRae  <allan@archlinux.org>
71482         * locale/programs/localedef.c: Fix description of '--posix' flag.
71484 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
71486         * NEWS: Update dates in second copyright notice.
71487         * README: Update copyright dates in example.
71488         * manual/libc.texinfo: Update copyright dates.
71489         * scripts/test-installation.pl: Update copyright date in --version
71490         output.
71492         * hurd/ctty-input.c: Fix copyright notice formatting.
71493         * hurd/ctty-output.c: Likewise.
71494         * hurd/dtable.c: Likewise.
71495         * hurd/hurd-raise.c: Likewise.
71496         * hurd/hurdprio.c: Likewise.
71497         * hurd/msgportdemux.c: Likewise.
71498         * misc/sys/file.h: Likewise.
71499         * misc/sys/ioctl.h: Likewise.
71500         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
71501         * sysdeps/mach/hurd/chdir.c: Likewise.
71502         * sysdeps/mach/hurd/fchdir.c: Likewise.
71503         * sysdeps/mach/hurd/rename.c: Likewise.
71504         * sysdeps/mach/hurd/rmdir.c: Likewise.
71505         * sysdeps/mach/hurd/seekdir.c: Likewise.
71506         * sysdeps/mach/hurd/setsid.c: Likewise.
71507         * sysdeps/posix/wait3.c: Likewise.
71509         * All files with FSF copyright notices: Update copyright dates
71510         using scripts/update-copyrights.
71511         * intl/plural.c: Regenerated.
71512         * locale/programs/charmap-kw.h: Likewise.
71513         * locale/programs/locfile-kw.h: Likewise.
71515 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
71517         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
71518         four values.
71520         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
71521         calculation loop and add branch prediction.
71523         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
71524         check access beyond bounds of m1np.
71526         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71527         MPTWO.
71528         (__inv): Remove local variable MPTWO to use the global
71529         constant.
71530         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
71531         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71532         variable MPTWO.
71533         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
71534         MP3HALFS static const.
71536 2013-01-01  David S. Miller  <davem@davemloft.net>
71538         * po/ca.po: Update from translation team.
71540 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
71542         * scripts/update-copyrights: New file.
71543         * Makeconfig: Reformat copyright notice.
71544         * ctype/ctype.h: Likewise.
71545         * debug/swprintf_chk.c: Likewise.
71546         * elf/dl-cache.c: Likewise.
71547         * elf/dl-debug.c: Likewise.
71548         * elf/dl-object.c: Likewise.
71549         * grp/initgroups.c: Likewise.
71550         * hurd/Makefile: Likewise.
71551         * hurd/hurd/signal.h: Likewise.
71552         * hurd/hurdfault.c: Likewise.
71553         * hurd/hurdioctl.c: Likewise.
71554         * hurd/hurdlookup.c: Likewise.
71555         * hurd/intr-msg.c: Likewise.
71556         * iconv/gconv_open.c: Likewise.
71557         * libio/swprintf.c: Likewise.
71558         * locale/lc-ctype.c: Likewise.
71559         * locale/nl_langinfo.c: Likewise.
71560         * mach/Machrules: Likewise.
71561         * mach/Makefile: Likewise.
71562         * malloc/obstack.h: Likewise.
71563         * manual/Makefile: Likewise.
71564         * manual/tsort.awk: Likewise.
71565         * misc/bits/stab.def: Likewise.
71566         * nis/nis_print_group_entry.c: Likewise.
71567         * nis/nis_table.c: Likewise.
71568         * nis/nss_compat/compat-pwd.c: Likewise.
71569         * nis/nss_compat/compat-spwd.c: Likewise.
71570         * po/Makefile: Likewise.
71571         * posix/fnmatch.c: Likewise.
71572         * posix/regex.h: Likewise.
71573         * resolv/Makefile: Likewise.
71574         * resolv/nss_dns/dns-network.c: Likewise.
71575         * resolv/res_hconf.c: Likewise.
71576         * scripts/gen-sorted.awk: Likewise.
71577         * soft-fp/soft-fp.h: Likewise.
71578         * stdio-common/printf.h: Likewise.
71579         * stdlib/monetary.h: Likewise.
71580         * stdlib/random.c: Likewise.
71581         * stdlib/random_r.c: Likewise.
71582         * sysdeps/generic/Makefile: Likewise.
71583         * sysdeps/gnu/Makefile: Likewise.
71584         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71585         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71586         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71587         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71588         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71589         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71590         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71591         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71592         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71593         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71594         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71595         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71596         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71597         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71598         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
71599         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71600         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71601         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71602         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71603         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71604         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71605         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71606         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71607         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
71608         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
71609         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71610         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
71611         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
71612         * sysdeps/mach/hurd/errnos.awk: Likewise.
71613         * sysdeps/mach/hurd/fork.c: Likewise.
71614         * sysdeps/mach/hurd/getcwd.c: Likewise.
71615         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
71616         * sysdeps/mach/hurd/mmap.c: Likewise.
71617         * sysdeps/mach/hurd/utimes.c: Likewise.
71618         * sysdeps/mach/hurd/xmknod.c: Likewise.
71619         * sysdeps/posix/profil.c: Likewise.
71620         * sysdeps/posix/readdir_r.c: Likewise.
71621         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71622         * sysdeps/powerpc/bits/setjmp.h: Likewise.
71623         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
71624         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
71625         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71626         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71627         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71628         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71630         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71631         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71632         * sysdeps/pthread/lio_listio.c: Likewise.
71633         * sysdeps/sparc/dl-procinfo.h: Likewise.
71634         * sysdeps/unix/i386/sysdep.S: Likewise.
71635         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
71636         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
71637         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
71638         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
71639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71640         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
71641         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
71642         * sysdeps/unix/sysv/linux/speed.c: Likewise.
71643         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
71644         * sysdeps/wordsize-32/divdi3.c: Likewise.
71645         * time/sys/time.h: Likewise.
71646         * wcsmbs/Makefile: Likewise.
71648 2013-01-01  David S. Miller  <davem@davemloft.net>
71650         * po/fr.po: Update from translation team.
71652         * catgets/gencat.c: Update copyright year.
71653         * csu/version.c: Likewise.
71654         * debug/catchsegv.sh: Likewise.
71655         * debug/pcprofiledump.c: Likewise.
71656         * debug/xtrace.sh: Likewise.
71657         * elf/ldconfig.c: Likewise.
71658         * elf/ldd.bash.in: Likewise.
71659         * elf/pldd.c: Likewise.
71660         * elf/sotruss.ksh: Likewise.
71661         * elf/sprof.c: Likewise.
71662         * iconv/iconv_prog.c: Likewise.
71663         * iconv/iconvconfig.c: Likewise.
71664         * locale/programs/locale.c: Likewise.
71665         * locale/programs/localedef.c: Likewise.
71666         * login/programs/pt_chown.c: Likewise.
71667         * malloc/memusage.sh: Likewise.
71668         * malloc/memusagestat.c: Likewise.
71669         * malloc/mtrace.pl: Likewise.
71670         * nscd/nscd.c: Likewise.
71671         * nss/getent.c: Likewise.
71672         * nss/makedb.c: Likewise.
71673         * posix/getconf.c: Likewise.
71675 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
71677         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
71678         numbers.
71680 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
71682         * math/bits/mathcalls.h (modf): Use __nonnull.
71684 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71686         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
71687         (split): Use macro CN instead of the bare value.
71688         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
71689         could be used.
71690         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
71691         instead of the bare value.
71692         (power1): Likewise.
71694 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71696         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
71697         __ATAN_TWOM.
71698         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71700         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
71701         their values.
71702         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71703         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
71704         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
71705         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71707 2012-12-28  Andreas Jaeger  <aj@suse.de>
71709         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
71710         values are from Linux 3.7.
71712         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
71713         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
71715 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71717         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
71718         TRUE case.
71720         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
71721         (norm): Likewise.
71722         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
71723         variables with preprocessor constants.
71724         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71725         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71726         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71728 2012-12-27  Bruno Haible  <bruno@clisp.org>
71730         [BZ #14317]
71731         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
71732         only if needed.
71734 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
71736         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
71737         and use variable directly.
71738         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
71740         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71741         MPONE.
71742         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
71743         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71744         variable MPONE.
71745         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
71746         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
71747         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
71748         include directive.  Remove local variable MPONE.
71749         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
71750         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
71751         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71753 2012-12-25  David S. Miller  <davem@davemloft.net>
71755         * version.h (RELEASE): Set to "development".
71756         (VERSION): Set to "2.17.90".
71757         * NEWS: Add 2.18 section.
71759 2012-12-21  David S. Miller  <davem@davemloft.net>
71761         * po/hr.po: Update from translation team.
71763 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71765         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
71767 2012-12-19  Steve Ellcey  <sellcey@mips.com>
71769         * NEWS:  Mention new memcpy for MIPS.
71771 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71773         * manual/contrib.texi (Contributors): Spelling correction.
71775 2012-12-15  David S. Miller  <davem@davemloft.net>
71777         * po/ru.po: Update from translation team.
71779 2012-12-13  David S. Miller  <davem@davemloft.net>
71781         * NEWS: Mention IFUNC testsuite enhancements.
71783         * po/pl.po: Update from translation team.
71784         * po/bg.po: Likewise.
71786         * manual/contrib.texi (Contributors): Update entries for Hongjiu
71787         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
71789 2012-12-11  David S. Miller  <davem@davemloft.net>
71791         * po/sv.po: Update from translation team.
71793         * po/vi.po: Update from translation team.
71795         * po/cs.po: Update from translation team.
71797         * po/de.po: Update from translation team.
71798         * po/eo.po: Likewise.
71799         * po/nl.po: Likewise.
71801 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
71803         [BZ #14246]
71804         * manual/argp.texi (Argp Helper Functions): Move node to follow
71805         Argp Parsing State.
71807         [BZ #14872]
71808         * manual/conf.texi (Limits on File System Capacity): Mention if
71809         terminating null is included in the max size.
71811 2012-12-10  Andreas Jaeger  <aj@suse.de>
71813         * po/cs.po: Update from translation team.
71815 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
71817         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
71818         void pointer and cast to uintptr_t.
71819         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
71820         path.
71821         * sysdeps/s390/s390-64/memcpy.S: Likewise.
71822         * sysdeps/s390/s390-64/memset.S: Likewise.
71824 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
71826         [BZ #14833]
71827         * menual/message.texi (Message Translation): Fix typos.
71828         (Helper programs for gettext): Likewise.
71830 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
71832         [BZ #14898]
71833         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
71834         Change to -1.
71836 2012-12-07  David S. Miller  <davem@davemloft.net>
71838         * po/libc.pot: Update.
71840 2012-12-07  Richard Henderson  <rth@redhat.com>
71842         [BZ #10114]
71843         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
71844         normal/normal case to before the switch.
71845         (_FP_DIV): Likewise.
71847 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
71848             Mike Frysinger  <vapier@gentoo.org>
71850         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
71851         check for __NR_fadvise64_64.
71853 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
71855         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
71856         0, not just to plain "0" as a statement.
71857         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
71858         with cw.
71860 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
71862         * NEWS: Use sourceware.org in Bugzilla URL.
71864 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
71867         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71869         * stdio-common/tst-put-error.c (do_test): Add newline to the
71870         padded test to ensure flush.
71872 2012-12-05  Jeff Law  <law@redhat.com>
71874         * sunrpc/etc.rpc (fedfs_admin): Add entry.
71876 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
71878         * README: Don't refer to ports add-on as distributed separately.
71879         Mention AArch64 in list of systems supported in the ports add-on.
71881         * LICENSES: Add more non-FSF copyright and license notices.
71883         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
71884         ((unused)).
71886         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
71888         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
71889         10000 as width of padded output.
71891 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71893         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
71895         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
71896         variable LX with __attribute__ ((unused)).
71897         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
71898         Likewise.
71899         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
71900         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71901         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
71902         with __attribute__ ((unused)).
71904 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
71906         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
71908 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71910         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
71911         (CFLAGS-nldbl-acos.c): New variable.
71912         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
71913         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
71914         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
71915         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
71916         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
71917         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
71918         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
71919         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
71920         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
71921         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
71922         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
71923         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
71924         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
71925         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
71926         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
71927         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
71928         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
71929         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
71930         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
71931         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
71932         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
71933         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
71934         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
71935         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
71936         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
71937         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
71938         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
71939         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
71940         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
71941         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
71942         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
71943         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
71944         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
71945         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
71946         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
71947         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
71948         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
71949         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
71950         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
71951         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
71952         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
71953         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
71954         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
71955         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
71956         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
71957         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
71958         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
71959         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
71960         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
71961         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
71962         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
71963         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
71964         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
71965         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
71966         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
71967         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
71968         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
71969         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
71970         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
71971         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
71972         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
71973         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
71974         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
71975         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
71976         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
71977         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
71978         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
71979         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
71980         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
71981         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
71982         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
71983         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
71984         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
71985         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
71986         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
71987         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
71988         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
71989         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
71990         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
71991         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
71992         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
71993         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
71994         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
71995         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
71996         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
71997         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
71998         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
71999         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
72000         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
72001         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
72002         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
72003         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
72004         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
72005         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
72006         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
72007         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
72008         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
72010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72011         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
72013         [BZ #14914]
72014         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
72015         whole low double instead of just low 47 bits when splitting values
72016         into two parts.
72018 2012-12-03  Allan McRae  <allan@archlinux.org>
72020         * manual/stdio.texi (Predefined Printf Handlers): Remove
72021         @hsep and @vsep usage.
72023 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
72025         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
72026         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
72028 2012-12-03  Jeff Law  <law@redhat.com>
72030         * time/sys/time.h (settimeofday): Do not mark TV argument
72031         as __nonnull.
72033 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
72035         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
72036         when currently writing and seek to current position when not.
72037         * libio/Makefile (tests): Remove bug-fclose1.
72038         * libio/bug-fclose1.c: Delete.
72040 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
72042         * manual/arith.texi (feenableexcept): Fix typo.
72043         (fedisableexcept): Likewise.
72045 2012-11-30  Roland McGrath  <roland@hack.frob.com>
72047         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
72048         second, differently-typed declaration, rather than a cast.
72050 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
72052         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
72053         * include/rpc/svc.h: ... here.
72055 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
72057         [BZ #13013]
72058         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
72059         depending n and resplen2 to catch cases where answer
72060         equals answerp2.
72062 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
72064         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
72065         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
72067 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
72069         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
72071 2012-11-29  Roland McGrath  <roland@hack.frob.com>
72073         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
72075 2012-11-28  Jeff Law  <law@redhat.com>
72077         [BZ #13761]
72078         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
72079         dataset_temporary.  Track alloca usage into alloca_used.
72080         If dataset is large allocate and release it via malloc/free.
72082 2012-06-04  Florian Weimer  <fweimer@redhat.com>
72084         [BZ #14197]
72085         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
72087 2012-11-28  David S. Miller  <davem@davemloft.net>
72089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72091 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
72093         [BZ #14803]
72094         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
72095         of pi/2 rounded to nearest to 64 bits.
72096         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
72097         nearest to 64 bits.
72098         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
72099         bits.
72101 2012-11-28  Jeff Law <law@redhat.com>
72102             Martin Osvald <mosvald@redhat.com>
72104         [BZ #14889]
72105         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
72106         * sunrpc/svc.c: Include time.h.
72107         (__svc_accept_failed): New function.
72108         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
72109         any reason other than EINTR, call __svc_accept_failed.
72110         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
72111         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
72113 2012-11-28  Andreas Schwab  <schwab@suse.de>
72115         * scripts/abilist.awk: Also handle indirect functions in .opd
72116         section.
72118 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
72120         [BZ #13881]
72121         * sysdeps/x86/fpu/powl_helper.c: New file.
72122         * sysdeps/x86/fpu/Makefile: Likewise.
72123         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
72124         (p3): New object.
72125         (__ieee754_powl): Use __powl_helper for finite arguments except
72126         integer exponents below 8.
72127         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
72128         (p3): New object.
72129         (__ieee754_powl): Use __powl_helper for finite arguments except
72130         integer exponents below 8.
72131         * math/libm-test.inc (pow_test): Add more tests and enable some
72132         previously disabled tests.
72133         * sysdeps/i386/fpu/libm-test-ulps: Update.
72134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72136 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72137             Carlos O'Donell  <carlos_odonell@mentor.com>
72139         * nss/makedb.c (is_prime): Assert that input is odd and greater
72140         than 4.  Note that fact in a comment too.
72141         (next_prime): Add 4 to input.
72143 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
72145         [BZ #11741]
72146         * libio/Makefile (tests): Add test case tst-fwrite-error.
72147         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
72148         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
72149         * libio/tst-fwrite-error.c: New test case.
72151 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
72153         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
72154         before casting to void *.
72155         * include/libc-internal.h (__pointer_type): New macro.
72156         (__integer_if_pointer_type_sub): Likewise.
72157         (__integer_if_pointer_type): Likewise.
72158         (cast_to_integer): Likewise.
72159         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
72160         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
72161         before casting to atomic64_t.
72162         (atomic_exchange_acq): Likewise.
72163         (__arch_exchange_and_add_body): Likewise.
72164         (__arch_add_body): Likewise.
72165         (atomic_add_negative): Likewise.
72166         (atomic_add_zero): Likewise.
72168 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
72170         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
72171         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
72172         (add_fdes): Likewise.
72173         (linear_search_fdes): Likewise.
72174         (binary_search_unencoded_fdes): Likewise.
72176 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
72178         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
72180 2012-11-24  Adam Conrad  <adconrad@0c3.net>
72182         * configure.in: Autodetect C++ header directories.
72183         * configure: Regenerated.
72185 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
72187         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
72189 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
72191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72193 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
72195         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
72196         LDBL_MANT_DIG == 106]: Disable some tests.
72197         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72198         Likewise.
72199         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72200         Likewise.
72202         [BZ #14871]
72203         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
72204         input for small inputs.  Return +/- pi/2 for large inputs.
72205         * math/libm-test.inc (atan_test): Add more tests.
72207         * sysdeps/generic/unwind-dw2-fde-glibc.c
72208         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
72209         __attribute__ ((unused)).
72211         [BZ #14645]
72212         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
72213         x * y if x and y are nonzero and z is zero.
72215         [BZ #14811]
72216         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
72217         nonzero exponents with absolute value below 0x1p-117 to +/-
72218         0x1p-117.
72220         [BZ #14869]
72221         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
72222         up arguments below 2**-450, not just those below 2**-500.
72223         * math/libm-test.inc (hypot_test): Add another test.
72225         [BZ #14868]
72226         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
72227         Return a+b for ratio over 2**120, not 2**60.
72228         * math/libm-test.inc (hypot_test): Add another test.
72230         * math/libm-test.inc (clog_test): Use
72231         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
72232         (clog10_test): Likewise.
72234         [BZ #6778]
72235         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
72237 2012-11-22  Andreas Schwab  <schwab@suse.de>
72239         * sysdeps/i386/fpu/libm-test-ulps: Update.
72241 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
72243         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
72244         printf output with newline.
72246 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
72248         [BZ #14865]
72249         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
72250         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
72251         -z nodlopen, -z initfirst and -z execstack support.
72252         * configure: Regenerated.
72254         * elf/elf.h (DF_1_NODIRECT): New macro.
72255         (DF_1_IGNMULDEF): Likewise.
72256         (DF_1_NOKSYMS): Likewise.
72257         (DF_1_NOHDR): Likewise.
72258         (DF_1_EDITED): Likewise.
72259         (DF_1_NORELOC): Likewise.
72260         (DF_1_SYMINTPOSE): Likewise.
72261         (DF_1_GLOBAUDIT): Likewise.
72262         (DF_1_SINGLETON): Likewise.
72263         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
72264         DT_1_SUPPORTED_MASK bits.
72265         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
72267 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
72269         * sysdeps/unix/make-syscalls.sh: Document prefixes.
72271 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
72273         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
72274         macro.
72276         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
72277         (sendmmsg): Move declarations...
72278         * socket/sys/socket.h: ... here.
72279         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
72280         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
72281         include it from...
72282         * socket/recvmmsg.c: ... this new file.
72283         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
72284         (sendmmsg): Rename to __sendmmsg, create weak alias and make
72285         definition of __sendmmsg hidden.
72286         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
72287         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
72288         Move ENOSYS stub into and include it from...
72289         * socket/sendmmsg.c: ... this new file.
72290         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
72291         (sysdep_routines): Move recvmmsg and sendmmsg...
72292         * socket/Makefile (routines): ... here.
72293         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
72294         (GLIBC_PRIVATE): Add __sendmmsg.
72295         * include/sys/socket.h (__sendmmsg): Add declarations.
72296         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
72297         sendmmsg.
72299 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
72301         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
72302         variable I1 with __attribute__ ((unused)).
72303         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72305 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
72307         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
72308         DUMMY variables with __attribute__ ((unused)).
72310         * bits/byteswap.h: Include <bits/types.h>.
72311         (__bswap_64): Use __uint64_t instead of unsigned long long int.
72313 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
72315         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
72316         string_t.  Do not manually set errno.
72317         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
72318         length with __strnlen.  Make sure to both set errno and return it on
72319         failure.
72321 2012-11-19  David S. Miller  <davem@davemloft.net>
72323         With help from Joseph Myers.
72324         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
72325         very large arguments properly.
72326         * math/libm-test.inc (atan_test): New tests.
72327         (atan2_test): New tests.
72328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72329         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72331 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
72333         [BZ #14856]
72334         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
72335         Define to 3.
72337         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
72338         [POSIX] (EADDRNOTAVAIL): Likewise.
72339         [POSIX] (EAFNOSUPPORT): Likewise.
72340         [POSIX] (EALREADY): Likewise.
72341         [POSIX] (ECONNABORTED): Likewise.
72342         [POSIX] (ECONNREFUSED): Likewise.
72343         [POSIX] (ECONNRESET): Likewise.
72344         [POSIX] (EDESTADDRREQ): Likewise.
72345         [POSIX] (EDQUOT): Likewise.
72346         [POSIX] (EHOSTUNREACH): Likewise.
72347         [POSIX] (EIDRM): Likewise.
72348         [POSIX] (EISCONN): Likewise.
72349         [POSIX] (ELOOP): Likewise.
72350         [POSIX] (EMULTIHOP): Likewise.
72351         [POSIX] (ENETDOWN): Likewise.
72352         [POSIX] (ENETUNREACH): Likewise.
72353         [POSIX] (ENOBUFS): Likewise.
72354         [POSIX] (ENODATA): Likewise.
72355         [POSIX] (ENOLINK): Likewise.
72356         [POSIX] (ENOMSG): Likewise.
72357         [POSIX] (ENOPROTOOPT): Likewise.
72358         [POSIX] (ENOSR): Likewise.
72359         [POSIX] (ENOSTR): Likewise.
72360         [POSIX] (ENOTCONN): Likewise.
72361         [POSIX] (ENOTSOCK): Likewise.
72362         [POSIX] (EOPNOTSUPP): Likewise.
72363         [POSIX] (EOVERFLOW): Likewise.
72364         [POSIX] (EPROTO): Likewise.
72365         [POSIX] (EPROTONOSUPPORT): Likewise.
72366         [POSIX] (EPROTOTYPE): Likewise.
72367         [POSIX] (ESTALE): Likewise.
72368         [POSIX] (ETIME): Likewise.
72369         [POSIX] (ETXTBSY): Likewise.
72370         [POSIX] (EWOULDBLOCK): Likewise.
72371         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
72372         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
72373         [POSIX] (SEEK_CUR): Likewise.
72374         [POSIX] (SEEK_END): Likewise.
72375         [POSIX || UNIX98] (mode_t): Do not require.
72376         [POSIX] (off_t): Likewise.
72377         [POSIX] (pid_t): Likewise.
72378         [POSIX] (sys/stat.h): Do not allow header.
72379         [POSIX] (unistd.h): Likewise.
72380         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
72381         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
72382         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
72383         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
72384         require.
72385         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
72386         sigevent): Specify elements.
72387         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
72388         entry.
72389         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
72390         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
72392         * conform/data/cpio.h-data [POSIX]: Disable whole file.
72393         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
72394         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
72395         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
72396         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
72397         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
72398         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
72399         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
72400         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
72401         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
72402         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
72403         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
72404         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
72405         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
72406         Likewise.
72407         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
72408         Likewise.
72409         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
72410         Likewise.
72411         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
72412         Likewise.
72413         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
72414         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
72415         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
72416         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
72417         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
72418         Specify lower bound on value.
72419         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
72420         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
72421         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
72422         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
72423         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
72424         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
72425         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
72426         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
72427         value.
72428         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
72429         as optional.
72430         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
72431         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
72432         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
72433         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
72434         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
72435         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
72436         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
72437         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
72438         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
72439         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
72440         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
72441         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
72442         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
72443         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
72444         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
72445         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
72446         entry.
72447         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
72448         optional.
72449         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
72450         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
72451         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
72452         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
72453         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
72454         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
72455         Likewise.
72456         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
72457         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
72458         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
72459         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
72460         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
72461         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
72462         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
72463         as optional.
72464         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
72465         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
72466         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
72467         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
72468         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
72469         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
72470         specify as optional.
72471         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
72472         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
72473         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
72474         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
72475         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
72476         [XPG3] (NL_LANGMAX): Likewise.
72477         [POSIX || XPG3] (NL_MSGMAX): Likewise.
72478         [POSIX || XPG3] (NL_NMAX): Likewise.
72479         [POSIX || XPG3] (NL_SETMAX): Likewise.
72480         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
72481         [XPG3] (NZERO): Likewise.
72482         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
72483         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
72484         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
72485         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
72486         (REG_ERANGE): Expect.
72487         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
72488         optional-constant.
72489         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
72490         Use (void) in prototype.
72491         [POSIX] (*_t): Allow.
72492         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
72493         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
72494         (WRDE_BADVAL): Expect.
72496         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
72497         expect.
72498         [XPG3 || XPG4] (O_RSYNC): Likewise.
72499         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
72500         Likewise.
72501         [XPG3 || XPG4] (pthread_sigmask): Likewise.
72502         [XPG3 || XPG4] (sigqueue): Likewise.
72503         [XPG3 || XPG4] (sigtimedwait): Likewise.
72504         [XPG3 || XPG4] (sigwaitinfo): Likewise.
72505         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
72506         [XPG3 || XPG4] (vsnprintf): Likewise.
72507         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
72508         Likewise.
72509         [XPG3 || XPG4] (blksize_t): Likewise.
72510         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
72511         Likewise.
72512         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
72513         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
72514         [XPG3 || XPG4] (struct itimerspec): Likewise.
72515         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
72516         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
72517         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
72518         [XPG3 || XPG4] (clockid_t): Likewise.
72519         [XPG3 || XPG4] (timer_t): Likewise.
72520         [XPG3 || XPG4] (clock_getres): Likewise.
72521         [XPG3 || XPG4] (clock_gettime): Likewise.
72522         [XPG3 || XPG4] (clock_settime): Likewise.
72523         [XPG3 || XPG4] (nanosleep): Likewise.
72524         [XPG3 || XPG4] (timer_create): Likewise.
72525         [XPG3 || XPG4] (timer_delete): Likewise.
72526         [XPG3 || XPG4] (timer_gettime): Likewise.
72527         [XPG3 || XPG4] (timer_getoverrun): Likewise.
72528         [XPG3 || XPG4] (timer_settime): Likewise.
72529         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
72530         [XPG3 || XPG4] (getlogin_r): Likewise.
72531         [XPG3 || XPG4] (pread): Likewise.
72532         [XPG3 || XPG4] (pthread_atfork): Likewise.
72533         [XPG3 || XPG4] (pwrite): Likewise.
72535         [BZ #14835]
72536         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
72537         <bits/siginfo.h>.
72539 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
72541         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
72542         finalizing MALLSTREAM.
72544         * sysdeps/mach/hurd/syncfs.c: New file.
72546 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
72548         [BZ #14719]
72549         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
72550         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
72551         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
72552         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
72553         (_nss_dns_gethostbyname4_r): Likewise.
72554         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
72555         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
72557 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
72559         [BZ #13763]
72560         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
72562 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
72564         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
72565         * elf/cache.c (print_entry): Print ",AArch64" for
72566         FLAG_AARCH64_LIB64
72568         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
72569         * elf/cache.c (print_entry): Print ",hard-float" for
72570         FLAG_ARM_LIBHF.
72572 2012-11-18  David S. Miller  <davem@davemloft.net>
72574         With help from Joseph Myers.
72575         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
72576         cutoff to 2**-13.
72577         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
72578         cutoff to 2**-25.
72579         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
72580         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
72581         small.
72582         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
72583         * math/libm-test.inc (y0_test): New tests.
72584         (y1_test): New tests.
72585         * sysdeps/i386/fpu/libm-test-ulps: Update.
72586         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72589 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
72591         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
72592         64-bit targets.
72593         * configure: Regenerated.
72595 2012-11-17  David S. Miller  <davem@davemloft.net>
72597         [BZ #14811]
72598         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
72599         nonzero exponents with absolute value below 0x1p-128 to +/-
72600         0x1p-128.
72602 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
72604         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
72606         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
72608         * posix/getconf-speclist.c: New file.
72609         * posix/posix-envs.def: Likewise.
72610         * posix/confstr.c (START_ENV_GROUP): New macro.
72611         (END_ENV_GROUP): Likewise.
72612         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72613         (KNOWN_PRESENT_ENV_STRING): Likewise.
72614         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72615         (UNKNOWN_ENVIRONMENT): Likewise.
72616         (confstr): Include posix-envs.def instead of handling
72617         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
72618         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
72619         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
72620         (END_ENV_GROUP): Likewise.
72621         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72622         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72623         (UNKNOWN_ENVIRONMENT): Likewise.
72624         (__sysconf): Include posix-envs.def instead of handling associated
72625         cases directly here.
72626         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
72627         preprocessing getconf-speclist.c rather than running getconf or
72628         generating empty file.
72630 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
72632         * scripts/check-local-headers.sh: Ignore 'mach' headers.
72634 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
72636         [BZ #14672]
72637         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
72639 2012-11-16  David S. Miller  <davem@davemloft.net>
72641         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
72642         smaller than LDBL_EPSILON/2.0L, just return xm1.
72644 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
72646         * elf/tst-array1.c (init): Set constructor priority to 1000.
72647         (fini): Set destructor priority to 1000.
72648         * elf/tst-array2dep.c: Likewise.
72650 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72652         [BZ #11741]
72653         * libio/fileops.c (_IO_new_file_write): Correctly return error.
72654         (_IO_new_file_xsputn): Also return EOF if none of the input
72655         data was written when overflow failed.
72656         * libio/iopadn.c (_IO_padn): Likewise.
72657         * libio/iowpadn.c (_IO_wpadn): Likewise.
72658         * stdio-common/tst-put-error.c: Add copyright notice.
72659         (do_test): Add case for printing padded string.
72660         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
72661         _IO_padn returned error.
72662         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
72663         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
72664         return EOF.
72666 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72668         * libio/libioP.h: Add comment note that the references to C++
72669         bits are now obsolete.
72671 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72673         * math/libm-test.inc (check_complex): Use asprintf.
72675 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
72677         * debug/pcprofiledump.c (print_version): Update copyright year.
72678         * malloc/memusagestat.c (print_version): Likewise.
72680 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
72682         [BZ #14831]
72683         * elf/Makefile (tests): Add tst-audit8.
72684         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
72685         ($(objpfx)tst-audit8.out): New target.
72686         (tst-audit8-ENV): New variable.
72687         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
72688         audit if l_reloc_result is NULL.
72689         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
72690         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
72691         * elf/tst-audit8.c: New file.
72693 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72695         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
72696         * misc/Makefile (CFLAGS-select.c): Define.
72697         * posix/Makefile (CFLAGS-pause.c): Define.
72699 2012-11-13  David S. Miller  <davem@davemloft.net>
72701         * crypt/Makefile: Move test targets after toplevel Rules
72702         inclusion.  Grab any necessary sysdep routines when linking.
72703         * crypt/md5.c (md5_process_block): Remove define, we will always
72704         name it __md5_process_block.
72705         (md5_finish_ctx): Update md5_process_block call.
72706         (md5_stream): Likewise.
72707         (md5_process_bytes): Likewise.
72708         (md5_process_block): Rename to __md5_process_block and move to ...
72709         * crypt/md5-block.c: ... here.
72710         * crypt/sha256.c (sha256_process_block): Move to ...
72711         * crypt/sha256-block.c: ... here.
72712         * crypt/sha512.c (sha512_process_block): Move to ...
72713         * crypt/sha512-block.c: ... here.
72714         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
72715         path.
72716         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
72717         * sysdeps/sparc/sparc64/multiarch/Makefile
72718         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
72719         crypt subdir.
72720         (localedef-aux): Add md5 crypto assembler when in locale subdir.
72721         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
72722         multiarch changes.
72723         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
72724         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
72725         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
72726         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
72727         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
72728         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
72729         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
72730         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
72731         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
72732         file.
72733         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
72734         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
72735         file.
72736         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
72738 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
72740         * timezone/tzselect.ksh: Update from tzcode git revision
72741         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
72742         * timezone/zdump.c: Likewise.
72743         * timezone/zic.c: Likewise.
72744         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
72745         in TZVERSION setting, not $(PKGVERSION).
72746         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
72747         REPORT_BUGS_TO settings.
72749         [BZ #14838]
72750         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
72751         macro.
72753 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72755         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
72756         detection to immediately after _FP_ROUND().
72757         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
72758         bits are 0.
72760 2012-11-11  David S. Miller  <davem@davemloft.net>
72762         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
72763         inttypes.h
72764         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
72765         __close rather than their public counterparts.
72767 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
72769         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
72770         file.
72771         [UNIX98] (sem_timedwait): Do not expect.
72772         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
72773         [XPG4 || UNIX98] (sockatmark): Do not expect.
72774         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
72775         (clock_getcpuclockid): Do not expect.
72776         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
72777         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
72778         Do not expect.
72779         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
72780         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
72781         [UNIX98] (vwscanf): Likewise.
72782         [UNIX98] (vswscanf): Likewise.
72784 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
72786         * timezone/version.h: Remove file.
72787         * timezone/README: Do not refer to version.h.
72788         * timezone/Makefile ($(objpfx)zic.o): New dependency on
72789         $(objpfx)version.h.
72790         ($(objpfx)zdump.o): Likewise.
72791         ($(objpfx)version.h): New target.
72793         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
72794         2012i.
72795         * timezone/README: Don't mention modification to tzselect.ksh.
72796         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
72797         work on unmodified tzselect.ksh.  Substitute version numbers in
72798         tzselect.ksh.
72800         * Makefile (format-me): Remove.
72801         (INSTALL): Adjust indentation.  Use commands directly instead of
72802         using $(format-me).
72804         * aclocal.m4 (ACX_PKGVERSION): New macro.
72805         (ACX_BUGURL): Likewise.
72806         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
72807         (PKGVERSION): New AC_DEFINE_UNQUOTED.
72808         (REPORT_BUGS_TO): Likewise.
72809         * configure: Regenerated.
72810         * config.h.in (PKGVERSION): New macro.
72811         (REPORT_BUGS_TO): Likewise.
72812         * config.make.in (PKGVERSION): New variable.
72813         (PKGVERSION_TEXI): Likewise.
72814         (REPORT_BUGS_TO): Likewise.
72815         (REPORT_BUGS_TEXI): Likewise.
72816         * Makefile (format-me): Use -I$(common-objpfx)manual.
72817         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
72818         ($(common-objpfx)manual/%): New target.
72819         (manual/%): Remove target.
72820         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
72821         (print_version): Use PKGVERSION.
72822         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
72823         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
72824         and REPORT_BUGS_TO.
72825         ($(objpfx)xtrace): Likewise.
72826         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
72827         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
72828         (print_version): Use PKGVERSION.
72829         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
72830         (do_version): Use PKGVERSION.
72831         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
72832         REPORT_BUGS_TO.
72833         (common-ldd-rewrite): Likewise.
72834         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
72835         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
72836         (print_version): Use PKGVERSION.
72837         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
72838         * elf/pldd.c (argp_program_bug_address): Remove variable.
72839         (more_help): New function.
72840         (argp): Use more_help.
72841         (print_version): Use PKGVERSION.
72842         * elf/sln.c (main): Use PKGVERSION.
72843         (usage): Use REPORT_BUGS_TO.
72844         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
72845         (top level): Use PKGVERSION.
72846         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
72847         (print_version): Use PKGVERSION.
72848         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
72849         (print_version): Use PKGVERSION.
72850         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
72851         (print_version): Use PKGVERSION.
72852         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
72853         (print_version): Use PKGVERSION.
72854         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
72855         (print_version): Use PKGVERSION.
72856         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
72857         (print_version): Use PKGVERSION.
72858         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
72859         and BUGURL.
72860         ($(objpfx)memusage): Likewise.
72861         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
72862         (do_version): Use PKGVERSION.
72863         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
72864         (print_version): Use PKGVERSION.
72865         * malloc/mtrace.pl ($PACKAGE): Remove variable.
72866         ($PKGVERSION): New variable.
72867         ($REPORT_BUGS_TO): Likewise.
72868         (usage): Use $REPORT_BUGS_TO.
72869         (top level): Use $PKGVERSION.
72870         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
72871         ($(objpfx)pkgvers.texi): New rule.
72872         ($(objpfx)stamp-pkgvers): Likewise.
72873         * manual/install.texi: Include pkgvers.texi.
72874         (--with-pkgversion): Document new configure option.
72875         (--with-bugurl): Likewise.
72876         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
72877         than necessarily for this particular distribution.  Use
72878         REPORT_BUGS_TO for where to report bugs.
72879         * INSTALL: Regenerated.
72880         * manual/libc.texinfo: Include pkgvers.texi.
72881         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
72882         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
72883         (print_version): Use PKGVERSION.
72884         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
72885         (print_version): Use PKGVERSION.
72886         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
72887         (print_version): Use PKGVERSION.
72888         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
72889         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
72890         macro.
72891         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
72892         (print_version): Use PKGVERSION.
72893         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
72894         (print_version): Use PKGVERSION.
72895         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
72896         and PKGVERSION.
72898         * timezone/checktab.awk: Update from tzcode 2012i.
72899         * timezone/ialloc.c: Likewise.
72900         * timezone/private.h: Likewise.
72901         * timezone/scheck.c: Likewise.
72902         * timezone/tzfile.h: Likewise.
72903         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
72904         (TZVERSION): Hardcode tzcode version number.
72905         * timezone/zdump.c: Update from tzcode 2012i.
72906         * timezone/zic.c: Likewise.
72907         * timezone/version.h: New file.
72908         * timezone/README: Describe version.h.  Update upstream location.
72910         [BZ #14824]
72911         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
72912         (mktemp): Enable declaration.
72913         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
72914         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
72915         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
72916         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
72917         Likewise.
72918         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
72919         Likewise.
72920         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
72921         Likewise.
72922         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
72923         Likewise.
72924         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
72925         Likewise.
72926         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
72927         Likewise.
72929         [BZ #14821]
72930         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
72931         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
72932         for copies of such integer values.
72933         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72934         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72936 2012-11-09  Andreas Jaeger  <aj@suse.de>
72938         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
72939         definitions and declarations that are provided by
72940         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72942 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72944         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
72945         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
72946         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
72947         definition.
72949 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72951         * elf/elf.h: Update comment before AArch64 relocations.
72953 2012-11-07  David S. Miller  <davem@davemloft.net>
72955         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
72956         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72957         (__start_context): Declare.
72958         (__makecontext_ret): Delete.
72959         (__makecontext): Hook up __start_context instead of
72960         __makecontext_ret.
72961         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
72962         (sysdep_routines): Add __start_context when in stdlib.
72964 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72966         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
72967         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
72968         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
72969         hardcoded "nm".
72970         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
72971         (READELF): New variable.  Use it instead of hardcoded "readelf".
72973 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72975         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
72976         * sysdeps/x86/Makefile: Here.
72977         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
72978         * sysdeps/x86/tst-xmmymm.sh: This.
72980 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72982         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
72983         expectations.
72984         [UNIX98] (pthread_barrier_t): Do not expect.
72985         [UNIX98] (pthread_barrierattr_t): Likewise.
72986         [UNIX98] (pthread_spinlock_t): Likewise.
72987         [UNIX98] (pthread_barrier_destroy): Likewise.
72988         [UNIX98] (pthread_barrier_init): Likewise.
72989         [UNIX98] (pthread_barrier_wait): Likewise.
72990         [UNIX98] (pthread_barrierattr_destroy): Likewise.
72991         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
72992         [UNIX98] (pthread_barrierattr_init): Likewise.
72993         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
72994         [UNIX98] (pthread_getcpuclockid): Likewise.
72995         [UNIX98] (pthread_mutex_timedlock): Likewise.
72996         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
72997         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
72998         [UNIX98] (pthread_sigmask): Likewise.
72999         [UNIX98] (pthread_spin_destroy): Likewise.
73000         [UNIX98] (pthread_spin_init): Likewise.
73001         [UNIX98] (pthread_spin_lock): Likewise.
73002         [UNIX98] (pthread_spin_trylock): Likewise.
73003         [UNIX98] (pthread_spin_unlock): Likewise.
73004         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
73005         Do not expect.
73006         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
73007         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
73008         [XPG3 || XPG4] (pthread_cond_t): Likewise.
73009         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
73010         [XPG3 || XPG4] (pthread_key_t): Likewise.
73011         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
73012         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
73013         [XPG3 || XPG4] (pthread_once_t): Likewise.
73014         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
73015         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
73016         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
73017         [XPG3 || XPG4] (pthread_t): Likewise.
73019         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
73020         not expect.
73021         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
73023         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
73024         Change function return type to int.
73026         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
73027         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
73028         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
73029         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
73030         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
73031         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
73032         [!POSIX] (posix_madvise): Likewise.
73033         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
73034         && !UNIX98].
73035         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
73036         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
73037         (mode_t): Likewise.
73038         (posix_mem_offset): Likewise.
73039         (posix_typed_mem_get_info): Likewise.
73040         (posix_typed_mem_open): Likewise.
73042         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
73043         Change condition to [XOPEN2K8].
73045         * conform/conformtest.pl: Preprocess allow-header data with -x c
73046         instead of from stdin.
73047         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
73048         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
73049         [C99-based standards] (cerfc): Likewise.
73050         [C99-based standards] (cexp2): Likewise.
73051         [C99-based standards] (cexpm1): Likewise.
73052         [C99-based standards] (clog10): Likewise.
73053         [C99-based standards] (clog1p): Likewise.
73054         [C99-based standards] (clog2): Likewise.
73055         [C99-based standards] (clgamma): Likewise.
73056         [C99-based standards] (ctgamma): Likewise.
73057         [C99-based standards] (cerff): Likewise.
73058         [C99-based standards] (cerfcf): Likewise.
73059         [C99-based standards] (cexp2f): Likewise.
73060         [C99-based standards] (cexpm1f): Likewise.
73061         [C99-based standards] (clog10f): Likewise.
73062         [C99-based standards] (clog1pf): Likewise.
73063         [C99-based standards] (clog2f): Likewise.
73064         [C99-based standards] (clgammaf): Likewise.
73065         [C99-based standards] (ctgammaf): Likewise.
73066         [C99-based standards] (cerfl): Likewise.
73067         [C99-based standards] (cerfcl): Likewise.
73068         [C99-based standards] (cexp2l): Likewise.
73069         [C99-based standards] (cexpm1l): Likewise.
73070         [C99-based standards] (clog10l): Likewise.
73071         [C99-based standards] (clog1pl): Likewise.
73072         [C99-based standards] (clog2l): Likewise.
73073         [C99-based standards] (clgammal): Likewise.
73074         [C99-based standards] (ctgammal): Likewise.
73075         * conform/data/inttypes.h-data [C99-based standards]: Include
73076         stdint.h-data.  Remove all expectations for stdint.h contents.
73077         [C99-based standards] (PRI*): Do not allow.
73078         [C99-based standards] (SCN*): Likewise.
73079         [C99-based standards] (*_t): Likewise.
73080         [C99-based-standards] (PRId8): Expect macro.
73081         [C99-based-standards] (PRIi8): Likewise.
73082         [C99-based-standards] (PRIo8): Likewise.
73083         [C99-based-standards] (PRIu8): Likewise.
73084         [C99-based-standards] (PRIx8): Likewise.
73085         [C99-based-standards] (PRIX8): Likewise.
73086         [C99-based-standards] (SCNd8): Likewise.
73087         [C99-based-standards] (SCNi8): Likewise.
73088         [C99-based-standards] (SCNo8): Likewise.
73089         [C99-based-standards] (SCNu8): Likewise.
73090         [C99-based-standards] (SCNx8): Likewise.
73091         [C99-based-standards] (PRIdLEAST8): Likewise.
73092         [C99-based-standards] (PRIiLEAST8): Likewise.
73093         [C99-based-standards] (PRIoLEAST8): Likewise.
73094         [C99-based-standards] (PRIuLEAST8): Likewise.
73095         [C99-based-standards] (PRIxLEAST8): Likewise.
73096         [C99-based-standards] (PRIXLEAST8): Likewise.
73097         [C99-based-standards] (SCNdLEAST8): Likewise.
73098         [C99-based-standards] (SCNiLEAST8): Likewise.
73099         [C99-based-standards] (SCNoLEAST8): Likewise.
73100         [C99-based-standards] (SCNuLEAST8): Likewise.
73101         [C99-based-standards] (SCNxLEAST8): Likewise.
73102         [C99-based-standards] (PRIdFAST8): Likewise.
73103         [C99-based-standards] (PRIiFAST8): Likewise.
73104         [C99-based-standards] (PRIoFAST8): Likewise.
73105         [C99-based-standards] (PRIuFAST8): Likewise.
73106         [C99-based-standards] (PRIxFAST8): Likewise.
73107         [C99-based-standards] (PRIXFAST8): Likewise.
73108         [C99-based-standards] (SCNdFAST8): Likewise.
73109         [C99-based-standards] (SCNiFAST8): Likewise.
73110         [C99-based-standards] (SCNoFAST8): Likewise.
73111         [C99-based-standards] (SCNuFAST8): Likewise.
73112         [C99-based-standards] (SCNxFAST8): Likewise.
73113         [C99-based-standards] (PRId16): Likewise.
73114         [C99-based-standards] (PRIi16): Likewise.
73115         [C99-based-standards] (PRIo16): Likewise.
73116         [C99-based-standards] (PRIu16): Likewise.
73117         [C99-based-standards] (PRIx16): Likewise.
73118         [C99-based-standards] (PRIX16): Likewise.
73119         [C99-based-standards] (SCNd16): Likewise.
73120         [C99-based-standards] (SCNi16): Likewise.
73121         [C99-based-standards] (SCNo16): Likewise.
73122         [C99-based-standards] (SCNu16): Likewise.
73123         [C99-based-standards] (SCNx16): Likewise.
73124         [C99-based-standards] (PRIdLEAST16): Likewise.
73125         [C99-based-standards] (PRIiLEAST16): Likewise.
73126         [C99-based-standards] (PRIoLEAST16): Likewise.
73127         [C99-based-standards] (PRIuLEAST16): Likewise.
73128         [C99-based-standards] (PRIxLEAST16): Likewise.
73129         [C99-based-standards] (PRIXLEAST16): Likewise.
73130         [C99-based-standards] (SCNdLEAST16): Likewise.
73131         [C99-based-standards] (SCNiLEAST16): Likewise.
73132         [C99-based-standards] (SCNoLEAST16): Likewise.
73133         [C99-based-standards] (SCNuLEAST16): Likewise.
73134         [C99-based-standards] (SCNxLEAST16): Likewise.
73135         [C99-based-standards] (PRIdFAST16): Likewise.
73136         [C99-based-standards] (PRIiFAST16): Likewise.
73137         [C99-based-standards] (PRIoFAST16): Likewise.
73138         [C99-based-standards] (PRIuFAST16): Likewise.
73139         [C99-based-standards] (PRIxFAST16): Likewise.
73140         [C99-based-standards] (PRIXFAST16): Likewise.
73141         [C99-based-standards] (SCNdFAST16): Likewise.
73142         [C99-based-standards] (SCNiFAST16): Likewise.
73143         [C99-based-standards] (SCNoFAST16): Likewise.
73144         [C99-based-standards] (SCNuFAST16): Likewise.
73145         [C99-based-standards] (SCNxFAST16): Likewise.
73146         [C99-based-standards] (PRId32): Likewise.
73147         [C99-based-standards] (PRIi32): Likewise.
73148         [C99-based-standards] (PRIo32): Likewise.
73149         [C99-based-standards] (PRIu32): Likewise.
73150         [C99-based-standards] (PRIx32): Likewise.
73151         [C99-based-standards] (PRIX32): Likewise.
73152         [C99-based-standards] (SCNd32): Likewise.
73153         [C99-based-standards] (SCNi32): Likewise.
73154         [C99-based-standards] (SCNo32): Likewise.
73155         [C99-based-standards] (SCNu32): Likewise.
73156         [C99-based-standards] (SCNx32): Likewise.
73157         [C99-based-standards] (PRIdLEAST32): Likewise.
73158         [C99-based-standards] (PRIiLEAST32): Likewise.
73159         [C99-based-standards] (PRIoLEAST32): Likewise.
73160         [C99-based-standards] (PRIuLEAST32): Likewise.
73161         [C99-based-standards] (PRIxLEAST32): Likewise.
73162         [C99-based-standards] (PRIXLEAST32): Likewise.
73163         [C99-based-standards] (SCNdLEAST32): Likewise.
73164         [C99-based-standards] (SCNiLEAST32): Likewise.
73165         [C99-based-standards] (SCNoLEAST32): Likewise.
73166         [C99-based-standards] (SCNuLEAST32): Likewise.
73167         [C99-based-standards] (SCNxLEAST32): Likewise.
73168         [C99-based-standards] (PRIdFAST32): Likewise.
73169         [C99-based-standards] (PRIiFAST32): Likewise.
73170         [C99-based-standards] (PRIoFAST32): Likewise.
73171         [C99-based-standards] (PRIuFAST32): Likewise.
73172         [C99-based-standards] (PRIxFAST32): Likewise.
73173         [C99-based-standards] (PRIXFAST32): Likewise.
73174         [C99-based-standards] (SCNdFAST32): Likewise.
73175         [C99-based-standards] (SCNiFAST32): Likewise.
73176         [C99-based-standards] (SCNoFAST32): Likewise.
73177         [C99-based-standards] (SCNuFAST32): Likewise.
73178         [C99-based-standards] (SCNxFAST32): Likewise.
73179         [C99-based-standards] (PRId64): Likewise.
73180         [C99-based-standards] (PRIi64): Likewise.
73181         [C99-based-standards] (PRIo64): Likewise.
73182         [C99-based-standards] (PRIu64): Likewise.
73183         [C99-based-standards] (PRIx64): Likewise.
73184         [C99-based-standards] (PRIX64): Likewise.
73185         [C99-based-standards] (SCNd64): Likewise.
73186         [C99-based-standards] (SCNi64): Likewise.
73187         [C99-based-standards] (SCNo64): Likewise.
73188         [C99-based-standards] (SCNu64): Likewise.
73189         [C99-based-standards] (SCNx64): Likewise.
73190         [C99-based-standards] (PRIdLEAST64): Likewise.
73191         [C99-based-standards] (PRIiLEAST64): Likewise.
73192         [C99-based-standards] (PRIoLEAST64): Likewise.
73193         [C99-based-standards] (PRIuLEAST64): Likewise.
73194         [C99-based-standards] (PRIxLEAST64): Likewise.
73195         [C99-based-standards] (PRIXLEAST64): Likewise.
73196         [C99-based-standards] (SCNdLEAST64): Likewise.
73197         [C99-based-standards] (SCNiLEAST64): Likewise.
73198         [C99-based-standards] (SCNoLEAST64): Likewise.
73199         [C99-based-standards] (SCNuLEAST64): Likewise.
73200         [C99-based-standards] (SCNxLEAST64): Likewise.
73201         [C99-based-standards] (PRIdFAST64): Likewise.
73202         [C99-based-standards] (PRIiFAST64): Likewise.
73203         [C99-based-standards] (PRIoFAST64): Likewise.
73204         [C99-based-standards] (PRIuFAST64): Likewise.
73205         [C99-based-standards] (PRIxFAST64): Likewise.
73206         [C99-based-standards] (PRIXFAST64): Likewise.
73207         [C99-based-standards] (SCNdFAST64): Likewise.
73208         [C99-based-standards] (SCNiFAST64): Likewise.
73209         [C99-based-standards] (SCNoFAST64): Likewise.
73210         [C99-based-standards] (SCNuFAST64): Likewise.
73211         [C99-based-standards] (SCNxFAST64): Likewise.
73212         [C99-based-standards] (PRIdMAX): Likewise.
73213         [C99-based-standards] (PRIiMAX): Likewise.
73214         [C99-based-standards] (PRIoMAX): Likewise.
73215         [C99-based-standards] (PRIuMAX): Likewise.
73216         [C99-based-standards] (PRIxMAX): Likewise.
73217         [C99-based-standards] (PRIXMAX): Likewise.
73218         [C99-based-standards] (SCNdMAX): Likewise.
73219         [C99-based-standards] (SCNiMAX): Likewise.
73220         [C99-based-standards] (SCNoMAX): Likewise.
73221         [C99-based-standards] (SCNuMAX): Likewise.
73222         [C99-based-standards] (SCNxMAX): Likewise.
73223         [C99-based-standards] (PRIdPTR): Likewise.
73224         [C99-based-standards] (PRIiPTR): Likewise.
73225         [C99-based-standards] (PRIoPTR): Likewise.
73226         [C99-based-standards] (PRIuPTR): Likewise.
73227         [C99-based-standards] (PRIxPTR): Likewise.
73228         [C99-based-standards] (PRIXPTR): Likewise.
73229         [C99-based-standards] (SCNdPTR): Likewise.
73230         [C99-based-standards] (SCNiPTR): Likewise.
73231         [C99-based-standards] (SCNoPTR): Likewise.
73232         [C99-based-standards] (SCNuPTR): Likewise.
73233         [C99-based-standards] (SCNxPTR): Likewise.
73234         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
73235         allow.
73236         * conform/data/stdint.h-data: Update comments to clarify
73237         requirements.
73238         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
73239         type.
73240         [C99-based standards] (INT8_MAX): Likewise.
73241         [C99-based standards] (INT16_MIN): Likewise.
73242         [C99-based standards] (INT16_MAX): Likewise.
73243         [C99-based standards] (INT32_MIN): Likewise.
73244         [C99-based standards] (INT32_MAX): Likewise.
73245         [C99-based standards] (INT64_MIN): Likewise.
73246         [C99-based standards] (INT64_MAX): Likewise.
73247         [C99-based standards] (UINT8_MAX): Likewise.
73248         [C99-based standards] (UINT16_MAX): Likewise.
73249         [C99-based standards] (UINT32_MAX): Likewise.
73250         [C99-based standards] (UINT64_MAX): Likewise.
73251         [C99-based standards] (INT_LEAST8_MIN): Likewise.
73252         [C99-based standards] (INT_LEAST8_MAX): Likewise.
73253         [C99-based standards] (INT_LEAST16_MIN): Likewise.
73254         [C99-based standards] (INT_LEAST16_MAX): Likewise.
73255         [C99-based standards] (INT_LEAST32_MIN): Likewise.
73256         [C99-based standards] (INT_LEAST32_MAX): Likewise.
73257         [C99-based standards] (INT_LEAST64_MIN): Likewise.
73258         [C99-based standards] (INT_LEAST64_MAX): Likewise.
73259         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
73260         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
73261         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
73262         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
73263         [C99-based standards] (INT_FAST8_MIN): Likewise.
73264         [C99-based standards] (INT_FAST8_MAX): Likewise.
73265         [C99-based standards] (INT_FAST16_MIN): Likewise.
73266         [C99-based standards] (INT_FAST16_MAX): Likewise.
73267         [C99-based standards] (INT_FAST32_MIN): Likewise.
73268         [C99-based standards] (INT_FAST32_MAX): Likewise.
73269         [C99-based standards] (INT_FAST64_MIN): Likewise.
73270         [C99-based standards] (INT_FAST64_MAX): Likewise.
73271         [C99-based standards] (UINT_FAST8_MAX): Likewise.
73272         [C99-based standards] (UINT_FAST16_MAX): Likewise.
73273         [C99-based standards] (UINT_FAST32_MAX): Likewise.
73274         [C99-based standards] (UINT_FAST64_MAX): Likewise.
73275         [C99-based standards] (INTPTR_MIN): Likewise.
73276         [C99-based standards] (INTPTR_MAX): Likewise.
73277         [C99-based standards] (UINTPTR_MAX): Likewise.
73278         [C99-based standards] (INTMAX_MIN): Likewise.
73279         [C99-based standards] (INTMAX_MAX): Likewise.
73280         [C99-based standards] (UINTMAX_MAX): Likewise.
73281         [C99-based standards] (PTRDIFF_MIN): Likewise.
73282         [C99-based standards] (PTRDIFF_MAX): Likewise.
73283         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
73284         [C99-based standards] (SIZE_MAX): Likewise.
73285         [C99-based standards] (WCHAR_MAX): Likewise.
73286         [C99-based standards] (WINT_MAX): Likewise.
73287         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
73288         constraint on value.
73289         [C99-based standards] (WCHAR_MIN): Likewise.
73290         [C99-based standards] (WINT_MIN): Likewise.
73291         [C99-based standards] (*_t): Allow.
73292         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
73293         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
73294         Include math.h-data and complex.h-data.  Remove all expectations
73295         of math.h and complex.h contents.
73296         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
73297         at end of line.
73298         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
73299         (struct tm): Expect tag.
73300         [C99-based-standards] (wcstof): Expect function.
73301         [C99-based-standards] (wcstold): Likewise.
73302         [C99-based-standards] (wcstoll): Likewise.
73303         [C99-based-standards] (wcstoull): Likewise.
73304         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
73305         macro-int-constant.  Specify type.
73306         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
73307         constraint on value.
73308         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
73309         Specify type.
73310         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
73311         Specify value.
73312         [ISO C standards]: Do not allow headers.
73313         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
73314         wcs[abcdefghijklmnopqrstuvwxyz]*.
73315         [ISO C standards] (*_t): Do not allow.
73316         * conform/data/wctype.h-data [C99-based standards] (iswblank):
73317         Expect function.
73318         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
73319         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
73320         Specify type.
73321         [ISO C standards]: Do not allow headers.
73322         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
73323         is[abcdefghijklmnopqrstuvwxyz]*.
73324         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
73325         to[abcdefghijklmnopqrstuvwxyz]*.
73326         [ISO C standards] (*_t): Do not allow.
73327         * conform/data/stdalign.h-data: New file.
73328         * conform/data/stdbool.h-data: Likewise.
73329         * conform/data/stdnoreturn.h-data: Likewise.
73331 2012-11-07  Roland McGrath  <roland@hack.frob.com>
73333         [BZ #14815]
73334         * manual/filesys.texi (Directory Entries): Typo fix.
73335         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
73337 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73339         * elf/elf.h (EM_AARCH64): New macro.
73340         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
73341         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
73342         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
73343         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
73344         (R_AARCH64_TLSDESC): Likewise.
73345         (NT_ARM_TLS): Likewise.
73346         (NT_ARM_HW_BREAK): Likewise.
73347         (NT_ARM_HW_WATCH): Likewise.
73349 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73351         [BZ #14811]
73352         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
73353         (__ieee754_powl): Saturate nonzero exponents with absolute value
73354         below 0x1p-79 to +/- 0x1p-79.
73355         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
73356         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
73357         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
73358         nonzero exponents with absolute value below 0x1p-32 to +/-
73359         0x1p-32.
73360         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
73361         (__ieee754_powl): Saturate nonzero exponents with absolute value
73362         below 0x1p-79 to +/- 0x1p-79.
73363         * math/libm-test.inc (pow_test): Add more tests.
73365 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73367         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
73368         _dl_s390_cap_flags with kernel. Increase string length.
73369         (_dl_s390_platforms): Add z196 and zEC12.
73371 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73373         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
73374         Change XOPEN21K to XOPEN2K.
73376 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
73378         * string/memmove.c: Use memcpy when possible.
73380 2012-11-06  Andreas Jaeger  <aj@suse.de>
73382         * po/eo.po: Update from translation team.
73384 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
73386         [BZ #14793]
73387         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
73388         exponent and small x and y exponents, scale x or y up.  Increase
73389         by 2 the exponent used in scaling up.
73390         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73391         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73392         * math/libm-test.inc (fma_test): Add more tests.
73393         (fma_test_towardzero): Likewise.
73394         (fma_test_downward): Likewise.
73395         (fma_test_upward): Likewise.
73397 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
73399         [BZ #14805]
73400         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
73401         fenv_t *.
73403         [BZ #14801]
73404         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
73405         namespace for names of struct fields.
73406         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
73407         fenv_t fields.
73408         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
73409         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
73411 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73413         [BZ #3665]
73414         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
73416 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
73418         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
73419         PTR_DEMANGLE.
73421         [BZ #5246]
73422         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
73423         PTR_DEMANGLE.
73425 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
73427         [BZ #14797]
73428         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
73429         definitely overflow as x * y not x * y + z.
73430         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73431         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73432         * math/libm-test.inc (fma_test): Add more tests.
73433         (fma_test_towardzero): Likewise.
73434         (fma_test_downward): Likewise.
73435         (fma_test_upward): Likewise.
73437 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
73439         [BZ #157]
73441         * include/stub-tag.h: Remove file.
73442         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
73443         '#include' of it.
73444         * manual/maint.texi (Porting): Don't reference it.
73445         * Makerules ($(objpfx)stubs): Likewise.
73446         * dirent/closedir.c: Don't include <stub-tag.h>.
73447         * dirent/dirfd.c: Likewise.
73448         * dirent/fdopendir.c: Likewise.
73449         * dirent/getdents.c: Likewise.
73450         * dirent/getdents64.c: Likewise.
73451         * dirent/opendir.c: Likewise.
73452         * dirent/readdir.c: Likewise.
73453         * dirent/readdir64.c: Likewise.
73454         * dirent/readdir64_r.c: Likewise.
73455         * dirent/readdir_r.c: Likewise.
73456         * dirent/rewinddir.c: Likewise.
73457         * dirent/seekdir.c: Likewise.
73458         * dirent/telldir.c: Likewise.
73459         * gmon/profil.c: Likewise.
73460         * grp/setgroups.c: Likewise.
73461         * inet/if_index.c: Likewise.
73462         * io/access.c: Likewise.
73463         * io/chdir.c: Likewise.
73464         * io/chmod.c: Likewise.
73465         * io/chown.c: Likewise.
73466         * io/close.c: Likewise.
73467         * io/dup.c: Likewise.
73468         * io/dup2.c: Likewise.
73469         * io/dup3.c: Likewise.
73470         * io/euidaccess.c: Likewise.
73471         * io/faccessat.c: Likewise.
73472         * io/fchdir.c: Likewise.
73473         * io/fchmod.c: Likewise.
73474         * io/fchmodat.c: Likewise.
73475         * io/fchown.c: Likewise.
73476         * io/fchownat.c: Likewise.
73477         * io/fcntl.c: Likewise.
73478         * io/flock.c: Likewise.
73479         * io/fstatfs.c: Likewise.
73480         * io/fstatfs64.c: Likewise.
73481         * io/fstatvfs.c: Likewise.
73482         * io/fstatvfs64.c: Likewise.
73483         * io/futimens.c: Likewise.
73484         * io/fxstat.c: Likewise.
73485         * io/fxstat64.c: Likewise.
73486         * io/fxstatat.c: Likewise.
73487         * io/fxstatat64.c: Likewise.
73488         * io/getcwd.c: Likewise.
73489         * io/isatty.c: Likewise.
73490         * io/lchmod.c: Likewise.
73491         * io/lchown.c: Likewise.
73492         * io/link.c: Likewise.
73493         * io/linkat.c: Likewise.
73494         * io/lseek.c: Likewise.
73495         * io/lseek64.c: Likewise.
73496         * io/lxstat64.c: Likewise.
73497         * io/mkdir.c: Likewise.
73498         * io/mkdirat.c: Likewise.
73499         * io/mkfifo.c: Likewise.
73500         * io/mkfifoat.c: Likewise.
73501         * io/open.c: Likewise.
73502         * io/open64.c: Likewise.
73503         * io/openat.c: Likewise.
73504         * io/openat64.c: Likewise.
73505         * io/pipe.c: Likewise.
73506         * io/pipe2.c: Likewise.
73507         * io/poll.c: Likewise.
73508         * io/posix_fadvise.c: Likewise.
73509         * io/posix_fadvise64.c: Likewise.
73510         * io/posix_fallocate.c: Likewise.
73511         * io/posix_fallocate64.c: Likewise.
73512         * io/read.c: Likewise.
73513         * io/readlink.c: Likewise.
73514         * io/readlinkat.c: Likewise.
73515         * io/rmdir.c: Likewise.
73516         * io/sendfile.c: Likewise.
73517         * io/sendfile64.c: Likewise.
73518         * io/statfs.c: Likewise.
73519         * io/statfs64.c: Likewise.
73520         * io/statvfs.c: Likewise.
73521         * io/statvfs64.c: Likewise.
73522         * io/symlink.c: Likewise.
73523         * io/symlinkat.c: Likewise.
73524         * io/ttyname.c: Likewise.
73525         * io/ttyname_r.c: Likewise.
73526         * io/umask.c: Likewise.
73527         * io/unlink.c: Likewise.
73528         * io/unlinkat.c: Likewise.
73529         * io/utime.c: Likewise.
73530         * io/utimensat.c: Likewise.
73531         * io/write.c: Likewise.
73532         * io/xmknod.c: Likewise.
73533         * io/xmknodat.c: Likewise.
73534         * io/xstat.c: Likewise.
73535         * io/xstat64.c: Likewise.
73536         * login/getpt.c: Likewise.
73537         * login/grantpt.c: Likewise.
73538         * login/unlockpt.c: Likewise.
73539         * math/e_acoshl.c: Likewise.
73540         * math/e_acosl.c: Likewise.
73541         * math/e_asinl.c: Likewise.
73542         * math/e_atan2l.c: Likewise.
73543         * math/e_atanhl.c: Likewise.
73544         * math/e_coshl.c: Likewise.
73545         * math/e_expl.c: Likewise.
73546         * math/e_fmodl.c: Likewise.
73547         * math/e_gammal_r.c: Likewise.
73548         * math/e_hypotl.c: Likewise.
73549         * math/e_j0l.c: Likewise.
73550         * math/e_j1l.c: Likewise.
73551         * math/e_jnl.c: Likewise.
73552         * math/e_lgammal_r.c: Likewise.
73553         * math/e_log10l.c: Likewise.
73554         * math/e_log2l.c: Likewise.
73555         * math/e_logl.c: Likewise.
73556         * math/e_powl.c: Likewise.
73557         * math/e_rem_pio2l.c: Likewise.
73558         * math/e_sinhl.c: Likewise.
73559         * math/e_sqrtl.c: Likewise.
73560         * math/fclrexcpt.c: Likewise.
73561         * math/fedisblxcpt.c: Likewise.
73562         * math/feenablxcpt.c: Likewise.
73563         * math/fegetenv.c: Likewise.
73564         * math/fegetexcept.c: Likewise.
73565         * math/fegetround.c: Likewise.
73566         * math/feholdexcpt.c: Likewise.
73567         * math/fesetenv.c: Likewise.
73568         * math/fesetround.c: Likewise.
73569         * math/feupdateenv.c: Likewise.
73570         * math/fgetexcptflg.c: Likewise.
73571         * math/fraiseexcpt.c: Likewise.
73572         * math/fsetexcptflg.c: Likewise.
73573         * math/ftestexcept.c: Likewise.
73574         * math/k_cosl.c: Likewise.
73575         * math/k_rem_pio2l.c: Likewise.
73576         * math/k_sinl.c: Likewise.
73577         * math/k_tanl.c: Likewise.
73578         * math/s_asinhl.c: Likewise.
73579         * math/s_atanl.c: Likewise.
73580         * math/s_cbrtl.c: Likewise.
73581         * math/s_erfl.c: Likewise.
73582         * math/s_expm1l.c: Likewise.
73583         * math/s_log1pl.c: Likewise.
73584         * math/s_tanhl.c: Likewise.
73585         * misc/acct.c: Likewise.
73586         * misc/brk.c: Likewise.
73587         * misc/chflags.c: Likewise.
73588         * misc/chroot.c: Likewise.
73589         * misc/fchflags.c: Likewise.
73590         * misc/fgetxattr.c: Likewise.
73591         * misc/flistxattr.c: Likewise.
73592         * misc/fremovexattr.c: Likewise.
73593         * misc/fsetxattr.c: Likewise.
73594         * misc/fsync.c: Likewise.
73595         * misc/ftruncate.c: Likewise.
73596         * misc/futimes.c: Likewise.
73597         * misc/futimesat.c: Likewise.
73598         * misc/getdomain.c: Likewise.
73599         * misc/getdtsz.c: Likewise.
73600         * misc/gethostid.c: Likewise.
73601         * misc/gethostname.c: Likewise.
73602         * misc/getloadavg.c: Likewise.
73603         * misc/getpagesize.c: Likewise.
73604         * misc/getsysstats.c: Likewise.
73605         * misc/getxattr.c: Likewise.
73606         * misc/gtty.c: Likewise.
73607         * misc/ioctl.c: Likewise.
73608         * misc/lgetxattr.c: Likewise.
73609         * misc/listxattr.c: Likewise.
73610         * misc/llistxattr.c: Likewise.
73611         * misc/lremovexattr.c: Likewise.
73612         * misc/lsetxattr.c: Likewise.
73613         * misc/lutimes.c: Likewise.
73614         * misc/madvise.c: Likewise.
73615         * misc/mincore.c: Likewise.
73616         * misc/mlock.c: Likewise.
73617         * misc/mlockall.c: Likewise.
73618         * misc/mmap.c: Likewise.
73619         * misc/mprotect.c: Likewise.
73620         * misc/msync.c: Likewise.
73621         * misc/munlock.c: Likewise.
73622         * misc/munlockall.c: Likewise.
73623         * misc/munmap.c: Likewise.
73624         * misc/preadv.c: Likewise.
73625         * misc/preadv64.c: Likewise.
73626         * misc/ptrace.c: Likewise.
73627         * misc/pwritev.c: Likewise.
73628         * misc/pwritev64.c: Likewise.
73629         * misc/readv.c: Likewise.
73630         * misc/reboot.c: Likewise.
73631         * misc/remap_file_pages.c: Likewise.
73632         * misc/removexattr.c: Likewise.
73633         * misc/revoke.c: Likewise.
73634         * misc/select.c: Likewise.
73635         * misc/setdomain.c: Likewise.
73636         * misc/setegid.c: Likewise.
73637         * misc/seteuid.c: Likewise.
73638         * misc/sethostid.c: Likewise.
73639         * misc/sethostname.c: Likewise.
73640         * misc/setregid.c: Likewise.
73641         * misc/setreuid.c: Likewise.
73642         * misc/setxattr.c: Likewise.
73643         * misc/sstk.c: Likewise.
73644         * misc/stty.c: Likewise.
73645         * misc/swapoff.c: Likewise.
73646         * misc/swapon.c: Likewise.
73647         * misc/sync.c: Likewise.
73648         * misc/syncfs.c: Likewise.
73649         * misc/syscall.c: Likewise.
73650         * misc/truncate.c: Likewise.
73651         * misc/ualarm.c: Likewise.
73652         * misc/usleep.c: Likewise.
73653         * misc/ustat.c: Likewise.
73654         * misc/utimes.c: Likewise.
73655         * misc/vhangup.c: Likewise.
73656         * misc/writev.c: Likewise.
73657         * posix/_exit.c: Likewise.
73658         * posix/alarm.c: Likewise.
73659         * posix/execve.c: Likewise.
73660         * posix/fexecve.c: Likewise.
73661         * posix/fork.c: Likewise.
73662         * posix/fpathconf.c: Likewise.
73663         * posix/getaddrinfo.c: Likewise.
73664         * posix/getegid.c: Likewise.
73665         * posix/geteuid.c: Likewise.
73666         * posix/getgid.c: Likewise.
73667         * posix/getgroups.c: Likewise.
73668         * posix/getlogin.c: Likewise.
73669         * posix/getlogin_r.c: Likewise.
73670         * posix/getpgid.c: Likewise.
73671         * posix/getpid.c: Likewise.
73672         * posix/getppid.c: Likewise.
73673         * posix/getresgid.c: Likewise.
73674         * posix/getresuid.c: Likewise.
73675         * posix/getsid.c: Likewise.
73676         * posix/getuid.c: Likewise.
73677         * posix/glob64.c: Likewise.
73678         * posix/nanosleep.c: Likewise.
73679         * posix/pathconf.c: Likewise.
73680         * posix/pause.c: Likewise.
73681         * posix/posix_madvise.c: Likewise.
73682         * posix/pread.c: Likewise.
73683         * posix/pread64.c: Likewise.
73684         * posix/pwrite.c: Likewise.
73685         * posix/pwrite64.c: Likewise.
73686         * posix/sched_getaffinity.c: Likewise.
73687         * posix/sched_getp.c: Likewise.
73688         * posix/sched_gets.c: Likewise.
73689         * posix/sched_primax.c: Likewise.
73690         * posix/sched_primin.c: Likewise.
73691         * posix/sched_rr_gi.c: Likewise.
73692         * posix/sched_setaffinity.c: Likewise.
73693         * posix/sched_setp.c: Likewise.
73694         * posix/sched_sets.c: Likewise.
73695         * posix/sched_yield.c: Likewise.
73696         * posix/setgid.c: Likewise.
73697         * posix/setlogin.c: Likewise.
73698         * posix/setpgid.c: Likewise.
73699         * posix/setresgid.c: Likewise.
73700         * posix/setresuid.c: Likewise.
73701         * posix/setsid.c: Likewise.
73702         * posix/setuid.c: Likewise.
73703         * posix/sleep.c: Likewise.
73704         * posix/spawni.c: Likewise.
73705         * posix/sysconf.c: Likewise.
73706         * posix/times.c: Likewise.
73707         * posix/wait.c: Likewise.
73708         * posix/wait3.c: Likewise.
73709         * posix/wait4.c: Likewise.
73710         * posix/waitpid.c: Likewise.
73711         * resolv/gai_sigqueue.c: Likewise.
73712         * resource/getpriority.c: Likewise.
73713         * resource/getrlimit.c: Likewise.
73714         * resource/getrusage.c: Likewise.
73715         * resource/nice.c: Likewise.
73716         * resource/setpriority.c: Likewise.
73717         * resource/setrlimit.c: Likewise.
73718         * resource/ulimit.c: Likewise.
73719         * rt/aio_cancel.c: Likewise.
73720         * rt/aio_fsync.c: Likewise.
73721         * rt/aio_read.c: Likewise.
73722         * rt/aio_sigqueue.c: Likewise.
73723         * rt/aio_suspend.c: Likewise.
73724         * rt/aio_write.c: Likewise.
73725         * rt/clock_getres.c: Likewise.
73726         * rt/clock_gettime.c: Likewise.
73727         * rt/clock_nanosleep.c: Likewise.
73728         * rt/clock_settime.c: Likewise.
73729         * rt/lio_listio.c: Likewise.
73730         * rt/mq_close.c: Likewise.
73731         * rt/mq_getattr.c: Likewise.
73732         * rt/mq_notify.c: Likewise.
73733         * rt/mq_open.c: Likewise.
73734         * rt/mq_receive.c: Likewise.
73735         * rt/mq_send.c: Likewise.
73736         * rt/mq_setattr.c: Likewise.
73737         * rt/mq_timedreceive.c: Likewise.
73738         * rt/mq_timedsend.c: Likewise.
73739         * rt/mq_unlink.c: Likewise.
73740         * rt/shm_open.c: Likewise.
73741         * rt/shm_unlink.c: Likewise.
73742         * rt/timer_create.c: Likewise.
73743         * rt/timer_delete.c: Likewise.
73744         * rt/timer_getoverr.c: Likewise.
73745         * rt/timer_gettime.c: Likewise.
73746         * rt/timer_settime.c: Likewise.
73747         * setjmp/__longjmp.c: Likewise.
73748         * setjmp/setjmp.c: Likewise.
73749         * signal/kill.c: Likewise.
73750         * signal/killpg.c: Likewise.
73751         * signal/raise.c: Likewise.
73752         * signal/sigaction.c: Likewise.
73753         * signal/sigaltstack.c: Likewise.
73754         * signal/sigblock.c: Likewise.
73755         * signal/sigignore.c: Likewise.
73756         * signal/sigintr.c: Likewise.
73757         * signal/signal.c: Likewise.
73758         * signal/sigpause.c: Likewise.
73759         * signal/sigpending.c: Likewise.
73760         * signal/sigqueue.c: Likewise.
73761         * signal/sigreturn.c: Likewise.
73762         * signal/sigset.c: Likewise.
73763         * signal/sigsetmask.c: Likewise.
73764         * signal/sigstack.c: Likewise.
73765         * signal/sigsuspend.c: Likewise.
73766         * signal/sigtimedwait.c: Likewise.
73767         * signal/sigvec.c: Likewise.
73768         * signal/sigwait.c: Likewise.
73769         * signal/sigwaitinfo.c: Likewise.
73770         * signal/sysv_signal.c: Likewise.
73771         * socket/accept.c: Likewise.
73772         * socket/accept4.c: Likewise.
73773         * socket/bind.c: Likewise.
73774         * socket/connect.c: Likewise.
73775         * socket/getpeername.c: Likewise.
73776         * socket/getsockname.c: Likewise.
73777         * socket/getsockopt.c: Likewise.
73778         * socket/isfdtype.c: Likewise.
73779         * socket/listen.c: Likewise.
73780         * socket/recv.c: Likewise.
73781         * socket/recvfrom.c: Likewise.
73782         * socket/recvmsg.c: Likewise.
73783         * socket/send.c: Likewise.
73784         * socket/sendmsg.c: Likewise.
73785         * socket/sendto.c: Likewise.
73786         * socket/setsockopt.c: Likewise.
73787         * socket/shutdown.c: Likewise.
73788         * socket/sockatmark.c: Likewise.
73789         * socket/socket.c: Likewise.
73790         * socket/socketpair.c: Likewise.
73791         * stdio-common/ctermid.c: Likewise.
73792         * stdio-common/cuserid.c: Likewise.
73793         * stdio-common/remove.c: Likewise.
73794         * stdio-common/rename.c: Likewise.
73795         * stdio-common/renameat.c: Likewise.
73796         * stdio-common/tempname.c: Likewise.
73797         * stdlib/getcontext.c: Likewise.
73798         * stdlib/makecontext.c: Likewise.
73799         * stdlib/setcontext.c: Likewise.
73800         * stdlib/swapcontext.c: Likewise.
73801         * stdlib/system.c: Likewise.
73802         * streams/fattach.c: Likewise.
73803         * streams/fdetach.c: Likewise.
73804         * streams/getmsg.c: Likewise.
73805         * streams/getpmsg.c: Likewise.
73806         * streams/putmsg.c: Likewise.
73807         * streams/putpmsg.c: Likewise.
73808         * sysdeps/unix/bsd/getpt.c: Likewise.
73809         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
73810         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
73811         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
73812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73813         Likewise.
73814         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
73815         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73816         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
73817         * sysvipc/msgctl.c: Likewise.
73818         * sysvipc/msgget.c: Likewise.
73819         * sysvipc/msgrcv.c: Likewise.
73820         * sysvipc/msgsnd.c: Likewise.
73821         * sysvipc/semctl.c: Likewise.
73822         * sysvipc/semget.c: Likewise.
73823         * sysvipc/semop.c: Likewise.
73824         * sysvipc/semtimedop.c: Likewise.
73825         * sysvipc/shmat.c: Likewise.
73826         * sysvipc/shmctl.c: Likewise.
73827         * sysvipc/shmdt.c: Likewise.
73828         * sysvipc/shmget.c: Likewise.
73829         * termios/tcdrain.c: Likewise.
73830         * termios/tcflow.c: Likewise.
73831         * termios/tcflush.c: Likewise.
73832         * termios/tcgetattr.c: Likewise.
73833         * termios/tcgetpgrp.c: Likewise.
73834         * termios/tcsendbrk.c: Likewise.
73835         * termios/tcsetattr.c: Likewise.
73836         * termios/tcsetpgrp.c: Likewise.
73837         * time/adjtime.c: Likewise.
73838         * time/clock.c: Likewise.
73839         * time/getitimer.c: Likewise.
73840         * time/gettimeofday.c: Likewise.
73841         * time/setitimer.c: Likewise.
73842         * time/settimeofday.c: Likewise.
73843         * time/stime.c: Likewise.
73844         * time/time.c: Likewise.
73846 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
73848         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
73849         /usr/old/bin.
73851         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
73852         instead of spaces.
73853         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
73855 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
73857         [BZ #14796]
73858         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
73859         FE_TONEAREST before applying Dekker multiplication and Knuth
73860         addition.  Clear inexact exceptions and check for exact zero
73861         results afterwards.
73862         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73863         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73864         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73865         * math/libm-test.inc (fma_test): Add more tests.
73866         (fma_test_towardzero): Likewise.
73867         (fma_test_downward): Likewise.
73868         (fma_test_upward): Likewise.
73869         * sysdeps/generic/math_private.h (default_libc_fesetround): New
73870         function.
73871         (libc_fesetround): New macro.
73872         (libc_fesetroundf): Likewise.
73873         (libc_fesetroundl): Likewise.
73874         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
73875         function.
73876         (libc_fesetround_387): Likewise.
73877         (libc_fesetroundf): New macro.
73878         (libc_fesetround): Likewise.
73879         (libc_fesetroundl): Likewise.
73880         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
73881         function.
73882         (libc_fesetroundf): New macro.
73883         (libc_fesetround): Likewise.
73884         (libc_fesetroundl): Likewise.
73885         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
73886         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
73887         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
73888         libm_hidden_ver.
73889         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
73890         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
73891         libm_hidden_def.
73892         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
73893         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
73894         libm_hidden_ver.
73895         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
73896         libm_hidden_def.
73898         [BZ #3439]
73899         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
73900         integer constant usable in #if and use that to give value to enum
73901         constant.
73902         (FE_DIVBYZERO): Likewise.
73903         (FE_UNDERFLOW): Likewise.
73904         (FE_OVERFLOW): Likewise.
73905         (FE_INVALID): Likewise.
73906         (FE_INVALID_SNAN): Likewise.
73907         (FE_INVALID_ISI): Likewise.
73908         (FE_INVALID_IDI): Likewise.
73909         (FE_INVALID_ZDZ): Likewise.
73910         (FE_INVALID_IMZ): Likewise.
73911         (FE_INVALID_COMPARE): Likewise.
73912         (FE_INVALID_SOFTWARE): Likewise.
73913         (FE_INVALID_SQRT): Likewise.
73914         (FE_INVALID_INTEGER_CONVERSION): Likewise.
73915         (FE_TONEAREST): Likewise.
73916         (FE_TOWARDZERO): Likewise.
73917         (FE_UPWARD): Likewise.
73918         (FE_DOWNWARD): Likewise.
73919         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
73920         (FE_DIVBYZERO): Likewise.
73921         (FE_OVERFLOW): Likewise.
73922         (FE_UNDERFLOW): Likewise.
73923         (FE_INEXACT): Likewise.
73924         (FE_TONEAREST): Likewise.
73925         (FE_DOWNWARD): Likewise.
73926         (FE_UPWARD): Likewise.
73927         (FE_TOWARDZERO): Likewise.
73928         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
73929         (FE_UNDERFLOW): Likewise.
73930         (FE_OVERFLOW): Likewise.
73931         (FE_DIVBYZERO): Likewise.
73932         (FE_INVALID): Likewise.
73933         (FE_TONEAREST): Likewise.
73934         (FE_TOWARDZERO): Likewise.
73935         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
73936         (FE_OVERFLOW): Likewise.
73937         (FE_UNDERFLOW): Likewise.
73938         (FE_DIVBYZERO): Likewise.
73939         (FE_INEXACT): Likewise.
73940         (FE_TONEAREST): Likewise.
73941         (FE_TOWARDZERO): Likewise.
73942         (FE_UPWARD): Likewise.
73943         (FE_DOWNWARD): Likewise.
73944         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
73945         (FE_DIVBYZERO): Likewise.
73946         (FE_OVERFLOW): Likewise.
73947         (FE_UNDERFLOW): Likewise.
73948         (FE_INEXACT): Likewise.
73949         (FE_TONEAREST): Likewise.
73950         (FE_DOWNWARD): Likewise.
73951         (FE_UPWARD): Likewise.
73952         (FE_TOWARDZERO): Likewise.
73954 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
73956         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
73958 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
73960         * scripts/cross-test-ssh.sh (command): Use newlines to separate
73961         commands.  Quote $PWD.
73962         (blacklist_exports): Don't use remove_newlines.  Replace "declare
73963         -x" by "export".
73964         (remove_newlines): Remove.
73966 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
73968         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
73969         * stdlib/stdlib.h (atof): Moved to ...
73970         * include/bits/stdlib-float.h: Here.  New file.
73971         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
73972         * stdlib/bits/stdlib-float.h: New file.
73973         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
73974         -mno-sse -mno-mmx.
73975         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
73976         <xmmintrin.h>.
73978 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
73980         * conform/conformtest.pl (@headers): Add fenv.h.
73981         * conform/data/fenv.h-data: New file.
73982         * include/fenv.h [_ISOMAC]: Disable all contents of file except
73983         include of <math/fenv.h>.
73985         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
73986         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
73987         && !UNIX98].  Enables tests for XOPEN2K8.
73988         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
73989         POSIX2008]: Likewise.
73991         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
73992         (struct rusage): Do not expect type or its members.
73994         [BZ #3439]
73995         * math/math.h (FP_NAN): Define macro to integer constant usable in
73996         #if and use that to give value to enum constant.
73997         (FP_INFINITE): Likewise.
73998         (FP_ZERO): Likewise.
73999         (FP_SUBNORMAL): Likewise.
74000         (FP_NORMAL): Likewise.
74002 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
74004         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
74005         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
74006         arguments.
74008 2012-11-02  Roland McGrath  <roland@hack.frob.com>
74010         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
74011         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
74012         autoconf-time if not.
74013         * configure.in: Remove AC_PREREQ.
74015 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74017         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
74018         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
74019         of the internal implementation.
74021 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
74023         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
74024         except include of <misc/sys/syslog.h>.
74026 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
74029         function returns with a NULL context exit with zero.
74031 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74033         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
74035 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
74037         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
74038         (run_program_cmd): This.
74039         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
74040         (tst_langinfo): New variable.  Use it.
74042 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
74044         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
74045         floating point opcodes.
74047 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
74049         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
74050         variable.
74052         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
74054         * sysdeps/mach/hurd/powerpc: Remove directory.
74055         * sysdeps/mach/powerpc: Likewise.
74057 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74059         * scripts/check-local-headers.sh: Ignore c++ headers.
74061 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
74063         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
74064         __libc_cleanup_region_start argument.
74066 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
74068         [BZ #14784]
74069         [BZ #14785]
74070         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
74071         x * y using scaling, not as x * y + z.
74072         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74073         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74074         * math/libm-test.inc (fma_test): Add more tests.
74075         (fma_test_towardzero): Likewise.
74076         (fma_test_downward): Likewise.
74077         (fma_test_upward): Likewise.
74079 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
74081         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
74083 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
74085         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
74086         New variable.
74088 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
74090         * rt/tst-shm.c (worker): Correct checking for mmap failure.
74092 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
74094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74095         Fix sort order.
74096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74097         Likewise.
74099 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74102         Fix the order of the list for glibc 2.17.
74103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74104         Likewise.
74106 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
74108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74110 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
74112         [BZ #14610]
74113         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
74114         for low part of x being zero before using __atanl (y).
74115         * math/libm-test.inc (atan2_test): Add another test.
74117         * manual/install.texi (Configuring and compiling): Document
74118         general use of test-wrapper and test-wrapper-env.
74119         * INSTALL: Regenerated.
74121         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
74122         (__fma): Do not extract and scale down low bits on after-rounding
74123         systems when result rounded to normal precision would have normal
74124         exponent.
74125         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
74126         (__fmal): Do not extract and scale down low bits on after-rounding
74127         systems when result rounded to normal precision would have normal
74128         exponent.
74129         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
74130         (__fmal): Do not extract and scale down low bits on after-rounding
74131         systems when result rounded to normal precision would have normal
74132         exponent.
74133         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
74134         macro.
74135         (fma_test): Add more tests.
74136         (fma_test_towardzero): Likewise.
74137         (fma_test_downward): Likewise.
74138         (fma_test_upward): Likewise.
74140 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
74142         * sysdeps/i386/tininess.h: Renamed to ...
74143         * sysdeps/x86/tininess.h: This.
74144         * sysdeps/x86_64/tininess.h: Removed.
74146 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
74148         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
74149         input.  Use $(build-program-cmd).
74150         ($(objpfx)tst-array1-static.out): Likewise.
74151         ($(objpfx)tst-array2.out): Likewise.
74152         ($(objpfx)tst-array3.out): Likewise.
74153         ($(objpfx)tst-array4.out): Likewise.
74154         ($(objpfx)tst-array5.out): Likewise.
74155         ($(objpfx)tst-array5-static.out): Likewise.
74157 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
74159         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
74160         if defined.
74162         * nss/nsswitch.h (nss_interface_function): Provide new
74163         macro for use with NSS functions.
74164         * grp/initgroups.c: Use new macro.
74165         * nss/getXXbyYY.c: Likewise.
74166         * nss/getXXbyYY_r.c: Likewise.
74167         * nss/getXXent.c: Likewise.
74168         * nss/getXXent_r.c: Likewise.
74169         * sysdeps/posix/getaddrinfo.c: Likewise.
74171 2012-10-30  Andreas Jaeger  <aj@suse.de>
74173         * po/ru.po: Update Russion translation from translation project.
74175 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
74177         [BZ #14152]
74178         [BZ #14783]
74179         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
74180         result and shift together with sticky bit instead of replicating
74181         round-to-nearest rounding.
74182         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74183         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74184         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
74185         missing underflow exceptions.
74186         (fma_test_towardzero): Add more tests.
74187         (fma_test_downward): Likewise.
74188         (fma_test_upward): Likewise.
74190         [BZ #14047]
74191         * sysdeps/generic/tininess.h: New file.
74192         * sysdeps/i386/tininess.h: Likewise.
74193         * sysdeps/sh/tininess.h: Likewise.
74194         * sysdeps/x86_64/tininess.h: Likewise.
74195         * stdlib/tst-strtod-underflow.c: Likewise.
74196         * stdlib/tst-tininess.c: Likewise.
74197         * stdlib/strtod_l.c: Include <tininess.h>.
74198         (round_and_return): Do not set errno for exact underflow cases.
74199         Force an underflow exception when setting errno for underflow.
74200         Determine underflow based on rounding to normal precision if
74201         TININESS_AFTER_ROUNDING.
74202         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
74203         ERANGE for exact underflow cases.
74204         * stdlib/Makefile (tests): Add tst-tininess and
74205         tst-strtod-underflow.
74206         ($(objpfx)tst-tininess): Use $(link-libm).
74207         ($(objpfx)tst-strtod-underflow): Likewise.
74209 2012-10-30  Andreas Jaeger  <aj@suse.de>
74211         [BZ #14767]
74212         * elf/Makefile (tests): Remove conditional for have-initfini-array
74213         since this is now always required and the variable does not exist
74214         anymore.
74215         (tests-static): Likewise.
74216         (modules-names): Likewise.
74218         * po/eo.po: Add Esperanto translation from translation project.
74220         * elf/tst-array1.c (fini_array): Make writeable so that it can be
74221         merged with constructor/destructor.
74222         (init_array): Likewise.
74223         * elf/tst-array2dep.c (fini_array): Likewise.
74224         (init_array): Likewise.
74226 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
74228         * manual/message.texi: Delete @cartouche tags.
74230 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
74232         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
74233         EOPNOTSUPP.
74234         * sysdeps/mach/hurd/fsync.c: Likewise.
74236         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
74237         [_POSIX_REALTIME_SIGNALS]: Change condition to
74238         [_POSIX_REALTIME_SIGNALS > 0].
74240 2012-10-27  Andreas Jaeger  <aj@suse.de>
74242         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
74243         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
74244         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
74245         [__WORDSIZE != 64]: Likewise.
74247 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
74249         *  iconvdata/tst-table.sh: Remove ${SHELL}.
74250         *  iconvdata/tst-tables.sh: Likewise.
74252 2012-10-25  David S. Miller  <davem@davemloft.net>
74254         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74255         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
74256         of strtoull.
74258         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
74259         ifunc-impl-list.c
74260         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74261         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
74262         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
74263         file.
74265 2012-10-25  Roland McGrath  <roland@hack.frob.com>
74267         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74268         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
74269         __getdirentries.
74271 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
74272             Jim Blandy  <jimb@codesourcery.com>
74274         * scripts/cross-test-ssh.sh: New file.
74275         * manual/install.texi (Configuring and compiling): Document use of
74276         cross-test-ssh.sh.
74277         * INSTALL: Regenerated.
74279 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
74281         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
74282         EOPNOTSUPP.
74284 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
74286         * Makeconfig (run-program-prefix): Fix comment.
74288 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
74289             Jim Blandy  <jimb@codesourcery.com>
74291         * Makeconfig (test-wrapper): New variable,
74292         (test-wrapper-env): Likewise.
74293         [$(cross-compiling) = yes && $(test-wrapper) != ""]
74294         (run-built-tests): Define to yes.
74295         (run-program-prefix): Use $(test-wrapper).
74296         (built-program-cmd): Likewise.
74297         * Rules (make-test-out): Use $(test-wrapper-env) and
74298         $(host-built-program-cmd).
74299         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
74300         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
74301         tst-pathopt.sh.
74302         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
74303         $(test-wrapper-env) to tst-rtld-load-self.sh.
74304         ($(objpfx)order2.out): Use $(test-wrapper).
74305         ($(objpfx)tst-initorder.out): Likewise.
74306         ($(objpfx)tst-initorder2.out): Likewise.
74307         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
74308         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
74309         (test_wrapper_env): New variable.  Use it to run ld.so.
74310         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
74311         Use it to run ld.so.
74312         (test_wrapper_env): Likewise.
74313         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
74314         $(test-wrapper) to run-iconv-test.sh.
74315         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
74316         (ICONV): Use $test_wrapper.
74317         * posix/Makefile ($(objpfx)globtest.out): Pass
74318         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
74319         globtest.sh, not $(run-program-prefix).
74320         * posix/globtest.sh (run_via_rtld_prefix): New variable.
74321         (test_wrapper): Likewise.
74322         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
74323         set together with run_via_rtld_prefix.
74324         (run_program_prefix): Define in terms of test_wrapper and
74325         run_via_rtld_prefix.
74327 2012-10-24  Roland McGrath  <roland@hack.frob.com>
74329         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
74330         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
74331         Targets removed.
74333         [BZ #14743]
74334         * include/time.h: Remove librt_hidden_proto (clock_gettime).
74335         Declare __clock_getres, __clock_gettime, __clock_settime,
74336         __clock_nanosleep, and __clock_getcpuclockid.
74337         * rt/clock_gettime.c: Define __clock_gettime as an alias.
74338         Remove librt_hidden_def (clock_gettime).
74339         * sysdeps/unix/clock_gettime.c: Likewise.
74340         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
74341         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
74342         * rt/clock_getres.c: Define __clock_getres as an alias.
74343         * sysdeps/posix/clock_getres.c: Likewise.
74344         * rt/clock_settime.c: Define __clock_settime as an alias.
74345         * sysdeps/unix/clock_settime.c: Likewise.
74346         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
74347         * sysdeps/unix/clock_nanosleep.c: Likewise.
74348         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
74349         * rt/clock-compat.c: New file.
74350         * rt/Makefile (librt-routines): Add clock-compat and move
74351         $(clock-routines) to ...
74352         (routines): ... here, new variable.
74353         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
74354         Don't add get_clockfreq here.
74355         * rt/Versions (libc: GLIBC_2.17): New version set.
74356         Add clock_* symbols here.
74357         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
74358         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
74359         (GLIBC_2.17): Add clock_* symbols.
74360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
74361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
74362         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
74363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74364         Likewise.
74365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74366         Likewise.
74367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
74368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
74369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
74370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
74371         * NEWS: Mention the move.
74373         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
74374         Use __open, __read, __close rather than their public counterparts.
74375         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74376         (__get_clockfreq_via_cpuinfo): Likewise.
74377         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
74378         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
74380         * config.h.in (HAVE_IFUNC): New #undef.
74381         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
74382         was successful.
74383         * configure: Regenerated.
74385 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
74387         * configure.in: Move READELF check to start of file.
74388         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
74389         libc_cv_asm_gnu_indirect_function in the process.
74390         * configure: Regenerated.
74392 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
74394         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
74395         send the output to /dev/null.
74396         (libc_cv_cc_with_libunwind): Likewise.
74397         (libc_cv_as_noexecstack): Likewise.
74398         * configure: Regenerate.
74400 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
74402         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
74404         * posix/globtest.sh (TMPDIR): Do not set.
74405         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
74406         (testout): Likewise.
74408 2012-10-24  Andreas Jaeger  <aj@suse.de>
74410         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
74411         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
74412         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
74413         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
74414         posix_fadvise64, posix_fallocate64.
74416         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
74417         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
74418         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
74419         Likewise.
74420         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
74421         Likewise.
74422         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
74424         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
74425         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
74426         <bits/fcntl-linux.h>.
74427         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
74429         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
74430         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
74431         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
74432         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
74433         [__WORDSIZE != 64]: Likewise.
74435 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
74437         * Makeconfig (run-built-tests): New variable.
74438         * Rules [$(cross-compiling) = yes]: Change condition to
74439         [$(run-built-tests) = no].
74440         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
74441         to [$(run-built-tests) = yes].
74442         * elf/Makefile [$(cross-compiling) = no]: Likewise.
74443         * grp/Makefile [$(cross-compiling) = no]: Likewise.
74444         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
74445         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
74446         * intl/Makefile [$(cross-compiling) = no]: Likewise.
74447         * io/Makefile [$(cross-compiling) = no]: Likewise.
74448         * libio/Makefile [$(cross-compiling) = no]: Likewise.
74449         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
74450         * misc/Makefile [$(cross-compiling) = no]: Likewise.
74451         * posix/Makefile [$(cross-compiling) = no]: Likewise.
74452         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
74453         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
74454         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
74455         * string/Makefile [$(cross-compiling) = no]: Likewise.
74457         * posix/Makefile ($(objpfx)globtest.out): Pass
74458         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
74459         $(rtld-installed-name).
74460         * posix/globtest.sh (elf_objpfx): Remove variable.
74461         (rtld_installed_name): Likewise.
74462         (library_path): Likewise.
74463         (run_program_prefix): New variable.  Use for running globtest
74464         binary.
74466 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
74467             Joseph Myers  <joseph@codesourcery.com>
74469         * Makeconfig (host-built-program-cmd): New variable.
74470         * elf/Makefile (tst-stackguard1-ARGS): Use
74471         $(host-built-program-cmd).
74472         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
74473         (tst-spawn-ARGS): Likewise.
74474         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
74476 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
74477             Jim Blandy  <jimb@codesourcery.com>
74479         * Makeconfig (run-via-rtld-prefix): New variable.
74480         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
74481         (built-program-cmd): Likewise.
74483 2012-10-22  Andreas Jaeger  <aj@suse.de>
74485         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
74486         __O_RSYNC if it exists, otherwise to O_SYNC.
74488 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
74489             Joseph Myers  <joseph@codesourcery.com>
74491         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
74492         /dev/null.
74493         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
74494         from /dev/null
74495         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
74496         /dev/null.
74498 2012-10-22  Andreas Jaeger  <aj@suse.de>
74500         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
74501         Define always.
74502         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
74504         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74505         bits/fcntl-linux.h.
74507         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
74508         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
74510         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
74511         to __O_LARGEFILE.
74512         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
74513         to __O_LARGEFILE.
74515 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
74516             Joseph Myers  <joseph@codesourcery.com>
74518         * config.make.in (NM): New variable.
74520 2012-10-21  Andreas Jaeger  <aj@suse.de>
74522         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
74523         definitions and declarations that are provided by
74524         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74526 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
74528         [BZ #14683]
74529         * elf/Makefile (tests-static): Add tst-leaks1-static.
74530         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
74531         ($(objpfx)tst-leaks1-static): New rule.
74532         ($(objpfx)tst-leaks1-static-mem): Likewise.
74533         (tst-leaks1-static-ENV): New macro.
74534         * elf/dl-open.c (dl_open_worker): Check the main application
74535         only if SHARED is defined.
74536         * elf/tst-leaks1-static.c: New file.
74538 2012-10-20  Andreas Jaeger  <aj@suse.de>
74540         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
74541         generic values for Linux.
74542         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
74543         and declarations that are provided by <bits/fcntl-linux.h> and
74544         include <bits/fcntl-linux.h>.
74545         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74546         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74548 2012-10-20  Roland McGrath  <roland@hack.frob.com>
74550         * io/fcntl.h: Move include of <bits/types.h> to the top and
74551         include it unconditionally.
74553 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
74555         * wcsmbs/Makefile (tests-ifunc): New variable.
74556         (tests): Add $(tests-ifunc).
74557         * wcsmbs/test-wcschr-ifunc.c: New file.
74558         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
74559         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
74560         * wcsmbs/test-wcslen-ifunc.c: Likewise.
74561         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
74562         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
74564         * string/Makefile (tests-ifunc): New variable.
74565         (tests): Add $(tests-ifunc).
74566         * string/test-memccpy.c (TEST_NAME): New macro.
74567         * string/test-memchr.c (TEST_NAME): Likewise.
74568         * string/test-memcmp.c (TEST_NAME): Likewise.
74569         * string/test-memcpy.c (TEST_NAME): Likewise.
74570         * string/test-memmem.c (TEST_NAME): Likewise.
74571         * string/test-memmove.c (TEST_NAME): Likewise.
74572         * string/test-memset.c (TEST_NAME): Likewise.
74573         * string/test-rawmemchr.c (TEST_NAME): Likewise.
74574         * string/test-stpcpy.c (TEST_NAME): Likewise.
74575         * string/test-stpncpy.c (TEST_NAME): Likewise.
74576         * string/test-strcasecmp.c (TEST_NAME): Likewise.
74577         * string/test-strcasestr.c (TEST_NAME): Likewise.
74578         * string/test-strcat.c (TEST_NAME): Likewise.
74579         * string/test-strchr.c (TEST_NAME): Likewise.
74580         * string/test-strcmp.c(TEST_NAME): Likewise.
74581         * string/test-strcpy.c (TEST_NAME): Likewise.
74582         * string/test-strcspn.c (TEST_NAME): Likewise.
74583         * string/test-strlen.c (TEST_NAME): Likewise.
74584         * string/test-strncasecmp.c (TEST_NAME): Likewise.
74585         * string/test-strncmp.c (TEST_NAME): Likewise.
74586         * string/test-strncpy.c (TEST_NAME): Likewise.
74587         * string/test-strnlen.c (TEST_NAME): Likewise.
74588         * string/test-strpbrk.c (TEST_NAME): Likewise.
74589         * string/test-strrchr.c (TEST_NAME): Likewise.
74590         * string/test-strspn.c (TEST_NAME): Likewise.
74591         * string/test-strstr.c (TEST_NAME): Likewise.
74592         * string/test-bcopy-ifunc.c: New file.
74593         * string/test-bzero-ifunc.c: Likewise.
74594         * string/test-memccpy-ifunc.c: Likewise.
74595         * string/test-memchr-ifunc.c: Likewise.
74596         * string/test-memcmp-ifunc.c: Likewise.
74597         * string/test-memcpy-ifunc.c: Likewise.
74598         * string/test-memmem-ifunc.c: Likewise.
74599         * string/test-memmove-ifunc.c: Likewise.
74600         * string/test-mempcpy-ifunc.c: Likewise.
74601         * string/test-memset-ifunc.c: Likewise.
74602         * string/test-rawmemchr-ifunc.c: Likewise.
74603         * string/test-stpcpy-ifunc.c: Likewise.
74604         * string/test-stpncpy-ifunc.c: Likewise.
74605         * string/test-strcasecmp-ifunc.c: Likewise.
74606         * string/test-strcasestr-ifunc.c: Likewise.
74607         * string/test-strcat-ifunc.c: Likewise.
74608         * string/test-strchr-ifunc.c: Likewise.
74609         * string/test-strchrnul-ifunc.c: Likewise.
74610         * string/test-strcmp-ifunc.c: Likewise.
74611         * string/test-strcpy-ifunc.c: Likewise.
74612         * string/test-strcspn-ifunc.c: Likewise.
74613         * string/test-strlen-ifunc.c: Likewise.
74614         * string/test-strncasecmp-ifunc.c: Likewise.
74615         * string/test-strncat-ifunc.c: Likewise.
74616         * string/test-strncmp-ifunc.c: Likewise.
74617         * string/test-strncpy-ifunc.c: Likewise.
74618         * string/test-strnlen-ifunc.c: Likewise.
74619         * string/test-strpbrk-ifunc.c: Likewise.
74620         * string/test-strrchr-ifunc.c: Likewise.
74621         * string/test-strspn-ifunc.c: Likewise.
74622         * string/test-strstr-ifunc.c: Likewise.
74624         * debug/Makefile (tests-ifunc): New variable.
74625         (tests): Add $(tests-ifunc).
74626         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
74627         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
74628         * debug/test-stpcpy_chk-ifunc.c: New file.
74629         * debug/test-strcpy_chk-ifunc.c: Likewise.
74631 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
74633         [BZ #13601]
74634         * elf/dl-load.c (open_verify): Retry read if the entire ELF
74635         header is not read in.
74637 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
74639         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
74640         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
74641         directly.  Pass built executable to script as
74642         $(built-program-cmd).
74643         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
74644         $testprogram without using LD_LIBRARY_PATH and $ldso.
74646         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
74647         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
74648         $(rtld-installed-name).
74649         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
74650         (rtld_installed_name): Likewise.
74651         (library_path): Likewise.
74652         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
74653         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
74654         $(run-program-prefix) to tst-tables.sh.
74655         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
74656         it to run tst-table-from and tst-table-to.
74657         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
74658         Pass it to tst-table.sh.
74659         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
74660         $(run-program-prefix) to tst-gettext.sh.
74661         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
74662         tst-translit.sh.
74663         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
74664         tst-gettext2.sh.
74665         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
74666         to run tst-gettext.
74667         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
74668         to run tst-gettext2.
74669         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
74670         to run tst-translit.
74671         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
74672         $(run-program-prefix) to tst-mtrace.sh.
74673         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
74674         to run tst-mtrace.
74675         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
74676         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
74677         $(rtld-installed-name).
74678         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
74679         (rtld_installed_name): Likewise.
74680         (run_program_prefix): New variable.  Use it to run wordexp-test.
74682         * Makeconfig (ARCH): Remove all definitions.
74683         (machine): Likewise.
74684         [ARCH]: Remove conditional code.
74685         [!objdir]: Give error.
74686         [!objdir] (objpfx): Remove.
74687         [!objdir] (common-objpfx): Likewise.
74688         [!objdir] (common-objdir): Likewise.
74689         * configure.in (config_makefile): Remove.  Hardcode Makefile in
74690         AC_CONFIG_FILES call.
74691         * configure: Regenerated.
74693         [BZ #13888]
74694         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
74695         or TMPDIR.
74696         (testout): Likewise.
74698         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
74699         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
74700         $(rtld-installed-name).
74701         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
74702         (rtld_installed_name): Likewise.
74703         (runit): Remove function.
74704         (run_getconf): New variable,  Use it for running getconf binary.
74706 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
74708         [BZ #14716]
74709         * string/test-memmem.c (check_result): New function.
74710         (do_one_test): Use it.
74711         (check1): New function.
74712         (test_main): Use it.
74714 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
74716         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
74718 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
74720         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
74721         (_G_LSEEK64): Likewise.
74722         (_G_MMAP64): Likewise.
74723         (_G_FSTAT64): Likewise.
74724         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
74725         (_G_LSEEK64): Likewise.
74726         (_G_MMAP64): Likewise.
74727         (_G_FSTAT64): Likewise.
74728         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
74729         unconditional.  Call __mmap64 directly.
74730         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
74731         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
74732         __lseek64 directly.
74733         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
74734         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
74735         __mmap64 directly.
74736         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
74737         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
74738         __lseek64 directly.
74739         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
74740         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
74741         __lseek64 directly.
74742         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
74743         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
74744         __lseek64 directly.
74745         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
74746         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
74747         __fxstat64 directly.
74748         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
74749         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
74750         unconditional.
74751         (freopen64) [!_G_OPEN64]: Remove conditional code.
74752         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
74753         unconditional.
74754         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
74755         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
74756         unconditional.
74757         (ftello64) [!_G_LSEEK64]: Remove conditional code.
74758         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
74759         unconditional.
74760         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74761         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
74762         unconditional.
74763         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
74764         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
74765         unconditional.
74766         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74767         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
74768         unconditional.
74769         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74770         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
74771         unconditional.
74772         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74774 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
74776         [BZ #12140]
74777         * manual/memory.texi (Malloc Tunable Parameters): Add note
74778         about free list pointers overwriting some perturb bytes.
74779         Wording suggested by Roland McGrath.
74781 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
74783         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
74784         (lgamma_test): Likewise.
74785         (tgamma_test): Likewise.
74787 2012-10-16  Florian Weimer  <fweimer@redhat.com>
74789         [BZ #14700]
74790         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
74791         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
74793 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
74795         * NEWS: Mention BZ #14716.
74796         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
74797         when removing AVAILABLE1_USES_J macro.
74799 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
74801         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
74802         (__bswap_64): __uint64_t for unsigned 64-bit int.
74804 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
74806         * include/string.h (memmem): Declare libc hidden alias.
74807         * string/memmem.c (memmem): Define libc hidden alias.
74808         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
74809         __read, __close instead of open, read, close.
74811 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
74813         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
74814         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
74815         global and hidden.
74816         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
74817         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
74818         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
74819         Likewise.
74820         (__rawmemchr_sse2): Likewise.
74821         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
74822         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
74823         (__strchr_sse2): Likewise.
74824         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
74825         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
74826         (__strcasecmp_sse2): Likewise.
74827         (__strncasecmp_sse2): Likewise.
74828         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
74829         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
74830         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
74831         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
74832         (__strrchr_sse2): Likewise.
74833         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
74834         ifunc-impl-list.c.
74835         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
74836         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
74837         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
74838         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74839         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
74840         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
74841         * sysdeps/x86_64/multiarch/memset.S: Likewise.
74842         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
74843         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
74844         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
74845         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
74846         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
74847         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
74848         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
74849         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
74850         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
74851         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
74852         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
74853         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
74854         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
74855         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
74856         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
74857         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
74858         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
74859         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
74860         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74861         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
74862         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74863         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
74864         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
74866         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
74867         global and hidden.
74868         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
74869         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
74870         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
74871         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
74872         Likewise.
74873         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
74874         Likewise.
74875         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
74876         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
74877         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
74878         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
74879         ifunc-impl-list.c.
74880         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74881         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74882         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74883         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74884         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74885         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74886         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74887         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74888         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74889         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74890         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74891         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74892         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74893         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
74894         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
74895         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74896         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
74897         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
74898         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74899         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74900         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74901         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74902         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74903         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74904         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74905         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
74906         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
74907         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
74908         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
74909         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74910         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
74911         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74912         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74913         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
74914         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74915         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74916         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74917         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74918         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74919         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74920         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
74922         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
74923         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
74924         * include/ifunc-impl-list.h: New file.
74925         * misc/ifunc-impl-list.c: Likewise.
74926         * misc/Makefile (routines): Add ifunc-impl-list.
74927         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
74928         * string/test-string.h: Include <ifunc-impl-list.h>.
74929         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
74930         TEST_NAME]: New variables.
74931         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
74932         are defined.
74933         (test_init): Call __libc_ifunc_impl_list to initialize
74934         func_list if TEST_IFUNC and TEST_NAME are defined.
74936         * string/Makefile (strop-tests): Add bcopy and bzero.
74937         * string/test-bcopy.c: New file.
74938         * string/test-bzero.c: Likewise.
74939         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
74940         defined.
74941         * string/test-memset.c: Support bzero test if TEST_BZERO is
74942         defined.
74943         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
74944         __libc_memmove.
74945         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
74946         __libc_memset.
74947         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
74948         of memset.
74950 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
74952         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
74953         * configure: Regenerated.
74955         * Makeconfig (+link-static-before-libc): Don't include
74956         $(link-static-libc).
74958         * libio/libio.h (_IO_pos_t): Remove.
74960 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74962         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
74963         McGrath.
74965 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74967         * crypt/crypt-entry.c: Include fips-private.h.
74968         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
74969         * crypt/md5c-test.c (main): Tolerate disabled MD5.
74970         * sysdeps/unix/sysv/linux/fips-private.h: New file.
74971         * sysdeps/generic/fips-private.h: New file, dummy fallback.
74973 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74975         * crypt/crypt-private.h: Include stdbool.h.
74976         (_ufc_setup_salt_r): Return bool.
74977         * crypt/crypt-entry.c: Include errno.h.
74978         (__crypt_r): Return NULL with EINVAL for bad salt.
74979         * crypt/crypt_util.c (bad_for_salt): New.
74980         (_ufc_setup_salt_r): Check that salt is long enough and within
74981         the specified alphabet.
74982         * crypt/badsalttest.c: New file.
74983         * crypt/Makefile (tests): Add it.
74984         ($(objpfx)badsalttest): New.
74986 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
74988         * NEWS: Add entry for BZ #14602.
74990 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
74992         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
74993         type-generic.
74994         * math/libm-test.inc: Update comment listing what functions and
74995         macros are tested.
74996         (isgreater_test): New function.
74997         (isgreaterequal_test): Likewise.
74998         (isless_test): Likewise.
74999         (islessequal_test): Likewise.
75000         (islessgreater_test): Likewise.
75001         (isunordered_test): Likewise.
75002         (main): Call the new functions.
75004 2012-10-09  Roland McGrath  <roland@hack.frob.com>
75006         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
75007         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
75008         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
75009         * sysdeps/i386/configure: Regenerated.
75010         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
75011         * sysdeps/mach/configure: Regenerated.
75012         * sysdeps/mach/hurd/configure: Regenerated.
75013         * sysdeps/powerpc/configure: Regenerated.
75014         * sysdeps/powerpc/powerpc32/configure: Regenerated.
75015         * sysdeps/powerpc/powerpc64/configure: Regenerated.
75016         * sysdeps/s390/s390-32/configure: Regenerated.
75017         * sysdeps/s390/s390-64/configure: Regenerated.
75018         * sysdeps/sh/configure: Regenerated.
75019         * sysdeps/sparc/configure: Regenerated.
75020         * sysdeps/unix/sysv/linux/configure: Regenerated.
75021         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
75022         * sysdeps/x86_64/configure: Regenerated.
75024         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
75025         defined.  Don't check if MAP is NULL.
75027 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
75029         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
75030         (_G_stat64): Likewise.
75031         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
75032         (_G_stat64): Likewise.
75033         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
75034         instead of struct _G_stat64.
75035         * libio/fileops.c (mmap_remap_check): Likewise.
75036         (decide_maybe_mmap): Likewise.
75037         (_IO_new_file_seekoff): Likewise.
75038         (_IO_file_stat): Likewise.
75039         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
75040         _G_off64_t.
75041         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
75042         instead of struct _G_stat64.
75043         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
75045 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
75047         [BZ #14602]
75048         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75049         Replace with ...
75050         (CHECK_EOL): New macro.
75051         (two_way_short_needle): Check beginning of haystack for EOL.  Use
75052         CHECK_EOL.
75053         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75054         Replace with CHECK_EOL.
75055         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75056         Replace with CHECK_EOL.
75058 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
75060         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
75061         type-generic.
75062         * math/libm-test.inc: Update comment listing what functions and
75063         macros are tested.
75064         (finite_test): New function.
75065         (isinf_test): Likewise.
75066         (isnan_test): Likewise.
75067         (fpclassify_test): Test subnormal input.
75068         (isfinite_test): Likewise.
75069         (isnormal_test): Likewise.
75070         (main): Call the new functions.
75072 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
75074         [BZ #14660]
75075         * Makerules (%.dynsym): Force C locale when running
75076         $(OBJDUMP) --dynamic-syms.
75078 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
75080         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
75081         <stdint.h>.
75083 2012-10-06  David S. Miller  <davem@davemloft.net>
75085         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
75086         upper 32-bits of the length value in %o2 since we use branch-on-register
75087         tests which consider the entire 64-bit register.
75089 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
75091         * string/test-strstr.c (check2): Add a test for page boundary.
75093 2012-10-05  David S. Miller  <davem@davemloft.net>
75095         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
75096         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
75097         file.
75098         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
75099         sysdep_routines.
75100         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
75101         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
75102         and bzero when HWCAP_SPARC_CRYPTO is present.
75104 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
75106         [BZ #14602]
75107         * string/test-strstr.c (check2): New function.
75108         (test_main): Call check2.
75110         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
75111         and bug-strchr1.
75112         * string/bug-strcasestr1.c (do_test): Moved to ...
75113         * string/test-strcasestr.c (check1): Here.  New function.
75114         (do_one_test): Break out result checking code into ...
75115         (check_result): This.  New function.
75116         (do_one_test): Call check_result.
75117         (test_main): Call check1.
75118         * string/bug-strchr1.c (do_test): Moved to ...
75119         * string/test-strchr.c (check1): Here.  New function.
75120         (do_one_test): Break out result checking code into ...
75121         (check_result): This.  New function.
75122         (do_one_test): Call check_result.
75123         (test_main): Call check1.
75124         * string/bug-strstr1.c (main): Moved to ...
75125         * string/test-strstr.c (check1): Here.  New function.
75126         (do_one_test): Break out result checking code into ...
75127         (check_result): This.  New function.
75128         (do_one_test): Call check_result.
75129         (test_main): Call check1.
75130         * string/bug-strcasestr1.c: Removed.
75131         * string/bug-strchr1.c: Likewise.
75132         * string/bug-strstr1.c: Likewise.
75134         * elf/Makefile (dl-routines): Add hwcaps.
75135         * elf/dl-support.c (_dl_important_hwcaps): Removed.
75136         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
75137         (_dl_important_hwcaps): Moved to ...
75138         * elf/dl-hwcaps.c: Here.  New file.
75139         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
75141         [BZ #14557]
75142         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
75143         if IS_IN_rtld isn't defined.
75145         * elf/dl-support.c (_dl_sysinfo_map): New.
75146         Include "get-dynamic-info.h" and "setup-vdso.h".
75147         (_dl_non_dynamic_init): Call setup_vdso.
75148         * elf/dynamic-link.h: Don't include <assert.h>.
75149         (elf_get_dynamic_info): Moved to ...
75150         * elf/get-dynamic-info.h: Here.  New file.
75151         * elf/dynamic-link.h: Include "get-dynamic-info.h".
75152         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
75153         * elf/setup-vdso.h: Here.  New file.
75154         * elf/rtld.c: Include "setup-vdso.h".
75155         (dl_main): Call setup_vdso.
75157 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
75159         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
75160         creal in comment listing functions tested.  List finite, isinf,
75161         isnan, isless, islessequal, isgreater, isgreaterequal,
75162         islessgreater, isunordered, lgamma_r and pow10 as functions and
75163         macros not tested.  Mention which functions not tested are aliases
75164         for other functions.  Fix typo.  Note that signs of NaNs are not
75165         tested.
75167         * scripts/config.guess: Update from config.git.
75168         * scripts/config.sub: Likewise.
75170 2012-10-04  Roland McGrath  <roland@hack.frob.com>
75172         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
75173         * misc/madvise.c (madvise): Renamed to __madvise.
75174         Make madvise a weak alias.
75175         * include/sys/mman.h: Declare __madvise.
75176         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
75177         * sysdeps/unix/syscalls.list
75178         (madvise): Make __madvise the strong name, and madvise a weak alias.
75179         * sysdeps/unix/sysv/linux/syscalls.list
75180         (madvise, mmap): Remove redundant entries.
75181         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
75182         * malloc/malloc.c (mtrim): Likewise.
75183         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
75185 2012-10-03  Roland McGrath  <roland@hack.frob.com>
75187         * sysdeps/mach/hurd/dl-cache.c: File removed.
75188         * config.h.in (USE_LDCONFIG): New #undef.
75189         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
75190         * configure: Regenerated.
75191         * elf/Makefile (dl-routines): Add dl-cache only under
75192         [$(use-ldconfig) = yes].
75193         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
75194         cache on [USE_LDCONFIG].
75195         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
75196         [USE_LDCONFIG].
75197         * elf/rtld.c (dl_main): Likewise.
75199 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
75201         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
75202         _SC_LEVEL4_CACHE_LINESIZE.
75204 2012-10-03  Roland McGrath  <roland@hack.frob.com>
75206         * sysdeps/unix/bsd/confstr.h: File removed.
75208 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
75210         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
75211         sys/sdt-config.h.
75213 2012-10-02  Roland McGrath  <roland@hack.frob.com>
75215         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
75216         Make 'mapoff' field ElfW(Off) rather than off_t.
75218 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
75220         * nscd/Makefile: Remove nscd-cflags and all its users.
75221         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
75222         (CFLAGS-nonlib): Add compiler flags for nscd modules.
75224         [BZ #10631]
75225         * malloc.c (malloc_printerr): Clarify error message.
75227 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
75229         [BZ #14648]
75230         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75231         Set bit_FMA_Usable if FMA is supported.
75232         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
75233         macro.
75234         (bit_FMA4_Usable): Updated.
75235         (index_FMA_Usable): New macro.
75236         (CPUID_FMA): Likewise.
75237         (HAS_FMA): Defined with bit_FMA_Usable.
75239 2012-10-01  Roland McGrath  <roland@hack.frob.com>
75241         * bits/types.h (__swblk_t): Type removed.
75242         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
75243         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
75244         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75245         (__SWBLK_T_TYPE): Likewise.
75246         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75247         (__SWBLK_T_TYPE): Likewise.
75248         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75249         (__SWBLK_T_TYPE): Likewise.
75250         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75251         (__SWBLK_T_TYPE): Likewise.
75253 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
75254             Honza Horak <hhorak@redhat.com>
75256         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
75257         (xdr_mapname): Use YPMAXMAP as maxsize.
75258         (xdr_peername): Use YPMAXPEER as maxsize.
75259         (xdr_keydat): Use YPAXRECORD as maxsize.
75260         (xdr_valdat): Use YPMAXRECORD as maxsize.
75262 2012-10-01  Roland McGrath  <roland@hack.frob.com>
75264         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
75266         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
75267         * csu/init-first.c: ... here.
75268         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
75269         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
75270         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
75271         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
75272         * sysdeps/i386/init-first.c: File removed.
75273         * sysdeps/sh/init-first.c: File removed.
75275 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
75277         [BZ #14645]
75278         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
75279         if x * y might underflow to zero and z is zero.
75280         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75281         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75282         * math/libm-test.inc (min_subnorm_value): New variable.
75283         (fma_test): Add more tests.
75284         (fma_test_towardzero): Likewise.
75285         (fma_test_downward): Likewise.
75286         (fma_test_upward): Likewise.
75287         (initialize): Set min_subnorm_value.
75289 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
75291         [BZ #14638]
75292         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
75293         0 + 0.
75294         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
75295         mode for addition resulting in exact zero.
75296         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
75297         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
75298         exact 0 + 0.
75299         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75300         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75301         * math/libm-test.inc (fma_test): Add more tests.
75302         (fma_test_towardzero): New function.
75303         (fma_test_downward): Likewise.
75304         (fma_test_upward): Likewise.
75305         (main): Call the new functions.
75307 2012-09-28  David S. Miller  <davem@davemloft.net>
75309         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
75311 2012-09-28  Roland McGrath  <roland@hack.frob.com>
75313         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
75314         instead of SIGALRM.
75316         * sysdeps/gnu/_G_config.h: Moved to ...
75317         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
75318         * sysdeps/mach/hurd/_G_config.h: Moved to ...
75319         * sysdeps/generic/_G_config.h: ... here.
75321         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
75323         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
75325         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
75326         Conditionalize target on [libnss_test1.so-version].
75328         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
75330         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
75331         (elfobjdir): Move out of conditionals.
75333         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
75334         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
75335         (__nss_lookup_function): Conditionalize label remove_from_tree on
75336         [!DO_STATIC_NSS || SHARED], matching its only use.
75338 2012-09-28  David S. Miller  <davem@davemloft.net>
75340         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
75341         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
75342         file.
75343         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
75344         sysdep_routines.
75345         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
75346         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
75347         when HWCAP_SPARC_CRYPTO is present.
75349 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75351         * io/tst-mknodat.c: Create a FIFO instead of a socket.
75353 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
75355         [BZ #6530]
75356         * stdio-common/vfprintf.c (process_string_arg): Revert
75357         2000-07-22 change.
75359 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
75361         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
75362         for testcase.
75363         * stdio-common/tst-sprintf.c: Include <locale.h>
75364         (main): Test sprintf's handling of incomplete multibyte
75365         characters.
75367 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
75369         * elf/dl-runtime.c (VERSYMIDX): Removed.
75370         * elf/dl-version.c (VERSYMIDX): Likewise.
75371         * elf/do-rel.h (VERSYMIDX): Likewise.
75372         (VALIDX): Likewise.
75373         * elf/dynamic-link.h (VERSYMIDX): Likewise.
75374         * elf/rtld.c (VALIDX): Likewise.
75375         (ADDRIDX): Likewise.
75376         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
75377         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
75378         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
75379         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
75380         (VALIDX): Likewise.
75381         (ADDRIDX): Likewise.
75383 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75385         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
75387 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
75389         [BZ #11438]
75390         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
75391         to global scope.
75392         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
75393         addresses are in the same scope as 192.0.2/24.
75394         * posix/gai.conf: Document new scope table defaults.
75396 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
75398         [BZ #5298]
75399         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
75400         for ftell.  Compute offsets from write pointers instead.
75401         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
75403 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
75405         [BZ #14543]
75406         * libio/Makefile (tests): New test case tst-fseek.
75407         * libio/tst-fseek.c: New test case to verify that fseek/ftell
75408         combination works in wide mode.
75409         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
75410         state when the external buffer state changes.
75412 2012-09-27  David S. Miller  <davem@davemloft.net>
75414         [BZ #14376]
75415         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
75416         pass reloc->r_addend in as the 'high' argument to
75417         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
75419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75421 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75423         * rt/tst-aio2.c: Include <pthread.h>.
75424         * rt/tst-aio3.c: Likewise.
75426 2012-09-27  Steve Ellcey  <sellcey@mips.com>
75428         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
75430 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
75432         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
75433         contents on [SHARED].
75435 2012-09-26  Marek Polacek  <polacek@redhat.com>
75437         [BZ #14530]
75438         [BZ #13741]
75439         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
75440         for C++ and GCC <4.3 as well as for non GCC compilers.
75442 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
75444         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75446 2012-09-25  Roland McGrath  <roland@hack.frob.com>
75448         * Makefile.in (all, install): Declare with .PHONY.
75449         Reported by Michael Hope <michael.hope@linaro.org>.
75451 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75453         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
75454         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
75455         system header.
75456         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
75457         Likewise.
75458         (sydep_routines): Add the new and the internal functions.
75459         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
75460         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
75461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
75462         (GLIBC_2.17): Add the new function.
75463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
75464         (GLIBC_2.17): Likewise.
75465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
75466         (GLIBC_2.17): Likewise.
75467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
75468         (GLIBC_2.17): Likewise.
75469         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
75471 2012-09-25  Alan Modra  <amodra@gmail.com>
75473         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
75474         Add release barrier before setting once_control to say
75475         initialisation is done.  Add hints on lwarx.  Use macro in
75476         place of isync.
75477         (clear_once_control): Add release barrier.
75479 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
75481         [BZ #13629]
75482         * math/s_clog.c (__clog): Handle more values close to |z| = 1
75483         specially.
75484         * math/s_clog10.c (__clog10): Likewise.
75485         * math/s_clog10f.c (__clog10f): Likewise.
75486         * math/s_clog10l.c (__clog10l): Likewise.
75487         * math/s_clogf.c (__clogf): Likewise.
75488         * math/s_clogl.c (__clogl): Likewise.
75489         * math/Makefile (libm-calls): Add x2y2m1.
75490         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
75491         (__x2y2m1): Likewise.
75492         (__x2y2m1l): Likewise.
75493         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
75494         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
75495         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
75496         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
75497         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
75498         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
75499         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
75500         * sysdeps/i386/fpu/libm-test-ulps: Update.
75501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75503         [BZ #14621]
75504         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
75505         int as type of variable DEPTH.
75506         (glob): Use size_t instead of int as type of variables NEWCOUNT
75507         and OLD_PATHC.
75509 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75511         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75512         Add s_sincosf-sse2.
75513         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
75514         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
75515         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
75516         macros for using routine as __sincosf_ia32.
75517         Use macro for function declaration and weak_alias.
75518         * sysdeps/i386/fpu/libm-test-ulps: Update.
75520         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
75521         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75523         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
75524         subnormal argument.
75525         * math/s_cexpf.c (__cexpf): Likewise.
75526         * math/s_csinf.c (__csinf): Likewise.
75527         * math/s_csinhf.c (__csinhf): Likewise.
75528         * math/s_ctanf.c (__ctanf): Likewise.
75529         * math/s_ctanhf.c (__ctanhf): Likewise.
75530         * math/s_ccosh.c (__ccoshf): Likewise.
75531         * math/s_cexp.c (__cexpl): Likewise.
75532         * math/s_csin.c (__csin): Likewise.
75533         * math/s_csinh.c (__csinh): Likewise.
75534         * math/s_ctan.c (__ctan): Likewise.
75535         * math/s_ctanh.c (ctanh): Likewise.
75536         * math/s_ccoshl.c (__ccoshl): Likewise.
75537         * math/s_cexpl.c (__cexpl): Likewise.
75538         * math/s_csinl.c (__csinl): Likewise.
75539         * math/s_csinhl.c (__csinhl): Likewise.
75540         * math/s_ctanl.c (__ctanl): Likewise.
75541         * math/s_ctanhl.c (__ctanhl): Likewise.
75543 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
75545         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
75546         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
75547         (_IO_off_t): Define to __off_t, not _G_off_t.
75548         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
75549         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
75550         (_IO_wint_t): Define to wint_t, not _G_wint_t.
75551         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
75552         type of __dummy and __dummy2 fields.
75553         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
75554         (_G_ssize_t): Likewise.
75555         (_G_off_t): Likewise.
75556         (_G_pid_t): Likewise.
75557         (_G_uid_t): Likewise.
75558         (_G_wchar_t): Likewise.
75559         (_G_wint_t): Likewise.
75560         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
75561         (_G_ssize_t): Likewise.
75562         (_G_off_t): Likewise.
75563         (_G_pid_t): Likewise.
75564         (_G_uid_t): Likewise.
75565         (_G_wchar_t): Likewise.
75566         (_G_wint_t): Likewise.
75567         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
75568         (_G_ssize_t): Likewise.
75569         (_G_off_t): Likewise.
75570         (_G_pid_t): Likewise.
75571         (_G_uid_t): Likewise.
75572         (_G_wchar_t): Likewise.
75573         (_G_wint_t): Likewise.
75575 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75577         * malloc/arena.c: Include malloc-sysdep.h.
75578         (shrink_heap): Use check_may_shrink_heap to decide if madvise
75579         is sufficient to shrink the heap or an unmap is needed.
75580         * sysdeps/generic/malloc-sysdep.h: New file.  Define
75581         new function check_may_shrink_heap.
75582         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
75583         new function check_may_shrink_heap.
75585 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75587         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
75588         comments.
75590 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
75592         * catgets/test-gencat.sh: Add "set -e".
75593         * elf/tst-pathopt.sh: Likewise.
75594         * grp/tst_fgetgrent.sh: Likewise.
75595         * iconvdata/run-iconv-test.sh: Likewise.
75596         * intl/tst-gettext.sh: Likewise.
75597         * intl/tst-gettext2.sh: Likewise.
75598         * intl/tst-gettext4.sh: Likewise.
75599         * intl/tst-gettext6.sh: Likewise.
75600         * intl/tst-translit.sh: Likewise.
75601         * io/ftwtest-sh: Likewise.
75602         * libio/test-freopen.sh: Likewise.
75603         * malloc/tst-mtrace.sh: Likewise.
75604         * posix/globtest.sh: Likewise.
75605         * posix/tst-getconf.sh: Likewise.
75606         * posix/wordexp-tst.sh: Likewise.
75607         * stdio-common/tst-printf.sh: Likewise.
75608         * stdio-common/tst-unbputc.sh: Likewise.
75609         * stdlib/tst-fmtmsg.sh: Likewise.
75610         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75611         * catgets/Makefile: Do not specify -e option when running
75612         testsuite shell scripts.
75613         * elf/Makefile: Likewise.
75614         * grp/Makefile: Likewise.
75615         * iconvdata/Makefile: Likewise.
75616         * intl/Makefile: Likewise.
75617         * io/Makefile: Likewise.
75618         * libio/Makefile: Likewise.
75619         * malloc/Makefile: Likewise.
75620         * posix/Makefile: Likewise.
75621         * stdio-common/Makefile: Likewise.
75622         * stdlib/Makefile: Likewise.
75623         * sysdeps/x86_64/Makefile: Likewise.
75625         * io/ftwtest-sh: Add copyright header.
75626         * posix/globtest.sh: Likewise.
75627         * posix/tst-getconf.sh: Likewise.
75628         * posix/wordexp-tst.sh: Likewise.
75629         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75631 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
75633         [BZ #13679]
75634         * Makeconfig (+link): Defined as $(+link-static) if
75635         $(build-shared) isn't yes.
75636         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
75637         isn't yes.
75638         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
75640         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
75642         [BZ #14562]
75643         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
75644         new chunk size with MALLOC_ALIGN_MASK.
75646 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
75648         [BZ #5044]
75649         * stdio-common/printf_fphex.c: Include <stdbool.h> and
75650         <rounding-mode.h>.
75651         (__printf_fphex): Determine rounding using get_rounding_mode and
75652         round_away.
75653         * stdio-common/tst-printf-round.c (struct hex_test): New
75654         structure.
75655         (hex_tests): New variable.
75656         (test_hex_in_one_mode): New function.
75657         (do_test): Also run tests for hex float output.
75659 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
75661         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75662         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75663         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
75664         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75665         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75666         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
75667         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75668         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75670 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
75672         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
75673         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
75674         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
75675         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
75677 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
75679         [BZ #14579]
75680         * elf/rtld.c (dl_main): Limit the check for self loading to normal
75681         mode only.
75682         * elf/tst-rtld-load-self.sh: New test.
75683         * elf/Makefile: Run it.
75685 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
75687         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
75688         (tst-writev-ENV): Remove.
75689         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
75691 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
75693         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
75695 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
75697         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
75698         unconditional.
75699         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
75700         Likewise.
75701         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
75702         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
75703         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
75704         Likewise.
75706 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
75708         [BZ #14587]
75709         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
75710         * config.make.in (have-cpp-asm-debuginfo): Removed.
75711         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
75712         * configure: Regenerated.
75714 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
75716         [BZ #5044]
75717         * stdio-common/printf_fp.c: Include <stdbool.h> and
75718         <rounding-mode.h>.
75719         (___printf_fp): Determine rounding using get_rounding_mode and
75720         round_away.
75721         * stdio-common/tst-printf-round.c: New file.
75722         * stdio-common/Makefile (tests): Add tst-printf-round.
75723         (link-libm): New variable.
75724         ($(objpfx)tst-printf-round): Depend in $(link-libm).
75726 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
75728         [BZ #14576]
75729         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
75730         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
75731         Likewise.
75732         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
75733         Likewise.
75735 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
75737         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
75738         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75739         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75740         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75742 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
75744         [BZ #14518]
75745         * include/rounding-mode.h: New file.
75746         * sysdeps/generic/get-rounding-mode.h: Likewise.
75747         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
75748         * stdlib/strtod_l.c: Include <rounding-mode.h>.
75749         (MAX_VALUE): New macro.
75750         (MIN_VALUE): Likewise.
75751         (overflow_value): New function.
75752         (underflow_value): Likewise.
75753         (round_and_return): Use overflow_value and underflow_value to
75754         determine return values in overflow and underflow cases.  Use
75755         round_away to determine rounding depending on rounding mode.
75756         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
75757         determine return values in overflow and underflow cases.
75758         * stdlib/tst-strtod-round.c: Include <fenv.h>.
75759         (struct test_results): New structure.
75760         (struct test): Use struct test_results to store expected results
75761         for all rounding modes.
75762         (TEST): Include expected results for all rounding modes.
75763         (test_in_one_mode): New function.
75764         (do_test): Use test_in_one_mode to compute and check results.
75765         Check results for all rounding modes.
75766         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
75767         $(link-libm).
75769 2012-12-09  Allan McRae  <allan@archlinux.org>
75771         * sysdeps/i386/fpu/libm-test-ulps: Update
75773 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
75775         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
75776         (_G_int32_t): Likewise.
75777         (_G_uint16_t): Likewise.
75778         (_G_uint32_t): Likewise.
75779         (_G_HAVE_BOOL): Likewise.
75780         (_G_HAVE_ATEXIT): Likewise.
75781         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75782         (_G_HAVE_IO_FILE_OPEN): Likewise.
75783         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
75784         (_G_int32_t): Likewise.
75785         (_G_uint16_t): Likewise.
75786         (_G_uint32_t): Likewise.
75787         (_G_HAVE_BOOL): Likewise.
75788         (_G_HAVE_ATEXIT): Likewise.
75789         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75790         (_G_HAVE_IO_FILE_OPEN): Likewise.
75791         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
75792         (_G_int32_t): Likewise.
75793         (_G_uint16_t): Likewise.
75794         (_G_uint32_t): Likewise.
75795         (_G_HAVE_BOOL): Likewise.
75796         (_G_HAVE_ATEXIT): Likewise.
75797         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75798         (_G_HAVE_IO_FILE_OPEN): Likewise.
75800 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
75802         * csu/libc-tls.c: Update copyright years.
75804 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
75806         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
75807         [!_G_USING_THUNKS]: Remove conditional code.
75808         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
75809         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
75811         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
75812         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
75813         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75814         (_G_VTABLE_LABEL_PREFIX): Likewise.
75815         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75816         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75817         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75818         (_G_VTABLE_LABEL_PREFIX): Likewise.
75819         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75820         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75821         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75822         (_G_VTABLE_LABEL_PREFIX): Likewise.
75823         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75825 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
75827         * libio/Makefile: Include ../Makeconfig before tests.
75828         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
75829         only if $(build-shared) is yes.
75831         * iconv/gconv_db.c: Update copyright years.
75833 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75835         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
75836         unwind info if defined PIC. Fix special cases description.
75837         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
75839         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
75840         DP_HI_MASK entry.
75841         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
75843 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
75845         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
75847         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
75848         is NULL.
75850         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
75851         (LDLIBS-tst-chk4): This.
75852         (LDFLAGS-tst-chk5): Renamed to ...
75853         (LDLIBS-tst-chk5): This.
75854         (LDFLAGS-tst-chk6): Renamed to ...
75855         (LDLIBS-tst-chk6): This.
75856         (LDFLAGS-tst-lfschk4): Renamed to ...
75857         (LDLIBS-tst-lfschk4): This.
75858         (LDFLAGS-tst-lfschk5): Renamed to ...
75859         (LDLIBS-tst-lfschk5): This.
75860         (LDFLAGS-tst-lfschk6): Renamed to ...
75861         (LDLIBS-tst-lfschk6): This.
75863         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
75864         on $(common-objpfx)soversions.mk.
75866 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
75868         [BZ #10014]
75869         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
75870         example host name.
75872 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
75874         * malloc/arena.c (arena_get_retry): New function that gets
75875         another arena for the caller to try its request on.
75876         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
75877         current arena cannot fulfill the request.
75878         (__libc_memalign): Likewise.
75879         (__libc_memalign): Likewise.
75880         (__libc_pvalloc): Likewise.
75881         (__libc_calloc): Likewise.
75883 2012-09-05  John Tobey  <john.tobey@gmail.com>
75885         [BZ #13542]
75886         * manual/arith.texi (Operations on Complex): Fix description
75887         of carg branch cut.
75889 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75891         [BZ #10014]
75892         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
75893         host name.
75895         [BZ #10038]
75896         * manual/memory.texi (Memory): Make order of menu items match
75897         order of sections.
75899 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75901         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
75902         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
75903         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
75905 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75907         * csu/libc-tls.c (static_dtv): Renamed to ...
75908         (_dl_static_dtv): This.  Make it global.
75909         (_dl_initial_dtv): Removed.
75910         (__libc_setup_tls): Updated.
75911         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
75912         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
75913         DL_INITIAL_DTV.
75915 2012-09-06  Petr Machata  <pmachata@redhat.com>
75917         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
75918         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
75919         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
75920         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
75922 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75924         [BZ #14545]
75925         * csu/libc-tls.c (_dl_initial_dtv): New variable.
75926         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
75927         freeing dtv[-1].
75929 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75931         [BZ #14544]
75932         * Makeconfig (link-static-before-libc): Replace $(+prector)
75933         with $(+prectorT).
75934         (link-static-after-libc): Replace $(+postctor) with
75935         $(+postctorT).
75936         (link-bounded): Replace $(+prector)/$(+postctor) with
75937         $(+prectorT)/$(+postctorT).
75938         (+prectorT): New macro.
75939         (+postctorT): Likewise.
75941 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75943         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
75944         (round_str): Handle values above the maximum for IBM long double
75945         as inexact.
75946         * stdlib/tst-strtod-round.c (tests): Regenerated.
75948 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75950         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
75951         assembler flag.
75952         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
75953         zarch_nohighgprs around the zarch optimized routines.
75954         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
75955         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
75956         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
75957         for zarch.
75959 2012-09-05  David S. Miller  <davem@davemloft.net>
75961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75963         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
75964         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
75965         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
75966         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75967         entries.
75969 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75971         * malloc/arena.c: Fold copyright years.
75972         * malloc/mcheck.c, malloc/memusage.c: Likewise.
75974 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75976         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
75978 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75980         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
75982 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75984         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
75985         change internal state upon failure.
75987 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75989         * malloc/mcheck.c (mcheck_check_all): Fix typo.
75990         * malloc/memusage.c (mmap): Likewise.
75991         (mmap64, mremap): Likewise.  Adjust name in comment.
75993 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
75995         * libio/fileops.c: Fix typos in comments.
75996         * libio/oldfileops.c: Likewise.
75997         * libio/wfileops.c: Likewise.
75999 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
76001         [BZ #1349]
76002         * malloc/Makefile (tests): Add tst-malloc-usable test case.
76003         (tst-malloc-usable-ENV): Set environment for test case.
76004         * malloc/hooks.c (malloc_check_get_size): New function to get
76005         requested size.
76006         * malloc/malloc.c (musable): Use malloc_check_get_size.
76007         * malloc/tst-malloc-usable.c: New test case.
76009 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76011         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
76013 2012-09-05  Allan McRae  <allan@archlinux.org>
76015         [BZ #13966]
76016         * configure.in (CXX_SYSINCLUDES): Use compiler output to
76017         determine header location.
76018         * configure: Regenerated.
76020 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76022         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
76023         float format.
76024         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
76025         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
76026         format.
76027         (test): Regenerate.
76029 2012-09-04  David S. Miller  <davem@davemloft.net>
76031         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
76032         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
76033         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
76035 2012-09-04  Florian Weimer  <fweimer@redhat.com>
76037         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
76038         failures.
76040         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
76042 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
76044         [BZ #9914]
76045         * libio/iogetdelim.c: Include <limits.h>.
76046         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
76047         + len + 1 would overflow.
76049 2012-09-03  Andreas Jaeger  <aj@suse.de>
76051         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76052         * sysdeps/i386/fpu/libm-test-ulps: Update.
76054 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76056         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76057         Add s_sinf-sse2, s_conf-sse2.
76059         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
76060         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
76061         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
76062         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
76064         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
76065         for using routine as __sinf_ia32.
76066         Use macro for function declaration and weak_alias.
76067         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
76068         for using routine as __cosf_ia32.
76069         Use macro for function declaration and weak_alias.
76071         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
76072         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
76074         * sysdeps/x86_64/fpu/s_sinf.S: New file.
76075         * sysdeps/x86_64/fpu/s_cosf.S: New file.
76076         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76078         * math/libm-test.inc (cos_test): Add more test cases.
76079         (sin_test): Likewise.
76080         (sincos_test): Likewise.
76082 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76084         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
76085         (IFUNC_RESOLVE): Make pointers to the specialized implementations
76086         hidden.
76087         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
76089 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
76091         [BZ #14538]
76092         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
76093         first element of the GOT.
76094         (elf_machine_load_address): Return the difference between
76095         the runtime address of _DYNAMIC and elf_machine_dynamic ().
76097 2012-09-01  Allan McRae  <allan@archlinux.org>
76099         [BZ #13412]
76100         * configure.in (AWK): Require gawk version 3.0 or later.
76101         * configure: Regenerated.
76103 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
76105         * sysdeps/unix/sysv/linux/kernel-features.h
76106         (__ASSUME_POSIX_CPU_TIMERS): Remove.
76107         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
76108         [__NR_clock_getres]: Make code unconditional.
76109         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
76110         (clock_getcpuclockid): Remove code left unreachable by removal of
76111         conditionals.
76112         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
76113         code unconditional.
76114         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
76115         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76116         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
76117         Make code unconditional.
76118         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
76119         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76120         * sysdeps/unix/sysv/linux/clock_settime.c
76121         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
76122         conditional code.
76123         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
76124         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76126 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
76128         [BZ #14476]
76129         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
76130         scripts/test-installation.pl.
76132         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
76133         and $ld_so_version if it is set.
76135 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
76137         [BZ #14516]
76138         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
76139         failure if reading from procfs failed.
76140         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
76142 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
76144         * sysdeps/unix/sysv/linux/kernel-features.h
76145         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
76146         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76147         Remove conditional code.
76148         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76149         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
76150         Remove conditional code.
76151         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76152         * sysdeps/unix/sysv/linux/i386/fxstat.c
76153         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76154         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76155         * sysdeps/unix/sysv/linux/i386/fxstatat.c
76156         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76157         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76158         * sysdeps/unix/sysv/linux/i386/lxstat.c
76159         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76160         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76161         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
76162         Remove conditional code.
76163         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76164         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76165         Remove conditional code.
76166         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76167         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
76168         <kernel-features.h>.
76169         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
76170         Remove.
76171         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
76172         Remove conditional code.
76173         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76174         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
76175         Remove conditional.
76177 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
76179         [BZ #5400]
76180         * NEWS: Add fixed bug number.
76182 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
76184         [BZ #14519]
76185         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
76186         underflowing exponent in case of negative sign.
76187         * stdlib/tst-strtod-round-data: Add more tests.
76188         * stdlib/tst-strtod-round.c (tests): Regenerated.
76190         [BZ #3479]
76191         * stdlib/strtod_l.c (NDIG): Remove.
76192         (HEXNDIG): Likewise.
76193         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
76194         smallest representable value.
76195         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
76196         lie within an exact representation of 1/2 ulp of the result.
76197         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
76198         unconditionally.
76199         (TENS_P9_IDX): Define unconditionally.
76200         (TENS_P9_SIZE): Likewise.
76201         (TENS_P10_IDX): Likewise.
76202         (TENS_P10_SIZE): Likewise.
76203         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
76204         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
76205         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
76206         entries for 10^2^13 and 10^2^14.
76207         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
76208         (TENS_P13_IDX): Define.
76209         (TENS_P13_SIZE): Likewise.
76210         (TENS_P14_IDX): Likewise.
76211         (TENS_P14_SIZE): Likewise.
76212         (_fpioconst_pow10): Change array size to
76213         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
76214         unconditional.
76215         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
76216         1024]: Add entries for 10^2^13 and 10^2^14.
76217         [LAST_POW10 > _LAST_POW10]: Remove #error.
76218         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
76219         (_fpioconst_pow10): Change array size to
76220         FPIOCONST_POW10_ARRAY_SIZE.
76221         * stdlib/gen-fpioconst.c: New file.
76222         * stdlib/gen-tst-strtod-round.c: Likewise.
76223         * stdlib/tst-strtod-round-data: Likewise.
76224         * stdlib/tst-strtod-round.c: Likewise.
76225         * stdlib/Makefile (tests): Add tst-strtod-round.
76227         [BZ #14459]
76228         * stdlib/strtod_l.c: Include <stdint.h>.
76229         (NDEBUG): Do not define.
76230         (round_and_return): Change EXPONENT parameter to type intmax_t.
76231         Rearrange calculations to avoid internal overflow possibilities.
76232         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
76233         Rearrange calculations to avoid internal overflow possibilities.
76234         Assert that number fits inside MPNSIZE limbs.
76235         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
76236         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
76237         calculations and add assertions to avoid internal overflow
76238         possibilities.  Add casts to avoid signed/unsigned operations.
76239         * stdlib/tst-strtod-overflow.c: New file.
76240         * stdlib/Makefile (tests): Add tst-strtod-overflow.
76242 2012-08-25  Marek Polacek  <polacek@redhat.com>
76244         * time/time.h: Fix some typos in comments.
76246 2012-08-23  Roland McGrath  <roland@hack.frob.com>
76248         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
76249         * posix/tst-rfc3484-2.c: Likewise.
76250         * posix/tst-rfc3484-3.c: Likewise.
76252 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
76254         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
76255         (EF_ARM_ABI_FLOAT_HARD): Likewise.
76257 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
76259         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
76260         #include of fxstatat64.c.
76262 2012-08-22  Roland McGrath  <roland@hack.frob.com>
76264         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
76265         * shadow/getspent_r.c: Likewise.
76266         * shadow/getspnam.c: Likewise.
76267         * shadow/getspnam_r.c: Likewise.
76268         * gshadow/getsgent.c: Likewise.
76269         * gshadow/getsgent_r.c: Likewise.
76270         * gshadow/getsgnam.c: Likewise.
76271         * gshadow/getsgnam_r.c: Likewise.
76272         * inet/getnetbyad.c: Likewise.
76273         * inet/getnetbyad_r.c: Likewise.
76274         * inet/getnetbynm.c: Likewise.
76275         * inet/getnetbynm_r.c: Likewise.
76276         * inet/getnetent.c: Likewise.
76277         * inet/getnetent_r.c: Likewise.
76278         * inet/getproto.c: Likewise.
76279         * inet/getproto_r.c: Likewise.
76280         * inet/getprtent.c: Likewise.
76281         * inet/getprtent_r.c: Likewise.
76282         * inet/getprtname.c: Likewise.
76283         * inet/getprtname_r.c: Likewise.
76284         * inet/getrpcbyname.c: Likewise.
76285         * inet/getrpcbyname_r.c: Likewise.
76286         * inet/getrpcbynumber.c: Likewise.
76287         * inet/getrpcbynumber_r.c: Likewise.
76288         * inet/getrpcent.c: Likewise.
76289         * inet/getrpcent_r.c: Likewise.
76290         * inet/getaliasent.c: Likewise.
76291         * inet/getaliasent_r.c: Likewise.
76292         * inet/getaliasname.c: Likewise.
76293         * inet/getaliasname_r.c: Likewise.
76294         * nscd/getgrgid_r.c: Likewise.
76295         * nscd/getgrnam_r.c: Likewise.
76296         * nscd/gethstbyad_r.c: Likewise.
76297         * nscd/gethstbynm3_r.c: Likewise.
76298         * nscd/getpwnam_r.c: Likewise.
76299         * nscd/getpwuid_r.c: Likewise.
76300         * nscd/getsrvbynm_r.c: Likewise.
76301         * nscd/getsrvbypt_r.c: Likewise.
76302         * nscd/gai.c: Likewise.
76304         * configure.in (build_nscd): New substituted variable, set
76305         by --disable-build-nscd and defaults to $use_nscd.
76306         * configure: Regenerated.
76307         * config.make.in (build-nscd): New substituted variable.
76308         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
76309         Change conditional to require [$(build-nscd) = yes] as well.
76310         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
76312         [BZ #13696]
76313         * configure.in (use_nscd): New substituted variable, set by
76314         --disable-nscd.  If enabled, define USE_NSCD.
76315         * configure: Regenerated.
76316         * config.h.in: Add USE_NSCD.
76317         * config.make.in (use-nscd): New substituted variable.
76318         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
76319         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
76320         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
76321         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
76322         (CFLAGS-getgrnam_r.c): Likewise.
76323         (CFLAGS-initgroups.c): Likewise.
76324         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
76325         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
76326         Variables removed.
76327         * inet/getnetgrent_r.c
76328         (nscd_setnetgrent): New function, broken out of ...
76329         (setnetgrent): ... here.  Call it.
76330         (innetgr): Conditionalize nscd bits on [USE_NSCD].
76331         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
76332         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
76333         * nscd/Makefile (routines, aux): Move definitions after include of
76334         Makeconfig.  Conditionalize on [$(use-nscd) != no].
76335         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
76336         Conditionalize on [USE_NSCD].
76337         (is_nscd, nscd_init_cb): Likewise.
76338         (nss_load_library): Conditionalize init callback on [USE_NSCD].
76339         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
76340         * nss/nss_db/db-init.c: Likewise.
76341         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
76342         [USE_NSCD].
76343         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
76344         (make_request): Use it.
76345         (cache_valid_p): New function.
76346         (__check_pf): Use it.
76347         * NEWS: Add item for --disable-nscd.
76349 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
76351         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
76352         to support sed >= 4.2.1-20-ga9bf076.
76353         * configure: Regenerated.
76355 2012-08-22  Roland McGrath  <roland@hack.frob.com>
76357         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
76358         Conditionalize whole body on [IREL].
76360 2012-08-22  Jeff Law <law@redhat.com>
76362         [BZ #14505]
76363         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
76364         if the family is PF_UNSPEC.
76366 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
76368         * Makerules (lib-version): Rename from V.
76369         (install-lib-nosubdir): Change V to lib-version.
76371 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
76373         [BZ #14252]
76374         * powerpc32/power6/wcschr.c: New file.
76375         * powerpc32/power6/wcscpy.c: New file.
76376         * powerpc32/power6/wcsrchr.c: New file.
76377         * powerpc64/power6/wcschr.c: New file.
76378         * powerpc64/power6/wcscpy.c: New file.
76379         * powerpc64/power6/wcsrchr.c: New file.
76381 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
76383         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
76384         (two_way_short_needle): Use it.
76385         * string/strstr.c (AVAILABLE1_USES_J): Define.
76386         * string/strcasestr.c: Likewise.
76388         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
76389         array references.
76390         * string/strcasestr.c (TOLOWER): Make side-effect safe.
76392         [BZ #11607]
76393         * NEWS: Add an entry.
76394         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
76395         define their defaults.
76396         (two_way_short_needle): Detect end-of-string on-the-fly.
76397         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
76398         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
76399         * string/bug-strcasestr1.c: New test.
76400         * string/Makefile: Run it.
76402 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
76404         [BZ #11607]
76405         * string/str-two-way.h (two_way_short_needle): Optimize matching of
76406         the first character.
76408 2012-08-21  Roland McGrath  <roland@hack.frob.com>
76410         * csu/elf-init.c (__libc_csu_irel): Function removed.
76411         * csu/libc-start.c (apply_irel): New function.
76412         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
76414 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
76416         * sysdeps/unix/sysv/linux/kernel-features.h
76417         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
76418         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
76419         <kernel-features.h>.
76420         [__NR_fadvise64_64]: Make code unconditional.
76421         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
76422         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76423         !__NR_fadvise64_64)]: Likewise.
76424         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76425         !__NR_fadvise64_64))]: Likewise.
76426         [__NR_fadvise64]: Make code unconditional.
76427         [!__NR_fadvise64]: Remove conditional code.
76428         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
76429         <kernel-features.h>.
76430         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76431         unconditional.
76432         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76433         conditional code.
76434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
76435         not include <kernel-features.h>.
76436         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76437         unconditional.
76438         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76439         conditional code.
76440         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
76441         include <kernel-features.h>.
76442         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76443         unconditional.
76444         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76445         conditional code.
76447 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76449         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
76450         slight instruction rearrangements per scrollpipe analysis.
76451         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
76453 2012-08-20  Roland McGrath  <roland@hack.frob.com>
76455         * manual/syslog.texi (syslog; vsyslog, closelog):
76456         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
76457         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
76459         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
76460         DSOCAPS to match condition on defining it.
76462 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
76464         * sysdeps/unix/sysv/linux/kernel-features.h
76465         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
76466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
76467         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76468         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
76470         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76471         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
76473         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76474         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76476         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
76477         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
76479         * sysdeps/unix/sysv/linux/kernel-features.h
76480         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
76481         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
76482         unconditional.
76483         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76484         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
76485         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76486         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76487         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
76488         Make code unconditional.
76489         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76490         (__mmap64) [!__NR_mmap2]: Likewise.
76491         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
76492         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76493         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76494         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
76495         [__NR_mmap2]: Make code unconditional.
76496         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76497         (__mmap64) [!__NR_mmap2]: Likewise.
76499 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76501         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
76503 2012-08-18  Andreas Jaeger  <aj@suse.de>
76505         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
76507 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
76509         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
76510         * include/unistd.h (__have_sock_cloexec): Likewise.
76511         (__have_pipe2): Likewise.
76512         (__have_dup3): Likewise.
76514 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
76516         [BZ #9685]
76517         * include/unistd.h (__have_pipe2): Change define into an extern int.
76518         (__have_dup3): Likewise.
76519         * socket/have_sock_cloexec.c: Include fcntl.h.
76520         (__have_pipe2): New variable.
76521         (__have_dup3): Likewise.
76523 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
76525         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
76527 2012-08-17  Marek Polacek  <polacek@redhat.com>
76529         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
76530         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
76532 2012-08-17  Roland McGrath  <roland@hack.frob.com>
76534         * configure.in: Add AC_SUBST for sysheaders.
76535         * configure: Regenerated.
76536         * config.make.in (sysheaders): New substituted variable.
76538         * sysdeps/unix/mkfifo.c: Moved ...
76539         * sysdeps/posix/mkfifo.c: ... here.
76540         * sysdeps/unix/mkfifoat.c: Moved ...
76541         * sysdeps/posix/mkfifoat.c: ... here.
76543         * sysdeps/unix/utime.c: Moved ...
76544         * sysdeps/posix/utime.c: ... here.
76546         * sysdeps/unix/time.c: Moved ...
76547         * sysdeps/posix/time.c: ... here.
76548         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
76549         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
76551         * sysdeps/unix/nice.c: Moved ...
76552         * sysdeps/posix/nice.c: ... here.
76554         * sysdeps/unix/alarm.c: Moved ...
76555         * sysdeps/posix/alarm.c: ... here.
76557         * intl/Makefile ($(codeset_mo)): Depend on the input file.
76559 2012-08-17  Jeff Law <law@redhat.com>
76561         * intl/Makefile (codeset_mo): New variable.
76562         ($(codeset_mo)): New target.
76563         (tst-codeset.out): Depend on that.  Remove explicit rule.
76564         (tst-gettext3.out, tst-gettext5.out): Likewise.
76565         (LOCPATH-ENV, tst-codeset-ENV): New variables.
76566         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
76567         * intl/tst-codeset.sh: Remove.
76568         * intl/tst-gettext3.sh: Likewise.
76569         * intl/tst-gettext5.sh: Likewise.
76571 2012-08-17  Roland McGrath  <roland@hack.frob.com>
76573         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
76574         * sysdeps/unix/syscalls.list: ... here.
76576         * sysdeps/posix/getaddrinfo.c
76577         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
76578         (gaiconf_init, gaiconf_reload): Use them.
76579         [!_STATBUF_ST_NSEC]
76580         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
76581         Define using time_t rather than struct timespec.
76583         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
76584         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
76585         Macros removed.
76586         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
76587         [!NO_THREADS].
76588         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
76589         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
76590         Likewise.
76592         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
76593         __libc_cleanup_push argument.
76595         * bits/param.h: New file.
76596         * misc/sys/param.h: New file.
76597         * include/sys/param.h: New file.
76598         * misc/Makefile (headers): Add bits/param.h.
76599         * sysdeps/generic/sys/param.h: File removed.
76600         * sysdeps/unix/sysv/linux/bits/param.h: New file.
76601         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
76602         * sysdeps/mach/hurd/bits/param.h: New file.
76603         * sysdeps/mach/hurd/sys/param.h: File removed.
76605         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
76606         last change.
76608         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
76609         [_IO_MTSAFE_IO].
76610         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
76611         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
76612         New macros.
76614         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
76615         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
76616         rather than -D_IO_MTSAFE_IO conditionally.
76617         * stdio-common/Makefile (CPPFLAGS): Likewise.
76618         * wcsmbs/Makefile (CPPFLAGS): Likewise.
76619         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
76620         Use $(libio-mtsafe).
76621         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
76622         of -D_IO_MTSAFE_IO.
76623         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
76624         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
76625         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
76626         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
76627         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
76628         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
76629         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
76630         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
76631         (CFLAGS-fread_u_chk.c): Likewise.
76632         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
76633         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
76634         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
76635         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
76636         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
76637         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
76638         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
76639         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
76640         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
76642         * libio/Makefile: Test [$(libc-reentrant) = yes]
76643         instead of [$(filter %REENTRANT, $(defines)) nonempty].
76645         * Makeconfig
76646         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
76647         * sysdeps/pthread/configure: File removed.
76648         * sysdeps/pthread/Makeconfig: New file.
76649         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
76650         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
76652 2012-08-16  Gary Benson  <gbenson@redhat.com>
76654         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
76655         unmapping the first object in a namespace.
76657 2012-08-16  Roland McGrath  <roland@hack.frob.com>
76659         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
76660         (__internal_setnetgrent): ... this.  Add internal_function to
76661         definition.  Add libc_hidden_def.
76662         (setnetgrent): Update caller.
76663         (internal_endnetgrent): Renamed to ...
76664         (__internal_endnetgrent): ... this.  Add internal_function to
76665         definition.  Add libc_hidden_def.
76666         (endnetgrent): Update caller.
76667         (internal_getnetgrent_r): Renamed to ...
76668         (__internal_getnetgrent_r): ... this.  Add internal_function to
76669         definition.  Add libc_hidden_def.
76670         (__getnetgrent_r): Update caller.
76671         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
76673 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
76675         * stdlib/longlong.h: Update from GCC.
76677 2012-08-16  Roland McGrath  <roland@hack.frob.com>
76679         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
76680         on _QL, which is set by umul_ppmm but never used.
76681         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
76682         variables, which are set by GMP macros but never used.
76683         * stdio-common/_itowa.c (_itowa): Likewise.
76684         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
76685         * stdlib/mod_1.c (mpn_mod_1): Likewise.
76687 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
76689         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
76690         struct La_sh_regs is not constant.
76691         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
76692         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
76693         and struct La_sparc64_regs are not constant.
76695 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
76697         * sysdeps/unix/sysv/linux/kernel-features.h
76698         (__ASSUME_POSIX_TIMERS): Remove.
76699         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
76700         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76701         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
76702         Make code unconditional.
76703         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76704         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
76705         Make code unconditional.
76706         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76707         * sysdeps/unix/sysv/linux/clock_nanosleep.c
76708         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
76709         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76710         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
76711         Make code unconditional.
76712         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76713         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
76714         (__libc_missing_posix_timers): Remove.
76716 2012-08-15  Roland McGrath  <roland@hack.frob.com>
76718         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
76719         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
76721         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
76723         * elf/dl-sym.c: Include <stdlib.h>.
76725         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
76726         constants, which avoids warnings in 32-bit builds.
76728         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
76729         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
76731         * misc/lseek.c: File moved to ...
76732         * io/lseek.c: ... here.
76734         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
76736         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
76737         shifting LEN more than 31 bits at once.
76739 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76741         [BZ #14195]
76742         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
76743         segmentation fault for a case of two empty input strings.
76744         * string/test-strncasecmp.c (check1): Renamed to...
76745         (bz12205): ...this.
76746         (bz14195): Add new testcase for two empty input strings and N > 0.
76747         (test_main): Call new testcase, adapt for renamed function.
76749 2012-08-15  Andreas Jaeger  <aj@suse.de>
76751         [BZ #14090]
76752         * crypt/md5test2.c: New test, based on test supplied by Serge
76753         Belyshev <belyshev@depni.sinp.msu.ru>.
76754         * crypt/Makefile (xtests): Add md5test-giant..
76755         * crypt/Makefile ($(objpfx)md5test-giant): Add.
76757 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
76759         [BZ #14090]
76760         * crypt/md5.c (md5_process_block): Don't assume the buffer
76761         length is less than 2**32.
76762         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
76763         length is less than 2**64.
76765 2012-08-15  Roland McGrath  <roland@hack.frob.com>
76767         * string/str-two-way.h: Include <sys/param.h>.
76768         (MAX): Macro removed.
76770         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
76771         Move #define and #undef of memmove to just before and after
76772         including <string.h>.
76774         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
76775         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
76776         and after including <string.h>.  Move declarations of
76777         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
76778         to before #include "string/memmove.c".
76780         * include/dirent.h: Declare __getdirentries.
76782         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
76783         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
76785 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
76787         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
76788         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
76789         * sysdeps/i386/configure: Regenerated.
76790         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
76791         STABS_CURRENT_FILE, and STABS_FUN.
76792         (END): Remove call to STABS_FUN_END.
76793         (STABS_CURRENT_FILE1): Delete.
76794         (STABS_CURRENT_FILE): Likewise.
76795         (STABS_FUN): Likewise.
76796         (STABS_FUN_END): Likewise.
76797         (STABS_FUN2): Likewise.
76798         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
76799         * sysdeps/x86_64/configure: Regenerated.
76801 2012-08-14  Roland McGrath  <roland@hack.frob.com>
76803         * elf/dl-open.c: Include <atomic.h>.
76804         * elf/dl-lookup.c: Likewise.
76806 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
76808         * sysdeps/unix/sysv/linux/kernel-features.h
76809         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
76810         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
76811         unconditionally.
76812         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
76813         unconditionally.
76814         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
76815         condition on __ASSUME_CLONE_THREAD_FLAGS.
76817 2012-08-14  Andreas Jaeger  <aj@suse.de>
76819         * sysdeps/i386/fpu/libm-test-ulps: Update.
76821 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
76823         * include/atomic.h (atomic_exchange_and_add): Split into ...
76824         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
76825         New atomic macros.
76827 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
76829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76831 2012-08-13  Jeff Law <law@redhat.com>
76833         * manual/stdio.texi (snprintf): Clarify handling of the trailing
76834         null byte in the output string.
76836 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
76838         * sysdeps/unix/sysv/linux/kernel-features.h
76839         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
76840         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
76841         (__ASSUME_ARG_MAX_STACK_BASED): Define.
76842         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
76843         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
76844         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
76845         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
76847 2012-08-09  Jeff Law <law@redhat.com>
76849         [BZ #13939]
76850         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
76851         When avoid_arena is set, don't retry in the that arena.  Pick the
76852         next one, whatever it might be.
76853         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
76854         (arena_lock): Pass in new parameter to arena_get2.
76855         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
76856         arena_get2.
76857         (__libc_malloc): Unify retrying after main arena failure with
76858         __libc_memalign version.
76859         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
76861 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
76863         [BZ #14166]
76864         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
76865         to __redirect_strstr.
76866         (__strstr_sse42): Use typeof __redirect_strstr.
76867         (__strstr_ia32): Likewise.
76868         (__libc_strstr): New prototype.
76869         (strstr): Renamed to ...
76870         (__libc_strstr): This.
76871         (strstr): New strong alias of __libc_strstr.
76872         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76873         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
76874         __redirect_time.
76875         Include <time.h>.
76876         (__libc_time): New prototype.
76877         (time_ifunc): Replace time with __libc_time.
76878         (time): New strong alias and hidden definition of __libc_time.
76879         (__GI_time): Remove strong alias.
76880         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
76881         Include <stddef.h>.
76882         (memmove): Redefined to __redirect_memmove.
76883         (__memmove_sse2): Use typeof __redirect_memmove.
76884         (__memmove_ssse3): Likewise.
76885         (__memmove_ssse3_back): Likewise.
76886         (__libc_memmove): New prototype.
76887         (memmove): Renamed to ...
76888         (__libc_memmove): This.
76889         (memmove): New strong alias of __libc_memmove.
76891 2012-08-08  Mark Salter  <msalter@redhat.com>
76893         * elf/elf.h
76894         (R_MN10300_TLS_GD): Define.
76895         (R_MN10300_TLS_LD): Likewise.
76896         (R_MN10300_TLS_LDO): Likewise.
76897         (R_MN10300_TLS_GOTIE): Likewise.
76898         (R_MN10300_TLS_IE): Likewise.
76899         (R_MN10300_TLS_LE): Likewise.
76900         (R_MN10300_TLS_DTPMOD): Likewise.
76901         (R_MN10300_TLS_DTPOFF): Likewise.
76902         (R_MN10300_TLS_TPOFF): Likewise.
76903         (R_MN10300_SYM_DIFF): Likewise.
76904         (R_MN10300_ALIGN): Likewise.
76905         (R_MN10300_NUM): Update.
76907 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
76909         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
76910         Remove.
76912 2012-08-08  Roland McGrath  <roland@hack.frob.com>
76914         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
76916         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
76917         sysdeps/unix -> sysdeps/posix move.
76918         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
76920 2012-08-07      Allan McRae     <allan@archlinux.org>
76922         [BZ #14303]
76923         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
76924         (SUNOS_CPP): Likewise.
76925         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
76926         not found.
76927         (open_input): Call CPP using execvp.
76929 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
76931         * sysdeps/unix/sysv/linux/kernel-features.h
76932         (__ASSUME_PROT_GROWSUPDOWN): Remove.
76933         (__ASSUME_NO_CLONE_DETACHED): Likewise.
76934         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76935         (__ASSUME_WAITID_SYSCALL): Likewise.
76936         * sysdeps/unix/sysv/linux/dl-execstack.c
76937         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
76938         code unconditional.
76939         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
76940         conditional code.
76941         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
76942         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
76943         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
76944         code.
76945         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
76946         unconditional.
76947         [__ASSUME_WAITID_SYSCALL]: Likewise.
76948         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
76950 2012-08-07  Roland McGrath  <roland@hack.frob.com>
76952         * sysdeps/unix/closedir.c: Renamed to ...
76953         * sysdeps/posix/closedir.c: ... here.
76954         * sysdeps/unix/dirfd.c: Renamed to ...
76955         * sysdeps/posix/dirfd.c: ... here.
76956         * sysdeps/unix/dirstream.h: Renamed to ...
76957         * sysdeps/posix/dirstream.h: ... here.
76958         * sysdeps/unix/fdopendir.c: Renamed to ...
76959         * sysdeps/posix/fdopendir.c: ... here.
76960         * sysdeps/unix/opendir.c: Renamed to ...
76961         * sysdeps/posix/opendir.c: ... here.
76962         * sysdeps/unix/readdir.c: Renamed to ...
76963         * sysdeps/posix/readdir.c: ... here.
76964         * sysdeps/unix/readdir_r.c: Renamed to ...
76965         * sysdeps/posix/readdir_r.c: ... here.
76966         * sysdeps/unix/rewinddir.c: Renamed to ...
76967         * sysdeps/posix/rewinddir.c: ... here.
76968         * sysdeps/unix/seekdir.c: Renamed to ...
76969         * sysdeps/posix/seekdir.c: ... here.
76970         * sysdeps/unix/telldir.c: Renamed to ...
76971         * sysdeps/posix/telldir.c: ... here.
76972         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
76973         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
76974         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
76975         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
76977         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
76978         * bits/fcntl.h: ... here.
76980         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
76981         not 0.
76982         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
76983         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
76984         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
76985         (struct flock): Move l_start, l_len to the beginning.
76986         Use __pid_t for l_pid.
76987         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
76988         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
76989         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
76990         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
76991         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
76992         [__USE_LARGEFILE64] (struct flock64): New type.
76993         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
76995         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
76996         * bits/dirent.h: ... here.
76998         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
76999         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
77001 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
77003         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77004         Change from 2.6.0 to 2.6.16.
77005         * sysdeps/unix/sysv/linux/configure: Regenerated.
77006         * sysdeps/unix/sysv/linux/kernel-features.h
77007         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
77008         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
77009         version.
77010         (__ASSUME_UTIMES): Likewise.
77011         (__ASSUME_CLONE_STOPPED): Remove.
77012         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
77013         architectures, not kernel version.
77014         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
77015         (__ASSUME_NO_CLONE_DETACHED): Likewise.
77016         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
77017         (__ASSUME_WAITID_SYSCALL): Likewise.
77018         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
77019         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
77020         * README: State 2.6.16 as minimum Linux kernel version.  Do not
77021         refer to older versions.
77023 2012-08-06  Roland McGrath  <roland@hack.frob.com>
77025         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
77026         Define alphasort64 as an alias.
77027         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
77028         Define versionsort64 as an alias.
77029         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
77030         Define scandir64 as an alias.
77031         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
77032         Define scandirat64 as an alias.
77033         * dirent/alphasort64.c (alphasort64):
77034         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
77035         * dirent/versionsort64.c: Likewise.
77036         * dirent/scandir64.c: Likewise.
77037         * dirent/scandirat64.c: Likewise.
77038         * sysdeps/wordsize-64/alphasort.c: File removed.
77039         * sysdeps/wordsize-64/alphasort64.c: File removed.
77040         * sysdeps/wordsize-64/scandir.c: File removed.
77041         * sysdeps/wordsize-64/scandir64.c: File removed.
77042         * sysdeps/wordsize-64/scandirat.c: File removed.
77043         * sysdeps/wordsize-64/scandirat64.c: File removed.
77044         * sysdeps/wordsize-64/versionsort.c: File removed.
77045         * sysdeps/wordsize-64/versionsort64.c: File removed.
77046         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
77047         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
77048         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
77049         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
77050         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
77051         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
77052         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
77053         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
77055         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
77056         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
77057         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
77058         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77059         [defined __arch64__ || defined __sparcv9]
77060         (__INO_T_MATCHES_INO64_T): New macro.
77061         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
77062         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
77063         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
77064         * sysdeps/unix/sysv/linux/bits/dirent.h
77065         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
77066         (_DIRENT_MATCHES_DIRENT64): New macro.
77068         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
77069         Define lockf64 as an alias.
77070         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
77071         Define fseeko64 as an alias.
77072         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
77073         Define ftello64 as an alias.
77074         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
77075         Define _IO_fgetpos64 and fgetpos64 as aliases.
77076         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
77077         Define _IO_fsetpos64 and fsetpos64 as aliases.
77078         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
77079         Conditionalize body on this.
77080         * libio/fseeko64.c: Likewise.
77081         * libio/ftello64.c: Likewise.
77082         * libio/iofgetpos64.c: Likewise.
77083         * libio/iofsetpos64.c: Likewise.
77084         * sysdeps/wordsize-64/lockf.c: File removed.
77085         * sysdeps/wordsize-64/lockf64.c: File removed.
77086         * sysdeps/wordsize-64/fseeko.c: File removed.
77087         * sysdeps/wordsize-64/fseeko64.c: File removed.
77088         * sysdeps/wordsize-64/ftello.c: File removed.
77089         * sysdeps/wordsize-64/ftello64.c: File removed.
77090         * sysdeps/wordsize-64/iofgetpos.c: File removed.
77091         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
77092         * sysdeps/wordsize-64/iofsetpos.c: File removed.
77093         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
77094         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
77095         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
77096         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
77097         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
77098         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
77099         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
77100         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
77101         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
77102         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
77103         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
77105         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
77106         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
77107         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
77108         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77109         [defined __arch64__ || defined __sparcv9]
77110         (__OFF_T_MATCHES_OFF64_T): New macro.
77111         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
77112         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
77113         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77114         (__OFF_T_MATCHES_OFF64_T): New macro.
77116 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
77118         * stdlib/secure-getenv.c (__secure_getenv): Replace
77119         GLIBC_2_16 with GLIBC_2_17.
77121 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
77123         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
77124         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
77126 2012-08-03  David S. Miller  <davem@davemloft.net>
77128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77130 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
77132         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
77133         Remove.
77134         (__ASSUME_CORRECT_SI_PID): Likewise.
77135         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
77136         (__ASSUME_TMPFS_NAME): Likewise.
77137         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
77138         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
77139         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
77140         (HAVE_AUX_SECURE): Make definition unconditional.
77141         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
77142         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
77144 2012-08-03  Roland McGrath  <roland@hack.frob.com>
77146         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
77147         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
77148         * sysdeps/mach/hurd/eloop-threshold.h: New file.
77149         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77150         __eloop_threshold instead of SYMLOOP_MAX.
77152         * sysdeps/generic/eloop-threshold.h: New file.
77153         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
77154         of MAXSYMLINKS.
77155         * elf/chroot_canon.c (chroot_canon): Likewise.
77157 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
77159         [BZ #13717]
77160         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77161         Change to 2.6.0 everywhere.
77162         * sysdeps/unix/sysv/linux/configure: Regenerated.
77163         * sysdeps/unix/sysv/linux/kernel-features.h
77164         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
77165         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
77166         kernel versions.
77167         (__ASSUME_POSIX_TIMERS): Define unconditionally.
77168         (__ASSUME_FUTEX_REQUEUE): Remove.
77169         (__ASSUME_STATFS64): Define unconditionally.
77170         (__ASSUME_AT_SECURE): Likewise.
77171         (__ASSUME_CORRECT_SI_PID): Likewise.
77172         (__ASSUME_TGKILL): Define without depending on kernel version for
77173         i386.
77174         (__ASSUME_UTIMES): Likewise.
77175         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
77176         kernel version.
77177         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
77178         (__ASSUME_TMPFS_NAME): Likewise.
77179         * README: Update reference to Linux kernel versions.
77181 2012-08-02  Marek Polacek  <polacek@redhat.com>
77183         [BZ #14150]
77184         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
77185         libc_cv_asm_type_prefix with %.
77186         * configure: Regenerated.
77187         * include/libc-symbols.h: Remove comment about
77188         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77189         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
77190         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
77191         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
77192         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
77193         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77194         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
77195         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
77196         * elf/tst-unique2mod1.c: Likewise.
77197         * elf/tst-unique1mod2.c: Likewise.
77198         * elf/tst-unique1mod1.c: Likewise.
77199         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
77200         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
77201         Replace ASM_TYPE_DIRECTIVE with .type.
77202         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77203         * sysdeps/i386/sysdep.h: Likewise.
77204         * sysdeps/x86_64/sysdep.h: Likewise.
77205         * sysdeps/sh/sysdep.h: Likewise.
77206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77207         Do not define ASM_TYPE_DIRECTIVE.
77208         * sysdeps/powerpc/sysdep.h: Likewise.
77209         * sysdeps/powerpc/powerpc32/sysdep.h:
77210         Replace ASM_TYPE_DIRECTIVE with .type.
77211         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
77212         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
77213         * sysdeps/i386/fpu/e_powf.S: Likewise.
77214         * sysdeps/i386/fpu/e_expl.S: Likewise.
77215         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77216         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77217         * sysdeps/i386/fpu/e_pow.S: Likewise.
77218         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77219         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77220         * sysdeps/i386/fpu/s_expm1.S: Likewise.
77221         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77222         * sysdeps/i386/fpu/e_log2.S: Likewise.
77223         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77224         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77225         * sysdeps/i386/fpu/e_powl.S: Likewise.
77226         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77227         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77228         * sysdeps/i386/fpu/e_logl.S: Likewise.
77229         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77230         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77231         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77232         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77233         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77234         * sysdeps/i386/fpu/e_log.S: Likewise.
77235         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77236         * sysdeps/i386/fpu/e_logf.S: Likewise.
77237         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77238         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77239         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77240         * sysdeps/i386/fpu/e_log10.S: Likewise.
77241         * sysdeps/i386/fpu/s_frexp.S: Likewise.
77242         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77243         * sysdeps/i386/fpu/s_asinh.S: Likewise.
77244         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77245         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77246         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
77247         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77248         * sysdeps/i386/i686/strtok.S: Likewise.
77249         * sysdeps/i386/i386-mcount.S: Likewise.
77250         * sysdeps/i386/strtok.S: Likewise.
77251         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
77252         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77253         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77254         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77255         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
77256         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77257         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77258         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77259         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77260         * sysdeps/x86_64/_mcount.S: Likewise.
77261         * sysdeps/x86_64/strtok.S: Likewise.
77262         * sysdeps/sh/_mcount.S: Likewise.
77264 2012-08-01  Roland McGrath  <roland@hack.frob.com>
77266         * libio/iofopen.c: Include <fcntl.h>.
77267         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
77268         (_IO_fopen64, fopen64): Define as aliases.
77269         * libio/iofopen64.c: Include <fcntl.h>.
77270         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
77271         Conditionalize body on this.
77272         * sysdeps/wordsize-64/iofopen.c: File removed.
77273         * sysdeps/wordsize-64/iofopen64.c: File removed.
77275 2012-08-01  Marek Polacek  <polacek@redhat.com>
77277         * libc/Makeconfig: Use elf in place of binfmt-subdir.
77278         Use dlfcn directly instead of a variable.
77279         (binfmt-subdir): Do not define.
77280         (dlfcn): Likewise.
77282 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
77284         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
77285         Remove all definitions.
77286         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
77287         <kernel-features.h>.
77288         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
77289         (miss_F_GETOWN_EX): Remove all definitions.
77290         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
77291         macro definition.
77292         [!__ASSUME_FCNTL64]: Remove conditional code.
77293         [__ASSUME_FCNTL64]: Make code unconditional.
77294         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
77295         <kernel-features.h>.
77296         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
77297         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
77298         (lockf64) [__NR_fcntl64]: Make code unconditional.
77299         (lockf64) [__ASSUME_FCNTL64]: Likewise.
77301         * sysdeps/unix/sysv/linux/kernel-features.h
77302         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
77303         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
77304         Make code unconditional.
77305         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77306         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
77308         [__NR_vfork]: Make code unconditional.
77309         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77310         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
77312         [__NR_vfork]: Make code unconditional.
77313         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77314         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77316 2012-08-01  Roland McGrath  <roland@hack.frob.com>
77318         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
77319         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
77321         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77322         Define mkstemp64 as an alias.
77323         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77324         Define mkstemps64 as an alias.
77325         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77326         Define mkostemp64 as an alias.
77327         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77328         Define mkostemps64 as an alias.
77329         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
77330         Conditionalize body on this.
77331         * misc/mkostemp64.c: Likewise.
77332         * misc/mkostemps64.c: Likewise.
77333         * misc/mkstemps64.c: Likewise.
77334         * sysdeps/wordsize-64/mkstemp64.c: File removed.
77335         * sysdeps/wordsize-64/mkostemp64.c: File removed.
77336         * sysdeps/wordsize-64/mkostemp.c: File removed.
77337         * sysdeps/wordsize-64/mkstemp.c: File removed.
77338         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
77339         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
77340         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
77341         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
77343         [BZ #14138]
77344         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
77345         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
77346         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
77347         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
77349         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
77350         compat_symbol macros from <shlib-compat.h> rather than the underlying
77351         default_symbol_version and symbol_version macros, so that DEFAULT
77352         lines in shlib-versions are respected.
77353         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
77355 2012-08-01  Florian Weimer  <fweimer@redhat.com>
77357         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
77358         Declare with warn_unused_result.
77359         (setgid, setregid, setegid, setresgid): Likewise.
77360         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
77361         Likewise.
77362         * WUR-REPORT: Remove set*id functions.
77364 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
77366         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
77368 2012-07-31  Roland McGrath  <roland@hack.frob.com>
77370         [BZ #10191]
77371         * include/sys/socket.h (__libc_accept, __libc_accept4):
77372         Add attribute_hidden.
77373         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
77375         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
77376         use of PTR_MANGLE.
77377         * inet/getnetgrent_r.c (setup): Likewise.
77379         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
77381 2012-07-31  David S. Miller  <davem@davemloft.net>
77383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77385 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
77387         [BZ #13629]
77388         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
77389         value between 1.0 and 2.0 and smaller part has absolute value less
77390         than 1.0.
77391         * math/s_clog10.c (__clog10): Likewise.
77392         * math/s_clog10f.c (__clog10f): Likewise.
77393         * math/s_clog10l.c (__clog10l): Likewise.
77394         * math/s_clogf.c (__clogf): Likewise.
77395         * math/s_clogl.c (__clogl): Likewise.
77396         * math/libm-test.inc (clog_test): Add more tests.
77397         (clog10_test): Likewise.
77398         * sysdeps/i386/fpu/libm-test-ulps: Update.
77399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77401 2012-07-31  Florian Weimer  <fweimer@redhat.com>
77403         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
77404         Exit with zero in case no suitable GID is found, and write a
77405         message to standard error.
77407 2012-07-30  Roland McGrath  <roland@hack.frob.com>
77409         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
77410         rather than to 1.
77411         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
77412         (MAXPATHLEN): Removed.
77413         (NOGROUP, NODEV): New macros.
77414         (setbit, clrbit, isset, isclr): New macros.
77415         (howmany, roundup, powerof2): New macros.
77416         (DEV_BSIZE): New macro.
77418         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
77419         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
77421         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
77422         definition on [!__NO_LONG_DOUBLE_MATH].
77424         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
77425         PTR_MANGLE and PTR_DEMANGLE.
77427         * socket/accept4.c (accept4): Rename to __libc_accept4.
77428         Define accept4 as a weak alias.
77430         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
77431         on [_DIRENT_HAVE_D_TYPE].
77432         * io/ftw.c (ftw_dir): Likewise.
77434         * io/xmknod.c (__xmknod): Don't check PATH for being null.
77436         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
77438         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
77439         Use the BSD numbers rather than the arbitrary ones we had.
77440         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
77441         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
77442         (SIGXCPU, SIGXFSZ): New macros.
77443         (_NSIG): Now 32.
77445         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
77446         initializer on [_LIBC_REENTRANT].
77448         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
77449         definitions inside [_POSIX_MAPPED_FILES].
77451         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
77453         * dirent/opendir.c: Include <fcntl.h>.
77455         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
77456         (__libc_getspecific): Likewise.
77457         (__libc_key_create): Likewise.
77459         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
77460         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
77461         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
77462         (tmpfile64): Define as alias.
77463         * sysdeps/wordsize-64/tmpfile.c: File removed.
77464         * sysdeps/wordsize-64/tmpfile64.c: File removed.
77465         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
77466         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
77468         * stdio-common/vfscanf.c: Include <stdbool.h>.
77469         * nss/makedb.c: Likewise.
77470         * stdio-common/_i18n_number.h: Likewise.
77471         * argp/argp-help.c: Likewise.
77472         * posix/wordexp.c: Likewise.
77473         * sysdeps/posix/spawni.c: Likewise.
77474         * nss/nss_files/files-initgroups.c: Likewise.
77475         * stdio-common/reg-modifier.c: Include <stdlib.h>.
77476         * nss/nss_files/files-initgroups.c: Likewise.
77477         * nss/nss_db/db-netgrp.c: Likewise.
77478         * nss/nss_db/db-initgroups.c: Likewise.
77479         * io/fchmodat.c: Include <sys/stat.h>.
77481         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
77482         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
77484         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
77485         [HAVE_MMAP].
77487         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
77488         Add multiple inclusion protection.
77490 2012-07-27  David S. Miller  <davem@davemloft.net>
77492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77494 2012-07-27  Gary Benson  <gbenson@redhat.com>
77496         [BZ #14298]
77497         * elf/rtld.c: Include <stap-probe.h>.
77498         (dl_main): Added static probes "init_start" and "init_complete".
77499         * elf/dl-load.c: Include <stap-probe.h>.
77500         (lose): Take new parameter "nsid".
77501         Added static probe "map_failed".
77502         (_dl_map_object_from_fd): Pass namespace id to lose.
77503         Added static probe "map_start".
77504         (open_verify): Pass namespace id to lose.
77505         * elf/dl-open.c: Include <stap-probe.h>.
77506         (dl_open_worker) Added static probes "map_complete", "reloc_start"
77507         and "reloc_complete".
77508         * elf/dl-close.c: Include <stap-probe.h>.
77509         (_dl_close_worker): Added static probes "unmap_start" and
77510         "unmap_complete".
77511         * elf/rtld-debugger-interface.txt: New file documenting the above.
77513 2012-07-26  Roland McGrath  <roland@hack.frob.com>
77515         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
77516         rather than a string variable.
77517         * sunrpc/rpc_main.c (h_output): Likewise.
77518         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
77520 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
77522         * inet/check_native.c: New file.
77524 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
77526         [BZ #13629]
77527         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
77528         if larger part has absolute value 1.0.
77529         * math/s_clog10.c (__clog10): Likewise.
77530         * math/s_clog10f.c (__clog10f): Likewise.
77531         * math/s_clog10l.c (__clog10l): Likewise.
77532         * math/s_clogf.c (__clogf): Likewise.
77533         * math/s_clogl.c (__clogl): Likewise.
77534         * math/libm-test.inc (clog_test): Add more tests.
77535         (clog10_test): Likewise.
77536         * sysdeps/i386/fpu/libm-test-ulps: Update.
77537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77539         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
77540         (pltexit): Likewise.
77541         (La_regs): Likewise.
77542         (La_retval): Likewise.
77543         (int_retval): Likewise.
77544         Update #error for removed macros to refer only to definitions in
77545         tst-audit.h.
77546         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
77547         macro.
77548         (pltexit): Likewise.
77549         (La_regs): Likewise.
77550         (La_retval): Likewise.
77551         (int_retval): Likewise.
77552         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
77553         macro.
77554         (pltexit): Likewise.
77555         (La_regs): Likewise.
77556         (La_retval): Likewise.
77557         (int_retval): Likewise.
77558         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
77559         macro.
77560         (pltexit): Likewise.
77561         (La_regs): Likewise.
77562         (La_retval): Likewise.
77563         (int_retval): Likewise.
77564         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
77565         macro.
77566         (pltexit): Likewise.
77567         (La_regs): Likewise.
77568         (La_retval): Likewise.
77569         (int_retval): Likewise.
77570         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
77571         macro.
77572         (pltexit): Likewise.
77573         (La_regs): Likewise.
77574         (La_retval): Likewise.
77575         (int_retval): Likewise.
77576         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
77577         macro.
77578         (pltexit): Likewise.
77579         (La_regs): Likewise.
77580         (La_retval): Likewise.
77581         (int_retval): Likewise.
77582         * sysdeps/generic/tst-audit.h: Update comment to refer only to
77583         macro definitions in tst-audit.h.
77584         * sysdeps/i386/tst-audit.h: New file.
77585         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
77586         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
77587         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
77588         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
77589         * sysdeps/sh/tst-audit.h: Likewise.
77590         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
77591         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
77592         * sysdeps/x86_64/tst-audit.h: Likewise.
77594 2012-07-26  Andreas Jaeger  <aj@suse.de>
77596         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
77597         ptrace.
77599         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
77600         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
77601         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
77602         PTRACE_O_MASK.
77603         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
77604         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
77605         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
77607         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
77608         value.
77610         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
77611         _sigsys.
77612         (si_call_addr, si_syscall, si_arch): Define new macro.
77613         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
77614         _sigsys.
77615         (si_call_addr, si_syscall, si_arch): Define new marcro.
77616         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
77617         _sigsys.
77618         (si_call_addr, si_syscall, si_arch): Define new macro.
77619         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
77620         _sigsys.
77621         (si_call_addr, si_syscall, si_arch): Define new macro.
77623 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
77625         [BZ #13717]
77626         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77627         Change to 2.4.21 where previously 2.4.1.
77628         * sysdeps/unix/sysv/linux/configure: Regenerated.
77629         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
77630         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
77631         Linux kernel version.
77632         (__ASSUME_STD_AUXV): Remove.
77633         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
77634         kernel version.
77635         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
77636         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
77637         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
77638         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
77639         (__ASSUME_NETLINK_SUPPORT): Likewise.
77640         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
77641         (__no_netlink_support): Remove conditional definition.
77642         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
77643         Remove.
77644         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77645         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
77646         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
77647         (if_nameindex_ioctl): Remove.
77648         (if_nameindex_netlink): Do not handle __no_netlink_support.
77649         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77650         code.
77651         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
77652         Remove conditional code.
77653         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77654         code.
77655         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
77656         unconditional.
77657         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77658         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
77659         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
77660         Remove.
77661         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
77662         [!__ASSUME_STD_AUXV]: Remove conditional code.
77663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
77664         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
77665         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
77666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
77667         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
77668         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77669         code.
77670         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
77672         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
77673         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77674         conditional code.
77675         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
77677         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77678         code.
77679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
77680         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77681         conditional code.
77682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
77683         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77684         code unconditional.
77685         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77686         conditional code.
77687         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77688         unconditional.
77689         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77690         conditional code.
77691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77692         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77693         unconditional.
77694         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77695         conditional code.
77696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
77697         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77698         code unconditional.
77699         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77700         conditional code.
77701         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77702         unconditional.
77703         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77704         conditional code.
77705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
77706         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77707         code unconditional.
77708         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77709         conditional code.
77710         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77711         unconditional.
77712         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77713         conditional code.
77715 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
77717         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
77718         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
77719         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
77720         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
77721         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
77722         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
77723         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
77724         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
77725         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
77726         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
77727         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
77728         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
77729         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
77730         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
77731         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
77732         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
77733         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
77734         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
77735         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
77736         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
77737         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
77738         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
77739         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
77741 2012-07-25  Florian Weimer  <fweimer@redhat.com>
77743         * Versions.def: Add GLIBC_2.17.
77744         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
77745         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
77746         Introduce __libc_secure_getenv.
77747         * stdlib/Versions (2.17): Add secure_getenv
77748         (GLIBC_PRIVATE): Add __libc_secure_getenv.
77749         * stdlib/secure-getenv.c: Rename __secure_getenv to
77750         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
77751         symbol __secure_getenv for GLIBC_2.0.
77752         * stdlib/tst-secure-getenv.c: New.
77753         * stdlib/Makefile (tests): Add testcase.
77754         * manual/startup.texi (Environment Access): Document
77755         secure_getenv.
77756         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
77757         __libc_secure_getenv.
77758         * inet/ruserpass.c (ruserpass): Likewise.
77759         * malloc/mtrace.c (mtrace): Likewise.
77760         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
77761         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
77762         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
77763         * sysdeps/posix/tempname.c: Likewise.  Evaluate
77764         HAVE_SECURE_GETENV.
77765         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
77766         __secure_getenv to __libc_secure_getenv.
77767         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
77768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77769         Likewise.
77770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77771         Likewise.
77772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
77773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
77774         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
77775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
77776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
77777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
77778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
77780 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
77782         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
77783         (struct La_i86_retval): Likewise.
77784         (struct La_x86_64_regs): Likewise.
77785         (struct La_x86_64_retval): Likewise.
77786         (struct La_x32_regs): Likewise.
77787         (struct La_x32_retval): Likewise.
77788         (struct La_ppc32_regs): Likewise.
77789         (struct La_ppc32_retval): Likewise.
77790         (struct La_ppc64_regs): Likewise.
77791         (struct La_ppc64_retval): Likewise.
77792         (struct La_sh_regs): Likewise.
77793         (struct La_sh_retval): Likewise.
77794         (struct La_s390_32_regs): Likewise.
77795         (struct La_s390_32_retval): Likewise.
77796         (struct La_s390_64_regs): Likewise.
77797         (struct La_s390_64_retval): Likewise.
77798         (struct La_sparc32_regs): Likewise.
77799         (struct La_sparc32_retval): Likewise.
77800         (struct La_sparc64_regs): Likewise.
77801         (struct La_sparc64_retval): Likewise.
77802         (struct audit_ifaces): Remove architecture-specific pltenter and
77803         pltexit members.
77804         * sysdeps/i386/ldsodefs.h: New file.
77805         * sysdeps/powerpc/ldsodefs.h: Likewise.
77806         * sysdeps/s390/ldsodefs.h: Likewise.
77807         * sysdeps/sh/ldsodefs.h: Likewise.
77808         * sysdeps/sparc/ldsodefs.h: Likewise.
77809         * sysdeps/x86_64/ldsodefs.h: Likewise.
77811 2012-07-25  Marek Polacek  <polacek@redhat.com>
77813         [BZ #6808]
77814         * math/libm-test.inc (yn_test): Add another test.
77815         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
77816         to ERANGE when the result is +-Inf.
77817         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
77818         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
77819         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
77820         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
77822 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
77824         * conform/data/time.h-data (NULL): Use macro-constant.  Require
77825         equal to 0.
77826         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
77827         clock_t.
77828         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
77830 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
77832         * configure.in <sysdeps resolving>: Correct printing
77833         Implies_before.
77834         * configure: Regenerate.
77836 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
77838         * math/w_ilogb.c: Include <limits.h>.
77839         * math/w_ilogbl.c: Likewise.
77841 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77843         * manual/lang.texi (__va_copy): Document primarily as ISO C99
77844         va_copy.  Document allowing for unavailable va_copy only as
77845         pre-C99 compatibility.
77846         * manual/string.texi (Copying and Concatenation): Use va_copy
77847         instead of __va_copy in concat example.
77849 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
77851         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
77852         (__sendto): Use create_address_port.  Initialize APORT and deallocate
77853         it if not null.
77855         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
77856         with O_NOLINK passed to __file_name_lookup.
77858         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
77859         with O_NOLINK passed to __file_name_lookup.
77861         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
77862         negative N or less than NGIDS.
77864         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
77865         type to string_t.  Set ERANGE as errno and return it if NAME is not big
77866         enough.  Use memcpy instead of strncpy.
77868 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77870         * elf/Makefile (check-data): Remove.
77871         (localplt.data): New vpath directive.
77872         ($(objpfx)check-localplt.out): Use localplt.data from vpath
77873         instead of $(check-data).
77874         * scripts/data/localplt-generic.data: Move to ...
77875         * sysdeps/generic/localplt.data: ... here.
77876         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
77877         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
77878         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
77879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
77880         ... here.
77881         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
77882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
77883         ... here.
77884         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
77885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
77886         ... here.
77887         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
77888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
77889         ... here.
77890         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
77891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
77892         ... here.
77893         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
77894         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
77895         ... here.
77897 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77899         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
77900         PPC32 and PPC64 files.
77901         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
77902         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
77904 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77906         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
77907         __makecontext_ret to ...
77908         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
77909         ... here and call exit if uc_link is NULL.  New file.
77910         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
77911         __makecontext_ret.S.
77912         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
77913         __makecontext_ret to ...
77914         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
77915         ... here and call exit if uc_link is NULL.  New file.
77916         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
77917         __makecontext_ret.S.
77919 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77921         * elf/elf.h (R_390_IRELATIVE): New definition.
77922         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
77923         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
77924         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
77925         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
77926         (elf_machine_lazy_rel): Likewise.
77927         * sysdeps/s390/dl-irel.h: New file.
77928         * sysdeps/s390/s390-64/memcpy.S: New asm code.
77929         * sysdeps/s390/s390-64/memset.S: New asm code.
77930         * sysdeps/s390/s390-64/memcmp.S: New asm code.
77931         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
77932         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
77933         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
77934         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
77935         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
77936         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
77937         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
77938         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
77939         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
77940         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
77941         * sysdeps/s390/s390-32/memcpy.S: New asm code.
77942         * sysdeps/s390/s390-32/memset.S: New asm code.
77943         * sysdeps/s390/s390-32/memcmp.S: New asm code.
77945 2012-07-17  Marek Polacek  <polacek@redhat.com>
77947         [BZ #14349]
77948         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
77949         * sysdeps/s390/s390-64/configure.in: Likewise.
77950         * sysdeps/sparc/configure.in: Likewise.
77951         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
77952         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
77953         * sysdeps/i386/configure.in: Likewise.
77954         * sysdeps/x86_64/configure.in: Likewise.
77955         * sysdeps/sh/configure.in: Likewise.
77956         * sysdeps/s390/s390-32/configure: Regenerated.
77957         * sysdeps/s390/s390-64/configure: Likewise.
77958         * sysdeps/x86_64/configure: Likewise.
77959         * sysdeps/sh/configure: Likewise.
77960         * sysdeps/powerpc/powerpc64/configure: Likewise.
77961         * sysdeps/powerpc/powerpc32/configure: Likewise.
77962         * sysdeps/sparc/configure: Likewise.
77963         * sysdeps/i386/configure: Likewise.
77965         * elf/dl-open.c: Comment fixes.
77967 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
77969         * Makefile [CXX] (check-data): Remove.
77970         [CXX] (c++-types.data): New vpath directive.
77971         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
77972         vpath.  Do not allow for C++ type data being missing.
77973         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
77974         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
77975         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
77976         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
77977         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
77978         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
77979         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
77980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
77981         ... here.
77982         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
77983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
77984         ... here.
77985         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
77986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
77987         ... here.
77988         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
77989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
77990         ... here.
77991         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
77992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
77993         ... here.
77994         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
77995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
77996         ... here.
77997         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
77998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
77999         ... here.
78000         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
78001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
78003         * elf/tls-macros.h (TLS_LE): Move architecture-specific
78004         definitions to architecture-specific files.
78005         (TLS_IE): Likewise.
78006         (TLS_LD): Likewise.
78007         (TLS_GD): Likewise.
78008         * sysdeps/i386/tls-macros.h: New file.
78009         * sysdeps/powerpc/tls-macros.h: Likewise.
78010         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
78011         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
78012         * sysdeps/sh/tls-macros.h: Likewise.
78013         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
78014         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
78015         * sysdeps/x86_64/tls-macros.h: Likewise.
78017 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
78019         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
78020         zero value for regular exit case.
78022         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
78023         (__start_context): Preserve zero value for regular exit case.
78025 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
78026             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78028         * manual/setjmp.texi (setcontext): Clarify normal process
78029         termination when uc_link is the null pointer.
78030         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
78031         exit call.
78033 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
78035         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
78036         preprocessor.  Test for each exception mask separately.
78038 2012-07-16  Andreas Jaeger  <aj@suse.de>
78040         * po/ru.po: Update from translation team.
78042 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
78044         * conform/data/string.h-data (NULL): Use macro-constant.  Require
78045         equal to 0.
78046         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
78047         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
78048         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
78049         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
78050         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78052 2012-07-13  Andreas Jaeger  <aj@suse.de>
78054         * po/fr.po: Update from translation team.
78056 2012-07-12  Marek Polacek  <polacek@redhat.com>
78058         [BZ #14173]
78059         * math/libm-test.inc (yn_test): Add test for BZ #14173.
78060         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
78061         loop condition.
78063 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
78065         [BZ #13717]
78066         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78067         Change to 2.4.1 where previously 2.4.0.
78068         * sysdeps/unix/sysv/linux/configure: Regenerated.
78069         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
78070         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
78071         version.
78072         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
78073         (__ASSUME_AT_CLKTCK): Remove.
78074         (__ASSUME_AT_PAGESIZE): Likewise.
78075         (__ASSUME_AT_XID): Likewise.
78076         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
78077         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
78078         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
78079         unconditionally.
78080         (HAVE_AUX_PAGESIZE): Likewise.
78081         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
78082         [__ASSUME_AT_CLKTCK]: Make code unconditional.
78083         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
78085 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
78087         [BZ #14307]
78088         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
78089         the temporary buffer used to invoke __gethostbyname2_r,
78090         __gethostbyaddr_r and gethostbyname4_r to make room for struct
78091         host_data / struct gaih_addrtuple.
78092         * resolv/nss_dns/dns-host.c (global scope): Move definition of
78093         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
78094         header file nss/nsswitch.h.
78095         * nss/nsswitch.h (global scope): Add definition of implementation
78096         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
78097         resolv/nss_dns/dns-host.c).
78099 2012-07-11  Andreas Jaeger  <aj@suse.de>
78101         * po/fr.po: Update from translation team.
78103         * po/sv.po: Update from translation team
78104         * po/fr.po: Another update from translation team.
78106 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78108         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
78109         for subnormals or multiply small sinh result by itself.
78110         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
78111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78113 2012-07-11  David S. Miller  <davem@davemloft.net>
78115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78117 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
78119         [BZ #14347]
78120         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
78121         (INTERNAL_MARK): Shift it here.
78123 2012-07-10  Marek Polacek  <polacek@redhat.com>
78125         [BZ #14151]
78126         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
78127         libc_cv_asm_global_directive with .globl.
78128         * configure: Regenerated.
78129         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
78130         with .globl.
78131         * sysdeps/i386/configure: Regenerated.
78132         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
78133         with .globl.
78134         * sysdeps/x86_64/configure: Regenerated.
78135         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
78136         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
78137         * elf/tst-unique2mod2.c: Likewise.
78138         * elf/tst-unique2mod1.c: Likewise.
78139         * elf/tst-unique1mod2.c: Likewise.
78140         * elf/tst-unique1mod1.c: Likewise.
78141         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78142         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78143         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78144         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78145         * sysdeps/mach/sysdep.h: Likewise.
78146         * sysdeps/i386/sysdep.h: Likewise.
78147         * sysdeps/i386/i386-mcount.S: Likewise.
78148         * sysdeps/x86_64/_mcount.S: Likewise.
78149         * sysdeps/x86_64/sysdep.h: Likewise.
78150         * sysdeps/sh/_mcount.S: Likewise.
78151         * sysdeps/sh/sysdep.h: Likewise.
78152         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
78153         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
78154         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
78155         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78156         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
78157         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
78158         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
78159         * locale/localeinfo.h: Likewise.
78160         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
78161         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
78163 2012-07-09  Roland McGrath  <roland@hack.frob.com>
78165         [BZ #14336]
78166         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
78167         system".
78168         * manual/message.texi (The Uniforum approach): Likewise.
78169         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
78170         (glibc iconv Implementation): Likewise.
78172 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
78174         [BZ #14337]
78175         * math/s_clog.c (__clog): Avoid scaling a value down where that
78176         could result in underflow.
78177         * math/s_clog10.c (__clog10): Likewise.
78178         * math/s_clog10f.c (__clog10f): Likewise.
78179         * math/s_clog10l.c (__clog10l): Likewise.
78180         * math/s_clogf.c (__clogf): Likewise.
78181         * math/s_clogl.c (__clogl): Likewise.
78182         * math/libm-test.inc (clog_test): Add more tests.
78183         (clog10_test): Likewise.
78184         * sysdeps/i386/fpu/libm-test-ulps: Update.
78185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78187 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
78189         [BZ #14283]
78190         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
78191         by 7 not 8 to examine high bit of fractional part.
78193         [BZ #14042]
78194         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
78195         for call to __mcount_internal.
78196         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
78197         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
78198         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
78200 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
78202         [BZ #14154]
78203         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
78204         approximation for values within 0x1p-13f of an odd multiple of
78205         pi/4.
78206         * math/libm-test.inc (tan_test): Do not allow spurious underflow
78207         exception.  Add more tests.
78208         * sysdeps/i386/fpu/libm-test-ulps: Update.
78210         [BZ #6778]
78211         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
78212         inputs and return -1 for them.  Do not check for +Inf in case not
78213         reachable for +Inf.
78214         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
78215         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
78216         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
78217         and return -1 for them.  Do not check for +Inf in case not
78218         reachable for +Inf.
78219         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
78220         define.
78221         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
78222         and return -1 for them.  Do not check for +Inf in case not
78223         reachable for +Inf.
78224         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
78225         spurious underflow.
78226         * sysdeps/i386/fpu/libm-test-ulps: Update.
78227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78229 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
78231         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
78233 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
78235         [BZ #14157]
78236         [BZ #14331]
78237         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
78238         could result in spurious underflow.  Scale down values above
78239         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
78240         * math/s_csqrtf.c (__csqrtf): Likewise.
78241         * math/s_csqrtl.c (__csqrtl): Likewise.
78242         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
78243         spurious underflow.
78244         * sysdeps/i386/fpu/libm-test-ulps: Update.
78245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78247 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
78249         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
78250         xopen-msg.sed.
78251         * catgets/xopen-msg.awk: New file.
78252         * catgets/xopen-msg.sed: Removed.
78254         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
78255         po2text.sed.
78256         * intl/po2test.awk: New file.
78257         * intl/po2test.sed: Removed.
78259 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
78261         [BZ #14328]
78262         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
78263         or multiply small sinh result by itself.
78264         * math/s_ctanf.c (__ctanf): Likewise.
78265         * math/s_ctanh.c (__ctanh): Likewise.
78266         * math/s_ctanhf.c (__ctanhf): Likewise.
78267         * math/s_ctanhl.c (__ctanhl): Likewise.
78268         * math/s_ctanl.c (__ctanl): Likewise.
78269         * math/libm-test.inc (ctan_test_tonearest): New function.
78270         (ctan_test_towardzero): Likewise.
78271         (ctan_test_downward): Likewise.
78272         (ctan_test_upward): Likewise.
78273         (ctanh_test_tonearest): Likewise.
78274         (ctanh_test_towardzero): Likewise.
78275         (ctanh_test_downward): Likewise.
78276         (ctanh_test_upward): Likewise.
78277         (main): Call these new functions.
78278         * sysdeps/i386/fpu/libm-test-ulps: Update.
78279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78281 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
78283         * .gitignore: Delete /ports entry.
78285 2012-07-03  Andreas Jaeger  <aj@suse.de>
78287         * po/bg.po: Update from translation team.
78288         * po/cs.po: Likewise.
78289         * po/de.po: Likewise.
78290         * po/hr.po: Likewise.
78291         * po/nl.pl: Likewise.
78292         * po/pl.po: Likewise.
78293         * po/vi.po: Likewise.
78295 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
78297         * Makeconfig [!+link] (+link-before-libc): New variable.
78298         [!+link] (+link-after-libc): Likewise.
78299         [!+link] (+link-tests): Likewise.
78300         [!+link] (+link): Define in terms of $(+link-before-libc) and
78301         $(+link-after-libc).
78302         [!+link-static] (+link-static-before-libc): New variable.
78303         [!+link-static] (+link-static-after-libc): Likewise.
78304         [!+link-static] (+link-static-tests): Likewise.
78305         [!+link-static] (+link-static): Define in terms of
78306         $(+link-static-before-libc) and $(+link-static-after-libc).
78307         [build-shared] (link-libc-before-gnulib): New variable.
78308         [build-shared] (link-libc-tests): Likewise.
78309         [build-shared] (link-libc): Define in terms of
78310         $(link-libc-before-gnulib).
78311         [!build-shared] (link-libc-tests): New variable.
78312         (link-libc-static-tests): New variable.
78313         [!gnulib] (gnulib-arch): New variable.
78314         [!gnulib] (gnulib-tests): Likewise.
78315         [!gnulib] (static-gnulib-arch): Likewise.
78316         [!gnulib] (static-gnulib-tests): Likewise.
78317         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
78318         Define with "=" instead of ":=".
78319         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
78320         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
78321         * Rules (binaries-all-notests): New variable.
78322         (binaries-all-tests): Likewise.
78323         (binaries-static-notests): Likewise.
78324         (binaries-static-tests): Likewise.
78325         (binaries-all): Define using $(binaries-all-notests) and
78326         $(binaries-all-tests).
78327         (binaries-static): Define using $(binaries-static-notests) and
78328         $(binaries-static-tests).
78329         (binaries-shared-tests): New variable.
78330         (binaries-shared-notests): Likewise.
78331         (binaries-shared): Remove variable.
78332         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
78333         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
78334         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
78335         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
78336         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
78337         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
78338         * elf/Makefile (sln-modules): New variable.
78339         (extra-objs): Add $(sln-modules:=.o).
78340         (ldconfig-modules): Add static-stubs.
78341         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
78342         * elf/static-stubs.c: New file.
78344         [BZ #14283]
78345         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
78346         by 7 not 8 to examine high bit of fractional part.  Use volatile
78347         variables when splitting into final array of floats if
78348         __FLT_EVAL_METHOD__ != 0.
78349         * math/libm-test.inc (cos_test): Add another test.
78350         (sin_test): Likewise.
78351         * sysdeps/i386/fpu/libm-test-ulps: Update.
78353         [BZ #14273]
78354         * math/libm-test.inc (cosh_test): Add more tests.
78356         * version.h (RELEASE): Set to "development".
78357         (VERSION): Set to "2.16.90".
78359 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
78361         * NEWS: Update copyright. Remove last-updated date.
78362         Mention math library bug fixes and timezone data changes.
78363         * README: Mention GNU/Hurd, x32, and HPPA support status.
78365 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
78367         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
78369 2012-06-27  Andreas Jaeger  <aj@suse.de>
78371         * manual/contrib.texi (Contributors): Add Samuel Thibault.
78373 2012-06-25  Andreas Jaeger  <aj@suse.de>
78375         * sysdeps/s390/fpu/libm-test-ulps: Update.
78377 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
78378             Thomas Schwinge  <thomas@codesourcery.com>
78380         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
78381         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
78382         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
78383         fanotify_mark.
78385 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
78387         * sysdeps/mach/start.c: Remove file.
78388         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
78389         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
78390         * sysdeps/sh/init-first.c: Likewise.
78392         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
78393         registers for frame unwinding purposes, add CFI directives.
78394         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78395         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
78396         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
78397         Likewise.
78399         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
78400         __fortify_fail returning.
78401         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78403         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
78404         sysdeps/sh/____longjmp_chk.S.
78405         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
78406         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
78407         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
78408         (gen-as-const-headers): Append sigaltstack-offsets.sym.
78410         * sysdeps/sh/abort-instr.h: New file.
78411         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
78412         process in case exit returns.
78414         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
78415         initialize the GOT register before use.
78417         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
78418         calculation of ARGC > 4.
78420         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
78421         meaningful names to some local labels.
78423 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78424             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78426         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
78427         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
78428         (__arch_compare_and_exchange_val_16_acq): Likewise.
78429         (__arch_compare_and_exchange_val_32_acq): Likewise.
78430         (atomic_exchange_and_add): Fix gUSA sequence.
78431         (atomic_add): Likewise.
78432         (atomic_add_negative): Likewise.
78433         (atomic_add_zero): Likewise.
78434         (atomic_bit_test_set): Likewise.
78436 2012-06-22  Andreas Schwab  <schwab@redhat.com>
78438         [BZ #13579]
78439         * include/link.h (struct link_map): Add l_free_initfini.
78440         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
78441         l_initfini.
78442         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
78443         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
78444         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
78445         set.
78447 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
78449         * configure.in: Use AC_LANG_SOURCE.
78450         * configure: Regenerate.
78452 2012-06-22  Roland McGrath  <roland@hack.frob.com>
78454         * configure.in (libc_cv_localstatedir): New substituted variable.
78455         * configure: Regenerated.
78456         * config.make.in (localstatedir): New variable, substituted from
78457         libc_cv_localstatedir.
78458         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
78459         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
78460         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
78461         * sysdeps/gnu/configure: Regenerated.
78463 2012-06-21  Jeff Law  <law@redhat.com>
78465         [BZ #14277]
78466         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
78467         free.  Simplify list management for _LIBC case.
78469 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
78471         [BZ #14273]
78472         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
78473         Clear sign bit of 64-bit integer value before comparing against
78474         overflow value.
78476         * sysdeps/mach/configure: Regenerated.
78478 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
78480         [BZ #14278]
78481         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
78483 2012-06-21  Jeff Law  <law@redhat.com>
78485         [BZ #13882]
78486         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
78487         uint16_t for elements in the "seen" array to avoid char overflows.
78488         * elf/dl-fini.c (_dl_sort_fini): Likewise.
78489         * elf/dl-open.c (dl_open_worker): Likewise.
78491 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
78493         * scripts/list-sources.sh: Scan PORTS for translations.
78494         * po/libc.pot: Regenerated.
78496 2012-06-21  Andreas Jaeger  <aj@suse.de>
78498         [BZ #12194]
78499         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
78500         warning.
78501         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
78502         * bits/byteswap-16.h (__bswap_16): Likewise.
78503         * bits/byteswap.h (__bswap_constant_16): Likewise.
78505 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
78507         [BZ #14117]
78508         * sysdeps/i386/fpu_control.h: Removed.
78509         * sysdeps/x86_64/fpu_control.h: Moved to ...
78510         * sysdeps/x86/fpu_control.h: Here.
78512         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
78513         (_FPU_SETCW): Likewise.
78515 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
78517         [BZ #14117]
78518         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
78519         * sysdeps/x86/fpu/bits/mathinline.h: This.
78520         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
78522         [BZ #14050]
78523         [BZ #14117]
78524         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
78525         functions if __x86_64__ is defined.
78527 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
78529         * string/endian.h: Add !__ASSEMBLER__ condition for including
78530         conversion interfaces.
78532 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
78534         [BZ #14241]
78535         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
78536         of ABS(x) in calculating zero to negative powers other than odd
78537         integers.
78538         * math/libm-test.inc (pow_test): Add more tests.
78540 2012-06-15  Andreas Jaeger  <aj@suse.de>
78542         * manual/contrib.texi (Contributors): Update entry of Liubov
78543         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
78544         Machado Filho.
78546 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
78548         * string/string.h: Add __wur to GNU version of strerror_r.
78550 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
78552         [BZ #14229]
78553         * string/Makefile (tests): Add tst-strtok_r.
78554         * string/tst-strtok_r.c: New file.
78555         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
78556         RAX_LP/RDX_LP on SAVE_PTR.
78558 2012-06-14  Roland McGrath  <roland@hack.frob.com>
78560         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
78562 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
78564         * libm_test.inc (csqrt_test): Allow more spurious underflow
78565         exceptions.
78566         (j0_test): Likewise.
78567         (j1_test): Likewise.
78568         (y0_test): Likewise.
78569         (y1_test): Likewise.
78571 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
78573         * po/Makefile (libc.pot): Use UTF-8 charset.
78575 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
78577         [BZ #14210]
78578         Suppress sign-conversion warning from FD_SET.
78579         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
78580         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
78581         not unsigned long int.
78582         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
78584 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
78586         [BZ #14050]
78587         [BZ #14117]
78588         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
78589         __extern_always_inline instead of __extern_inline.
78590         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
78591         (__signbit): Likewise.
78592         (__signbitl): Support C++ namespace.
78593         (lrintf): New inline function.
78594         (lrint): Likewise.
78595         (llrintf): Likewise.
78596         (llrint): Likewise.
78597         (fmaxf): Likewise.
78598         (fmax): Likewise.
78599         (fminf): Likewise.
78600         (fmin): Likewise.
78601         (rint): Likewise.
78602         (rintf): Likewise.
78603         (ceil): Likewise.
78604         (ceilf): Likewise.
78605         (floor): Likewise.
78606         (floorf): Likewise.
78607         (nearbyint): Likewise.
78608         (nearbyintf): Likewise.
78610 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
78612         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
78613         non-default versions.
78615 2012-06-11  Roland McGrath  <roland@hack.frob.com>
78617         [BZ #14218]
78618         * manual/argp.texi (Argp): Reword argp_parse description slightly.
78620 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
78622         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
78623         (FE_UPWARD, FE_DOWNWARD): Don't define.
78624         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
78625         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
78627         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
78628         reading it.
78629         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
78630         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78632 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78634         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78635         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
78636         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
78637         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
78639 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
78641         [BZ #14117]
78642         * sysdeps/i386/fpu/bits/fenv.h: Removed.
78643         * sysdeps/i386/fpu/Implies: New file.
78644         * sysdeps/x86_64/fpu/Implies: Likewise.
78645         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
78646         * sysdeps/x86/fpu/bits/fenv.h: This.
78648         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
78649         __SSE_MATH__.
78651 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
78653         [BZ #14134]
78654         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
78655         character 0xffff that matches the last element of the
78656         conversion table.
78658 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78660         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
78661         fmodl commit.
78663 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78665         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
78666         values higher than 25.6283.
78668 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78670         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
78671         subnormal exponent extraction and add some __builtin_expect.
78672         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
78673         Fix for subnormal mantissa calculation.
78675 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
78677         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
78678         cpu2 is -1 and errno is not ENOSYS.
78680 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
78682         [BZ #14117]
78683         * sysdeps/i386/i486/bits/string.h: Renamed to ...
78684         * sysdeps/x86/bits/string.h: This.
78685         * sysdeps/x86_64/bits/string.h: Removed.
78687         * sysdeps/i386/i486/bits/string.h: Define inline functions only
78688         if not compiling for x86-64, but compiling for >= i486.
78690         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
78691         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
78693         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
78694         New macro from Linux kernel 3.4.0.
78695         (FP_XSTATE_MAGIC2): Likewise.
78696         (FP_XSTATE_MAGIC2_SIZE): Likewise.
78697         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
78698         (struct _fpx_sw_bytes): New struct.
78699         (struct _xsave_hdr): Likewise.
78700         (struct _ymmh_state): Likewise.
78701         (struct _xstate): Likewise.
78703         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
78704         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
78705         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
78706         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
78707         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
78708         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
78710         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
78711         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
78712         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
78713         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
78714         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
78715         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
78717 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78719         [BZ #13743]
78720         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
78721         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
78722         (sysdep_headers): Include sys/platform/ppc.h.
78723         * sysdeps/powerpc/test-gettimebase.c: Test for
78724         __ppc_get_timebase() to catch future ISA opcode/insn changes.
78725         * manual/Makefile (appendices): Include platform.texi.
78726         * manual/contrib.texi (Contributors): Update @node pointers.
78727         * manual/maint.texi (Maintenance): Likewise.
78728         (Platform): New node.
78729         * manual/platform.texi: New file.  Document the new features.
78731 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
78732             Jakub Jelinek  <jakub@redhat.com>
78734         [BZ #14188]
78735         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
78736         where __builtin_expect is unavailable.
78738 2012-06-03  David S. Miller  <davem@davemloft.net>
78740         * stdlib/longlong.h: Updated from GCC.
78742 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
78744         [BZ #14042]
78745         * sysdeps/powerpc/powerpc32/mcount.c: New file.
78746         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
78747         __mcount_internal.
78748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
78749         (GLIBC_2.16): Likewise.
78751 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78753         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
78755 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
78758         (default-abi): New variable.
78759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
78760         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
78761         variable.
78762         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
78763         Likewise.
78764         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
78765         Likewise.
78766         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
78767         Likewise.
78769         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
78770         definition.  Document in comment.
78772 2012-06-01  David S. Miller  <davem@davemloft.net>
78774         * stdlib/longlong.h: Updated from GCC.
78776 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78778         [BZ #14117]
78779         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
78780         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
78781         sys/debugreg.h sys/io.h here.
78782         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
78783         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
78784         sys/io.h.
78785         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
78786         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
78787         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
78788         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
78789         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
78790         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
78792         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
78793         Define only if __x86_64__ is defined.
78795 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78797         [BZ #14048]
78798         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
78799         Use int64_t for variable i.
78800         * math/libm-test.inc (fmod_test): Add more tests.
78802         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
78803         z computation is not scheduled after fetestexcept.
78804         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
78805         Use math_force_eval instead of asm to ensure calculation scheduled
78806         before exception test.
78807         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
78808         Ensure a1 + u.d computation is not scheduled after fetestexcept.
78810 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
78812         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
78813         computation is not scheduled after fetestexcept.
78815 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78817         [BZ #14117]
78818         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
78819         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
78821 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78823         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
78824         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78826 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78828         [BZ #14117]
78829         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
78830         <bits/wordsize.h>.
78831         (__WCHAR_MIN): Support __WORDSIZE == 64.
78832         (__WCHAR_MAX): Likewise.
78834         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
78835         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
78837         [BZ #14183]
78838         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
78839         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
78841         [BZ #14117]
78842         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
78843         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
78845         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
78846         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
78848         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
78849         Defined to 1 if __x86_64__ isn't defined.
78850         (_STAT_VER_LINUX_OLD): New.
78851         (st_atime): Remove duplicate.
78852         (st_mtime): Likewise.
78853         (st_ctime): Likewise.
78855 2012-05-31  David S. Miller  <davem@davemloft.net>
78857         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
78858         entries.
78860 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
78862         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
78863         gen-libm-test.pl.
78865         [BZ #14132]
78866         * elf/dl-reloc.c: Include <_itoa.h>.
78867         (_dl_reloc_bad_type): Remove use of INTUSE.
78868         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
78869         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
78870         * stdio-common/psiginfo.c (psiginfo): Likewise.
78871         * stdio-common/psignal.c (psignal): Likewise.
78872         * string/strsignal.c (strsignal): Likewise.
78873         * include/signal.h (_sys_siglist): Declare hidden proto.
78874         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
78875         INTVARDEF with libc_hidden_data_def.
78876         * stdio-common/itoa-udigits.c: Likewise.
78877         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
78878         (_itoa_lower_digits_internal): Remove declaration.
78879         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
78880         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
78881         (_sys_sigabbrev_internal): Remove aliases.
78882         (_sys_siglist): Define hidden alias.
78884 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
78886         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78887         bits/sysctl.h.
78889 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78891         [BZ #14117]
78892         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
78893         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
78895         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
78896         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
78897         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
78898         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
78899         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
78900         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
78902         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
78903         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
78904         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
78906         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
78907         with __addr.
78908         (insw): Likewise.
78909         (insl): Likewise.
78910         (outsb): Likewise.
78911         (outsw): Likewise.
78912         (outsl): Likewise.
78914         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
78915         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
78916         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
78918         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
78919         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
78920         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
78921         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
78922         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
78923         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
78925         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
78926         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
78928         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
78929         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
78931         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
78932         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
78933         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
78935         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
78936         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
78937         to ...
78938         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
78940         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
78941         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
78942         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
78944         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
78945         for x86-64.
78946         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
78948 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
78950         * math/math.h (M_El): Use two more decimal places.
78951         (M_LOG2El): Likewise.
78952         (M_LOG10El): Likewise.
78953         (M_LN2l): Likewise.
78954         (M_LN10l): Likewise.
78955         (M_PIl): Likewise.
78956         (M_PI_2l): Likewise.
78957         (M_PI_4l): Likewise.
78958         (M_1_PIl): Likewise.
78959         (M_2_PIl): Likewise.
78960         (M_2_SQRTPIl): Likewise.
78961         (M_SQRT2l): Likewise.
78962         (M_SQRT1_2l): Likewise.
78964 2012-05-31  David S. Miller  <davem@davemloft.net>
78966         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
78967         values between float registers.
78968         * sysdeps/sparc/sparc64/memset.S: Likewise.
78969         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78971 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
78973         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
78974         -D_FORTIFY_SOURCE=1.
78975         (CPPFLAGS-tst-longjmp_chk.c): Define.
78976         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
78977         (CPPFLAGS-tst-longjmp_chk2.c): Define.
78978         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
78979         CFLAGS-tst-wchar-h.c.
78981 2012-05-31  Marek Polacek  <polacek@redhat.com>
78983         [BZ #14132]
78984         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
78985         __endmntent_internal): Remove declaration.
78986         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
78987         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
78988         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
78990 2012-05-30  David S. Miller  <davem@davemloft.net>
78992         * sysdeps/sparc/sparc32/soft-fp/q_util.c
78993         (___Q_simulate_exceptions): Use real FP ops rather than writing
78994         into the %fsr.
78995         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
78996         Likewise.
78998 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79000         [BZ #14117]
79001         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
79002         * sysdeps/x86/bits/xtitypes.h: This.
79004         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
79005         * sysdeps/x86/bits/wordsize.h: This.
79007         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
79008         * sysdeps/x86/bits/huge_vall.h: This.
79010         * sysdeps/i386/bits/select.h: Removed.
79011         * sysdeps/x86_64/bits/select.h: Renamed to ...
79012         * sysdeps/x86/bits/select.h: This.
79014         * sysdeps/i386/bits/setjmp.h: Removed.
79015         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
79016         * sysdeps/x86/bits/setjmp.h: This.
79018         * sysdeps/i386/bits/mathdef.h: Removed.
79019         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
79020         * sysdeps/x86/bits/mathdef.h: This.
79022 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
79024         [BZ #14132]
79025         * include/sys/socket.h (__connect_internal)
79026         (__libc_sa_len_internal): Remove declaration.
79027         (__connect, __libc_sa_len): Declare hidden_proto.
79028         (SA_LEN): Remove use of INTUSE.
79029         * socket/connect.c: Add libc_hidden_def.
79030         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
79031         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
79032         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
79033         alias.
79034         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
79035         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
79036         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
79037         of adding _internal alias.
79039 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79041         [BZ #14117]
79042         * sysdeps/i386/bits/link.h: Removed.
79043         * sysdeps/i386/bits/linkmap.h: Likewise.
79044         * sysdeps/x86_64/bits/link.h: Renamed to ...
79045         * sysdeps/x86/bits/link.h: This.
79046         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
79047         * sysdeps/x86/bits/linkmap.h: This.
79049         * sysdeps/i386/bits/endian.h: Removed.
79050         * sysdeps/x86_64/bits/endian.h: Renamed to ...
79051         * sysdeps/x86/bits/endian.h: This.
79053         * sysdeps/i386/bits/byteswap.h: Removed.
79054         * sysdeps/i386/bits/byteswap-16.h: Likewise.
79055         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
79056         * sysdeps/x86/bits/byteswap.h: This.
79057         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
79058         * sysdeps/x86/bits/byteswap-16.h: This.
79059         * sysdeps/i386/Implies: Add x86.
79060         * sysdeps/x86_64/Implies: Likewise.
79062 2012-05-30  David S. Miller  <davem@davemloft.net>
79064         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
79065         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
79066         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
79067         (FP_TRAPPING_EXCEPTIONS): Define.
79068         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
79069         (FP_TRAPPING_EXCEPTIONS): Define.
79070         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
79071         subnormals only when inexact has been signalled or underflow
79072         exceptions are enabled.
79073         (_FP_PACK_CANONICAL): Likewise.
79075 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79077         [BZ #14183]
79078         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
79079         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
79081 2012-05-30  Richard Henderson  <rth@twiddle.net>
79083         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
79084         with #ifndef NOT_IN_libc.
79086         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
79087         marked to avoid plt entry.
79089 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79091         [BZ #14112]
79092         * Makeconfig (default-abi): New macro.
79093         (abi-includes): Likewise.
79094         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
79095         $(abi-$(default-abi)-lib-soname) for soname if defined.
79096         ($(common-objpfx)gnu/lib-names.stmp): Generate from
79097         abi-variants.
79098         * Makefile (installed-stubs): Likewise.
79099         * include/stubs-biarch.h: Removed.
79100         * scripts/lib-names.awk: Only handle one library at a time.
79101         * scripts/soversions.awk: Remove WORDSIZE support.
79102         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
79103         entries.
79104         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
79105         Removed.
79106         (syscall-list-default-condition): Likewise.
79107         (syscall-list-default-condition): Likewise.
79108         (syscall-list-includes): Likewise.
79109         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
79110         syscall-list-* with abi-*.  Handle undefined abi-variants.
79111         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
79112         * sysdeps/unix/sysv/linux/i386/Implies: New file.
79113         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
79114         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
79115         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
79116         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
79117         Removed.
79118         (syscall-list-32-options): Likewise.
79119         (syscall-list-32-condition): Likewise.
79120         (syscall-list-64-options): Likewise.
79121         (syscall-list-64-condition): Likewise.
79122         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
79123         macro.
79124         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
79125         Renamed to ...
79126         (abi-*): This.
79127         (abi-64-ld-soname): New macro.
79128         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
79129         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
79130         Renamed to ...
79131         (abi-*): This.
79132         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
79133         * sysdeps/x86_64/x32/shlib-versions: Likewise.
79135 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
79137         * sysdeps/unix/sysv/linux/kernel-features.h
79138         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
79139         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
79140         include <kernel-features.h>.
79141         [!__NR_ftruncate64]: Remove conditional code.
79142         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79143         [__NR_ftruncate64]: Make code unconditional.
79144         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79145         * sysdeps/unix/sysv/linux/truncate64.c: Do not
79146         include <kernel-features.h>.
79147         [!__NR_ftruncate64]: Remove conditional code.
79148         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79149         [__NR_ftruncate64]: Make code unconditional.
79150         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
79152         include <kernel-features.h>.
79153         [!__NR_ftruncate64]: Remove conditional code.
79154         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79155         [__NR_ftruncate64]: Make code unconditional.
79156         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
79158         include <kernel-features.h>.
79159         [!__NR_ftruncate64]: Remove conditional code.
79160         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79161         [__NR_ftruncate64]: Make code unconditional.
79162         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79164         * configure.in (libc_cv_fpie): Weaken to a compile test using
79165         LIBC_TRY_CC_OPTION.
79166         * configure: Regenerated.
79168 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
79171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
79172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
79173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
79174         Refreshed.
79175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
79176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
79177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
79178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
79179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
79180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
79181         Refreshed.
79183 2012-05-27  David S. Miller  <davem@davemloft.net>
79185         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
79186         (___Q_zero): New.
79187         (__Q_simulate_exceptions): Return void.  Change to simulate
79188         exceptions by writing into the %fsr.
79189         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
79190         (__Qp_handle_exceptions): Likewise.
79191         (numbers): Delete.
79192         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
79193         __Qp_handle_exceptions.
79194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
79195         __Qp_handle_exceptions.
79196         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79197         as unused and give dummy FP_RND_NEAREST initializer.
79198         (FP_INHIBIT_RESULTS): Define.
79199         (___Q_simulate_exceptions): Update declaration.
79200         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
79201         formatting.
79202         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79203         as unused and give dummy FP_RND_NEAREST initializer.
79204         (__Qp_handle_exceptions): Update declaration.
79205         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
79206         formatting.
79208 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
79210         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
79211         the temporary FPU control word.
79212         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
79213         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
79214         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
79215         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79216         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
79217         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
79218         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
79219         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79220         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
79221         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
79222         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79224 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79226         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
79227         fields.
79229 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
79231         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
79232         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
79233         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
79234         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
79235         Likewise.
79236         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
79237         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
79238         Likewise.
79240 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
79242         * po/h.po: Update from translation team.
79244 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
79246         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
79248         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
79249         handling of denormals.
79250         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79251         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
79252         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79253         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79254         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79255         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
79256         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
79257         Likewise.
79259 2012-05-26  Marek Polacek  <polacek@redhat.com>
79261         [BZ #14152]
79262         * math/libm-test.inc (fma_test): Don't always expect underflow
79263         exception.
79265 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
79267         [BZ #12416]
79268         * elf/tst-execstack.c: Include stackinfo.h.
79269         (do_test): Adjust test case to ensure that pthread_getattr_np
79270         behaviour remains the same after marking stack executable.
79272 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
79274         * sysdeps/unix/sysv/linux/kernel-features.h
79275         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
79276         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
79277         kernel-features.h.
79278         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
79279         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
79280         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
79281         kernel-features.h.
79282         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
79283         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
79285 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
79287         * configure.in: Define the default includes to being none.
79288         * configure: Regenerated.
79290 2012-05-25  Roland McGrath  <roland@hack.frob.com>
79292         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
79293         * sysdeps/x86_64/setjmp.S: Likewise.
79294         * sysdeps/i386/bsd-setjmp.S: Likewise.
79295         * sysdeps/i386/bsd-_setjmp.S: Likewise.
79296         * sysdeps/i386/setjmp.S: Likewise.
79297         * sysdeps/i386/__longjmp.S: Likewise.
79298         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79299         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
79301         * include/stap-probe.h: New file.
79302         * configure.in: Handle --enable-systemtap.
79303         * configure: Regenerated.
79304         * config.h.in (USE_STAP_PROBE): New #undef.
79305         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
79306         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
79307         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
79309 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
79311         [BZ #13717]
79312         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
79313         to 2.4.0 where earlier.
79314         * sysdeps/unix/sysv/linux/configure: Regenerated.
79315         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
79316         <kernel-features.h>.
79317         [__ASSUME_32BITUIDS]: Make code unconditional.
79318         [!__ASSUME_32BITUIDS]: Remove conditional code.
79319         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
79320         <kernel-features.h>.
79321         [__ASSUME_32BITUIDS]: Make code unconditional.
79322         [!__ASSUME_32BITUIDS]: Remove conditional code.
79323         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
79324         [__ASSUME_32BITUIDS]: Make code unconditional.
79325         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
79326         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
79327         <kernel-features.h>.
79328         [__ASSUME_32BITUIDS]: Make code unconditional.
79329         [!__ASSUME_32BITUIDS]: Remove conditional code.
79330         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
79331         <kernel-features.h>.
79332         [__ASSUME_32BITUIDS]: Make code unconditional.
79333         [!__ASSUME_32BITUIDS]: Remove conditional code.
79334         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
79335         <kernel-features.h>.
79336         [__ASSUME_32BITUIDS]: Make code unconditional.
79337         [!__ASSUME_32BITUIDS]: Remove conditional code.
79338         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
79339         <kernel-features.h>.
79340         [__ASSUME_32BITUIDS]: Make code unconditional.
79341         [!__ASSUME_32BITUIDS]: Remove conditional code.
79342         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
79343         <kernel-features.h>.
79344         [__ASSUME_32BITUIDS]: Make code unconditional.
79345         [!__ASSUME_32BITUIDS]: Remove conditional code.
79346         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
79347         <kernel-features.h>.
79348         [__ASSUME_32BITUIDS]: Make code unconditional.
79349         [!__ASSUME_32BITUIDS]: Remove conditional code.
79350         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
79351         <kernel-features.h>.
79352         [__ASSUME_32BITUIDS]: Make code unconditional.
79353         [!__ASSUME_32BITUIDS]: Remove conditional code.
79354         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
79355         <kernel-features.h>.
79356         [__ASSUME_32BITUIDS]: Make code unconditional.
79357         [!__ASSUME_32BITUIDS]: Remove conditional code.
79358         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
79359         <kernel-features.h>.
79360         [__ASSUME_32BITUIDS]: Make code unconditional.
79361         [!__ASSUME_32BITUIDS]: Remove conditional code.
79362         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
79363         <kernel-features.h>.
79364         [__ASSUME_32BITUIDS]: Make code unconditional.
79365         [!__ASSUME_32BITUIDS]: Remove conditional code.
79366         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
79367         <kernel-features.h>.
79368         [__NR_setresgid] (__setresgid): Do not declare.
79369         [__ASSUME_32BITUIDS]: Make code unconditional.
79370         [!__ASSUME_32BITUIDS]: Remove conditional code.
79371         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
79372         <kernel-features.h>.
79373         [__NR_setresuid] (__setresuid): Do not declare.
79374         [__ASSUME_32BITUIDS]: Make code unconditional.
79375         [!__ASSUME_32BITUIDS]: Remove conditional code.
79376         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
79377         <kernel-features.h>.
79378         [__ASSUME_32BITUIDS]: Make code unconditional.
79379         [!__ASSUME_32BITUIDS]: Remove conditional code.
79380         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
79381         <kernel-features.h>.
79382         [__ASSUME_32BITUIDS]: Make code unconditional.
79383         [!__ASSUME_32BITUIDS]: Remove conditional code.
79384         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
79385         <kernel-features.h>.
79386         [__ASSUME_32BITUIDS]: Make code unconditional.
79387         [!__ASSUME_32BITUIDS]: Remove conditional code.
79388         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
79389         <kernel-features.h>.
79390         [__ASSUME_32BITUIDS]: Make code unconditional.
79391         [!__ASSUME_32BITUIDS]: Remove conditional code.
79392         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
79393         <kernel-features.h>.
79394         [__ASSUME_32BITUIDS]: Make code unconditional.
79395         [!__ASSUME_32BITUIDS]: Remove conditional code.
79396         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
79397         <kernel-features.h>.
79398         [__ASSUME_32BITUIDS]: Make code unconditional.
79399         [!__ASSUME_32BITUIDS]: Remove conditional code.
79400         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
79401         <kernel-features.h>.
79402         [__ASSUME_32BITUIDS]: Make code unconditional.
79403         [!__ASSUME_32BITUIDS]: Remove conditional code.
79404         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
79405         <kernel-features.h>.
79406         [__ASSUME_32BITUIDS]: Make code unconditional.
79407         [!__ASSUME_32BITUIDS]: Remove conditional code.
79408         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
79409         <kernel-features.h>.
79410         [__ASSUME_32BITUIDS]: Make code unconditional.
79411         [!__ASSUME_32BITUIDS]: Remove conditional code.
79412         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
79413         <kernel-features.h>.
79414         [__ASSUME_32BITUIDS]: Make code unconditional.
79415         [!__ASSUME_32BITUIDS]: Remove conditional code.
79416         * sysdeps/unix/sysv/linux/kernel-features.h
79417         (__ASSUME_SETRESUID_SYSCALL): Remove.
79418         (__ASSUME_SETRESGID_SYSCALL): Likewise.
79419         (__ASSUME_32BITUIDS): Likewise.
79420         (__ASSUME_LDT_WORKS): Likewise.
79421         (__ASSUME_O_DIRECTORY): Likewise.
79422         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
79423         architecture but not kernel version.
79424         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
79425         (__ASSUME_MMAP2_SYSCALL): Likewise.
79426         (__ASSUME_STAT64_SYSCALL): Likewise.
79427         (__ASSUME_IPC64): Likewise.
79428         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
79429         <kernel-features.h>.
79430         [__ASSUME_32BITUIDS]: Make code unconditional.
79431         [!__ASSUME_32BITUIDS]: Remove conditional code.
79432         * sysdeps/unix/sysv/linux/opendir.c: Do not include
79433         <kernel-features.h>.
79434         [__ASSUME_O_DIRECTORY]: Make code unconditional.
79435         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
79436         132096]: Remove conditional code.
79437         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
79438         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
79439         <kernel-features.h>.
79440         [__ASSUME_32BITUIDS]: Make code unconditional.
79441         [!__ASSUME_32BITUIDS]: Remove conditional code.
79442         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
79443         <kernel-features.h>.
79444         [__ASSUME_32BITUIDS]: Make code unconditional.
79445         [!__ASSUME_32BITUIDS]: Remove conditional code.
79446         * sysdeps/unix/sysv/linux/setegid.c: Do not include
79447         <kernel-features.h>.
79448         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
79449         unconditional.
79450         (__setresgid): Do not declare.
79451         [__ASSUME_32BITUIDS]: Make code unconditional.
79452         [!__ASSUME_32BITUIDS]: Remove conditional code.
79453         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
79454         <kernel-features.h>.
79455         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
79456         unconditional.
79457         (__setresuid): Do not declare.
79458         [__ASSUME_32BITUIDS]: Make code unconditional.
79459         [!__ASSUME_32BITUIDS]: Remove conditional code.
79460         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
79461         <kernel-features.h>.
79462         [__ASSUME_32BITUIDS]: Make code unconditional.
79463         [!__ASSUME_32BITUIDS]: Remove conditional code.
79464         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
79465         <kernel-features.h>.
79466         [__ASSUME_32BITUIDS]: Make code unconditional.
79467         [!__ASSUME_32BITUIDS]: Remove conditional code.
79469 2012-05-25  Richard Henderson  <rth@twiddle.net>
79471         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
79472         dl_hwcap to ifunc resolver.
79473         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
79474         elf_ifunc_invoke.
79475         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
79476         dl_hwcap to ifunc resolver.
79477         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
79479 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79481         [BZ #14153]
79482         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
79483         for |x| <= 2**-26, not 2**-57.
79484         * math/libm-test.inc (acos_test): Do not allow spurious underflow
79485         exception.
79487 2012-05-24  Jeff Law  <law@redhat.com>
79489         * stdio-common/Makefile (tests): Add bug25.
79490         * stdio-common/bug25.c: New test.
79492 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
79494         [BZ #13576]
79495         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
79496         multiple of MALLOC_ALIGNMENT in size.
79497         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
79499 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79501         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
79502         Require >= 256.
79503         (FILENAME_MAX): Use macro-int-constant.
79504         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
79505         (_IOFBF): Use macro-int-constant.
79506         (_IOLBF): Likewise.
79507         (_IONBF): Likewise.
79508         (SEEK_CUR): Likewise.
79509         (SEEK_END): Likewise.
79510         (SEEK_SET): Likewise.
79511         (TMP_MAX): Likewise.
79512         (EOF): Use macro-int-constant.  Require < 0.
79513         (NULL): Use macro-constant.  Require == 0.
79514         (stdin): Require type to be FILE *.
79515         (stdout): Likewise.
79516         (stderr): Likewise.
79517         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
79518         macro-int-constant.
79519         (EXIT_SUCCESS): Likewise.
79520         (NULL): Use macro-constant.  Require == 0.
79521         (RAND_MAX): Use macro-int-constant.
79522         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
79523         [C99-based standards] (strtof): Require function.
79524         [C99-based standards] (strtold): Likewise.
79525         [C99-based standards] (strtoll): Likewise.
79526         [C99-based standards] (strtoull): Likewise.
79527         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79528         [ISO || ISO99 || ISO11] (limits.h): Likewise.
79529         [ISO || ISO99 || ISO11] (math.h): Likewise.
79530         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
79531         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79532         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79534 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
79536         [BZ #14132]
79537         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
79538         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
79539         * intl/dgettext.c (DCGETTEXT): Likewise.
79540         * intl/gettext.c (DCGETTEXT): Likewise.
79541         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
79542         * posix/regex_internal.h (gettext): Likewise.
79543         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
79544         Remove declaration.
79545         * include/argz.h (__argz_count_internal)
79546         (__argz_stringify_internal): Remove declaration.
79547         (__argz_count, __argz_stringify): Declare hidden proto.
79548         * intl/dcgettext.c: Remove use of INTDEF.
79549         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
79550         * string/argz-stringify.c: Likewise.
79551         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79552         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79553         Declare hidden proto.
79554         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79555         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79556         Declare hidden proto.
79557         * include/stdio.h (__asprintf_internal): Don't declare.
79558         (__asprintf): Don't define as macro.  Declare hidden proto.
79559         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
79560         (__fsetlocking): Declare hidden proto.
79561         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
79562         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
79563         hidden proto.
79564         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
79565         (_IO_setlinebuf): Remove use of INTUSE.
79566         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
79567         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
79568         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
79569         Remove declaration.
79570         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
79571         (_IO_do_flush): Remove use of INTUSE.
79572         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
79573         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
79574         (_IO_adjust_column, _IO_least_wmarker)
79575         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
79576         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
79577         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
79578         (_IO_default_doallocate, _IO_wdefault_doallocate)
79579         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
79580         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
79581         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
79582         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
79583         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
79584         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
79585         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
79586         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
79587         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
79588         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
79589         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
79590         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
79591         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
79592         proto.
79593         (_IO_flush_all_internal, _IO_adjust_column_internal)
79594         (_IO_default_uflow_internal, _IO_default_finish_internal)
79595         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
79596         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
79597         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
79598         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
79599         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
79600         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
79601         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
79602         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
79603         (_IO_file_close_internal, _IO_file_close_it_internal)
79604         (_IO_file_underflow_internal, _IO_file_overflow_internal)
79605         (_IO_file_init_internal, _IO_file_attach_internal)
79606         (_IO_file_fopen_internal, _IO_file_read_internal)
79607         (_IO_file_sync_internal, _IO_file_seek_internal)
79608         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
79609         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
79610         (_IO_str_underflow_internal, _IO_str_overflow_internal)
79611         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
79612         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
79613         (_IO_list_all_internal, _IO_link_in_internal)
79614         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
79615         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
79616         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
79617         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
79618         (_IO_do_write_internal, _IO_padn_internal)
79619         (_IO_getline_info_internal, _IO_getline_internal)
79620         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
79621         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
79622         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
79623         (_IO_vfscanf_internal, _IO_vfprintf_internal)
79624         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
79625         (_IO_init_internal, _IO_un_link_internal): Don't declare.
79626         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
79627         with libc_hidden_ver, remove use of INTUSE.
79628         * libio/genops.c: Likewise.
79629         * libio/freopen.c: Likewise.
79630         * libio/freopen64.c: Likewise.
79631         * libio/iofclose.c: Likewise.
79632         * libio/iofdopen.c: Likewise.
79633         * libio/iofflush.c: Likewise.
79634         * libio/iofflush_u.c: Likewise.
79635         * libio/iofgets.c: Likewise.
79636         * libio/iofgets_u.c: Likewise.
79637         * libio/iofopen.c: Likewise.
79638         * libio/iofopncook.c: Likewise.
79639         * libio/iofread.c: Likewise.
79640         * libio/iofread_u.c: Likewise.
79641         * libio/ioftell.c: Likewise.
79642         * libio/iofwrite.c: Likewise.
79643         * libio/iogetline.c: Likewise.
79644         * libio/iogets.c: Likewise.
79645         * libio/iogetwline.c: Likewise.
79646         * libio/iopadn.c: Likewise.
79647         * libio/iopopen.c: Likewise.
79648         * libio/ioseekoff.c: Likewise.
79649         * libio/ioseekpos.c: Likewise.
79650         * libio/iosetbuffer.c: Likewise.
79651         * libio/iosetvbuf.c: Likewise.
79652         * libio/ioungetc.c: Likewise.
79653         * libio/ioungetwc.c: Likewise.
79654         * libio/iovdprintf.c: Likewise.
79655         * libio/iovsprintf.c: Likewise.
79656         * libio/iovsscanf.c: Likewise.
79657         * libio/memstream.c: Likewise.
79658         * libio/obprintf.c: Likewise.
79659         * libio/oldfileops.c: Likewise.
79660         * libio/oldiofclose.c: Likewise.
79661         * libio/oldiofdopen.c: Likewise.
79662         * libio/oldiofopen.c: Likewise.
79663         * libio/oldiopopen.c: Likewise.
79664         * libio/oldstdfiles.c: Likewise.
79665         * libio/putc.c: Likewise.
79666         * libio/setbuf.c: Likewise.
79667         * libio/setlinebuf.c: Likewise.
79668         * libio/stdfiles.c: Likewise.
79669         * libio/strops.c: Likewise.
79670         * libio/vasprintf.c: Likewise.
79671         * libio/vscanf.c: Likewise.
79672         * libio/vsnprintf.c: Likewise.
79673         * libio/vswprintf.c: Likewise.
79674         * libio/wfiledoalloc.c: Likewise.
79675         * libio/wfileops.c: Likewise.
79676         * libio/wgenops.c: Likewise.
79677         * libio/wmemstream.c: Likewise.
79678         * libio/wstrops.c: Likewise.
79679         * libio/__fpurge.c: Likewise.
79680         * libio/__fsetlocking.c: Likewise.
79681         * assert/assert.c: Likewise.
79682         * debug/fgets_chk.c: Likewise.
79683         * debug/fgets_u_chk.c: Likewise.
79684         * debug/fread_chk.c: Likewise.
79685         * debug/fread_u_chk.c: Likewise.
79686         * debug/gets_chk.c: Likewise.
79687         * debug/obprintf_chk.c: Likewise.
79688         * debug/vasprintf_chk.c: Likewise.
79689         * debug/vdprintf_chk.c: Likewise.
79690         * debug/vsnprintf_chk.c: Likewise.
79691         * debug/vsprintf_chk.c: Likewise.
79692         * malloc/mtrace.c: Likewise.
79693         * misc/error.c: Likewise.
79694         * misc/syslog.c: Likewise.
79695         * stdio-common/asprintf.c: Likewise.
79696         * stdio-common/fxprintf.c: Likewise.
79697         * stdio-common/getw.c: Likewise.
79698         * stdio-common/isoc99_fscanf.c: Likewise.
79699         * stdio-common/isoc99_scanf.c: Likewise.
79700         * stdio-common/isoc99_vfscanf.c: Likewise.
79701         * stdio-common/isoc99_vscanf.c: Likewise.
79702         * stdio-common/isoc99_vsscanf.c: Likewise.
79703         * stdio-common/printf-prs.c: Likewise.
79704         * stdio-common/printf_fp.c: Likewise.
79705         * stdio-common/printf_fphex.c: Likewise.
79706         * stdio-common/printf_size.c: Likewise.
79707         * stdio-common/putw.c: Likewise.
79708         * stdio-common/scanf.c: Likewise.
79709         * stdio-common/sprintf.c: Likewise.
79710         * stdio-common/tmpfile.c: Likewise.
79711         * stdio-common/vfprintf.c: Likewise.
79712         * stdio-common/vfscanf.c: Likewise.
79713         * stdlib/strfmon_l.c: Likewise.
79714         * sunrpc/openchild.c: Likewise.
79715         * sunrpc/xdr_stdio.c: Likewise.
79716         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
79717         * sysdeps/mach/hurd/tmpfile.c: Likewise.
79719 2012-05-24  Roland McGrath  <roland@hack.frob.com>
79721         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
79723         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
79724         in the third column, to generate for the shared library an IFUNC
79725         that uses _dl_vdso_vsym.
79726         * Makerules (COMPILE.c, compile-stdin.c): New variables.
79727         * Makeconfig (object-suffixes-noshared): New variable.
79729         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
79730         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
79731         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
79732         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
79734         [BZ #14132]
79735         * include/sys/time.h (__gettimeofday): Remove macro.
79736         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
79737         * time/gettimeofday.c (__gettimeofday): Remove #undef.
79738         Remove INTDEF.
79739         (__gettimeofday): Add libc_hidden_def.
79740         (gettimeofday): Add libc_hidden_weak.
79741         * sysdeps/mach/gettimeofday.c: Likewise.
79742         * sysdeps/posix/gettimeofday.c: Likewise.
79743         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
79744         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
79745         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
79746         (__gettimeofday_internal): Remove strong_alias.
79747         (__gettimeofday): Add libc_hidden_def.
79748         (gettimeofday): Add libc_hidden_weak.
79749         * sysdeps/unix/syscalls.list (gettimeofday):
79750         Remove __gettimeofday_internal alias.
79752 2012-05-24  Daniel Jacobowitz  <drow@false.org>
79753             H.J. Lu  <hongjiu.lu@intel.com>
79755         [BZ #12495]
79756         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
79757         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
79758         (largebin_index_32_big): New.
79759         (largebin_index): Use it for 16-byte alignment.
79760         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
79761         correction with front_misalign.
79763 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
79765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
79766         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
79767         Likewise.
79768         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
79769         Likewise.
79770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
79771         Likewise.
79772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
79773         Likewise.
79774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
79775         Likewise.
79776         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
79777         Likewise.
79778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
79779         Likewise.
79780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
79781         Likewise.
79782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
79783         Likewise.
79784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
79785         Likewise.
79786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
79787         Likewise.
79788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
79789         Likewise.
79791         * scripts/data/c++-types-x32-linux-gnu.data: New file.
79792         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
79794 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79796         [BZ #10846]
79797         [BZ #14036]
79798         * math/libm-test.inc (exp_test): Add test from bug 14036.
79799         (pow_test): Add test from bug 10846.
79801         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
79802         and other flags.
79803         (special_function): Do not include flags in test name.
79804         (parse_args): Likewise.
79805         * sysdeps/i386/fpu/libm-test-ulps: Update.
79806         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79807         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
79808         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
79809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79811         * math/gen-libm-test.pl (%beautify): Add entries for underflow
79812         exceptions.
79813         * math/libm-test.inc ("Philosophy"): Update comment about
79814         exception testing.
79815         (UNDERFLOW_EXCEPTION): New macro.
79816         (UNDERFLOW_EXCEPTION_OK): Likewise.
79817         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
79818         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
79819         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
79820         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
79821         (INVALID_EXCEPTION_OK): Update value.
79822         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79823         (OVERFLOW_EXCEPTION_OK): Likewise.
79824         (IGNORE_ZERO_INF_SIGN): Likewise.
79825         (test_exceptions): Handle underflow exceptions.
79826         (acos_test): Update for underflow exception expectations.
79827         (cexp_test): Likewise.
79828         (clog_test): Likewise.
79829         (clog10_test): Likewise.
79830         (csqrt_test): Likewise.
79831         (ctan_test): Likewise.
79832         (ctanh_test): Likewise.
79833         (exp_test): Likewise.
79834         (exp10_test): Likewise.
79835         (exp2_test): Likewise.
79836         (expm1_test): Likewise.
79837         (fma_test): Likewise.
79838         (j0_test): Likewise.
79839         (jn_test): Likewise.
79840         (nexttoward_test): Likewise.
79841         (pow_test): Likewise.
79842         (scalbn_test): Likewise.
79843         (scalbln_test): Likewise.
79844         (tan_test): Likewise.
79845         (y1_test): Likewise.
79846         * sysdeps/i386/fpu/libm-test-ulps: Update.
79847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79849 2012-05-23  David S. Miller  <davem@davemloft.net>
79851         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79852         (__libc_sigaction): Remove unused local variables.
79854 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79856         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
79858 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
79860         mktime: avoid signed integer overflow
79861         * time/mktime.c (__mktime_internal): Do not mishandle the case
79862         where diff == INT_MIN.
79864         mktime: simplify computation of average
79865         * time/mktime.c (ranged_convert): Use new time_t_avg function
79866         instead of rolling our own (probably-slower) code.
79868         mktime: do not assume signed right shift propagates sign bit
79869         * time/mktime.c (isdst_differ): New static function.
79870         (__mktime_internal): No need to normalize tm_isdst now.
79871         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
79872         tm_isdst values.
79874         mktime: merge another wrapv change from gnulib
79875         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
79876         from some compilers.
79878         mktime: remove incorrect attempt at unusual arithmetics
79879         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
79880         The code didn't really work on such machines anyway.
79881         (TYPE_MINIMUM): Assume two's complement.
79882         (twos_complement_arithmetic): Verify that long_int and time_t
79883         are two's complement (or unsigned, in the latter case).
79885         mktime: check signed shifts on long_int and time_t, too
79886         * time/mktime.c (SHR): Check that shifts work as desired
79887         on the types long_int and time_t too, as SHR is used on
79888         such types.
79890         mktime: do not assume 'long' is wide enough
79891         * time/mktime.c (verify): Move decl up.
79892         (long_int): New type.
79893         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
79894         to remove assumption in the code that 'long' is wide enough to
79895         store year values.  This assumption is not true on x32 and on
79896         some non-glibc platforms.
79898         mktime: merge wrapv change from gnulib
79899         * time/mktime.c (WRAPV): New macro.
79900         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
79901         (guess_time_tm, __mktime_internal): Do not assume that signed
79902         integer overflow wraps around; modern compilers generate code
79903         where this assumption is no longer valid.
79905 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79907         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79908         Replace "jmp L(pseudo_end)" with "ret".
79909         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
79910         Likewise.
79912 2012-05-23  Andreas Jaeger  <aj@suse.de>
79914         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
79915         * sysdeps/unix/sysv/linux/poll.c: Remove file.
79917 2012-05-23  Andreas Jaeger  <aj@suse.de>
79918             Maximilian Attems  <max@stro.at>
79920         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
79921         New macros.
79923 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79925         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
79926         code so that pseudo_end is just ret and the stack pointer is
79927         correct also for static library in error case.
79929 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
79931         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
79932         move to syscalls.list.
79933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
79934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
79935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
79936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
79938         * manual/install.texi (Running make install): Do not mention Linux
79939         kernel version for which pt_chown is not needed.
79940         (Linux): Do not mention problems with nscd with 2.0 kernels.
79941         * INSTALL: Regenerated.
79943 2012-05-23  Andreas Jaeger  <aj@suse.de>
79945         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
79946         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
79947         macro.
79948         * sysdeps/unix/sysv/linux/s390/bits/mman.h
79949         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79950         * sysdeps/unix/sysv/linux/sh/bits/mman.h
79951         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79952         * sysdeps/unix/sysv/linux/i386/bits/mman.h
79953         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79954         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
79955         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79956         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
79957         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79958         * sysdeps/unix/sysv/linux/bits/in.h
79959         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
79961 2012-05-22  Roland McGrath  <roland@hack.frob.com>
79963         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
79964         (PREPARE_VERSION): Just use assert instead, it will be elided
79965         under [NDEBUG] anyway.
79967 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79969         * sysdeps/unix/sysv/linux/Makefile: Include
79970         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
79971         (sysdep_routines): Remove sysctl.
79972         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
79973         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
79974         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
79975         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
79976         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
79978 2012-05-22  Andreas Jaeger  <aj@suse.de>
79980         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
79981         that pseudo_end is just ret and the stack pointer is correct also
79982         for static library in error case.
79984 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
79986         [BZ #14122]
79987         * nss/nsswitch.c (defconfig_entries): New variable.
79988         (__nss_database_lookup): Don't leak defconfig entries.
79989         (nss_parse_service_list): Don't leak on error paths.
79990         (free_database_entries): New function.
79991         (free_defconfig): New function.
79992         (free_mem): Move common code to free_database_entries.
79994 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79996         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
79997         Add arch_prctl.
79998         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
80000         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
80001         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
80002         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
80003         New macro.
80004         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
80005         (INTERNAL_SYSCALL_TYPES): Likewise.
80006         (LOAD_ARGS_TYPES_[1-6]): Likewise.
80007         (LOAD_REGS_TYPES_[1-6]): Likewise.
80008         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
80009         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
80011 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80013         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
80014         copysignl for GLIBC_2_0.
80015         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
80016         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
80017         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
80018         logbl for GLIBC_2_0.
80019         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
80020         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
80022 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80024         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
80025         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80027         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
80028         Use "neg %eax".
80030         * time/mktime.c: Update copyright years.
80032 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
80034         mktime: merge comment-quoting-style change from gnulib
80035         * time/mktime.c: Quote 'like this' in comments.
80036         The GNU coding standards suggest that we no longer quote `like this',
80037         as "`" and "'" are typically rendered asymmetrically nowadays.
80038         The typical gnulib style is to quote 'like this' when quoting
80039         code, and "like this" when quoting English.
80041         * time/mktime.c (compile-command): Add "-I.".
80043         mktime: merge mktime-internal.h change from gnulib
80044         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
80046         mktime: merge time_r change from gnulib
80047         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
80049         mktime: merge DEBUG change from gnulib
80050         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
80051         case system <time.h> has a #define.
80053         mktime: merge <sys/types.h> change from gnulib
80054         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
80055         since <time.t> is now guaranteed to define time_t.
80057         mktime: merge HAVE_CONFIG_H change from gnulib
80058         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
80060 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80062         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
80063         Use "neg %eax".
80065         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
80066         __rlim_t cast.
80067         (struct rusage): Use anonymous union to pad each field to
80068         __syscall_slong_t.
80070 2012-05-21  David S. Miller  <davem@davemloft.net>
80072         * Makefules (o-iterator): Remove .s cases.
80073         (compile-command.s): Delete.
80074         (COMPILE.s): Delete.
80075         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
80077 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
80079         * configure.in (libc_cv_predef_stack_protector): Only consider
80080         "foobar" and "__stack_chk_fail" lines in libc_undefs.
80081         * configure: Regenerated.
80083 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80085         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
80086         New macro.  Use R*LP on int and pointer.
80087         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
80088         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
80089         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
80090         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
80092         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
80093         [__WORDSIZE_TIME64_COMPAT32] instead of
80094         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
80095         (struct utmp): Likewise.
80096         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
80097         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
80098         Renamed to ...
80099         (__WORDSIZE_TIME64_COMPAT32): This.
80100         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
80101         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
80102         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
80103         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
80104         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
80105         (__WORDSIZE_TIME64_COMPAT32): New macro.
80107 2012-05-21  Andreas Jaeger  <aj@suse.de>
80109         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
80110         only if [SHARED]. Add prototype for __wcschr_ia32.
80112 2012-05-21  Roland McGrath  <roland@hack.frob.com>
80114         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
80115         of %rbp unmolested in the jmp_buf while mangling the low bits.
80116         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
80117         unmolested high bits of %rbp while demangling the low bits.
80118         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80120 2012-05-21  Andreas Jaeger  <aj@suse.de>
80122         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
80123         * sunrpc/svc_simple.c: Use it for registerrpc.
80124         * sunrpc/xcrypt.c: Use it for passwd2des.
80126         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
80128 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80130         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
80131         Don't define if [__SYSCALL_WORDSIZE != 32].
80132         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
80133         New macro.
80135 2012-05-21  Bruno Haible  <bruno@clisp.org>
80136             Andreas Jaeger  <aj@suse.de>
80138         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
80139         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
80140         inptr and inend for must_buffer_ch.
80141         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
80142         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
80143         * stdio-common/Makefile (tests): Remove bug15.
80144         (bug15-ENV): Remove macro.
80145         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
80146         anymore.
80148 2012-05-19  Andreas Jaeger  <aj@suse.de>
80149             Roland McGrath  <roland@hack.frob.com>
80151         * manual/contrib.texi: Completely rewritten. It contains now an
80152         alphabetical list of contributors and their contributions.
80154 2012-05-21  Richard Henderson  <rth@twiddle.net>
80156         * misc/getauxval.c (__getauxval): Use unsigned long int.
80157         * misc/sys/auxv.h: Include <sys/cdefs.h>.
80158         (getauxval): Use unsigned long int.
80160 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80162         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80164 2012-05-21  Roland McGrath  <roland@hack.frob.com>
80166         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
80167         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
80168         __alignof__ (long double).
80170 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80174 2012-05-20  Richard Henderson  <rth@twiddle.net>
80176         * misc/getauxval.c: New file.
80177         * misc/sys/auxv.h: New file.
80178         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
80179         (routines): Add getauxval.
80180         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
80181         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
80182         * elf/dl-sysdep.c (_dl_auxv): Remove.
80183         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
80184         * elf/dl-support.c (_dl_auxv): New variable.
80185         (_dl_aux_init): Initialize it.
80186         * manual/startup.texi (Auxiliary Vector): New node.
80187         * sysdeps/generic/bits/hwcap.h: New file.
80188         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
80189         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
80190         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
80191         * sysdeps/sparc/sysdep.h: ... here.  Include it.
80192         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
80193         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
80194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
80195         Update.
80196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
80197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
80198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
80199         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
80200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
80203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
80205 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80209 2012-05-19  David S. Miller  <davem@davemloft.net>
80211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80213 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
80215         [BZ #14123]
80216         * math/s_ccosh.c: Include <float.h>
80217         (__ccosh): Avoid internal overflow calculating sinh and cosh
80218         values before multiplying by sin and cos values.
80219         * math/s_ccoshf.c: Likewise.
80220         * math/s_ccoshl.c: Likewise.
80221         * math/s_csin.c: Likewise.
80222         * math/s_csinf.c: Likewise.
80223         * math/s_csinl.c: Likewise.
80224         * math/s_csinh.c: Likewise.
80225         * math/s_csinhf.c: Likewise.
80226         * math/s_csinhl.c: Likewise.
80227         * math/libm-test.inc (ccos_test): Add more tests.
80228         (ccosh_test): Likewise.
80229         (csin_test): Likewise.
80230         (csinh_test): Likewise.
80231         * sysdeps/i386/fpu/libm-test-ulps: Update.
80232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80234 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
80236         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
80237         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
80239         * sysdeps/x86_64/x32/_itoa.h: Add comment.
80241 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
80243         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
80244         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
80245         * sysdeps/powerpc/soft-fp/Versions: Likewise.
80246         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
80247         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
80248         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
80249         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
80250         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
80251         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
80252         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
80253         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
80254         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
80255         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
80256         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
80257         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
80258         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
80259         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
80260         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
80261         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
80262         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
80263         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
80264         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
80265         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
80266         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
80267         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
80268         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
80269         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
80270         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
80271         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
80272         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
80273         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
80275 2012-05-18  Andreas Jaeger  <aj@suse.de>
80277         * csu/.gitignore: Delete.
80279 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80281         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
80282         (timex): Use __syscall_slong_t.
80284 2012-05-18  Andreas Jaeger  <aj@suse.de>
80285             Carlos O'Donell  <carlos_odonell@mentor.com>
80287         * manual/install.texi (Configuring and compiling): Update
80288         description about files modified in the source directory.
80289         * INSTALL: Regenerated.
80291 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80293         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
80294         value.  Use "or" to set return value to -1.
80295         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
80296         negate return value.
80298 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80300         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
80301         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
80302         failure if the compiler has Graphite support disabled.
80303         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
80304         Likewise.
80305         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
80306         (CFLAGS-memmove.c): Likewise.
80307         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
80308         Likewise.
80310 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80312         * sysdeps/x86_64/x32/_itoa.h: New file.
80314         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
80315         getdents system call only if kernel and user dirents have the
80316         same d_ino and d_off.
80318         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
80319         LLONG_MAX != LONG_MAX.
80320         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80321         (_fitoa_word): Likewise.
80323         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
80324         years.
80325         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
80326         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
80327         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
80329         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
80330         include <bits/wordsize.h>.  Check __x86_64__ instead of
80331         __WORDSIZE.
80332         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
80333         if __x86_64__ is defined.  Use anonymous union on fpstate.
80335         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
80336         anonymous union.
80338 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
80340         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
80341         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
80342         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
80343         Refer to _rtld_local_ro instead of _rtld_global_ro.
80344         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
80345         Likewise.
80346         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
80347         Likewise.
80348         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
80349         Likewise.
80350         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
80351         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
80352         of _rtld_global, and rtld_progname instead of _dl_argv[0].
80354         [BZ #10882]
80355         * sysdeps/powerpc/powerpc32/dl-machine.c
80356         (__elf_machine_runtime_setup) [PROF]: Don't reference
80357         _dl_prof_resolve.
80359 2012-05-18  Andreas Jaeger  <aj@suse.de>
80361         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
80362         function only available for GCCs before 3.4 since GCC 3.4
80363         introduced a builtin.
80364         (lrint): Likewise.
80365         (llrintf): Likewise.
80366         (llrint): Likewise.
80367         (fmaxf): Likewise.
80368         (fmax): Likewise.
80369         (fminf): Likewise.
80370         (fmin): Likewise.
80371         (rint): Likewise.
80372         (rintf): Likewise.
80373         (nearbyint): Likewise.
80374         (nearbyintf): Likewise.
80375         (ceil): Likewise.
80376         (ceilf): Likewise.
80377         (floor): Likewise.
80378         (floorf): Likewise.
80380 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80382         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
80383         on both fields and cast pointer to __syscall_ulong_t.
80385         * bits/types.h (__fsword_t): New type.
80386         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
80387         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
80388         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80389         (__FSWORD_T_TYPE): Likewise.
80390         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80391         (__FSWORD_T_TYPE): Likewise.
80392         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80393         (__FSWORD_T_TYPE): Likewise.
80394         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
80395         (__FSWORD_T_TYPE): Likewise.
80396         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
80397         __SWORD_TYPE with __fsword_t.
80398         (statfs64): Likewise.
80400 2012-05-17  David S. Miller  <davem@davemloft.net>
80402         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
80404 2012-05-17  Andreas Jaeger  <aj@suse.de>
80406         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
80407         warning.
80409 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80411         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
80413 2012-05-17  Andreas Jaeger  <aj@suse.de>
80415         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
80416         when it is used.
80418 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
80420         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
80422 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80424         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
80425         * sysdeps/x86_64/tst-mallocalign1.c: New file.
80427 2012-05-17  Andreas Jaeger  <aj@suse.de>
80428             Carlos O'Donell  <carlos_odonell@mentor.com>
80430         [BZ #14059]
80431         * sysdeps/x86_64/multiarch/init-arch.h
80432         (bit_YMM_Usable): Rename to...
80433         (bit_AVX_Usable): ... this.
80434         (bit_FMA4_Usable): New macro.
80435         (bit_XMM_state): New macro.
80436         (bit_YMM_state): New macro.
80437         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
80438         [__ASSEMBLER__] (index_AVX_Usable): ... this.
80439         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
80440         (CPUID_OSXSAVE): New macro.
80441         (CPUID_AVX): New macro.
80442         (CPUID_FMA4): New macro.
80443         (index_YMM_Usable): Rename to...
80444         (index_AVX_Usable): ... this.
80445         (HAS_AVX): Use HAS_ARCH_FEATURE.
80446         (HAS_FMA4): Likewise.
80447         (HAS_YMM_USABLE): Remove.
80448         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80449         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
80450         are present.
80451         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
80452         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
80453         * sysdeps/x86_64/multiarch/Makefile: Likewise.
80454         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
80455         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
80457 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
80459         * math/libm-test.c: Support platforms without multiple rounding modes.
80460         * math/bug-nextafter.c: Support platforms without FP exceptions.
80461         * math/bug-nexttoward.c: Likewise.
80462         * math/test-fenv.c: Likewise.
80463         * math/test-misc.c: Likewise.
80464         * stdlib/bug-getcontext.c: Likewise.
80466 2012-05-17  Andreas Jaeger  <aj@suse.de>
80468         * manual/examples/search.c (critter_cmp): Change signature to
80469         avoid warnings.
80470         * manual/string.texi (Collation Functions): Likewise.
80472 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80474         * bits/types.h: Fold copyright years.
80475         * bits/typesizes.h: Likewise.
80476         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
80477         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
80478         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
80479         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
80480         * time/time.h: Likewise.
80482 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
80484         [BZ #208]
80485         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
80486         in instead of returning them.  Return void.
80487         (__libc_mallinfo): Accumulate over all arenas.
80488         (__malloc_stats): Adjust for change in int_mallinfo interface.
80490 2012-05-16  Roland McGrath  <roland@hack.frob.com>
80492         [BZ #10375]
80493         * configure.in (NM): Add AC_CHECK_TOOL for it.
80494         (libc_extra_cflags): New substituted variable.
80495         Check for -fstack-protector being used implicitly.
80496         * configure: Regenerated.
80497         * config.make.in (config-extra-cflags): New variable,
80498         gets @libc_extra_cflags@.
80499         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
80501         [BZ #10375]
80502         * configure.in: Check for _FORTIFY_SOURCE being predefined.
80503         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
80504         * configure: Regenerated.
80505         * config.make.in (CPPUNDEFS): New substituted variable.
80506         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
80507         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
80508         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
80510 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80512         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
80513         (mq_attr): Use __syscall_slong_t.
80515 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80517         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
80518         Check __x86_64__ instead of __WORDSIZE.
80519         (_STAT_VER_LINUX): Likewise.
80520         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
80521         __syscall_ulong_t and __syscall_slong_t.
80522         (stat64): Likewise.
80524 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80526         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
80528 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80530         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
80532 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80534         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
80535         __syscall_ulong_t.
80537         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
80538         include <bits/wordsize.h>.  Check __x86_64__ instead of
80539         __WORDSIZE.
80540         (greg_t): Use "__extension__ long long int" if __x86_64__ is
80541         defined.
80542         (mcontext_t): Replace "unsigned long" with "unsigned long long".
80544         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
80545         include <bits/wordsize.h>.  Check __x86_64__ instead of
80546         __WORDSIZE.
80547         (user_regs_struct): Use "__extension__ unsigned long long"
80548         instead of "unsigned long" if __x86_64__ is defined.
80549         (user): Likewise.  Pad after pointer field if __ILP32__ is
80550         defined.
80552 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
80554         * configure.in (makeinfo): Require version 4.5 or later.  Allow
80555         versions 5 to 9.
80556         * configure: Regenerated.
80557         * manual/install.texi (texinfo): Increase version requirement to
80558         4.5 or later.
80559         * INSTALL: Regenerated.
80561         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
80563 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80565         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
80567         * sysdeps/x86_64/x32/ffs.c: New file.
80569         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
80570         __syscall_ulong_t.
80571         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
80572         defined.  Use __syscall_ulong_t.
80573         (shminfo): Use __syscall_ulong_t.
80574         (shm_info): Likewise.
80576         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
80577         __syscall_ulong_t.
80579         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
80580         <bits/wordsize.h>.
80581         (msgqnum_t): Use __syscall_ulong_t.
80582         (msglen_t): Likewise.
80583         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
80584         __syscall_ulong_t.
80586         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
80587         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80589         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
80591         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
80592         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
80594         * sysvipc/sys/msg.h (msgbuf): Replace long int with
80595         __syscall_slong_t.
80597         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
80598         include <bits/wordsize.h>.  Check __x86_64__ instead of
80599         __WORDSIZE.
80601         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
80602         "unsigned long long int" if __x86_64__ is defined.
80603         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
80605         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
80606         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80607         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
80609         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
80610         <stdint.h>.
80611         (GET_PC): Cast to uintptr_t first.
80612         (GET_FRAME): Likewise.
80613         (GET_STACK): Likewise.
80615         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
80616         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
80617         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
80618         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
80619         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
80620         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
80621         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
80622         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
80623         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
80624         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
80625         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
80626         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
80627         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
80628         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
80629         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
80630         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
80631         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
80632         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
80633         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
80634         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
80635         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
80636         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
80637         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
80638         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
80639         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
80640         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
80641         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
80642         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
80643         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
80645 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
80647         * Makerules (+depfiles): Also collect depfiles from .oS in
80648         $(extra-objs).
80649         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
80650         .oS, $(libnldbl-routines)).
80652         * Makerules (native-compile-mkdep-flags): Define.
80653         * sunrpc/Makefile (extra-objs): Add $(addprefix
80654         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
80655         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
80656         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
80657         calling $(make-target-directory).
80659 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80661         * bits/types.h (__snseconds_t): Removed.
80662         * time/time.h (struct timespec): Replace __snseconds_t with
80663         __syscall_slong_t.
80664         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
80665         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
80666         Likewise.
80667         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80668         (__SNSECONDS_T_TYPE): Likewise.
80669         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80670         (__SNSECONDS_T_TYPE): Likewise.
80671         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80672         (__SNSECONDS_T_TYPE): Likewise.
80674 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80676         * sysdeps/mach/hurd/bits/typesizes.h
80677         (__SYSCALL_SLONG_TYPE): New macro.
80678         (__SYSCALL_ULONG_TYPE): Likewise.
80680 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80682         * bits/types.h (__syscall_slong_t): New type.
80683         (__syscall_ulong_t): Likewise.
80685         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
80686         (__SYSCALL_ULONG_TYPE): Likewise.
80687         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80688         (__SYSCALL_SLONG_TYPE): Likewise.
80689         (__SYSCALL_ULONG_TYPE): Likewise.
80690         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80691         (__SYSCALL_SLONG_TYPE): Likewise.
80692         (__SYSCALL_ULONG_TYPE): Likewise.
80693         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80694         (__SYSCALL_SLONG_TYPE): Likewise.
80695         (__SYSCALL_ULONG_TYPE): Likewise.
80697 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80699         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
80700         Add sigaltstack-offsets.sym.
80701         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
80702         <sigaltstack-offsets.h>.
80703         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
80704         longjmp_msg pointer.
80705         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
80706         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
80707         signal stack.
80708         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
80710 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80712         * elf/stackguard-macros.h: Remove file.
80713         * sysdeps/generic/stackguard-macros.h: New file.
80714         * sysdeps/i386/stackguard-macros.h: Likewise.
80715         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
80716         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
80717         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
80718         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
80719         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
80720         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
80721         * sysdeps/x86_64/stackguard-macros.h: Likewise.
80722         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
80723         <elf/stackguard-macros.h>.
80725         [BZ #14109]
80726         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
80727         __aligned__ in attribute.
80728         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
80729         (gregset_t): Likewise.
80731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80733         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
80734         * sysdeps/x86_64/64/Implies-after: Here.  New file.
80735         * sysdeps/x86_64/x32/Implies-after: New file.
80737 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80739         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
80740         and access return value for _dl_profile_fixup.  Use R10_LP to
80741         load frame size.
80743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80745         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
80747 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80749         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
80750         * sysdeps/x86_64/x32/sysdep.h: New file.
80752 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80754         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
80755         * sysdeps/x86_64/setjmp.S: Likewise.
80757 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80759         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
80760         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
80761         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
80762         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
80763         remove unused global constant.
80765 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
80767         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
80768         include of <not-cancel.h>.
80770 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80772         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
80774 2012-05-15  Jeff Law  <law@redhat.com>
80775             Andreas Jaeger  <aj@suse.de>
80777         [BZ #13594]
80778         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
80779         out from...
80780         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
80781         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
80782         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
80783         code changing __hst_map_handle.map.
80785 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80787         * configure.in (sysnames): Look for Implies-before and Implies-after
80788         files.
80789         * configure: Regenerated.
80791 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80793         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
80794         8-byte data alignment with LP_SIZE alignment.
80796 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80798         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
80799         into R10_LP.
80801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80803         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
80805 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80807         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
80808         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
80809         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
80810         Likewise.
80811         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
80813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80815         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
80816         (stackinfo_sub_sp): Likewise.
80818 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80820         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
80821         RAX_LP.
80823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80825         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
80826         into R*_LP.
80828 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80830         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
80831         sizes into R*_LP.
80833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80835         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
80837 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80839         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
80840         into R11_LP and load __x86_64_shared_cache_size_half into
80841         R8_LP.
80843 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80845         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
80846         R8_LP.
80848 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80850         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
80851         logb for POWER7.
80852         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
80853         logbf for POWER7.
80854         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
80855         logbl for POWER7.
80856         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
80857         powerpc32/power7/fpu/s_logb.c via #include.
80858         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
80859         powerpc32/power7/fpu/s_logbf.c via #include.
80860         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
80861         powerpc32/power7/fpu/s_logbl.c via #include.
80863 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80865         * README.libm: Remove file.
80867 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80869         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
80870         count for x32.  Use R*_LP and omit operand-size suffix.
80872 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80874         * shlib-versions: Move x86_64-.*-linux.* entries to ...
80875         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
80876         * sysdeps/x86_64/x32/shlib-versions: New file.
80878 2012-05-14  Roland McGrath  <roland@hack.frob.com>
80880         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
80881         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
80882         Use _dl_fatal_printf instead.
80884 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80886         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
80887         set if not set by the user.  Do not allow for being unset.
80888         * sysdeps/unix/sysv/linux/configure: Regenerated.
80890 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80892         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
80893         the `q' suffix from lea and replace .quad with ASM_ADDR.
80895 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80897         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
80898         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
80899         instead of $17.
80900         (PTR_DEMANGLE): Likewise.
80902 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80904         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
80905         (LP_OP): Likewise.
80906         (ASM_ADDR): Likewise.
80907         (RAX_LP): Likewise.
80908         (RBP_LP): Likewise.
80909         (RBX_LP): Likewise.
80910         (RCX_LP): Likewise.
80911         (RDI_LP): Likewise.
80912         (RSI_LP): Likewise.
80913         (RSP_LP): Likewise.
80914         (R8_LP): Likewise.
80915         (R9_LP): Likewise.
80916         (R10_LP): Likewise.
80917         (R10_LP): Likewise.
80918         (R11_LP): Likewise.
80919         (R12_LP): Likewise.
80920         (R13_LP): Likewise.
80921         (R14_LP): Likewise.
80922         (R15_LP): Likewise.
80924 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80926         * sysdeps/x86_64/x32/dl-machine.h: New file.
80928 2012-05-14  Andreas Jaeger  <aj@suse.de>
80930         * manual/Makefile (subdir): Remove export of subdir.
80931         (all): Remove target.
80932         (.PHONY): Remove all from list.
80933         (mkinstalldirs): Remove.
80934         (.PHONY): Remove installdirs from list.
80935         ($(inst_infodir)/libc.info): Use make-target-directory.
80936         (installdirs): Remove.
80937         (subdir_%): Remove.
80938         (glibc-targets): Remove.
80939         (lib): Remove.
80940         (stubs): Remove.
80941         ($(objpfx)stubs ../po/manual.pot): Remove.
80942         ($(objpfx)stamp%): Remove.
80943         (make-target-directory): Remove.
80944         (subdir_install): Remove.
80945         (routines): Remove.
80946         (aux): Remove.
80947         (sources): Remove.
80948         (objects): Remove.
80949         (headers): Remove.
80951         [BZ #13750]
80952         * manual/.gitignore: Remove, it's not needed anymore.
80953         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
80954         all files in it.
80955         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
80956         directory.
80957         (texis): Renamed to $(objpfx)texis.
80958         (texis-path): New, contains path to generated files.
80959         (chapters.%): Use texis-path for complete path, add extra argument
80960         libc-texinfo.sh.
80961         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
80962         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
80963         (summary,texi, stamp-summary): Use complete path of
80964         files. Generate files in build dir.
80965         (dir-add.texi): Build in build dir.
80966         (libm-err.texi,stamp-libm-err): Likewise.
80967         (version.texi, stamp-version): Likewise.
80968         (.%c.texi): Likewise.
80969         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
80970         (mostlyclean): Remove target.
80971         (realclean): Remove target.
80972         (generated): Add new variable with contents from mostlyclean and
80973         realclean, remove entries duplicated in common-mostlyclean, add
80974         stamp-libm-err and stamp-version.
80975         (generated-dirs): Add libc directory.
80976         ($(inst_infodir)/libc.info): Install files from build dir.
80978         * manual/install.texi (Configuring and compiling): Adjust since
80979         the info files are not part of the tar ball anymore.
80981 2012-05-14  Andreas Jaeger  <aj@suse.de>
80983         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
80984         variable.
80986 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80988         [BZ #13717]
80989         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80990         to 2.2.0 where earlier.
80991         * sysdeps/unix/sysv/linux/configure: Regenerated.
80992         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
80993         Remove conditional code.
80994         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
80995         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
80996         Remove conditional code.
80997         [!__NR_lchown]: Likewise.
80998         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80999         [__NR_lchown]: Likewise.
81000         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
81001         comment referencing __ASSUME_LCHOWN_SYSCALL.
81002         * sysdeps/unix/sysv/linux/i386/sigaction.c
81003         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81004         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81005         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
81006         Remove conditional code.
81007         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
81008         (__protocol_available): Remove #if 0 code.
81009         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
81010         conditional code.
81011         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
81012         * sysdeps/unix/sysv/linux/kernel-features.h
81013         (__ASSUME_GETCWD_SYSCALL): Don't define.
81014         (__ASSUME_REALTIME_SIGNALS): Likewise.
81015         (__ASSUME_PREAD_SYSCALL): Likewise.
81016         (__ASSUME_PWRITE_SYSCALL): Likewise.
81017         (__ASSUME_POLL_SYSCALL): Likewise.
81018         (__ASSUME_LCHOWN_SYSCALL): Likewise.
81019         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
81020         non-SPARC.
81021         (__ASSUME_SIOCGIFNAME): Don't define.
81022         (__ASSUME_MSG_NOSIGNAL): Likewise.
81023         (__ASSUME_SENDFILE): Define unconditionally.
81024         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
81025         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
81026         conditional code.
81027         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
81028         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
81029         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
81030         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81031         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
81032         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
81033         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
81035         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81036         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
81038         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81039         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
81041         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81042         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
81044         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81045         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
81047         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81048         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
81050         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81051         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
81053         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81054         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
81056         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81057         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81058         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
81059         Remove conditional code.
81060         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81061         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
81062         Remove conditional code.
81063         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81064         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
81065         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
81066         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
81067         Remove conditional code.
81068         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81069         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
81070         Remove conditional code.
81071         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81072         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
81073         Remove conditional code.
81074         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81075         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
81076         Remove conditional code.
81077         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81078         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
81079         Remove conditional code.
81080         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81081         * sysdeps/unix/sysv/linux/sh/pwrite64.c
81082         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81083         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81084         * sysdeps/unix/sysv/linux/sigaction.c
81085         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81086         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81087         * sysdeps/unix/sysv/linux/sigpending.c
81088         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81089         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81090         * sysdeps/unix/sysv/linux/sigprocmask.c
81091         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81092         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81093         * sysdeps/unix/sysv/linux/sigsuspend.c
81094         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81095         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81096         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81097         (__libc_missing_rt_sigs): Remove.
81098         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
81099         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
81100         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
81101         Remove conditional code.
81102         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
81103         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
81104         return 1.
81105         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
81106         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
81107         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
81108         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
81110 2012-05-14  Andreas Jaeger  <aj@suse.de>
81112         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
81113         it's not used in glibc.
81114         (__coshm1): Likewise.
81115         (__acosh1p): Likewise.
81116         (__sgn): Likewise.
81118         * manual/string.texi (Copying and Concatenation): Add missing
81119         variable in concat example.
81120         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
81122 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81124         [BZ #14103]
81125         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
81126         __builtin_clzl with __builtin_clzll.
81128 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81130         [BZ #14104]
81131         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
81132         libc_freeres_ptr.
81134 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81136         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
81137         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
81138         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
81139         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
81141 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
81143         * NEWS: Update ia64 info.
81145 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
81147         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
81148         used as bcopy.
81150 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
81152         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
81153         * sysdeps/unix/syscalls.list (dup3): Likewise.
81154         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
81155         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
81157 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81159         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
81160         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
81162 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81164         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
81165         thread pointer.
81166         (TLS_IE): Use mov/add instead of movq/addq to load thread
81167         pointer.
81168         (TLS_GD_PREFIX): New.
81169         (TLS_GD): Use it.
81171 2012-05-11  David S. Miller  <davem@davemloft.net>
81173         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
81174         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
81175         (_FPU_SETCW): Likewise.
81177 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81179         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
81180         is 32-byte aligned.
81182 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
81184         [BZ #11837]
81185         * iconvdata/gb18030.c: Update tables.
81186         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
81187         characters specially.
81188         (BODY for TO_LOOP): Add encoding of missing ranges.
81190 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
81192         [BZ #13673]
81193         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
81194         * sysdeps/mach/hurd/dup3.c: Likewise.
81195         * sysdeps/mach/hurd/readlinkat.c: Likewise.
81196         * sysdeps/powerpc/memmove.c:: Likewise.
81198 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81200         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
81201         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
81203 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81205         * elf/elf.h (R_X86_64_RELATIVE64): New.
81206         (R_X86_64_NUM): Updated.
81207         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
81208         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
81209         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
81210         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
81211         tst-quad1pie tst-quad2pie
81212         (modules-names): Add tst-quadmod1 tst-quadmod2.
81213         ($(objpfx)tst-quad1): New dependency.
81214         ($(objpfx)tst-quad2): Likewise.
81215         ($(objpfx)tst-quad1pie): Likewise.
81216         ($(objpfx)tst-quad2pie): Likewise.
81217         * sysdeps/x86_64/tst-quad1.c: New file.
81218         * sysdeps/x86_64/tst-quad1pie.c: New file.
81219         * sysdeps/x86_64/tst-quad2.c: Likewise.
81220         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
81221         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
81222         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
81223         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
81224         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
81226 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81228         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
81229         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
81230         * streams/stropts.h (t_scalar_t): Define type.
81232         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
81233         (_PATH_PRESERVE): Set to "/var/lib".
81234         (_PATH_RWHODIR): Set to "/var/spool/rwho".
81236         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
81237         instead of int.
81239         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
81240         if __dir_mkfile succeeded.
81242         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
81243         checking for _hurd_dtablesize.  Unlock it right after having
81244         finished _hurd_dtable allocation.
81246 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81248         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
81249         * sysdeps/mach/hurd/configure: Regenerated.
81250         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
81251         special-casing to...
81252         * sysdeps/gnu/configure.in: ... this new file.
81253         * sysdeps/unix/sysv/linux/configure: Regenerated.
81254         * sysdeps/gnu/configure: New generated file.
81256         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
81257         for Linux: use nsec instead of usec, as well as:
81258         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
81259         members of type struct timespec.
81260         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
81261         New macros.
81262         (struct stat64): Likewise.
81263         (_STATBUF_ST_NSEC): New macro.
81264         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
81266         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
81267         __strtoul_internal rather than strtoul.
81269 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81271         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
81272         and reject them.
81274 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81276         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
81277         which preserves existing values.
81278         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
81280 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81282         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
81283         TIMEOUT values.  Return EINVAL for NFDS values either negative or
81284         greater than FD_SETSIZE.
81286 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81288         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
81289         allocated, call __vm_protect to finish enabling the existing space, and
81290         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
81291         allocate the remainder.
81293 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81295         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
81296         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
81298 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81300         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
81301         sysdeps/mach/hurd/readlink.c.
81303         * posix/tst-sysconf.c (posix_options): Only use
81304         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
81305         _POSIX_SYNCHRONIZED_IO when they are defined
81306         * sysdeps/mach/hurd/bits/posix_opt.h:
81307         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
81308         (_XOPEN_REALTIME): Undefine macro.
81309         (_XOPEN_REALTIME_THREADS): Undefine macro.
81310         (_XOPEN_SHM): Undefine macro.
81311         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
81312         macro to -1.
81313         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
81314         macro to -1.
81315         (_POSIX_ASYNC_IO): Undefine macro.
81316         (_POSIX_PRIORITIZED_IO): Undefine macro.
81317         (_POSIX_SPIN_LOCKS): Define macro to -1.
81319         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
81320         SA_NODEFER, SA_RESETHAND.
81321         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
81322         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
81323         F_DUPFD_CLOEXEC.
81325 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81327         * elf/Makefile (pldd-modules): Define unconditionally.
81329 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81331         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
81333 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81335         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
81336         Return ENOENT when name is empty.
81337         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
81339 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81341         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
81343         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
81345 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81347         Fix mlock in all cases except non-readable pages.
81348         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
81349         instead of VM_PROT_ALL as parameter to __vm_wire function.
81351         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
81352         (__mkdir): When path is `/', just fail with EEXIST.
81353         * sysdeps/mach/hurd/mkdirat.c: Likewise.
81355 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81357         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
81358         <sys/uio.h> (for writev).
81359         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
81360         and <sys/param.h> (for MIN).
81362 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81364         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
81365         REQUESTED_TIME.  Properly set the remaining time and return EINTR
81366         if interrupted.
81368 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81370         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
81371         Depend on against $(link-rpcuserlibs).
81373 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81375         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
81376         (__libc_stack_end): Do not use attribute_relro.
81377         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
81378         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
81379         to libthread-provided value.
81380         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
81381         attribute_relro.
81383 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81385         [BZ #3748]
81386         * bits/libc-lock.h (__libc_once_get): New macro.
81387         * sysdeps/mach/bits/libc-lock.h: Likewise.
81388         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
81389         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
81390         instead of using implementation details.
81392         * libio/fileops.c: Unconditionally include <kernel-features.h>.
81393         * libio/freopen.c: Likewise.
81394         * libio/freopen64.c: Likewise.
81395         * misc/syslog.c: Likewise.
81396         * nscd/connections.c: Likewise.
81397         * nscd/netgroupcache.c: Likewise.
81398         * sysdeps/posix/getcwd.c: Likewise.
81400 2012-05-10  Roland McGrath  <roland@hack.frob.com>
81402         * math/w_ilogbf.c: Add #include <limits.h>.
81404 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81406         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
81407         path instead of returning without unlocking.
81409         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
81410         immediate-write ioctls.
81411         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
81413 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81415         * sysdeps/mach/hurd/i386/init-first.c (init): Use
81416         __builtin_frame_address instead of making assumptions about the
81417         location of the return address relative to DATA.  Force early load of
81418         the return address.
81419         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
81420         __builtin_frame_address.
81422         dup3 for GNU Hurd.
81423         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
81424         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
81425         implement dup3 and do some further code clean-ups.
81426         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
81427         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
81429 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81431         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
81433         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
81434         HURD_CRITICAL_END around holding _hurd_dtable_lock.
81435         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
81436         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
81437         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
81438         d->port.lock.
81440         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
81441         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
81442         when handler == SIG_ERR, not when handler != SIG_ERR.
81444 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81446         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
81447         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
81448         definitions.
81450         accept4 for GNU Hurd.
81451         * include/sys/socket.h (__libc_accept4): New prototype.
81452         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
81453         to implement __libc_accept4.
81454         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
81455         __libc_accept4.
81456         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
81458         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
81459         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
81460         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
81461         signal-defines.sym.
81463 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81465         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
81467 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81469         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
81470         assertion on O_CLOEXEC flag.
81471         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
81472         * hurd/intern-fd.c: Likewise.
81473         * hurd/port2fd.c: Likewise.
81475 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81477         [BZ #3906]
81478         * bits/in.h (IPV6_PKTINFO): Define new macro.
81479         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
81481 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81483         [BZ #13954]
81484         [BZ #13955]
81485         [BZ #13956]
81486         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
81487         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
81488         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
81489         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
81490         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
81491         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
81492         * math/libm-test.inc (logb_test) : Additional logb tests.
81494 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
81495             Andreas Jaeger  <aj@suse.de>
81497         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
81498         * configure: Regenerated.
81499         * config.h.in (LINK_OBSOLETE_RPC): New macro.
81500         * config.make.in (link-obsolete-rpc): New substituted variable.
81501         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
81502         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
81503         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81504         (shared-only-routines): Don't set it under [link-obsolete-rpc],
81505         so that libc.a contains the symbols.
81506         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81507         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
81508         * sunrpc/auth_none.c: Likewise.
81509         * sunrpc/auth_unix.c: Likewise.
81510         * sunrpc/authdes_prot.c: Likewise.
81511         * sunrpc/authuxprot.c: Likewise.
81512         * sunrpc/clnt_gen.c: Likewise.
81513         * sunrpc/clnt_perr.c: Likewise.
81514         * sunrpc/clnt_raw.c: Likewise.
81515         * sunrpc/clnt_simp.c: Likewise.
81516         * sunrpc/clnt_tcp.c: Likewise.
81517         * sunrpc/clnt_udp.c: Likewise.
81518         * sunrpc/clnt_unix.c: Likewise.
81519         * sunrpc/des_crypt.c: Likewise.
81520         * sunrpc/des_soft.c: Likewise.
81521         * sunrpc/get_myaddr.c: Likewise.
81522         * sunrpc/key_call.c: Likewise.
81523         * sunrpc/key_prot.c: Likewise.
81524         * sunrpc/netname.c: Likewise.
81525         * sunrpc/pm_getmaps.c: Likewise.
81526         * sunrpc/pm_getport.c: Likewise.
81527         * sunrpc/pmap_clnt.c: Likewise.
81528         * sunrpc/pmap_prot.c: Likewise.
81529         * sunrpc/pmap_prot2.c: Likewise.
81530         * sunrpc/pmap_rmt.c: Likewise.
81531         * sunrpc/publickey.c: Likewise.
81532         * sunrpc/rpc_cmsg.c: Likewise.
81533         * sunrpc/rpc_common.c: Likewise.
81534         * sunrpc/rpc_dtable.c: Likewise.
81535         * sunrpc/rpc_prot.c: Likewise.
81536         * sunrpc/rpc_thread.c: Likewise.
81537         * sunrpc/rtime.c: Likewise.
81538         * sunrpc/svc.c: Likewise.
81539         * sunrpc/svc_auth.c: Likewise.
81540         * sunrpc/svc_raw.c: Likewise.
81541         * sunrpc/svc_run.c: Likewise.
81542         * sunrpc/svc_tcp.c: Likewise.
81543         * sunrpc/svc_udp.c: Likewise.
81544         * sunrpc/svc_unix.c: Likewise.
81545         * sunrpc/svcauth_des.c: Likewise.
81546         * sunrpc/xcrypt.c: Likewise.
81547         * sunrpc/xdr.c: Likewise.
81548         * sunrpc/xdr_array.c: Likewise.
81549         * sunrpc/xdr_float.c: Likewise.
81550         * sunrpc/xdr_intXX_t.c: Likewise.
81551         * sunrpc/xdr_mem.c: Likewise.
81552         * sunrpc/xdr_rec.c: Likewise.
81553         * sunrpc/xdr_ref.c: Likewise.
81554         * sunrpc/xdr_sizeof.c: Likewise.
81555         * sunrpc/xdr_stdio.c: Likewise.
81557 2012-05-10  Roland McGrath  <roland@hack.frob.com>
81559         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
81560         change.  Update copyright years.
81562 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
81564         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
81566 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
81567             Joseph Myers  <joseph@codesourcery.com>
81568             Paul Pluzhnikov  <ppluzhnikov@google.com>
81570         [BZ #14012]
81571         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
81572         requiring rpcgen.
81573         [cross-compiling] (extra-libs): Likewise.
81574         [cross-compiling] (extra-libs-others): Likewise.
81575         [cross-compiling] (librpcsvc-routines): Likewise.
81576         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
81577         [cross-compiling] (omit-deps): Likewise.
81578         (sunrpc-CPPFLAGS): New variable.
81579         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
81580         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
81581         (cross-rpcgen-objs): New variable.
81582         (extra-objs): Append $(cross-rpcgen-objs).
81583         ($(cross-rpcgen-objs)): New rule.
81584         ($(objpfx)cross-rpcgen): Likewise.
81585         (rpcgen-cmd): Define to use $(built-program-file).  Expand
81586         comment.
81587         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
81588         ($(objpfx)x%.stmp): Likewise.
81589         * sunrpc/proto.h [IS_IN_build] (_): Define.
81590         [IS_IN_build] (_libc_intl_domainname): Likewise.
81592 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81594         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
81595         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
81596         and R_X86_64_TPOFF64.
81598 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
81600         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
81601         sysdeps/unix/sysv/syscalls.list.
81602         (stime): Likewise.
81603         (utime): Likewise.
81604         * sysdeps/unix/sysv/syscalls.list: Remove file.
81606 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
81608         [BZ #3440]
81609         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
81610         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
81611         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
81612         (__LC_IDENTIFICATION): Make these macros useful in #if
81613         expressions, as required by C99.
81615 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
81617         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
81618         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
81619         after this.
81621 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
81623         * stdlib/longlong.h: Updated from GCC.
81625 2012-05-09  Andreas Jaeger  <aj@suse.de>
81627         * nscd/nscd.c (run_modes): Make named enum, reorder so that
81628         default is first entry.
81629         (run_mode): Set type.
81630         (main): Remove informal message about syslog.
81631         (options): Fix typo.
81633         [BZ #14053]
81634         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
81635         to asm.
81636         (lrint): Likewise.
81637         (llrintf): Likewise.
81638         (llrint): Likewise.
81639         (rint): Likewise.
81640         (rintf): Likewise.
81641         (nearbyint): Likewise.
81642         (nearbyintf): Likewise.
81644 2012-05-09  Andreas Jaeger  <aj@suse.de>
81645             Pedro Alves  <palves@redhat.com>
81647         * nscd/nscd.c (run_mode): Use enum.
81648         (main): Cleanup coding style issue.
81650 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
81651             Andreas Jaeger  <aj@suse.de>
81653         * nscd/nscd.c (go_background): Replaced with...
81654         (run_mode): ... this.
81655         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
81656         (options): Add -F --foreground.
81657         (main): Implement it.
81658         (parse_opt): Parse it.
81660 2012-05-09  Andreas Jaeger  <aj@suse.de>
81662         [BZ #14083]
81663         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
81664         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
81665         -Wconversion warning.
81666         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
81667         Likewise.
81669 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
81671         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
81672         == 0.
81673         (LC_ALL): Use macro-int-constant.
81674         (LC_COLLATE): Likewise.
81675         (LC_CTYPE): Likewise.
81676         (LC_MESSAGES): Likewise.
81677         (LC_MONETARY): Likewise.
81678         (LC_NUMERIC): Likewise.
81679         (LC_TIME): Likewise.
81680         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
81681         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81682         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81683         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
81684         Specify type.
81685         [C99-based standards] (float_t): Expect type.
81686         [C99-based standards] (double_t): Expect type.
81687         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
81688         type.
81689         [C99-based standards] (HUGE_VALL): Likewise.
81690         [C99-based standards] (INFINITY): Likewise.
81691         [C99-based standards] (NAN): Likewise.
81692         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
81693         [C99-based standards] (FP_NAN): Likewise.
81694         [C99-based standards] (FP_NORMAL): Likewise.
81695         [C99-based standards] (FP_SUBNORMAL): Likewise.
81696         [C99-based standards] (FP_ZERO): Likewise.
81697         [C99-based standards] (FP_FAST_FMA): Use
81698         optional-macro-int-constant.  Specify type.  Require == 1.
81699         [C99-based standards] (FP_FAST_FMAF): Likewise.
81700         [C99-based standards] (FP_FAST_FMAL): Likewise.
81701         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
81702         [C99-based standards] (FP_ILOGBNAN): Likewise.
81703         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
81704         Specify type.
81705         [C99-based standards] (MATH_ERREXCEPT): Likewise.
81706         [C99-based standards] (math_errhandling): Specify type.
81707         [ISO99 || ISO11] (signgam): Do not allow.
81708         [non-C99-based standards] (copysignf): Do not allow.
81709         [non-C99-based standards] (exp2f): Likewise.
81710         [non-C99-based standards] (log2f): Likewise.
81711         [non-C99-based standards] (modff): Allow.
81712         [non-C99-based standards] (erff): Do not allow.
81713         [non-C99-based standards] (erfcf): Likewise.
81714         [non-C99-based standards] (gammaf): Likewise.
81715         [non-C99-based standards] (hypotf): Likewise.
81716         [non-C99-based standards] (j0f): Likewise.
81717         [non-C99-based standards] (j1f): Likewise.
81718         [non-C99-based standards] (jnf): Likewise.
81719         [non-C99-based standards] (lgammaf): Likewise.
81720         [non-C99-based standards] (tgammaf): Likewise.
81721         [non-C99-based standards] (y0f): Likewise.
81722         [non-C99-based standards] (y1f): Likewise.
81723         [non-C99-based standards] (ynf): Likewise.
81724         [non-C99-based standards] (isnanf): Likewise.
81725         [non-C99-based standards] (acoshf): Likewise.
81726         [non-C99-based standards] (asinhf): Likewise.
81727         [non-C99-based standards] (atanhf): Likewise.
81728         [non-C99-based standards] (cbrtf): Likewise.
81729         [non-C99-based standards] (expm1f): Likewise.
81730         [non-C99-based standards] (ilogbf): Likewise.
81731         [non-C99-based standards] (log1pf): Likewise.
81732         [non-C99-based standards] (logbf): Likewise.
81733         [non-C99-based standards] (nextafterf): Likewise.
81734         [non-C99-based standards] (remainderf): Likewise.
81735         [non-C99-based standards] (rintf): Likewise.
81736         [non-C99-based standards] (scalbf): Likewise.
81737         [non-C99-based standards] (copysignl): Likewise.
81738         [non-C99-based standards] (exp2l): Likewise.
81739         [non-C99-based standards] (log2l): Likewise.
81740         [non-C99-based standards] (modfl): Allow.
81741         [non-C99-based standards] (erfl): Do not allow.
81742         [non-C99-based standards] (erfcl): Likewise.
81743         [non-C99-based standards] (gammal): Likewise.
81744         [non-C99-based standards] (hypotl): Likewise.
81745         [non-C99-based standards] (j0l): Likewise.
81746         [non-C99-based standards] (j1l): Likewise.
81747         [non-C99-based standards] (jnl): Likewise.
81748         [non-C99-based standards] (lgammal): Likewise.
81749         [non-C99-based standards] (tgammal): Likewise.
81750         [non-C99-based standards] (y0l): Likewise.
81751         [non-C99-based standards] (y1l): Likewise.
81752         [non-C99-based standards] (ynl): Likewise.
81753         [non-C99-based standards] (isnanl): Likewise.
81754         [non-C99-based standards] (acoshl): Likewise.
81755         [non-C99-based standards] (asinhl): Likewise.
81756         [non-C99-based standards] (atanhl): Likewise.
81757         [non-C99-based standards] (cbrtl): Likewise.
81758         [non-C99-based standards] (expm1l): Likewise.
81759         [non-C99-based standards] (ilogbl): Likewise.
81760         [non-C99-based standards] (log1pl): Likewise.
81761         [non-C99-based standards] (logbl): Likewise.
81762         [non-C99-based standards] (nextafterl): Likewise.
81763         [non-C99-based standards] (remainderl): Likewise.
81764         [non-C99-based standards] (rintl): Likewise.
81765         [non-C99-based standards] (scalbl): Likewise.
81766         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81767         [non-C99-based standards] (FP_*): Do not allow.
81768         [C99-based standards] (FP_*): Change to
81769         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81770         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81771         allow.
81772         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
81773         (SIG_ERR): Likewise.
81774         [X/Open-based standards] (SIG_HOLD): Likewise.
81775         (SIG_IGN): Likewise.
81776         (SIGABRT): Use macro-int-constant.  Specify type.  Require
81777         positive value.
81778         (SIGFPE): Likewise.
81779         (SIGILL): Likewise.
81780         (SIGINT): Likewise.
81781         (SIGSEGV): Likewise.
81782         (SIGTER): Likewise.
81783         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
81784         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
81785         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
81786         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
81787         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
81788         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
81789         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
81790         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
81791         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
81792         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
81793         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
81794         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
81795         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
81796         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
81797         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
81798         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
81799         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
81800         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
81801         [X/Open-based standards] (SIGTRAP): Likewise.
81802         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
81803         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
81804         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
81805         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
81806         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81807         allow.
81809 2012-05-08  Ian Wienand  <ianw@vmware.com>
81811         [BZ #14080]
81812         * time/tzset.c (__tzset_parse_tz): Update default rules for
81813         daylight time changes in the Energy Policy Act of 2005.
81815 2012-05-09  Andreas Jaeger  <aj@suse.de>
81817         [BZ #13983]
81818         * elf/ldconfig.c (parse_conf): Change string to make clear that
81819         ldconfig only issued a warning if ld.so.conf does not exist.
81821 2012-05-08  David S. Miller  <davem@davemloft.net>
81823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
81824         movxtod instead of popping the value on the stack.
81826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81828 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
81830         * config.h.in: Add HAVE_ARM_PCS_VFP.
81832 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
81834         [BZ #13979]
81835         * include/features.h: Warn if user requests __FORTIFY_SOURCE
81836         checking but the checks are disabled for any reason.
81838 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
81840         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
81841         and ELF64_R_TYPE with ELFW(R_TYPE).
81843 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
81845         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
81846         (ulimit): Likewise.
81848         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
81849         (settimeofday): Likewise.
81851 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
81853         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
81854         a struct th_u2 inside the union, and move tu_block/tu_code into
81855         a new th_u3 union of tu_block/tu_code inside of that.  Move
81856         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
81857         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
81858         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
81859         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
81860         (th_stuff): Change to th_u1.tu_stuff.
81861         (th_data): Define.
81862         (th_msg): Change to th_u1.th_u2.tu_data.
81864 2012-05-07  David S. Miller  <davem@davemloft.net>
81866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81868         [BZ #14074]
81869         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
81870         (SETUP_PIC_REG): Use it.
81871         (SETUP_PIC_REG_LEAF): Use it.
81873 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
81875         [BZ #13885]
81876         [BZ #13923]
81877         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81878         USE_AS_EXPM1L.
81879         (EXPL_FINITE): Likewise.
81880         (FLDLOG): Likewise.
81881         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81882         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81883         e_expl.S.
81884         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81885         USE_AS_EXPM1L.
81886         (EXPL_FINITE): Likewise.
81887         (FLDLOG): Likewise.
81888         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81889         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81890         e_expl.S.
81891         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
81892         test of -max_value argument for long double.
81893         * sysdeps/i386/fpu/libm-test-ulps: Update.
81894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81896 2012-05-06  David S. Miller  <davem@davemloft.net>
81898         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
81899         quad soft-float symbols whose references which are compiler
81900         generated.
81901         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81903 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
81905         [BZ #13884]
81906         [BZ #13914]
81907         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81908         USE_AS_EXP10L.
81909         (EXPL_FINITE): Likewise.
81910         (FLDLOG): Likewise.
81911         (c0): Likewise.
81912         (c1): Likewise.
81913         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81914         Adjust comments for base varying.
81915         (__expl_finite): Change alias to EXPL_FINITE.
81916         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
81917         e_expl.S.
81918         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
81919         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
81920         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
81921         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
81922         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81923         USE_AS_EXP10L.
81924         (EXPL_FINITE): Likewise.
81925         (FLDLOG): Likewise.
81926         (c0): Likewise.
81927         (c1): Likewise.
81928         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81929         Adjust comments for base varying.
81930         (__expl_finite): Change alias to EXPL_FINITE.
81931         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
81932         tests for bugs.
81933         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81935         [BZ #14064]
81936         * math/libm-test.inc (check_float_internal): Correct ulp
81937         calculation for subnormal expected results.
81939 2012-05-06  Andreas Jaeger  <aj@suse.de>
81941         * Makeconfig (+math-flags): New, set to -frounding-math.
81942         (+cflags): Add +math-flags so that all of glibc gets compiled with
81943         it.
81945         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
81947 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
81949         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
81950         Disable one test.
81952         [BZ #13787]
81953         [BZ #13922]
81954         [BZ #14036]
81955         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
81956         (__ieee754_expl): Allow for and saturate large arguments.
81957         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
81958         (u_threshold): Likewise.
81959         (__exp): Call __ieee754_exp before checking for overflow and
81960         underflow.
81961         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
81962         (u_threshold): Likewise.
81963         (__expf): Call __ieee754_expf before checking for overflow and
81964         underflow.
81965         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
81966         (u_threshold): Likewise.
81967         (__expl): Call __ieee754_expl before checking for overflow and
81968         underflow.
81969         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
81970         (__ieee754_expl): Allow for and saturate large arguments.
81971         * math/libm-test.inc (exp_test): Add another test.  Do not allow
81972         missing overflow exception on overflow.
81973         (expm1_test): Do not allow missing overflow exception on overflow.
81975         * sysdeps/i386/fpu/e_expl.c: Move to ...
81976         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
81977         rather than using inline asm.
81978         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
81979         * sysdeps/x86_64/fpu/e_expl.S: Copy from
81980         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
81982         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
81983         (nice): Likewise.
81984         (poll): Likewise.
81985         (signal): Likewise.
81986         (time): Likewise.
81987         (times): Likewise.
81989 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81991         * sysdeps/unix/syscalls.list (adjtime): Add entry from
81992         sysdeps/unix/common/syscalls.list.
81993         (fchmod): Likewise.
81994         (fchown): Likewise.
81995         (ftruncate): Likewise.
81996         (getrusage): Likewise.
81997         (gettimeofday): Likewise.
81998         (setpgid): Likewise.
81999         (setregid): Likewise.
82000         (setreuid): Likewise.
82001         (sigaction): Likewise.
82002         (truncate): Likewise.
82003         (vhangup): Likewise.
82004         * sysdeps/unix/common/syscalls.list: Remove file.
82005         * sysdeps/unix/bsd/Implies: Don't include unix/common.
82006         * sysdeps/unix/sysv/linux/Implies: Likewise.
82008 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
82010         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
82011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
82012         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
82013         Moved to ...
82014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
82015         Here.
82016         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
82017         to ...
82018         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
82019         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
82020         to ...
82021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
82022         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
82023         to ...
82024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
82025         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
82026         to ...
82027         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
82028         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
82029         to ...
82030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
82031         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
82032         to ...
82033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
82034         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
82035         to ...
82036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
82037         Here.
82038         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
82039         to ...
82040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
82041         Here.
82042         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
82043         to ...
82044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
82045         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
82046         Moved to ...
82047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
82048         Here.
82049         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
82050         to ...
82051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
82053 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
82055         * sysdeps/unix/common/bits/dirent.h: Remove file.
82056         * sysdeps/unix/common/bits/fcntl.h: Likewise.
82058         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
82059         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
82060         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
82061         * sysdeps/unix/bsd/isatty.c: Likewise.
82062         * sysdeps/unix/bsd/tcdrain.c: Likewise.
82063         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
82064         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
82066 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82068         [BZ #13563]
82069         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
82070         long double comparison inaccuracies.
82071         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
82072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82074 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
82076         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
82077         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
82079 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
82081         [BZ #14049]
82082         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
82083         nonzero digits before rounding a hex value.
82084         * stdlib/tst-strtod.c (tests): Add another test.
82086 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82088         * sysdeps/s390/fpu/libm-test-ulps: Update.
82090 2012-05-03  Andreas Jaeger  <aj@suse.de>
82092         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
82093         does not get optimized out.
82094         (malloc_opt_barrier): New.
82096 2012-05-03  Andreas Jaeger  <aj@suse.de>
82097             Roland McGrath  <roland@hack.frob.com>
82099         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
82100         intermediate file deletion.
82101         (generated): Add .symlist files.
82103 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
82105         [BZ #13775]
82106         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
82107         Redirect under this condition.
82108         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
82109         [__USE_GNU] (__dprintf_chk): Not under this condition.
82110         [__USE_GNU] (__vdprintf_chk): Likewise.
82111         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
82112         under this condition.
82113         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
82114         [__USE_XOPEN2K8] (dprintf): Define under this condition.
82115         [__USE_XOPEN2K8] (vdprintf): Likewise.
82116         [__USE_GNU] (__dprintf_chk): Not under this condition.
82117         [__USE_GNU] (__vdprintf_chk): Likewise.
82118         [__USE_GNU] (dprintf): Likewise.
82119         [__USE_GNU] (vdprintf): Likewise.
82121 2012-05-03  Roland McGrath  <roland@hack.frob.com>
82123         * elf/Makefile (common-generated): Set this instead of generated for
82124         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
82125         $(all-built-dso)-derived lists.
82127 2012-05-03  Andreas Jaeger  <aj@suse.de>
82129         * sysdeps/i386/fpu/libm-test-ulps: Update.
82131         * FAQ: Removed.
82132         * FAQ.in: Likewise.
82133         * scripts/gen-FAQ.pl: Likewise.
82134         * manual/install.texi (Installation): Point to online location of
82135         FAQ.
82136         * Makefile (files-for-dist): Remove FAQ.
82137         (FAQ): Remove.
82139 2012-05-02  Allan McRae  <allan@archlinux.org>
82141         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
82142         (LDFLAGS-reldepmod5.so): Likewise.
82143         (LDFLAGS-reldep6mod1.so): Likewise.
82144         (LDFLAGS-reldep6mod4.so): Likewise.
82145         (LDFLAGS-reldep8mod3.so): Likewise.
82146         (LDFLAGS-unload4mod1.so): Likewise.
82147         (LDFLAGS-unload4mod2.so): Likewise.
82148         (LDFLAGS-tst-initorder): Likewise.
82149         (LDFLAGS-tst-initordera2.so): Likewise.
82150         (LDFLAGS-tst-initordera3.so): Likewise.
82151         (LDFLAGS-tst-initordera4.so): Likewise.
82152         (LDFLAGS-tst-initorderb2.so): Likewise.
82153         (LDFLAGS-noload): Likewise.
82154         (LDFLAGS-next): Likewise.
82155         (LDFLAGS-order2mod1.so): Likewise.
82156         (LDFLAGS-order2mod2.so): Likewise.
82157         (LDFLAGS-tst-initorder2): Likewise.
82158         (LDFLAGS-tst-initorder2a.so): Likewise.
82159         (LDFLAGS-tst-initorder2b.so): Likewise.
82160         (LDFLAGS-tst-initorder2c.so): Likewise.
82161         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
82163 2012-05-02  David S. Miller  <davem@davemloft.net>
82165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82167 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
82169         [BZ #14055]
82170         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
82172 2012-05-02  Andreas Jaeger  <aj@suse.de>
82174         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
82175         since we manipulate rounding mode.
82176         (CPPFLAGS-test-idouble.c): Likewise.
82177         (CPPFLAGS-test-ifloat.c): Likewise.
82178         (CFLAGS-test-ldouble.c): Likewise.
82179         (CFLAGS-test-double.c): Likewise.
82180         (CFLAGS-test-float.c): Likewise.
82181         (CFLAGS-test-misc.c): Likewise.
82182         (CFLAGS-test-test-fenv.c): Likewise.
82184 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82186         [BZ #2550]
82187         [BZ #2570]
82188         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
82189         comparisons to determine direction to adjust input.
82191 2012-05-01  Roland McGrath  <roland@hack.frob.com>
82193         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
82194         output to the target.
82196         * scripts/localplt.awk: New file.
82197         * elf/Makefile ($(objpfx)check-localplt): Target removed.
82198         (check-localplt-CFLAGS): Variable removed.
82199         ($(all-built-dso:=.jmprel)): New static pattern rule.
82200         (generated): Add those targets.
82201         (localplt-built-dso): New variable.
82202         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
82204         * elf/check-localplt.c: File removed.
82206         * scripts/check-execstack.awk: New file.
82207         * elf/Makefile ($(objpfx)check-execstack): Target removed.
82208         (check-execstack-CFLAGS): Variable removed.
82209         ($(objpfx)check-execstack.h): Target removed.
82210         ($(objpfx)execstack-default): New target.
82211         (generated): Add that instead of check-execstack.h.
82212         ($(all-built-dso:=.phdr)): New static pattern rule.
82213         (generated): Add those targets.
82214         * elf/check-execstack.c: File removed.
82216         * scripts/check-textrel.awk: New file.
82217         * elf/Makefile ($(objpfx)check-textrel): Target removed.
82218         (check-textrel-CFLAGS): Variable removed.
82219         (all-built-dso): Use := to define.o
82220         ($(all-built-dso:=.dyn)): New static pattern rule.
82221         (generated): Add those targets.
82222         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
82223         * config.make.in (READELF): New substituted variable.
82224         * elf/check-textrel.c: File removed.
82226 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
82228         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82229         allow.
82230         * conform/data/ctype.h-data [C99-based standards] (isblank):
82231         Expect function.
82232         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
82233         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
82234         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82235         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
82236         Specify type.  Require positive value.
82237         (EILSEQ): Likewise.
82238         (ERANGE): Likewise.
82239         [ISO || POSIX] (EILSEQ): Do not expect.
82240         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
82241         Specify type.  Require positive value.
82242         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
82243         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
82244         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
82245         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
82246         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
82247         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
82248         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
82249         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
82250         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
82251         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
82252         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
82253         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
82254         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
82255         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
82256         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
82257         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
82258         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
82259         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
82260         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
82261         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
82262         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
82263         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
82264         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
82265         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
82266         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
82267         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
82268         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
82269         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
82270         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
82271         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
82272         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
82273         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
82274         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
82275         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
82276         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
82277         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
82278         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
82279         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
82280         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
82281         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
82282         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
82283         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
82284         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
82285         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
82286         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
82287         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
82288         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
82289         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
82290         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
82291         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
82292         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
82293         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
82294         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
82295         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
82296         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
82297         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
82298         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
82299         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
82300         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
82301         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
82302         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
82303         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
82304         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
82305         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
82306         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
82307         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
82308         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
82309         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
82310         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
82311         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
82312         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
82313         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
82314         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
82315         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
82316         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
82317         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
82318         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
82319         Require >= 2.
82320         (FLT_ROUNDS): Expect as macro, not constant.
82321         (FLT_MANT_DIG): Use macro-int-constant.
82322         (DBL_MANT_DIG): Likewise.
82323         (LDBL_MANT_DIG): Likewise.
82324         (FLT_DIG): Likewise.
82325         (DBL_DIG): Likewise.
82326         (LDBL_DIG): Likewise.
82327         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
82328         (DBL_MIN_EXP): Likewise.
82329         (LDBL_MIN_EXP): Likewise.
82330         (FLT_MAX_EXP): Use macro-int-constant.
82331         (DBL_MAX_EXP): Likewise.
82332         (LDBL_MAX_EXP): Likewise.
82333         (FLT_MAX_10_EXP): Likewise.
82334         (DBL_MAX_10_EXP): Likewise.
82335         (LDBL_MAX_10_EXP): Likewise.
82336         (FLT_MAX): Use macro-constant.
82337         (DBL_MAX): Likewise.
82338         (LDBL_MAX): Likewise.
82339         (FLT_EPSILON): Use macro-constant.  Give upper bound.
82340         (DBL_EPSILON): Likewise.
82341         (LDBL_EPSILON): Likewise.
82342         (FLT_MIN): Likewise.
82343         (DBL_MIN): Likewise.
82344         (LDBL_MIN): Likewise.
82345         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
82346         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
82347         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
82348         [ISO11] (FLT_HAS_SUBNORM): Likewise.
82349         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
82350         [ISO11] (DBL_DECIMAL_DIG): Likewise.
82351         [ISO11] (FLT_DECIMAL_DIG): Likewise.
82352         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
82353         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
82354         [ISO11] (FLT_TRUE_MIN): Likewise.
82355         [ISO11] (LDBL_TRUE_MIN): Likewise.
82356         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82357         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
82358         (SCHAR_MIN): Use macro-int-constant.  Specify type.
82359         (SCHAR_MAX): Likewise.
82360         (UCHAR_MAX): Likewise.
82361         (CHAR_MIN): Likewise.
82362         (CHAR_MAX): Likewise.
82363         (MB_LEN_MAX): Use macro-int-constant.
82364         (SHRT_MIN): Use macro-int-constant.  Specify type.
82365         (SHRT_MAX): Likewise.
82366         (USHRT_MAX): Likewise.
82367         (INT_MAX): Likewise.
82368         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
82369         bound negative.
82370         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82371         bound with "U".
82372         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82373         bound with "L".
82374         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
82375         bound negative.  Suffix upper bound with "L".
82376         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82377         bound with "UL".
82378         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
82379         Specify type.
82380         [C99-based standards] (LLONG_MAX): Likewise.
82381         [C99-based standards] (ULLONG_MAX): Likewise.
82382         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
82383         == 0.
82384         [ISO11] (max_align_t): Require type.
82385         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82387         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
82388         from $CFLAGS, without defining away __attribute__ calls.
82389         (checknamespace): Use $CFLAGS_namespace.
82391         * conform/conformtest.pl (@keywords): Only include C99 keywords
82392         for standards based on C99 or C11.
82394         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
82395         Disable tests.
82396         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
82397         UNIX98]: Likewise.
82399         * conform/conformtest.pl: Handle "macro-int-constant" and test for
82400         usability of symbols in #if.
82402         * conform/conformtest.pl: If macro or constant types start
82403         "promoted:", expect the symbol to be of the following type
82404         promoted by the integer promotions.
82406         * conform/conformtest.pl: Parse all "constant" and "macro" lines
82407         in one place.  Also handle "macro-constant".
82409         * conform/conformtest.pl: Only accept expected macro values with
82410         "==".  Parse all "macro" lines in one place.
82411         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
82413         * conform/conformtest.pl: Handle braced types on "constant" lines
82414         instead of handling "typed-constant".
82415         * conform/data/signal.h-data: Use "constant" instead of
82416         "typed-constant".
82418         * conform/conformtest.pl: Handle "optional-" at start of lines in
82419         one place rather than duplicating several cases.  Handle each
82420         format of "macro" line with initial "optional-".
82422         * conform/conformtest.pl: Only accept expected constant or
82423         optional-constant values with "==".  Parse all "constant" lines in
82424         one place.  Parse all "optional-constant" lines in one place.
82425         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
82426         * conform/data/fmtmsg.h-data: Likewise.
82427         * conform/data/netinet/in.h-data: Likewise.
82428         * conform/data/tar.h-data: Likewise.
82429         * conform/data/limits.h-data: Use "==" form on "constant" and
82430         "optional-constant" lines.
82432         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
82433         Use -std=c99 for XOPEN2K.
82434         (@knownproblems): Remove.
82435         (newtoken): Don't check %isknown.
82437         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
82438         Do not expect macro.
82439         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
82440         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
82441         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
82442         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
82443         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
82444         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
82445         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
82446         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
82447         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
82448         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
82449         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
82450         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
82451         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
82452         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
82453         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
82454         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
82455         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
82456         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
82457         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
82458         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
82459         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
82460         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
82461         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
82462         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
82463         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
82464         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
82465         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
82466         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
82467         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
82468         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
82469         [XPG3] (acosh): Likewise.
82470         [XPG3] (asinh): Likewise.
82471         [XPG3] (atanh): Likewise.
82472         [XPG3] (cbrt): Likewise.
82473         [XPG3] (expm1): Likewise.
82474         [XPG3] (ilogb): Likewise.
82475         [XPG3] (log1p): Likewise.
82476         [XPG3] (logb): Likewise.
82477         [XPG3] (nextafter): Likewise.
82478         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
82479         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
82480         [XPG3] (remainder): Likewise.
82481         [XPG3] (rint): Likewise.
82482         [XPG3 || XPG4 || UNIX98] (round): Likewise.
82483         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
82484         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
82485         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
82486         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
82487         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
82488         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
82489         [UNIX98 || XOPEN2K] (scalb): Expect.
82490         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
82491         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
82492         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
82493         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
82494         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
82495         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
82496         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
82497         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
82498         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
82499         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
82500         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
82501         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
82502         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
82503         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
82504         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
82505         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
82506         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
82507         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
82508         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
82509         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
82510         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
82511         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
82512         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
82513         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
82514         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
82515         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
82516         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
82517         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
82518         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
82519         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
82520         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
82521         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
82522         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
82523         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
82524         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
82525         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
82526         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
82527         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
82528         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
82529         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
82530         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
82531         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
82532         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
82533         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
82534         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
82535         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
82536         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
82537         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
82538         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
82539         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
82540         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
82541         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
82542         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
82543         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
82544         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
82545         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
82546         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
82547         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
82548         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
82549         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
82550         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
82551         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
82552         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
82553         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
82554         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
82555         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
82556         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
82557         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
82558         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
82559         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
82560         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
82561         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
82562         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
82563         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
82564         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
82565         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
82566         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
82567         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
82568         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
82569         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
82570         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
82571         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
82572         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
82573         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
82574         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
82575         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
82576         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
82577         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
82578         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
82579         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
82580         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
82581         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
82582         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
82583         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
82584         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
82585         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
82586         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
82587         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
82588         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
82589         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
82590         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
82591         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
82592         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
82593         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
82594         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
82595         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
82596         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
82597         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
82598         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
82599         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
82600         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
82601         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
82602         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
82603         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
82604         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
82605         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
82606         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
82607         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
82608         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
82609         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
82610         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
82611         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
82612         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
82613         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
82614         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
82615         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
82616         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
82617         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
82618         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
82619         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
82620         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
82621         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
82622         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
82623         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
82624         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
82625         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
82626         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
82628         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
82629         _XOPEN_SOURCE_EXTENDED for XPG4.
82631         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
82633         * Makeconfig (localtime): Remove variable.
82634         (inst_localtime-file): Likewise.
82636 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
82638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
82639         Update.
82640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
82641         Update.
82642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
82643         Update.
82644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
82645         Update.
82646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
82647         Update.
82648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
82649         Update.
82650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
82651         Update.
82652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
82653         Update.
82654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82655         Update.
82657 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
82659         [BZ #2550]
82660         [BZ #2570]
82661         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
82662         comparisons to determine direction to adjust input.
82663         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
82664         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
82665         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
82666         Likewise.
82667         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
82668         Likewise.
82669         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
82670         Likewise.
82671         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
82672         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
82673         Likewise.
82674         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
82675         Likewise.
82676         * math/libm-test.inc (nexttoward_test): Add more tests.
82678 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
82680         [BZ #14040]
82681         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
82682         in version GLIBC_2.1, not GLIBC_2.0.
82683         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
82684         Likewise.
82686 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
82688         [BZ #13942]
82689         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
82690         (1 - x) * (1 + x).
82691         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82692         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
82693         * math/libm-test.inc (acos_test): Add more tests.
82694         (asin_test): Likewise.
82695         * sysdeps/i386/fpu/libm-test-ulps: Update.
82696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82698         [BZ #14034]
82699         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
82700         of square root.
82701         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
82702         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82703         * math/libm-test.inc (acos_test_tonearest): New function.
82704         (acos_test_towardzero): Likewise.
82705         (acos_test_downward): Likewise.
82706         (acos_test_upward): Likewise.
82707         (asin_test_tonearest): Likewise.
82708         (asin_test_towardzero): Likewise.
82709         (asin_test_downward): Likewise.
82710         (asin_test_upward): Likewise.
82711         (main): Call the new functions.
82712         * sysdeps/i386/fpu/libm-test-ulps: Update.
82713         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82715         [BZ #13884]
82716         [BZ #13924]
82717         * math/e_exp10.c: Include <float.h>.
82718         (__ieee754_exp10): Handle underflow here rather than multiplying
82719         large negative argument by M_LN10.
82720         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
82721         of __ieee754_expf.
82722         * math/e_exp10l.c: Include <float.h>.
82723         (__ieee754_exp10l): Handle underflow here rather than multiplying
82724         large negative argument by M_LN10l.
82725         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
82726         spurious overflow exception on underflow.
82728 2012-04-29  Marek Polacek  <polacek@redhat.com>
82730         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
82731         (__fortify_function): New macro.
82732         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
82733         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
82734         __extern_always_inline.
82735         * libio/bits/stdio2.h: Likewise.
82736         * libio/bits/stdio.h: Likewise.
82737         * string/string.h: Likewise.
82738         * string/bits/string3.h: Likewise.
82739         * include/stdio.h: Likewise.
82740         * stdlib/bits/stdlib.h: Likewise.
82741         * stdlib/stdlib.h: Likewise.
82742         * rt/bits/mqueue2.h: Likewise.
82743         * rt/mqueue.h: Likewise.
82744         * posix/bits/unistd.h: Likewise.
82745         * posix/unistd.h: Likewise.
82746         * io/bits/poll2.h: Likewise.
82747         * io/bits/fcntl2.h: Likewise.
82748         * io/fcntl.h: Likewise.
82749         * io/sys/poll.h: Likewise.
82750         * misc/bits/syslog.h: Likewise.
82751         * misc/bits/syslog-ldbl.h: Likewise.
82752         * misc/sys/syslog.h: Likewise.
82753         * socket/bits/socket2.h: Likewise.
82754         * socket/sys/socket.h: Likewise.
82755         * debug/tst-chk1.c: Likewise.
82756         * wcsmbs/bits/wchar2.h: Likewise.
82757         * wcsmbs/bits/wchar-ldbl.h: Likewise.
82758         * wcsmbs/wchar.h: Likewise.
82760 2012-04-29  Andreas Jaeger  <aj@suse.de>
82762         * Makerules (tests): Remove enable-check-abi protection.
82763         (check-abi-warn): Remove.
82764         (check-abi-%): Remove check-abi-warn usage.
82766         * configure.in: Remove check-abi configure option.
82767         * configure: Regenerated.
82768         * config.make.in (enable-check-abi): Remove.
82770 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
82772         [BZ #14033]
82773         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
82774         double functions to double *_finite functions.
82776         [BZ #13941]
82777         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
82778         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
82779         LDBL_MIN_EXP.
82780         * stdio-common/Makefile (tests): Add tst-sprintf3.
82781         * stdio-common/tst-sprintf3.c: New file.
82783         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
82784         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
82786 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
82788         * conform/conformtest.pl: Remove duplicate typed-constant
82789         handling.
82791 2012-04-28  David S. Miller  <davem@davemloft.net>
82793         * Makerules (%.abilist): Add vpath on sysdep_dirs.
82794         (check-abi-%): Remove AWK script prerequisite and explicit
82795         abilist directory.
82796         (check-abi): Rewrite to just diff the symlist with the abilist.
82797         (config-tls, config-abi-config): Delete, no longer used.
82798         (update-abi-%): Remove AWK script and explicit abilist directory.
82799         (update-abi): Rewrite to simply compare and conditionally copy the
82800         symlist and the sysdep abilist file.  Remove update-abi-config
82801         checks.
82802         * abilist/ld.abilist: Remove.
82803         * abilist/libBrokenLocale.abilist: Remove.
82804         * abilist/libanl.abilist: Remove.
82805         * abilist/libcrypt.abilist: Remove.
82806         * abilist/libdl.abilist: Remove.
82807         * abilist/librt.abilist: Remove.
82808         * abilist/libthread_db.abilist: Remove.
82809         * abilist/libutil.abilist: Remove.
82810         * scripts/extract-abilist.awk: Remove.
82811         * scripts/merge-abilist.awk: Remove.
82812         * sysdeps/generic/libcidn.abilist: New file.
82813         * sysdeps/generic/libnss_compat.abilist: New file.
82814         * sysdeps/generic/libnss_db.abilist: New file.
82815         * sysdeps/generic/libnss_dns.abilist: New file.
82816         * sysdeps/generic/libnss_files.abilist: New file.
82817         * sysdeps/generic/libnss_hesiod.abilist: New file.
82818         * sysdeps/generic/libnss_nis.abilist: New file.
82819         * sysdeps/generic/libnss_nisplus.abilist: New file.
82820         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
82821         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
82822         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
82823         file.
82824         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
82825         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
82826         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
82827         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
82828         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
82829         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
82830         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
82831         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
82832         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
82833         file.
82834         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
82835         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
82836         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
82837         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
82838         file.
82839         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
82840         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
82841         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
82842         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
82843         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
82844         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
82845         file.
82846         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
82847         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
82848         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
82849         file.
82850         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
82851         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
82852         New file.
82853         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
82854         New file.
82855         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
82856         New file.
82857         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
82858         New file.
82859         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
82860         New file.
82861         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
82862         New file.
82863         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
82864         New file.
82865         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
82866         New file.
82867         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
82868         New file.
82869         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
82870         New file.
82871         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
82872         New file.
82873         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
82874         New file.
82875         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
82876         New file.
82877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
82878         file.
82879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
82880         New file.
82881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
82882         New file.
82883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
82884         file.
82885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
82886         New file.
82887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
82888         New file.
82889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
82890         file.
82891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
82892         New file.
82893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82894         New file.
82895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
82896         New file.
82897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
82898         New file.
82899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
82900         New file.
82901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
82902         New file.
82903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
82904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
82905         file.
82906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
82907         New file.
82908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
82909         file.
82910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
82911         file.
82912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
82913         file.
82914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
82915         file.
82916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
82917         file.
82918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
82919         New file.
82920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
82921         file.
82922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
82923         file.
82924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
82925         New file.
82926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
82927         file.
82928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
82929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
82930         file.
82931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
82932         New file.
82933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
82934         file.
82935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
82936         file.
82937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
82938         file.
82939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
82940         file.
82941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
82942         file.
82943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
82944         New file.
82945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
82946         file.
82947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
82948         file.
82949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
82950         New file.
82951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
82952         file.
82953         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
82954         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
82955         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
82956         file.
82957         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
82958         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
82959         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
82960         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
82961         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
82962         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
82963         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
82964         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
82965         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
82966         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
82967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
82968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
82969         file.
82970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
82971         New file.
82972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
82973         file.
82974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
82975         file.
82976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
82977         file.
82978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
82979         file.
82980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
82981         file.
82982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
82983         New file.
82984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
82985         New file.
82986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
82987         file.
82988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
82989         New file.
82990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
82991         file.
82992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
82993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
82994         file.
82995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
82996         New file.
82997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
82998         file.
82999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
83000         file.
83001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
83002         file.
83003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
83004         file.
83005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
83006         file.
83007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
83008         New file.
83009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
83010         New file.
83011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
83012         file.
83013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
83014         New file.
83015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
83016         file.
83018 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
83020         * conform/conformtest.pl: Fix typo in handling typed-constant from
83021         allow-header.
83023 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
83025         * README: Cut down references to pre-2.6 Linux kernels and
83026         Linuxthreads.  Update lists of configurations in libc and ports
83027         and sort alphabetically.  Say "or newer" with Linux kernel version
83028         requirements.
83030         * config.h.in [IS_IN_build]: Allow compiling without optimization.
83032 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
83034         [BZ #887]
83035         * math/libm-test.inc (logb_test_downward): New test to expose
83036         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
83037         rounding mode.
83039 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
83041         [BZ #14027]
83042         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
83043         to be done.
83044         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
83045         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
83047 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
83049         * sysdeps/unix/i386/brk.S: Remove file.
83050         * sysdeps/unix/i386/dl-brk.S: Likewise.
83051         * sysdeps/unix/i386/pipe.S: Likewise.
83052         * sysdeps/unix/i386/sigreturn.S: Likewise.
83053         * sysdeps/unix/i386/syscall.S: Likewise.
83054         * sysdeps/unix/i386/vfork.S: Likewise.
83055         * sysdeps/unix/i386/wait.S: Likewise.
83057         * sysdeps/unix/common/tcsendbrk.c: Move to ...
83058         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
83060         * configure.in (arm*-none*): Do not allow without
83061         --enable-hacker-mode.
83062         (netbsd*): Remove case setting base_os.
83063         (386bsd*): Likewise.
83064         (freebsd*): Likewise.
83065         (bsdi*): Likewise.
83066         (osf*): Likewise.
83067         (sunos*): Likewise.
83068         (ultrix*): Likewise.
83069         (newsos*): Likewise.
83070         (dynix*): Likewise.
83071         (*bsd*): Likewise.
83072         (sysv*): Likewise.
83073         (isc*): Likewise.
83074         (esix*): Likewise.
83075         (sco*): Likewise.
83076         (minix*): Likewise.
83077         (irix4*): Likewise.
83078         (irix6*): Likewise.
83079         (solaris[2-9]*): Likewise.
83080         (none): Likewise.
83081         * configure: Regenerated.
83083 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83085         [BZ #11521]
83086         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
83087         overflow or cancellation in calculating denominator.
83088         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
83089         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
83090         down expression to avoid unexpected rounding in newer GCCs.
83091         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
83093 2012-04-26  David S. Miller  <davem@davemloft.net>
83095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
83096         long-double compat symbols.
83097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
83098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
83099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
83100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
83101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
83102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
83103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
83104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
83105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
83106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
83107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
83108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
83109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
83111 2012-04-25  David S. Miller  <davem@davemloft.net>
83113         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
83114         HWCAP_* values only after the memory barriers have been defined.
83115         (atomic_full_barrier): Define.
83116         (atomic_read_barrier): Define.
83117         (atomic_write_barrier): Define.
83119 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
83121         * shlib-versions: Add libgcc_s version information.
83122         * sysdeps/generic/libgcc_s.h: Remove.
83123         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
83124         libgcc_s.h.
83125         * sysdeps/gnu/unwind-resume.c: Likewise.
83126         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
83128 2012-04-25  David S. Miller  <davem@davemloft.net>
83130         * sysdeps/unix/sparc/brk.S: Delete.
83131         * sysdeps/unix/sparc/dl-brk.S: Delete.
83132         * sysdeps/unix/sparc/pipe.S: Delete.
83133         * sysdeps/unix/sparc/sysdep.S: Delete.
83134         * sysdeps/unix/sparc/sysdep.h: Delete.
83135         * sysdeps/unix/sparc/vfork.S: Delete.
83136         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
83137         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
83138         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
83139         (ret_ERRVAL, r0, r1, MOVE): Define.
83140         (JUMPTARGET): Remove.
83141         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
83142         sysdeps/unix/sparc/sysdep.h
83143         (ENTRY, END): Remove.
83144         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83146 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
83148         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
83149         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
83150         -DIS_IN_build.
83152         * timezone/README: Update upstream location and email address for
83153         tzcode and tzdata.
83154         * timezone/zdump.c: Update from tzcode 2012b.
83155         * timezone/zic.c: Likewise.
83157         * configure.in (libc_cv_as_needed): Remove test.
83158         * configure: Regenerated.
83159         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
83160         conditional definition.
83161         [$(have-as-needed) != yes] (no-as-needed): Likewise.
83162         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
83163         * config.make.in (have-as-needed): Remove variable.
83165 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
83166             Paul Pluzhnikov  <ppluzhnikov@google.com>
83168         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
83169         strings correctly.
83171 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
83173         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
83174         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
83175         * sysdeps/sh/strlen.S: Likewise.
83177 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83179         * sysdeps/unix/fork.S: Remove file.
83180         * sysdeps/unix/i386/fork.S: Likewise.
83181         * sysdeps/unix/sparc/fork.S: Likewise.
83183         * sysdeps/unix/system.c: Remove file.
83184         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
83186         * sysdeps/unix/getegid.S: Remove file.
83187         * sysdeps/unix/geteuid.S: Likewise.
83189 2012-04-24  Roland McGrath  <roland@hack.frob.com>
83191         * scripts/check-localplt.awk: New file.
83192         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
83193         of diff.
83194         * scripts/data/localplt-generic.data: Add a comment.
83196         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
83197         NODE when __dir_mkfile failed.
83198         * sysdeps/mach/hurd/symlinkat.c: Likewise.
83199         Reported by Ludovic Courtès <ludo@gnu.org>.
83201 2012-04-24  Andreas Jaeger  <aj@suse.de>
83203         * Makerules (common-clean): Also remove gen-as-const-headers
83204         files.
83206 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83208         * Makerules (native-compile): Do not change working directory for
83209         build.  Use $(OUTPUT_OPTION) in command.
83210         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
83212 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83214         [BZ #13886]
83215         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
83216         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
83217         * math/libm-test.inc (floor_test): Add more tests.
83218         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
83220 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83222         * sysdeps/unix/getdents.c: Remove file.
83223         * sysdeps/unix/sysv/getdents.c: Likewise.
83224         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
83226         * sysdeps/unix/syscalls.list (madvise): Add syscall from
83227         sysdeps/unix/mman/syscalls.list.
83228         (mmap): Likewise.
83229         (mprotect): Likewise.
83230         (msync): Likewise.
83231         (munmap): Likewise.
83232         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
83233         * sysdeps/unix/mman/syscalls.list: Remove.
83234         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
83236         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
83237         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
83238         * configure: Regenerated.
83239         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
83240         $(libgcc_s_suffix).
83241         * config.make.in (libgcc_s_suffix): Remove variable.
83243 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
83245         * sysdeps/unix/sysv/gethostname.c: Move to ...
83246         * sysdeps/posix/gethostname.c: ... here.
83248         * sysdeps/unix/execve.S: Remove file.
83250         * sysdeps/unix/_exit.S: Remove file.
83252 2012-04-23  Andreas Jaeger  <aj@suse.de>
83254         [BZ #13739]
83255         * manual/Makefile: Remove make dist support, there's no
83256         need for a stand-alone documentation tar ball.
83257         (TEXI2DVI): Define always, it's not in Makeconfig.
83258         (dist): Removed.
83259         (tar-it): Removed.
83260         (edition): Removed.
83261         (glibc-doc-$(edition).tar): Removed
83262         (%.Z): Removed.
83263         (%.gz): Removed.
83264         (%.uu): Removed.
83265         (ETAGS): Remove, it's in Makeconfig.
83266         (move-if-change): Remove, it's in Makeconfig.
83268 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
83270         [BZ #13970]
83271         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
83272         (strtod, strtof, strtold, strtol, strtoul, strtoq)
83273         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
83274         (strtod_l, strtof_l, strtold_l): Remove __wur.
83275         It is not necessarily an error to ignore strtol's return value.
83276         One can reliably look at the stored endptr to decide whether
83277         the number had valid syntax.
83279 2012-04-21  Andreas Jaeger  <aj@suse.de>
83281         [BZ #13739]
83282         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
83284 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
83286         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
83287         * sysdeps/unix/sysv/Versions: Remove file.
83289 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
83291         [BZ #13927]
83292         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83294 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
83296         [BZ #7064]
83297         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
83298         version from __vm86.
83300 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
83302         * sysdeps/unix/common/lxstat.c: Remove file.
83303         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
83305         * sysdeps/unix/sysv/Makefile: Remove file.
83307         * sysdeps/unix/sysv/direct.h: Remove file.
83309         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
83310         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
83311         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
83312         * sysdeps/unix/sysv/bits/signum.h: Likewise.
83313         * sysdeps/unix/sysv/bits/stat.h: Likewise.
83314         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
83315         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
83317         * sysdeps/unix/sysv/setrlimit.c: Remove file.
83319         * sysdeps/unix/xmknod.c: Remove file.
83320         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
83322         * sysdeps/unix/sysv/settimeofday.c: Remove file.
83324         * sysdeps/unix/sysv/i386/time.S: Remove file.
83326         * sysdeps/unix/fxstat.c: Remove file.
83327         * sysdeps/unix/xstat.c: Likewise.
83328         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
83330         * sysdeps/unix/sysv/sigaction.c: Remove file.
83332         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
83333         (sysdep_headers): Remove variable.
83334         [termio.h not in sysdep_headers] (generated): Likewise.
83335         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
83336         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
83337         * sysdeps/unix/sysv/tcdrain.c: Likewise.
83338         * sysdeps/unix/sysv/tcflow.c: Likewise.
83339         * sysdeps/unix/sysv/tcflush.c: Likewise.
83340         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
83341         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
83342         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
83343         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
83344         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
83346         * sysdeps/unix/siglist.c: Remove file.
83348         * sysdeps/unix/getppid.S: Remove file.
83350         * sysdeps/unix/mkdir.c: Remove file.
83351         * sysdeps/unix/rmdir.c: Likewise.
83353 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
83355         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
83356         ERR_MAX value.
83357         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
83358         errlist-compat value.
83360 2012-04-18  David S. Miller  <davem@davemloft.net>
83362         * sysdeps/generic/memcopy.h (reg_char): Delete.
83363         * debug/strcat_chk.c: Use char, not reg_char.
83364         * debug/strcpy_chk.c: Likewise.
83365         * debug/strncat_chk.c: Likewise.
83366         * debug/strncpy_chk.c: Likewise.
83367         * string/memchr.c: Likewise.
83368         * string/memrchr.c: Likewise.
83369         * string/rawmemchr.c: Likewise.
83370         * string/strcat.c: Likewise.
83371         * string/strchr.c: Likewise.
83372         * string/strchrnul.c: Likewise.
83373         * string/strcmp.c: Likewise.
83374         * string/strcpy.c: Likewise.
83375         * string/strncat.c: Likewise.
83376         * string/strncmp.c: Likewise.
83377         * string/strncpy.c: Likewise.
83379 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83381         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
83382         __builtin_memcopy is called when src and dest ranges are known to not
83383         overlap.
83385 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83387         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
83388         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
83389         fwd_align_merge macro call.
83390         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
83391         bwd_align_merge macro call.
83392         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83394 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83396         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
83397         bwd_align_merge macros.
83398         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
83399         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
83400         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83402 2012-04-18  David S. Miller  <davem@davemloft.net>
83404         * sysdeps/sparc/sparc64/memcopy.h: Delete.
83406 2012-04-18  Andreas Jaeger  <aj@suse.de>
83408         [BZ #6794]
83409         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
83410         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
83411         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83413         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
83414         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
83415         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83417         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
83418         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
83419         Adjust for changed ldbl-128 files.
83421         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
83422         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
83423         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83425 2012-04-17  David S. Miller  <davem@davemloft.net>
83427         * sysdeps/sparc/sparc32/memcopy.h: Delete.
83429 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
83431         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
83432         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
83433         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
83434         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
83435         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
83436         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
83438 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83440         [BZ #6794]
83441         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
83442         * math/libm-test.inc: Add ilogb errno and exception tests.
83443         * math/w_ilogb.c: New file: ilogb wrapper.
83444         * math/w_ilogbf.c: New file: ilogbf wrapper.
83445         * math/w_ilogbl.c: New file: ilogbl wrapper.
83446         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
83447         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
83448         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
83449         exception being thrown with 0.0 as argument.
83450         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
83451         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
83452         exception being thrown with 0.0 as argument.
83453         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
83454         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83455         exception being thrown with 0.0 as argument.
83456         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
83457         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83458         exception being thrown with 0.0 as argument.
83459         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
83460         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
83461         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
83462         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
83463         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
83464         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
83465         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
83466         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
83467         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
83469 2012-04-17  Petr Baudis  <pasky@ucw.cz>
83471         * include/sys/uio.h: Change __vector to __iovec to avoid clash
83472         with altivec.
83474 2012-04-16  Marek Polacek  <polacek@redhat.com>
83476         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
83478 2012-04-16  Marek Polacek  <polacek@redhat.com>
83480         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
83481         operands of fdivp instruction.
83483 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
83485         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
83486         * elf/tst-auditmod3b.c: Likewise.
83487         * elf/tst-auditmod4b.c: Likewise.
83488         * elf/tst-auditmod5b.c: Likewise.
83489         * elf/tst-auditmod6b.c: Likewise.
83490         * elf/tst-auditmod6c.c: Likewise.
83491         * elf/tst-auditmod7b.c: Likewise.
83492         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
83493         * sysdeps/x86_64/preconfigure.in: Likewise.
83494         * sysdeps/x86_64/preconfigure: Regenerated.
83496 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
83498         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
83499         __ILP32__.
83501 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
83503         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83504         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
83506 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
83508         [BZ #13973]
83509         * locale/iso-639.def: Fix gl language name. Spotted by
83510         Yaron Shahrabani.
83512 2012-04-12  Roland McGrath  <roland@hack.frob.com>
83514         [BZ #2074]
83515         * libio/libio.h (__io_write_fn): Update comment.
83517 2012-04-12  Petr Baudis  <pasky@ucw.cz>
83519         [BZ #2074]
83520         * stdio.texi (Hook Functions): The user provided writer function
83521         is not allowed to return -1.
83523 2012-04-11  David S. Miller  <davem@davemloft.net>
83525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83527 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
83529         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
83530         Add a leading slash to rtkaio.
83532 2012-04-11  Jim Meyering  <meyering@redhat.com>
83534         [BZ #11959]
83535         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
83536         It is not necessarily an error to ignore fwrite's return
83537         value.  One can reliably use ferror to test for errors after
83538         the fact.
83540 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
83542         * bits/types.h (__snseconds_t): New type.
83543         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
83545         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
83546         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
83547         (__SNSECONDS_T_TYPE): Likewise.
83548         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
83549         (__SNSECONDS_T_TYPE): Likewise.
83550         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
83551         (__SNSECONDS_T_TYPE): Likewise.
83553 2012-04-10  Andreas Jaeger  <aj@suse.de>
83555         [BZ #2636]
83556         * manual/time.texi (Processor Time): Return type of times is
83557         elapsed real time since an arbitrary point in the past.
83558         (CPU Time): Move CLK_TCK from here...
83559         (Processor Time): ...to here.  Correct description.
83560         * manual/conf.texi (Constants for Sysconf): Correct description of
83561         _SC_CLK_TCK.
83563 2012-04-10  David S. Miller  <davem@davemloft.net>
83565         [BZ #13967]
83566         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
83567         where the is a gap between DT_REL(A) and DT_JMPREL.
83569 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
83571         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
83572         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83573         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83575 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
83577         * elf/dl-support.c (_dl_inhibit_cache): New variable.
83578         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
83579         (dl_main): Handle --inhibit-cache.
83580         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
83581         _dl_inhibit_cache.
83582         * elf/dl-load.c (_dl_map_object): Use it.
83583         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
83585 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
83587         [BZ #13872]
83588         * sysdeps/i386/fpu/e_powl.S (p78): New object.
83589         (__ieee754_powl): Saturate large exponents rather than testing for
83590         overflow of y*log2(x).
83591         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83592         * math/libm-test.inc (pow_test): Do not permit spurious overflow
83593         exceptions.
83595         [BZ #11521]
83596         * math/s_ctan.c: Include <float.h>.
83597         (__ctan): Avoid internal overflow or cancellation in calculating
83598         denominator.
83599         * math/s_ctanf.c: Likewise.
83600         * math/s_ctanl.c: Likewise.
83601         * math/s_ctanh.c: Likewise.
83602         * math/s_ctanhf.c: Likewise.
83603         * math/s_ctanhl.c: Likewise.
83604         * math/libm-test.inc (ctan_test): Add more tests.
83605         (ctanh_test): Likewise.
83606         * sysdeps/i386/fpu/libm-test-ulps: Update.
83607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83609 2012-04-09  Andreas Jaeger  <aj@suse.de>
83611         [BZ #6894]
83612         * manual/filesys.texi (Directory Entries): Mention that d_namlen
83613         is an optional BSD extension.
83615         [BZ #10254]
83616         * manual/stdio.texi (Opening Streams): Document additional fopen
83617         parameters.
83619 2012-04-09  Roland McGrath  <roland@hack.frob.com>
83621         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
83622         %eax without telling the compiler.
83624 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
83626         [BZ # 13963]
83627         * manual/install.texi: Use sourceware.org.
83629 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
83631         [BZ #13873]
83632         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
83633         (__ieee754_pow): Generate overflow and underflow using huge*huge
83634         and tiny*tiny rather than just returning constant infinity or zero
83635         for large exponents.
83636         * math/libm-test.inc (pow_test): Require overflow exceptions for
83637         applicable cases of large exponents.
83639         [BZ #706]
83640         * sysdeps/i386/fpu/e_pow.S (p10): New object.
83641         (__ieee754_pow): Use iterative multiplication algorithm only for
83642         integer exponents with absolute value below 1024.  Check for odd
83643         integer exponents when using algorithm for real exponents.
83644         * math/libm-test.inc (pow_test): Add more tests.
83645         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83647 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
83649         [BZ #13705]
83650         * math/libm-test.inc (exp_test): Do not allow overflow exception
83651         on underflow test.
83653 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
83655         [BZ #13705]
83656         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
83657         instead of __kernel_standard_f.
83659 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
83661         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
83662         * sysdeps/x86_64/memset_chk.S: Likewise.
83664 2012-04-08  Andreas Jaeger  <aj@suse.de>
83666         [BZ #10153]
83667         * manual/startup.texi (Environment Access): Describe return value
83668         for putenv and setenv.
83670         [BZ #6895]
83671         * manual/filesys.texi (Directory Entries): Add description for
83672         DT_LNK.
83674         [BZ #6890]
83675         * manual/filesys.texi (Directory Entries): Clarify that it's file
83676         system not operating system in the description of DT_UNKNOWN.
83678         [BZ #6578]
83679         * manual/syslog.texi (closelog): Fix reference, it's openlog.
83681 2012-04-08  Stephen Compall  <s11@member.fsf.org>
83683         [BZ #6649]
83684         * manual/llio.texi (Opening and Closing Files): Add cross
83685         reference to explain mode argument.
83687 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
83689         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
83690         * sysdeps/x86_64/memset_chk.S: Likewise.
83692 2012-04-07  David S. Miller  <davem@davemloft.net>
83694         * elf/elf.h (R_SPARC_WDISP10): Define.
83695         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
83696         R_SPARC_SIZE32.
83697         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
83698         R_SPARC_SIZE64 and R_SPARC_H34.
83700 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
83702         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
83703         conditions and remove no longer applicable assertion.
83705 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
83707         * bits/byteswap.h: Include <features.h>.
83708         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83709         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83711 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
83713         * bits/byteswap.h (__bswap_16): Removed.
83714         Include <bits/byteswap-16.h> to get __bswap_16.
83715         * sysdeps/i386/bits/byteswap.h: Likewise.
83716         * sysdeps/s390/bits/byteswap.h: Likewise.
83717         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83718         * bits/byteswap-16.h: New file.
83719         * sysdeps/i386/bits/byteswap-16.h: Likewise.
83720         * sysdeps/s390/bits/byteswap-16.h: Likewise.
83721         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
83722         * string/Makefile (headers): Add bits/byteswap-16.h.
83724 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
83726         [BZ #13895]
83727         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
83728         extra indirection.
83729         * nss/Makefile (tests-static, tests): Add tst-nss-static.
83730         * nss/tst-nss-static.c: New.
83732 2012-04-06  Robert Millan  <rmh@gnu.org>
83734         [BZ #6486]
83735         * manual/llio.texi (File Position Primitive): lseek
83736         refers to WHENCE when it really means OFFSET.
83738 2012-04-06  Andreas Jaeger  <aj@suse.de>
83740         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
83741         strncmp declarations.
83743         * abilist/libc.abilist: Add __poll and __ppoll.
83745 2012-04-05  David S. Miller  <davem@davemloft.net>
83747         * scripts/check-local-headers.sh: Accept a host triplet in the
83748         path matched by the exclude regexp.
83750         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
83751         definition.
83752         * sysdeps/powerpc/powerpc32/dl-machine.h
83753         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
83754         * sysdeps/s390/s390-32/dl-machine.h
83755         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83756         * sysdeps/sparc/sparc32/dl-machine.h
83757         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83758         * sysdeps/sparc/sparc64/dl-machine.h
83759         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83761         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
83762         lazy binding.
83763         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
83764         undefined symbol errors.
83766         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
83767         DT_NEEDED entries.
83769 2012-04-05  Michael Matz  <matz@suse.de>
83771         [BZ #13592]
83772         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
83774 2012-04-05  Andreas Jaeger  <aj@suse.de>
83776         [BZ #13908]
83777         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
83778         comment.
83780 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83782         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
83783         which ROUND is no valid rounding mode.
83785 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83787         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
83788         read again.
83789         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
83791 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83793         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
83794         an exception using FPU order intentionally.
83796 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83798         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
83799         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
83800         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
83801         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
83803 2012-04-05  Simon Josefsson  <simon@josefsson.org>
83805         [BZ #12340]
83806         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
83807         EINVAL when BUFLEN is too smal.
83809 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
83811         [BZ #13553]
83812         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
83813         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
83815 2012-04-03  Andreas Jaeger  <aj@suse.de>
83817         [BZ #13938]
83818         * manual/setjmp.texi (System V contexts): Fix sentence.
83820         [BZ #13926]
83821         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
83822         New macro for this case.
83823         [!__GNUC__] (__bswap_64): New inline function for this case.
83824         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83825         * bits/byteswap.h: Likewise.
83826         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
83827         ull, guard with __GLIBC_HAVE_LONG_LONG.
83829         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
83830         __GLIBC_HAVE_LONG_LONG.
83832         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
83833         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
83835 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
83837         [BZ #13691]
83838         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
83839         inptr and inend, rather than using last_ch.
83841 2012-04-02  David S. Miller  <davem@davemloft.net>
83843         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
83844         * stdio-common/printf-parse.h (read_int): Change return type to
83845         'int', return -1 on INT_MAX overflow.
83846         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
83847         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
83848         overflows INT_MAX.  Check for overflow of in-format-string precision
83849         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
83850         SIZE_MAX not INT_MAX for integer overflow test.
83851         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
83852         skip the construct in the format string but do not record anything.
83853         * stdio-common/bug22.c: Adjust to test both width/prevision
83854         INT_MAX overflow as well as total length INT_MAX overflow.  Check
83855         explicitly for proper errno values.
83857 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
83859         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
83860         CHAR_MAX.
83861         * string/test-strcmp.c [! WIDE]: Likewise.
83862         * time/tst-mktime2.c: Likewise for INT_MAX.
83863         * string/test-string.h: #include <sys/param.h> for MIN.
83865         * csu/init-first.c (__libc_init_first): Call __ctype_init.
83866         * sysdeps/i386/init-first.c (init): Likewise.
83867         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
83868         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
83869         * sysdeps/sh/init-first.c (init): Likewise.
83871 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
83873         * po/ru.po: Update from translation team.
83874         * po/vi.po: Likewise.
83876 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
83878         * resolv/nss_dns/dns-host.c: Merge copyright years.
83880 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83882         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83883         Optimize memcpy with prefetch if
83884         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
83885         src, dst pointers have unequal 16 byte alignments.
83887 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
83889         [BZ #13928]
83890         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
83891         from a CNAME entry and return the minimum ttl for the query.
83892         (gaih_getanswer_slice): Likewise.
83894 2012-03-30  Jeff Law  <law@redhat.com>
83896         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
83897         due to long keys.
83898         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
83899         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
83901         * resolv/nss_dns/dns-host.c: Update copyright year.
83903 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
83905         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
83906         requests to save a system call.  Fix check that all bytes are sent.
83908         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
83909         comments for sendmmsg.
83911 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
83913         [BZ #13691]
83914         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
83915         with only 1 character between 0x0041 and 0x01b0.
83916         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
83917         * wcsmbs/tst-mbsnrtowcs.c: New file.
83919 2012-03-29  David S. Miller  <davem@davemloft.net>
83921         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
83922         small copies by hand.
83924 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
83926         [BZ #13761]
83927         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
83928         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
83929         group memberships.
83931 2012-03-28  David S. Miller  <davem@davemloft.net>
83933         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
83934         that branches into memcpy.
83935         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
83936         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
83937         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
83938         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
83939         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
83940         bits.
83941         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
83942         implementation too.
83943         * sysdeps/sparc/mempcpy.S: New file.
83945         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
83946         the IFUNC routine in the libc case.
83947         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
83949         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
83950         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
83951         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
83952         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
83953         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
83954         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
83955         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
83956         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
83958         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
83959         loop to 256 bytes instead of 64 bytes and fix test signedness.
83961         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
83962         * sysdeps/sparc/sparc32/Makefile: rather than here...
83963         * sysdeps/sparc/sparc64/Makefile: and here.
83965 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
83967         * malloc/mallocbug.c: Avoid warnings about unused variables.
83969 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
83971         [BZ #13760]
83972         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
83973         in the right place. Discard and retry query if response is
83974         larger than input buffer size.
83976 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
83978         [BZ #369]
83979         [BZ #2678]
83980         [BZ #3866]
83981         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
83982         x for large integer exponent.
83983         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
83984         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
83985         sign of result as needed afterwards.
83986         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
83987         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
83988         result for underflowing pow the same as for overflow.
83989         (__kernel_standard_l): Handle powl overflow and underflow here
83990         rather than calling __kernel_standard.
83991         * math/libm-test.inc (pow_test): Add more tests.
83993         [BZ #3868]
83994         [BZ #13879]
83995         [BZ #13910]
83996         [BZ #13911]
83997         [BZ #13912]
83998         [BZ #13913]
83999         [BZ #13915]
84000         [BZ #13916]
84001         [BZ #13917]
84002         [BZ #13918]
84003         [BZ #13919]
84004         [BZ #13920]
84005         [BZ #13921]
84006         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
84007         * sysdeps/ieee754/k_standard.c: Include <float.h>.
84008         (__kernel_standard_l): New function.
84009         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
84010         __kernel_standard.
84011         * math/w_acosl.c (__acosl): Likewise.
84012         * math/w_asinl.c (__asinl): Likewise.
84013         * math/w_atan2l.c (__atan2l): Likewise.
84014         * math/w_atanhl.c (__atanhl): Likewise.
84015         * math/w_coshl.c (__coshl): Likewise.
84016         * math/w_exp10l.c (__exp10l): Likewise.
84017         * math/w_exp2l.c (__exp2l): Likewise.
84018         * math/w_fmodl.c (__fmodl): Likewise.
84019         * math/w_hypotl.c (__hypotl): Likewise.
84020         * math/w_j0l.c (__j0l, __y0l): Likewise.
84021         * math/w_j1l.c (__j1l, __y1l): Likewise.
84022         * math/w_jnl.c (__jnl, __ynl): Likewise.
84023         * math/w_lgammal.c (__lgammal): Likewise.
84024         * math/w_log10l.c (__log10l): Likewise.
84025         * math/w_log2l.c (__log2l): Likewise.
84026         * math/w_logl.c (__logl): Likewise.
84027         * math/w_powl.c (__powl): Likewise.
84028         * math/w_remainderl.c (__remainderl): Likewise.
84029         * math/w_scalbl.c (sysv_scalbl): Likewise.
84030         * math/w_sinhl.c (__sinhl): Likewise.
84031         * math/w_sqrtl.c (__sqrtl): Likewise.
84032         * math/w_tgammal.c (__tgammal): Likewise.
84033         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
84034         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
84035         * math/libm-test.inc (acos_test): Add more tests.
84036         (acosh_test): Likewise.
84037         (asin_test): Likewise.
84038         (atanh_test): Likewise.
84039         (exp_test): Likewise.
84040         (exp10_test): Likewise.
84041         (exp2_test): Likewise.
84042         (expm1_test): Likewise.
84043         (lgamma_test): Likewise.
84044         (log_test): Likewise.
84045         (log10_test): Likewise.
84046         (log1p_test): Likewise.
84047         (log2_test): Likewise.
84048         (pow_test): Do not allow some spurious overflow exceptions.
84049         (sqrt_test): Add more tests.
84050         (tgamma_test): Likewise.
84051         (y0_test): Likewise.
84052         (y1_test): Likewise.
84053         (yn_test): Likewise.
84055 2012-03-27  Anton Blanchard  <anton@samba.org>
84057         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
84058         MAP_HUGETLB.
84059         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84060         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84061         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84063 2012-03-27  David S. Miller  <davem@davemloft.net>
84065         * conform/Makefile: Run run-conformtest.sh using $(BASH).
84067         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
84068         have-as-vis3 check.
84070 2012-03-27  Andreas Jaeger  <aj@suse.de>
84072         * sysdeps/x86_64/elf/configure.in: Moved to ...
84073         * sysdeps/x86_64/configure.in: ... here.
84074         * sysdeps/x86_64/elf/start.S: Moved to ...
84075         * sysdeps/x86_64/start.S: ... here.
84076         * sysdeps/x86_64/elf/configure: Delete.
84078         * sysdeps/x86_64/configure.in: Merge contents from
84079         sysdeps/i386/configure.in (without i686 check).
84081         * sysdeps/i386/elf/Versions: Merge into ...
84082         * sysdeps/i386/Versions: ... this.
84083         * sysdeps/i386/elf/Versions: Delete file.
84084         * sysdeps/i386/elf/start.S: Moved to ...
84085         * sysdeps/i386/start.S: ...here.
84086         * sysdeps/i386/elf/configure.in: Merge into...
84087         * sysdeps/i386/configure.in: ...here.
84088         * sysdeps/i386/elf/configure.in: Delete file.
84089         * sysdeps/i386/elf/configure: Delete file.
84091         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
84092         * debug/backtracesyms.c: ... here.
84093         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
84094         * debug/backtracesymsfd.c: ... here.
84095         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
84096         * sysdeps/generic/ifunc-sel.h: ... here.
84098         * sysdeps/unix/i386/start.c: Delete file.
84099         * sysdeps/unix/sparc/start.c: Delete file.
84100         * sysdeps/unix/start.c: Delete file.
84102         * sysdeps/sh/elf/configure.in: Moved to ...
84103         * sysdeps/sh/configure.in: ... here.
84104         * sysdeps/sh/elf/start.S: Moved to ...
84105         * sysdeps/sh/start.S: ... here.
84106         * sysdeps/sh/elf/configure: Delete file.
84108         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
84109         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
84110         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
84111         * sysdeps/powerpc/powerpc64/entry.h: ... here.
84112         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
84113         * sysdeps/powerpc/powerpc64/start.S: here.
84114         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
84115         * sysdeps/powerpc/powerpc64/Makefile: ... this.
84116         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
84117         * sysdeps/powerpc/powerpc64/configure.in: ... this.
84118         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
84120         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
84121         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
84122         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
84123         * sysdeps/powerpc/powerpc32/start.S: ... here.
84124         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
84125         * sysdeps/powerpc/powerpc32/configure.in: ... this.
84126         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
84128         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
84129         * sysdeps/powerpc/ifunc-sel.h: ... here.
84130         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
84131         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
84133         * sysdeps/sparc/elf/configure.in: Moved to ...
84134         * sysdeps/sparc/configure.in: ... here.
84135         * sysdeps/sparc/elf/configure: Delete file.
84136         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
84137         * sysdeps/sparc/sparc32/start.S: ... here.
84138         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
84139         * sysdeps/sparc/sparc64/start.S: ... here.
84140         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
84141         * sysdeps/sparc/sparc32/Makefile: ... this.
84142         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
84143         * sysdeps/sparc/sparc64/Makefile: ... this.
84145         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
84146         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
84147         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
84148         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
84149         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
84150         * sysdeps/s390/s390-32/setjmp.S: ... here.
84151         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
84152         * sysdeps/s390/s390-32/configure.in: ... here.
84153         * sysdeps/s390/s390-32/elf/configure: Delete file.
84154         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
84155         * sysdeps/s390/s390-32/start.S: ... here.
84157         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
84158         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
84159         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
84160         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
84161         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
84162         * sysdeps/s390/s390-64/setjmp.S: ... here.
84163         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
84164         * sysdeps/s390/s390-64/configure.in: ... here
84165         * sysdeps/s390/s390-64/elf/configure: Delete file.
84166         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
84167         * sysdeps/s390/s390-64/start.S: ... here.
84168         * sysdeps/s390/s390-64/elf/configure: Delete.
84170         * configure.in: Remove support for elf directories in sysdeps.
84172         * configure: Regenerated.
84173         * sysdeps/i386/configure: Regenerated.
84174         * sysdeps/powerpc/powerpc32/configure: Regenerated.
84175         * sysdeps/powerpc/powerpc64/configure: Regenerated.
84176         * sysdeps/s390/s390-32/configure: Regenerated.
84177         * sysdeps/s390/s390-64/configure: Regenerated.
84178         * sysdeps/sh/configure: Regenerated.
84179         * sysdeps/sparc/configure: Regenerated.
84180         * sysdeps/x86_64/configure: Regenerated.
84182 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
84184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84186         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
84187         denormal result into account.
84189 2012-03-25  Roland McGrath  <roland@hack.frob.com>
84191         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
84192         Reported by Allan McRae <allan@archlinux.org>.
84194 2012-03-23  Jeff Law  <law@redhat.com>
84196         * nss/getnssent.c (__nss_getent): Fix typo.
84198 2012-03-23  David S. Miller  <davem@davemloft.net>
84200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84202 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
84204         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
84205         to pad to uint64_t for each field.
84206         (dl_tls_index): Replace unsigned long with uint64_t.
84208 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
84209         Paul Pluzhnikov  <ppluzhnikov@google.com>
84211         [BZ #6528]
84212         * grp/Makefile (otherlibs): Don't set it.
84213         * inet/Makefile (otherlibs): Likewise.
84214         * login/Makefile (otherlibs): Likewise.
84215         * nscd/Makefile (otherlibs): Likewise.
84216         * posix/Makefile (otherlibs): Likewise.
84217         * pwd/Makefile (otherlibs): Likewise.
84218         * rt/Makefile (otherlibs): Likewise.
84219         * sunrpc/Makefile (otherlibs): Likewise.
84220         * nss/Makefile (otherlibs): Likewise.
84221         Add libnss_files to routines and static-only-routines.
84222         ($(objpfx)getent): Remove rule.
84223         * resolv/Makefile: Add libnss_dns and libresolv to routines and
84224         static-only-routines.
84226 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
84228         [BZ #13892]
84229         * math/s_cexp.c: Include <float.h>.
84230         (__cexp): Handle exp result overflowing not necessarily
84231         overflowing both real and imaginary parts of result.
84232         * math/s_cexpf.c: Likewise.
84233         * math/s_cexpl.c: Likewise.
84234         * math/libm-test.inc (cexp_test): Add more tests.
84235         * sysdeps/i386/fpu/libm-test-ulps: Update.
84236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84238 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84240         * include/link.h (ELFW): New macro.
84241         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
84242         Replace ELF64_R_TYPE with ELFW(R_TYPE).
84244 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84246         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
84247         with uint64_t.
84249 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84251         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
84252         declaration.
84253         (struct La_x32_retval): Likewise.
84255 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84257         * sysdeps/x86_64/preconfigure.in: New file.
84258         * sysdeps/x86_64/preconfigure: New generated file.
84260 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
84262         [BZ #13824]
84263         * math/e_exp2l.c: Include <float.h>.
84264         (__ieee754_exp2l): Handle overflow and underflow cases
84265         separately.  Only pass fractional part of argument to
84266         __ieee754_expl.
84267         * math/libm-test.inc (exp2_test): Add more tests.
84269         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
84270         negating x to take absolute value.
84271         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
84272         Likewise.
84273         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
84274         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
84275         Likewise.
84276         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
84277         computing low part if x was negated.
84278         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
84280 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84282         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
84283         la_x32_gnu_pltexit.
84284         (pltexit): Cast int_retval to ptrdiff_t.
84285         * elf/tst-auditmod3b.c: Likewise.
84286         * elf/tst-auditmod4b.c: Likewise.
84287         * elf/tst-auditmod5b.c: Likewise.
84288         * elf/tst-auditmod6b.c: Likewise.
84289         * elf/tst-auditmod6c.c: Likewise.
84290         * elf/tst-auditmod7b.c: Likewise.
84292         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
84293         and x32_gnu_pltexit.
84295         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
84296         __ELF_NATIVE_CLASS.
84297         (La_x32_regs): New macro.
84298         (La_x32_retval): Likewise.
84299         (la_x32_gnu_pltenter): New function prototype.
84300         (la_x32_gnu_pltexit): Likewise.
84302 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
84304         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
84305         exponent.
84307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84309         * configure.in (libc_cv_cc_nofma): Check for option to disable
84310         generation of FMA instructions.
84311         * configure: Regenerate.
84312         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
84313         * sysdeps/ieee754/dbl-64/Makefile: New file.
84314         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
84315         Remove brandred-fma4.
84316         (CFLAGS-brandred-fma4.c): Remove.
84317         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
84318         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
84319         define.
84320         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
84321         define.
84323 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84325         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
84326         LLONG_MAX != LONG_MAX.
84327         (_itoa_word): Use _ITOA_WORD_TYPE on value.
84328         (_fitoa_word): Likewise.
84329         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
84330         LLONG_MAX != LONG_MAX.
84331         * stdio-common/_itowa.h: Include <_itoa.h>.
84332         (_itowa_word): Use _ITOA_WORD_TYPE on value.
84333         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
84334         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
84335         only if not defined.
84336         (_ITOA_WORD_TYPE): Likewise.
84337         (_itoa_word): Use _ITOA_WORD_TYPE on value.
84338         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
84340 2012-03-21  David S. Miller  <davem@davemloft.net>
84342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84344 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84346         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
84347         of x86_64 when setting libc_cv_slibdir, libdir and
84348         libc_cv_localedir.
84349         * sysdeps/unix/sysv/linux/configure: Regenerated.
84351 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84353         * manual/lang.texi (Old Varargs): Remove section.
84354         (How Variadic): Update menu.
84355         (va_start): Do not mention varargs.h.
84357 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
84358             Joseph Myers  <joseph@codesourcery.com>
84360         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
84361         link test.
84362         * configure: Regenerated.
84364 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
84366         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
84367         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
84368         conformtest.pl
84370 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84372         * NOTES: Remove.
84373         * Makefile (files-for-dist): Remove NOTES.
84374         (NOTES): Remove rule.
84375         * README: Don't refer to NOTES.
84376         * manual/creature.texi: Don't include macros.texi.
84377         * manual/intro.texi (creature.texi): Remove comment referring to
84378         NOTES.
84380         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
84381         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
84382         * configure: Regenerated.
84383         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
84384         LIBC_TRY_CC_OPTION.
84385         (libc_cv_as_i686): Likewise.
84386         (libc_cv_cc_avx): Likewise.
84387         (libc_cv_cc_sse2avx): Likewise.
84388         (libc_cv_cc_fma4): Likewise.
84389         (libc_cv_cc_novzeroupper): Likewise.
84390         * sysdeps/i386/configure: Regenerated.
84392         [BZ #13883]
84393         * sysdeps/i386/fpu/s_cexp.S: Remove.
84394         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
84395         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
84396         * math/libm-test.inc (cexp_test): Add more tests.
84397         * sysdeps/i386/fpu/libm-test-ulps: Update.
84398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84400 2012-03-21  Allan McRae  <allan@archlinux.org>
84402         * timezone/Makefile: Do not install iso3166.tab and zone.tab
84404 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84406         [BZ #13871]
84407         * math/w_exp2.c: Do not include <float.h>.
84408         (o_threshold, u_threshold): Remove.
84409         (__exp2): Calculate result before checking finiteness and calling
84410         __kernel_standard.
84411         * math/w_exp2f.c: Likewise.
84412         * math/w_exp2l.c: Likewise.
84413         * math/libm-test.inc (exp2_test): Require overflow exception for
84414         1e6 input.
84416         [BZ #3866]
84417         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
84418         range of signed 64-bit integers before using fistpll.  Remove
84419         checks for whether integers fit in mantissa bits.
84420         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
84421         the range of signed 32-bit integers before using fistpl.  Remove
84422         checks for whether integers fit in mantissa bits.
84423         * sysdeps/i386/fpu/e_powl.S (p64): New object.
84424         (__ieee754_powl): Test for y outside the range of signed 64-bit
84425         integers before using fistpll.  Reduce 64-bit values to 63-bit
84426         ones as needed.
84427         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
84428         divide-by-zero is raised for zero to large negative powers.
84429         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
84430         (__ieee754_powl): Test for y outside the range of signed 64-bit
84431         integers before using fistpll.  Reduce 64-bit values to 63-bit
84432         ones as needed.
84433         * math/libm-test.inc (pow_test): Add more tests.
84435 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84437         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
84438         <stdio-common/_itoa.h>.
84439         * debug/segfault.c: Likewise.
84440         * elf/dl-cache.c: Likewise.
84441         * elf/dl-minimal.c: Likewise.
84442         * elf/dl-misc.c: Likewise.
84443         * elf/dl-sysdep.c: Likewise.
84444         * elf/dl-version.c: Likewise.
84445         * elf/rtld.c: Likewise.
84446         * hurd/hurdsock.c: Likewise.
84447         * hurd/lookup-retry.c: Likewise.
84448         * malloc/malloc.c: Likewise.
84449         * malloc/mtrace.c: Likewise.
84450         * nscd/nscd_getgr_r.c: Likewise.
84451         * nscd/nscd_getpw_r.c: Likewise.
84452         * nscd/nscd_getserv_r.c: Likewise.
84453         * posix/getopt_init.c: Likewise.
84454         * posix/wordexp.c: Likewise.
84455         * stdio-common/_itoa.c: Likewise.
84456         * stdio-common/printf_fphex.c: Likewise.
84457         * stdio-common/vfprintf.c: Likewise.
84458         * string/_strerror.c: Likewise.
84459         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
84460         * sysdeps/i386/i686/hp-timing.h: Likewise.
84461         * sysdeps/mach/_strerror.c: Likewise.
84462         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
84463         * sysdeps/mach/hurd/sethostid.c: Likewise.
84464         * sysdeps/mach/hurd/xmknodat.c: Likewise.
84465         * sysdeps/mach/xpg-strerror.c: Likewise.
84466         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
84467         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
84468         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
84469         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
84470         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
84471         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
84472         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
84473         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
84474         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
84475         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
84476         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
84477         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
84478         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
84479         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
84480         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
84481         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
84482         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
84483         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
84484         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
84485         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
84486         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
84488         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
84490         * stdio-common/_itoa.h: Moved to ...
84491         * sysdeps/generic/_itoa.h: Here.
84493         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
84495         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
84496         instead of "_itoa.h" and "_itowa.h".
84497         * stdio-common/vfprintf.: Likewise.
84499 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84501         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
84502         <bits/wordsize.h>.
84503         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
84504         (__signbit): Likewise.
84505         (llrintf): Likewise.
84506         (llrint): Likewise.
84508 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84510         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
84511         __WORDSIZE != 64.
84513 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
84515         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
84516         OVERFLOW_EXCEPTION_OK.
84517         * math/libm-test.inc ("Philosophy"): Update comment about
84518         exception testing.
84519         (OVERFLOW_EXCEPTION): Define.
84520         (OVERFLOW_EXCEPTION_OK): Likewise.
84521         (INVALID_EXCEPTION_OK): Renumber.
84522         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
84523         (IGNORE_ZERO_INF_SIGN): Likewise.
84524         (test_exceptions): Handle FE_OVERFLOW.
84525         (exp10_test): Expect overflow exceptions.
84526         (exp2_test): Likewise.
84527         (expm1_test): Likewise.
84528         (nextafter_test): Likewise.
84529         (pow_test): Likewise.
84530         (scalbn_test): Likewise.
84531         (scalbln_test): Likewise.
84533 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84535         * sysdeps/x86_64/bits/atomic.h
84536         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
84537         64bit integer.
84538         (atomic_exchange_acq): Likewise.
84539         (__arch_exchange_and_add_body): Likewise.
84540         (__arch_add_body): Likewise.
84541         (atomic_add_negative): Likewise.
84542         (atomic_add_zero): Likewise.
84544 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84546         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
84547         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
84549 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84551         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
84552         Check __x86_64__ instead of __WORDSIZE.
84554 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84556         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
84558 2012-03-19  David S. Miller  <davem@davemloft.net>
84560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84562         * sysdeps/sparc/fpu/fenv_private.h: New file.
84563         * sysdeps/sparc/fpu/math_private.h: Use it.
84564         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
84565         Remove.
84566         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
84567         (libc_feholdexcept_setroundl): Remove.
84568         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
84569         Remove.
84570         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
84571         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
84573 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84575         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
84576         int64_t instead of long int.
84577         (INSERT_WORDS64): Likewise.
84579 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84581         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
84582         _Unwind_GetCFA return to _Unwind_Ptr first.
84584 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
84586         [BZ #13629]
84587         * math/s_clog.c: Include <float.h>.
84588         (__clog): Scale large or subnormal inputs.
84589         * math/s_clogf.c: Likewise.
84590         * math/s_clogl.c: Likewise.
84591         * math/s_clog10.c: Include <float.h>.
84592         (M_LOG10_2): Define.
84593         (__clog10): Scale large or subnormal inputs.
84594         * math/s_clog10f.c: Likewise.
84595         * math/s_clog10l.c: Likewise.
84596         * math/libm-test.inc (clog_test): Add more tests.
84597         (clog10_test): Likewise.
84598         * sysdeps/i386/fpu/libm-test-ulps: Update.
84599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84601         [BZ #11451]
84602         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
84603         x and y.
84604         * math/libm-test.inc (atan2_test): Add another test.
84606         * Makerules (common-objdir-compile): Remove.
84607         * sysdeps/unix/Makefile (config-generated): Do not add
84608         $(unix-generated) to variable.
84609         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
84610         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
84611         Remove rule.
84612         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
84613         Likewise.
84614         [generic bits/local_lim.h] (before-compile): Do not append to
84615         variable.
84616         [generic bits/local_lim.h] (common-generated): Likewise.
84617         [generic sys/param.h] (before-compile): Do not append to variable.
84618         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
84619         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
84620         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
84621         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
84622         include.
84623         [generic sys/param.h] (sys/param.h-includes): Remove variable.
84624         [generic sys/param.h] (sys/param.h-includes): Remove rule.
84625         [generic sys/param.h] ($(addprefix
84626         $(common-objpfx),$(sys/param.h-includes))): Likewise.
84627         [generic sys/param.h] (common-generated): Do not append to
84628         variable.
84629         [generic sys/param.h] (sysdep_headers): Likewise.
84630         [generic bits/errno.h] (before-compile): Do not append to
84631         variable.
84632         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
84633         rule.
84634         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
84635         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
84636         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
84637         [generic bits/errno.h] (common-generated): Do not append to
84638         variable.
84639         [generic bits/ioctls.h] (before-compile): Do not append to
84640         variable.
84641         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
84642         rule.
84643         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
84644         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
84645         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
84646         rule.
84647         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
84648         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
84649         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
84650         [generic bits/ioctls.h] (common-generated): Do not append to
84651         variable.
84652         [generic sys/syscall.h] (syscall.h): Remove variable.
84653         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
84654         rule.
84655         [generic sys/syscall.h] (before-compile): Do not append to
84656         variable.
84657         [generic sys/syscall.h] (common-generated): Likewise.
84658         * sysdeps/unix/errnos-tmpl.c: Remove file.
84659         * sysdeps/unix/errnos.awk: Likewise.
84660         * sysdeps/unix/ioctls-tmpl.c: Likewise.
84661         * sysdeps/unix/ioctls.awk: Likewise.
84662         * sysdeps/unix/mk-local_lim.c: Likewise.
84663         * sysdeps/unix/snarf-ioctls: Likewise.
84665 2012-03-19  Richard Henderson  <rth@twiddle.net>
84667         * sysdeps/i386/fpu/fenv_private.h: New file.
84668         * sysdeps/i386/fpu/math_private.h: Use it.
84669         (math_opt_barrier, math_force_eval): Remove.
84670         (libc_feholdexcept_setround_53bit): Remove.
84671         (libc_feupdateenv_53bit): Remove.
84672         * sysdeps/x86_64/fpu/math_private.h: Likewise.
84673         (math_opt_barrier, math_force_eval): Remove.
84674         (libc_feholdexcept): Remove.
84675         (libc_feholdexcept_setround): Remove.
84676         (libc_fetestexcept, libc_fesetenv): Remove.
84677         (libc_feupdateenv_test): Remove.
84678         (libc_feupdateenv, libc_feholdsetround): Remove.
84679         (libc_feresetround): Remove.
84681         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
84682         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
84684         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
84685         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
84686         (libc_feupdateenv_testl): New.
84687         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
84688         (libc_feupdateenv_testf): New.
84689         (libc_feupdateenv): Use libc_feupdateenv_test.
84690         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
84691         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
84693         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
84694         (libc_feholdsetroundf, libc_feholdsetroundl): New.
84695         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
84696         (libc_feresetround_noex): New.
84697         (libc_feresetround_noexf): New.
84698         (libc_feresetround_noexl): New.
84699         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
84700         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
84701         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
84702         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
84703         SET_RESTORE_ROUND.
84704         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
84705         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
84706         (__cos): Likewise.
84707         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
84708         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
84709         SET_RESTORE_ROUND_NOEX.
84710         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
84711         SET_RESTORE_ROUND_NOEXF.
84712         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
84713         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
84714         (libc_feholdsetroundf): New.
84715         (libc_feresetround, libc_feresetroundf): New.
84717         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
84718         (libc_feholdexcept_setround_53bit): Convert from macro to function.
84719         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
84721         * sysdeps/generic/math_private.h: Include <fenv.h>.
84722         (default_libc_feholdexcept): New.
84723         (default_libc_feholdexcept_setround): New.
84724         (default_libc_fesetenv, default_libc_feupdateenv): New.
84725         (libc_feholdexcept): Only define if undefined.
84726         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
84727         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
84728         (libc_feholdexcept_setroundl): Likewise.
84729         (libc_feholdexcept_setround_53bit): Likewise.
84730         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
84731         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
84732         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
84733         (libc_feupdateenv_53bit): Likewise.
84734         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
84735         (libc_feholdexcept): Convert from macro to inline function.
84736         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
84737         (libc_fesetenv, libc_feupdateenv): Likewise.
84739         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
84740         not previously defined.
84741         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
84742         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
84743         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
84744         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
84745         * sysdeps/ieee754/flt-32/math_private.h: New file.
84746         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
84747         math_private.h below SET_FLOAT_WORD.
84748         (__isnan, __isinf_ns, __finite): Remove.
84749         (__isnanf, __isinf_nsf, __finitef): Remove.
84751 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
84753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84755 2012-03-17  David S. Miller  <davem@davemloft.net>
84757         [BZ #6471]
84758         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
84759         for 2.16.
84761 2012-03-16  David S. Miller  <davem@davemloft.net>
84763         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
84764         warnings.
84766         [BZ #6471]
84767         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
84768         properly.
84769         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
84770         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
84771         sysdep_routines when subdir is sysvipc.
84772         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
84773         __getshmlba helper.
84775         * sysdeps/sparc/fpu/libm-test/ulps: Update.
84777 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84779         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
84780         [__LP64__].
84782 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84784         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
84785         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
84786         (__lround): Renamed to ...
84787         (__llround): This.  Replace long int with long long int.
84788         Define lround functions as aliases of llround functions.
84789         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
84791 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84793         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
84794         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
84795         adresses to uintptr_t.  Replace "long int" and "unsigned long
84796         int" with "greg_t" on va_arg.
84798 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84800         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
84801         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
84803         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
84804         Move e_machine check before EI_CLASS check.  Handle x32
84805         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
84806         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
84807         SKIP_EM_IA_64 and include
84808         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
84810         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
84811         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
84812         (add_system_dir): New macro.
84814         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
84815         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
84817 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84819         [BZ #2551]
84820         [BZ #2552]
84821         [BZ #2553]
84822         [BZ #2554]
84823         [BZ #2562]
84824         [BZ #2563]
84825         [BZ #2565]
84826         [BZ #2566]
84827         [BZ #2576]
84828         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
84829         (y0): Likewise.
84830         * math/w_j0f.c (j0f): Likewise.
84831         (y0f): Likewise.
84832         * math/w_j0l.c (__j0l): Likewise.
84833         (__y0l): Likewise.
84834         * math/w_j1.c (j1): Likewise.
84835         (y1): Likewise.
84836         * math/w_j1f.c (j1f): Likewise.
84837         (y1f): Likewise.
84838         * math/w_j1l.c (__j1l): Likewise.
84839         (__y1l): Likewise.
84840         * math/w_jn.c (jn): Likewise.
84841         (yn): Likewise.
84842         * math/w_jnf.c (jnf): Likewise.
84843         (ynf): Likewise.
84844         * math/w_jnl.c (__jnl): Likewise.
84845         (__ynl): Likewise.
84846         * math/libm-test.inc (j0_test): Add more tests.
84847         (j1_test): Likewise.
84848         (jn_test): Likewise.  Add trailing semicolon to existing test.
84849         (y0_test): Likewise.
84850         (y1_test): Likewise.
84851         * sysdeps/i386/fpu/libm-test-ulps: Update.
84852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84854         [BZ #13851]
84855         [BZ #13854]
84856         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
84857         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
84858         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
84859         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
84860         (__tanl): Set errno for infinite argument.
84861         * sysdeps/i386/fpu/mptan.c: Remove.
84862         * sysdeps/i386/fpu/s_tan.S: Likewise.
84863         * sysdeps/i386/fpu/s_tanl.S: Likewise.
84864         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
84865         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
84866         * math/libm-test.inc (tan_test): Add more tests and enable more
84867         tests for double and long double.
84868         * sysdeps/i386/fpu/libm-test-ulps: Update.
84869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84871 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
84873         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
84874         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
84876 2012-03-16  Roland McGrath  <roland@hack.frob.com>
84878         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
84879         * configure.in: Use it for both main tree and add-ons.
84880         * configure: Regenerated.
84882 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84884         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
84886 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84888         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
84889         in comment.
84891         [BZ #13851]
84892         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
84893         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
84894         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
84895         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
84896         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
84897         infinite argument.
84898         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
84899         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
84900         != 0 for prec == 2.
84901         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
84902         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
84903         * sysdeps/i386/fpu/s_cosl.S: Likewise.
84904         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
84905         * sysdeps/i386/fpu/s_sinl.S: Likewise.
84906         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
84907         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
84908         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
84909         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
84910         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
84911         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
84912         * math/libm-test.inc (cos_test): Add more tests and enable more
84913         tests for long double.
84914         (sin_test): Likewise.
84915         (sincos_test): Likewise.
84916         * sysdeps/i386/fpu/libm-test-ulps: Update.
84917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84919 2012-03-16  David S. Miller  <davem@davemloft.net>
84921         * sysdeps/sparc/fpu/math_private.h: New file.
84923 2012-03-15  David S. Miller  <davem@davemloft.net>
84925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
84926         file.
84927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
84928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
84929         file.
84930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
84931         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
84932         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
84933         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
84934         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
84935         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
84936         sysdep routines.
84937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84939         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
84940         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
84942         * sysdeps/sparc/sparc-ifunc.h: New file.
84943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
84944         sparc-ifunc.h
84945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
84946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
84947         Likewise.
84948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
84949         Likewise.
84950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
84951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
84952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
84954         Likewise.
84955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
84957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
84959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
84960         Likewise.
84961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
84962         Likewise.
84963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
84965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
84966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
84967         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
84968         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
84969         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
84970         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
84971         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
84972         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
84973         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
84974         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
84975         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
84976         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
84977         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
84978         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
84979         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
84980         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
84981         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
84982         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
84983         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
84984         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
84985         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
84986         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
84988 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
84990         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
84991         scaling.
84992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84994 2012-03-15  Andreas Jaeger  <aj@suse.de>
84996         [BZ #13852]
84997         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
84998         ieee754/flt-32 implementation for sin, cos and sincos.
84999         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
85000         * sysdeps/i386/fpu/s_cosf.S: Likewise.
85001         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
85002         * sysdeps/i386/fpu/s_sinf.S: Likewise.
85003         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
85004         ieee754/flt-32 implementation for tan.
85006         * math/libm-test.inc (cos_test): Enable some large input tests for
85007         float as well
85008         (sin_test): Likewise.
85009         (sincos_test): Likewise.
85010         (tan_test): Add tests for large input.
85012         * sysdeps/i386/fpu/libm-test-ulps: Update.
85014 2012-03-15  Andreas Jaeger  <aj@suse.de>
85016         [BZ #13658]
85017         * math/libm-test.inc (cos_test): Add more test cases.
85018         (sin_test): Likewise.
85019         (sincos_test): Likewise.
85021 2012-03-15  Andreas Jaeger  <aj@suse.de>
85023         [BZ #13837]
85024         * math/libm-test.inc (cos_test): Add a test case for large input
85025         value.
85026         (sin_test): Likewise.
85027         (sincos_test): Likewise.
85029 2012-03-15  Andreas Jaeger  <aj@suse.de>
85030             Joseph Myers  <joseph@codesourcery.com>
85032         [BZ #13658]
85033         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
85034         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
85035         * sysdeps/i386/fpu/branred.c: Likewise.
85036         * sysdeps/i386/fpu/dosincos.c: Likewise.
85037         * sysdeps/i386/fpu/mpa.c: Likewise.
85038         * sysdeps/i386/fpu/s_cos.S: Likewise.
85039         * sysdeps/i386/fpu/s_sin.S: Likewise.
85040         * sysdeps/i386/fpu/s_sincos.S: Likewise.
85041         * sysdeps/i386/fpu/sincos32.c: Likewise.
85043         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
85044         Define.
85045         (libc_feupdateenv_53bit): Define.
85046         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
85047         Define.
85048         (libc_feupdateenv_53bit): Define.
85050         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
85051         53 bit (without extend i386 double precision).
85053         * math/libm-test.inc (sincos_test): Add tests for large input.
85054         (sin): Likewise.
85055         (cos): Likewise.
85057         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
85059 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
85061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85063 2012-03-15  David S. Miller  <davem@davemloft.net>
85065         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
85066         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
85067         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
85068         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
85069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
85070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
85071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
85072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
85073         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
85074         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
85075         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
85076         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
85077         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
85078         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
85079         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
85080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
85081         file.
85082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
85083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
85084         file.
85085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
85086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
85087         file.
85088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
85089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
85090         file.
85091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
85092         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
85093         fmin/fmax sysdep routines.
85094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
85096 2012-03-14  David S. Miller  <davem@davemloft.net>
85098         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
85099         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
85100         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
85101         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
85102         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
85103         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
85104         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
85105         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
85106         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
85107         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
85108         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
85109         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
85110         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
85111         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
85112         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
85113         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
85114         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
85115         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
85116         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
85117         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
85118         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
85119         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
85120         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
85121         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
85122         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
85123         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
85124         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
85125         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
85126         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
85127         routines.
85128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
85129         file.
85130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
85131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
85132         file.
85133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
85134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
85135         file.
85136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
85137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
85138         file.
85139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
85140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
85141         file.
85142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
85143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
85144         file.
85145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
85146         file.
85147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
85148         file.
85149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
85150         file.
85151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
85152         New file.
85153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
85154         file.
85155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
85156         file.
85157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
85158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
85159         file.
85160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
85161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
85162         file.
85163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
85164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
85165         file.
85166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
85167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
85168         VIS3 routines.
85170         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
85171         New file.
85173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85175         * sysdeps/sparc/configure.in: New file.
85176         * sysdeps/sparc/configure: Generate.
85177         * configure.in (libc_cv_sparc_as_vis3): Substitute.
85178         * configure: Regenerate.
85179         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
85180         * config.make.in (have-as-vis3): New.
85181         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
85182         available use -Av9d instead of -Av9a.
85183         * sysdeps/sparc/sparc64/Makefile: Likewise.
85184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
85185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
85186         New file.
85187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
85188         file.
85189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
85190         New file.
85191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
85192         file.
85193         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
85194         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
85195         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
85196         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
85197         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
85199         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
85200         fzeros/fnegs to load 0x80000000 into a float register instead of
85201         using the stack.
85202         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
85204 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
85206         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85207         bits/syscall.h.
85208         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
85209         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
85210         ($(inst_includedir)/bits/syscall.h): Remove rule.
85211         ($(objpfx)bits/syscall.d): Include instead of
85212         $(objpfx)syscall-list.d.
85213         (generated): Change syscall-list.h and syscall-list.d to
85214         bits/syscall.h and bits/syscall.d.
85216 2012-03-14  Roland McGrath  <roland@hack.frob.com>
85218         [BZ #13846]
85219         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
85221 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
85223         [BZ #13841]
85224         * math/s_csqrt.c: Include <float.h>.
85225         (__csqrt): Scale large or subnormal inputs.
85226         * math/s_csqrtf.c: Likewise.
85227         * math/s_csqrtl.c: Likewise.
85228         * math/libm-test.inc (csqrt_test): Add more tests.
85229         * sysdeps/i386/fpu/libm-test-ulps: Update.
85230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85232         [BZ #13840]
85233         * math/libm-test.inc (hypot_test): Add more tests.
85235 2012-03-13  David S. Miller  <davem@davemloft.net>
85237         [BZ #13840]
85238         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
85239         double-precision for the calculation instead of scaling.
85241 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
85243         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
85244         manipulate bits before adding and subtracting TWO52[sx].
85245         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
85246         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
85247         Likewise.
85248         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
85250 2012-03-13  David S. Miller  <davem@davemloft.net>
85252         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
85253         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
85254         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
85255         rtld-global-offsets.h
85256         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85258         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
85259         large parameters.
85261         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
85263         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
85264         'err' in the ifdef scope in which it is actually used.
85266         * nss/nss_db/db-init.c: Include string.h
85268 2012-03-12  David S. Miller  <davem@davemloft.net>
85270         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
85271         masking out of the most significant byte of random value used.
85272         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85273         Fix coding style in previous change.
85275         * sysdeps/unix/sysv/linux/kernel-features.h
85276         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
85277         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
85278         expression.
85279         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
85280         later.
85282 2012-03-11  David S. Miller  <davem@davemloft.net>
85284         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
85285         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
85286         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
85287         for 'resultvar' otherwise things get truncated on 64-bit.
85289         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85290         Fix masking out of the most significant byte of random value used.
85292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85294 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
85296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85298 2012-03-09  David S. Miller  <davem@davemloft.net>
85300         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
85301         variables with appropriate CPP guards.
85302         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
85303         from the frame pointer, not the stack pointer.  Correct layout
85304         comments.  Fix test on resulting framesize and the management of
85305         the outregs buffer for pltexit.  Preserve floating point return
85306         values across _dl_call_pltexit call.
85307         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
85308         framesize and the management of the outregs buffer for pltexit.
85309         Preserve floating point return values across _dl_call_pltexit
85310         call.
85311         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
85312         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
85313         (la_sparc64_gnu_pltexit): New functions.
85314         (print_exit): Fix format string for return register value.
85316 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
85318         * sunrpc/Makefile (others): Add rpcgen.
85319         ($(objpfx)rpcgen): Remove special build rule and dependency on
85320         libc.
85321         * sunrpc/rpcgen.c: New file.
85323 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
85325         [BZ #13673]
85326         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
85327         * stdio-common/bug-vfprintf-nargs.c: Likewise.
85328         * sysdeps/i386/crti.S: Likewise.
85329         * sysdeps/i386/crtn.S: Likewise.
85330         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
85331         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
85332         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
85333         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
85334         * sysdeps/sh/crti.S: Likewise.
85335         * sysdeps/sh/crtn.S: Likewise.
85336         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
85338         [BZ #13673]
85339         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
85340         with URL.
85341         * locale/programs/locfile-kw.gperf: Likewise.
85342         * locale/programs/charmap-kw.h: Regenerated.
85343         * locale/programs/locfile-kw.h: Likewise.
85345         [BZ #13673]
85346         * intl/plural.y: Replace FSF snail mail address with URL.
85347         * intl/plural.c: Regenerated.
85349 2012-03-09  Richard Henderson  <rth@twiddle.net>
85351         * include/math_private.h: Remove file.
85352         * math/math_private.h: Move file ...
85353         * sysdeps/generic/math_private.h: ... here.
85355         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
85356         * sysdeps/powerpc/fpu/math_private.h: Likewise.
85357         * sysdeps/x86_64/fpu/math_private.h: Likewise.
85359         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
85360         and <math_private.h>.
85361         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85362         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85363         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85364         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85365         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85366         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
85367         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
85368         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85369         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85370         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85371         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85372         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85373         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85374         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85375         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85376         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85377         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85378         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85379         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85380         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85381         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85382         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85383         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85384         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85385         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
85386         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85387         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85388         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85389         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85390         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85391         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85392         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85393         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
85394         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
85395         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85396         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85397         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
85398         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85399         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85400         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85401         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
85402         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85403         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85404         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
85405         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
85406         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85407         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
85408         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
85409         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
85410         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85411         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
85412         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
85413         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
85414         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85415         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
85416         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85417         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85418         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
85419         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
85420         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
85421         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
85422         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
85423         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85424         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85425         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
85426         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
85427         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
85428         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
85429         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
85430         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
85431         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
85432         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85433         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
85434         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85435         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
85436         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
85437         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
85438         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85439         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
85440         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
85441         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
85442         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
85443         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
85444         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85445         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
85446         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
85447         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
85448         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
85449         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85450         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85451         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85452         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85453         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85454         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85455         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85456         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85457         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85458         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85459         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85460         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85461         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85462         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85463         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85464         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85465         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85466         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85467         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85468         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85469         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85470         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85471         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85472         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85473         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85474         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85475         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
85476         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85477         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85478         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85479         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85480         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
85481         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85482         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85483         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85484         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
85485         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85486         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85487         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85488         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
85489         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85490         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
85491         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
85492         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
85493         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85494         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
85495         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
85496         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
85497         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
85498         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85499         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
85500         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
85501         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85502         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
85503         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
85504         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
85505         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
85506         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85507         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85508         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85509         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
85510         * sysdeps/ieee754/k_standard.c: Likewise.
85511         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85512         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85513         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85514         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85515         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85516         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85517         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85518         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85519         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85520         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85521         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85522         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85523         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85524         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85525         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85526         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85527         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
85528         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85529         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85530         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
85531         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
85532         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
85533         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85534         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85535         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
85536         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
85537         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85538         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85539         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85540         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85541         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
85542         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85543         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85544         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85545         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
85546         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85547         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85548         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
85549         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
85550         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85551         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
85552         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
85553         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
85554         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85555         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
85556         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
85557         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85558         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85559         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85560         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85561         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85562         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
85563         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85564         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
85565         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
85566         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
85567         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
85568         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
85569         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
85570         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
85571         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
85572         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
85573         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
85574         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85575         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85576         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85577         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85578         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85579         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85580         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85581         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85582         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85583         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85584         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85585         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85586         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85587         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
85588         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85589         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85590         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
85591         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
85592         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
85593         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
85594         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
85595         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
85596         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
85597         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
85598         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
85599         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
85600         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
85601         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
85602         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
85603         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
85604         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
85605         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
85606         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
85607         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
85608         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
85609         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
85610         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
85611         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
85612         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
85613         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
85614         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
85615         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
85616         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
85617         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
85618         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
85619         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
85620         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
85621         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
85622         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
85623         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85624         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85625         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85626         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85627         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85628         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85629         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85630         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85631         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85632         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85633         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85634         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85635         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85636         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
85637         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
85638         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
85639         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
85640         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
85641         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
85642         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
85643         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
85644         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
85645         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
85646         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
85647         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
85648         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
85649         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
85650         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
85651         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
85652         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
85653         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
85654         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
85655         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
85656         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
85657         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
85658         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
85659         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
85660         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
85661         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
85662         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
85663         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
85664         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
85665         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
85666         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
85667         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
85668         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
85669         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
85670         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
85671         * sysdeps/ieee754/s_lib_version.c: Likewise.
85672         * sysdeps/ieee754/s_matherr.c: Likewise.
85673         * sysdeps/ieee754/s_signgam.c: Likewise.
85674         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85675         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85676         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
85677         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
85678         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
85679         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
85680         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
85681         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
85682         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
85683         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
85684         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
85685         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
85686         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
85687         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
85688         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
85689         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
85690         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
85691         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
85692         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
85693         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
85694         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
85696 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
85698         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
85699         * sunrpc/rpc_main.c: Likewise.
85700         * sunrpc/rpc_svcout.c: Likewise.
85702 2012-03-09  David S. Miller  <davem@davemloft.net>
85704         * include/math_private.h: New file.
85706 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
85708         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
85709         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
85710         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
85711         from <bits/socket_type.h>.
85712         (enum __socket_type): Don't define here.
85713         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
85714         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85715         bits/socket_type.h.
85717         [BZ #13566]
85718         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
85719         checking __USE_GNU.
85721         * Makerules ($(inst_includedir)/%.h): New rule.
85722         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
85723         (install-others): Remove variable setting.
85724         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
85726 2012-03-08  Richard Henderson  <rth@twiddle.net>
85728         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
85729         from macro to inline function; merge with the
85730         !__LIBC_INTERNAL_MATH_INLINES version.
85731         (__ieee754_sqrtf): Likewise.
85733         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
85734         to inline function.
85735         (__rintf, __floor, __floorf): Likewise.
85737         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
85738         macro to inline function.
85739         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
85741         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
85742         not <math/math_private.h>.
85744 2012-03-08  David S. Miller  <davem@davemloft.net>
85746         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
85747         copyright year.
85748         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
85750 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
85752         * resolv/gai_misc.c (handle_requests): Fix struct timespec
85753         normalization.
85754         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
85755         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
85757 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
85759         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
85760         be defined individually, they must be defined as a block.  Define
85761         S for printing a string instead of hidint the different by using a
85762         macro for adding the 'l'.
85763         * stdio-common/tst-fphex-wide.c: Adjust.
85765 2012-03-07  Marek Polacek  <polacek@redhat.com>
85767         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
85769 2012-03-08  Marek Polacek  <polacek@redhat.com>
85771         [BZ #13806]
85772         * stdio-common/Makefile (tests): Add tst-fphex-wide.
85773         * stdio-common/tst-fphex.c: Define a few macros to make the
85774         test reusable.  Use them.
85775         * stdio-common/tst-fphex-wide.c: New file.
85777 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
85779         [BZ #6911]
85780         * manual/macros.texi (gnusystems): New macro.
85781         (nongnusystems): Likewise.
85782         (gnulinuxhurdsystems): Likewise.
85783         (gnuhurdsystems): Likewise..
85784         (gnulinuxsystems): Likewise.
85785         * manual/charset.texi: Use new macros or @theglibc{} to refer to
85786         variants of the GNU system, not "GNU system".
85787         * manual/conf.texi: Likewise.
85788         * manual/errno.texi: Likewise.  Update example of errno macro
85789         expansion.
85790         * manual/filesys.texi: Likewise.
85791         (getumask): Document as specific to GNU/Hurd.
85792         * manual/install.texi: Likewise.  Reword some references to
85793         GNU/Linux.
85794         * manual/intro.texi: Likewise.
85795         * manual/io.texi: Likewise.
85796         (File Name Portability): Detail which constraints are inapplicable
85797         to all GNU systems and which are only inapplicable to GNU/Hurd.
85798         * manual/job.texi: Likewise.
85799         * manual/llio.texi: Likewise.
85800         (O_NOCTTY): Document as present on GNU/Linux.
85801         * manual/maint.texi: Likewise.
85802         * manual/memory.texi: Likewise.
85803         * manual/pattern.texi: Likewise.
85804         * manual/pipe.texi: Likewise.
85805         * manual/process.texi: Likewise.
85806         * manual/resource.texi: Likewise.
85807         (RUSAGE_CHILDREN): Remove statement about specifying a particular
85808         child on GNU/Hurd.
85809         * manual/setjmp.texi: Likewise.
85810         * manual/signal.texi: Likewise.
85811         * manual/startup.texi: Likewise.
85812         * manual/stdio.texi: Likewise.
85813         * manual/terminal.texi: Likewise.
85814         (ONLCR): Document as POSIX.
85815         (OXTABS): Document availability on GNU/Linux as XTABS.
85816         (ONOEOT): Document availability separately from other bits.
85817         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
85818         * manual/time.texi: Likewise.
85819         * manual/users.texi: Likewise.
85820         * INSTALL: Regenerated.
85821         * sysdeps/gnu/errlist.c: Regenerated.
85823         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
85824         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
85825         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
85826         puts.
85827         * configure: Regenerated.
85829 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
85831         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
85832         default includes instead of AC_HEADER_CHECK.
85833         * sysdeps/i386/configure: Regenerated.
85835         [BZ #10716]
85836         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
85837         * math/s_cacoshf.c (__cacoshf): Likewise.
85838         * math/s_cacoshl.c (__cacoshl): Likewise.
85839         * math/s_casinh.c (__casinh): Set signs of result from argument.
85840         * math/s_casinhf.c (__casinhf): Likewise.
85841         * math/s_casinhl.c (__casinhl): Likewise.
85842         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
85843         (casinh_test): Add more tests.
85844         * sysdeps/i386/fpu/libm-test-ulps: Update.
85845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85847 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
85849         * po/zh_TW.po: Update from translation team.
85851         * login/Makefile (distribute): Remove variable.
85852         * catgets/Makefile: Likewise.
85853         * mach/Makefile: Likewise.
85854         * malloc/Makefile: Likewise.
85855         * misc/Makefile: Likewise.
85856         * iconv/Makefile: Likewise.
85857         * nscd/Makefile: Likewise.
85858         * hurd/Makefile: Likewise.
85859         * manual/Makefile: Likewise.
85860         * locale/Makefile: Likewise.
85861         * intl/Makefile: Likewise.
85862         * conform/Makefile: Likewise.
85863         * nss/Makefile: Likewise.
85864         * time/Makefile: Likewise.
85865         * soft-fp/Makefile: Likewise.
85866         * dirent/Makefile: Likewise.
85867         * gmon/Makefile: Likewise.
85868         * po/Makefile: Likewise.
85869         * rt/Makefile: Likewise.
85870         * socket/Makefile: Likewise.
85871         * math/Makefile: Likewise.
85872         * signal/Makefile: Likewise.
85873         * debug/Makefile: Likewise.
85874         * elf/Makefile: Likewise.
85875         * timezone/Makefile: Likewise.
85876         * stdlib/Makefile: Likewise.
85877         * iconvdata/Makefile: Likewise.
85878         * sunrpc/Makefile: Likewise.
85879         * io/Makefile: Likewise.
85880         * argp/Makefile: Likewise.
85881         * inet/Makefile: Likewise.
85882         * hesiod/Makefile: Likewise.
85883         * grp/Makefile: Likewise.
85884         * csu/Makefile: Likewise.
85885         * wctype/Makefile: Likewise.
85886         * crypt/Makefile: Likewise.
85887         * libio/Makefile: Likewise.
85888         * string/Makefile: Likewise.
85889         * nis/Makefile: Likewise.
85890         * resolv/Makefile: Likewise.
85891         * stdio-common/Makefile: Likewise.
85892         * wcsmbs/Makefile: Likewise.
85893         * dlfcn/Makefile: Likewise.
85894         * posix/Makefile: Likewise.
85896         [BZ #6959]
85897         * timezone/Makefile: Don't install timezone files, just the programs
85898         and scripts.
85900 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
85902         * nss/databases.def: Add missing gshadow entry.
85904         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
85906 2012-03-06  Marek Polacek  <polacek@redhat.com>
85908         [BZ #13726]
85909         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
85910         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
85911         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
85912         * stdio-common/tst-long-dbl-fphex.c: New file.
85914 2012-03-06  David S. Miller  <davem@davemloft.net>
85916         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85917         (set_obp_int): New function.
85918         (get_obp_int): New function.
85919         (__get_clockfreq_via_dev_openprom): Likewise.
85920         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
85921         Avoid unused variable warnings on 'val' and use builtin_expect.
85922         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
85923         __builtin_expect.
85924         (INLINE_CLONE_SYSCALL): Likewise.
85926 2012-03-05  David S. Miller  <davem@davemloft.net>
85928         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85930 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
85932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85934         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
85935         only for |x| >= 40.
85936         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85938 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
85940         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
85941         Replace gettimeofday with __vdso_gettimeofday.
85943         * sysdeps/unix/sysv/linux/x86_64/init-first.c
85944         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
85945         __vdso_clock_gettime and __vdso_getcpu.
85947         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
85948         time with __vdso_time.
85950 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85952         * manual/lang.texi (size_t): Note types to which size_t may be
85953         equivalent with the GNU C Library, but do not describe when
85954         differences between them are significant.
85956 2012-03-05  Andreas Jaeger  <aj@suse.de>
85958         * sysdeps/i386/fpu/libm-test-ulps: Update.
85960 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85962         [BZ #3976]
85963         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
85964         (__ieee754_pow): Save and restore rounding mode and use
85965         round-to-nearest for main computations.
85966         * math/libm-test.inc (pow_test_tonearest): New function.
85967         (pow_test_towardzero): Likewise.
85968         (pow_test_downward): Likewise.
85969         (pow_test_upward): Likewise.
85970         (main): Call the new functions.
85971         * sysdeps/i386/fpu/libm-test-ulps: Update.
85972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85974         [BZ #3976]
85975         * math/libm-test.inc (cosh_test_tonearest): New function.
85976         (cosh_test_towardzero): Likewise.
85977         (cosh_test_downward): Likewise.
85978         (cosh_test_upward): Likewise.
85979         (sinh_test_tonearest): Likewise.
85980         (sinh_test_towardzero): Likewise.
85981         (sinh_test_downward): Likewise.
85982         (sinh_test_upward): Likewise.
85983         (main): Call the new functions.
85984         * sysdeps/i386/fpu/libm-test-ulps: Update.
85985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85987 2012-03-05  Tom de Vries  <tom@codesourcery.com>
85989         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
85990         default stack guard is set in last bytes.
85991         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
85993 2012-03-05  Kees Cook  <keescook@chromium.org>
85995         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
85997         [BZ #13656]
85998         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
85999         possibly allocate from heap instead of stack.
86000         * stdio-common/bug-vfprintf-nargs.c: New file.
86001         * stdio-common/Makefile (tests): Add nargs overflow test.
86003 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
86005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86007 2012-03-03  Marek Polacek  <polacek@redhat.com>
86009         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
86010         * math/math_private.h: Likewise.
86011         * stdlib/tst-strtod.c: Likewise.
86012         * sysdeps/i386/i486/bits/atomic.h: Likewise.
86013         * sysdeps/x86_64/bits/atomic.h: Likewise.
86015 2012-03-02  David S. Miller  <davem@davemloft.net>
86017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
86018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
86019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
86020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
86021         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
86022         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
86023         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
86024         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
86026 2012-03-02  Roland McGrath  <roland@hack.frob.com>
86028         [BZ #13792]
86029         * manual/examples/README: New file, says the example source files
86030         can be used under GPL>=2.
86031         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
86032         line containing just "*/".
86033         * manual/examples/add.c: Add copyright header (GPL>=2).
86034         * manual/examples/argp-ex1.c: Likewise.
86035         * manual/examples/argp-ex2.c: Likewise.
86036         * manual/examples/argp-ex3.c: Likewise.
86037         * manual/examples/argp-ex4.c: Likewise.
86038         * manual/examples/atexit.c: Likewise.
86039         * manual/examples/db.c: Likewise.
86040         * manual/examples/dir.c: Likewise.
86041         * manual/examples/dir2.c: Likewise.
86042         * manual/examples/execinfo.c: Likewise.
86043         * manual/examples/filecli.c: Likewise.
86044         * manual/examples/filesrv.c: Likewise.
86045         * manual/examples/fmtmsgexpl.c: Likewise.
86046         * manual/examples/genpass.c: Likewise.
86047         * manual/examples/inetcli.c: Likewise.
86048         * manual/examples/inetsrv.c: Likewise.
86049         * manual/examples/isockad.c: Likewise.
86050         * manual/examples/longopt.c: Likewise.
86051         * manual/examples/memopen.c: Likewise.
86052         * manual/examples/memstrm.c: Likewise.
86053         * manual/examples/mkfsock.c: Likewise.
86054         * manual/examples/mkisock.c: Likewise.
86055         * manual/examples/mygetpass.c: Likewise.
86056         * manual/examples/pipe.c: Likewise.
86057         * manual/examples/popen.c: Likewise.
86058         * manual/examples/rprintf.c: Likewise.
86059         * manual/examples/search.c: Likewise.
86060         * manual/examples/select.c: Likewise.
86061         * manual/examples/setjmp.c: Likewise.
86062         * manual/examples/sigh1.c: Likewise.
86063         * manual/examples/sigusr.c: Likewise.
86064         * manual/examples/stpcpy.c: Likewise.
86065         * manual/examples/strdupa.c: Likewise.
86066         * manual/examples/strftim.c: Likewise.
86067         * manual/examples/strncat.c: Likewise.
86068         * manual/examples/subopt.c: Likewise.
86069         * manual/examples/swapcontext.c: Likewise.
86070         * manual/examples/termios.c: Likewise.
86071         * manual/examples/testopt.c: Likewise.
86072         * manual/examples/testpass.c: Likewise.
86073         * manual/examples/timeval_subtract.c: Likewise.
86075         [BZ #13792]
86076         * manual/time.texi (Elapsed Time): Move timeval_subtract example
86077         function to ...
86078         * manual/timeval_subtract.c.texi: ... here, new file.
86080 2012-03-02  David S. Miller  <davem@davemloft.net>
86082         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
86084 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
86086         [BZ #3976]
86087         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
86088         (__sin): Save and restore rounding mode and use round-to-nearest
86089         for all computations.
86090         (__cos): Save and restore rounding mode and use round-to-nearest
86091         for all computations.
86092         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
86093         <fenv.h>.
86094         (tan): Save and restore rounding mode and use round-to-nearest for
86095         all computations.
86096         * math/libm-test.inc (cos_test_tonearest): New function.
86097         (cos_test_towardzero): Likewise.
86098         (cos_test_downward): Likewise.
86099         (cos_test_upward): Likewise.
86100         (sin_test_tonearest): Likewise.
86101         (sin_test_towardzero): Likewise.
86102         (sin_test_downward): Likewise.
86103         (sin_test_upward): Likewise.
86104         (tan_test_tonearest): Likewise.
86105         (tan_test_towardzero): Likewise.
86106         (tan_test_downward): Likewise.
86107         (tan_test_upward): Likewise.
86108         (main): Call the new functions.
86109         * sysdeps/i386/fpu/libm-test-ulps: Update.
86110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86112         [BZ #10135]
86113         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
86114         small n, then large n, before computing and testing k+n.
86115         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
86116         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
86117         Likewise.
86118         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
86119         Likewise.
86120         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
86121         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
86122         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
86123         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
86124         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
86125         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
86126         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
86127         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
86128         * math/libm-test.inc (scalbn_test): Add more tests.
86129         (scalbln_test): Likewise.
86131         * manual/filesys.texi (mode_t): Describe constraints on size and
86132         signedness, not exact equivalence to a particular type.
86133         (ino_t): Likewise.
86134         (ino64_t): Likewise.
86135         (dev_t): Likewise.
86136         (nlink_t): Likewise.
86137         (blkcnt_t): Likewise.
86138         (blkcnt64_t): Likewise.
86139         * manual/llio.texi (off_t): Likewise.
86141         [BZ #3976]
86142         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
86143         (__ieee754_exp): Save and restore rounding mode and use
86144         round-to-nearest for all computations.
86145         * math/libm-test.inc (exp_test_tonearest): New function.
86146         (exp_test_towardzero): Likewise.
86147         (exp_test_downward): Likewise.
86148         (exp_test_upward): Likewise.
86149         (main): Call the new functions.
86150         * sysdeps/i386/fpu/libm-test-ulps: Update.
86151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86153 2012-03-01  Chris Demetriou  <cgd@google.com>
86155         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
86156         have predictable order.
86158 2012-03-01  David S. Miller  <davem@davemloft.net>
86160         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
86162         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
86163         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
86164         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
86165         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
86167         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
86168         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
86169         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
86170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
86171         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
86172         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
86173         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
86174         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
86175         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
86177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86179         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
86180         * sysdeps/sparc/fpu/libm-test-ulps: to here.
86181         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
86183         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
86184         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86185         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86186         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
86187         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
86188         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
86189         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
86190         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86191         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86192         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
86193         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
86194         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86195         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86196         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86197         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86198         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86199         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
86200         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
86201         * sysdeps/sparc/elf/configure: Regenerated.
86203 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
86205         * configure.in (AS, LD): Require binutils 2.20 or later.
86206         * configure: Regenerated.
86207         * manual/install.texi (Tools for Compilation): Give binutils 2.20
86208         as required minimum version.
86209         * INSTALL: Regenerated.
86211         [BZ #2541]
86212         [BZ #4108]
86213         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
86214         before squaring exponent.
86215         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
86216         bottom long double and 27 bits of top long double before squaring
86217         exponent.
86218         * math/libm-test.inc (erfc_test): Add more tests.
86219         * sysdeps/i386/fpu/libm-test-ulps: Update.
86220         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86223 2012-03-01  Kai Tietz  <ktietz@redhat.com>
86225         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
86226         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
86227         containing bit-fields.
86228         * soft-fp/extended.h (_FP_UNION_E): Likewise.
86229         * soft-fp/single.h (_FP_UNION_S): Likewise.
86230         * soft-fp/double.h (_FP_UNION_D): Likewise.
86232 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
86234         [BZ #13786]
86235         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
86236         not include ../strcmp.S.
86237         [USE_AS_STRNCASECMP_L]: Likewise.
86238         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
86239         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
86240         * sysdeps/i386/i686/multiarch/strncase_l-c.c
86241         (__strncasecmp_l_ia32): Define as alias to
86242         __strncasecmp_l_nonascii.
86244         [BZ #5794]
86245         * math/libm-test.inc (expm1_test): Add test for bug 5794.
86246         * sysdeps/i386/fpu/libm-test-ulps: Update.
86247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86249         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
86250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86252 2012-02-29  Jeff Law  <law@redhat.com>
86254         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
86255         out of bounds read.
86257 2012-02-29  Marek Polacek  <polacek@redhat.com>
86259         [BZ #13706]
86260         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
86261         * elf/Makefile: Add rules to run tst-unused-dep.out.
86263 2012-02-28  David S. Miller  <davem@davemloft.net>
86265         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
86266         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
86267         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
86268         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
86269         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
86270         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
86272 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
86274         * math/libm-test.inc (llround_test): Move one test from
86275         lround_test.  Use TEST_f_L in moved test.
86276         (lround_test): Move misplaced test to llround_test.  Add testcase
86277         from bug 2561.
86279 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
86281         * sysdeps/x86_64/fpu/e_expf.S: New file.
86282         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
86284 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
86286         [BZ #13637]
86287         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
86288         of remain_len that may cause incomplete multi-byte character and
86289         false match.
86290         * posix/bug-regex33.c: New file.
86291         * posix/Makefile (tests): Add bug-regex33.
86293 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
86295         * manual/macros.texi: New file.
86296         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
86297         * manual/libc.texinfo: Include macros.texi.
86298         * manual/creatute.texi: Likewise.
86299         * manual/install.texi: Likewise.
86300         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
86301         @glibcadj{} in references to the GNU C Library.
86302         * manual/charset.texi: Likewise.
86303         * manual/conf.texi: Likewise.
86304         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
86305         when not using those macros.
86306         * manual/creature.texi: Likewise.
86307         * manual/crypt.texi: Likewise.
86308         * manual/errno.texi: Likewise.
86309         * manual/filesys.texi: Likewise.
86310         * manual/header.texi: Likewise.
86311         * manual/install.texi: Likewise.
86312         * manual/intro.texi: Likewise.
86313         * manual/io.texi: Likewise.
86314         * manual/job.texi: Likewise.
86315         * manual/lang.texi: Likewise.
86316         * manual/libc.texiinfo: Likewise.
86317         * manual/llio.texi: Likewise.
86318         * manual/locale.texi: Likewise.
86319         * manual/maint.texi: Likewise.
86320         * manual/math.texi: Likewise.
86321         * manual/memory.texi: Likewise.
86322         * manual/message.texi: Likewise.
86323         * manual/nss.texi: Likewise.
86324         * manual/pattern.texi: Likewise.
86325         * manual/process.texi: Likewise.
86326         * manual/resource.texi: Likewise.
86327         * manual/search.texi: Likewise.
86328         * manual/setjmp.texi: Likewise.
86329         * manual/signal.texi: Likewise.
86330         * manual/socket.texi: Likewise.
86331         * manual/startup.texi: Likewise.
86332         * manual/stdio.texi: Likewise.
86333         * manual/string.texi: Likewise.
86334         * manual/sysinfo.texi: Likewise.
86335         * manual/syslog.texi: Likewise.
86336         * manual/terminal.texi: Likewise.
86337         * manual/time.texi: Likewise.
86338         * manual/users.texi: Likewise.
86339         * INSTALL: Regenerated.
86340         * NOTES: Regenerated.
86341         * sysdeps/gnu/errlist.c: Regenerated.
86343 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
86345         * include/dirent.h: Include <dirstream.h> before
86346         <dirent/dirent.h>.
86348 2012-02-28  David S. Miller  <davem@davemloft.net>
86350         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
86351         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
86352         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
86353         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
86355 2012-02-27  David S. Miller  <davem@davemloft.net>
86357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
86358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
86359         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
86360         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
86362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
86363         frame pointer instead of stack pointer relative arg slot.
86364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86365         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86366         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86368 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
86370         [BZ #3992]
86371         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
86373 2012-02-27  David S. Miller  <davem@davemloft.net>
86375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
86376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
86378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
86379         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86380         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86381         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
86382         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
86384 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
86386         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
86387         later.  Allow versions 5-9.
86388         * configure: Regenerated.
86389         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
86390         required minimum version and 4.6 as recommended version.  Do not
86391         mention bugs in GCC 2.7 and 2.8.
86392         * INSTALL: Regenerated.
86394 2012-02-27  David S. Miller  <davem@davemloft.net>
86396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
86397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
86398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
86399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
86400         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
86401         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
86402         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
86403         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
86405         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
86406         manipulate bits before adding and subtracting TWO112[sx].
86407         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
86409 2012-02-27  Roland McGrath  <roland@hack.frob.com>
86411         [BZ #13775]
86412         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
86413         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
86414         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
86415         being in POSIX, because they are in 1003.1-2008.
86417         * rt/tst-aio.c: Include <fcntl.h>.
86418         * rt/tst-aio7.c: Likewise.
86419         * rt/tst-aio64.c: Likewise.
86421         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
86423 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
86425         * manual/install.texi (--with-headers): Describe headers as
86426         interface headers, not private headers.
86427         (Specific advice for GNU/Linux systems): Describe use of headers
86428         from "make headers_install", not private headers from older
86429         kernels.
86430         * INSTALL: Regenerated.
86431         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
86432         Change to 2.6.19.
86433         * sysdeps/unix/sysv/linux/configure: Regenerated.
86435         * manual/llio.texi (fclean): Remove documentation.
86437         * manual/Makefile (libc-texi-generated): New variable.  Include
86438         version.texi.
86439         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
86440         $(libc-texi-generated), not duplicated list of files.
86441         (version.texi, stamp-version): New rules.
86442         (realclean): Remove $(libc-texi-generated), not individual files
86443         from that list.  Do not remove dir-add.texinfo.
86444         * manual/libc.texinfo: Comment out uses of edition numbers and
86445         references to printed manual.  Remove last-updated dates.
86446         (EDITION): Comment out.
86447         (ISBN): Likewise.
86448         (VERSION, UPDATED): Remove.
86449         (version.texi): Include.
86451 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
86453         * sysdeps/posix/spawni.c: Include <signal.h>.
86454         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
86455         * sysdeps/pthread/aio_fsync.c: Likewise.
86457 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
86459         * conform/Makefile (tests): Run only when not cross-compiling and
86460         when fast-check is not defined.
86462         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
86463         * conform/data/limits.h-data: Fixes for POSIX2008.
86464         * conform/run-conformtest.sh: Run all tests.
86465         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
86466         headers.
86467         * include/bits/dlfcn.h: Likewise.
86468         * include/langinfo.h: Likewise.
86469         * include/monetary.h: Likewise.
86470         * include/sys/poll.h: Likewise.
86472         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
86473         for __USE_GNU.
86474         * posix/spawn.h: Define __need_sigset_t.
86475         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
86476         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
86477         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
86478         to get sigevent_t only.
86479         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
86480         only for __USE_GNU.
86481         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86482         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86483         process_vm_writev only for __USE_GNU.
86484         * termios/termios.h: Declare tcgetsid also for POSIX2008.
86486         * conform/Makefile: For now ignore errors from run-conformtest.
86487         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
86488         POSIX to avoid namespace pollution.  Don't prepend headers.
86489         * conform/data/aio.h-data: Fixes for POSIX testing.
86490         * conform/data/fcntl.h-data: Likewise.
86491         * conform/data/glob.h-data: Likewise.
86492         * conform/data/grp.h-data: Likewise.
86493         * conform/data/pthread.h-data: Likewise.
86494         * conform/data/pwd.h-data: Likewise.
86495         * conform/data/signal.h-data: Likewise.
86496         * conform/data/spawn.h-data: Likewise.
86497         * conform/data/stdio.h-data: Likewise.
86498         * conform/data/stdlib.h-data: Likewise.
86499         * conform/data/stropts.h-data: Likewise.
86500         * conform/data/sys/mman.h-data: Likewise.
86501         * conform/data/sys/stat.h-data: Likewise.
86502         * conform/data/sys/types.h-data: Likewise.
86503         * conform/data/sys/wait.h-data: Likewise.
86504         * conform/data/time.h-data: Likewise.
86505         * conform/data/unistd.h-data: Likewise.
86506         * conform/data/utime.h-data: Likewise.
86508         * io/sys/stat.h: fchmod was always in POSIX.
86509         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
86510         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
86511         * rt/aio.h: Define __need_timespec before including <time.h>.
86512         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
86513         struct.  Add forward declaration of pthread_attr_t and use it in
86514         sigevent.
86515         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86516         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86517         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
86518         always remove CLK_TCK definition.
86520 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
86522         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
86524 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
86526         * conform/run-conformtest.sh: New file.
86527         * conform/Makefile: Run run-conformtest for tests.
86528         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
86529         support.
86531         * conform/data/uchar.h-data: New file.
86532         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
86533         * conform/data/arpa/inet.h-data: Likewise.
86534         * conform/data/assert.h-data: Likewise.
86535         * conform/data/complex.h-data: Likewise.
86536         * conform/data/cpio.h-data: Likewise.
86537         * conform/data/ctype.h-data: Likewise.
86538         * conform/data/dirent.h-data: Likewise.
86539         * conform/data/dlfcn.h-data: Likewise.
86540         * conform/data/errno.h-data: Likewise.
86541         * conform/data/fcntl.h-data: Likewise.
86542         * conform/data/float.h-data: Likewise.
86543         * conform/data/fmtmsg.h-data: Likewise.
86544         * conform/data/fnmatch.h-data: Likewise.
86545         * conform/data/ftw.h-data: Likewise.
86546         * conform/data/glob.h-data: Likewise.
86547         * conform/data/grp.h-data: Likewise.
86548         * conform/data/iconv.h-data: Likewise.
86549         * conform/data/inttypes.h-data: Likewise.
86550         * conform/data/langinfo.h-data: Likewise.
86551         * conform/data/libgen.h-data: Likewise.
86552         * conform/data/limits.h-data: Likewise.
86553         * conform/data/locale.h-data: Likewise.
86554         * conform/data/math.h-data: Likewise.
86555         * conform/data/monetary.h-data: Likewise.
86556         * conform/data/mqueue.h-data: Likewise.
86557         * conform/data/ndbm.h-data: Likewise.
86558         * conform/data/net/if.h-data: Likewise.
86559         * conform/data/netdb.h-data: Likewise.
86560         * conform/data/netinet/in.h-data: Likewise.
86561         * conform/data/nl_types.h-data: Likewise.
86562         * conform/data/poll.h-data: Likewise.
86563         * conform/data/pthread.h-data: Likewise.
86564         * conform/data/pwd.h-data: Likewise.
86565         * conform/data/regex.h-data: Likewise.
86566         * conform/data/sched.h-data: Likewise.
86567         * conform/data/search.h-data: Likewise.
86568         * conform/data/semaphore.h-data: Likewise.
86569         * conform/data/setjmp.h-data: Likewise.
86570         * conform/data/signal.h-data: Likewise.
86571         * conform/data/spawn.h-data: Likewise.
86572         * conform/data/stdarg.h-data: Likewise.
86573         * conform/data/stdio.h-data: Likewise.
86574         * conform/data/stdlib.h-data: Likewise.
86575         * conform/data/string.h-data: Likewise.
86576         * conform/data/strings.h-data: Likewise.
86577         * conform/data/stropts.h-data: Likewise.
86578         * conform/data/sys/ipc.h-data: Likewise.
86579         * conform/data/sys/mman.h-data: Likewise.
86580         * conform/data/sys/msg.h-data: Likewise.
86581         * conform/data/sys/resource.h-data: Likewise.
86582         * conform/data/sys/select.h-data: Likewise.
86583         * conform/data/sys/sem.h-data: Likewise.
86584         * conform/data/sys/shm.h-data: Likewise.
86585         * conform/data/sys/socket.h-data: Likewise.
86586         * conform/data/sys/stat.h-data: Likewise.
86587         * conform/data/sys/statvfs.h-data: Likewise.
86588         * conform/data/sys/time.h-data: Likewise.
86589         * conform/data/sys/timeb.h-data: Likewise.
86590         * conform/data/sys/times.h-data: Likewise.
86591         * conform/data/sys/types.h-data: Likewise.
86592         * conform/data/sys/uio.h-data: Likewise.
86593         * conform/data/sys/un.h-data: Likewise.
86594         * conform/data/sys/utsname.h-data: Likewise.
86595         * conform/data/sys/wait.h-data: Likewise.
86596         * conform/data/syslog.h-data: Likewise.
86597         * conform/data/tar.h-data: Likewise.
86598         * conform/data/termios.h-data: Likewise.
86599         * conform/data/utime.h-data: Likewise.
86600         * conform/data/utmpx.h-data: Likewise.
86601         * conform/data/varargs.h-data: Likewise.
86602         * conform/data/wchar.h-data: Likewise.
86603         * conform/data/wctype.h-data: Likewise.
86604         * conform/data/wordexp.h-data: Likewise.
86606         * include/stropts.h: New file.
86607         * include/uchar.h: New file.
86608         * include/aio.h: Changes to allow conformtest.pl to use the headers.
86609         * include/assert.h: Likewise.
86610         * include/ctype.h: Likewise.
86611         * include/dirent.h: Likewise.
86612         * include/dlfcn.h: Likewise.
86613         * include/fcntl.h: Likewise.
86614         * include/fnmatch.h: Likewise.
86615         * include/glob.h: Likewise.
86616         * include/grp.h: Likewise.
86617         * include/libio.h: Likewise.
86618         * include/locale.h: Likewise.
86619         * include/math.h: Likewise.
86620         * include/net/if.h: Likewise.
86621         * include/netdb.h: Likewise.
86622         * include/netinet/in.h: Likewise.
86623         * include/pthread.h: Likewise.
86624         * include/pwd.h: Likewise.
86625         * include/regex.h: Likewise.
86626         * include/sched.h: Likewise.
86627         * include/search.h: Likewise.
86628         * include/setjmp.h: Likewise.
86629         * include/signal.h: Likewise.
86630         * include/stdio.h: Likewise.
86631         * include/stdlib.h: Likewise.
86632         * include/string.h: Likewise.
86633         * include/sys/cdefs.h: Likewise.
86634         * include/sys/mman.h: Likewise.
86635         * include/sys/msg.h: Likewise.
86636         * include/sys/resource.h: Likewise.
86637         * include/sys/select.h: Likewise.
86638         * include/sys/socket.h: Likewise.
86639         * include/sys/stat.h: Likewise.
86640         * include/sys/statvfs.h: Likewise.
86641         * include/sys/time.h: Likewise.
86642         * include/sys/times.h: Likewise.
86643         * include/sys/uio.h: Likewise.
86644         * include/sys/utsname.h: Likewise.
86645         * include/sys/wait.h: Likewise.
86646         * include/termios.h: Likewise.
86647         * include/time.h: Likewise.
86648         * include/ulimit.h: Likewise.
86649         * include/unistd.h: Likewise.
86650         * include/utime.h: Likewise.
86651         * include/wchar.h: Likewise.
86652         * include/wctype.h: Likewise.
86653         * include/wordexp.h: Likewise.
86655         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
86657         * time/time.h: TIME_UTC must be a macro.
86658         Make timespec_get available for ISO C11 only as well.
86660 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
86662         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
86663         Reported by Peng Haitao <penght@cn.fujitsu.com>.
86665 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86667         * configure.in: Use -o not -a in test for unsupported multi-arch.
86669 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86671         * manual/texinfo.tex: Update to version 2012-01-19.16.
86673 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86675         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
86677 2012-02-24  Roland McGrath  <roland@hack.frob.com>
86679         [BZ #13738]
86680         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
86681         * manual/fdl-1.3.texi: New file.
86682         * manual/fdl-1.1.texi: File removed.
86684         [BZ #13738]
86685         * manual/libc.texinfo (FDL_VERSION): New @set.
86686         Use it for mention of FDL in cover text.
86687         (Documentation License): Use it in @include file name.
86689 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86690             Roland McGrath  <roland@hack.frob.com>
86692         [BZ #5461]
86693         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
86694         (not LONG_LONG_MAX and LONG_LONG_MIN.
86695         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
86696         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
86697         name.
86698         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
86700 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86702         [BZ #2547]
86703         [BZ #11365]
86704         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
86705         manipulate bits before adding and subtracting TWO23[sx].
86706         * math/libm-test.inc (nearbyint_test): Add more tests.
86708 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86710         [BZ #2548]
86711         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
86712         bits before adding and subtracting TWO23[sx].
86713         * math/libm-test.inc (rint_test): Add more tests.
86714         (rint_test_tonearest): Likewise.
86715         (rint_test_towardzero): Likewise.
86716         (rint_test_downward): Likewise.
86717         (rint_test_upward: Likewise.
86719 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86721         [BZ #10110]
86722         * include/stdc-predef.h: New file.  Extracted from features.h.
86723         * include/features.h: Include stdc-predef.h.
86724         * Makefile (headers): Add stdc-predef.h.
86725         * CONFORMANCE (Compiler limitations): Update.
86727 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86729         * manual/libc.texinfo (VERSION, UPDATED): Revert.
86731 2012-02-21  David S. Miller  <davem@davemloft.net>
86733         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
86734         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86736 2012-02-20  David S. Miller  <davem@davemloft.net>
86738         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
86739         using a normal save/restore sequence, rather than allocating a
86740         dummy stack frame just to store a frame pointer and restore.
86741         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86743 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86745         * manual/install.texi: Fix stray word in line-wrapped comment.
86747 2012-02-20  David S. Miller  <davem@davemloft.net>
86749         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
86750         both binutils and gcc support GOTDATA.
86752         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
86753         "rd %pc" in the PIC register setup sequences.
86755         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
86756         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
86757         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86758         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
86759         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86760         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
86761         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86762         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86763         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
86764         (SYSCALL_ERROR_HANDLER): Likewise.
86765         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86766         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86767         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
86768         (SYSCALL_ERROR_HANDLER): Likewise.
86770         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
86771         (HAVE_GCC_GOTDATA): New.
86772         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
86773         relocation support in both binutils and gcc.
86774         * sysdeps/sparc/elf/configure: Regenerate.
86776         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
86777         * sysdeps/sparc/sparc32/elf/configure: Delete.
86778         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
86779         * sysdeps/sparc/sparc64/elf/configure: Delete.
86780         * sysdeps/sparc/elf/configure.in: New file.
86781         * sysdeps/sparc/elf/configure: Generate.
86783         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
86784         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
86785         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86786         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
86787         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
86789 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86791         * manual/install.texi: Do not mention specific glibc version
86792         numbers.
86793         * manual/libc.texinfo (VERSION, UPDATED): Update.
86794         (@copying): Use @copyright{} and range of years.
86796 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86798         [BZ #13695]
86799         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
86800         [crti.S not in sysdirs] (generated): Do not append.
86801         [crti.S not in sysdirs] (omit-deps): Likewise.
86802         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
86803         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
86804         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
86805         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
86806         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
86807         Likewise.
86808         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
86809         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
86810         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
86811         * csu/defs.awk: Remove file.
86812         * sysdeps/generic/initfini.c: Likewise.
86813         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
86814         variable.
86815         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
86816         Likewise.
86818 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86820         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
86821         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
86822         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
86823         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
86824         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86825         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
86826         <bits/epoll.h>.
86827         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
86828         (__EPOLL_PACKED): Define to empty if not defined by
86829         <bits/epoll.h>.
86830         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
86831         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86832         bits/epoll.h.
86834 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86836         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
86837         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
86838         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
86839         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
86840         <bits/timerfd.h>.
86841         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
86842         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86843         bits/timerfd.h.
86845 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86847         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
86848         in C locale.
86849         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86850         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
86851         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
86852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86854 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
86856         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86857         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86859 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
86861         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
86862         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
86863         defined.
86864         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
86865         Likewise.
86866         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
86867         entry for 2.16.
86869 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
86871         * math/w_acos.c: Use non-signaling floating-point comparisons.
86872         * math/w_acosf.c: Likewise.
86873         * math/w_acosh.c: Likewise.
86874         * math/w_acoshf.c: Likewise.
86875         * math/w_acoshl.c: Likewise.
86876         * math/w_acosl.c: Likewise.
86877         * math/w_asin.c: Likewise.
86878         * math/w_asinf.c: Likewise.
86879         * math/w_asinl.c: Likewise.
86880         * math/w_atanh.c: Likewise.
86881         * math/w_atanhf.c: Likewise.
86882         * math/w_atanhl.c: Likewise.
86883         * math/w_exp2.c: Likewise.
86884         * math/w_exp2f.c: Likewise.
86885         * math/w_exp2l.c: Likewise.
86886         * math/w_j0.c: Likewise.
86887         * math/w_j0f.c: Likewise.
86888         * math/w_j0l.c: Likewise.
86889         * math/w_j1.c: Likewise.
86890         * math/w_j1f.c: Likewise.
86891         * math/w_j1l.c: Likewise.
86892         * math/w_jn.c: Likewise.
86893         * math/w_jnf.c: Likewise.
86894         * math/w_log.c: Likewise.
86895         * math/w_log10.c: Likewise.
86896         * math/w_log10f.c: Likewise.
86897         * math/w_log10l.c: Likewise.
86898         * math/w_log2.c: Likewise.
86899         * math/w_log2f.c: Likewise.
86900         * math/w_log2l.c: Likewise.
86901         * math/w_logf.c: Likewise.
86902         * math/w_logl.c: Likewise.
86903         * math/w_sqrt.c: Likewise.
86904         * math/w_sqrtf.c: Likewise.
86905         * math/w_sqrtl.c: Likewise.
86906         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86907         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
86908         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86909         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86910         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86912 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86914         [BZ #9739]
86915         * manual/string.texi (strnlen): Use correct parameter name in
86916         equivalent expression.
86918 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86920         [BZ #11174]
86921         * manual/users.texi (seteuid): Consistently use neweuid for
86922         argument name.
86924 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86926         [BZ #13704]
86927         * manual/nss.texi (Services in the NSS configuration): Correct
86928         list of services in example configuration file.
86930 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
86932         [BZ #11322]
86933         * manual/arith.texi: Remove statements about negative zero
86934         behaving identically to zero.
86936 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86938         [BZ #5993]
86939         * manual/install.texi: Do not document upgrading from libc5.
86941 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86943         [BZ #4596]
86944         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
86946 2012-02-18  David S. Miller  <davem@davemloft.net>
86948         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
86949         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
86950         %o7 across the call.
86951         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
86952         instead.
86953         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
86954         SETUP_PIC_REG_LEAF.
86955         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86956         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
86957         * sysdeps/sparc/crtn.S: Likewise.
86959 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
86961         * aout/Makefile: Remove.
86963 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
86965         [BZ #13058]
86966         * manual/examples/argp-ex1.c (main): Format definition in GNU
86967         style.
86968         * manual/examples/argp-ex2.c (main): Likewise.
86969         * manual/examples/argp-ex3.c (main): Likewise.
86970         * manual/examples/argp-ex4.c (main): Likewise.
86971         * manual/examples/longopt.c (main): Use new-style prototype
86972         definition.
86973         * manual/examples/strncat.c (main): Specify return type and use
86974         (void) for arguments.
86975         * manual/examples/subopt.c (main): Use char **argv argument.
86977 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86979         [BZ #5077]
86980         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
86981         rounding modes.
86983 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
86985         [BZ #6907]
86986         * manual/string.texi (strchr): Change when strchrnul is
86987         recommended.
86989 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
86991         [BZ #174]
86992         * manual/locale.texi (setlocale): Document LOCPATH.
86994 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86996         [BZ #10210]
86997         * manual/process.texi (execle): Move @dots{} before last argument.
86999 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
87001         [BZ #12047]
87002         * manual/charset.texi (Generic Charset Conversion): Fix typo
87003         (LC_TYPE -> LC_CTYPE).
87005 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
87007         [BZ #5805]
87008         * manual/arith.texi (scalbn): Use @var{} on parameter names.
87009         (scalbnf): Likewise.
87010         (scalbnl): Likewise.
87011         (scalbln): Likewise.
87012         (scalblnf): Likewise.
87013         (scalblnl): Likewise.
87014         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
87015         (vwarnx): Likewise.
87016         (verr): Likewise.
87017         (verrx): Likewise.
87018         * manual/filesys.texi (telldir): Use braces around return type.
87019         * manual/llio.texi (mmap): Add space after comma.
87020         (mmap64): Likewise.
87021         * manual/math.texi (jn): Use @var{} on parameter names.
87022         (jnf): Likewise.
87023         (jnl): Likewise.
87024         (yn): Likewise.
87025         (ynf): Likewise.
87026         (ynl): Likewise.
87027         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
87028         line.
87029         * manual/resource.texi (ulimit): Use @dots{} instead of literal
87030         "...".
87031         (sched_get_priority_min): Remove semicolon on @deftypefun line.
87032         (sched_get_priority_max): Likewise.
87033         * manual/signal.texi (sigvec): Add space after comma.
87034         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
87035         names.
87036         (if_indextoname): Likewise.
87037         (if_freenameindex): Likewise.
87038         (sendto): Use ',' instead of '.' in prototype.
87039         * manual/startup.texi (syscall): Use @dots{} instead of literal
87040         "...".
87041         * manual/stdio.texi (__fpending): Separate initial words of
87042         paragraph from @deftypefun line.
87043         * manual/syslog.texi (syslog): Use @dots{} instead of literal
87044         "...".
87045         (vsyslog): Use @var{} on parameter names.
87046         * manual/terminal.texi (stty): Use @var{} on parameter names.
87047         * manual/users.texi (getutmp): Use @var{} on parameter names.
87048         (getutmpx): Likewise.
87050 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87052         [BZ #6884]
87053         * manual/stdio.texi (fopen): Fix typos in description of
87054         ",ccs=STRING".
87056 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
87058         [BZ #4026]
87059         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
87060         get clock_id definition.
87062 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
87064         [BZ #4822]
87065         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
87066         (madvise): Cast every argument to void on its own.
87068 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87070         [BZ #9902]
87071         * manual/startup.texi (Exit Status): Fix typo.
87073 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87075         [BZ #10140]
87076         * manual/examples/argp-ex1.c: Include <stdlib.h>.
87077         * manual/examples/argp-ex2.c: Likewise.
87078         * manual/examples/argp-ex3.c: Likewise.
87080 2012-02-16  Richard Henderson  <rth@redhat.com>
87082         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
87083         * sysdeps/s390/s390-32/initfini.c: Remove.
87084         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
87085         * sysdeps/s390/s390-64/initfini.c: Remove.
87087 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
87089         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
87090         compiler output for sysdeps/generic/initfini.c.
87091         * sysdeps/sh/elf/initfini.c: Remove file.
87093 2012-02-16  David S. Miller  <davem@davemloft.net>
87095         [BZ #11494]
87096         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
87098         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
87099         * sysdeps/sparc/crti.S: New file.
87100         * sysdeps/sparc/crtn.S: New file.
87101         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
87102         * sysdeps/sparc/sparc64/Makefile: Likewise.
87104 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
87106         [BZ #3335]
87107         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
87109 2012-02-15  Roland McGrath  <roland@hack.frob.com>
87111         [BZ #4822]
87112         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
87114         * mach/devstream.c (cookie_io_functions_t): Macro removed.
87115         (write, read, close): Likewise.
87116         Patch by Aurelien Jarno <aurelien@aurel32.net>.
87118 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
87120         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
87121         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
87122         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
87123         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
87124         <bits/signalfd.h>.
87125         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
87126         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87127         bits/signalfd.h.
87129 2012-02-14  Marek Polacek  <polacek@redhat.com>
87131         * sysdeps/x86_64/crti.S: New file.
87132         * sysdeps/x86_64/crtn.S: New file.
87133         * sysdeps/x86_64/elf/initfini.c: Remove file.
87135 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
87137         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
87138         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
87139         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
87140         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
87141         <bits/inotify.h>.
87142         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
87143         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87144         bits/inotify.h.
87146 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
87148         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
87149         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
87150         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
87151         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
87152         <bits/eventfd.h>.
87153         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
87154         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87155         bits/eventfd.h.
87157 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
87159         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
87160         __feraiseexcept instead of feraiseexcept.
87162         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
87163         nanosleep invocations.
87164         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
87165         strings, and add error checking for a nanosleep invocations.
87167 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
87169         Replace FSF snail mail address with URLs, as per GNU coding standards.
87170         Most of the snail mail addresses were wrong anyway, and omitting
87171         them makes the source code easier to maintain.  Almost all of the
87172         changes are to license notices and to locale LC_IDENTIFICATION
87173         addresses, except for this one:
87174         * manual/libc.texinfo: In "Published by", give the FSF's URL,
87175         not its snail mail address.
87177 2012-02-09  Richard Henderson  <rth@twiddle.net>
87179         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
87180         of kernel-features.h.
87182         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
87184 2012-02-08  Marek Polacek  <polacek@redhat.com>
87186         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
87187         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
87188         * sysdeps/gnu/_G_config.h: Likewise.
87189         * sysdeps/generic/_G_config.h: Likewise.
87191 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
87193         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
87194         tests.
87195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87197         * sysdeps/powerpc/powerpc32/crti.S: New file.
87198         * sysdeps/powerpc/powerpc32/crtn.S: New file.
87199         * sysdeps/powerpc/powerpc64/crti.S: New file.
87200         * sysdeps/powerpc/powerpc64/crtn.S: New file.
87202         * Makeconfig (have-initfini): Don't set.
87203         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
87204         * configure.in (nopic_initfini): Don't substitute.
87205         * config.h.in (HAVE_INITFINI): Don't #undef.
87206         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
87207         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
87209 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
87211         Support crti.S and crtn.S provided directly by architectures.
87212         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
87213         [crti.S in sysdirs] (omit-deps): Likewise.
87214         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
87215         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
87216         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
87217         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
87218         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
87219         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
87220         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
87221         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
87222         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
87223         compiler output for sysdeps/generic/initfini.c.
87224         * sysdeps/i386/elf/Makefile: Remove file.
87225         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
87227 2012-02-07  Marek Polacek  <polacek@redhat.com>
87229         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
87230         * sysdeps/gnu/_G_config.h: Likewise.
87231         * sysdeps/mach/hurd/_G_config.h: Likewise.
87233 2012-02-07  Marek Polacek  <polacek@redhat.com>
87235         * math/Makefile (tests): Add tst-CMPLX2.
87236         * math/tst-CMPLX2.c: New file.
87238 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
87240         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87242         * math/libm-test.inc (jn_test): Add missing L suffix.
87244 2012-02-06  Marek Polacek  <polacek@redhat.com>
87246         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
87247         * sysdeps/i386/fpu/e_powf.S: Likewise.
87248         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
87249         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
87250         * sysdeps/i386/fpu/e_acosh.S: Likewise.
87251         * sysdeps/i386/fpu/e_pow.S: Likewise.
87252         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
87253         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87254         * sysdeps/i386/fpu/s_expm1.S: Likewise.
87255         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
87256         * sysdeps/i386/fpu/e_log2.S: Likewise.
87257         * sysdeps/i386/fpu/e_log2l.S: Likewise.
87258         * sysdeps/i386/fpu/e_scalb.S: Likewise.
87259         * sysdeps/i386/fpu/e_powl.S: Likewise.
87260         * sysdeps/i386/fpu/s_log1p.S: Likewise.
87261         * sysdeps/i386/fpu/e_log10f.S: Likewise.
87262         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
87263         * sysdeps/i386/fpu/e_logl.S: Likewise.
87264         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
87265         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
87266         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
87267         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
87268         * sysdeps/i386/fpu/e_log2f.S: Likewise.
87269         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
87270         * sysdeps/i386/fpu/e_log.S: Likewise.
87271         * sysdeps/i386/fpu/s_cexp.S: Likewise.
87272         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
87273         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
87274         * sysdeps/i386/fpu/e_logf.S: Likewise.
87275         * sysdeps/i386/fpu/e_log10l.S: Likewise.
87276         * sysdeps/i386/fpu/e_atanh.S: Likewise.
87277         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
87278         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
87279         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
87280         * sysdeps/i386/fpu/e_log10.S: Likewise.
87281         * sysdeps/i386/fpu/s_frexp.S: Likewise.
87282         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
87283         * sysdeps/i386/fpu/s_asinh.S: Likewise.
87284         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
87285         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
87286         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
87287         * sysdeps/i386/asm-syntax.h: Likewise.
87288         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
87289         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
87290         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
87291         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
87292         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
87293         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
87294         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
87295         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
87296         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
87297         * sysdeps/powerpc/sysdep.h: Likewise.
87298         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
87299         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
87301 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
87303         [BZ #411]
87304         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
87306 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
87308         * sysdeps/i386/sysdep.h: Include <features.h>.
87309         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
87310         version.
87312 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
87314         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
87315         Define.
87316         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
87317         LOAD_PIC_REG_STR.
87319 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87321         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
87322         (SETUP_PIC_REG): Use GET_PC_THUNK.
87323         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
87324         macro.
87326 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87328         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
87329         for non-PIC compilation.
87330         (SETUP_PIC_REG): Add .p2align directive.
87331         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
87332         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
87333         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
87334         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
87335         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
87336         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
87337         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
87338         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
87339         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
87340         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
87341         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
87342         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
87343         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
87344         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
87345         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
87346         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
87347         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
87348         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
87349         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
87350         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
87351         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
87352         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
87353         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
87354         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
87355         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
87356         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
87357         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
87358         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
87359         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
87360         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
87361         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
87362         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
87363         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
87364         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
87365         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
87366         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
87367         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
87368         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
87369         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
87370         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
87371         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
87373 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87375         * math/tst-CMPLX.c: Include <stdio.h>.
87377 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
87379         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
87380         float.
87381         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87382         * sysdeps/sparc/bits/mathdef.h: Likewise.
87384 2012-01-31  Marek Polacek  <polacek@redhat.com>
87386         * libio/libio.h: Don't define _PARAMS.
87387         * locale/programs/config.h: Don't define PARAMS.
87388         * stdlib/strtol_l.c: Likewise.
87389         (__strtol_l): Remove PARAMS from the prototype.
87391 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
87393         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
87394         names.  Just use the correct names.  Remove unnecessary wrapper
87395         functions.
87396         * malloc/arena.c: Likewise.
87397         * malloc/hooks.c: Likewise.
87399         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
87400         ARENA_TEST says not to.  Simplify test for creation of a new arena.
87401         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
87403 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
87405         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
87406         into tail calls.
87407         (update_get_addr): New function.
87408         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
87409         GET_ADDR_MODULE parameter.
87411 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
87413         * crypt/cert.c: Remove __STDC__ conditionals.
87414         * crypt/crypt-entry.c: Likewise.
87415         * crypt/crypt_util.c: Likewise.
87416         * libio/filedoalloc.c: Likewise.
87417         * libio/fileops.c: Likewise.
87418         * libio/genops.c: Likewise.
87419         * libio/iofclose.c: Likewise.
87420         * libio/iofdopen.c: Likewise.
87421         * libio/iofopen.c: Likewise.
87422         * libio/iofopen64.c: Likewise.
87423         * libio/iogetdelim.c: Likewise.
87424         * libio/iopopen.c: Likewise.
87425         * libio/obprintf.c: Likewise.
87426         * libio/oldfileops.c: Likewise.
87427         * libio/oldiofclose.c: Likewise.
87428         * libio/oldiofdopen.c: Likewise.
87429         * libio/oldiofopen.c: Likewise.
87430         * libio/oldiopopen.c: Likewise.
87431         * libio/wfiledoalloc.c: Likewise.
87432         * libio/wgenops.c: Likewise.
87433         * locale/programs/xmalloc.c: Likewise.
87434         * misc/syslog.c: Likewise.
87435         * stdio-common/xbug.c: Likewise.
87436         * string/memchr.c: Likewise.
87437         * string/memcmp.c: Likewise.
87438         * string/memrchr.c: Likewise.
87439         * string/rawmemchr.c: Likewise.
87440         * sysdeps/posix/getcwd.c: Likewise.
87441         * time/strftime_l.c: Likewise.
87443 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
87445         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
87446         * config.make.in (config-cflags-sse2avx): Define.
87447         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
87448         Fix typo.
87450 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
87452         * scripts/config.guess: Update from upstream config git repository.
87453         * scripts/config.sub: Likewise.
87455 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
87457         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
87458         (EM_NUM): Update.
87459         (R_TILEPRO_*, R_TILEGX_*): New macros.
87461         * scripts/firstversions.awk: Fix bug in version range handling.
87463         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
87465         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
87467         * include/sys/epoll.h: New file.
87468         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
87469         libc_hidden_def.
87471 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
87473         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
87474         Avoid unnecessary __WORDSIZE == 64 test.
87475         (fmaxf): Use VEX format if possible.
87476         (fmax): Likewise.
87477         (fminf): Likewise.
87478         (fmin): Likewise.
87480         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
87481         * math/math_private.h: Remove libc_fegetround* and
87482         libc_fesetround*.
87483         * sysdeps/i386/configure.in: Check for -msse2avx.
87484         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
87485         also if SSE2AVX is defined.
87486         Remove libc_fegetround* and libc_fesetround*.
87487         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
87488         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
87489         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
87490         of HAS_YMM_USABLE.
87491         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87492         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87493         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87494         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87495         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87497         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
87499 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87501         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
87502         size is not set.
87503         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87505 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
87507         [BZ #13618]
87508         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
87509         relocation.
87510         * Makeconfig (libm): Define.
87511         * elf/Makefile: Add rules to build and run tst-relsort1.
87512         * elf/tst-relsort1.c: New file.
87513         * elf/tst-relsort1mod1.c: New file.
87514         * elf/tst-relsort1mod2.c: New file.
87516 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
87518         * math/s_ldexp.c: Remove __STDC__ conditionals.
87519         * math/s_ldexpf.c: Likewise.
87520         * math/s_ldexpl.c: Likewise.
87521         * math/s_nextafter.c: Likewise.
87522         * math/s_nexttowardf.c: Likewise.
87523         * math/s_significand.c: Likewise.
87524         * math/s_significandf.c: Likewise.
87525         * math/s_significandl.c: Likewise.
87526         * math/w_jnl.c: Likewise.
87527         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
87528         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
87529         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
87530         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
87531         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
87532         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
87533         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
87534         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
87535         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
87536         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
87537         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
87538         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87539         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
87540         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
87541         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
87542         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
87543         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
87544         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
87545         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
87546         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87547         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87548         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
87549         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
87550         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
87551         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
87552         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
87553         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
87554         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
87555         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
87556         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
87557         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
87558         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
87559         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
87560         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
87561         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
87562         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
87563         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
87564         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
87565         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
87566         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
87567         * sysdeps/ieee754/k_standard.c: Likewise.
87568         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87569         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87570         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87571         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87572         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87573         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87574         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87575         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87576         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87577         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87578         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87579         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87580         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87581         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87582         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87583         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87584         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87585         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87586         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87587         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87588         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87589         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87590         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87591         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87592         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87593         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87594         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87595         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87596         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87597         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87598         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87599         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
87600         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87601         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87602         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87603         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87604         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
87605         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87606         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87607         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
87608         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
87609         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87610         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
87611         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
87612         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87613         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
87614         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
87615         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87616         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87617         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
87618         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
87619         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87620         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87621         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87622         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87623         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87624         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
87625         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87626         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87627         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87628         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87629         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87630         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87631         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87632         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87633         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87634         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87635         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87636         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87637         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87638         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87639         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87640         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87641         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87642         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87643         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87644         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87645         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87646         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87647         * sysdeps/ieee754/s_matherr.c: Likewise.
87648         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87649         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87650         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87651         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87653 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
87655         * crypt/md5.h: Remove __STDC__ conditionals.
87656         * libio/libioP.h: Likewise.
87657         * locale/programs/config.h: Likewise.
87658         * sysdeps/generic/sysdep.h: Likewise.
87659         * sysdeps/i386/asm-syntax.h: Likewise.
87660         * sysdeps/s390/asm-syntax.h: Likewise.
87661         * sysdeps/unix/sysdep.h: Likewise.
87662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
87663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
87665 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
87667         * libio/libio.h: Remove __STDC__ conditionals.
87668         * malloc/obstack.h: Likewise.
87669         * math/complex.h: Likewise.
87670         * math/math.h: Likewise.
87671         * sysdeps/generic/_G_config.h: Likewise.
87672         * sysdeps/gnu/_G_config.h: Likewise.
87673         * sysdeps/mach/hurd/_G_config.h: Likewise.
87674         * sysdeps/powerpc/bits/mathdef.h: Likewise.
87675         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87676         * sysdeps/sparc/bits/mathdef.h: Likewise.
87678 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
87680         [BZ #13583]
87681         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
87682         Clean up HAS_* macros.
87683         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
87684         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
87685         possible.
87686         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
87687         HAS_AVX.
87688         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87689         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87690         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87691         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87692         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87694 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
87696         * elf/tst-unique3.cc (gets): Remove declaration.
87697         * elf/tst-unique3lib.cc (gets): Likewise.
87698         * elf/tst-unique3lib2.cc (gets): Likewise.
87699         * elf/tst-unique4.cc (gets): Likewise.
87701 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
87703         * include/stdio.h: Add C++ protection.  Add gets declarations and
87704         definitions.
87705         * debug/tst-chk1.c: Don't declare gets here.
87706         * stdio-common/tst-gets.c: Likewise.
87708 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
87710         * posix/glob: Remove directory.
87712 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
87714         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
87716 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
87718         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
87719         of the non-standard EPFNOSUPPORT.
87721 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87723         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
87724         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
87725         ANYWHERE set to 1 only on KERN_NO_SPACE error.
87727 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
87729         * wcsmbs/uchar.h: Test __STDC_VERSION__.
87731 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
87733         * nscd/aicache.c (addhstaiX): Do not cache negative results of
87734         transient errors.
87735         * nscd/grpcache.c (cache_addgr): Likewise.
87736         * nscd/hstcache.c (cache_addhst): Likewise.
87737         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87738         * nscd/pwdcache.c (cache_addpw): Likewise.
87739         * nscd/servicescache.c (cache_addserv): Likewise.
87741 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
87743         * malloc/malloc.c: Various cleanups.
87744         * malloc/hooks.c: Likewise.
87746         * stdlib/Makefile (tests): Add bug-fmtmsg1.
87747         * stdlib/bug-fmtmsg1.c: New file.
87749         * stdlib/fmtmsg.c (init): Add missing unlock.
87750         Patch by Peng Haitao <penght@cn.fujitsu.com>.
87752 2012-01-12  Marek Polacek  <polacek@redhat.com>
87754         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
87755         and _GNU_SOURCE.
87757 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
87759         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
87760         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
87761         macro to ensure uniqueness of label name.
87762         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
87763         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
87765 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
87767         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
87769         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
87770         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87771         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87772         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
87774 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
87776         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
87778         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
87779         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87780         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87782         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
87784         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
87785         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87786         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87787         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
87789         * math/bits/math-finite.h: Add ldexp support.
87791 2012-01-10  Marek Polacek  <polacek@redhat.com>
87793         * locale/programs/localedef.h (show_archive_content): Add noreturn
87794         attribute.
87796 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
87798         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
87800 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87802         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
87804         * io/Makefile (headers): Add bits/poll2.h.
87806 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
87808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
87809         typo #include statement.
87811 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87813         * include/sys/cdefs.h: Define __attribute_alloc_size.
87814         * catgets/gencat.c: Add alloc_size attribute and apply consistently
87815         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
87816         * elf/pldd.c: Likewise.
87817         * iconv/iconv_charmap.c: Likewise.
87818         * iconv/iconvconfig.c: Likewise.
87819         * iconv/strtab.c: Likewise.
87820         * locale/programs/locale.c: Likewise.
87821         * locale/programs/localedef.h: Likewise.
87822         * locale/programs/simple-hash.c: Likewise.
87823         * nscd/nscd.h: Likewise.
87824         * nss/makedb.c: Likewise.
87825         * sysdeps/generic/ldconfig.h: Likewise.
87826         * locale/programs/localedef.c: Remove xmalloc prototype.
87827         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
87829 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87831         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
87832         appropriate.
87834 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87836         * math/Makefile (tests): Add tst-CMPLX.
87837         * math/tst-CMPLX.c: New file.
87839         * math/complex.h (CMPLXL): Fix typo.
87841         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
87842         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
87843         GLIBC_2.16.
87844         * debug/tst-chk1.c: Add poll and ppoll tests.
87845         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
87846         * include/sys/poll.h: Add hidden proto for ppoll.
87847         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
87848         * sysdeps/mach/hurd/ppoll.c: Likewise.
87849         * io/ppoll.c: Likewise.
87850         * debug/poll_chk.c: New file.
87851         * debug/ppoll_chk.c: New file.
87852         * include/bits/poll2.h: New file.
87853         * io/bits/poll2.h: New file.
87855         [BZ #1350]
87856         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
87858         * configure.in: static is always set to yes.  Remove.
87859         * config.make.in: Don't set build-static.
87860         * Makeconfig: Remove use of build-static.
87861         * dlfcn/Makefile: Likewise.
87862         * elf/Makefile: Likewise.
87863         * math/Makefile: Likewise.
87864         * misc/Makefile: Likewise.
87865         * nptl/Makefile: Likewise.
87866         * sysdeps/mach/hurd/Makefile: Likewise.
87868         * configure.in: PWD_P is not used anymore.
87869         * config.make.in: Remove PWD_P entry.
87871         * configure.in: Remove last remnants of RANLIB.
87872         No need to check for signed size_t anymore.
87873         Don't set libc_commonpagesize and libc_relro_required here for Alpha
87874         and IA-64.
87875         Remove __builtin_expect test because we require at least gcc 3.4.
87876         * aclocal.m4: Likewise.
87878         * wcsmbs/mbrtoc16.c: Implement using towc function.
87879         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
87880         * wcsmbs/wcsmbsload.c: Likewise.
87881         * iconv/gconv_simple.c: Likewise.
87882         * iconv/gconv_int.h: Likewise.
87883         * iconv/gconv_builtin.h: Likewise.
87884         * iconv/iconv_prog.c: Remove CHAR16 handling.
87886         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
87888         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
87890         * configure.in: Remove --with-elf and --enable-bounded options.
87891         Dont set base_machine for ia64.  More non-ELF conditions removed.
87892         Remove testing and setting of leading underscore information.
87893         * config.make.in (build-bounded): Set to no.
87894         * config.h.in: Remove NO_UNDERSCORES entry.
87895         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
87896         them.
87897         * csu/start.c: Remove !NO_UNDERSCORE code.
87898         * locale/localeinfo.h: Likewise.
87899         * sysdeps/generic/machine-gmon.h: Likewise.
87900         * sysdeps/generic/sysdep.h: Likewise.
87901         * sysdeps/i386/sysdep.h: Likewise.
87902         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87903         * sysdeps/mach/sysdep.h: Likewise.
87904         * sysdeps/s390/s390-32/sysdep.h: Likewise.
87905         * sysdeps/s390/s390-64/sysdep.h: Likewise.
87906         * sysdeps/sh/sysdep.h: Likewise.
87907         * sysdeps/sparc/sparc32/alloca.S: Likewise.
87908         * sysdeps/unix/i386/sysdep.S: Likewise.
87909         * sysdeps/unix/sparc/start.c: Likewise.
87910         * sysdeps/unix/sparc/sysdep.S: Likewise.
87911         * sysdeps/unix/sparc/sysdep.h: Likewise.
87912         * sysdeps/unix/start.c: Likewise.
87913         * sysdeps/unix/x86_64/sysdep.S: Likewise.
87914         * sysdeps/x86_64/sysdep.h: Likewise.
87916 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
87918         [BZ #13553]
87919         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
87920         for non-gcc.
87921         * argp/argp-fmtstream.h: Use const instead __const.
87922         * argp/argp.h: Likewise.
87923         * assert/assert.h: Likewise.
87924         * bits/fenv.h: Likewise.
87925         * bits/sched.h: Likewise.
87926         * bits/sigset.h: Likewise.
87927         * bits/sigthread.h: Likewise.
87928         * catgets/nl_types.h: Likewise.
87929         * conform/data/pthread.h-data: Likewise.
87930         * crypt/crypt-private.h: Likewise.
87931         * crypt/crypt.h: Likewise.
87932         * crypt/crypt_util.c: Likewise.
87933         * ctype/ctype.h: Likewise.
87934         * debug/execinfo.h: Likewise.
87935         * debug/mbsnrtowcs_chk.c: Likewise.
87936         * debug/mbsrtowcs_chk.c: Likewise.
87937         * debug/wcsnrtombs_chk.c: Likewise.
87938         * debug/wcsrtombs_chk.c: Likewise.
87939         * debug/wcstombs_chk.c: Likewise.
87940         * dirent/dirent.h: Likewise.
87941         * dlfcn/dlfcn.h: Likewise.
87942         * elf/neededtest4.c: Likewise.
87943         * grp/grp.h: Likewise.
87944         * gshadow/gshadow.h: Likewise.
87945         * iconv/gconv.h: Likewise.
87946         * iconv/gconv_int.h: Likewise.
87947         * iconv/gconv_simple.c: Likewise.
87948         * iconv/iconv.h: Likewise.
87949         * iconv/loop.c: Likewise.
87950         * iconv/skeleton.c: Likewise.
87951         * include/aio.h: Likewise.
87952         * include/aliases.h: Likewise.
87953         * include/argz.h: Likewise.
87954         * include/arpa/inet.h: Likewise.
87955         * include/assert.h: Likewise.
87956         * include/dirent.h: Likewise.
87957         * include/dlfcn.h: Likewise.
87958         * include/execinfo.h: Likewise.
87959         * include/fcntl.h: Likewise.
87960         * include/fenv.h: Likewise.
87961         * include/glob.h: Likewise.
87962         * include/grp.h: Likewise.
87963         * include/libintl.h: Likewise.
87964         * include/mntent.h: Likewise.
87965         * include/netdb.h: Likewise.
87966         * include/pwd.h: Likewise.
87967         * include/rpc/netdb.h: Likewise.
87968         * include/sched.h: Likewise.
87969         * include/search.h: Likewise.
87970         * include/shadow.h: Likewise.
87971         * include/signal.h: Likewise.
87972         * include/stdio.h: Likewise.
87973         * include/stdlib.h: Likewise.
87974         * include/string.h: Likewise.
87975         * include/sys/socket.h: Likewise.
87976         * include/sys/stat.h: Likewise.
87977         * include/sys/statfs.h: Likewise.
87978         * include/sys/statvfs.h: Likewise.
87979         * include/sys/syslog.h: Likewise.
87980         * include/sys/time.h: Likewise.
87981         * include/sys/uio.h: Likewise.
87982         * include/time.h: Likewise.
87983         * include/unistd.h: Likewise.
87984         * include/utmp.h: Likewise.
87985         * include/wchar.h: Likewise.
87986         * include/wctype.h: Likewise.
87987         * inet/aliases.h: Likewise.
87988         * inet/arpa/inet.h: Likewise.
87989         * inet/netinet/ether.h: Likewise.
87990         * inet/netinet/in.h: Likewise.
87991         * intl/libintl.h: Likewise.
87992         * io/bits/fcntl2.h: Likewise.
87993         * io/fcntl.h: Likewise.
87994         * io/ftw.h: Likewise.
87995         * io/sys/poll.h: Likewise.
87996         * io/sys/stat.h: Likewise.
87997         * io/sys/statfs.h: Likewise.
87998         * io/sys/statvfs.h: Likewise.
87999         * io/utime.h: Likewise.
88000         * libio/bits/stdio.h: Likewise.
88001         * libio/bits/stdio2.h: Likewise.
88002         * libio/libio.h: Likewise.
88003         * libio/libioP.h: Likewise.
88004         * libio/stdio.h: Likewise.
88005         * locale/lc-ctype.c: Likewise.
88006         * locale/locale.h: Likewise.
88007         * login/utmp.h: Likewise.
88008         * malloc/arena.c: Likewise.
88009         * malloc/malloc.c: Likewise.
88010         * malloc/malloc.h: Likewise.
88011         * malloc/mcheck.c: Likewise.
88012         * malloc/mtrace.c: Likewise.
88013         * math/bits/mathcalls.h: Likewise.
88014         * math/fenv.h: Likewise.
88015         * math/math_private.h: Likewise.
88016         * misc/bits/error.h: Likewise.
88017         * misc/bits/syslog.h: Likewise.
88018         * misc/err.h: Likewise.
88019         * misc/error.h: Likewise.
88020         * misc/fstab.h: Likewise.
88021         * misc/mntent.h: Likewise.
88022         * misc/regexp.h: Likewise.
88023         * misc/search.h: Likewise.
88024         * misc/sgtty.h: Likewise.
88025         * misc/sys/mman.h: Likewise.
88026         * misc/sys/syslog.h: Likewise.
88027         * misc/sys/uio.h: Likewise.
88028         * misc/sys/xattr.h: Likewise.
88029         * misc/ttyent.h: Likewise.
88030         * nis/rpcsvc/ypclnt.h: Likewise.
88031         * nss/nss.h: Likewise.
88032         * posix/bits/unistd.h: Likewise.
88033         * posix/fnmatch.h: Likewise.
88034         * posix/glob.h: Likewise.
88035         * posix/sched.h: Likewise.
88036         * posix/spawn.h: Likewise.
88037         * posix/sys/wait.h: Likewise.
88038         * posix/unistd.h: Likewise.
88039         * posix/wordexp.h: Likewise.
88040         * pwd/pwd.h: Likewise.
88041         * resolv/netdb.h: Likewise.
88042         * resource/sys/resource.h: Likewise.
88043         * rt/aio.h: Likewise.
88044         * rt/bits/mqueue2.h: Likewise.
88045         * rt/mqueue.h: Likewise.
88046         * shadow/shadow.h: Likewise.
88047         * signal/signal.h: Likewise.
88048         * socket/send.c: Likewise.
88049         * socket/sendto.c: Likewise.
88050         * socket/sys/socket.h: Likewise.
88051         * stdio-common/printf.h: Likewise.
88052         * stdlib/bits/stdlib.h: Likewise.
88053         * stdlib/fmtmsg.h: Likewise.
88054         * stdlib/monetary.h: Likewise.
88055         * stdlib/stdlib.h: Likewise.
88056         * stdlib/ucontext.h: Likewise.
88057         * streams/stropts.h: Likewise.
88058         * string/argz.h: Likewise.
88059         * string/bits/string2.h: Likewise.
88060         * string/string.h: Likewise.
88061         * string/strings.h: Likewise.
88062         * sunrpc/rpc/auth.h: Likewise.
88063         * sunrpc/rpc/auth_des.h: Likewise.
88064         * sunrpc/rpc/clnt.h: Likewise.
88065         * sunrpc/rpc/netdb.h: Likewise.
88066         * sunrpc/rpc/pmap_clnt.h: Likewise.
88067         * sunrpc/rpc/xdr.h: Likewise.
88068         * sysdeps/generic/inttypes.h: Likewise.
88069         * sysdeps/generic/net/if.h: Likewise.
88070         * sysdeps/generic/sys/swap.h: Likewise.
88071         * sysdeps/gnu/net/if.h: Likewise.
88072         * sysdeps/gnu/utmpx.h: Likewise.
88073         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
88074         * sysdeps/i386/i486/bits/string.h: Likewise.
88075         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
88076         * sysdeps/s390/bits/string.h: Likewise.
88077         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
88078         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
88079         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
88080         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
88081         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
88082         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
88083         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
88084         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
88085         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
88086         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
88087         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
88088         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
88089         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
88090         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
88091         * sysdeps/unix/sysv/linux/readv.c: Likewise.
88092         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
88093         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
88094         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88095         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
88096         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
88097         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
88098         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
88099         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
88100         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
88101         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
88102         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
88103         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
88104         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88105         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
88106         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
88107         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
88108         * sysvipc/sys/ipc.h: Likewise.
88109         * sysvipc/sys/msg.h: Likewise.
88110         * sysvipc/sys/sem.h: Likewise.
88111         * sysvipc/sys/shm.h: Likewise.
88112         * termios/termios.h: Likewise.
88113         * time/sys/time.h: Likewise.
88114         * time/time.h: Likewise.
88115         * wcsmbs/bits/wchar2.h: Likewise.
88116         * wcsmbs/uchar.h: Likewise.
88117         * wcsmbs/wchar.h: Likewise.
88118         * wctype/wctype.h: Likewise.
88120         [BZ #13551]
88121         * Makeconfig: Remove all but ELF support including AIX support.
88122         * Makerules: Likewise.
88123         * config.h.in: Likewise.
88124         * config.make.in: Likewise.
88125         * configure: Likewise.
88126         * configure.in: Likewise.
88127         * csu/Makefile: Likewise.
88128         * csu/version.c: Likewise.
88129         * debug/Makefile: Likewise.
88130         * dlfcn/Makefile: Likewise.
88131         * elf/Makefile: Likewise.
88132         * extra-lib.mk: Likewise.
88133         * iconv/Makefile: Likewise.
88134         * include/libc-symbols.h: Likewise.
88135         * include/shlib-compat.h: Likewise.
88136         * resolv/Makefile: Likewise.
88137         * resolv/res_libc.c: Likewise.
88138         * rt/Makefile: Likewise.
88139         * sysdeps/i386/asm-syntax.h: Likewise.
88140         * sysdeps/i386/sysdep.h: Likewise.
88141         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
88142         * sysdeps/mach/sysdep.h: Likewise.
88143         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
88144         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
88145         * sysdeps/s390/asm-syntax.h: Likewise.
88146         * sysdeps/s390/s390-32/sysdep.h: Likewise.
88147         * sysdeps/s390/s390-64/sysdep.h: Likewise.
88148         * sysdeps/sh/sysdep.h: Likewise.
88149         * sysdeps/unix/sparc/sysdep.h: Likewise.
88150         * sysdeps/wordsize-32/divdi3.c: Likewise.
88151         * sysdeps/x86_64/sysdep.h: Likewise.
88153         * argp/Versions: Remove _argp_unlock_xxx.
88155         [BZ #13559]
88156         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
88157         * abilist/libBrokenLocale.abilist: Likewise.
88158         * abilist/libanl.abilist: Likewise.
88159         * abilist/libc.abilist: Likewise.
88160         * abilist/libcrypt.abilist: Likewise.
88161         * abilist/libdl.abilist: Likewise.
88162         * abilist/libm.abilist: Likewise.
88163         * abilist/libnsl.abilist: Likewise.
88164         * abilist/libpthread.abilist: Likewise.
88165         * abilist/libresolv.abilist: Likewise.
88166         * abilist/librt.abilist: Likewise.
88167         * abilist/libthread_db.abilist: Likewise.
88168         * abilist/libutil.abilist: Likewise.
88169         * abilist/libnss_db.abilist: New file.
88171         * scripts/abilist.awk: Add support for indirect functions.
88173         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
88175         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
88177         * shlib-versions: Remove entries for ports architectures.
88179         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
88180         files in ports.
88181         * elf/stackguard-macros.h: Remove support for IA-64.
88182         * elf/tst-auditmod1.c: Likewise.
88183         * sysdeps/generic/ldsodefs.h: Likewise.
88185         * sysdeps/unix/sysv/linux/configure.in: Ports should define
88186         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
88187         configure files.
88189         [BZ #13552]
88190         * configure.in: Remove --enable-omitfp support.
88191         * FAQ.in: Adjust.
88192         * config.make.in: Likewise.
88193         * Makeconfig: Likewise.
88194         * manual/install.texi: Likewise.
88196         In case anyone cares, the IA-64 architecture could move to ports.
88197         * sysdeps/ia64/*: Removed.
88198         * sysdeps/unix/sysv/linux/ia64/*: Removed.
88199         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
88201         [BZ #13555]
88202         * configure.in: Remove entries for unsupported architectures.
88204         [BZ #13533]
88205         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
88206         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
88207         routines.
88208         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
88209         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
88210         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
88211         fall back to using wcrtomb.
88212         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
88213         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
88214         renaming.
88215         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
88216         * wcsmbs/tst-c16c32-1.c: New file.
88218         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
88219         local variable.
88221         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
88223         * elf/tst-unique3.cc: Add explicit declaration of gets.
88224         * elf/tst-unique3lib.cc: Likewise.
88225         * elf/tst-unique3lib2.cc: Likewise.
88226         * elf/tst-unique4.cc: Likewise.
88228         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
88230 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
88232         [BZ #13566]
88233         * assert/assert.h (static_assert): Don't define for C++.
88234         * libio/stdio.h (gets): Do declare for C++ <= C++11.
88235         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
88237 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
88239         * iconv/loop.c (single loop): Fix assertion in storing of
88240         remaining bytes.
88242         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
88244 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
88246         * posix/getconf.c: Update copyright year.
88247         * nss/getent.c: Likewise.
88248         * nss/makedb.c: Likewise.
88249         * iconv/iconvconfig.c: Likewise.
88250         * iconv/iconv_prog.c: Likewise.
88251         * elf/ldconfig.c: Likewise.
88252         * elf/pldd.c: Likewise.
88253         * elf/sotruss.ksh: Likewise.
88254         * catgets/gencat.c: Likewise.
88255         * csu/version.c: Likewise.
88256         * elf/ldd.bash.in: Likewise.
88257         * elf/sprof.c (print_version): Likewise.
88258         * locale/programs/locale.c: Likewise.
88259         * locale/programs/localedef.c: Likewise.
88260         * login/programs/pt_chown.c: Likewise.
88261         * nscd/nscd.c (print_version): Likewise.
88262         * debug/xtrace.sh: Likewise.
88263         * malloc/memusage.sh: Likewise.
88264         * malloc/mtrace.pl: Likewise.
88265         * debug/catchsegv.sh: Likewise.
88267 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
88269         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
88270         pure attribute.
88272 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
88274         [BZ #13533]
88275         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
88276         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
88277         transformations.
88278         * iconv/gconv_int.h: Likewise.
88279         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
88280         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
88281         from libc for GLIBC_2.16.
88282         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
88283         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
88284         * wcsmbs/uchar.h: Really define mbstate_t.
88285         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
88286         * wcsmbs/c16rtomb.c: New file.
88287         * wcsmbs/mbrtoc16.c: New file.
88288         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
88289         for C/POSIX locale.
88290         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
88291         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
88293         * wcsmbs/wchar.h: Add missing __restrict.
88295 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
88297         [BZ #13532]
88298         * time/Makefile (routines): Add timespec_get.
88299         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
88300         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
88301         timespec for ISO C11.
88302         * time/timespec_get.c: New file.
88303         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
88304         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
88306         [BZ #13531]
88307         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
88308         * stdlib/stdlib.h: Declare aligned_alloc.
88309         * Versions.def: Add GLIBC_2.16 for libc.
88310         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
88312         [BZ 13527]
88313         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
88314         ISO C11.
88316         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
88317         code.
88319         [BZ #13528]
88320         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
88322         [BZ #13529]
88323         * assert/assert.h (static_assert): Define.
88325         * version.h: Update for 2.16 development version.
88327         [BZ #13526]
88328         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
88329         _ISOC11_SOURCE.
88331         * version.h (RELEASE): Bump for 2.15 release.
88332         * include/features.h (__GLIBC_MINOR__): Bump to 15.
88334         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
88335         Patch by Marek Polacek <mpolacek@redhat.com>.
88337         * bits/byteswap.h: Protect long long constants with __extension__.
88338         * sysdeps/i386/bits/byteswap.h: Likewise.
88339         * sysdeps/ia64/bits/byteswap.h: Likewise.
88340         * sysdeps/s390/bits/byteswap.h: Likewise.
88341         * sysdeps/x86_64/bits/byteswap.h: Likewise.
88343 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88345         [BZ #13540]
88346         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
88347         destination buffer.
88348         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
88350 2011-12-23  Marek Polacek  <polacek@redhat.com>
88352         * elf/dl-addr.c (determine_info): Add inline keyword.
88353         * elf/tst-auditmod4b.c (check_avx): Likewise.
88354         * elf/tst-auditmod6b.c (check_avx): Likewise.
88355         * elf/tst-auditmod6c.c (check_avx): Likewise.
88356         * elf/tst-auditmod7b.c (check_avx): Likewise.
88358 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
88360         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
88361         !__SSE_MATH__.
88363 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88365         [BZ #13540]
88366         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
88367         processing for last bytes.
88369 2011-08-06  Bruno Haible  <bruno@clisp.org>
88371         [BZ #13061]
88372         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
88373         U+0385, not to U+1FEE.
88375         [BZ #13062]
88376         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
88377         entry for U+00A5 U+0301.
88379 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
88381         [BZ #13166]
88382         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
88383         buffer for the output is too small.
88385         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
88386         optimization.
88388         [BZ #13185]
88389         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
88390         SSE flags if possible.
88392 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88394         [BZ #13540]
88395         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
88396         processing for last bytes.
88398 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
88400         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
88401         (syscall-list-default-options, syscall-list-default-condition)
88402         (syscall-list-includes): Define.
88403         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
88404         list of ABIs and options and #if conditions for each ABI.  Do not
88405         handle common syscalls between ABIs specially.
88406         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
88407         Remove.
88408         (syscall-list-variants, syscall-list-32bit-options)
88409         (syscall-list-32bit-condition, syscall-list-64bit-options)
88410         (syscall-list-64bit-condition): Define.
88411         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
88412         (syscall-list-variants, syscall-list-32bit-options)
88413         (syscall-list-32bit-condition, syscall-list-64bit-options)
88414         (syscall-list-64bit-condition): Define.
88415         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
88416         Remove.
88417         (syscall-list-variants, syscall-list-32bit-options)
88418         (syscall-list-32bit-condition, syscall-list-64bit-options)
88419         (syscall-list-64bit-condition): Define.
88420         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
88421         Remove.
88422         (syscall-list-variants, syscall-list-32bit-options)
88423         (syscall-list-32bit-condition, syscall-list-64bit-options)
88424         (syscall-list-64bit-condition): Define.
88426 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
88428         * locale/iso-639.def: Add brx entry.
88430         [BZ #13328]
88431         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
88432         Proposed by Mariusz_Cukr <marcukr@op.pl>.
88434         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
88435         __feraiseexcept_renamed.
88437 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
88439         [BZ #13538]
88440         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
88441         EPOLLET with unsigned values.
88442         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88443         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
88445         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
88446         to large cancellation.
88447         * math/s_cacoshf.c: Likewise.
88448         * math/s_cacoshl.c: Likewise.
88450 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
88452         [BZ #13305]
88453         [BZ #12786]
88454         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
88455         * math/s_cacoshf.c: Likewise.
88456         * math/s_cacoshl.c: Likewise.
88458 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
88460         [BZ #13439]
88461         * iconv/gconv.h: Define __GCONV_SWAP.
88462         * iconvdata/unicode.c: The swap bit must be stored in __flags.
88463         * iconvdata/utf-16.c: Likewise.
88464         * iconvdata/utf-32.c: Likewise.
88466 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
88468         [BZ #13524]
88469         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
88470         numerator after shifting it by one limb.
88472 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
88474         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
88475         under [__USE_EXTERN_INLINES].
88477 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
88479         [BZ #13446]
88480         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
88482 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88484         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
88485         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
88486         optimized code.
88487         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
88488         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
88489         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
88490         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
88491         for strncasecmp/strncasecmp_l compilation.
88492         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
88493         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
88495 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
88497         [BZ #13484]
88498         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
88499         of __asm__.
88501 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
88503         [BZ #13506]
88504         * time/tzfile.c (__tzfile_read): Check values from file header.
88506 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
88508         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
88509         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
88510         * powerpc/powerpc32/dl-start.S: Likewise.
88511         * powerpc/powerpc32/elf/start.S: Likewise.
88512         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
88513         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
88514         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
88515         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
88516         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
88517         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
88518         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
88519         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
88520         * powerpc/powerpc32/fpu/s_round.S: Likewise.
88521         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
88522         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
88523         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
88524         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
88525         * powerpc/powerpc32/memset.S: Likewise.
88526         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
88527         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
88528         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
88529         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
88530         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
88531         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
88532         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
88533         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
88534         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
88535         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
88536         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
88537         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88538         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88540 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88542         * math/libm-test.inc: Added more nearbyint tests.
88543         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
88544         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
88545         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
88546         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
88548 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
88550         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
88551         FD_CLOEXEC.
88553 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88555         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
88556         Add wcscpy-ssse3 wcscpy-c.
88557         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
88558         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
88559         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
88560         * sysdeps/x86_64/wcschr.S: New file.
88561         * sysdeps/x86_64/wcsrchr.S: New file.
88562         * string/test-strcmp.c: Remove checking of wcscmp function for
88563         wrong alignments.
88564         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
88565         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
88566         wcsrchr-sse2 wcsrchr-c.
88567         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
88568         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
88569         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
88570         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
88571         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
88572         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
88573         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
88574         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
88575         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
88576         * wcsmbc/wcschr.c (WCSCHR): New macro.
88578 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88580         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
88581         * wcsmbs/test-wcsrchr.c: New file.
88582         * string/test-strrchr.c: Add wcsrchr support.
88583         (WIDE): New macro.
88584         * wcsmbs/test-wcscpy.c: New file.
88585         * string/test-strcpy.c: Add wcscpy support.
88586         (WIDE): New macro.
88588 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
88590         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
88591         the inner loop.
88593 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
88595         [BZ #13472]
88596         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
88598 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
88600         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
88601         Minor optimizations.
88603         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
88604         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
88605         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
88607 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
88609         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
88610         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
88611         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
88612         for gcc to avoid warnings.
88613         * inet/Makefile (tests): Add tst-checks.
88614         * inet/tst-checks.c: New file.
88616         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
88617         warning.
88619         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
88620         __wmemcmp_sse2.
88622         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
88623         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
88625         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
88627 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
88629         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
88630         problem.
88632         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
88634 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
88636         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
88637         conditional on GCC version.
88638         (__arch_compare_and_exchange_val_8_acq)
88639         (__arch_compare_and_exchange_val_16_acq)
88640         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
88641         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
88642         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
88644 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
88646         * sysdeps/sh/backtrace.c: New file.
88648 2011-12-02  Andreas Schwab  <schwab@redhat.com>
88650         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
88651         parenthesis.
88653 2011-12-01  Andreas Schwab  <schwab@redhat.com>
88655         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
88656         falling back to utime.
88658 2011-11-30  Andreas Schwab  <schwab@redhat.com>
88660         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
88661         expectations for float.
88663 2011-11-29  Andreas Schwab  <schwab@redhat.com>
88665         * locale/weight.h (findidx): Add parameter len.
88666         * locale/weightwc.h (findidx): Likewise.
88667         * posix/fnmatch_loop.c (FCT): Adjust caller.
88668         * posix/regcomp.c (build_equiv_class): Likewise.
88669         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
88670         * posix/regexec.c (check_node_accept_bytes): Likewise.
88671         * string/strcoll_l.c (STRCOLL): Likewise.
88672         * string/strxfrm_l.c (STRXFRM): Likewise.
88674 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
88676         * Makefile.in: Remove CVSOPT handling.
88677         * configure.in: Remove use of AC_REVISION.
88678         * iconvdata/Makefile (distribute): No need to filter out CVS.
88679         * scripts/list-sources.sh: Remove CVS, subversion and monotone
88680         handling.
88682 2011-11-16  Andreas Schwab  <schwab@redhat.com>
88684         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
88685         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
88686         [USE_AS_STRNCASECMP_L]: Likewise.
88687         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
88688         NO_TLS_DIRECT_SEG_REFS.
88689         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
88690         Fix argument offsets for non-PIC.
88691         [USE_AS_STRNCASECMP_L]: Likewise.
88692         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
88693         NO_TLS_DIRECT_SEG_REFS.
88695 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
88697         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
88698         O_CLOEXEC.
88699         * locale/loadlocale.c (_nl_load_locale): Likewise.
88701 2011-11-15  Andreas Schwab  <schwab@redhat.com>
88703         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
88704         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
88705         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
88706         (SYSCALL_GETTIME): Set errno on error.
88708         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
88709         count references to noai6ai_cached.
88711 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
88713         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
88715         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
88716         FD_CLOEXEC for /proc/self/maps.
88718         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
88719         FD_CLOEXEC for /proc/meminfo.
88721         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
88722         gai.conf.
88724         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
88725         FD_CLOEXEC for given file.
88727         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
88729         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
88730         FD_CLOEXEC for /etc/hosts.
88731         (_gethtent): Likewise.
88733         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
88735         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
88736         cancellation and set FD_CLOEXEC for /etc/netgroup.
88738         * nss/nss_files/files-key.c (search): Don't allow cancellation when
88739         reading /etc/publickey.
88741         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
88742         allow cancellation when reading /etc/group.
88744         * nss/nss_files/files-alias.c (internal_setent): Don't allow
88745         cancellation.
88746         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
88748         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
88749         when using data file.
88751         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
88753         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
88754         (write_nis_obj): Use "c" and "e" in fopen.
88756         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
88758         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
88760         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
88762         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
88764         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
88765         locale.alias.
88767         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
88769         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
88771         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
88773         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
88774         file parsing and set FD_CLOEXEC.
88776 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88778         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
88780 2011-11-14  Andreas Schwab  <schwab@redhat.com>
88782         * malloc/arena.c (arena_get2): Don't call reused_arena when
88783         _int_new_arena failed.
88785 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88787         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
88788         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
88789         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
88790         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88791         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88792         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
88793         to compile strcasecmp and strncasecmp.
88794         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
88795         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
88797         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
88799 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
88801         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
88802         locale-defines.sym to gen-as-const-headers.
88803         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
88804         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
88805         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
88806         to compile strcasecmp and strncasecmp.
88807         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
88808         strcasecmp_l and strncasecmp_l.
88809         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
88810         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
88811         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
88812         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
88813         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
88814         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
88815         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
88816         * sysdeps/i386/i686/multiarch/strncase.S: New file.
88817         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
88818         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
88819         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
88821 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
88823         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
88824         result of SYSDEP_GETTIME_CPU to retval.
88825         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
88826         parameter list to macro.  Remove trailing semicolon.  Adjust users.
88828         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
88829         variable.
88831         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
88832         mantissa words.
88833         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
88835         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
88836         from unused variable.
88838         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
88839         DWARF definitions.
88840         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
88841         for assembling.
88843         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
88844         over namespaces.
88846         * sunrpc/rpc_prot.c (rejected): Fix case value.
88848         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
88849         unsigned long long int to avoid warnings in shift.
88851         * posix/regex_internal.c (re_string_reconstruct): Actually use result
88852         of use of trans.
88853         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
88854         variable tmp.
88856         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
88857         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
88858         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
88860         * nis/nis_table.c (nis_list): Use variable of correct type for
88861         result of __follow_path call.
88863 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88865         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
88866         of math functions ceil, trunc, floor, round, and sqrt, when
88867         avaliable on the platform.
88868         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
88869         name clash.
88870         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88871         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88872         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88874 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
88876         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
88877         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
88879 2011-11-11  Roland McGrath  <roland@hack.frob.com>
88881         * include/unistd.h: Fix __readlink return type.
88882         Reported by Chris Metcalf <cmetcalf@tilera.com>.
88884 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
88886         * stdlib/ucontext.h: Undo last change for makecontext.
88888 2011-11-11  Andreas Schwab  <schwab@redhat.com>
88890         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
88892         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
88893         * setjmp/setjmp.h: Mark functions as non-leaf.
88894         * setjmp/bits/setjmp2.h: Likewise.
88895         * stdlib/ucontext.h: Likewise.
88897 2011-11-10  Andreas Schwab  <schwab@redhat.com>
88899         * malloc/arena.c (_int_new_arena): Don't increment narenas.
88900         (reused_arena): Don't check arena limit.
88901         (arena_get2): Atomically check arena limit.
88903 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
88905         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
88906         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
88908         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
88909         instructions.
88911 2011-11-07  Andreas Schwab  <schwab@redhat.com>
88913         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
88914         handler when locking.
88916         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88917         Fix size of allocated buffer.
88919 2011-11-04  Andreas Schwab  <schwab@redhat.com>
88921         [BZ #10103]
88922         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
88923         declarations for long double functions.
88924         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
88926         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
88928 2011-11-03  Andreas Schwab  <schwab@redhat.com>
88930         * nscd/nscd.c (main): Don't start AVC thread until credentials are
88931         installed.
88933         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
88934         is disabled.
88936 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88938         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
88940 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
88942         * include/alloca.h (stackinfo_alloca_round): Define.
88943         (extend_alloca): Use it.
88944         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
88945         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
88946         here.
88948         * scripts/check-local-headers.sh: Ignore libaudit.h.
88950         * nscd/Makefile (extra-objs): Make recursively expanded.
88952 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
88954         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
88955         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
88957         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
88958         * posix/tst-rfc3484-2.c: Likewise.
88959         * posix/tst-rfc3484-3.c: Likewise.
88961         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
88962         process_vm_writev.
88963         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
88964         process_vm_writev.
88965         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
88966         process_vm_writev from libc using GLIBC_2.15 version.
88968         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
88970 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
88972         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
88973         stack usage.
88975 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
88977         [BZ #13367]
88978         * nss/getent.c (initgroups_keys): Show error message in case no group
88979         names are given.
88981         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
88982         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
88983         __bump_nl_timestamp.
88984         * nscd/connections (nscd_init): When host database is served open
88985         netlink socket and request notification about configuration changes.
88986         (main_loop_poll): Track netlink file descriptor and bump timestamp
88987         in case data becomes available.
88988         (main_loop_epoll): Likewise.
88989         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
88990         (database_pers_head): Add extra_data fileds.
88991         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
88992         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
88993         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
88994         Adjust caller.
88995         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
88996         in6ai data, call __free_in6ai.
88997         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
88998         Add -DHAVE_NETLINK.
88999         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
89000         interface information.  Reuse previous data if netlink timestamp
89001         is not changed.
89002         (__bump_nl_timestamp): New function.
89003         (__free_in6ai): New function.
89005 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
89007         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
89008         close_not_cancel_no_status here.
89009         (__check_pf): Reorganize code a bit to not call close twice if OOM.
89011 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
89013         [BZ #13276]
89014         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
89015         return value.
89017         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
89018         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
89019         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
89021 2011-07-03  Andreas Jaeger  <aj@suse.de>
89023         [BZ #10709]
89024         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
89025         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
89026         * math/libm-test.inc (sin_test): Add test case.
89028 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
89030         [BZ #13337]
89031         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
89032         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
89034         * elf/chroot_canon.c (chroot_canon): Cleanups.
89036         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
89038         [BZ #13335]
89039         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
89040         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
89042         * string/test-strchr.c: Make usable for strchrnul testing.
89043         * string/test-strchrnul.c: New file.
89044         * string/Makefile (strop-tests): Add strchrnul.
89046         * po/it.po: Update from translation team.
89047         * po/es.po: Likewise.
89049 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
89051         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
89052         the three constants needed as parameters.  Drop the others.
89053         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
89054         __m128i_strloadu_tolower.
89055         Create and initialize variable zero and use it in all the places
89056         where _mm_setzero_si128 was used.
89058         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
89059         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
89060         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
89061         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
89062         anymore.
89063         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
89064         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
89065         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
89066         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
89067         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
89068         __mpranred, __mptan.
89069         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
89070         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
89071         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
89072         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
89073         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
89074         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
89075         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
89076         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
89077         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
89079 2011-10-28  Andreas Schwab  <schwab@redhat.com>
89081         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
89082         redefine if SHARED.
89083         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
89085         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
89086         wide char related routines to wcsmbs subdir.
89088 2011-10-27  Andreas Schwab  <schwab@redhat.com>
89090         [BZ #13344]
89091         * misc/sys/cdefs.h (__THROWNL): Define.
89092         * posix/unistd.h: Use __THREADNL instead of __THREAD
89093         for memory synchronization functions.
89095 2011-10-26  Roland McGrath  <roland@hack.frob.com>
89097         [BZ #13349]
89098         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
89099         doesn't exist.
89100         * manual/stdio.texi (Obstack Streams): Node removed.
89102 2011-10-26  Andreas Schwab  <schwab@redhat.com>
89104         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
89105         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89106         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89108         * math/math_private.h (math_force_eval): Allow non-addressable
89109         arguments.
89110         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
89112 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89114         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
89115         file is not needed.
89117         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
89118         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
89119         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89120         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89121         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89122         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89123         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89124         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
89125         Add AVX variants.
89126         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
89127         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
89128         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
89129         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
89130         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
89131         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
89132         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
89133         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
89134         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
89135         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
89136         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
89137         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
89138         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
89139         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
89140         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
89141         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
89142         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
89143         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
89144         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
89146         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
89147         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
89149         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
89150         place.  Use VEX encoding when compiling for AVX.
89152 2011-10-25  Andreas Schwab  <schwab@redhat.com>
89154         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
89155         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
89157         * string/test-strchr.c (do_test): Don't generate NUL bytes.
89159 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89161         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
89162         useless if() expression.
89163         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89164         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
89165         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
89166         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89167         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
89168         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89169         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89170         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89171         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
89172         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89173         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89174         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89175         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
89176         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89177         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
89178         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89179         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89180         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89181         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
89183         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
89185 2011-10-25  Andreas Schwab  <schwab@redhat.com>
89187         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
89188         condition.
89189         * elf/dl-fini.c (_dl_sort_fini): Likewise.
89191 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89193         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
89194         .text section.  Avoid duplicate constants.
89195         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
89196         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89197         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89198         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89199         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89200         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89201         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89202         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89203         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
89204         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
89205         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
89206         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
89207         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
89208         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
89209         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
89210         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
89211         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
89212         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
89213         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
89214         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89215         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
89216         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
89217         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
89218         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
89219         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
89220         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
89221         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
89222         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
89223         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
89224         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
89225         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
89226         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
89227         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
89228         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
89229         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
89230         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
89231         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
89232         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
89233         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
89234         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
89235         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
89236         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
89237         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
89238         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
89239         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
89241 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
89243         * sysdeps/x86_64/dla.h: Move to ...
89244         * sysdeps/x86_64/fpu/dla.h: ...here.
89245         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
89246         situations.  Use __builtin_fma only for gcc 4.6 and up.
89248         * config.make.in: Add have-mfma4 entry.
89249         * configure.in: Substitute libc_cv_cc_fma4.
89250         * math/Makefile (dbl-only-routines): Add sincostab.
89251         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
89252         Use __sincostab not sincos.
89253         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
89254         name is a macro.
89255         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89256         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89257         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89258         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
89259         using __copysign.
89260         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
89261         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
89262         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
89263         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
89264         and __inv.
89265         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
89266         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
89267         __copysign.
89268         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
89269         define aliases when function name is a macro.
89270         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
89271         sysdeps/ieee754/dbl-64/sincos.tbl.
89272         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
89273         fma4-enabled routines.
89274         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
89275         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
89276         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
89277         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
89278         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
89279         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
89280         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
89281         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
89282         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
89283         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
89284         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
89285         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
89286         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
89287         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
89288         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
89289         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
89290         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
89291         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
89292         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
89293         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
89294         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
89295         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
89296         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
89297         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
89298         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
89299         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
89300         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
89301         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
89302         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
89303         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
89305         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
89306         rename.
89307         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89308         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89309         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89310         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89311         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89312         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89313         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89314         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89316 2011-10-24  Andreas Schwab  <schwab@redhat.com>
89318         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
89320 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89322         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
89324         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
89325         prediction.
89326         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
89328         * string/strnlen.c: Don't define STRNLEN, reverse logic.
89329         Remove unused variable magic_bits.
89330         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
89332         * string/strnlen.c: Define and use STRNLEN macro.
89333         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
89334         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
89335         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
89336         * wcsmbs/wcslen.c: Define and use WCSLEN.
89337         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
89338         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
89339         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
89340         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
89341         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
89342         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
89343         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
89345 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89347         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89348         strnlen-sse2-no-bsf.
89349         Rename strlen-no-bsf to strlen-sse2-no-bsf.
89350         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
89351         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
89352         Add strnlen support.
89353         (USE_AS_STRNLEN): New macro.
89354         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
89355         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
89356         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
89357         * sysdeps/x86_64/wcslen.S: New file.
89359 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
89361         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
89362         XMM-moves are used for copying on small sizes.
89364 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89366         * wcsmbs/Makefile (strop-tests): Add wcschr.
89367         * wcsmbs/test-wcschr.c: New file.
89368         * string/test-strchr.c: Update.
89369         Add wcschr support.
89370         (WIDE): New macro.
89372 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89374         * wcsmbs/Makefile (strop-tests): Add wcslen.
89375         * wcsmbs/test-wcslen.c: New file.
89376         * string/test-strlen.c: Update.
89377         Add wcslen support.
89378         (WIDE): New macro.
89380 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89382         * po/it.po: Update from translation team.
89384 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89386         * sysdeps/x86_64/wcscmp.S: Update.
89387         Fix wrong comparison semantics.
89388         wcscmp shall use signed comparison not unsigned.
89389         Don't use substraction to avoid overflow bug.
89390         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
89391         * wcsmbc/wcscmp.c: Likewise.
89392         * string/test-strcmp.c: Likewise.
89393         Add new tests to check cases with negative values.
89395 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89397         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
89398         * sysdeps/x86_64/dla.h: ...here.  New file.
89399         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
89400         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89401         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89402         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89403         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89404         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89405         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89406         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89407         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89409 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
89411         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
89412         __ynl_finite aliases.
89414 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
89416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
89418         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
89419         define DLA_FMA.
89420         [DLA_FMA] (EMULV): Use DLA_FMA.
89421         [DLA_FMA] (MUL12): Use EMULV.
89422         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
89423         that are not needed.
89424         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89425         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89426         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89427         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89428         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89429         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89430         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89432 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
89434         * math/s_nan.c: Undef __nan.
89435         * math/s_nanf.c: Undef __nanf.
89436         * math/s_nanl.c: Undef __nanl.
89437         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
89438         "math_private.h".
89440 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
89442         * math/s_catan.c: Add branch predictions.
89443         * math/s_catanf.c: Likewise.
89444         * math/s_catanh.c: Likewise.
89445         * math/s_catanhf.c: Likewise.
89446         * math/s_catanhl.c: Likewise.
89447         * math/s_catanl.c: Likewise.
89448         * math/s_cexp.c: Likewise.
89449         * math/s_cexpf.c: Likewise.
89450         * math/s_cexpl.c: Likewise.
89451         * math/s_clog.c: Likewise.
89452         * math/s_clog10.c: Likewise.
89453         * math/s_clog10f.c: Likewise.
89454         * math/s_clog10l.c: Likewise.
89455         * math/s_clogf.c: Likewise.
89456         * math/s_clogl.c: Likewise.
89457         * math/s_csqrt.c: Likewise.
89458         * math/s_csqrtf.c: Likewise.
89459         * math/s_csqrtl.c: Likewise.
89460         * math/s_ctanf.c: Likewise.
89461         * math/s_ctanh.c: Likewise.
89462         * math/s_ctanhf.c: Likewise.
89463         * math/s_ctanhl.c: Likewise.
89464         * math/s_ctanl.c: Likewise.
89466         * math/math_private.h: Define __nan, __nanf, __nanl.
89467         * math/s_cacosh.c: Include <math_private.h>.
89468         * math/s_cacoshl.c: Likewise.
89469         * math/s_casinh.c: Likewise.
89470         * math/s_casinhf.c: Likewise.
89471         * math/s_casinhl.c: Likewise.
89472         * math/s_ccos.c: Rely entire on ccosh.
89473         * math/s_ccosf.c: Rely entire on ccoshf.
89474         * math/s_ccosl.c: Rely entirely on ccoshl.
89475         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
89476         Remove tests for FE_INVALID.
89477         * math/s_ccoshf.c: Likewise.
89478         * math/s_ccoshl.c: Likewise.
89479         * math/s_csin.c: Likewise.
89480         * math/s_csinf.c: Likewise.
89481         * math/s_csinh.c Likewise.
89482         * math/s_csinhf.c: Likewise.
89483         * math/s_csinhl.c: Likewise.
89484         * math/s_csinl.c: Likewise.
89485         * math/s_ctan.c: Likewise.
89486         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
89487         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
89488         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
89490 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
89492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
89493         compilation problems.
89495         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
89496         __builtin_expect.
89498 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
89500         * sysdeps/i386/configure.in: Test for -mfma4 option.
89501         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
89502         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
89503         COMMON_CPUID_INDEX_80000001.
89504         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
89505         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
89506         use it if FMA3 is not supported.
89507         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
89509         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
89510         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89512 2011-10-20  Andreas Schwab  <schwab@redhat.com>
89514         [BZ #12892]
89515         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
89516         it would create a cycle with a link time dependency.
89518 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
89520         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
89521         instruction.
89522         * string/Makefile (strop-tests): Add rawmemchr.
89523         * string/test-rawmemchr.c: New file.
89525         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
89526         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
89527         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
89528         when compiling str{,n}casecmp and when AVX is available.  Hook up
89529         new optimized code in initializers.
89531 2011-10-19  Andreas Schwab  <schwab@redhat.com>
89533         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
89534         __feraiseexcept instead of feraiseexcept.
89536 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
89538         * math/math_private.h: Define defaults for libc_fetestexcept and
89539         libc_feupdateenv.
89540         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
89541         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
89542         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89543         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89544         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
89545         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89546         libc_fetestexcept and libc_feupdateenv.
89548         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
89549         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
89550         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
89551         * sysdeps/x86_64/fpu/math_private.h: Define special version of
89552         libc_feholdexcept_setround.
89554         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
89555         Add s_nearbyint-c and s_nearbyintf-c.
89556         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
89557         nearbyintf inlines.
89558         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
89559         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
89560         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
89561         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
89563         * math/math_private.h: Define defaults for libc_fegetround,
89564         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
89565         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
89566         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
89567         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
89568         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
89569         standard functions.
89570         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89571         Remove comments and hacks for old compiler versions.
89572         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89573         libc_fegetround, libc_fesetround, libc_feholdexcept, and
89574         libc_feholdexceptl.
89576 2011-10-18  Andreas Schwab  <schwab@redhat.com>
89578         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
89579         (__feraiseexcept_renamed): Add __NTH.
89580         (feraiseexcept): Add __NTH.  Rename local variables to fix
89581         namespace violations.
89583 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
89585         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
89587         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
89589         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
89590         recently added interfaces.
89591         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
89593         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
89594         about macro parameter expansion.
89596         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
89597         __NO_MATH_INLINES is defined.  Cleanups.
89599         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
89600         and __floorf is target has SSE4.1.
89601         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
89602         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
89603         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
89604         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
89606         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
89607         name.
89608         (floorf): Likewise.
89610         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
89612 2011-10-17  Andreas Schwab  <schwab@redhat.com>
89614         * misc/sys/cdefs.h: Fix last change.
89616         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
89617         database lookup.
89619 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
89621         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
89623         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
89624         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89625         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
89626         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89627         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89628         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
89629         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89630         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89631         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
89632         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
89633         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
89634         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
89635         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
89636         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
89637         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
89638         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
89639         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
89640         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
89641         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
89642         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
89643         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
89644         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
89646         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
89647         ceil, ceilf, floor, floorf.
89649         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
89650         Perform IRELATIVE relocations last.
89652         * elf/do-rel.h: Add another parameter nrelative, replacing the
89653         local variable with the same name.  Change name of the function
89654         to end in Rel or Rela (uppercase).
89655         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
89656         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
89657         elf_dynamic_do_##reloc function.
89659 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
89661         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
89662         is sufficient, at least on modern CPUs.
89664         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
89666         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
89667         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
89669         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
89670         __expl_finite.
89671         * math/bits/math-finite.h: Add entries for exp.
89672         * math/e_expl.c: Add __*_finite alias.
89673         * sysdeps/i386/fpu/e_exp.S: Likewise.
89674         * sysdeps/i386/fpu/e_expf.S: Likewise.
89675         * sysdeps/i386/fpu/e_expl.c: Likewise.
89676         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89677         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89678         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
89679         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
89680         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
89681         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
89682         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
89684         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
89685         is sufficient, at least on modern CPUs.
89687         * ctype/ctype-info.c (__ctype_init): Define.
89688         * include/ctype.h (__ctype_init): Declare.
89689         (__ctype_b_loc): The variable is always initialized.
89690         (__ctype_toupper_loc): Likewise.
89691         (__ctype_tolower_loc): Likewise.
89692         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
89693         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
89695 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
89697         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
89699         * configure.in: Also look in $cxxmachine/include for C++ system
89700         headers.
89702 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89704         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
89705         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
89706         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
89707         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
89708         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
89709         (USE_AS_WMEMCMP): New macro.
89710         Fixing indents.
89711         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
89712         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
89713         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
89714         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
89715         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89716         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
89717         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
89718         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
89719         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
89720         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
89721         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
89722         (USE_AS_WMEMCMP): New macro.
89723         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
89724         * sysdeps/string/test-memcmp.c: Update.
89725         Fix simple_wmemcmp.
89726         Add new tests.
89727         * wcsmbs/wmemcmp.c: Update.
89728         (WMEMCMP): New macro.
89729         Fix overflow bug.
89731 2011-10-12  Andreas Jaeger  <aj@suse.de>
89733         [BZ #13268]
89734         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
89736 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
89738         * libio/iofwide.c (do_length): Avoid warning.
89740         * ctype/ctype.h (__isctype_f): Add missing __THROW.
89742 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
89744         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
89746         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
89747         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
89748         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
89749         * sysdeps/i386/i686/fpu/e_log.S: New file.
89750         * sysdeps/i386/i686/fpu/e_logf.S: New file.
89751         * sysdeps/i386/i686/fpu/e_logl.S: New file.
89753         * ctype/ctype.h: Add support for inlined isXXX functions when
89754         compiling C++ code.
89756 2011-10-14  Andreas Schwab  <schwab@redhat.com>
89758         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89760         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
89762 2011-10-13  Roland McGrath  <roland@hack.frob.com>
89764         [BZ #13291]
89765         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
89767 2011-10-13  Andreas Schwab  <schwab@redhat.com>
89769         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
89770         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
89771         feraiseexcept.
89773         * sysdeps/x86_64/memrchr.S: Check for zero size.
89775         * string/stratcliff.c: Add memrchr tests.
89777 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89779         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89780         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
89781         rawmemchr-sse2 rawmemchr-sse2-bsf.
89782         * sysdeps/i386/i686/multiarch/memchr.S: New file.
89783         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
89784         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
89785         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
89786         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
89787         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
89788         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
89789         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
89790         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
89791         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
89792         * string/memrchr.c (MEMRCHR): New macro.
89794 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
89796         Add integration with gcc's -ffinite-math-only and optimize wrapper
89797         functions in libm.
89798         * Versions.def: Define GLIBC_2.15 version for libm.
89799         * math/Makefile (headers): Add bits/math-finite.h.
89800         * math/bits/math-finite.h: New file.
89801         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
89802         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
89803         * math/e_acoshl.c: Add __*_finite alias.
89804         * math/e_acosl.c: Likewise.
89805         * math/e_asinl.c: Likewise.
89806         * math/e_atan2l.c: Likewise.
89807         * math/e_atanhl.c: Likewise.
89808         * math/e_coshl.c: Likewise.
89809         * math/e_exp10.c: Likewise.
89810         * math/e_exp10f.c: Likewise.
89811         * math/e_exp10l.c: Likewise.
89812         * math/e_exp2l.c: Likewise.
89813         * math/e_fmodl.c: Likewise.
89814         * math/e_gammal_r.c: Likewise.
89815         * math/e_hypotl.c: Likewise.
89816         * math/e_j0l.c: Likewise.
89817         * math/e_j1l.c: Likewise.
89818         * math/e_jnl.c: Likewise.
89819         * math/e_lgammal_r.c: Likewise.
89820         * math/e_log10l.c: Likewise.
89821         * math/e_log2l.c: Likewise.
89822         * math/e_logl.c: Likewise.
89823         * math/e_powl.c: Likewise.
89824         * math/e_sinhl.c: Likewise.
89825         * math/e_sqrtl.c: Likewise.
89826         * math/e_scalb.c: Completely rewritten and optimized.
89827         * math/e_scalbf.c: Likewise.
89828         * math/e_scalbl.c: Likewise.
89829         * math/w_acos.c: Likewise.
89830         * math/w_acosf.c: Likewise.
89831         * math/w_acosl.c: Likewise.
89832         * math/w_acosh.c: Likewise.
89833         * math/w_acoshf.c: Likewise.
89834         * math/w_acoshl.c: Likewise.
89835         * math/w_asin.c: Likewise.
89836         * math/w_asinf.c: Likewise.
89837         * math/w_asinl.c: Likewise.
89838         * math/w_atan2.c: Likewise.
89839         * math/w_atan2f.c: Likewise.
89840         * math/w_atan2l.c: Likewise.
89841         * math/w_atanh.c: Likewise.
89842         * math/w_atanhf.c: Likewise.
89843         * math/w_atanhl.c: Likewise.
89844         * math/w_exp10.c: Likewise.
89845         * math/w_exp10f.c: Likewise.
89846         * math/w_exp10l.c: Likewise.
89847         * math/w_fmod.c: Likewise.
89848         * math/w_fmodf.c: Likewise.
89849         * math/w_fmodl.c: Likewise.
89850         * math/w_j0.c: Likewise.
89851         * math/w_j0f.c: Likewise.
89852         * math/w_j0l.c: Likewise.
89853         * math/w_j1.c: Likewise.
89854         * math/w_j1f.c: Likewise.
89855         * math/w_j1l.c: Likewise.
89856         * math/w_jn.c: Likewise.
89857         * math/w_jnf.c: Likewise.
89858         * math/w_log.c: Likewise.
89859         * math/w_logf.c: Likewise.
89860         * math/w_logl.c: Likewise.
89861         * math/w_log10.c: Likewise.
89862         * math/w_log10f.c: Likewise.
89863         * math/w_log10l.c: Likewise.
89864         * math/w_log2.c: Likewise.
89865         * math/w_log2f.c: Likewise.
89866         * math/w_log2l.c: Likewise.
89867         * math/w_pow.c: Likewise.
89868         * math/w_powf.c: Likewise.
89869         * math/w_powl.c: Likewise.
89870         * math/w_remainder.c: Likewise.
89871         * math/w_remainderf.c: Likewise.
89872         * math/w_remainderl.c: Likewise.
89873         * math/w_scalb.c: Likewise.
89874         * math/w_scalbf.c: Likewise.
89875         * math/w_scalbl.c: Likewise.
89876         * math/w_sqrt.c: Likewise.
89877         * math/w_sqrtf.c: Likewise.
89878         * math/w_sqrtl.c: Likewise.
89879         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
89880         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
89881         used.
89882         * math/math_private.h: Declare __kernel_standard_f.
89883         * math/w_cosh.c: Remove cruft and optimize a bit.
89884         * math/w_coshf.c: Likewise.
89885         * math/w_coshl.c: Likewise.
89886         * math/w_exp2.c: Likewise.
89887         * math/w_exp2f.c: Likewise.
89888         * math/w_exp2l.c: Likewise.
89889         * math/w_hypot.c: Likewise.
89890         * math/w_hypotf.c: Likewise.
89891         * math/w_hypotl.c: Likewise.
89892         * math/w_lgamma.c: Likewise.
89893         * math/w_lgamma_r.c: Likewise.
89894         * math/w_lgammaf.c: Likewise.
89895         * math/w_lgammaf_r.c: Likewise.
89896         * math/w_lgammal.c: Likewise.
89897         * math/w_lgammal_r.c: Likewise.
89898         * math/w_sinh.c: Likewise.
89899         * math/w_sinhf.c: Likewise.
89900         * math/w_sinhl.c: Likewise.
89901         * math/w_tgamma.c: Likewise.
89902         * math/w_tgammaf.c: Likewise.
89903         * math/w_tgammal.c: Likewise.
89904         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
89905         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89906         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
89907         Minor optimizations.  Pretty printing.  Remove cruft.
89908         * sysdeps/i386/fpu/e_acosf.S: Likewise.
89909         * sysdeps/i386/fpu/e_acosh.S: Likewise.
89910         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
89911         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
89912         * sysdeps/i386/fpu/e_acosl.c: Likewise.
89913         * sysdeps/i386/fpu/e_asin.S: Likewise.
89914         * sysdeps/i386/fpu/e_asinf.S: Likewise.
89915         * sysdeps/i386/fpu/e_atan2.S: Likewise.
89916         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
89917         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
89918         * sysdeps/i386/fpu/e_atanh.S: Likewise.
89919         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
89920         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
89921         * sysdeps/i386/fpu/e_exp10.S: Likewise.
89922         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
89923         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
89924         * sysdeps/i386/fpu/e_exp2.S: Likewise.
89925         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
89926         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
89927         * sysdeps/i386/fpu/e_fmod.S: Likewise.
89928         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
89929         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
89930         * sysdeps/i386/fpu/e_hypot.S: Likewise.
89931         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
89932         * sysdeps/i386/fpu/e_log.S: Likewise.
89933         * sysdeps/i386/fpu/e_log10.S: Likewise.
89934         * sysdeps/i386/fpu/e_log10f.S: Likewise.
89935         * sysdeps/i386/fpu/e_log10l.S: Likewise.
89936         * sysdeps/i386/fpu/e_log2.S: Likewise.
89937         * sysdeps/i386/fpu/e_log2f.S: Likewise.
89938         * sysdeps/i386/fpu/e_log2l.S: Likewise.
89939         * sysdeps/i386/fpu/e_logf.S: Likewise.
89940         * sysdeps/i386/fpu/e_logl.S: Likewise.
89941         * sysdeps/i386/fpu/e_pow.S: Likewise.
89942         * sysdeps/i386/fpu/e_powf.S: Likewise.
89943         * sysdeps/i386/fpu/e_powl.S: Likewise.
89944         * sysdeps/i386/fpu/e_remainder.S: Likewise.
89945         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
89946         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
89947         * sysdeps/i386/fpu/e_scalb.S: Likewise.
89948         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
89949         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
89950         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
89951         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
89952         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
89953         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
89954         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89955         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89956         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
89957         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89958         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
89959         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
89960         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
89961         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89962         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
89963         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
89964         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
89965         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89966         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
89967         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
89968         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89969         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
89970         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
89971         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89972         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89973         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
89974         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
89975         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89976         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89977         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
89978         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
89979         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89980         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
89981         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
89982         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
89983         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89984         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
89985         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89986         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
89987         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
89988         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
89989         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
89990         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
89991         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
89992         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
89993         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
89994         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
89995         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
89996         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
89997         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89998         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
89999         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
90000         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
90001         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
90002         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
90003         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
90004         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
90005         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
90006         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
90007         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
90008         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
90009         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
90010         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
90011         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
90012         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
90013         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
90014         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
90015         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
90016         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
90017         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
90018         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
90019         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
90020         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
90021         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
90022         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
90023         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
90024         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
90025         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
90026         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
90027         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
90028         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
90029         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
90030         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
90031         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
90032         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
90033         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90034         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
90035         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
90036         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
90037         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90038         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
90039         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
90040         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
90041         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
90042         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
90043         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
90044         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
90045         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
90046         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
90047         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90048         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90049         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90050         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
90051         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
90052         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
90053         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
90054         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
90055         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
90056         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
90057         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
90058         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
90059         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
90060         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
90061         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
90062         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
90063         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
90064         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
90065         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
90066         (__isnanf): Likewise.
90067         (__isinf_ns): Likewise.
90068         (__isinf_nsf): Likewise.
90069         (__finite): Likewise.
90070         (__finitef): Likewise.
90071         (__ieee754_sqrt): Define as macro.
90072         (__ieee754_sqrtf): Define as macro.
90073         (__ieee754_sqrtl): Define as macro.
90074         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
90075         inlined copy.
90076         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
90077         __FINITE_MATH_ONLY__ consistent.
90078         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
90080 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
90082         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
90083         of rawmemchr.
90085         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
90087 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
90089         * po/ja.po: Update from translation team.
90091 2011-10-08  Roland McGrath  <roland@hack.frob.com>
90093         * locale/programs/locarchive.c (prepare_address_space): New function.
90094         (create_archive, enlarge_archive, open_archive): Use it.
90096         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
90097         inside [SHARED], where it is used.
90099         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
90101         * nss/getent.c (netgroup_keys): Remove unused variable.
90102         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
90104 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
90106         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
90107         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
90108         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
90109         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
90110         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
90111         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
90112         * math/Makefile (libm-calls): Add s_isinf_ns.
90113         * math/divtc3.c: Use __isinf_nsl instead of isinf.
90114         * math/multc3.c: Likewise.
90115         * math/s_casin.c: Likewise.
90116         * math/s_casinf.c: Likewise.
90117         * math/s_casinl.c: Likewise.
90118         * math/s_ccos.c: Likewise.
90119         * math/s_ccosf.c: Likewise.
90120         * math/s_ccosl.c: Likewise.
90121         * math/s_ctan.c: Likewise.
90122         * math/s_ctanf.c: Likewise.
90123         * math/s_ctanh.c: Likewise.
90124         * math/s_ctanhf.c: Likewise.
90125         * math/s_ctanhl.c: Likewise.
90126         * math/s_ctanl.c: Likewise.
90127         * math/w_fmod.c: Likewise.
90128         * math/w_fmodf.c: Likewise.
90129         * math/w_fmodl.c: Likewise.
90130         * math/w_remainder.c: Likewise.
90131         * math/w_remainderf.c: Likewise.
90132         * math/w_remainderl.c: Likewise.
90133         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
90134         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
90135         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
90136         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
90137         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
90138         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
90139         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
90140         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
90142         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
90143         of the number.
90144         * stdio-common/printf_fphex.c: Likewise.
90145         * stdio-common/printf_size.c: Likewise.
90147         * math/e_exp10.c: Include math_private.h using <...> not "...".
90148         * math/e_exp10f.c: Likewise.
90149         * math/e_exp10l.c: Likewise.
90150         * math/e_exp2l.c: Likewise.
90151         * math/e_j0l.c: Likewise.
90152         * math/e_j1l.c: Likewise.
90153         * math/e_jnl.c: Likewise.
90154         * math/e_lgammal_r.c: Likewise.
90155         * math/e_rem_pio2l.c: Likewise.
90156         * math/e_scalb.c: Likewise.
90157         * math/e_scalbf.c: Likewise.
90158         * math/e_scalbl.c: Likewise.
90159         * math/k_cosl.c: Likewise.
90160         * math/k_sinl.c: Likewise.
90161         * math/k_tanl.c: Likewise.
90162         * math/s_cacoshf.c: Likewise.
90163         * math/s_catan.c: Likewise.
90164         * math/s_catanf.c: Likewise.
90165         * math/s_catanh.c: Likewise.
90166         * math/s_catanhf.c: Likewise.
90167         * math/s_catanhl.c: Likewise.
90168         * math/s_catanl.c: Likewise.
90169         * math/s_ccosh.c: Likewise.
90170         * math/s_ccoshf.c: Likewise.
90171         * math/s_ccoshl.c: Likewise.
90172         * math/s_cexp.c: Likewise.
90173         * math/s_cexpf.c: Likewise.
90174         * math/s_cexpl.c: Likewise.
90175         * math/s_clog.c: Likewise.
90176         * math/s_clog10.c: Likewise.
90177         * math/s_clog10f.c: Likewise.
90178         * math/s_clog10l.c: Likewise.
90179         * math/s_clogf.c: Likewise.
90180         * math/s_clogl.c: Likewise.
90181         * math/s_csin.c: Likewise.
90182         * math/s_csinf.c: Likewise.
90183         * math/s_csinh.c: Likewise.
90184         * math/s_csinhf.c: Likewise.
90185         * math/s_csinhl.c: Likewise.
90186         * math/s_csinl.c: Likewise.
90187         * math/s_csqrt.c: Likewise.
90188         * math/s_csqrtf.c: Likewise.
90189         * math/s_csqrtl.c: Likewise.
90190         * math/s_ctan.c: Likewise.
90191         * math/s_ctanf.c: Likewise.
90192         * math/s_ctanh.c: Likewise.
90193         * math/s_ctanhf.c: Likewise.
90194         * math/s_ctanhl.c: Likewise.
90195         * math/s_ctanl.c: Likewise.
90196         * math/s_ldexp.c: Likewise.
90197         * math/s_ldexpf.c: Likewise.
90198         * math/s_ldexpl.c: Likewise.
90199         * math/s_significand.c: Likewise.
90200         * math/s_significandf.c: Likewise.
90201         * math/s_significandl.c: Likewise.
90202         * math/w_acos.c: Likewise.
90203         * math/w_acosf.c: Likewise.
90204         * math/w_acosh.c: Likewise.
90205         * math/w_acoshf.c: Likewise.
90206         * math/w_acoshl.c: Likewise.
90207         * math/w_acosl.c: Likewise.
90208         * math/w_asin.c: Likewise.
90209         * math/w_asinf.c: Likewise.
90210         * math/w_asinl.c: Likewise.
90211         * math/w_atan2.c: Likewise.
90212         * math/w_atan2f.c: Likewise.
90213         * math/w_atan2l.c: Likewise.
90214         * math/w_atanh.c: Likewise.
90215         * math/w_atanhf.c: Likewise.
90216         * math/w_atanhl.c: Likewise.
90217         * math/w_cosh.c: Likewise.
90218         * math/w_coshf.c: Likewise.
90219         * math/w_coshl.c: Likewise.
90220         * math/w_dremf.c: Likewise.
90221         * math/w_exp10.c: Likewise.
90222         * math/w_exp10f.c: Likewise.
90223         * math/w_exp10l.c: Likewise.
90224         * math/w_exp2.c: Likewise.
90225         * math/w_exp2f.c: Likewise.
90226         * math/w_fmod.c: Likewise.
90227         * math/w_fmodf.c: Likewise.
90228         * math/w_fmodl.c: Likewise.
90229         * math/w_hypot.c: Likewise.
90230         * math/w_hypotf.c: Likewise.
90231         * math/w_hypotl.c: Likewise.
90232         * math/w_j0.c: Likewise.
90233         * math/w_j0f.c: Likewise.
90234         * math/w_j0l.c: Likewise.
90235         * math/w_j1.c: Likewise.
90236         * math/w_j1f.c: Likewise.
90237         * math/w_j1l.c: Likewise.
90238         * math/w_jn.c: Likewise.
90239         * math/w_jnf.c: Likewise.
90240         * math/w_jnl.c: Likewise.
90241         * math/w_lgamma.c: Likewise.
90242         * math/w_lgamma_r.c: Likewise.
90243         * math/w_lgammaf.c: Likewise.
90244         * math/w_lgammaf_r.c: Likewise.
90245         * math/w_lgammal.c: Likewise.
90246         * math/w_lgammal_r.c: Likewise.
90247         * math/w_log.c: Likewise.
90248         * math/w_log10.c: Likewise.
90249         * math/w_log10f.c: Likewise.
90250         * math/w_log10l.c: Likewise.
90251         * math/w_log2.c: Likewise.
90252         * math/w_log2f.c: Likewise.
90253         * math/w_log2l.c: Likewise.
90254         * math/w_logf.c: Likewise.
90255         * math/w_logl.c: Likewise.
90256         * math/w_pow.c: Likewise.
90257         * math/w_powf.c: Likewise.
90258         * math/w_powl.c: Likewise.
90259         * math/w_remainder.c: Likewise.
90260         * math/w_remainderf.c: Likewise.
90261         * math/w_remainderl.c: Likewise.
90262         * math/w_scalb.c: Likewise.
90263         * math/w_scalbf.c: Likewise.
90264         * math/w_scalbl.c: Likewise.
90265         * math/w_sinh.c: Likewise.
90266         * math/w_sinhf.c: Likewise.
90267         * math/w_sinhl.c: Likewise.
90268         * math/w_sqrt.c: Likewise.
90269         * math/w_sqrtf.c: Likewise.
90270         * math/w_sqrtl.c: Likewise.
90271         * math/w_tgamma.c: Likewise.
90272         * math/w_tgammaf.c: Likewise.
90273         * math/w_tgammal.c: Likewise.
90275         * po/ja.po: Update from translation team.
90277 2011-09-29  Andreas Jaeger  <aj@suse.de>
90279         [BZ #13179]
90280         * sunrpc/netname.c (netname2host): Fix logic.
90282         [BZ #6779]
90283         [BZ #6783]
90284         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
90285         correctly.
90286         * math/w_remainder.c (__remainder): Likewise.
90287         * math/w_remainderf.c (__remainderf): Likewise.
90288         * math/libm-test.inc (remainder_test): Add test cases.
90290 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90292         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
90293         sdiv_qrnnd.
90295 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
90297         * string/test-memcmp.c: Avoid unncessary #defines.
90298         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90300 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90302         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
90303         Use new sse2 version for core i3 - i7 as it's faster
90304         than sse42 version.
90305         (bit_Prefer_PMINUB_for_stringop): New.
90306         * sysdeps/x86_64/rawmemchr.S: Update.
90307         Replace with faster SSE2 version.
90308         * sysdeps/x86_64/memrchr.S: New file.
90309         * sysdeps/x86_64/memchr.S: Update.
90310         Replace with faster SSE2 version.
90312 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
90314         * elf/dl-load.c (lose): Add cast to avoid warning.
90316 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
90318         * po/ca.po: Update from translation team.
90320         * inet/getnetgrent_r.c: Hook up nscd.
90321         * nscd/Makefile (routines): Add nscd_netgroup.
90322         (nscd-modules): Add netgroupcache.
90323         (CFLAGS-netgroupcache.c): Define.
90324         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
90325         (cache_search): Add const to second parameter.
90326         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
90327         INNETGR.
90328         (dbs): Add netgrdb entry.
90329         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
90330         (verify_persistent_db): Handle netgrdb.
90331         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
90332         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
90333         GETFDNETGR.
90334         (netgroup_response_header): Define.
90335         (innetgroup_response_header): Define.
90336         (datahead): Add netgroup_response_header and innetgroup_response_header
90337         elements.
90338         * nscd/nscd.conf: Add entries for netgroup cache.
90339         * nscd/nscd.h (dbtype): Add netgrdb.
90340         (_PATH_NSCD_NETGROUP_DB): Define.
90341         (netgroup_iov_disabled): Declare.
90342         (xmalloc, xcalloc, xrealloc): Move declarations here.
90343         (cache_search): Adjust prototype.
90344         Add netgroup-related prototypes.
90345         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
90346         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
90347         (__nscd_innetgr): Declare.
90348         * nscd/selinux.c (perms): Use access_vector_t as element type and
90349         add netgroup-related initializers.
90350         * nscd/netgroupcache.c: New file.
90351         * nscd/nscd_netgroup.c: New file.
90352         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
90353         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
90354         For four parameters use innetgr.
90355         * nss/nss_files/files-init.c: Add definition and callback for netgr.
90356         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
90357         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
90358         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
90360         * nscd/connections.c (register_traced_file): Don't register file
90361         for disabled databases.
90363 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
90365         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
90367         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
90368         from tree and freeing node.
90370 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
90372         * nss/nsswitch.c (__nss_database_lookup): Handle
90373         nss_parse_service_list out of memory case.
90375 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
90377         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
90378         out of memory case.
90380 2011-10-04  Andreas Schwab  <schwab@redhat.com>
90382         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
90383         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
90384         pass it down.
90385         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
90386         elf_machine_rela, elf_machine_lazy_rel.
90387         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
90388         (ELF_DYNAMIC_DO_REL): Likewise.
90389         (ELF_DYNAMIC_DO_RELA): Likewise.
90390         (ELF_DYNAMIC_RELOCATE): Likewise.
90391         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
90392         to ELF_DYNAMIC_DO_REL.
90393         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
90394         (dl_main): In trace mode always set __RTLD_NOIFUNC.
90395         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
90396         elf_machine_rela.
90397         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
90398         skip_ifunc, don't call ifunc function if non-zero.
90399         (elf_machine_rela): Likewise.
90400         (elf_machine_lazy_rel): Likewise.
90401         (elf_machine_lazy_rela): Likewise.
90402         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
90403         (elf_machine_lazy_rel): Likewise.
90404         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
90405         Likewise.
90406         (elf_machine_lazy_rel): Likewise.
90407         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90408         Likewise.
90409         (elf_machine_lazy_rel): Likewise.
90410         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
90411         (elf_machine_lazy_rel): Likewise.
90412         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
90413         (elf_machine_lazy_rel): Likewise.
90414         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
90415         (elf_machine_lazy_rel): Likewise.
90416         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
90417         (elf_machine_lazy_rel): Likewise.
90418         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
90419         (elf_machine_lazy_rel): Likewise.
90420         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
90421         (elf_machine_lazy_rel): Likewise.
90423 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
90425         * nss/nss_files/files-init.c (_nss_files_init): Use static
90426         initialization for all the *_traced_file variables.
90428 2011-09-28  Andreas Schwab  <schwab@redhat.com>
90430         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90432 2011-09-27  Roland McGrath  <roland@hack.frob.com>
90434         [BZ #13226]
90435         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
90437 2011-09-27  Andreas Schwab  <schwab@redhat.com>
90439         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90440         Reread the line before reparsing it.
90442 2011-09-26  Andreas Schwab  <schwab@redhat.com>
90444         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
90446 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
90447             Maxim Kuvyrkov  <maxim@codesourcery.com>
90448             Joseph Myers  <joseph@codesourcery.com>
90450         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
90451         if needed for __stack_chk_guard.
90453 2011-09-19  Roland McGrath  <roland@hack.frob.com>
90455         * sysdeps/posix/spawni.c (script_execute): Always define it.
90456         It will be optimized away if unused.
90457         (maybe_script_execute): New function.
90458         (__spawni): Call it.
90460         * Makerules: Don't include tls.make.
90461         (config-tls): Always set to thread.
90462         * tls.make.c: File removed.
90464 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
90466         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
90467         * config.make.in (CPPFLAGS-config): New substituted variable.
90469 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
90471         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
90473         [BZ #13192]
90474         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
90475         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
90477 2011-09-15  Roland McGrath  <roland@hack.frob.com>
90479         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
90480         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
90481         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
90482         (CALL_FAIL): Likewise.
90483         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
90484         (CALL_FAIL): Macro removed.
90485         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
90487 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
90489         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
90490         for __FINITE_MATH_ONLY__ == 1.
90492 2011-09-15  Andreas Schwab  <schwab@redhat.com>
90494         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
90495         __ieee754_sqrt instead of sqrt.
90496         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
90497         __ieee754_sqrtf instead of sqrtf.
90498         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
90499         __floorf instead of floorf.
90500         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
90501         __floorf, __truncf instead of floorf, truncf.
90503 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
90505         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
90507         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
90508         __extern_always_inline.
90509         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
90510         32-bit.
90512 2011-09-14  Andreas Schwab  <schwab@redhat.com>
90514         * elf/rtld.c (dl_main): Also relocate in dependency order when
90515         doing symbol dependency testing.
90517 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
90519         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90520         Always define `refsym'.
90522 2011-09-13  Andreas Schwab  <schwab@redhat.com>
90524         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
90525         (__FD_ELT): Renamed from __FDELT.
90526         * misc/bits/select2.h (__FD_ELT): Likewise.
90527         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
90528         __FD_MASK instead of __FDELT, __FDMASK.
90529         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90530         Likewise.
90531         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90532         Likewise.
90534         * elf/Makefile (gen-ldd): Fix pattern.
90536         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
90537         (init_tls): Likewise.
90539 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
90541         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
90543 2011-09-12  Andreas Schwab  <schwab@redhat.com>
90545         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
90546         `struct cmsghdr *' instead of `void *'.
90547         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
90548         Likewise.
90550 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
90552         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
90553         if non-absolute.
90554         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
90555         ldd_rewrite_script.
90557 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
90559         * configure.in: Remove --with-tls option.
90560         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
90561         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
90562         out in case it is missing.
90563         * sysdeps/ia64/elf/configure.in: Likewise.
90564         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
90565         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
90566         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
90567         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
90568         * sysdeps/sh/elf/configure.in: Likewise.
90569         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
90570         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
90571         * sysdeps/x86_64/elf/configure.in: Likewise.
90572         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
90573         * sysdeps/mach/hurd/tls.h: Likewise.
90575         [BZ #13067]
90576         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
90578         [BZ #13090]
90579         * configure.in: Fix use of AC_INIT.
90581         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
90583 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
90585         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
90586         __set_errno.
90587         * malloc/hooks.c: Likewise.
90589         [BZ #11929]
90590         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
90591         variables statically.
90592         (narenas): Initialize.
90593         (list_lock): Initialize.
90594         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
90595         initializtion of main_arena and list_lock.  Small cleanups.
90596         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
90597         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
90598         Add initializers to main_arena and mp_.
90599         (malloc_state): Remove pagesize member.  Change all users to use
90600         GLRO(dl_pagesize).
90602         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
90603         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
90604         is always initialized.
90606         * malloc/malloc.c: Removed unused configurations and dead code.
90607         * malloc/arena.c: Likewise.
90608         * malloc/hooks.c: Likewise.
90609         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
90611         * include/tls.h: Removed.  USE___THREAD must always be defined.
90612         * bits/libc-tsd.h: Don't handle !USE___THREAD.
90613         * elf/dl-libc.c: Likewise.
90614         * elf/dl-tsd.c: Likewise.
90615         * include/errno.h: Likewise.
90616         * include/netdb.h: Likewise.
90617         * include/resolv.h: Likewise.
90618         * inet/herrno-loc.c: Likewise.
90619         * inet/herrno.c: Likewise.
90620         * malloc/arena.c: Likewise.
90621         * malloc/hooks.c: Likewise.
90622         * malloc/malloc.c: Likewise.
90623         * resolv/res-state.c: Likewise.
90624         * resolv/res_libc.c: Likewise.
90625         * sysdeps/i386/dl-machine.h: Likewise.
90626         * sysdeps/ia64/dl-machine.h: Likewise.
90627         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
90628         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
90629         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
90630         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
90631         * sysdeps/sh/dl-machine.h: Likewise.
90632         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
90633         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
90634         * sysdeps/unix/i386/sysdep.S: Likewise.
90635         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
90636         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
90637         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
90638         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
90639         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
90640         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
90641         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
90642         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
90643         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
90644         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
90645         * sysdeps/unix/x86_64/sysdep.S: Likewise.
90646         * sysdeps/x86_64/dl-machine.h: Likewise.
90647         * tls.make.c: Likewise.
90649         * configure.in: Remove --with-__thread option.  Make tests for
90650         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
90651         tls_model attribute fail if no support is available.  Remove
90652         USE_IN_LIBIO.
90653         * Makeconfig: Adjust for dropped configure option.  All features are
90654         now mandatory.
90655         * Makerules: Likewise.
90656         * Versions.def: Likewise.
90657         * argp/argp-fmtstream.c: Likewise.
90658         * argp/argp-fmtstream.h: Likewise.
90659         * argp/argp-help.c: Likewise.
90660         * assert/assert.c: Likewise.
90661         * config.h.in: Likewise.
90662         * config.make.in: Likewise.
90663         * configure: Likewise.
90664         * configure.in: Likewise.
90665         * csu/Versions: Likewise.
90666         * csu/init.c: Likewise.
90667         * elf/tst-audit2.c: Likewise.
90668         * elf/tst-tls10.c: Likewise.
90669         * elf/tst-tls10.h: Likewise.
90670         * elf/tst-tls11.c: Likewise.
90671         * elf/tst-tls12.c: Likewise.
90672         * elf/tst-tls14.c: Likewise.
90673         * elf/tst-tlsmod11.c: Likewise.
90674         * elf/tst-tlsmod12.c: Likewise.
90675         * elf/tst-tlsmod13.c: Likewise.
90676         * elf/tst-tlsmod13a.c: Likewise.
90677         * elf/tst-tlsmod14a.c: Likewise.
90678         * elf/tst-tlsmod15b.c: Likewise.
90679         * elf/tst-tlsmod16a.c: Likewise.
90680         * elf/tst-tlsmod16b.c: Likewise.
90681         * elf/tst-tlsmod7.c: Likewise.
90682         * elf/tst-tlsmod8.c: Likewise.
90683         * elf/tst-tlsmod9.c: Likewise.
90684         * gmon/gmon.c: Likewise.
90685         * grp/fgetgrent_r.c: Likewise.
90686         * grp/putgrent.c: Likewise.
90687         * hurd/fopenport.c: Likewise.
90688         * include/libc-symbols.h: Likewise.
90689         * include/tls.h: Likewise.
90690         * intl/gettextP.h: Likewise.
90691         * intl/loadinfo.h: Likewise.
90692         * locale/global-locale.c: Likewise.
90693         * locale/localeinfo.h: Likewise.
90694         * mach/devstream.c: Likewise.
90695         * malloc/arena.c: Likewise.
90696         * malloc/set-freeres.c: Likewise.
90697         * misc/err.c: Likewise.
90698         * misc/getttyent.c: Likewise.
90699         * misc/mntent_r.c: Likewise.
90700         * posix/getopt.c: Likewise.
90701         * posix/wordexp.c: Likewise.
90702         * pwd/fgetpwent_r.c: Likewise.
90703         * resolv/Versions: Likewise.
90704         * resolv/res_hconf.c: Likewise.
90705         * shadow/fgetspent_r.c: Likewise.
90706         * shadow/putspent.c: Likewise.
90707         * stdio-common/printf_fphex.c: Likewise.
90708         * stdio-common/tmpfile.c: Likewise.
90709         * stdlib/abort.c: Likewise.
90710         * stdlib/fmtmsg.c: Likewise.
90711         * sunrpc/auth_unix.c: Likewise.
90712         * sunrpc/clnt_perr.c: Likewise.
90713         * sunrpc/clnt_tcp.c: Likewise.
90714         * sunrpc/clnt_udp.c: Likewise.
90715         * sunrpc/clnt_unix.c: Likewise.
90716         * sunrpc/openchild.c: Likewise.
90717         * sunrpc/svc_simple.c: Likewise.
90718         * sunrpc/svc_tcp.c: Likewise.
90719         * sunrpc/svc_udp.c: Likewise.
90720         * sunrpc/svc_unix.c: Likewise.
90721         * sunrpc/xdr.c: Likewise.
90722         * sunrpc/xdr_array.c: Likewise.
90723         * sunrpc/xdr_rec.c: Likewise.
90724         * sunrpc/xdr_ref.c: Likewise.
90725         * sunrpc/xdr_stdio.c: Likewise.
90727 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90729         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90731 2011-07-03  Andreas Jaeger  <aj@suse.de>
90733         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
90734         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
90735         regenerate with gen-libm-tests.pl.
90737 2010-05-12  Petr Baudis  <pasky@suse.cz>
90739         [BZ #11589]
90740         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
90741         around j0() zero points by switching to j1().
90742         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
90743         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
90744         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
90745         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
90747 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90749         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
90750         instead of 0.
90751         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
90752         instead of 0.
90753         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
90754         Patch in part by Pavel Roskin <proski@gnu.org>.
90756         [BZ #13138]
90757         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
90758         realloc.
90759         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
90760         Free memory block if necessary.
90762         [BZ #12847]
90763         * libio/genops.c (INTDEF): For string streams the _lock pointer can
90764         be NULL.  Don't lock in this case.
90766 2011-09-09  Roland McGrath  <roland@hack.frob.com>
90768         * elf/elf.h (ELFOSABI_GNU): New macro.
90769         (ELFOSABI_LINUX): Define to that.
90771 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
90773         * string/strncat.c (strncat): Undef the symbol in case it has been
90774         defined in bits/string.h.
90776 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90778         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
90780         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
90781         link map.
90783 2011-08-17  Andreas Jaeger  <aj@suse.de>
90785         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
90787 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
90788             Ian Lance Taylor  <iant@google.com>
90790         * math/libm-test.inc (lround_test): New testcase.
90791         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
90793 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
90795         * Makefile: Remove support for automatic cvs check-ins.
90796         * Makerules: Likewise.
90797         * config.make.in: Likewise.
90798         * configure.in: Likewise.
90799         * intl/Makefile: Likewise.
90800         * locale/Makefile: Likewise.
90801         * po/Makefile: Likewise.
90802         * posix/Makefile: Likewise.
90803         * sysdeps/gnu/Makefile: Likewise.
90804         * sysdeps/mach/hurd/Makefile: Likewise.
90805         * sysdeps/sparc/sparc32/Makefile: Likewise.
90807         [BZ #13118]
90808         * posix/Makefile (bug-regex32-ENV): Define.
90809         Patch by John Stanley <jpsinthemix@verizon.net>.
90811         * misc/Makefile (headers): Add bits/select2.h.
90812         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
90813         * misc/bits/select2.h: New file.
90814         * include/bits/select2.h: New file.
90815         * debug/Makefile (routines): Add fdelt_chk.
90816         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
90817         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
90818         FD_ISSET.
90819         * debug/fdelt_chk.c: New file.
90821         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
90822         * wcsmbs/test-wmemcmp.c: Likewise.
90823         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
90824         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
90826 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90828         * string/Makefile (strop-tests): Add memcmp.
90829         * string/test-wmemcmp.c: New file.
90830         * string/test-memcmp.c: Add wmemcmp support.
90832 2011-09-08  Roland McGrath  <roland@hack.frob.com>
90834         [BZ #13153]
90835         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
90836         2011-07-19 change.
90838         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
90839         garbage value in a __mach_port_mod_refs call in the cases of the
90840         task-self and thread-self ports.
90842 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90844         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
90846 2011-09-08  Andreas Schwab  <schwab@redhat.com>
90848         * elf/dl-load.c (lose): Check for non-null L.
90850 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90852         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
90854         * elf/dl-libc.c (dlerror_run): Pass back error code from
90855         dl_catch_error.
90857         [BZ #13123]
90858         * elf/dl-load.c (lose): Free l_origin if it is valid.
90860         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
90861         names.
90862         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
90863         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90864         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90865         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90866         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
90867         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
90869 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90871         * sysdeps/powerpc/fpu/e_hypot.c: New file.
90872         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
90873         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
90874         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
90875         * sysdeps/powerpc/fpu/k_cosf.c: New file.
90876         * sysdeps/powerpc/fpu/k_sinf.c: New file.
90877         * sysdeps/powerpc/fpu/s_cosf.c: New file.
90878         * sysdeps/powerpc/fpu/s_sinf.c: New file.
90879         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
90880         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
90882 2011-08-15  Alan Modra  <amodra@gmail.com>
90884         [BZ #13092]
90885         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
90886         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
90887         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
90888         ppc_mcount to static-only-routines.
90889         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
90890         __mcount_internal.
90891         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
90892         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
90894 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
90896         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
90897         for finite and infinity parameters.
90899 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
90901         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
90902         and add nop instructions for throughput optimization.
90903         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90905 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
90907         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
90908         aligned copy for power7 with vector-scalar instructions.
90909         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
90911 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
90913         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
90914         AVX check.
90916 2011-09-07  Andreas Schwab  <schwab@redhat.com>
90918         [BZ #13144]
90919         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
90920         last change.
90922 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90924         * sysdeps/unix/sysv/linux/x86_64/init-first.c
90925         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
90926         syscall wrapper around clock_gettime in __vdso_clock_gettime.
90927         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
90928         clock_gettime.
90930 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90932         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
90933         Forgot to demangle the pointer.
90935         * sysdeps/i386/sysdep.h: Define atom_text_section.
90936         * sysdeps/x86_64/sysdep.h: Likewise.
90937         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
90938         section with atom_text_section.
90939         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90940         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90941         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
90942         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90943         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
90945         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
90946         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
90947         already be defined.  Change to take two parameters and don't assign
90948         result to variable.  Adjust all users.
90949         Define INTERNAL_GETTIME if not already defined.
90950         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
90951         call.
90952         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
90953         HAVE_CLOCK_GETTIME_VSYSCALL.
90954         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
90956         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
90957         gettimeofday vsyscall, just use time.
90959 2011-09-06  Andreas Schwab  <schwab@redhat.com>
90961         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
90962         <errno.h>.
90964 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90966         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
90967         syscall on x86-64.
90968         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
90969         syscall.
90970         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
90971         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
90972         syscall if possible.
90974 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90976         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
90977         e_ident.  Don't pass to find_mapsXX.
90978         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
90980 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90983         strchr-sse2-no-bsf strrchr-sse2-no-bsf
90984         * sysdeps/x86_64/multiarch/strchr.S: Update.
90985         Check bit_slow_BSF bit.
90986         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
90987         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
90988         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
90990 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90992         [BZ #13134]
90993         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
90994         before glibc 2.15.
90995         (tryshell): Define.
90996         (__spawni): Change last parameter to be flag.  Test
90997         SPAWN_XFLAGS_USE_PATH flag to use path or not.
90998         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
90999         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
91000         * posix/spawni.c: Likewise.
91001         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
91002         * posix/spawnp.c: Likewise.  Change normal version to use
91003         SPAWN_XFLAGS_USE_PATH.
91004         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
91005         SPAWN_XFLAGS_TRY_SHELL.
91007         [BZ #13150]
91008         * posix/glob.h: Remove gcc 1.x support.
91010         [BZ #13068]
91011         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
91013 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91015         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91016         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
91017         strrchr-sse2-bsf
91018         * sysdeps/i386/i686/multiarch/strchr.S: New file.
91019         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
91020         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
91021         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
91022         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
91023         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
91025 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91027         * sysdeps/x86_64/wcscmp.S: New file.
91029         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
91030         wcscmp-c wcscmp-sse2
91031         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
91032         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
91033         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
91034         * wcsmbs/wcscmp.c: Allow renaming.
91036 2011-09-05  David S. Miller  <davem@davemloft.net>
91038         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
91039         stack slot, rather than the struct return pointer slot.
91040         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
91041         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
91042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
91043         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
91045 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
91047         * po/ja.po: Update from translation team.
91049         [BZ #13144]
91050         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
91051         kernel in 64-bit binaries.
91053 2011-09-01  David S. Miller  <davem@davemloft.net>
91055         * elf/elf.h (HWCAP_SPARC_*): Move to..
91056         * sysdeps/sparc/sysdep.h: this new file and add new values.
91057         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
91058         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
91059         _DL_HWCAP_COUNT to 24.
91060         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
91061         entries.
91062         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
91063         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
91064         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
91065         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
91066         instead of magic constants.
91067         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
91069 2011-08-31  David S. Miller  <davem@davemloft.net>
91071         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
91072         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
91073         Reimplement to do errno handling inline.
91074         (SYSCALL_ERROR_HANDLER): New macro.
91075         (__SYSCALL_STRING): Do not do errno handling in asm.
91076         (__CLONE_SYSCALL_STRING): Delete.
91077         (__INTERNAL_SYSCALL_STRING): Delete.
91078         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
91079         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
91080         (PSEUDO): Reimplement to do errno handling inline.
91081         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
91082         (SYSCALL_ERROR_HANDLER): New macro.
91083         (__SYSCALL_STRING): Do not do errno handling in asm.
91084         (__CLONE_SYSCALL_STRING): Delete.
91085         (__INTERNAL_SYSCALL_STRING): Delete.
91086         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
91087         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
91088         i386.
91089         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
91090         (inline_syscall*): Add 'err' argument.
91091         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
91092         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
91093         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
91094         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
91096         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
91097         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
91099 2011-08-30  Andreas Schwab  <schwab@redhat.com>
91101         * elf/rtld.c (dl_main): Relocate objects in dependency order.
91103 2011-08-29  Jiri Olsa <jolsa@redhat.com>
91105         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
91106         directive.
91108 2011-08-24  David S. Miller  <davem@davemloft.net>
91110         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
91112 2011-08-24  Andreas Schwab  <schwab@redhat.com>
91114         * elf/Makefile: Add rules to build and run unload8 test.
91115         * elf/unload8.c: New file.
91116         * elf/unload8mod1.c: New file.
91117         * elf/unload8mod1x.c: New file.
91118         * elf/unload8mod2.c: New file.
91119         * elf/unload8mod3.c: New file.
91121         * elf/dl-close.c (_dl_close_worker): Reset private search list if
91122         it wasn't used.
91124 2011-08-23  David S. Miller  <davem@davemloft.net>
91126         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
91127         subtract stack bias.
91128         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
91129         %sp not %fp in calculations.
91130         (_JMPBUF_UNWINDS_ADJ): Likewise.
91132         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
91133         (aio_suspend): Call it to force an exception region around the
91134         AIO_MISC_WAIT() invocation.
91136 2011-08-23  Andreas Schwab  <schwab@redhat.com>
91138         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
91139         backslash.
91141 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
91143         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
91144         protection macro.
91145         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
91146         and <dl-machine.h>.
91147         (Elf64_FuncDesc): Remove.
91149 2011-08-22  David S. Miller  <davem@davemloft.net>
91151         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
91152         sigaltstack check, add missing cfi directives.
91153         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
91154         missing cfi directives, and sigaltstack handling.
91156 2011-08-16  Andreas Schwab  <schwab@redhat.com>
91158         [BZ #11724]
91159         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
91160         object is seen twice.
91161         * elf/dl-fini.c (_dl_sort_fini): Likewise.
91163         * elf/Makefile (distribute): Add tst-initorder2.c.
91164         (tests): Add tst-initorder2.
91165         (modules-names): Add tst-initorder2a tst-initorder2b
91166         tst-initorder2c tst-initorder2d.  Add rules to build them.
91167         ($(objpfx)tst-initorder2.out): New rule.
91168         * elf/tst-initorder2.c: New file.
91169         * elf/tst-initorder2.exp: New file.
91171 2011-08-22  Andreas Schwab  <schwab@redhat.com>
91173         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
91175         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
91176         dependencies back to end of function.
91178         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
91179         $(elfobjdir)/ld.so.
91181 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
91183         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
91184         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
91185         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
91186         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
91187         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
91188         of __vdso_gettimeofday.
91189         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
91190         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
91191         attribute_hidden.
91192         (_libc_vdso_platform_setup): Remove initialization of
91193         __vdso_gettimeofday and __vdso_time.
91195 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
91197         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
91198         and fgetc_unlocked.
91199         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
91200         getc_unlocked.
91202         * elf/dl-open.c (add_to_global): Report additions to the global scope
91203         for LD_DEBUG=scopes.
91204         (dl_open_worker): Also print scope of newly loaded dependencies.
91205         (_dl_show_scope): Indicate if there is no scope.
91207         [BZ #13114]
91208         * stdio-common/Makefile (tests): Add bug24.
91209         * stdio-common/bug24.c: New file.
91211 2011-08-19  Andreas Jaeger  <aj@suse.de>
91213         [BZ #13114]
91214         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
91215         non-existant file when using close-on-exec mode.
91217 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
91219         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
91220         the very first instruction.
91222         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
91223         the CFI state in the end.
91224         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
91225         inclusion of dl-trampoline.h.
91226         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
91228 2011-08-19  Andreas Schwab  <schwab@redhat.com>
91230         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
91231         expectations for long double.
91233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
91234         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
91236 2011-08-14  David S. Miller  <davem@davemloft.net>
91238         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
91239         artificual limit depends upon the system page size.
91241 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
91243         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
91244         * resolv/Makefile: Define CFLAGS-libresolv.
91246 2011-08-17  Andreas Schwab  <schwab@redhat.com>
91248         * nss/makedb.c (compute_tables): Make variables used in nested
91249         function static.
91251 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
91253         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
91254         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
91255         if buffer was too small.
91257         * elf/pldd.c (main): Attach to all threads in the process.
91258         Rewrite /proc handling to use *at functions.
91260 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
91262         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
91263         specifies first scope to show.
91264         (dl_open_worker): Update callers.  Move printing scope of new
91265         object to before the relocation.
91266         * elf/rtld.c (dl_main): Update _dl_show_scope call.
91267         * sysdeps/generic/ldsodefs.h: Update declaration.
91269         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
91270         string for the scope number.
91272 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
91274         * nscd/servicescache.c (cache_addserv): Make sure written is always
91275         initialized.
91277 2011-08-14  Roland McGrath  <roland@hack.frob.com>
91279         * sysdeps/i386/i486/bits/atomic.h
91280         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
91281         statement expression, so as to suppress "set but not used" warning.
91282         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
91284         * string/strncat.c (STRNCAT): Use prototype definition.
91286         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
91287         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
91288         -Iprograms here.
91289         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
91290         (localedef-modules): Add localedef.
91291         (locale-modules): Add locale.
91293         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
91294         * elf/rtld.c (dl_main): Invert order of assignment in last change,
91295         to avoid a warning.
91297 2011-08-14  David S. Miller  <davem@davemloft.net>
91299         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
91300         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
91302 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
91304         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
91305         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
91306         * elf/rtld.c (dl_main): Set l_name of vDSO.
91307         Call _dl_show_scope when DL_DEBUG_SCOPES.
91308         (process_dl_debug): Recognize scopes flag and also set it for all.
91309         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
91310         Declare _dl_show_scope.
91312         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
91313         (do_dlopen): Pass caller_dlopen to dl_open.
91314         (__libc_dlopen_mode): Initialize caller_dlopen.
91316         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
91317         of libc.  Make tolower call locale-independent.  Optimize a bit by
91318         using isdigit instead of isalnum.
91319         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
91321 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
91323         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
91324         was a dependency or dynamically loaded.
91326 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
91328         * intl/l10nflist.c: Allow architecture-specific pop function.
91329         * sysdeps/x86_64/l10nflist.c: New file.
91331         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
91332         classification.
91334 2011-08-10  Andreas Schwab  <schwab@redhat.com>
91336         * include/dirent.h: Add libc_hidden_proto for scandirat and
91337         scandirat64.  Don't declare __scandirat64.
91338         * dirent/scandirat.c: Add libc_hidden_def.
91339         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
91340         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
91342 2011-08-10  David S. Miller  <davem@davemloft.net>
91344         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
91345         enum.
91346         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91347         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91348         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91350 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
91352         * Versions.def [libc]: Add GLIBC_2.15.
91353         * dirent/Makefile (routines): Add scandirat and scandirat64.
91354         * dirent/Versions [libc]: Export scandirat and scandirat64 for
91355         GLIBC_2.15.
91356         * dirent/dirent.h: Declare scandirat and scandirat64.
91357         * dirent/scandirat.c: New file.
91358         * dirent/scandirat64.c: New file.
91359         * sysdeps/wordsize-64/scandirat.c: New file.
91360         * sysdeps/wordsize-64/scandirat64.c: New file.
91361         * dirent/opendir.c: Define opendirat.
91362         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
91363         using scandirat.
91364         * dirent/scandir64.c: Adjust for scandir.c change.
91365         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
91366         __scandirat64, and __scandir_cancel_handler.
91367         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
91368         additional parameter and use openat instead of open (outside of ld.so).
91369         Add new __opendir as wrapper around __opendirat.
91370         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
91371         here without requiring old scandirat implementation.
91373 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
91375         * dirent/scandir.c (cancel_handler): Renamed to
91376         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
91377         defined.  Adjust users.
91378         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
91379         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
91381 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
91383         * string/test-string.h (IMPL): Use __STRING to expand name and then
91384         stringify it.
91386         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
91387         of cleanups.
91389 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91391         * string/Makefile: Update.
91392         (strop-tests): Append strncat.
91393         * string/test-wcscmp.c: New file.
91394         New comprehensive test for wcscmp.
91395         * string/test-strcmp.c: Update.
91396         (WIDE): New define.
91398 2011-07-22  Andreas Schwab  <schwab@redhat.com>
91400         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
91401         line.
91403 2011-07-26  Andreas Schwab  <schwab@redhat.com>
91405         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91406         encoding to ACE if AI_IDN.
91408 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
91410         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
91411         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
91413 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91415         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
91416         Fix overflow bug in strncat.
91417         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
91419         * string/test-strncat.c: Update.
91420         Add new tests for checking overflow bugs.
91422 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91424         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91425         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
91426         * sysdeps/i386/i686/multiarch/strcat.S: New file.
91427         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
91428         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
91429         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
91430         * sysdeps/i386/i686/multiarch/strncat.S: New file.
91431         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
91432         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
91434         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
91435         (USE_AS_STRCAT): Define.
91436         Add strcat and strncat support.
91437         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
91439 2011-07-25  Andreas Schwab  <schwab@redhat.com>
91441         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
91442         __n bigger than INT_MAX+1.
91443         (__strncmp_g): Likewise.
91445 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
91447         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
91448         * libio/stido.h: Likewise.
91450         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
91451         (AF_NFC): Define.
91452         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
91453         (AF_NFC): Define.
91455         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
91456         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91457         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91458         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
91459         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91461         [BZ #13021]
91462         * scripts/test-installation.pl: Don't expect libnss_test1 to be
91463         installed.
91465         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
91466         typo.
91467         (_dl_x86_64_save_sse): Likewise.
91469 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
91471         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
91472         OSXSAVE.
91473         (_dl_x86_64_save_sse): Likewise.
91475         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
91477         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
91479 2011-07-21  Andreas Schwab  <schwab@redhat.com>
91481         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
91482         change.
91483         (_dl_x86_64_save_sse): Use correct AVX check.
91485 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91487         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
91488         bug in strncpy/strncat.
91489         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
91491 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
91493         * string/tester.c (test_strcat): Add tests for different alignments
91494         of source and destination.
91495         (test_strncat): Likewise.
91497 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
91499         [BZ #12852]
91500         * posix/glob.c (glob): Check passed in values before using them in
91501         expressions to avoid some overflows.
91502         (glob_in_dir): Likewise.
91504         [BZ #13007]
91505         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
91506         check for AVX enablement so that we don't crash with old kernels and
91507         new hardware.
91508         * elf/tst-audit4.c: Add same checks here.
91509         * elf/tst-audit6.c: Likewise.
91511         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
91513 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
91515         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
91517 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
91519         * po/cs.po: Update from translation team.
91520         * po/bg.po: Likewise.
91522 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
91524         * misc/sys/cdefs.h: Add support for const attribute.
91525         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
91526         to gnu_dev_{major,minor,makedev} functions.
91528 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
91530         * intl/dcigettext.c (get_output_charset): Add missing bracket.
91532 2011-07-20  Andreas Schwab  <schwab@redhat.com>
91534         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
91535         strlen results.
91537 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91539         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
91540         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
91541         register in order to avoid conflicts with the soft frame pointer
91542         being held in r11 when necessary.
91543         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
91544         (INTERNAL_VSYSCALL_NCS): Likewise.
91546 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
91548         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
91549         * elf/dl-fini.c (_dl_fini): Adjust caller.
91550         * elf/dl-close.c (_dl_close_worker): Likewise.
91551         * sysdeps/generic/ldsodefs.h: Adjust declaration.
91553 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
91555         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
91556         "aux_cache->nlibs < 0".
91558         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
91559         in the reload-count case.
91561 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91564         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
91565         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
91566         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
91567         * sysdeps/x86_64/multiarch/strcat.S: New file.
91568         * sysdeps/x86_64/multiarch/strncat.S: New file.
91569         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
91570         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
91571         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
91572         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
91573         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
91574         (USE_AS_STRCAT): Define.
91575         Add strcat and strncat support.
91576         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
91577         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
91578         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
91579         * string/strncat.c: Update.
91580         (USE_AS_STRNCAT): Define.
91581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91582         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
91583         and i7.
91584         * sysdeps/x86_64/multiarch/init-arch.h
91585         (bit_Prefer_PMINUB_for_stringop): New.
91586         (index_Prefer_PMINUB_for_stringop): Likewise.
91587         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
91588         bit_Prefer_PMINUB_for_stringop.
91590 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
91592         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
91593         buffer64.
91594         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
91595         of casting of buffer.
91596         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
91597         buffer32 and buffer64.
91598         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
91599         writes instead of casting of buffer.
91600         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
91601         buffer32.
91602         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
91603         casting of buffer.
91605 2011-07-19  Andreas Schwab  <schwab@redhat.com>
91607         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
91609 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
91611         * nscd/nscd.c (termination_handler): Don't do anything for a database
91612         if it has not yet been initialized.
91614 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
91616         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91618 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
91620         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91622 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
91624         * po/nl.po: Update from translation team.
91625         * po/sv.po: Likewise.
91627 2011-07-16  Roland McGrath  <roland@hack.frob.com>
91629         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
91630         now disallowed by GCC.
91632         * configure.in (use-default-link): Default to yes if a test -shared
91633         link meets our qualifications.
91634         * configure: Regenerated.
91636         * config.make.in (output-format): New variable.
91637         * configure.in: Check for ld --print-output-format support.
91638         * configure: Regenerated.
91639         * Makerules ($(common-objpfx)format.lds)
91640         [$(output-format) != unknown]: Just use $(output-format),
91641         instead of the linker-script munging.
91643 2011-07-14  Roland McGrath  <roland@hack.frob.com>
91645         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
91646         of $(common-objpfx)shlib.lds.
91647         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
91649         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
91650         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
91652         * configure.in (-z relro check): Adjust test code to add a large
91653         writable data section after it.
91654         * configure: Regenerated.
91656 2011-07-11  Roland McGrath  <roland@hack.frob.com>
91658         * configure.in (-z relro check): Fix test code to make the variable
91659         truly const.
91660         * configure: Regenerated.
91662 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
91664         * nscd/nscd.h (struct traced_file): Define.
91665         (struct database_dyn): Remove inotify_descr, reset_res, and filename
91666         elements.  Add traced_files.
91667         (inotify_fd): Declare.
91668         (register_traced_file): Declare.
91669         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
91670         (inotify_fd): Export.
91671         (resolv_conf_descr): Remove.
91672         (nscd_init): Move inotify descriptor creation to main.
91673         Don't register files for notification here.
91674         (register_traced_file): New function.
91675         (invalidate_cache): Don't use reset_res to determine whether to call
91676         res_init, go through the list of registered files.
91677         (main_loop_poll): The inotify descriptors are now stored in the
91678         structures for the traced files.
91679         (main_loop_epoll): Likewise.
91680         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
91681         to __nss_disable_nscd.
91682         * nscd/cache.c (prune_cache): There is no single inotify descriptor
91683         for a database anymore.  Check the records for all the registered
91684         files instead.
91685         * nss/Makefile (libnss_files-routines): Add files-init.
91686         (libnss_db-routines): Add db-init.
91687         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
91688         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
91689         * nss/nss_db/db-init.c: New file.
91690         * nss/nss_files/files-init.c: New file.
91691         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
91692         __nss_lookup_function.
91693         (__nss_lookup_function): Call nss_load_library.
91694         (nss_load_all_libraries): New function.
91695         (__nss_disable_nscd): Take parameter with callback function for files
91696         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
91697         used for the cached services.
91698         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
91699         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
91700         options for features to all the files in nscd.
91702         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
91704 2011-07-10  Roland McGrath  <roland@hack.frob.com>
91706         * csu/elf-init.c (__libc_csu_init): Comment typo.
91708 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
91710         * po/pl.po: Update from translation team.
91711         * po/ja.po: Likewise.
91712         * po/ru.po: Likewise.
91713         * po/ko.po: Likewise.
91714         * po/fr.po: Likewise.
91716 2011-07-09  Roland McGrath  <roland@hack.frob.com>
91718         * configure.in (.ctors/.dtors header and trailer check):
91719         Use an empirical test on a built program.
91720         * configure: Regenerated.
91722         * configure.in (-z relro check): Use an empirical test on a built DSO.
91723         Detect, but do not require, on ia64.
91724         * configure: Regenerated.
91726         * configure.in (READELF): Find it with AC_CHECK_TOOL.
91727         Update tests that use readelf to use $READELF instead.
91728         * configure: Regenerated.
91730 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
91732         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
91733         if the result is not used.
91735 2011-07-05  Andreas Jaeger  <aj@suse.de>
91737         [BZ #9696]
91738         * stdlib/tst-strtod.c: Add testcase.
91740 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
91742         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
91743         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
91744         The latter has a higher limit.  Take additional parameter to pass to
91745         the new function.
91746         (__pathconf): Pass file to __statfs_link_max.
91747         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
91748         __statfs_link_max.
91749         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
91750         __statfs_link_max.
91752         [BZ #12868]
91753         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
91754         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91755         Handle Lustre.
91756         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
91757         (__statfs_filesize_max): Likewise.
91758         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
91760 2011-07-05  Andreas Jaeger  <aj@suse.de>
91762         * resolv/res_comp.c (dn_skipname): Remove unused variable.
91764 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
91766         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
91767         `status' variable.
91768         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
91769         Likewise.
91771 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
91773         * Makefile (strop-tests): Add strncat.
91774         * string/test-strncat.c: New file.
91776 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
91778         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
91780 2011-06-21  Andreas Jaeger  <aj@suse.de>
91782         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
91783         Copy rule from iconvdata/Makefile.
91785 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91787         [BZ #12922]
91788         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
91789         but no long options are defined, just return 'W'.
91791 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
91793         [BZ #9696]
91794         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
91796 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91798         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
91799         netgroups to read.
91800         (innetgr): Likewise.
91802 2011-07-05  Roland McGrath  <roland@hack.frob.com>
91804         * config.make.in (install_root): Default to $(DESTDIR).
91806 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
91808         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
91810 2011-07-02  Roland McGrath  <roland@hack.frob.com>
91812         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
91814         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
91815         containing directory rather than embedding absolute directory names.
91817         * scripts/check-local-headers.sh: Rewritten using awk.
91818         Match by word, not by line.  Print error messages for matches.
91819         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
91821         * Makerules [shlib-lds-flags empty]:
91822         ($(common-objpfx)libc_pic.opts): New target.
91823         ($(common-objpfx)libc_pic.os.clean): New target.
91824         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
91826         * config.make.in (OBJCOPY): New variable.
91827         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
91828         * configure: Regenerated.
91830         * config.make.in (use-default-link): New variable.
91831         * configure.in (use_default_link): Grok --with-default-link to set it.
91832         * configure: Regenerated.
91833         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
91834         (shlib-lds, shlib-lds-flags): Define to empty.
91836         * Makerules (shlib-lds): New variable.
91837         (shlib-lds-flags): New variable.
91838         (build-shlib, build-moduile, build-module-asneeded): Use it.
91839         ($(common-objpfx)libc.so): Use $(shlib-lds).
91840         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
91841         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
91843         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
91844         DT_FLAGS/DT_FLAGS_1 with zero flags.
91846         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
91847         linker script munging.
91849 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
91851         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
91852         as 128-bit value.
91853         * crypt/sha512.c (sha512_process_block): Perform total addition using
91854         128-bit if possible.
91855         (__sha512_finish_ctx): Likewise.
91856         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
91857         as 64-bit value.
91858         * crypt/sha256.c (SWAP64): Define.
91859         (sha256_process_block): Perform total addition using 64-bit if
91860         possible.
91861         (__sha256_finish_ctx): Likewise.
91863 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
91865         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
91866         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91867         * nscd/hstcache.c (cache_addhst): Likewise.
91868         * nscd/grpcache.c (cache_addgr): Likewise.
91869         * nscd/aicache.c (addhstaiX): Likewise.
91870         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
91872 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
91874         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
91875         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91876         * nscd/hstcache.c (cache_addhst): Likewise.
91877         * nscd/grpcache.c (cache_addgr): Likewise.
91878         * nscd/aicache.c (addhstaiX): Likewise.
91880 2011-07-01  Andreas Schwab  <schwab@redhat.com>
91882         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
91883         domain only when needed.
91885 2011-06-30  Andreas Schwab  <schwab@redhat.com>
91887         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
91888         is always restored.
91890 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
91892         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
91893         are re-adding the entry.
91894         * nscd/servicescache.c (cache_addserv): Likewise.
91896 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
91898         * sysdeps/generic/dl-irel.h: fix protection against multiple
91899         inclusions.
91900         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
91902 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
91904         [BZ #12935]
91905         * malloc/memusage.sh: Fix quoting in message.
91906         * debug/xtrace.sh: Likewise.
91908         * configure.in: Remove support for --experimental-malloc option, make
91909         it the default.
91910         * config.make.in: Likewise.
91911         * malloc/Makefile: Likewise.
91913 2011-06-27  Andreas Schwab  <schwab@redhat.com>
91915         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
91916         two-byte characters.
91918 2011-06-27  Roland McGrath  <roland@hack.frob.com>
91920         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
91921         AC_CACHE_CHECK invocation.
91922         * configure: Regenerated.
91924         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
91926 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
91928         [BZ #12350]
91929         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
91930         bit from old_res_options.
91932         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
91934         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
91935         value type for setfct.
91937 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
91939         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91940         __gettimeofday instead of gettimeofday.
91942 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
91944         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
91946 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
91948         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
91950         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
91951         info.
91953 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91955         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91956         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91957         strcpy-sse2-unaligned strncpy-sse2-unaligned
91958         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
91959         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
91960         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
91961         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
91962         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
91963         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
91964         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
91965         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
91966         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
91967         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
91968         (STRCPY): Support SSE2 and SSSE3 versions.
91970 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
91972         [BZ #12874]
91973         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
91974         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
91975         kernels which artificially limit size of requests.
91977 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91979         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91980         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91981         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
91982         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
91983         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
91984         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
91985         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
91986         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
91987         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
91988         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
91989         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
91990         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
91991         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
91992         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
91993         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
91994         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91995         Enable unaligned load optimization for Intel Core i3, i5 and i7
91996         processors.
91997         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
91998         Define.
91999         (index_Fast_Unaligned_Load): Define.
92000         (HAS_FAST_UNALIGNED_LOAD): Define.
92002 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
92004         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
92006 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
92008         [BZ #12907]
92009         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
92010         until it is clear that the information is realy needed.
92011         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
92013 2011-06-22  Andreas Schwab  <schwab@redhat.com>
92015         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
92017 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
92019         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
92020         /sys/devices/system/cpu/online if it is usable.
92022         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
92023         reading the information from the /proc filesystem to once a second.
92025 2011-06-21  Andreas Jaeger  <aj@suse.de>
92027         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
92028         NULL after inclusion of kernel headers.
92030 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
92032         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
92033         calls to internal_setent.
92035         [BZ #12885]
92036         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
92037         addresses using gethostbyname4_r ignore IPv4 addresses.
92039         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
92040         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
92042         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
92044 2011-06-20  David S. Miller  <davem@davemloft.net>
92046         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
92047         inclusions.
92048         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
92050         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
92051         (elf_irel): Use it.
92052         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
92053         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
92054         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
92055         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
92056         * sysdeps/x86_64/dl-irel.h: Likewise.
92058         * elf/dl-runtime.c: Use elf_ifunc_invoke.
92059         * elf/dl-sym.c: Likewise.
92061 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
92063         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
92064         need to dereference resplen2.
92066 2011-06-14  Andreas Schwab  <schwab@redhat.com>
92068         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
92070 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
92072         * Makeconfig: Define vardbdir and inst_vardbdir.
92073         * nss/Makefile: Add rules to install db-Makefile.
92075         * nss/nss_db/db-XXX.c: Cleanup.
92077         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
92078         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
92079         GLIBC_PRIVATE.
92080         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
92081         * nss/makedb.c: Implement -g option to specify that value strings
92082         are generated and should not be added to table iterated over for
92083         get*ent calls.
92084         * nss/nss_db/db-initgroups.c: New file.
92086         * nss/getent.c: Add support for initgroups lookups through getgrouplist
92087         interface.
92089         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
92090         (internal_getgrouplist): Adjust to name change.
92091         Update use_initgroups_entry if this is not the first call.
92092         * nss/databases.def: Add initgroups entry.
92094         * nss/makedb.c (compute_tables): Check result of multiple hash table
92095         sizes to minimize maximum chain length.
92097 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
92099         * Versions.def: Add entry for libnss_db.
92100         * shlib-versions: Likewise.
92101         * nss/Makefile: Add rules to build libnss_db.
92102         * nss/Versions: Add libnss_db information.  Organize libnss_files
92103         entries better.
92104         * nss/db-Makefile: Add gshadow support.  Change rules for the new
92105         makedb progra.  Some minor improvements to generate smaller files.
92106         * nss/nss_db/nss_db.h: Move NSS database header data structures to
92107         here from...
92108         * nss/makedb.c: ...here.
92109         Improve database format to be smaller and require less memory at
92110         runtime.
92111         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
92112         db anymore.
92113         * nss/nss_db/db-netgrp.c: Likewise.
92114         * nss/nss_db/db-open.c: Likewise.
92115         * nss/nss_files/flies-XXX.x: Adjust comments.
92116         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
92117         * nss/nss_files/files-grp.c: Likewise.
92118         * nss/nss_files/files-hosts.c: Likewise.
92119         * nss/nss_files/files-network.c: Likewise.
92120         * nss/nss_files/files-proto.c: Likewise.
92121         * nss/nss_files/files-pwd.c: Likewise.
92122         * nss/nss_files/files-rpc.c: Likewise.
92123         * nss/nss_files/files-service.c: Likewise.
92124         * nss/nss_files/files-sgrp.c: Likewise.
92125         * nss/nss_files/files-spwd.c: Likewise.
92126         * nss/nss_db/db-alias.c: Removed.
92127         * nss/nss_db/dummy-db.h: Removed.
92129 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
92131         * nss/makedb.c: Rewritten to not use database library.
92132         * nss/Makefile: Update to build new makedb program.
92134 2011-06-14  Andreas Jaeger  <aj@suse.de>
92136         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
92137         memset declaration.
92139 2011-06-10  Andreas Schwab  <schwab@redhat.com>
92141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
92142         tmpbuf.
92144 2011-06-10  Roland McGrath  <roland@hack.frob.com>
92146         * Makerules (shlib.lds): Fail if the linker script comes out empty.
92147         * elf/Makefile ($(objpfx)ld.so): Likewise.
92149         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
92150         Don't list ld.so twice in dependencies.
92152         * posix/bug-regex31.c: Include <stdlib.h>.
92154         * nscd/hstcache.c (cache_addhst): Remove unused variable.
92156         * nis/nss_compat/compat-spwd.c
92157         (getspent_next_nss_netgr): Remove unused variable.
92158         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
92160         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
92161         nonmembers" output to use the right array.
92163         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
92165         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
92167         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
92168         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
92169         * catgets/gencat.c (read_input_file): Likewise.
92170         * locale/programs/locarchive.c (enlarge_archive): Likewise.
92172         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
92173         variable definition inside #if's controlling its use.
92175         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
92177         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
92179         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
92181         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
92182         unreachable code.
92184         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
92186         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
92187         * configure: Regenerated.
92189         * Makerules: Revert last change.
92190         * elf/Makefile: Likewise.
92192 2011-06-09  Roland McGrath  <roland@hack.frob.com>
92194         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
92195         * elf/Makefile ($(objpfx)librtld.os): Likewise.
92196         (reloc-link): Likewise.
92198 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
92200         * elf/Makefile: Add rules to build pldd.
92201         * elf/pldd.c: New file.
92202         * elf/pldd-xx.c: New file.
92204 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
92206         * version.h: Update for 2.15 development version.
92208 2011-06-07  David S. Miller  <davem@davemloft.net>
92210         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
92211         ifuncs.
92212         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
92213         elf_machine_lazy_rel): Likewise.
92214         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
92215         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
92216         elf_machine_lazy_rel): Likewise.
92217         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
92218         dl_hwcap via passed in argument.
92219         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
92220         Likewise.
92222 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92224         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
92226 2011-06-06  Roland McGrath  <roland@hack.frob.com>
92228         [BZ #12849]
92229         * manual/fdl-1.1.texi: New file, verbatim from:
92230         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
92231         * manual/lgpl-2.1.texi: New file, verbatim from:
92232         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
92233         * manual/Makefile (licenses): New variable, list those new file names.
92234         (texis): Use it.
92235         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
92237         * manual/fdl.texi: File removed.
92238         * manual/lesser.texi: File removed.
92239         * manual/libc.texinfo (Copying, Documentation License):
92240         Use new @include file names, put @appendix directive before @include.
92242 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
92244         [BZ #12841]
92245         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
92246         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
92247         (mq_open): Add __NTH.
92249 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
92251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92252         Assume Intel Core i3/i5/i7 processor if AVX is available.
92254 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
92256         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
92257         typo.
92259 2011-05-31  Andreas Schwab  <schwab@redhat.com>
92261         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
92262         memory.  Use alloca_account.  Fix memory leak when retrying.
92264 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
92266         * version.h (RELEASE): Bump for 2.14 release.
92267         * include/features.h (__GLIBC_MINOR__): Bump to 14.
92269         * config.make.in (RANLIB): Remove entry.
92271 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
92273         * po/Makefile (po-sed-cmd): Add ksh to extensions.
92274         (libc.pot): Work around missing support for .ksh extension in xgettext.
92276         [BZ #12684]
92277         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
92278         if both request failed.
92279         (send_dg): In case of server errors clear resplen or *resplen2.
92281         [BZ #12454]
92282         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
92283         when there are multiple maps.
92284         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
92285         (_dl_fini): Remove test here.
92287         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
92289 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
92291         [BZ #12350]
92292         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
92293         bit from old_res_options.
92294         (gaih_inet): Likewise.
92296         [BZ #11099]
92297         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
92298         as signed.
92300         * resolv/res_init.c (res_setoptions): Make the code more compact.
92302         [BZ #11558]
92303         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
92304         set RES_USEVC.
92306         [BZ #11634]
92307         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
92309         * malloc/malloc.h: Mark malloc hook variables as deprecated.
92311         [BZ #11781]
92312         * malloc/malloc.h: Declare malloc hook variables as volatile.
92314         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
92315         in last patch.
92317         [BZ #11799]
92318         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
92319         raise in the comment.
92320         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
92321         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
92322         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
92324 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
92326         [BZ #12811]
92327         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
92328         grow the buffers more if it already has to be sufficient.
92329         (build_wcs_upper_buffer): Likewise.
92330         * posix/regexec.c (check_matching): Likewise.
92331         (clean_state_log_if_needed): Likewise.
92332         (extend_buffers): Don't enlarge buffers beyond size of the input
92333         buffer.
92334         Patches mostly by Emil Wojak <emil@wojak.eu>.
92335         * posix/bug-regex32.c: New file.
92336         * posix/Makefile (tests): Add bug-regex32.
92338         * locale/findlocale.c (_nl_find_locale): Return right away if
92339         _nl_explode_name failed.
92340         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
92342         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
92344         * debug/xtrace.sh: Unify messages.
92345         * malloc/memusage.sh: Likewise.
92347         [BZ #12813]
92348         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
92349         time symbol from vDSO.  Substitute with vsyscall if not available.
92350         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
92351         __vdso_time.
92353         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
92354         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
92355         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
92356         Add sendmmsg and internal_sendmmsg.
92357         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
92358         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
92359         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
92361         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
92362         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
92363         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
92365 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
92367         [BZ #12813]
92368         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
92369         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
92370         available.
92371         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
92372         __vdso_getcpu.
92374         [BZ #12814]
92375         * iconvdata/Makefile (tests): Add bug-iconv9.
92376         * iconvdata/bug-iconv9.c: New file.
92378 2011-05-27  Andreas Schwab  <schwab@redhat.com>
92380         [BZ #12814]
92381         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
92383 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
92385         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92386         (struct user_regs_struct): Change intcs field back to cs.
92388 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
92390         * po/ja.po: Update from translation team.
92392 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
92394         [BZ #12795]
92395         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
92396         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
92398 2011-05-20  Andreas Schwab  <schwab@redhat.com>
92400         * stdlib/longlong.h: Update from GCC.
92402 2011-05-23  Andreas Schwab  <schwab@redhat.com>
92404         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
92405         parameter name.
92406         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
92407         Add parameter name.
92408         (__sysconf): Pass it down.
92410 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
92412         [BZ #12671]
92413         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
92414         some situations.
92415         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
92416         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
92417         add in in __libc_use_alloca calls.  Adjust callers.
92418         (glob): Use malloc in some situations.
92420         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
92421         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
92422         pltexit.
92424 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
92426         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
92427         and CLOCK_BOOTTIME_ALARM.
92429         [BZ #12782]
92430         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
92431         is returned.
92433         * string/_strerror.c (__strerror_r): Print negative errors as signed
92434         numbers.
92436         [BZ #12777]
92437         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
92438         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
92439         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
92441         * configure.in: Fix typo in redirection and correct removal of test
92442         files in two cases.
92444         [BZ #12788]
92445         * locale/setlocale.c (new_composite_name): Fix test to check for
92446         identical name of all categories.
92448         [BZ #12792]
92449         * libio/filedoalloc.c (local_isatty): New function.
92450         (_IO_file_doallocate): Use local_isatty.
92451         * stdio-common/perror.c (perror): In case a new stream is used
92452         forward the stream error.
92453         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
92454         error flag.
92456 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
92458         [BZ #11884]
92459         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
92460         alloca.
92461         * include/alloca.h (extend_alloca_account): Define.
92463         [BZ #11857]
92464         * posix/regex.h: Fix comments with documentation of user-accessible
92465         fields after compilation and describe correct free'ing of pattern
92466         after re_compile_pattern.
92467         Patch by Reuben Thomas <rrt@sc3d.org>.
92469 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
92471         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
92472         and -mno-altivec to prevent the compiler from using Altivec and/or
92473         VSX instructions when the corresponding registers are not available.
92475 2011-05-19  Andreas Schwab  <schwab@redhat.com>
92477         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
92479 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
92481         * libio/freopen.c (freopen): Use __dup2, not dup2.
92482         * libio/freopen64.c (freopen64): Likewise.
92484 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
92486         [BZ #12775]
92487         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
92488         * math/Makefile (tests): Add test-powl.
92489         (CFLAGS-test-powl.c): Define.
92490         * math/test-powl.c: New file.
92492 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
92494         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
92496 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
92498         [BZ #11837]
92499         * iconvdata/gb18030.c: Update to GB18020-2005.
92501 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
92503         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
92504         RE_SYNTAX_POSIX_AWK): Update to match recent development.
92505         Patch by Aharon Robbins <arnold@skeeve.com>.
92507         [BZ #11892]
92508         * stdlib/putenv.c (putenv): Don't always create copy of the variable
92509         on the stack.
92511         [BZ #11895]
92512         * misc/pselect.c (__pselect): Handle timeout value errors hidden
92513         through underflows.
92515         [BZ #12766]
92516         * misc/error.c (error_at_line): Ensure file_name and old_file_name
92517         point to strings before performing equality test for error_one_per_line
92518         mode.
92520         [BZ #11697]
92521         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
92523         [BZ #11820]
92524         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92525         (struct user_fpregs_struct): Avoid __uint*_t types.
92527         [BZ #6420]
92528         * malloc/mtrace.c (tr_where): Add additional parameter to point to
92529         symbol info.  Use it instead of calling _dl_addr locally.
92530         (lock_and_info): New function.
92531         (tr_freehook): Call lock_and_info and pass symbol info as additional
92532         parameter to tr_where.
92533         (tr_mallochook): Likewise.
92534         (tr_reallochook): Likewise.
92535         (tr_memalignhook): Likewise.
92537         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
92538         used and couldn't be at all thread-safe.
92540 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
92542         * libio/freopen.c (freopen): Don't close old file descriptor
92543         before the new one is opened.  Instead dup the new file descriptor
92544         to the old one after the new stream is created.
92545         * libio/freopen64.c (freopen64): Likewise.
92546         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
92547         * libio/fileops.c (_IO_new_file_close_it): Handle new
92548         _IO_FLAGS2_NOCLOSE flag.
92549         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
92550         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
92551         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
92552         _IO_FLAGS2_NOCLOSE flag.
92553         * include/unistd.h: Add hidden_proto for dup3.
92554         Define __have_dup3.
92555         * io/dup3.c: Define hidden symbol.
92556         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
92558         [BZ #7101]
92559         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
92560         when an incomplete long option is used.
92561         * posix/tst-getopt_long1.c: New file.
92562         * posix/Makefile (tests): Add tst-getopt_long1.
92564         [BZ #10138]
92565         * scripts/config.guess: Update from autoconf-2.68.
92566         * scripts/config.sub: Likewise.
92568         [BZ #10157]
92569         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
92570         tests into ...
92571         (has_cpuclock): ...this.  New function.
92572         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
92573         macro here based on has_cpuclock code.
92575         [BZ #10149]
92576         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92577         First byte (not low byte) is now always NUL.
92578         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
92580         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92581         Use non-cancelable interfaces.
92583         [BZ #9809]
92584         * locale/iso-639.def: Add entry for Sorani.
92586         [BZ #11901]
92587         * include/stdlib.h: Move include protection to the right place.
92588         Define abort_msg_s.  Declare __abort_msg with it.
92589         * stdlib/abort.c (__abort_msg): Adjust type.
92590         * assert/assert.c (__assert_fail_base): New function.  Majority
92591         of code from __assert_fail.  Allocate memory for __abort_msg with
92592         mmap.
92593         (__assert_fail): Now call __assert_fail_base.
92594         * assert/assert-perr.c: Remove bulk of implementation.  Use
92595         __assert_fail_base.
92596         * include/assert.hL Declare __assert_fail_base.
92597         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
92598         mmap.
92599         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
92601 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
92603         [BZ #11952]
92604         [BZ #12453]
92605         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
92606         until all modules are registered in the DTV.
92607         * elf/Makefile: Add rules to build and run tst-tls19.
92608         * elf/tst-tls19.c: New file.
92609         * elf/tst-tls19mod1.c: New file.
92610         * elf/tst-tls19mod2.c: New file.
92611         * elf/tst-tls19mod3.c: New file.
92612         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
92614         [BZ #12083]
92615         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
92616         correctly.
92618         [BZ #12601]
92619         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
92620         two-byte sequence errors.
92621         * iconvdata/Makefile (tests): Add bug-iconv8.
92622         * iconvdata/bug-iconv8.c: New file.
92624         [BZ #12626]
92625         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
92626         buf2 definition.
92628         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
92630         [BZ #12432]
92631         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
92632         (dummy_getcfa): New function.
92633         (init): Get _Unwind_GetCFA address, use dummy if not found.
92634         (backtrace_helper): In recursion check, also check whether CFA changes.
92635         (__backtrace): Completely initialize arg.
92637         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
92638         storing incomplete byte sequence in state object.  Avoid testing for
92639         guaranteed too small input if we know there is enough data available.
92641 2011-05-11  Andreas Schwab  <schwab@redhat.com>
92643         * Makeconfig (+link-pie): Indent.
92644         * Rules (binaries-pie): Define if $(have-fpie) and
92645         $(build-shared).
92646         (binaries-shared): Also filter out $(binaries-pie).
92647         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
92648         * nscd/Makefile (others-pie): Add nscd.
92649         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
92650         ($(objpfx)nscd): Remove command override.
92651         * login/Makefile (others-pie): Add pt_chown.
92652         ($(objpfx)pt_chown): Remove command override.
92653         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
92654         remove command overrides.
92656 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
92658         * libio/tst_putwc.c: Fix error messages.
92660         [BZ #12724]
92661         * libio/fileops.c (_IO_new_file_close_it): Always flush when
92662         currently writing and seek to current position when not.
92663         * libio/Makefile (tests): Add bug-fclose1.
92664         * libio/bug-fclose1.c: New file.
92666 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
92668         [BZ #12511]
92669         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
92670         don't set DF_1_NODELETE here.
92671         (do_lookup_x): When entering new entry test for copy relocation
92672         and if necessary set DF_1_NODELETE flag.
92673         * elf/tst-unique4.cc: New file.
92674         * elf/tst-unique4.h: New file.
92675         * elf/tst-unique4lib.cc: New file.
92676         * elf/Makefile: Add rules to build and run tst-unique4.
92677         Patch by Piotr Bury <pbury@goahead.com>.
92679 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
92681         [BZ #12052]
92682         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
92684         [BZ #12625]
92685         * misc/mntent_r.c (addmntent): Flush the stream after the output
92687         [BZ #12393]
92688         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
92689         (is_trusted_path_normalize): Skip initial colon.  Append slash
92690         to empty buffer.  Duplicate is_trusted_path code but allow
92691         constructed patch to be prefix.
92692         (is_dst): Allow $ORIGIN followed by /.
92693         (_dl_dst_substitute): Correct clearing of check_for_trusted.
92694         Correct testing of result of is_trusted_path_normalize
92695         (decompose_rpath): Fix warning.
92697 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
92699         [BZ #11257]
92700         * grp/initgroups.c (internal_getgrouplist): When we found the service
92701         list through the initgroups entry in nsswitch.conf do not always
92702         continue on a successful lookup.  Don't always use the
92703         __nss_group_database value if it is set.
92704         * nss/nsswitch.conf (initgroups): Change action for successful db
92705         lookup to continue for compatibility.
92707 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
92709         [BZ #11532]
92710         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
92711         and CP774 modules.
92712         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
92713         and CP774 modules.
92714         * iconvdata/tst-tables.sh: Likewise.
92715         * iconvdata/cp770.c: New file.
92716         * iconvdata/cp771.c: New file.
92717         * iconvdata/cp772.c: New file.
92718         * iconvdata/cp773.c: New file.
92719         * iconvdata/cp774.c: New file.
92720         * iconvdata/testdata/CP770: New file.
92721         * iconvdata/testdata/CP770..UTF8: New file.
92722         * iconvdata/testdata/CP771: New file.
92723         * iconvdata/testdata/CP771..UTF8: New file.
92724         * iconvdata/testdata/CP772: New file.
92725         * iconvdata/testdata/CP772..UTF8: New file.
92726         * iconvdata/testdata/CP773: New file.
92727         * iconvdata/testdata/CP773..UTF8: New file.
92728         * iconvdata/testdata/CP774: New file.
92729         * iconvdata/testdata/CP774..UTF8: New file.
92731         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
92732         END CHARMAP line.
92733         * iconvdata/gen-8bit-gap.sh: Likewise.
92734         * iconvdata/gen-8bit.sh: Likewise.
92736         * locale/iso-639.def: Add ary entry.
92738         [BZ #11258]
92739         * locale/C-translit.h.in: Add U20A1 transliteration.
92741         [BZ #12178]
92742         * locale/iso-639.def: Add wae entry.
92743         Patch by Kevin Bortis <bortis@translate-wae.ch>.
92745         [BZ #12545]
92746         * locale/programs/localedef.c (construct_output_path): Use ssize_t
92747         for n.
92749         [BZ #12711]
92750         * locale/C-translit.h.in: Add entry for U20B9.
92751         Patch by pravin.d.s@gmail.com.
92753 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
92755         [BZ #12713]
92756         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
92757         ENAMETOOLONG use generic getcwd.
92758         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
92759         in rtld.  Use *stat64.
92760         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
92761         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
92762         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
92763         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
92764         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
92765         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
92766         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
92767         __fstatat64 macros.
92768         * include/dirent.h: Add libc_hidden_proto for rewinddir.
92769         * dirent/rewinddir.c: Add libc_hidden_def.
92770         * sysdeps/mach/hurd/rewinddir.c: Likewise.
92771         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
92773         * include/dirent.h (__alloc_dir): Add flags parameter.
92774         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
92775         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
92776         __alloc_dir.
92777         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
92778         from fdopendir if O_CLOEXEC is already set.
92780 2011-03-15  Alan Modra  <amodra@gmail.com>
92782         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
92783         l_tls_firstbyte_offset non-zero.  Save padding offset in
92784         l_tls_firstbyte_offset for later use.
92785         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
92786         freeing static tls block.
92788 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
92790         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
92791         where #ifdef was intended.  The intent is to prevent ARG_MAX from
92792         being defined by the kernel headers.
92794 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
92796         [BZ #12734]
92797         * resolv/resolv.h: Define RES_NOTLDQUERY.
92798         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
92799         no-tld-query and set RES_NOTLDQUERY.
92800         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
92801         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
92802         modern BIND to search name as TLD unless forbidden.
92804 2011-05-07  Petr Baudis  <pasky@suse.cz>
92805             Ulrich Drepper  <drepper@gmail.com>
92807         [BZ #12393]
92808         * elf/dl-load.c (fillin_rpath): Move trusted path check...
92809         (is_trusted_path): ...to here.
92810         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
92811         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
92812         using is_trusted_path_normalize() in setuid scripts.
92814 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
92816         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
92817         __BEGIN/__END_DECLS.
92819 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
92821         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
92822         NSS_STATUS_NOTFOUND if no record was found.
92824 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92826         * sunrpc/Makefile (headers): Add rpc/netdb.h.
92827         (headers-not-in-tirpc): Remove rpc/netdb.h
92828         * resolv/netdb.h: Revert last change.
92830 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
92832         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
92833         circular dependency between libgcc.a and libc.a.
92835 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92837         * resolv/netdb.h: Don't include <rpc/netdb.h>.
92838         * nis/Makefile: Don't install rpcsvc/*.
92839         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
92840         instead of <rpc/types.h>.
92841         (MAXHOSTNAMELEN): Define.
92843 2011-05-03  Andreas Schwab  <schwab@redhat.com>
92845         * elf/ldconfig.c (add_dir): Don't crash on empty path.
92847 2011-04-28  Maciej Babinski  <mbabinski@google.com>
92849         [BZ #12714]
92850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
92851         gethostbyname4_r when IPv6 results are possible.
92853 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
92855         [BZ #12723]
92856         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
92857         _PC_PIPE_BUF handling.
92859 2011-04-30  Bruno Haible  <bruno@clisp.org>
92861         [BZ #12717]
92862         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
92863         * resolv/netdb.h (getnameinfo): Change type of flags parameter
92864         to 'int'.
92865         * inet/getnameinfo.c (getnameinfo): Likewise.
92867 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
92869         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
92870         to groups setting in database lookup.
92871         * nss/nsswitch.conf: Add initgroups entry.
92873 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
92875         [BZ #12685]
92876         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
92877         mode string.
92878         Patch by Eric Blake <eblake@redhat.com>.
92880 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
92882         * sunrpc/Makefile (need-export-routines): Add svc_run.
92883         (routines): Remove svc_run.
92884         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
92885         * sunrpc/clnt_perr.c (clnt_perrno): Export.
92886         * sunrpc/svc_run.c (svc_run): Likewise.
92887         * sunrpc/svc_udp.c (svcudp_create): Likewise.
92889 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
92891         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
92892         problem in reallocation in last patch.
92894 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
92896         * sunrpc/Makefile: Move inclusion of Rules.
92898 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92900         * nss/nss_files/files-initgroups.c: New file.
92901         * nss/Makefile (libnss_files-routines): Add files-initgroups.
92902         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
92903         _nss_files_initgroups_dyn.
92905 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
92907         * elf/elf.h (R_ARM_IRELATIVE): Define.
92909 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92911         * po/ru.po: Update from translation team.
92913 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92915         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
92916         dependencies.
92918 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
92920         [BZ #12653]
92921         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
92922         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
92923         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
92924         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
92925         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
92927 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
92929         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
92930         differing bytes.
92931         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
92932         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
92933         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92935 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92937         [BZ #12420]
92938         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
92939         storing it.
92940         * stdlib/bug-getcontext.c: New file.
92941         * stdlib/Makefile: Add rules to build and run bug-getcontext.
92943 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92945         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
92946         instructions into .machine "z9-109".
92947         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
92948         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
92950 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92952         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
92953         between environment variables and auxiliary vector.
92955 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
92957         * Makefile: Add rules to build linkobj/libc.so.
92958         * include/libc-symbols.h: Define libc_hidden_nolink.
92959         * include/rpc/auth.h: Mark functions which are to be hidden.
92960         * include/rpc/auth_des.h: Likewise.
92961         * include/rpc/auth_unix.h: Likewise.
92962         * include/rpc/clnt.h: Likewise.
92963         * include/rpc/des_crypt.h: Likewise.
92964         * include/rpc/key_prot.h: Likewise.
92965         * include/rpc/pmap_clnt.h: Likewise.
92966         * include/rpc/pmap_prot.h: Likewise.
92967         * include/rpc/pmap_rmt.h: Likewise.
92968         * include/rpc/rpc_msg.h: Likewise.
92969         * include/rpc/svc.h: Likewise.
92970         * include/rpc/svc_auth.h: Likewise.
92971         * include/rpc/xdr.h: Likewise.
92972         * nis/Makefile: Link all DSOs against linkobj/libc.so.
92973         * nss/Makefile: Likewise.
92974         * sunrpc/Makefile: Don't install headers.  Build library with normal
92975         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
92976         * sunrpc/auth_des.c: Hide exported symbols by default, export some
92977         for the compat linking library.  Remove use of INTDEF/INTUSE.
92978         * sunrpc/auth_none.c: Likewise.
92979         * sunrpc/auth_unix.c: Likewise.
92980         * sunrpc/authdes_prot.c: Likewise.
92981         * sunrpc/authuxprot.c: Likewise.
92982         * sunrpc/clnt_gen.c: Likewise.
92983         * sunrpc/clnt_perr.c: Likewise.
92984         * sunrpc/clnt_raw.c: Likewise.
92985         * sunrpc/clnt_simp.c: Likewise.
92986         * sunrpc/clnt_tcp.c: Likewise.
92987         * sunrpc/clnt_udp.c: Likewise.
92988         * sunrpc/clnt_unix.c: Likewise.
92989         * sunrpc/des_crypt.c: Likewise.
92990         * sunrpc/des_soft.c: Likewise.
92991         * sunrpc/get_myaddr.c: Likewise.
92992         * sunrpc/key_call.c: Likewise.
92993         * sunrpc/key_prot.c: Likewise.
92994         * sunrpc/netname.c: Likewise.
92995         * sunrpc/pm_getmaps.c: Likewise.
92996         * sunrpc/pm_getport.c: Likewise.
92997         * sunrpc/pmap_clnt.c: Likewise.
92998         * sunrpc/pmap_prot.c: Likewise.
92999         * sunrpc/pmap_prot2.c: Likewise.
93000         * sunrpc/pmap_rmt.c: Likewise.
93001         * sunrpc/publickey.c: Likewise.
93002         * sunrpc/rpc_cmsg.c: Likewise.
93003         * sunrpc/rpc_common.c: Likewise.
93004         * sunrpc/rpc_dtable.c: Likewise.
93005         * sunrpc/rpc_prot.c: Likewise.
93006         * sunrpc/rpc_thread.c: Likewise.
93007         * sunrpc/rtime.c: Likewise.
93008         * sunrpc/svc.c: Likewise.
93009         * sunrpc/svc_auth.c: Likewise.
93010         * sunrpc/svc_authux.c: Likewise.
93011         * sunrpc/svc_raw.c: Likewise.
93012         * sunrpc/svc_run.c: Likewise.
93013         * sunrpc/svc_simple.c: Likewise.
93014         * sunrpc/svc_tcp.c: Likewise.
93015         * sunrpc/svc_udp.c: Likewise.
93016         * sunrpc/svc_unix.c: Likewise.
93017         * sunrpc/svcauth_des.c: Likewise.
93018         * sunrpc/xcrypt.c: Likewise.
93019         * sunrpc/xdr.c: Likewise.
93020         * sunrpc/xdr_array.c: Likewise.
93021         * sunrpc/xdr_float.c: Likewise.
93022         * sunrpc/xdr_intXX_t.c: Likewise.
93023         * sunrpc/xdr_mem.c: Likewise.
93024         * sunrpc/xdr_rec.c: Likewise.
93025         * sunrpc/xdr_ref.c: Likewise.
93026         * sunrpc/xdr_sizeof.c: Likewise.
93027         * sunrpc/xdr_stdio.c: Likewise.
93029 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
93031         [BZ #12650]
93032         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
93033         * sysdeps/ia64/dl-tls.h: Likewise.
93034         * sysdeps/powerpc/dl-tls.h: Likewise.
93035         * sysdeps/s390/dl-tls.h: Likewise.
93036         * sysdeps/sh/dl-tls.h: Likewise.
93037         * sysdeps/sparc/dl-tls.h: Likewise.
93038         * sysdeps/x86_64/dl-tls.h: Likewise.
93039         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
93041 2011-03-14  Andreas Schwab  <schwab@redhat.com>
93043         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
93044         rpath element also skip the following colon.
93045         (expand_dynamic_string_token): Add is_path parameter and pass
93046         down to DL_DST_REQUIRED and _dl_dst_substitute.
93047         (decompose_rpath): Call expand_dynamic_string_token with
93048         non-zero is_path.  Ignore empty rpaths.
93049         (_dl_map_object_from_fd): Call expand_dynamic_string_token
93050         with zero is_path.
93052 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
93054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
93055         Make cancelable.
93057 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
93059         [BZ #12655]
93060         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
93061         Patch by Filipe David Manana <fdmanana@apache.org>.
93063 2011-04-07  Andreas Schwab  <schwab@redhat.com>
93065         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
93066         Maintain aligned stack.
93067         (CHECK_RSP): Remove unused macro.
93069 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
93071         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
93072         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
93074 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
93076         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
93078         * include/features.h: Mention __USE_XOPEN2K8 in comment.
93080 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
93082         [BZ #12518]
93083         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
93084         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
93085         * sysdeps/x86_64/memmove.c: New file.
93086         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
93087         (memcpy): Renamed to ...
93088         (__new_memcpy): This.
93089         (memcpy): Provide GLIBC_2_14 memcpy.
93090         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
93091         (memcpy): Provide GLIBC_2_2_5 memcpy.
93093 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93095         [BZ #12631]
93096         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
93098 2011-03-30  Andreas Schwab  <schwab@redhat.com>
93100         * misc/syncfs.c: New file.
93101         * misc/Makefile (routines): Add syncfs.
93102         * posix/unistd.h: Declare syncfs.
93103         * sysdeps/unix/syscalls.list: Add syncfs.
93105 2011-04-01  Andreas Schwab  <schwab@redhat.com>
93107         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
93108         open_by_handle_at.
93109         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
93110         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93111         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93112         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93113         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93114         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
93115         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93117 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93119         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
93120         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93121         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
93122         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93123         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93124         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93125         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93127         * io/Makefile: Compile fallocate.c, fallocate64.c, and
93128         sync_file_range.c with -fexceptions.
93129         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
93130         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
93131         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
93132         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
93133         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
93134         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
93135         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
93136         sync_file_range as cancellation point
93137         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
93138         now a wrapper around __call_sync_file_range with cancellation handling.
93139         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
93140         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
93141         function name to __call_sync_file_range.
93142         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
93143         Add call_sync_file_range.
93145 2011-04-01  Andreas Schwab  <schwab@redhat.com>
93147         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
93148         bits/timex.h.
93150 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93152         * iconv/iconv.h: Fix typo in comment.
93153         * io/fcntl.h: Likewise.
93154         * libio/stdio.h: Likewise.
93155         * posix/spawn.h: Likewise.
93156         * posix/unistd.h: Likewise.
93157         * stdlib/stdlib.h: Likewise.
93158         * time/time.h: Likewise.
93159         * wcsmbs/wchar.h: Likewise.
93161         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
93162         open_by_handle): Add.
93163         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
93164         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
93165         Augment a few comments.
93166         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93167         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93168         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93169         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93170         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93171         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
93172         open_by_handle.
93174         * io/fcntl.h (AT_EMPTY_PATH): Define.
93176 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
93178         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
93179         * sysdeps/unix/sysv/linux/bits/time.h: New file.
93180         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
93181         to...
93182         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
93183         * Versions.def: Add GLIBC_2.14.
93184         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
93185         Export.
93187 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
93189         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
93190         round counter.
93191         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93193 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
93195         [BZ #12597]
93196         * string/test-strncmp.c (do_page_test): New function.
93197         (check2): Likewise.
93198         (test_main): Call check2.
93199         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
93201 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
93203         [BZ #12587]
93204         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
93205         Handle cache information in CPU leaf 4.
93206         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93208 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
93210         [BZ #12583]
93211         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
93212         character representation.
93213         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
93215 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
93217         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
93218         END(__isnan) to END(__isnanf) to match function entry point/label
93219         EALIGN(__isnanf,...).
93221 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
93223         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
93225 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
93227         [BZ #12510]
93228         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
93229         copy from the symbol referenced in the relocation to initialize the
93230         used variable.
93231         Patch by Piotr Bury <pbury@goahead.com>.
93232         * elf/Makefile: Add rules to build and tst-unique3.
93233         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
93234         * elf/tst-unique3.cc: New file.
93235         * elf/tst-unique3.h: New file.
93236         * elf/tst-unique3lib.cc: New file.
93237         * elf/tst-unique3lib2.cc: New file.
93239         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
93241 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
93243         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
93244         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
93245         to _start.
93247 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
93249         * elf/dl-load.c (_dl_map_object): If we are looking for the first
93250         to-be-loaded object along a path to loader is ld.so.
93252 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
93253             Ulrich Drepper  <drepper@gmail.com>
93255         * sysdeps/x86_64/memset.S: After aligning destination, code
93256         branches to different locations depending on the value of
93257         misalignment, when multiarch is enabled. Fix this.
93259 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
93261         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
93262         Set _x86_64_preferred_memory_instruction for AMD processsors.
93263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93264         Set bit_Prefer_SSE_for_memop for AMD processors.
93266 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
93268         * libio/fmemopen.c (fmemopen): Optimize a bit.
93270 2011-03-03  Andreas Schwab  <schwab@redhat.com>
93272         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
93274 2011-03-03  Roland McGrath  <roland@redhat.com>
93276         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
93278 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
93280         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
93281         __bzero_ultra1 instead of __memset_ultra1.
93283 2011-02-23  Andreas Schwab  <schwab@redhat.com>
93284             Ulrich Drepper  <drepper@gmail.com>
93286         [BZ #12509]
93287         * include/link.h (struct link_map): Add l_orig_initfini.
93288         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
93289         returning unsuccessfully.
93290         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
93291         close of a file loaded at startup, restore the original l_initfini
93292         list.
93293         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
93294         list, store the pointer.
93295         * elf/Makefile ($(objpfx)noload-mem): New rule.
93296         (noload-ENV): Define.
93297         (tests): Add $(objpfx)noload-mem.
93298         * elf/noload.c: Include <memcheck.h>.
93299         (main): Call mtrace.  Close all opened handles.
93301 2011-02-17  Andreas Schwab  <schwab@redhat.com>
93303         [BZ #12454]
93304         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
93305         dependencies are missing.
93307 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93309         Fix __if_freereq crash: Unlike the generic version which uses free,
93310         Hurd needs munmap.
93311         * sysdeps/mach/hurd/ifreq.h: New file.
93313 2011-01-27  Petr Baudis  <pasky@suse.cz>
93314             Ulrich Drepper  <drepper@gmail.com>
93316         [BZ 12445]#
93317         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
93318         to extend_alloca().
93319         * stdio-common/bug23.c: New file.
93320         * stdio-common/Makefile (tests): Add bug23.
93322 2010-09-28  Andreas Schwab  <schwab@redhat.com>
93323             Ulrich Drepper  <drepper@gmail.com>
93325         [BZ #12489]
93326         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
93327         before performing relro protection.  At old place add assertion
93328         to make sure nothing changed.
93330 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
93331             Glauber de Oliveira Costa  <glommer@gmail.com>
93333         * elf/elf.h: Add new ARM TLS relocs.
93335 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
93337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
93338         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
93339         cast from r3.
93340         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
93341         'tests' variable.
93342         * sysdeps/wordsize-64/tst-writev.c: New file.
93344 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
93346         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
93347         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
93348         insns in _dl_start to prevent a TOC reference before relocs are
93349         resolved.
93351 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
93353         [BZ #12469]
93354         * Makeconfig: Remove RANLIB definition.
93355         * Makerules: Don't use RANLIB.
93356         * aclocal.m4: Remove ranlib test.
93357         * configure.in: No need to check for ranlib.
93358         * elf/rtld-Rules: Don't use RANLIB.
93360 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93362         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
93363         protection macro.
93364         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
93365         inclusion protection macro.
93367         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
93368         SIGRTMIN and SIGRTMAX and print information in that case only when
93369         SIGRTMIN is defined.
93371 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
93373         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
93374         arginfo fn returning -1.
93376         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
93377         and thousands string is zero terminated.
93379 2011-02-03  Andreas Schwab  <schwab@redhat.com>
93381         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
93382         sysdeps/unix/sysv/linux/bits/socket.h.
93384 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93386         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
93387         (__CPU_COUNT): Remove old macros.
93388         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
93389         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
93390         (__CPU_ALLOC, __CPU_FREE): Add macros.
93391         (__sched_cpualloc, __sched_cpufree): Add declarations.
93393 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
93395         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
93396         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
93397         * nscd/aicache.c (addhstaiX): Return timeout of added value.
93398         (readdhstai): Return value of addhstaiX call.
93399         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
93400         (addgrbyX): Return value returned by cache_addgr.
93401         (readdgrbyname): Return value returned by addgrbyX.
93402         (readdgrbygid): Likewise.
93403         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
93404         (addpwbyX): Return value returned by cache_addpw.
93405         (readdpwbyname): Return value returned by addhstbyX.
93406         (readdpwbyuid): Likewise.
93407         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
93408         (addservbyX): Return value returned by cache_addserv.
93409         (readdservbyname): Return value returned by addservbyX:
93410         (readdservbyport): Likewise.
93411         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
93412         (addhstbyX): Return value returned by cache_addhst.
93413         (readdhstbyname): Return value returned by addhstbyX.
93414         (readdhstbyaddr): Likewise.
93415         (readdhstbynamev6): Likewise.
93416         (readdhstbyaddrv6): Likewise.
93417         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
93418         (readdinitgroups): Return value returned by addinitgroupsX.
93419         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
93420         (prune_cache): Keep track of timeout value of re-added entries.
93421         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
93422         * nscd/nscd.h: Adjust prototypes of readd* functions.
93424 2011-02-04  Roland McGrath  <roland@redhat.com>
93426         * nis/nis_server.c (nis_servstate): Use the right name for 0.
93427         (nis_stats): Likewise.
93428         * nis/nis_modify.c (nis_modify): Likewise.
93429         * nis/nis_remove.c (nis_remove): Likewise.
93430         * nis/nis_add.c (nis_add): Likewise.
93432         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
93434         * posix/fnmatch_loop.c: Add some consts.
93436         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
93438 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
93440         [BZ #12460]
93441         * config.make.in (config-cflags-novzeroupper): Define.
93442         * configure.in: Substitute libc_cv_cc_novzeroupper.
93443         * elf/Makefile (AVX-CFLAGS): Define.
93444         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
93445         (CFLAGS-tst-auditmod4a.c): Likewise.
93446         (CFLAGS-tst-auditmod4b.c): Likewise.
93447         (CFLAGS-tst-auditmod6b.c): Likewise.
93448         (CFLAGS-tst-auditmod6c.c): Likewise.
93449         (CFLAGS-tst-auditmod7b.c): Likewise.
93450         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
93452 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
93454         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
93455         function to the callback.
93456         Patch partly by Jiri Olsa <jolsa@redhat.com>.
93458 2011-02-02  Andreas Schwab  <schwab@redhat.com>
93460         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
93461         of errno.
93463 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
93465         [BZ #11724]
93466         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
93467         of constructors.
93468         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
93469         of destructors.
93470         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
93472         [BZ #11724]
93473         * elf/Makefile: Add rules to build and run new test.
93474         * elf/tst-initorder.c: New file.
93475         * elf/tst-initorder.exp: New file.
93476         * elf/tst-initordera1.c: New file.
93477         * elf/tst-initordera2.c: New file.
93478         * elf/tst-initordera3.c: New file.
93479         * elf/tst-initordera4.c: New file.
93480         * elf/tst-initorderb1.c: New file.
93481         * elf/tst-initorderb2.c: New file.
93482         * elf/tst-order-a1.c: New file.
93483         * elf/tst-order-a2.c: New file.
93484         * elf/tst-order-a3.c: New file.
93485         * elf/tst-order-a4.c: New file.
93486         * elf/tst-order-b1.c: New file.
93487         * elf/tst-order-b2.c: New file.
93488         * elf/tst-order-main.c: New file.
93489         New test case by George Gensure <werkt0@gmail.com>.
93491 2010-10-01  Andreas Schwab  <schwab@redhat.com>
93493         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
93494         decoding ACE if AI_CANONIDN.
93496 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
93498         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
93500 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
93502         * version.h (RELEASE): Bump for 2.13 release.
93503         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
93505         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
93507         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
93508         MADV_NOHUGEPAGE.
93509         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
93510         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
93511         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
93512         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
93513         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
93514         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93516         * posix/getconf.c: Update copyright year.
93517         * catgets/gencat.c: Likewise.
93518         * csu/version.c: Likewise.
93519         * debug/catchsegv.sh: Likewise.
93520         * debug/xtrace.sh: Likewise.
93521         * elf/ldconfig.c: Likewise.
93522         * elf/ldd.bash.in: Likewise.
93523         * elf/sprof.c (print_version): Likewise.
93524         * iconv/iconv_prog.c: Likewise.
93525         * iconv/iconvconfig.c: Likewise.
93526         * locale/programs/locale.c: Likewise.
93527         * locale/programs/localedef.c: Likewise.
93528         * malloc/memusage.sh: Likewise.
93529         * malloc/mtrace.pl: Likewise.
93530         * nscd/nscd.c (print_version): Likewise.
93531         * nss/getent.c: Likewise.
93533         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
93534         PF_CAIF, and PF_ALG.
93535         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
93537 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
93539         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
93540         (modules-names): Use them.
93541         (ifunc-test-modules, ifunc-pie-tests): Define.
93542         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
93543         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
93544         (test-extras): Likewise.
93545         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
93546         $(compile-command.c).
93547         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
93548         (all-built-dso): Define.
93549         (check-textrel.out, check-execstack.out): Depend on it.
93551         * configure.in: Don't override --enable-multi-arch.
93553 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
93555         [BZ #6812]
93556         * nscd/hstcache.c (tryagain): Define.
93557         (cache_addhst): Return tryagain not notfound for temporary errors.
93558         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
93559         failed.
93561 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
93563         [BZ #10563]
93564         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
93565         to make the syscall.
93566         * sysdeps/unix/sysv/linux/setgroups.c: New file.
93568         [BZ #12378]
93569         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
93570         and fall back to matching as normal character if the string ends before
93571         the matching ']' is found.  This is what POSIX requires.
93572         * posix/testfnm.c: Adjust test result.
93573         * posix/globtest.sh: Adjust test result.  Add new test.
93574         * posix/tst-fnmatch.input: Likewise.
93575         * posix/tst-fnmatch2.c: Add new test.
93577 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
93579         * elf/Makefile (check-execstack): Revert last change.  Depend on
93580         check-execstack.h.
93581         (check-execstack.h): New target.
93582         (generated): Add check-execstack.h.
93583         * elf/check-execstack.c: Include "check-execstack.h".
93584         (main): Revert last change.
93585         (handle_file): Return zero if GNU_STACK is absent and
93586         DEFAULT_STACK_PERMS doesn't include PF_X.
93588 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
93590         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
93591         in child fails because the descriptor is already closed.
93592         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
93593         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
93594         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
93596         [BZ #12397]
93597         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
93598         syscall.
93600         [BZ #10484]
93601         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
93602         temporary buffer used to handle multi lookups locally.
93603         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
93605 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
93607         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
93608         loader is ld.so.
93610 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
93612         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
93613         alignment for SSE2.
93615 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
93617         [BZ #12394]
93618         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
93619         characters.  When rounding increased number of integer digits recompute
93620         number of groups.
93621         * stdio-common/tst-grouping.c: New file.
93622         * stdio-common/Makefile: Add rules to build and run tst-grouping.
93624 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
93626         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
93627         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
93629         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
93630         void.
93631         * bits/select.h: Likewise.
93633 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
93635         * po/ja.po: Update from translation team.
93637 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
93639         [BZ #11155]
93640         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
93641         implementation just like for lxstat, fxstatat, et al.
93643 2010-12-27  Jim Meyering  <meyering@redhat.com>
93645         [BZ #12348]
93646         * posix/regexec.c (build_trtable): Return failure indication upon
93647         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
93649 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
93651         [BZ #12201]
93652         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
93653         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
93654         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
93655         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
93657         [BZ #12207]
93658         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
93660         [BZ #12204]
93661         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
93662         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
93664 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
93666         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
93667         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
93668         script has SORT_BY_INIT_PRIORITY.
93669         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
93670         NO_CTORS_DTORS_SECTIONS is defined.
93671         * elf/soinit.c: Likewise.
93672         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
93673         NO_CTORS_DTORS_SECTIONS is defined.
93674         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
93675         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
93676         * sysdeps/sh/init-first.c: Likewise.
93677         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
93679 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
93681         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
93682         always use the slow path.
93684 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
93686         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
93687         similar rule which adds the sysdep directories to the header search in
93688         order to pick up the correct platform stackinfo.h.
93689         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
93690         perform test if it is, otherwise return successfully without testing.
93691         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
93692         DEFAULT_STACK_PERMS define in stackinfo.h.
93693         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
93694         defined in stackinfo.h.
93695         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
93696         DEFAULT_STACK_PERMS defined in stackinfo.h.
93697         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
93698         * sysdeps/ia64/stackinfo.h: Likewise.
93699         * sysdeps/s390/stackinfo.h: Likewise.
93700         * sysdeps/sh/stackinfo.h: Likewise.
93701         * sysdeps/sparc/stackinfo.h: Likewise.
93702         * sysdeps/x86_64/stackinfo.h: Likewise.
93703         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
93704         PF_X for powerpc64.  Retain PF_X for powerpc32.
93706 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
93708         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
93709         accurately.
93710         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
93711         GETDENTS_64BIT_ALIGNED.
93713 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
93715         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
93717 2010-12-10  Andreas Schwab  <schwab@redhat.com>
93719         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
93720         _GNU_SOURCE.
93722         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
93723         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
93724         Remove __restrict.
93725         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
93726         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
93728 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
93730         [BZ #11655]
93731         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
93732         are initialized.
93734 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
93736         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
93738 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
93740         * po/it.po: Update from translation team.
93742 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
93744         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
93745         unused codes.
93747 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
93749         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
93751 2010-11-24  Andreas Schwab  <schwab@redhat.com>
93753         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
93754         specially.
93755         (gaih_getanswer_slice): Likewise.
93757 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
93759         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
93761 2010-05-31  Petr Baudis  <pasky@suse.cz>
93763         [BZ #11149]
93764         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
93765         silently even in the chroot mode.
93767 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
93769         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
93770         last patch a bit.  Pretty printing
93772 2010-05-31  Petr Baudis <pasky@suse.cz>
93774         [BZ #10085]
93775         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
93776         initialization of skip_initgroups_dyn.
93778 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
93780         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
93781         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93783 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
93785         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
93787 2010-11-11  Andreas Schwab  <schwab@redhat.com>
93789         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
93790         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
93791         (tst-fnmatch-ENV): Set MALLOC_TRACE.
93792         ($(objpfx)tst-fnmatch-mem): New rule.
93793         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
93794         * posix/tst-fnmatch.c (main): Call mtrace.
93796 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
93798         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93799         Support Intel processor model 6 and model 0x2c.
93801 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
93803         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
93804           signed comparison.
93806 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
93808         [BZ #12205]
93809         * string/test-strncasecmp.c (check_result): New function.
93810         (do_one_test): Use it.
93811         (check1): New function.
93812         (test_main): Use it.
93813         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
93814         Support strcasecmp and strncasecmp.
93816 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
93818         [BZ #12194]
93819         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
93820         * sysdeps/x86_64/bits/byteswap.h: Likewise.
93822 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
93824         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
93825         IFUNC support.
93826         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93827         memset-x86-64.
93828         * sysdeps/x86_64/multiarch/bzero.S: New file.
93829         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
93830         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
93831         * sysdeps/x86_64/multiarch/memset.S: New file.
93832         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
93833         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93834         Set bit_Prefer_SSE_for_memop for Intel processors.
93835         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
93836         Define.
93837         (index_Prefer_SSE_for_memop): Define.
93838         (HAS_PREFER_SSE_FOR_MEMOP): Define.
93840 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
93842         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
93843         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
93845 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
93847         [BZ #12191]
93848         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93849         (__x86_64_raw_data_cache_size_half): Likewise.
93850         (__x86_64_raw_shared_cache_size): Likewise.
93851         (__x86_64_raw_shared_cache_size_half): Likewise.
93853         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93854         (__x86_64_raw_data_cache_size_half): Likewise.
93855         (__x86_64_raw_shared_cache_size): Likewise.
93856         (__x86_64_raw_shared_cache_size_half): Likewise.
93857         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
93858         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
93859         and __x86_64_raw_shared_cache_size_half.  Round
93860         __x86_64_data_cache_size_half, __x86_64_data_cache_size
93861         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
93862         to multiple of 256 bytes.
93864 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
93866         [BZ #12167]
93867         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
93868         of inacessible symlinks.  Verify result of symlink before returning it.
93869         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
93870         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
93872 2010-10-28  Erich Ritz  <erichritz@gmail.com>
93874         * math/math.h (isinf): Fix typo in comment.
93876 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
93878         * po/da.po: Update from translation team.
93880 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
93882         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
93883         is added to the list.
93885 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93886             Ulrich Drepper  <drepper@gmail.com>
93888         * elf/dl-object.c (_dl_new_object): Don't append the new object to
93889         the global list here.  Move code to...
93890         (_dl_add_to_namespace_list): ...here.  New function.
93891         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
93892         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
93893         * elf/dl-load.c (lose): Don't remove the element from the list.
93894         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
93895         (_dl_map_object): Likewise.
93897 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
93899         [BZ #12159]
93900         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
93901         into all bytes of SSE register.
93902         Patch by Richard Li <richardpku@gmail.com>.
93904 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
93906         [BZ #12140]
93907         * malloc/malloc.c (_int_free): Fill correct number of bytes when
93908         perturbing.
93910 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
93912         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
93913         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
93914         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
93915         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
93916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
93917         submachine.
93918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
93920 2010-10-22  Andreas Schwab  <schwab@redhat.com>
93922         * include/dlfcn.h (__RTLD_SECURE): Define.
93923         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
93924         mode & __RTLD_SECURE instead.
93925         (open_path): Rename preloaded parameter to secure.
93926         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
93927         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
93928         * elf/dl-deps.c (openaux): Likewise.
93929         * elf/rtld.c (struct map_args): Remove is_preloaded.
93930         (map_doit): Don't use it.
93931         (dl_main): Likewise.
93932         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
93933         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
93935 2010-09-09  Andreas Schwab  <schwab@redhat.com>
93937         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
93938         (sysd-rules-targets): Remove duplicates.
93939         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
93940         rtld-%.$o dependency.
93942 2010-10-18  Andreas Schwab  <schwab@redhat.com>
93944         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
93945         _dl_map_object do it.
93947 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
93949         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
93950         fast fma builtins, define the macros in the C99 standard.
93951         (FP_FAST_FMAF): Likewise.
93952         (FP_FAST_FMAL): Likewise.
93953         * sysdeps/x86_64/bits/mathdef.h: Likewise.
93955         * bits/mathdef.h: Update copyright year.
93956         * sysdeps/powerpc/bits/mathdef.h: Likewise.
93958 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
93960         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
93961         builtins, define the macros in the C99 standard.
93962         (FP_FAST_FMAF): Likewise.
93963         (FP_FAST_FMAL): Likewise.
93964         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
93965         multiply/add.
93966         (FP_FAST_FMAF): Likewise.
93968 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
93970         [BZ #3268]
93971         * math/libm-test.inc (fma_test): Some new testcases.
93972         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
93973         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
93974         y and infinite z.  Do multiplication by C already in long double.
93975         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
93976         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
93977         y and infinite z.  Do bitwise or of inexact bit into u.d.
93978         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
93979         * sysdeps/i386/fpu/s_fmaf.S: Removed.
93980         * sysdeps/i386/fpu/s_fma.S: Removed.
93981         * sysdeps/i386/fpu/s_fmal.S: Removed.
93983 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
93985         [BZ #3268]
93986         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
93987         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
93988         computation is not scheduled after fetestexcept.  Fix value
93989         of minimum denormal long double.
93991 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
93993         [BZ #3268]
93994         * math/libm-test.inc (fma_test): Add some more tests.
93995         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
93996         correctly.
93998 2010-10-15  Andreas Schwab  <schwab@redhat.com>
94000         * scripts/data/localplt-s390-linux-gnu.data: New file.
94001         * scripts/data/localplt-s390x-linux-gnu.data: New file.
94003 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
94005         [BZ #3268]
94006         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
94007         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
94008         instead of dbl-64.
94009         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
94010         inlines.
94011         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
94012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
94013         if one of x and y is very large and the other is subnormal.
94014         * sysdeps/s390/fpu/s_fmaf.c: New file.
94015         * sysdeps/s390/fpu/s_fma.c: New file.
94016         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
94017         * sysdeps/powerpc/fpu/s_fma.S: New file.
94018         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
94019         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
94020         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
94022 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
94024         [BZ #3268]
94025         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
94026         fma tests.
94027         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
94028         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
94029         * sysdeps/i386/i686/multiarch/s_fma.c: Include
94030         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
94031         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
94032         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
94033         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
94035 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
94037         [BZ #12078]
94038         * posix/regcomp.c (parse_branch): One more memory leak plugged.
94039         * posix/bug-regex31.input: Add test case.
94041 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
94043         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
94044         * posix/bug-regex31.input: New file.
94046         [BZ #12078]
94047         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
94048         (parse_sub_exp): Fix last change, use postorder.
94050         * posix/bug-regex31.c: New file.
94051         * posix/Makefile: Add rules to build and run bug-regex31.
94053         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
94055         [BZ #12078]
94056         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
94058         [BZ #12108]
94059         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
94060         to have entries in sys_siglist.
94062         [BZ #12093]
94063         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
94064         be NULL.
94066 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
94068         [BZ #3268]
94069         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
94070         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
94071         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
94072         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
94073         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
94074         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
94075         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
94076         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
94077         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
94078         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
94079         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
94080         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
94081         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
94082         * math/ftestexcept.c (fetestexcept): Likewise.
94083         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
94084         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
94085         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
94086         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
94087         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
94088         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
94089         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
94091 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
94093         [BZ #12107]
94094         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
94095         newline.
94097 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
94099         * string/bug-strstr1.c: New file.
94100         * string/Makefile: Add rules to build and run bug-strstr1.
94102 2010-10-05  Eric Blake  <eblake@redhat.com>
94104         [BZ #12092]
94105         * string/str-two-way.h (two_way_long_needle): Always clear memory
94106         when skipping input due to the shift table.
94108 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
94110         [BZ #12005]
94111         * malloc/mcheck.c: Handle large requests.
94113         [BZ #12077]
94114         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
94115         for strncmp and strncasecmp.
94116         * string/stratcliff.c: Add tests for strcmp and strncmp.
94117         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
94119 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
94121         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
94122         __set_fpscr.
94124 2010-09-30  Andreas Jaeger  <aj@suse.de>
94126         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
94127         (CGROUP_SUPER_MAGIC): Define.
94128         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94129         Handle btrfs and cgroup file systems.
94130         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
94131         Likewise.
94133 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
94135         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
94136         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
94138 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94140         [BZ #12067]
94141         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
94142         trying to locate the ELF header.
94144 2010-09-27  Andreas Schwab  <schwab@redhat.com>
94146         [BZ #11611]
94147         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
94148         Mask out sign-bit copies when constructing f_fsid.
94150 2010-09-24  Petr Baudis <pasky@suse.cz>
94152         * debug/stack_chk_fail_local.c: Add missing licence exception.
94153         * debug/warning-nop.c: Likewise.
94155 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
94157         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
94158         implementing getdents64 using getdents syscall, set d_type if
94159         __ASSUME_GETDENTS32_D_TYPE.
94161 2010-09-16  Andreas Schwab  <schwab@redhat.com>
94163         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
94164         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
94166 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
94168         [BZ #12037]
94169         * posix/unistd.h: Undo change of feature selection for ftruncate from
94170         2010-01-11.
94172 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
94174         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
94175         detection.
94177 2010-09-20  Andreas Schwab  <schwab@redhat.com>
94179         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
94180         fanotify_mark.
94181         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94183 2010-09-14  Andreas Schwab  <schwab@redhat.com>
94185         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
94186         variables after CHECK_SP call.
94187         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
94189 2010-09-13  Andreas Schwab  <schwab@redhat.com>
94190             Ulrich Drepper  <drepper@redhat.com>
94192         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
94193         re-relocationg ld.so.
94194         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
94195         _dl_init_paths call.
94196         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
94197         here anymore.
94199 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
94201         * resolv/res_init.c (__res_vinit): Count the default server we added.
94203 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
94204             Ulrich Drepper  <drepper@redhat.com>
94206         [BZ #11968]
94207         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
94208         (____longjmp_chk): Use %ebx for saving value across system call.
94209         Add unwind info.
94211 2010-09-06  Andreas Schwab  <schwab@redhat.com>
94213         * manual/Makefile: Don't mix pattern rules with normal rules.
94215 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
94217         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
94218         operation.
94219         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
94220         * libio/iofopncook.c (_IO_cookie_init): Likewise.
94221         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
94222         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
94223         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
94224         Likewise.
94226 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
94228         [BZ #11979]
94229         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
94230         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
94232 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
94234         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
94235         * sysdeps/x86_64/addmul_1.S: Likewise.
94236         * sysdeps/x86_64/lshift.S: Likewise.
94237         * sysdeps/x86_64/mul_1.S: Likewise.
94238         * sysdeps/x86_64/rshift.S: Likewise.
94239         * sysdeps/x86_64/sub_n.S: Likewise.
94240         * sysdeps/x86_64/submul_1.S: Likewise.
94242 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94244         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
94245         Define __sched_param instead of SCHED_* and sched_param when
94246         <bits/sched.h> is included with __need_schedparam defined.
94247         * bits/sched.h [__need_schedparam]
94248         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
94249         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
94250         (__defined_schedparam): Define to 1.
94251         (__sched_param): New structure, identical to sched_param.
94252         (__need_schedparam): Undefine.
94254 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
94256         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
94257         (epoll_create1): Declare.
94259         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
94261 2010-08-31  Andreas Schwab  <schwab@redhat.com>
94263         [BZ #7066]
94264         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
94265         shifting retval into place.
94267 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
94269         * nis/rpcsvc/nis.h: Update copyright notice.
94270         * nis/rpcsvc/nis.x: Likewise.
94271         * nis/rpcsvc/nis_callback.h: Likewise.
94272         * nis/rpcsvc/nis_callback.x: Likewise.
94273         * nis/rpcsvc/nis_object.x: Likewise.
94274         * nis/rpcsvc/nis_tags.h: Likewise.
94275         * nis/rpcsvc/yp.h: Likewise.
94276         * nis/rpcsvc/yp.x: Likewise.
94277         * nis/rpcsvc/ypupd.h: Likewise.
94278         * nis/yp_xdr.c: Likewise.
94279         * nis/ypupdate_xdr.c: Likewise.
94281         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
94282         mainly the body of pmap_getport.  Add parameters to specify timeouts.
94283         (pmap_getport): Use __libc_rpc_getport.
94284         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
94285         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
94286         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
94288 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
94290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
94291         fanotify_mark.
94293 2010-08-27  Roland McGrath  <roland@redhat.com>
94295         * sysdeps/i386/i686/multiarch/Makefile
94296         (CFLAGS-varshift.c): New variable.
94298 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
94300         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
94301         * sysdeps/i386/i686/multiarch/varshift.c: New file.
94303         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
94305         * sysdeps/x86_64/strlen.S: Minimal code improvement.
94307 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
94309         * sysdeps/x86_64/strlen.S: Unroll the loop.
94310         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94311         strlen-sse2 strlen-sse2-bsf.
94312         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
94313         __strlen_no_bsf if bit_Slow_BSF is set.
94314         (__strlen_sse42): Removed.
94315         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
94316         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
94318 2010-08-25  Roland McGrath  <roland@redhat.com>
94320         * sysdeps/x86_64/multiarch/varshift.S: File removed.
94321         * sysdeps/x86_64/multiarch/varshift.c: New file.
94322         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
94323         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
94324         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
94325         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
94327 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
94329         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94330         strlen-sse2 strlen-sse2-bsf.
94331         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
94332         __strlen_sse2_bsf if bit_Slow_BSF is unset.
94333         (__strlen_sse2): Removed.
94334         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
94335         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
94336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
94337         bit_Slow_BSF for Atom.
94338         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
94339         (index_Slow_BSF): Define.
94340         (HAS_SLOW_BSF): Define.
94342 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
94344         [BZ #10851]
94345         * resolv/res_init.c (__res_vinit): When no server address at all
94346         is given default to loopback.
94348 2010-08-24  Roland McGrath  <roland@redhat.com>
94350         * configure.in: Remove config-name.h generation.
94351         * configure: Regenerated.
94352         * config-name.in: File removed.
94353         * scripts/config-uname.sh: New file.
94354         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
94355         ($(objdir)config-name.h): New target.
94357         * sunrpc/rpc_parse.h: Avoid nested comment.
94359 2010-08-24  Richard Henderson  <rth@redhat.com>
94360             Ulrich Drepper  <drepper@redhat.com>
94361             H.J. Lu  <hongjiu.lu@intel.com>
94363         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
94364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
94365         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
94366         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
94367         _mm_alignr_epi8 with _mm_loadu_si128.
94368         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
94369         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
94370         (__m128i_shift_right): Removed.
94371         * sysdeps/i386/i686/multiarch/varshift.h: New file.
94372         * sysdeps/i386/i686/multiarch/varshift.S: New file.
94373         * sysdeps/x86_64/multiarch/varshift.h: New file.
94374         * sysdeps/x86_64/multiarch/varshift.S: New file.
94376 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
94378         * configure.in: Move assembler checks to before sysdep dir checking.
94380 2010-08-20  Petr Baudis  <pasky@suse.cz>
94382         * LICENSES: Sync the sunrpc license.
94384 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
94386         * sunrpc/auth_des.c: Update copyright notice once again.
94387         * sunrpc/auth_none.c: Likewise.
94388         * sunrpc/auth_unix.c: Likewise.
94389         * sunrpc/authdes_prot.c: Likewise.
94390         * sunrpc/authuxprot.c: Likewise.
94391         * sunrpc/bindrsvprt.c: Likewise.
94392         * sunrpc/clnt_gen.c: Likewise.
94393         * sunrpc/clnt_perr.c: Likewise.
94394         * sunrpc/clnt_raw.c: Likewise.
94395         * sunrpc/clnt_simp.c: Likewise.
94396         * sunrpc/clnt_tcp.c: Likewise.
94397         * sunrpc/clnt_udp.c: Likewise.
94398         * sunrpc/clnt_unix.c: Likewise.
94399         * sunrpc/des_crypt.c: Likewise.
94400         * sunrpc/des_soft.c: Likewise.
94401         * sunrpc/get_myaddr.c: Likewise.
94402         * sunrpc/getrpcport.c: Likewise.
94403         * sunrpc/key_call.c: Likewise.
94404         * sunrpc/key_prot.c: Likewise.
94405         * sunrpc/openchild.c: Likewise.
94406         * sunrpc/pm_getmaps.c: Likewise.
94407         * sunrpc/pm_getport.c: Likewise.
94408         * sunrpc/pmap_clnt.c: Likewise.
94409         * sunrpc/pmap_prot.c: Likewise.
94410         * sunrpc/pmap_prot2.c: Likewise.
94411         * sunrpc/pmap_rmt.c: Likewise.
94412         * sunrpc/rpc/auth.h: Likewise.
94413         * sunrpc/rpc/auth_unix.h: Likewise.
94414         * sunrpc/rpc/clnt.h: Likewise.
94415         * sunrpc/rpc/des_crypt.h: Likewise.
94416         * sunrpc/rpc/key_prot.h: Likewise.
94417         * sunrpc/rpc/netdb.h: Likewise.
94418         * sunrpc/rpc/pmap_clnt.h: Likewise.
94419         * sunrpc/rpc/pmap_prot.h: Likewise.
94420         * sunrpc/rpc/pmap_rmt.h: Likewise.
94421         * sunrpc/rpc/rpc.h: Likewise.
94422         * sunrpc/rpc/rpc_des.h: Likewise.
94423         * sunrpc/rpc/rpc_msg.h: Likewise.
94424         * sunrpc/rpc/svc.h: Likewise.
94425         * sunrpc/rpc/svc_auth.h: Likewise.
94426         * sunrpc/rpc/types.h: Likewise.
94427         * sunrpc/rpc/xdr.h: Likewise.
94428         * sunrpc/rpc_clntout.c: Likewise.
94429         * sunrpc/rpc_cmsg.c: Likewise.
94430         * sunrpc/rpc_common.c: Likewise.
94431         * sunrpc/rpc_cout.c: Likewise.
94432         * sunrpc/rpc_dtable.c: Likewise.
94433         * sunrpc/rpc_hout.c: Likewise.
94434         * sunrpc/rpc_main.c: Likewise.
94435         * sunrpc/rpc_parse.c: Likewise.
94436         * sunrpc/rpc_parse.h: Likewise.
94437         * sunrpc/rpc_prot.c: Likewise.
94438         * sunrpc/rpc_sample.c: Likewise.
94439         * sunrpc/rpc_scan.c: Likewise.
94440         * sunrpc/rpc_scan.h: Likewise.
94441         * sunrpc/rpc_svcout.c: Likewise.
94442         * sunrpc/rpc_tblout.c: Likewise.
94443         * sunrpc/rpc_util.c: Likewise.
94444         * sunrpc/rpc_util.h: Likewise.
94445         * sunrpc/rpcinfo.c: Likewise.
94446         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
94447         * sunrpc/rpcsvc/key_prot.x: Likewise.
94448         * sunrpc/rpcsvc/klm_prot.x: Likewise.
94449         * sunrpc/rpcsvc/mount.x: Likewise.
94450         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
94451         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
94452         * sunrpc/rpcsvc/rex.x: Likewise.
94453         * sunrpc/rpcsvc/rstat.x: Likewise.
94454         * sunrpc/rpcsvc/rusers.x: Likewise.
94455         * sunrpc/rpcsvc/sm_inter.x: Likewise.
94456         * sunrpc/rpcsvc/spray.x: Likewise.
94457         * sunrpc/rpcsvc/yppasswd.x: Likewise.
94458         * sunrpc/rtime.c: Likewise.
94459         * sunrpc/svc.c: Likewise.
94460         * sunrpc/svc_auth.c: Likewise.
94461         * sunrpc/svc_authux.c: Likewise.
94462         * sunrpc/svc_raw.c: Likewise.
94463         * sunrpc/svc_run.c: Likewise.
94464         * sunrpc/svc_simple.c: Likewise.
94465         * sunrpc/svc_tcp.c: Likewise.
94466         * sunrpc/svc_udp.c: Likewise.
94467         * sunrpc/svc_unix.c: Likewise.
94468         * sunrpc/svcauth_des.c: Likewise.
94469         * sunrpc/xcrypt.c: Likewise.
94470         * sunrpc/xdr.c: Likewise.
94471         * sunrpc/xdr_array.c: Likewise.
94472         * sunrpc/xdr_float.c: Likewise.
94473         * sunrpc/xdr_mem.c: Likewise.
94474         * sunrpc/xdr_rec.c: Likewise.
94475         * sunrpc/xdr_ref.c: Likewise.
94476         * sunrpc/xdr_sizeof.c: Likewise.
94477         * sunrpc/xdr_stdio.c: Likewise.
94479         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
94480         handling.
94482 2010-08-19  Andreas Schwab  <schwab@redhat.com>
94484         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
94486 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
94488         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
94489         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
94490         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
94491         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
94492         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
94493         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
94494         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
94495         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
94496         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
94497         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
94498         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
94499         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
94500         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
94501         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
94503 2010-07-26  Anton Blanchard  <anton@samba.org>
94505         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
94506         * malloc/arena.c (heap_trim): Likewise.
94508 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
94510         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
94511         here.  Not...
94512         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
94513         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
94515 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
94517         * sysdeps/i386/elf/Makefile: New file.
94519 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
94521         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
94522         from fanotify_init.
94523         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
94524         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94526 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
94528         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
94529         of strncasecmp_l.
94530         * sysdeps/multiarch/strcmp.S: Likewise.
94532 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
94534         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94535         strncase_l-nonascii.
94536         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94537         Add strncase_l-ssse3.
94538         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
94539         * sysdeps/x86_64/strcmp.S: Likewise.
94540         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
94541         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
94542         * sysdeps/x86_64/strncase.S: New file.
94543         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
94544         * sysdeps/x86_64/strncase_l.S: New file.
94545         * string/Makefile (strop-tests): Add strncasecmp.
94546         * string/test-strncasecmp.c: New file.
94548         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
94549         warning.
94551         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
94552         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
94554 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
94556         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
94558 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
94560         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
94561         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
94562         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
94564 2010-05-01  Alan Modra  <amodra@gmail.com>
94566         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
94567         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
94568         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
94569         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
94570         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
94571         tidying.  Don't tail-call __sigjmp_save for static lib.
94572         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
94573         save location.
94574         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
94575         (CALL_MCOUNT): Add eh info, and nop after bl.
94576         (TAIL_CALL_SYSCALL_ERROR): New macro.
94577         (PSEUDO_RET): Use it.
94578         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
94579         Correct save location of integer regs and cr.
94580         (_dl_profile_resolve): Correct cr save location.  Delete nops
94581         after bl when SHARED.  Reduce cfi size a little by better
94582         placement of cfi directives.
94583         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
94584         make a stack frame.  Instead use parm save area as a temp.
94585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
94586         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
94587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
94588         Don't make a stack frame for parent, use parm save area.
94589         Increase child stack frame to 112 bytes.  Don't save unused reg,
94590         and adjust reg usage.  Set up cfi on error recovery and
94591         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
94592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
94593         (__makecontext): Add dummy nop after jump to exit.
94594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
94595         Use correct parm save area and cr save, reduce stack frame.
94596         Correct cfi for possible PSEUDO_RET frame setup.
94597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
94598         Branch to local label emitted by PSEUDO_RET rather than
94599         __syscall_error.
94601 2010-08-12  Andreas Schwab  <schwab@redhat.com>
94603         [BZ #11904]
94604         * locale/programs/locale.c (print_assignment): New function.
94605         (show_locale_vars): Use it.
94607 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
94609         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
94610         field.
94611         (struct statfs64): Likewise.
94612         (_STATFS_F_FLAGS): Define.
94613         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
94614         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94615         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
94616         (ST_VALID): Define locally.
94617         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
94618         __statvfs_getflags, use the provided value.
94619         * sysdeps/unix/sysv/linux/kernel-features.h: Define
94620         __ASSUME_STATFS_F_FLAGS.
94622         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
94624         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
94625         Add sys/fanotify.h.
94626         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
94627         fanotify_mask for GLIBC_2.13.
94628         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
94629         fanotify_init and fanotify_mark.
94630         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94631         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
94633         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
94634         Add prlimit.
94635         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
94636         prlimit64 for GLIBC_2.13.
94637         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
94638         prlimit64.
94639         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
94640         syscall.
94641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
94642         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94643         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
94644         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
94645         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
94646         add prlimit alias.
94647         * sysdeps/unix/sysv/linux/prlimit.c: New file.
94649         [BZ #11903]
94650         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
94651         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
94653         * nss/Makefile: Add rules to build and run tst-nss-test1.
94654         * shlib-versions: Add entry for libnss_test1.
94655         * nss/nss_test1.c: New file.
94656         * nss/tst-nss-test1.c: New file.
94658         * nss/nsswitch.c (__nss_database_custom): Define new variable.
94659         (__nss_configure_lookup): Set appropriate entry in
94660         __nss_configure_lookup to true.
94661         * nss/nsswitch.h: Define enum with indeces of databases in
94662         databases and __nss_database_custom arrays.  Declare
94663         __nss_database_custom.
94664         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
94665         to avoid using nscd when custom rules are installed.
94666         * nss/getXXbyYY_r.c: Likewise.
94667         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
94669         * nss/nss_files/files-parse.c: Whitespace fixes.
94671 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
94673         [BZ #11883]
94674         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
94675         * posix/fnmatch_loop.c: Likewise.
94677 2010-07-17  Andi Kleen  <ak@linux.intel.com>
94679         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
94680         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
94681         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
94682         * Versions.def [GLIBC_2.13]: Add.
94684 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
94686         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94687         Also fail if tpwd after pwuid call is NULL.
94689 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94691         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
94692         when converting to ms.
94694 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94696         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
94697         EOPNOTSUPP errors with ENOTTY.
94698         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
94699         EOPNOTSUPP errors with ENOTTY.
94701 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
94703         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94704         Add strcasecmp_l-ssse3.
94705         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
94706         strcasecmp.
94707         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
94708         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
94709         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
94711 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
94713         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
94715         * string/Makefile (strop-tests): Add strcasecmp.
94716         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94717         strcasecmp_l-nonascii.
94718         (gen-as-const-headers): Add locale-defines.sym.
94719         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
94720         * sysdeps/x86_64/strcasecmp.S: New file.
94721         * sysdeps/x86_64/strcasecmp_l.S: New file.
94722         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
94723         * sysdeps/x86_64/locale-defines.sym: New file.
94724         * string/test-strcasecmp.c: New file.
94726         * string/test-strcasestr.c: Test both ends of the range of characters.
94727         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
94729 2010-07-29  Roland McGrath  <roland@redhat.com>
94731         [BZ #11856]
94732         * manual/locale.texi (Yes-or-No Questions): Fix example code.
94734 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
94736         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
94737         for ld.so.
94739 2010-07-27  Andreas Schwab  <schwab@redhat.com>
94741         * manual/memory.texi (Malloc Tunable Parameters): Document
94742         M_PERTURB.
94744 2010-07-26  Roland McGrath  <roland@redhat.com>
94746         [BZ #11840]
94747         * configure.in (-fgnu89-inline check): Set and substitute
94748         gnu89_inline, not libc_cv_gnu89_inline.
94749         * configure: Regenerated.
94750         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
94752 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
94754         * string/test-strnlen.c: New file.
94755         * string/Makefile (strop-tests): Add strnlen.
94756         * string/tester.c (test_strnlen): Add a few more test cases.
94757         * string/tst-strlen.c: Better error reporting.
94759         * sysdeps/x86_64/strnlen.S: New file.
94761 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
94763         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
94764         lower-latency instructions.
94766 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
94768         * string/test-strcasestr.c: New file.
94769         * string/test-strstr.c: New file.
94770         * string/Makefile (strop-tests): Add strstr and strcasestr.
94771         * string/str-two-way.h: Don't undefine MAX.
94772         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
94774 2010-07-21  Andreas Schwab  <schwab@redhat.com>
94776         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94777         strcasestr-nonascii.
94778         (CFLAGS-strcasestr-nonascii.c): Define.
94779         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
94780         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
94781         Remove unused attribute.
94783 2010-07-20  Roland McGrath  <roland@redhat.com>
94785         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
94786         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
94787         ld.so.cache was broken.  With it, there is no way to disable dsocaps
94788         like LD_HWCAP_MASK can disable hwcaps.
94790 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94792         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
94794 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
94796         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
94797         call in strcasestr.
94798         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
94799         __strcasestr_sse42_nonascii.
94800         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
94801         strcasestr-nonascii.c.
94802         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
94804 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
94806         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
94807         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
94808         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
94809         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
94811 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
94813         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
94814         fcntl.
94816 2010-07-06  Andreas Schwab  <schwab@redhat.com>
94818         [BZ #11577]
94819         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
94820         dl_signal_cerror.
94822 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
94824         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
94825         _PC_PIPE_BUF using F_GETPIPE_SZ.
94827 2010-07-05  Roland McGrath  <roland@redhat.com>
94829         * manual/arith.texi (Rounding Functions): Fix rint description
94830         implicit in round description.
94832 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
94834         * elf/Makefile: Fix linking for a few tests to make recent linker
94835         happy.
94837 2010-06-30  Andreas Schwab  <schwab@redhat.com>
94839         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
94840         $(common-objpfx)libc_nonshared.a.
94842 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
94844         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
94845         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
94846         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94847         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94848         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
94849         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
94850         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94851         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
94853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
94854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
94855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
94857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
94859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
94860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
94861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
94862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
94864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
94866         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
94867         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
94868         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
94869         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
94870         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
94871         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
94872         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
94873         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
94874         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
94875         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
94876         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
94877         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
94878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
94879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
94880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
94881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
94882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
94883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
94884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
94885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
94886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
94887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
94888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
94889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
94890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
94891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
94893 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
94895         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
94896         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
94897         * string/memmove.c (memmove): Renamed to ...
94898         (MEMMOVE): ...this.  Default to memmove.
94899         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
94900         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
94901         (END_CHK): Define.
94902         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94903         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
94904         mempcpy-ssse3-back memmove-ssse3-back.
94905         * sysdeps/x86_64/multiarch/bcopy.S: New file .
94906         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
94907         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
94908         * sysdeps/x86_64/multiarch/memcpy.S: New file.
94909         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
94910         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
94911         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
94912         * sysdeps/x86_64/multiarch/memmove.c: New file.
94913         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
94914         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
94915         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
94916         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
94917         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
94918         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
94919         Define.
94920         (index_Fast_Copy_Backward): Define.
94921         (HAS_ARCH_FEATURE): Define.
94922         (HAS_FAST_REP_STRING): Define.
94923         (HAS_FAST_COPY_BACKWARD): Define.
94925 2010-06-21  Andreas Schwab  <schwab@redhat.com>
94927         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94928         Restore proper fallback handling.
94930 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
94932         [BZ #11701]
94933         * posix/group_member.c (__group_member): Correct checking loop.
94935         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
94936         OOM in getpwuid_r correctly.  Return error number when the caller
94937         should return, otherwise -1.
94938         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
94939         call returning > 0 value.
94940         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
94942 2010-06-07  Andreas Schwab  <schwab@redhat.com>
94944         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
94945         libc_nonshared.a from targets in modules-names.
94947 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
94949         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
94950         requires it.
94952 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
94954         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
94955         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
94956         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
94957         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
94959 2010-06-02  Andreas Schwab  <schwab@redhat.com>
94961         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
94963 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
94965         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
94966         and F_GETPIPE_SZ.
94967         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94968         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94969         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94970         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94971         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94972         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94974 2010-06-14  Roland McGrath  <roland@redhat.com>
94976         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
94978 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
94980         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
94981         __REDIRECT followed by __THROW.
94982         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
94983         * posix/getopt.h (getopt): Likewise.
94985 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94987         * hurd/lookup-at.c (__file_name_lookup_at): Accept
94988         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
94989         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
94990         in AT_FLAGS.
94991         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
94992         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
94994 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
94996         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
94998 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
95000         [BZ #11640]
95001         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95002         Properly check family and model.
95004 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
95006         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
95008 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
95010         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
95012 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
95014         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
95015         symbol reference.
95017 2010-05-19  Andreas Schwab  <schwab@redhat.com>
95019         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
95020         symbol reference.
95022 2010-05-21  Andreas Schwab  <schwab@redhat.com>
95024         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
95025         and internal_recvmmsg.
95026         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
95027         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
95028         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
95029         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
95031         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
95032         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
95033         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
95035 2010-05-20  Andreas Schwab  <schwab@redhat.com>
95037         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
95039 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
95041         POWER7 optimizations.
95042         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
95043         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
95045 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
95047         * version.h: Update for 2.13 development version.
95049 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
95051         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
95052         exceptions.  Return 0.
95054 2010-05-07  Roland McGrath  <roland@redhat.com>
95056         * elf/ldconfig.c (main): Add a const.
95058 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
95060         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
95061         (args_options): Add no-idn option.
95062         (ahosts_keys_int): Add idn_flags to ai_flags.
95063         (parse_option): Handle 'i' option to clear idn_flags.
95065         * malloc/malloc.c (_int_free): Possible race in the most recently
95066         added check.  Only act on the data if no current modification
95067         happened.
95069 See ChangeLog.17 for earlier changes.